:root {
  --background: #1a1a1a;
  --surface: #242424;
  --surface-elevated: #2c2c2c;
  --card: rgba(34, 34, 34, 0.82);
  --foreground: #ece8e2;
  --muted-foreground: #b5aea6;
  --border: rgba(255, 255, 255, 0.08);
  --gold: #b8956a;
  --gold-soft: rgba(184, 149, 106, 0.16);
  --gold-strong: rgba(184, 149, 106, 0.28);
  --whatsapp: #25d366;
  --shadow-elevated: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 10px 30px -15px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-ring: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top center, rgba(184, 149, 106, 0.09), transparent 34%),
    linear-gradient(180deg, #171717 0%, #1a1a1a 22%, #161616 100%);
  color: var(--foreground);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, .brand, .brand-tagline {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--gold);
  color: #191919;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: rgba(26, 26, 26, 0.92);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(26, 26, 26, 0.96);
}

.header-inner,
.expert-inner,
.footer-inner {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.brand-1,
.brand-2 {
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.brand-2,
.brand-tagline {
  color: var(--muted-foreground);
}

.brand-tagline {
  margin: 0;
  font-size: 0.92rem;
  font-style: italic;
  opacity: 0.7;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 92px 24px 124px;
}

.hero-glow-1,
.hero-glow-2,
.footer-glow,
.profile-card-glow,
.profile-avatar-glow,
.expert-photo-glow {
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  inset: 0 0 auto;
  height: 640px;
  background: radial-gradient(circle at 50% 8%, rgba(53, 53, 53, 0.95) 0%, rgba(36, 36, 36, 0.34) 38%, rgba(26, 26, 26, 0) 68%);
  opacity: 0.82;
}

.hero-glow-2 {
  position: absolute;
  left: 50%;
  top: 148px;
  width: min(1040px, 92vw);
  height: 500px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.18), transparent 70%);
  filter: blur(26px);
  opacity: 0.42;
}

.hero-title {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  margin: 44px auto 0;
  text-align: center;
}

.hero-title-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer h2,
.sobre h2,
.expert-content h2 {
  margin: 0;
  line-height: 1.05;
  font-weight: 600;
}

.hero-sub {
  margin: 28px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-style: italic;
  color: rgba(236, 232, 226, 0.8);
}

.profile-card-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 1240px);
  margin: 72px auto 0;
}

.profile-card-glow {
  position: absolute;
  inset: -20px -26px -26px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 149, 106, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(184, 149, 106, 0.16), rgba(0, 0, 0, 0));
  filter: blur(10px);
  opacity: 0.55;
}

.profile-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 84px 78px 76px;
  background: rgba(34, 34, 34, 0.92);
  box-shadow: 0 24px 56px -34px rgba(0, 0, 0, 0.72);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
}

.profile-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-avatar-wrap {
  position: relative;
}

.profile-avatar-glow {
  display: none;
}

.profile-avatar {
  position: relative;
  width: 202px;
  height: 202px;
  overflow: hidden;
  border-radius: 50%;
  background: #2f2f2f;
  box-shadow: var(--shadow-ring);
  border: 1px solid var(--border);
  transition: border-color 200ms ease;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-link:hover .profile-avatar {
  border-color: rgba(184, 149, 106, 0.5);
}

.profile-link:hover .profile-avatar-glow {
  opacity: 0;
}

.profile-name {
  margin: 24px 0 0;
  font-size: 1.02rem;
  font-weight: 600;
}

.profile-role {
  margin: 10px 0 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: rgba(184, 149, 106, 0.86);
}

.sobre,
.expert,
.site-footer {
  position: relative;
}

.sobre {
  padding: 104px 24px 120px;
  border-top: 1px solid var(--border);
  background: rgba(44, 44, 44, 0.28);
}

.container-narrow {
  width: min(calc(100% - 8px), 760px);
  margin: 0 auto;
  text-align: center;
}

.sobre h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
}

.divider,
.divider-left {
  width: 48px;
  height: 1px;
  background: rgba(184, 149, 106, 0.6);
}

.divider {
  margin: 32px auto 0;
}

.prose {
  margin-top: 32px;
}

.prose p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(236, 232, 226, 0.82);
}

.prose p + p {
  margin-top: 20px;
}

.expert {
  padding: 88px 24px 112px;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.expert.alt {
  background: rgba(44, 44, 44, 0.4);
}

.expert-inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.expert-photo-wrap {
  position: relative;
}

.expert-photo-glow {
  position: absolute;
  inset: -12px;
  border-radius: 10px;
  background: rgba(184, 149, 106, 0.1);
  filter: blur(28px);
  opacity: 0.65;
}

.expert-photo {
  position: relative;
  overflow: hidden;
  background: #2f2f2f;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.expert-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.expert-content {
  min-width: 0;
}

.expert-content h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.divider-left {
  margin-top: 24px;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn-whatsapp,
.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.btn-whatsapp {
  padding: 14px 20px;
  border: 1px solid rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.08);
  color: var(--foreground);
  font-size: 0.95rem;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.16);
  box-shadow: 0 0 24px -6px rgba(37, 211, 102, 0.5);
}

.site-footer {
  overflow: hidden;
  padding: 96px 24px 48px;
  border-top: 1px solid var(--border);
  background: #151515;
}

.footer-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(700px, 88vw);
  height: 256px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184, 149, 106, 0.2), transparent 70%);
  filter: blur(48px);
  opacity: 0.6;
}

.footer-inner {
  position: relative;
  max-width: 760px;
  text-align: center;
}

.site-footer h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
}

.footer-sub {
  margin: 16px auto 0;
  max-width: 620px;
  color: rgba(236, 232, 226, 0.74);
  line-height: 1.75;
}

.footer-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.cta-whatsapp {
  min-height: 54px;
  padding: 14px 24px;
  background: var(--whatsapp);
  color: #fff;
  font-size: 0.96rem;
  box-shadow: 0 0 30px -6px rgba(37, 211, 102, 0.42);
}

.cta-whatsapp:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.92rem;
  color: var(--muted-foreground);
}

.ico {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.ico-sm {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.tts-selectable {
  border-radius: 8px;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.tts-reading {
  background: rgba(184, 149, 106, 0.08) !important;
  box-shadow: inset 3px 0 0 0 var(--gold);
}

.tts-controls {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.tts-playback {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.95);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.tts-icon-btn,
.tts-main {
  border: 0;
  cursor: pointer;
}

.tts-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: transparent;
  color: var(--foreground);
}

.tts-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tts-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-card);
  transition: border-color 220ms ease, color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.tts-main:hover {
  border-color: rgba(184, 149, 106, 0.6);
  color: var(--gold);
}

.tts-main.is-selecting {
  border-color: var(--gold);
  background: var(--gold);
  color: #181818;
}

.tts-main.is-active {
  border-color: var(--gold);
  color: var(--gold);
}

.tts-tooltip,
.wa-tooltip {
  pointer-events: none;
  position: absolute;
  white-space: nowrap;
  border: 1px solid var(--border);
  background: rgba(34, 34, 34, 0.98);
  color: var(--foreground);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transition: opacity 180ms ease;
}

.tts-tooltip {
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  font-size: 0.75rem;
}

.tts-main:hover .tts-tooltip,
.floating-whatsapp:hover .wa-tooltip {
  opacity: 1;
}

.tts-banner {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--gold);
  color: #191919;
  font-size: 0.94rem;
  font-weight: 600;
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, 0.8);
}

.tts-cancel {
  border: 0;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.15);
  color: inherit;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.tts-cancel:hover {
  background: rgba(0, 0, 0, 0.24);
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 30px -4px rgba(37, 211, 102, 0.6);
  transition: transform 220ms ease;
}

.floating-whatsapp:hover {
  transform: scale(1.05);
}

.wa-ico {
  width: 28px;
  height: 28px;
}

.wa-tooltip {
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.fade-in-up {
  animation: fade-in-up 0.6s ease-out both;
}

.animate-pulse-ring {
  animation: pulse-ring 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 8px 30px -4px rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 8px 30px -4px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 30px -4px rgba(37, 211, 102, 0.6);
  }
}

@media (max-width: 900px) {
  .brand-tagline {
    display: none;
  }

  .profile-card {
    padding: 48px 28px;
  }

  .profile-grid,
  .expert-inner {
    grid-template-columns: 1fr;
  }

  .expert-inner {
    gap: 36px;
  }

  .expert-photo-wrap {
    max-width: 260px;
    margin: 0 auto;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .profile-avatar {
    width: 168px;
    height: 168px;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .expert-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero,
  .sobre,
  .expert,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 112px;
  }

  .profile-grid {
    gap: 28px;
  }

  .profile-avatar {
    width: 144px;
    height: 144px;
  }

  .site-footer,
  .sobre,
  .expert {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .cta-whatsapp {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .tts-controls {
    left: 16px;
    bottom: 16px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  .tts-tooltip,
  .wa-tooltip {
    display: none;
  }

  .contact-buttons,
  .footer-cta {
    width: 100%;
  }

  .btn-whatsapp,
  .cta-whatsapp {
    width: 100%;
  }
}
