/* =========================================================
   Dra. Bárbara Delazari — Implante Capilar
   Identidade visual baseada no template "Orb AI" (Framer)
   Tema claro / soft-UI neumórfico
   ========================================================= */

:root {
  --bg:            #f5f5f5;
  --surface:       #f5f5f5;
  /* Cor principal (substitui o preto): azul escuro da identidade Delazari
     Cor secundária: dourado. Troque estes 2 valores se tiver o hex exato. */
  --navy:          #1b2c3a;   /* azul mais escuro — cor principal */
  --navy-2:        #34495d;   /* azul médio p/ gradientes / brilho */
  --gold:          #b4915a;   /* dourado — cor secundária */

  --ink:           var(--navy);
  --ink-soft:      rgba(27, 44, 58, 0.62);
  --ink-faint:     rgba(27, 44, 58, 0.42);
  --line:          rgba(27, 44, 58, 0.11);
  --line-soft:     rgba(27, 44, 58, 0.06);
  --white:         #ffffff;

  --radius-btn:    10px;
  --radius-card:   20px;
  --radius-pill:   999px;

  /* Soft-UI layered shadow (opacities 0.08 -> 0.02, blur 1px -> 30px) + inset white top */
  --shadow-card:
    inset 0 3px 0 rgba(255, 255, 255, 0.9),
    0 1px 1px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 6px 12px rgba(0, 0, 0, 0.04),
    0 14px 24px rgba(0, 0, 0, 0.03),
    0 24px 40px rgba(0, 0, 0, 0.02);
  --shadow-soft:
    inset 0 2px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-dark:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 8px 20px rgba(0, 0, 0, 0.22);

  --font-head: "Satoshi", "Satoshi Placeholder", -apple-system, system-ui, sans-serif;
  --font-body: "Inter", -apple-system, system-ui, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 13px 24px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s ease, box-shadow .25s ease, opacity .25s ease;
  will-change: transform;
}
.btn--dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}
.btn--dark:hover { transform: translateY(-2px); background: #24384a; }
.btn--soft {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.btn--soft:hover { transform: translateY(-2px); }
.btn--pill { border-radius: var(--radius-pill); padding: 11px 20px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand__sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
  margin-top: 2px;
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--navy-2) 0%, var(--navy) 78%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-dark);
  flex: none;
}
.brand__logo { height: 25px; width: auto; }
.brand__mark--sm { width: 46px; height: 46px; border-radius: 13px; }
.brand__mark--sm .brand__logo { height: 31px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding-top: 14px;
  transition: padding .3s ease;
}
.header__inner {
  display: flex; align-items: center; gap: 20px;
  padding: 9px 9px 9px 18px;
  background: rgba(245, 245, 245, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled .header__inner {
  box-shadow: 0 8px 30px rgba(0,0,0,.10);
  background: rgba(245, 245, 245, 0.9);
}
.nav {
  display: flex; align-items: center; gap: 4px;
  margin-inline: auto;
}
.nav a {
  font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 14px; border-radius: var(--radius-pill);
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--ink); background: rgba(0,0,0,.045); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.4px) rotate(-45deg); }

/* ---------- Pills / labels ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 15px;
  box-shadow: var(--shadow-soft);
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(180,145,90,.22);
  animation: pulse 2.4s ease-in-out infinite;
}
.pill--label { margin-bottom: 22px; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(150px, 22vh, 220px) 0 clamp(60px, 9vw, 110px);
  text-align: center;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 26px auto 0;
  max-width: 18ch;
}
.hero__sub {
  margin-top: 24px;
  max-width: 56ch;
  font-size: clamp(16px, 2vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero__actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Orb: água com ondas concêntricas + fio de cabelo ---------- */
.orb {
  position: absolute;
  top: -4%; left: 50%;
  transform: translateX(-50%);
  width: min(680px, 112vw);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
  opacity: .95;
}
/* água + raiz capilar glossy (SVG com turbulência/iluminação) */
.orb__img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

.visually-hidden { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Cena do hero: foto 3D real cobrindo a seção inteira ---------- */
.hero__scene {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  object-fit: cover;
  object-position: center 42%;
  -webkit-mask-image: radial-gradient(115% 125% at 50% 42%, #000 46%, transparent 86%);
          mask-image: radial-gradient(115% 125% at 50% 42%, #000 46%, transparent 86%);
  filter: brightness(1.14) contrast(0.85);
  opacity: 0.45;
  animation: heroBreath 14s ease-in-out infinite;
}
@keyframes heroBreath {
  0%,100% { transform: scale(1.02); }
  50%     { transform: scale(1.06); }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 6px 0 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 12px; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.chip {
  flex: none;
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  box-shadow: var(--shadow-soft);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--left { max-width: 420px; }
.section__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.section__intro {
  margin-top: 18px;
  font-size: 17px; line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}
.section__head--center .section__intro { margin-inline: auto; }

/* caixa retangular ao redor do texto da seção */
.section__head--boxed {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px);
}
.section__head--boxed .section__intro { margin-top: 16px; }

/* ---------- Sobre (foto + texto), centralizado em caixa ---------- */
.about__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(26px, 4vw, 40px);
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 5vw, 56px);
}
.about__photo {
  width: min(280px, 70%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-soft);
  background: #1b2530;
}
.about__photo img {
  width: 100%; height: 100%;
  aspect-ratio: 1100 / 1200;
  object-fit: cover;
  object-position: center 16%;
  display: block;
}
.about__content { display: flex; flex-direction: column; align-items: center; }
.about__text {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.36;
  letter-spacing: -0.01em;
  color: var(--ink-faint);
  margin-top: 6px;
}
.about__text strong { color: var(--ink); font-weight: 500; }
.quote__by {
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  text-align: left;
}
.quote__by strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.quote__by span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Cards grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
}
.card:hover { transform: translateY(-4px); }
.card__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--navy-2) 0%, var(--navy) 80%);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-dark);
  margin: 0 auto 20px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: var(--font-head);
  font-weight: 500; font-size: 22px;
  line-height: 1.25; letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- CTA panel ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  box-shadow: var(--shadow-card);
}
.cta-panel > .pill, .cta-panel > .section__title, .cta-panel > p, .cta-panel > .btn { position: relative; z-index: 2; }
.cta-panel .section__title { max-width: 22ch; margin-inline: auto; }
.cta-panel p {
  margin: 20px auto 34px;
  max-width: 56ch;
  font-size: 17px; line-height: 1.6; color: var(--ink-soft);
}
.orb--panel { top: auto; bottom: -55%; opacity: .5; width: min(560px, 90vw); }

/* CTA panel alinhado à esquerda (checklist "Para quem é") */
.cta-panel--left { text-align: left; }
.cta-panel--left .section__title { margin-inline: 0; max-width: 22ch; }
.pill--gold { color: var(--gold); border-color: rgba(180,145,90,.35); }

/* Checklist "Para quem é" */
.checklist {
  position: relative; z-index: 2;
  list-style: none;
  margin: 26px auto 34px;
  display: grid; gap: 14px;
  max-width: 60ch;
  text-align: left;
}
.checklist li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 17px; line-height: 1.5; color: var(--ink);
}
.checklist__mark {
  flex: none; margin-top: 2px;
  width: 24px; height: 24px; border-radius: 8px;
  background: linear-gradient(150deg, var(--navy-2) 0%, var(--navy) 80%);
  box-shadow: var(--shadow-dark);
  position: relative;
}
.checklist__mark::after {
  content: ""; position: absolute; left: 8px; top: 6px;
  width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

/* Técnica FUE */
.fue {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background: linear-gradient(160deg, #22374a 0%, var(--navy) 70%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-card);
}
.fue__title {
  font-family: var(--font-head);
  font-weight: 500; font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2; letter-spacing: -0.01em;
  margin-top: 16px;
}
.fue__lead {
  margin-top: 16px;
  font-size: 16px; line-height: 1.65;
  color: rgba(255,255,255,0.82);
}
.fue__list { list-style: none; display: grid; gap: 15px; }
.fue__list li {
  display: flex; align-items: flex-start; gap: 13px;
  font-size: 15.5px; line-height: 1.5;
  color: rgba(255,255,255,0.92);
}
.fue__mark {
  flex: none; margin-top: 1px;
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(150deg, #d8b877 0%, var(--gold) 90%);
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.fue__mark::after {
  content: ""; position: absolute; left: 8px; top: 5px;
  width: 5px; height: 10px;
  border: solid var(--navy); border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

/* ---------- FAQ ---------- */
.faq__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 44px);
}
.faq { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 760px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.faq__item[open] { box-shadow: var(--shadow-card); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-weight: 500; font-size: 18px;
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  position: relative; flex: none;
  width: 20px; height: 20px;
}
.faq__chev::before, .faq__chev::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.faq__chev::before { transform: translate(-50%,-50%); }
.faq__chev::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__item[open] .faq__chev::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq__item[open] .faq__answer { grid-template-rows: 1fr; }
.faq__answer > p {
  overflow: hidden;
  padding: 0 26px;
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.6;
}
.faq__item[open] .faq__answer > p { padding-bottom: 24px; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 150px) 0 40px;
  text-align: center;
  border-top: 1px solid var(--line-soft);
}
.orb--footer { top: -30%; opacity: .55; }
.footer__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.brand--footer { margin-bottom: 26px; }
.footer__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.18; letter-spacing: -0.01em;
  max-width: 18ch; margin-bottom: 30px;
}
.footer__grid {
  margin-top: 72px;
  width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__label {
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 4px;
}
.footer__col a, .footer__strong { font-size: 16px; font-weight: 500; line-height: 1.5; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__muted { font-size: 13.5px; color: var(--ink-soft); }
.footer__bottom {
  margin-top: 56px; width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  text-align: left;
}
.footer__bottom p { font-size: 13px; color: var(--ink-soft); }
.footer__disclaimer { color: var(--ink-faint); max-width: 46ch; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header__inner.is-open { flex-wrap: wrap; }
  .header__inner.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    width: 100%; order: 3; margin: 6px 0 4px; gap: 2px;
  }
  .header__inner.is-open .nav a { padding: 12px 16px; }
  .site-header .btn--pill { display: none; }
  .header__inner.is-open .btn--pill { display: inline-flex; width: 100%; order: 4; margin-bottom: 4px; }

  .cards { grid-template-columns: 1fr; }
  .card { grid-column: 1 / -1; }
  .about__grid { grid-template-columns: 1fr; gap: 28px; }
  .about__photo { max-width: 380px; }
  .fue { grid-template-columns: 1fr; gap: 20px; }
  .faq__layout { grid-template-columns: 1fr; }
  .section__head--left { max-width: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .hero__scene { width: 128vw; }
}

@media (max-width: 560px) {
  .header__inner { gap: 10px; padding-left: 14px; }
  .hero { padding-top: 130px; }
  .btn { width: 100%; }
  .hero__actions { width: 100%; }
  .quote__by { flex-direction: row; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__scene { transform: scale(1.02); }
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
