
/* ==========================================================================
   Dra. Alline Fontes — Mastologia
   Design system oficial: terracota #B58A6D / marrom #815939 / dourado #866036→#D0B07F→#FFF6E1 / creme #FFFCFB
   ========================================================================== */

:root {
  --gold: #D0B07F;
  --gold-light: #FFF6E1;
  --gold-deep: #866036;
  --ink: #815939;
  --ink-soft: #6B4A2E;
  --paper: #FFFFFF;
  --porcelain: #FFFCFB;
  --text: #4A3B2E;
  --text-muted: #8A7561;
  --line: #EDE1D3;
  --line-dark: #6B4A2E;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --brand-tan: #B58A6D;
  --container: 1180px;
  --radius: 2px;
  --shadow-soft: 0 20px 60px -30px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  min-height: 44px;
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(201,151,42,0.7); }
.btn-primary svg { flex-shrink: 0; }

.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.nav-social:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.nav-cta { display: none; }
@media (min-width: 1180px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  cursor: pointer;
}
@media (min-width: 1180px) { .nav-toggle { display: none; } .main-nav { display: flex !important; flex-wrap: nowrap; } }
.main-nav { display: none; }
.main-nav.is-open { display: flex; }
@media (max-width: 1179px) {
  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 32px;
    border-bottom: 1px solid var(--line);
    gap: 20px;
  }
  .main-nav .nav-cta { display: inline-flex; margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 88px;
  background: linear-gradient(180deg, var(--porcelain) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede { margin-bottom: 34px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 34px;
}
.credibility-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.86rem;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.credibility-line strong { color: var(--ink); font-weight: 600; }

.hero-media {
  position: relative;
}
.hero-media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-media-frame img { width: 100%; height: auto; display: block; }
.hero-media::before {
  content: '';
  position: absolute;
  top: -18px; right: -18px;
  width: 70%; height: 70%;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

/* ---------- Agitação (problema) ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--porcelain); }

.problem {
  text-align: center;
}
.problem-intro {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}
.problem-intro h2 { margin-bottom: 20px; }

.quote-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: 0 auto 48px;
  text-align: left;
}
@media (min-width: 760px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }

.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 26px 24px;
  border-radius: var(--radius);
}
.quote-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink);
  margin: 0;
}

.problem-question {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--ink);
  max-width: 44ch;
  margin: 0 auto;
}

/* ---------- Signature transition line (ansiedade -> calma) ---------- */
.transition-line {
  width: 100%;
  height: 90px;
  margin-top: 8px;
}
.transition-line svg { width: 100%; height: 100%; display: block; }
.transition-label {
  display: flex;
  justify-content: space-between;
  max-width: var(--container);
  margin: -6px auto 0;
  padding: 0 28px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Solução ---------- */
.solution .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .solution .container { grid-template-columns: 0.95fr 1.05fr; }
}
.solution-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: auto;
}
.solution-steps {
  counter-reset: step;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
.solution-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.solution-steps li:first-child { border-top: none; }
.solution-steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 50%;
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.solution-steps li > div { min-width: 0; flex: 1; }
.solution-steps h4 { margin: 0 0 4px; font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.solution-steps p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.solution-note {
  background: var(--porcelain);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 0.95rem;
  color: var(--text);
}
.solution-note strong { color: var(--gold-deep); }

/* ---------- Benefícios ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 32px;
  margin-top: 48px;
  text-align: center;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  padding: 8px 6px;
  max-width: 320px;
  margin: 0 auto;
}
.benefit-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.benefit-icon svg { width: 22px; height: 22px; stroke: var(--gold-deep); }
.benefit-card h3 { margin-bottom: 8px; }
.benefit-card p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* ---------- FAQ / Objeções ---------- */
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s ease;
}
.faq-question .plus::before, .faq-question .plus::after {
  content: '';
  position: absolute;
  background: var(--gold-deep);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-question .plus::before { width: 10px; height: 1px; }
.faq-question .plus::after { width: 1px; height: 10px; }
.faq-item.is-open .faq-question .plus { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 4px 24px;
  color: var(--text-muted);
  max-width: 68ch;
}
.faq-item.is-open .faq-answer { max-height: 400px; }

/* ---------- Autoridade (painel escuro) ---------- */
.authority {
  background: var(--ink);
  color: rgba(255,255,255,0.88);
}
.authority h2 { color: var(--paper); }
.authority .eyebrow { color: var(--gold-light); }
.authority .eyebrow::before { background: var(--gold-light); }
.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 960px) { .authority-grid { grid-template-columns: 1.05fr 0.95fr; padding-top: 8px; align-items: stretch; } }
.authority-copy p { color: rgba(255,255,255,0.85); }
.authority-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin: 26px 0;
}

/* Composição: foto principal preenche a coluna inteira; a segunda foto
   vira um card sobreposto no canto — elimina o espaço vazio na base. */
.authority-images {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.authority-images img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  display: block;
}
.authority-images .img-portrait { aspect-ratio: 3/4; object-fit: cover; object-position: center 20%; }
.img-landscape-wrap {
  position: relative;
  width: 100%;
}
.authority-images .img-landscape { aspect-ratio: 3/2; object-fit: cover; object-position: center; margin: 0; }

@media (min-width: 960px) {
  .authority-images {
    height: 100%;
    display: block;
  }
  .authority-images .img-portrait {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-position: center 15%;
  }
  .img-landscape-wrap {
    position: absolute;
    left: -16px;
    bottom: -28px;
    width: 62%;
    box-shadow: 0 24px 50px -18px rgba(0,0,0,0.45);
    border: 6px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .authority-images .img-landscape { aspect-ratio: 3/2; }
}

.img-landscape-wrap .img-caption {
  position: absolute;
  left: 0; bottom: 0; right: 0;
  background: rgba(129,89,57,0.85);
  backdrop-filter: blur(2px);
  color: var(--gold-light);
  font-size: 0.76rem;
  line-height: 1.4;
  padding: 10px 14px;
  border-left: 2px solid var(--gold);
  font-style: italic;
}
.credentials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.credential-chip {
  border: 1px solid var(--line-dark);
  border-radius: 30px;
  padding: 9px 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
}

/* ---------- Além do jaleco (pessoa) ---------- */
.person-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 800px) {
  .person-grid { grid-template-columns: 0.55fr 1fr; gap: 56px; }
}
.person-media img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  max-width: 320px;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 800px) { .person-media img { max-width: 100%; } }
.person-copy h2 { max-width: 20ch; }
.person-copy .lede { margin: 0; }

/* ---------- Avatar na CTA final ---------- */
.final-cta-avatar {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  margin: 0 auto 24px;
  border: 3px solid rgba(129,89,57,0.2);
}

/* ---------- Oferta ---------- */
.offer-list {
  list-style: none;
  padding: 0;
  margin: 32px auto;
  display: grid;
  gap: 16px;
  max-width: 560px;
  text-align: left;
}
.offer-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1.02rem;
}
.offer-list svg { flex-shrink: 0; margin-top: 3px; stroke: var(--gold-deep); }
.offer-formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 28px 0;
}
.format-chip {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.format-chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.offer-price-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* ---------- CTA final ---------- */
.final-cta {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--ink);
  text-align: center;
}
.final-cta h2 { color: var(--ink); }
.final-cta .lede { color: rgba(129,89,57,0.78); margin: 0 auto 30px; }
.final-cta .btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.final-cta .btn-primary:hover { background: var(--ink-soft); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.35); }
.final-cta .micro-copy {
  margin-top: 18px;
  font-size: 0.88rem;
  color: rgba(129,89,57,0.7);
}

/* ---------- Testemunhos (placeholder, oculto) ---------- */
.testimonials-slot { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand .brand-name { color: var(--paper); }
.footer-logo { width: 168px; height: auto; border-radius: var(--radius); margin: 0 auto 4px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.8); font-size: 0.92rem; max-width: 34ch; margin: 14px auto 0; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col address, .footer-col p { font-style: normal; font-size: 0.92rem; margin: 0 0 18px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.85); }
.footer-phone { color: rgba(255,255,255,0.85); font-weight: 500; margin: 0 0 18px; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color 0.25s ease;
}
.footer-social svg { flex-shrink: 0; }
.footer-social:hover { color: var(--gold-light); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  margin-top: 48px;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }
@media (min-width: 640px) {
  .footer-bottom { justify-content: space-between; text-align: left; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- WhatsApp floating button (todas as telas) ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  background: #25D366;
  color: #FFFFFF;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(37,211,102,0.55);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.wa-float:hover {
  background: #1FBD5A;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 30px -10px rgba(37,211,102,0.6);
}
.wa-float::before {
  content: 'Fale no WhatsApp';
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-float:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (min-width: 1180px) {
  .wa-float { width: 48px; height: 48px; right: 26px; bottom: 26px; }
  .wa-float svg { width: 22px; height: 22px; }
  .wa-float::before { right: 54px; }
}
@media (max-width: 640px) {
  .wa-float::before { display: none; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
}

