:root{
  --plum-deep:#1a0f0a;
  --plum-mid:#2a1810;
  --side-bg:#231711;
  --bg:#ebe3d6;
  --cream:#f1ebe0;
  --cream-soft:#efe8db;
  --card:#f1ebe0;
  --paper:#fbf7f0;
  --copper:#b06a3a;
  --copper-light:#c79461;
  --copper-glow:#e2a92f;
  --gold:#c98f5a;
  --gold-bright:#e2a92f;
  --ink:#3e3a33;
  --ink-soft:#6b6357;
  --cream-dim:#a9967c;
  --muted:#9c9082;
  --line:#6e5f4b29;
  --side-line:#c98f5a3d;
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-sans:'Jost', ui-sans-serif, system-ui, sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-sans);
  background:var(--bg);
  color:var(--ink);
  overflow-x:hidden;
}
img{display:block;max-width:100%;}
a{text-decoration:none;color:inherit;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}

.eyebrow{
  font-size:.72rem;
  letter-spacing:.28em;
  color:var(--copper);
  font-weight:500;
  margin-bottom:1.1rem;
  text-transform:uppercase;
}

h1,h2,h3{font-family:var(--font-display);font-weight:400;line-height:1.15;}
.accent{color:var(--copper);font-style:italic;}
em{font-style:italic;color:var(--copper);}

/* ---------- NAVBAR ---------- */
.navbar{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:1.6rem 0;
  transition:background .4s ease, padding .4s ease, backdrop-filter .4s ease;
}
.navbar.scrolled{
  background:rgba(26,15,10,.82);
  backdrop-filter:blur(10px);
  padding:1rem 0;
}
.nav-inner{
  max-width:1320px;margin:0 auto;padding:0 2.5rem;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
}
.nav-inner .logo{justify-self:start;}
.nav-inner .nav-links{justify-self:center;}
.nav-inner .nav-burger{justify-self:end;}
.logo{display:flex;align-items:center;gap:.65rem;}
.logo-svg{height:54px;width:auto;display:block;transition:height .4s ease;}
.navbar.scrolled .logo-svg{height:42px;}
.logo-text{
  font-family:var(--font-display);font-weight:600;
  font-size:1.5rem;letter-spacing:.04em;
  color:#daf1f5;white-space:nowrap;
}
.logo-text em{color:#e8b64c;font-style:italic;margin-left:.12em;}
.nav-links{display:flex;gap:2.6rem;}
.nav-links a{
  font-size:.72rem;letter-spacing:.18em;color:var(--cream-soft);
  transition:color .25s ease;
}
.nav-links a:hover{color:var(--copper-glow);}
.nav-burger{display:flex;flex-direction:column;gap:5px;}
.nav-burger span{width:22px;height:1.5px;background:var(--paper);}

/* ---------- HERO ---------- */
.hero{
  position:sticky;top:0;height:100vh;min-height:700px;
  /* eco do fundo da foto: teal frio em cima à esquerda, dourado quente
     à direita e em baixo, sobre negro-âmbar profundo */
  background:
    radial-gradient(ellipse 50% 40% at 16% 14%, rgba(40,120,150,.22), transparent 65%),
    radial-gradient(ellipse 55% 45% at 88% 45%, rgba(226,169,47,.16), transparent 65%),
    radial-gradient(ellipse 60% 45% at 30% 94%, rgba(216,155,60,.12), transparent 70%),
    radial-gradient(ellipse at center 45%, #221507 0%, #0c0804 76%);
  display:flex;flex-direction:column;align-items:center;justify-content:flex-end;
  overflow:hidden;
  z-index:1;
}
.hero-photo{
  position:absolute;inset:0;width:100%;height:100%;
  /* object-position must stay in sync with FOCUS_X/FOCUS_Y in app.js */
  object-fit:cover;object-position:62% 30%;
  opacity:0;
  filter:saturate(1.06) brightness(.94);
}
.hero-tint{
  position:absolute;inset:0;opacity:0;pointer-events:none;
  background:linear-gradient(120deg, rgba(26,15,10,.28) 0%, rgba(26,15,10,.05) 45%, rgba(226,169,47,.12) 100%);
}
#particleCanvas{
  position:absolute;inset:0;width:100%;height:100%;
}
.hero-content{
  position:relative;z-index:2;
  padding:0 2rem 6vh;
  max-width:1100px;
  text-align:center;
  display:flex;flex-direction:column;align-items:center;
}
.hero-title{
  font-size:clamp(2.3rem,4.8vw,4rem);
  font-weight:300;
  color:var(--paper);
  letter-spacing:.13em;
  margin-bottom:1.2rem;
}
.hero-sub{
  font-size:.8rem;letter-spacing:.32em;
  color:var(--copper-glow);font-weight:500;
  margin-bottom:2.2rem;
}
.hero-sub .dot{color:var(--copper);margin:0 .3em;}
.hero-line{width:1px;height:40px;background:var(--copper-glow);margin-bottom:1.4rem;}
.hero-scroll{font-size:.68rem;letter-spacing:.22em;color:var(--muted);}
/* wrapper limits how long the hero stays pinned: sticky ends with the wrapper */
.hero-wrap{height:200vh;position:relative;}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-block;
  padding:1.05rem 2.2rem;
  font-size:.72rem;letter-spacing:.18em;font-weight:500;
  border-radius:50px;
  transition:all .3s ease;
  white-space:nowrap;
}
.btn-solid{background:var(--copper);color:var(--paper);}
.btn-solid:hover{background:var(--copper-light);transform:translateY(-2px);}
.btn-outline{border:1px solid var(--copper);color:var(--ink);}
.btn-outline:hover{background:var(--copper);color:var(--paper);}
.jornada .btn-outline, .hero .btn-outline, .grupo-vip .btn-outline{color:var(--cream);border-color:var(--copper-light);}
.grupo-vip .btn-outline:hover{color:var(--plum-deep);}
.btn.full{width:100%;text-align:center;margin-top:.5rem;}

/* ---------- EDITORIAL ---------- */
.editorial{position:relative;z-index:2;background:var(--cream);padding:7rem 4rem;}
.editorial-grid{
  max-width:1320px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;
}
.editorial-text h2{
  font-size:clamp(2.2rem,3.6vw,3.4rem);
  color:var(--ink);margin-bottom:1.6rem;
}
.editorial-text p{
  color:var(--ink-soft);font-size:1.05rem;line-height:1.7;
  max-width:440px;margin-bottom:2.2rem;
}
.editorial-image{position:relative;border-radius:8px;overflow:hidden;aspect-ratio:4/5;}
.editorial-image img{
  width:100%;height:100%;object-fit:cover;
  filter:sepia(.25) saturate(1.3) brightness(.95);
}
.editorial-glow{
  position:absolute;inset:0;
  background:linear-gradient(135deg, transparent 40%, rgba(226,169,47,.35) 75%, rgba(176,106,58,.55) 100%);
  mix-blend-mode:overlay;
}
.editorial-sparkles{
  position:absolute;inset:0;width:100%;height:100%;
  pointer-events:none;
}

/* ---------- PROTOCOLO ---------- */
.protocolo{background:var(--plum-deep);padding:8rem 4rem;color:var(--cream);}
.protocolo-grid{
  max-width:1320px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;
}
.protocolo-text h2{
  font-size:clamp(2.2rem,3.6vw,3.2rem);color:var(--paper);
  margin-bottom:1.6rem;
}
.protocolo-desc{color:var(--cream-dim);font-size:1.02rem;line-height:1.75;max-width:460px;margin-bottom:2.2rem;}
.micro-note{font-size:.78rem;color:var(--muted);letter-spacing:.05em;margin-top:1.1rem;}

.protocolo-diagram{position:relative;height:460px;}
.orbit{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  border-radius:50%;border:1px solid var(--side-line);
}
.orbit-outer{width:420px;height:420px;border-color:#c98f5a59;}
.orbit-inner{
  width:270px;height:270px;
  display:flex;align-items:center;justify-content:center;
  border-color:#c98f5a99;
}
.orbit-label-center{
  font-family:var(--font-display);font-style:italic;
  font-size:1.5rem;color:var(--copper-glow);text-align:center;line-height:1.3;
}
.orbit-point{
  position:absolute;font-size:.65rem;letter-spacing:.2em;color:var(--cream-dim);
  display:flex;align-items:center;gap:.5rem;
}
.orbit-point i{width:8px;height:8px;border-radius:50%;background:var(--copper-glow);display:inline-block;}
.point-left{left:7%;top:50%;}
.point-right{right:7%;top:50%;flex-direction:row-reverse;}
.point-top{top:1%;left:50%;transform:translateX(-50%);}

/* ---------- RECONHECE ---------- */
.reconhece{background:var(--plum-deep);padding:2rem 4rem 9rem;color:var(--cream);}
.reconhece-inner{max-width:820px;margin:0 auto;text-align:left;}
.reconhece-inner h2{font-size:clamp(2.2rem,4vw,3.4rem);color:var(--paper);margin-bottom:1.6rem;max-width:640px;}
.reconhece-inner p{color:var(--cream-dim);font-size:1.05rem;line-height:1.8;max-width:640px;}

/* ---------- JORNADA (scrollytelling) ---------- */
.jornada{position:relative;background:var(--plum-mid);}
.jornada-spacer{height:220vh;}
.jornada-pin{
  position:sticky;top:0;height:100vh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:2rem 4rem;color:var(--cream);text-align:center;overflow:hidden;
}
.jornada-header{margin-bottom:3rem;}
.jornada-header h2{font-size:clamp(2rem,3.6vw,3rem);color:var(--paper);margin:.6rem 0 1rem;}
.jornada-sub{color:var(--cream-dim);font-size:1rem;}
.jornada-hint{margin-top:1.6rem;font-size:.65rem;letter-spacing:.22em;color:var(--muted);}

.jornada-steps{position:relative;width:100%;max-width:560px;height:180px;}
.jornada-step{
  position:absolute;inset:0;
  opacity:0;transform:translateX(40px);
  transition:opacity .5s ease, transform .5s ease;
  pointer-events:none;
}
.jornada-step.active{opacity:1;transform:translateX(0);pointer-events:auto;}
.step-num{
  font-family:var(--font-display);font-style:italic;font-size:2.2rem;
  color:var(--copper-glow);display:block;margin-bottom:.5rem;
}
.jornada-step h3{font-size:2.1rem;color:var(--paper);margin-bottom:.9rem;}
.jornada-step p{color:var(--cream-dim);font-size:1rem;line-height:1.7;max-width:480px;margin:0 auto;}

.jornada-cta{margin-top:2.5rem;}
.jornada-progress{
  width:220px;height:1px;background:var(--side-line);margin-top:2.4rem;position:relative;
}
.jornada-progress span{
  position:absolute;left:0;top:0;height:100%;
  width:25%;background:var(--copper-glow);
  transition:width .3s ease;
}

/* ---------- TRATAMENTOS ---------- */
.tratamentos{background:var(--cream);padding:7rem 4rem 6rem;text-align:center;}
.tratamentos-head h2{font-size:clamp(2.2rem,4vw,3.4rem);color:var(--ink);margin-top:.6rem;}
.tabs{
  display:flex;flex-wrap:wrap;justify-content:center;gap:2.4rem;
  margin:3.5rem auto 0;max-width:900px;
}
.tab{
  font-size:.72rem;letter-spacing:.14em;color:var(--muted);
  padding-bottom:1rem;transition:color .3s ease;font-weight:500;
}
.tab.active,.tab:hover{color:var(--ink);}
.tabs-underline{
  max-width:1100px;height:1px;background:var(--line);
  margin:0 auto 4rem;position:relative;
}
#tabsProgress{
  position:absolute;left:0;top:0;height:2px;background:var(--copper);
  width:33%;transition:all .4s ease;
}
.tab-panels{max-width:640px;margin:0 auto;position:relative;min-height:180px;}
.tab-panel{
  display:none;
}
.tab-panel.active{display:block;animation:fadeUp .45s ease;}
.panel-num{
  font-family:var(--font-display);font-style:italic;color:var(--copper);
  font-size:1.1rem;
}
.tab-panel h3{font-size:2.2rem;color:var(--ink);margin:.5rem 0 1rem;}
.tab-panel p{color:var(--ink-soft);font-size:1.05rem;line-height:1.8;}

@keyframes fadeUp{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}

/* ---------- QUEM SOMOS ---------- */
.quem-somos{background:var(--plum-deep);padding:8rem 4rem;color:var(--cream);}
.quem-somos-grid{
  max-width:1320px;margin:0 auto;
  display:grid;grid-template-columns:1.1fr .9fr;gap:4.5rem;align-items:center;
}
.quem-somos-text h2{font-size:clamp(2.2rem,3.6vw,3.2rem);color:var(--paper);margin-bottom:1.6rem;}
.quem-somos-text p{color:var(--cream-dim);font-size:1.02rem;line-height:1.8;margin-bottom:1.3rem;max-width:520px;}
.quem-somos-image{border-radius:16px;overflow:hidden;aspect-ratio:3/3.6;}
.quem-somos-image img{width:100%;height:100%;object-fit:cover;}

/* ---------- FAQ ---------- */
.faq{background:var(--cream);padding:7rem 4rem;}
.faq-inner{max-width:900px;margin:0 auto;}
.faq-inner h2{font-size:clamp(2.2rem,4vw,3.2rem);color:var(--ink);margin-bottom:3rem;}
.faq-list{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--card);}
.faq-item{border-bottom:1px solid var(--line);}
.faq-item:last-child{border-bottom:none;}
.faq-q{
  width:100%;text-align:left;padding:1.7rem 2rem;
  display:flex;justify-content:space-between;align-items:center;
  font-family:var(--font-display);font-size:1.3rem;color:var(--ink);
}
.faq-icon{color:var(--copper);font-size:1.3rem;font-weight:300;}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease;}
.faq-a p{padding:0 2rem 1.8rem;color:var(--ink-soft);font-size:1rem;line-height:1.75;max-width:640px;}
.faq-item.active .faq-a{max-height:220px;}

/* ---------- CONTATO ---------- */
.contato{background:var(--plum-deep);padding:8rem 4rem;color:var(--cream);}
.contato-grid{
  max-width:1320px;margin:0 auto;
  display:grid;grid-template-columns:1.1fr .9fr;gap:5rem;
}
.contato-form h2{font-size:clamp(2.2rem,4vw,3.2rem);color:var(--paper);margin-bottom:1.4rem;}
.contato-form>p{color:var(--cream-dim);font-size:1.02rem;line-height:1.7;max-width:460px;margin-bottom:2.4rem;}
#contactForm{max-width:460px;display:flex;flex-direction:column;gap:1rem;}
#contactForm input{
  background:transparent;border:1px solid var(--side-line);border-radius:10px;
  padding:1rem 1.2rem;color:var(--cream);font-family:inherit;font-size:.92rem;
}
#contactForm input::placeholder{color:var(--muted);}
#contactForm input:focus{outline:none;border-color:var(--copper);}
.micro-link{
  display:inline-block;margin-top:1.3rem;font-size:.75rem;letter-spacing:.14em;
  color:var(--copper-glow);
}

.contato-info .eyebrow{margin-top:2.2rem;}
.contato-info .eyebrow:first-child{margin-top:0;}
.contato-info p{color:var(--cream);font-size:1rem;line-height:1.7;margin-bottom:.3rem;}
.grupo-vip{
  margin-top:2.6rem;padding:2rem;border:1px solid var(--side-line);border-radius:16px;
}
.grupo-vip p:not(.eyebrow){color:var(--cream-dim);font-size:.95rem;line-height:1.7;margin-bottom:1.4rem;}

/* ---------- FOOTER ---------- */
.footer{
  background:var(--side-bg);color:var(--muted);text-align:center;
  padding:3rem 2rem 2.4rem;font-size:.8rem;
}
.footer-logo{
  display:flex;flex-direction:column;align-items:center;gap:.3rem;
  margin:0 auto 1.4rem;
}
.footer-logo-svg{
  height:104px;width:auto;display:block;
  filter:drop-shadow(0 0 18px rgba(226,169,47,.20));
}
.footer-logo-text{display:flex;flex-direction:column;align-items:center;line-height:1;}
.fl-clinica{
  font-family:var(--font-display);font-weight:600;font-size:1.7rem;
  letter-spacing:.05em;color:#7edde8;
}
.fl-aurea{
  font-family:'Great Vibes',cursive;font-size:2.6rem;line-height:1;
  color:#f0c25a;margin-top:-.1rem;
}
.footer-note{margin-top:.4rem;font-size:.7rem;opacity:.7;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  .nav-links{display:none;}
  .nav-burger{display:flex;}
  .nav-inner{display:flex;justify-content:space-between;padding:0 1.4rem;}
  .logo-svg{height:42px;}
  .logo-text{font-size:1.2rem;}
  .navbar.scrolled .logo-svg{height:36px;}
  .editorial-grid,.protocolo-grid,.quem-somos-grid,.contato-grid{
    grid-template-columns:1fr;
  }
  .editorial,.protocolo,.quem-somos,.contato,.tratamentos,.faq,.reconhece,.jornada-pin{
    padding-left:1.6rem;padding-right:1.6rem;
  }
  .protocolo-diagram{height:340px;transform:scale(.8);}
  .hero-content{padding:0 1.8rem 4rem;}
  .quem-somos-image{order:-1;}
}

/* ---------- CREDITO UP MEDIA ---------- */
.footer-note a{color:inherit;text-decoration:underline;text-underline-offset:3px;transition:color .2s;}
.footer-note a:hover{color:#E2A92F;}
