/* ============================================================
   COMPONENTS — direção premium editorial (moodboard)
   ============================================================ */

/* ---------- Botões / links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--navy); color: #fff;
  padding: 1rem 1.9rem; border-radius: 18px; /* mesmo raio do CTA da /links */
  font-family: var(--font-body); font-weight: 500; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--navy); cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--navy-soft); }
/* CTA primário: mesmo tratamento do botão da página /links (gradiente + glow + brilho) */
.btn--gold {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #e3c273 0%, var(--gold) 55%, var(--gold-deep) 100%);
  border-color: transparent; color: var(--navy-deep); font-weight: 600;
  box-shadow: 0 14px 34px rgba(201,154,46,.32);
}
.btn--gold:hover { transform: translateY(-2px);
  background: linear-gradient(135deg, #ead08a 0%, var(--gold-soft) 55%, var(--gold) 100%); }
.btn--gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: shine 5s ease-in-out infinite; pointer-events: none;
}
@keyframes shine { 0%, 55% { left: -60%; } 80%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn--gold::after { animation: none; display: none; } }
.btn--light { background: transparent; color: var(--navy); border-color: rgba(13,27,61,.25); }
.btn--light:hover { background: var(--navy); color: #fff; }
.btn--on-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--on-navy:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--sm { padding: .7rem 1.3rem; font-size: .72rem; }
/* Sem WhatsApp configurado ainda: botão mantém a aparência, só não dispara */
.btn[aria-disabled="true"] { pointer-events: none; }

.text-link {
  font-family: var(--font-body); font-weight: 500; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
  border-bottom: 1px solid var(--gold); padding-bottom: 3px;
}
.text-link:hover { color: var(--gold); }
.arrow-link {
  font-family: var(--font-body); font-weight: 500; font-size: .76rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
}
.arrow-link:hover { color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--ivory); /* sólido: logo (blend) sempre sobre marfim, mesmo sobre seções escuras */
  border-bottom: 1px solid var(--gray-line);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; transition: height var(--dur) var(--ease); }
/* Logo em PNG sem transparência: multiply funde o fundo branco no marfim */
.brand img { width: clamp(170px, 20vw, 230px); max-height: 56px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; transition: max-height var(--dur) var(--ease); }
/* Header compacto ao rolar (só desktop; no mobile o header é transparente sobre a hero) */
@media (min-width: 961px) {
  .site-header.is-scrolled {
    background: rgba(247,246,243,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(13,27,61,.07);
  }
  .site-header.is-scrolled .nav { height: 66px; }
  .site-header.is-scrolled .brand img { max-height: 42px; }
}
.menu { display: flex; align-items: center; gap: 2rem; font-size: .78rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.menu a:not(.btn):hover { color: var(--gold-deep); }
.menu-toggle { display: none; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--navy); cursor: pointer; padding: .25rem .5rem; }

/* ---------- Hero (foto emoldurada à direita, fundo marfim) ---------- */
/* Hero full-bleed: retrato do Dr. sangrando da direita + degradê navy à esquerda */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--on-navy); }
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: 0; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(9,20,48,.72) 22%, rgba(9,20,48,.12) 52%, rgba(9,20,48,0) 78%); }
.hero-in { position: relative; z-index: 2; min-height: clamp(600px, 84vh, 840px); display: flex; align-items: center; }
.hero-copy { max-width: 35rem; padding-block: clamp(3rem, 7vw, 5rem); }
.hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -.01em; margin: 1.25rem 0 1.4rem; font-weight: 500; color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--on-navy-2); }
.hero .text-link { color: var(--on-navy); }
.hero .text-link:hover { color: var(--gold-soft); }
.hero-actions { display: flex; align-items: center; gap: 1.75rem; margin: 2.25rem 0 2rem; flex-wrap: wrap; }
.hero .trust-row { color: var(--on-navy-2); }
.trust-row { display: flex; gap: 1.75rem; flex-wrap: wrap; font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.trust-row span { display: inline-flex; align-items: center; }
.trust-row span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: .55rem; }

/* ---------- Faixa de valores (Precisão · Clareza · Cuidado · Sofisticação) ---------- */
/* Faixa de pilares — clara e arejada (transição escuro→claro depois da hero) */
.values { background: var(--ivory); padding-block: clamp(3rem, 5.5vw, 4.75rem); border-bottom: 1px solid var(--gray-line); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 66rem; margin-inline: auto; }
.value { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem; padding: .25rem clamp(1rem, 3vw, 2.25rem); }
.value + .value { border-left: 1px solid var(--gray-line); }
.value svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; }
.value-name { font-family: var(--font-body); font-size: .8rem; font-weight: 500; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--navy); margin: 0; }
.value-desc { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--ink-soft); line-height: 1.4; max-width: 22ch; margin: 0; }
.values-sep { display: none; }

/* ---------- Statement ---------- */
.statement { background: var(--ivory-warm); padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.statement-inner { text-align: center; max-width: 58rem; margin-inline: auto; }
.statement p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 400; color: var(--navy); line-height: 1.32; margin: 0; }
.statement .quote { display: block; font-family: var(--font-display); font-size: 3rem; color: var(--gold); line-height: .5; margin-bottom: 1rem; }

/* ---------- Duas dimensões do tempo ---------- */
.dimensions { background: var(--ivory); }
.dimensions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); margin-top: var(--space-7); }
.dimension { background: var(--paper); border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: clamp(2rem, 3.5vw, 2.75rem); }
.dim-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .1rem; }
.dim-head svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; }
.dimension .tag { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold); }
.dimension h3 { font-size: var(--fs-h3); margin: .35rem 0 .75rem; font-weight: 600; }
.dimension p { color: var(--ink-soft); }
.dimension ul { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.dimension li { position: relative; padding-left: 1.5rem; color: var(--ink-soft); font-size: .98rem; }
.dimension li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 1.5rem); }
.service-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg); padding: clamp(1.9rem, 3vw, 2.6rem); min-height: 17rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.service-card--featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.service-card .num { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); }
.service-card h3 { font-size: var(--fs-h3); margin: 1.5rem 0 .7rem; font-weight: 600; }
.service-card--featured h3 { color: #fff; }
.service-card p { color: var(--ink-soft); }
.service-card--featured p { color: var(--on-navy-2); }
.service-card .meta { font-size: .82rem; color: var(--muted); margin-top: .6rem; }
.service-card--featured .meta { color: var(--on-navy-2); }
.service-card .arrow-link { margin-top: auto; padding-top: 1.75rem; }
.service-card--featured .arrow-link { color: var(--gold-soft); }

/* ---------- Jornada (faixa navy) ---------- */
.journey { background: var(--navy-deep); color: #fff; }
.journey .container { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.journey h2 { color: #fff; font-size: var(--fs-h2); margin: .85rem 0 1.1rem; font-weight: 500; }
.journey .muted { color: var(--on-navy-2); font-size: var(--fs-lead); font-weight: 300; }
.steps { border-top: 1px solid rgba(255,255,255,.14); }
.step { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.4rem; padding: 1.9rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.step .n { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-soft); }
.step h3 { color: #fff; font-size: 1.35rem; margin-bottom: .4rem; font-weight: 600; }
.step p { color: var(--on-navy-2); margin: 0; font-weight: 300; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-figure { position: relative; max-width: 27rem; align-self: center; justify-self: start; }
.about-figure::before { content: ""; position: absolute; left: -16px; top: -16px; right: 16px; bottom: 16px; z-index: 0;
  border: 1px solid var(--gold); border-radius: var(--radius-portrait); }
.about-figure img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; object-position: center 22%; border-radius: var(--radius-portrait); box-shadow: var(--shadow-lg); }
.about-copy h2 { font-size: var(--fs-h2); margin: .5rem 0 .25rem; font-weight: 500; }
.about-copy p { color: var(--ink-soft); }
.about-copy p + p { margin-top: 1rem; }
.credentials { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.9rem; }
.credentials > span { border: 1px solid var(--gray-line); border-radius: var(--radius-pill); padding: .5rem 1rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.credentials > span > span { border: 0; padding: 0; }

/* ---------- Prevenção ---------- */
.prevention { background: var(--ivory-warm); }
.prevention-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); margin-top: var(--space-7); }
.prevention-item { background: var(--paper); border-radius: var(--radius-lg); padding: 2.25rem 2rem; border: 1px solid var(--gray-line); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.prevention-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.prevention-item .ico { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; margin-bottom: 1.25rem; }
.prevention-item .ico svg { width: 22px; height: 22px; stroke: var(--gold-deep); fill: none; }
.prevention-item h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: .55rem; font-weight: 600; }
.prevention-item p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Divisor ornamental (losango dourado entre filetes) ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 auto; padding: var(--space-6) 0 0; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: clamp(40px, 12vw, 120px); background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament i { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); display: inline-block; }

/* Numeral decorativo (índice de seção, sutil) */
.deco-index { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); color: var(--gold); opacity: .18; line-height: 1; display: block; margin-bottom: -.5rem; }

/* ---------- Conteúdos ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); }
.article-card { background: var(--paper); border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 2rem; min-height: 13rem; display: flex; flex-direction: column; transition: border-color var(--dur) var(--ease); }
.article-card:hover { border-color: var(--gold); }
.article-card .cat { font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--gold-deep); }
.article-card h3 { font-size: 1.5rem; margin: .85rem 0 .5rem; font-weight: 600; }
.article-card p { color: var(--ink-soft); font-size: .98rem; }
.article-card .arrow-link { margin-top: auto; padding-top: 1.25rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--ivory); }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 5vw, 5rem); }
.accordion details { border-bottom: 1px solid var(--gray-line); }
.accordion summary { list-style: none; cursor: pointer; padding: 1.4rem 0; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.35rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform var(--dur) var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .answer { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: var(--measure); }

/* ---------- CTA final ---------- */
.cta { background: var(--navy); color: #fff; }
.cta .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cta h2 { color: #fff; font-size: var(--fs-h2); margin: .85rem 0 .85rem; font-weight: 500; }
.cta h2 em { font-style: italic; color: var(--gold-soft); }
.cta p { color: var(--on-navy-2); font-size: var(--fs-lead); font-weight: 300; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.cta-actions .note { font-size: .8rem; color: var(--on-navy-2); letter-spacing: .02em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #fff; padding-block: clamp(3rem, 5vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer-wordmark { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: .04em; color: #fff; margin-bottom: .35rem; }
.footer-tagline { font-family: var(--font-body); font-size: .72rem; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--on-navy-2); margin-bottom: 1.25rem; }
.footer-tagline span { color: var(--gold-soft); }
.footer-brand > p:last-child { color: var(--on-navy-2); font-weight: 300; max-width: 24rem; }
.footer-col h4 { font-family: var(--font-body); color: var(--gold-soft); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--tracking-label); text-transform: uppercase; margin: 0 0 1rem; }
.footer-col p, .footer-col a { color: var(--on-navy-2); font-size: .92rem; margin: .35rem 0; font-weight: 300; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-legal { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.12); color: #7c88a0; font-size: .8rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.footer-legal p { margin: 0; }
.footer-credit a { color: #97a2b8; font-size: .8rem; border-bottom: 1px solid rgba(201,154,46,.45); padding-bottom: 1px; }
.footer-credit a:hover { color: var(--gold-soft); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 960px) {
  /* Header enxuto sobre a hero: sem logo, só o hambúrguer à direita, transparente */
  .site-header { position: absolute; left: 0; right: 0; background: transparent; border-bottom: 0; }
  .brand { display: none; }
  .nav { height: 64px; }
  .menu-toggle { display: block; color: var(--ivory); margin-left: auto; font-size: 1.75rem; }
  .menu {
    display: none; position: absolute; left: 1.25rem; right: 1.25rem; top: 60px;
    flex-direction: column; align-items: stretch; gap: 1.1rem;
    background: #fff; padding: 1.5rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid var(--gray-line);
  }
  .menu.is-open { display: flex; }
  .journey .container, .about-grid, .faq-grid, .cta .container { grid-template-columns: 1fr; }
  .dimensions-grid, .services-grid { grid-template-columns: 1fr; }
  .prevention-grid, .articles-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; max-width: 24rem; }
  .value { padding: 1.6rem 1rem; }
  .value + .value { border-left: 0; border-top: 1px solid var(--gray-line); }
  /* Mobile: retrato recortado (cabeça perto do topo); rosto centrado no vão acima do conteúdo */
  .hero-bg { width: 100%; }
  .hero-bg img { object-position: center top; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(9,20,48,0) 0%, rgba(9,20,48,.35) 26%, rgba(9,20,48,.88) 50%, var(--navy-deep) 70%); }
  .hero-in { flex-direction: column; align-items: stretch; min-height: 100svh;
    width: 100%; max-width: 100%; margin-inline: 0; padding-inline: 1.375rem; padding-bottom: clamp(1.75rem, 6vw, 2.5rem); box-sizing: border-box; }
  /* conteúdo começa num ponto fixo abaixo: reserva o topo p/ o rosto ficar livre */
  .hero-copy { margin-top: 35svh; padding-bottom: 0; }
  .hero h1 { font-size: clamp(2.3rem, 9.5vw, 3.1rem); line-height: 1.08; margin: .85rem 0 1rem; }
  .hero .lead { font-size: 1.02rem; line-height: 1.55; }
  .hero .lead { max-width: 100%; }
  .hero-copy { max-width: 100%; padding-bottom: clamp(2.25rem, 7vw, 3rem); }
  .hero .trust-row { border-top-color: rgba(255,255,255,.16); }
}

@media (max-width: 600px) {
  .prevention-grid, .articles-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 1.1rem; margin-bottom: 1.75rem; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { align-self: center; text-align: center; }
  .trust-row { justify-content: flex-start; gap: .5rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-line); }
  .footer-grid { gap: 2rem; }
}
