/* ===== NaturalUp® Landing Page — Design Tokens ===== */

:root {
  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(2.5rem,   0.5rem  + 5vw,    4.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* NaturalUp® Color Palette */
  --navy: #0B1D3A;
  --navy-light: #132B52;
  --navy-dark: #06111F;
  --gold: #C9A84C;
  --gold-light: #D4BC72;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --cream: #F8F7F3;
  --cream-warm: #F3F0EA;
  --white: #FFFFFF;
  --text-dark: #2A2A2A;
  --text-mid: #5A5A5A;
  --text-light: #8A8A8A;

  --color-bg: var(--cream);
  --color-text: var(--text-dark);
  --color-gold: var(--gold);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}


/* ===== GLOBAL LAYOUT ===== */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-default);
}

section {
  position: relative;
}


/* ===== HEADER / NAV ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(11, 29, 58, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.logo-text span {
  font-size: var(--text-xs);
  vertical-align: super;
  color: var(--gold-light);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--navy);
}

.nav-cta:active {
  transform: translateY(1px);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}


/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(11, 29, 58, 0.92) 0%,
    rgba(11, 29, 58, 0.75) 50%,
    rgba(11, 29, 58, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--space-32) + var(--space-16)) var(--space-6) var(--space-16);
  text-align: center;
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--space-8);
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto var(--space-10);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  background: transparent;
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--navy);
}

.hero-cta:active {
  transform: translateY(1px);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.4);
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* ===== SECTION SHARED ===== */

.section-light {
  background: var(--cream);
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}

.section-warm {
  background: var(--cream-warm);
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}

.section-navy {
  background: var(--navy);
  color: var(--white);
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.section-text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 60ch;
}

.section-navy .section-text {
  color: rgba(255,255,255,0.7);
}


/* ===== PROBLEM SECTION ===== */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.problem-image {
  border-radius: 4px;
  overflow: hidden;
}

.problem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}


/* ===== METHOD SECTION ===== */

.method-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}

.method-intro .section-text {
  margin: 0 auto;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--space-6);
}

.pillar-card {
  padding: var(--space-8) var(--space-6);
  background: var(--cream);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 4px;
  position: relative;
}

.pillar-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-3);
  opacity: 0.6;
}

.pillar-title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-3);
}

.pillar-desc {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.6;
}

.method-note {
  text-align: center;
  margin-top: var(--space-10);
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--gold);
  font-style: italic;
}


/* ===== PHILOSOPHY SECTION ===== */

.philosophy-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--gold);
  line-height: 1.25;
  margin-bottom: var(--space-8);
  position: relative;
}

.philosophy-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.3em;
  left: -0.5em;
  font-size: 3em;
  color: rgba(201, 168, 76, 0.2);
  font-family: var(--font-display);
  line-height: 1;
}

.philosophy-text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 55ch;
  margin: 0 auto;
}


/* ===== FOR WHO SECTION ===== */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.audience-card {
  text-align: left;
  padding: var(--space-6);
}

.audience-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-3);
}

.audience-card p {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.6;
}

.anti-persona {
  text-align: center;
  max-width: 55ch;
  margin: 0 auto;
  padding: var(--space-6);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.7;
}


/* ===== DOCTOR SECTION ===== */

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .doctor-grid {
    grid-template-columns: 0.45fr 0.55fr;
    gap: var(--space-16);
  }
}

.doctor-photo {
  border-radius: 4px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.doctor-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.doctor-info .section-title {
  color: var(--text-dark);
}

.doctor-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-6);
}

.doctor-bio {
  font-size: var(--text-base);
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.doctor-locations {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--gold-dim);
  border-radius: 2px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-dark);
}

.location-tag svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}


.doctor-languages {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: var(--space-3) var(--space-5);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 2px;
  background: rgba(201, 168, 76, 0.06);
  font-size: var(--text-sm);
  color: var(--text-mid);
  font-weight: 500;
  letter-spacing: 0.02em;
  max-width: 100%;
}

.languages-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}


/* ===== TESTIMONIALS ===== */

.testimonials-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card {
  padding: var(--space-8) var(--space-6);
  display: none;
}

.testimonial-card.active {
  display: block;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 3em;
  color: rgba(201, 168, 76, 0.3);
  font-family: var(--font-display);
  display: block;
  line-height: 0.5;
  margin-bottom: var(--space-3);
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--gold-light);
  font-weight: 500;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-interactive);
}

.testimonial-dot.active {
  background: var(--gold);
}

.testimonial-dot:hover {
  background: var(--gold-light);
}


/* ===== CASES / ANTES E DEPOIS ===== */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.case-item {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.case-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  display: block;
  transition: transform 0.4s var(--ease-out);
}

.case-item:hover img {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

@media (max-width: 480px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}


/* ===== CTA FINAL ===== */

.cta-final {
  text-align: center;
  background: var(--navy);
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.cta-sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  max-width: 50ch;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-10);
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1.5px solid var(--gold);
}

.cta-button:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.cta-button:active {
  transform: translateY(1px);
}

.cta-button svg {
  width: 18px;
  height: 18px;
}

.cta-contacts {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.cta-contacts a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.cta-contacts a:hover {
  color: var(--gold);
}


/* ===== FOOTER ===== */

.site-footer {
  background: var(--navy-dark);
  padding: var(--space-8) 0;
  text-align: center;
}

.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--gold);
  margin-bottom: var(--space-3);
  letter-spacing: 0.03em;
}

.footer-legal {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-attr {
  margin-top: var(--space-4);
}

.footer-attr a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.footer-attr a:hover {
  color: rgba(255, 255, 255, 0.5);
}


/* ===== WHATSAPP FLOATING ===== */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.whatsapp-float:active {
  transform: scale(1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}


/* ===== SCROLL ANIMATIONS ===== */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}


/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .hero-content {
    padding: calc(var(--space-24) + var(--space-8)) var(--space-4) var(--space-12);
  }

  .hero h1 {
    font-size: clamp(1.75rem, 1rem + 4vw, 2.5rem);
  }

  .hero-scroll {
    display: none;
  }

  .philosophy-quote::before {
    position: static;
    display: block;
    margin-bottom: var(--space-2);
  }

  .nav-cta span {
    display: none;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: var(--space-4);
  }

  .doctor-locations {
    flex-direction: column;
  }

  .cta-contacts {
    flex-direction: column;
    gap: var(--space-3);
  }
}
