/* ============ TOKENS ============ */
:root{
  --oat-milk:#F7F1E6;
  --forest-floor:#4E5A46;
  --eucalyptus-mist:#A3AEA9;
  --peony-blush:#EBC5C0;
  --canyon-clay:#C26D53;
  --canyon-clay-dark:#A8543C;
  --coastal-haze:#8FA1B2;

  --ink:var(--forest-floor);
  --bg:var(--oat-milk);
  --surface:#ffffff;

  --font-title:'Fraunces', serif;
  --font-body:'Work Sans', sans-serif;

  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;

  --shadow-sm:0 2px 10px rgba(78,90,70,0.08);
  --shadow-md:0 10px 30px rgba(78,90,70,0.12);
  --shadow-lg:0 20px 50px rgba(78,90,70,0.16);

  --ease:cubic-bezier(.22,.8,.25,1);
  --dur-fast:.3s;
  --dur:.6s;
  --dur-slow:.9s;

  --max-width:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{
  font-family:var(--font-title);
  font-weight:600;
  line-height:1.15;
  margin:0 0 .5em;
  color:var(--forest-floor);
}
p{margin:0 0 1em;}
a{color:inherit;}
img{max-width:100%;display:block;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;}

.skip-link{
  position:absolute;left:-999px;top:0;
  background:var(--forest-floor);color:var(--oat-milk);
  padding:.6em 1em;z-index:200;
}
.skip-link:focus{left:0;}

.container{
  width:100%;
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}
.container--narrow{max-width:760px;}
.center{text-align:center;}

@media (min-width:768px){
  .container{padding:0 32px;}
  body{font-size:17px;}
}

/* ============ TOPBAR ============ */
.topbar{
  position:sticky;top:0;z-index:100;
  background:rgba(247,241,230,0.9);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(78,90,70,0.08);
}
.topbar__inner{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:14px;padding-bottom:14px;
}
.topbar__lockup{display:flex;align-items:center;gap:10px;min-width:0;}
.topbar__logo{width:32px;height:32px;flex-shrink:0;object-fit:contain;}
.topbar__brand{
  font-family:var(--font-title);
  font-weight:600;
  font-size:0.95rem;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
@media (max-width:640px){
  .topbar__brand{font-size:.8rem;}
  .topbar__logo{width:26px;height:26px;}
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  border:none;border-radius:999px;
  font-family:var(--font-body);font-weight:600;
  text-decoration:none;cursor:pointer;
  transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
  white-space:normal;
}
.btn--primary{
  background:var(--canyon-clay);
  color:var(--oat-milk);
  box-shadow:var(--shadow-sm);
}
.btn--primary:hover{
  background:var(--canyon-clay-dark);
  box-shadow:var(--shadow-md);
  transform:translateY(-2px) scale(1.02);
}
.btn--primary:active{transform:translateY(0) scale(.99);}
.btn--large{padding:16px 28px;font-size:1.05rem;min-height:56px;}
.btn--small{padding:10px 18px;font-size:.85rem;}
.btn--full{width:100%;}

/* ============ TAG / CHIPS ============ */
.tag{
  display:inline-block;
  background:var(--peony-blush);
  color:var(--canyon-clay-dark);
  border-radius:999px;
  padding:.4em 1em;
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.02em;
  margin-bottom:16px;
}
.tag--muted{
  background:rgba(78,90,70,0.08);
  color:var(--forest-floor);
}

.chips{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 28px;}
.chip{
  display:flex;align-items:center;gap:8px;
  background:var(--surface);
  border-radius:999px;
  padding:9px 16px;
  font-size:.85rem;
  font-weight:500;
  box-shadow:var(--shadow-sm);
}
.chip__icon{width:16px;height:16px;color:var(--canyon-clay);flex-shrink:0;}
.chips--light{justify-content:center;}
.chip--light{
  background:rgba(247,241,230,0.12);
  color:var(--oat-milk);
  box-shadow:none;
  border:1px solid rgba(247,241,230,0.25);
}

/* ============ HERO ============ */
.hero{
  padding:32px 0 56px;
  overflow:hidden;
  position:relative;
  background-image:
    linear-gradient(180deg, var(--oat-milk) 68%, rgba(247,241,230,.6) 85%, rgba(247,241,230,.15) 100%),
    url('assets/hero-illustration.png');
  background-repeat:no-repeat;
  background-position:center 0, center bottom;
  background-size:auto, 150%;
}
.hero__grid{display:flex;flex-direction:column;gap:36px;}
.hero__title{
  font-size:clamp(1.7rem, 7vw, 2.3rem);
  letter-spacing:-.01em;
}
.hero__subtitle{
  font-size:1.1rem;
  color:var(--canyon-clay-dark);
  font-weight:600;
  margin-bottom:14px;
}
.hero__context{
  font-size:.92rem;
  color:var(--forest-floor);
  opacity:.85;
  border-left:3px solid var(--eucalyptus-mist);
  padding-left:14px;
}
.hero__cta{margin-top:8px;}
.microtext{font-size:.82rem;opacity:.7;margin-top:10px;margin-bottom:0;}

@media (min-width:1024px){
  .hero{
    padding:72px 0 96px;
    background-image:
      linear-gradient(90deg, var(--oat-milk) 42%, rgba(247,241,230,.6) 62%, rgba(247,241,230,0) 85%),
      url('assets/hero-illustration.png');
    background-position:center, right center;
    background-size:auto, 52%;
  }
  .hero__content{max-width:640px;}
  .hero__title{font-size:clamp(2.1rem,3.4vw,2.7rem);}
}

/* Sticky mobile CTA */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:90;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg, rgba(247,241,230,0) 0%, rgba(247,241,230,.98) 30%);
  transform:translateY(120%);
  transition:transform var(--dur) var(--ease);
}
.sticky-cta.is-visible{transform:translateY(0);}
@media (min-width:1024px){
  .sticky-cta{display:none;}
}

/* ============ SECTIONS ============ */
.section{padding:64px 0;}
.section--alt{background:rgba(163,174,169,0.14);}
.section--dark{background:var(--forest-floor);color:var(--oat-milk);}
.section--dark h2, .section--dark p{color:var(--oat-milk);}

.section__title{font-size:clamp(1.6rem,5vw,2.2rem);}
.section__title--light{color:var(--oat-milk);}
.section__lead{font-size:1.02rem;max-width:640px;}
.section__lead--light{color:var(--oat-milk);opacity:.92;}
.section__closing{font-size:1.05rem;font-weight:500;max-width:680px;margin-top:24px;}
.section__cta{margin-top:32px;}

@media (min-width:768px){
  .section{padding:96px 0;}
}

/* ============ GRIDS & CARDS ============ */
.grid{display:grid;gap:22px;margin:36px 0;}
.grid--3{grid-template-columns:1fr;}
.grid--takeaway{grid-template-columns:1fr;}
.grid--pain{grid-template-columns:1fr;gap:14px;}
.grid--info{grid-template-columns:1fr;}

@media (min-width:640px){
  .grid--pain{grid-template-columns:repeat(2,1fr);}
}
@media (min-width:768px){
  .grid--3{grid-template-columns:repeat(3,1fr);}
  .grid--takeaway{grid-template-columns:repeat(3,1fr);}
  .grid--info{grid-template-columns:repeat(3,1fr);}
}

.card{
  background:var(--surface);
  border-radius:var(--radius-md);
  padding:26px;
  box-shadow:var(--shadow-sm);
  transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);}
.card__title{font-size:1.15rem;margin-bottom:.4em;}
.card__text{font-size:.94rem;}

/* pain cards */
.pain-card{
  display:flex;align-items:flex-start;gap:10px;
  background:var(--surface);
  border-radius:var(--radius-sm);
  padding:16px 18px;
  font-size:.92rem;
  font-weight:500;
  box-shadow:var(--shadow-sm);
}
.pain-card__dot{width:8px;height:8px;border-radius:50%;background:var(--canyon-clay);flex-shrink:0;margin-top:.55em;}

/* tag strip (Seção do problema) */
.tag-strip{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:40px;}
.tag-strip__item{
  display:flex;align-items:center;gap:8px;
  background:var(--surface);
  border-radius:10px;
  padding:10px 16px;
  font-size:.82rem;font-weight:600;
  box-shadow:var(--shadow-sm);
  color:var(--forest-floor);
}
.tag-strip__item svg{width:16px;height:16px;color:var(--canyon-clay);flex-shrink:0;}
.tag-strip__item--1{transform:rotate(-2deg);}
.tag-strip__item--2{transform:rotate(1.5deg);}
.tag-strip__item--3{transform:rotate(-1deg);}
.tag-strip__item--4{transform:rotate(2deg);}
.tag-strip__item--5{transform:rotate(-1.5deg);}

/* quote block */
.quote-block{
  background:var(--forest-floor);
  color:var(--oat-milk);
  border-radius:var(--radius-lg);
  padding:36px 28px;
  text-align:center;
}
.quote-block p{
  font-family:var(--font-title);
  font-size:clamp(1.2rem,3.6vw,1.6rem);
  font-weight:500;
  margin:0;
  line-height:1.4;
}

/* ============ TAKEAWAY CARDS ============ */
.card--takeaway{text-align:left;}
.card--takeaway__icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:50%;
  background:var(--peony-blush);color:var(--canyon-clay-dark);
  font-size:1.1rem;margin-bottom:14px;
}

/* ============ SHARED ANTES/DEPOIS TOGGLE ============ */
.ba-toggle{
  position:relative;
  display:flex;
  width:fit-content;
  margin:0 auto 36px;
  background:rgba(78,90,70,.08);
  border-radius:999px;
  padding:5px;
}
.ba-toggle__pill{
  position:absolute;
  top:5px;left:5px;
  height:calc(100% - 10px);
  width:calc(50% - 5px);
  background:var(--surface);
  border-radius:999px;
  box-shadow:var(--shadow-sm);
  transition:transform var(--dur-slow) var(--ease);
}
.ba-toggle.is-after .ba-toggle__pill{transform:translateX(100%);}
.ba-toggle__option{
  position:relative;z-index:1;
  padding:10px 30px;
  font-size:.88rem;font-weight:700;text-align:center;
  border-radius:999px;
  opacity:.45;
  border:none;background:none;font-family:inherit;cursor:pointer;
  transition:opacity var(--dur) var(--ease);
}
.ba-toggle__option--before{color:var(--canyon-clay-dark);opacity:1;}
.ba-toggle__option--after{color:var(--forest-floor);}
.ba-toggle.is-after .ba-toggle__option--before{opacity:.45;}
.ba-toggle.is-after .ba-toggle__option--after{opacity:1;}

/* ============ BEFORE/AFTER WIPE CARDS ============ */
.ba-card{
  background:var(--surface);
  border-radius:var(--radius-lg);
  padding:24px;
  box-shadow:var(--shadow-sm);
  text-align:center;
  transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.ba-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);}
.ba-card--peony{background:linear-gradient(180deg,#FBECEA,#ffffff 60%);}
.ba-card--haze{background:linear-gradient(180deg,#EAF0F4,#ffffff 60%);}
.ba-card--eucalyptus{background:linear-gradient(180deg,#EEF1EE,#ffffff 60%);}

.ba-card__icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:46px;border-radius:50%;
  background:var(--peony-blush);color:var(--canyon-clay-dark);
  margin-bottom:14px;
  transition:background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ba-card__icon svg{width:22px;height:22px;}
.ba-card.is-after .ba-card__icon{background:var(--eucalyptus-mist);color:var(--forest-floor);}
.ba-card__title{font-size:1.1rem;margin:0 0 12px;}

.ba-caption{position:relative;min-height:2.7em;margin:0 0 14px;text-align:center;}
.ba-caption__text{
  position:absolute;inset:0;
  font-size:.88rem;font-weight:600;line-height:1.35;
  transition:opacity var(--dur) var(--ease);
}
.ba-caption__text--before{opacity:1;color:var(--canyon-clay-dark);}
.ba-caption__text--after{opacity:0;color:var(--forest-floor);}
.ba-card.is-after .ba-caption__text--before{opacity:0;}
.ba-card.is-after .ba-caption__text--after{opacity:1;}

.ba-wipe{
  position:relative;
  height:220px;
  border-radius:var(--radius-md);
  overflow:hidden;
  background:rgba(78,90,70,.04);
}
.ba-wipe__img{
  position:absolute;inset:0;
  width:100%;height:100%;object-fit:cover;
}
.ba-wipe__img--before{
  clip-path:inset(0 0 0 0%);
  transition:clip-path 1.1s var(--ease);
  will-change:clip-path;
}
.ba-card.is-after .ba-wipe__img--before{clip-path:inset(0 0 0 100%);}

@media (prefers-reduced-motion:reduce){
  .ba-wipe__img--before, .ba-caption__text, .ba-toggle__pill{transition:none;}
}

/* ============ INTERLÚDIO: MISSÃO ============ */
.mission-morph{margin-top:40px;text-align:center;}
.mission-morph__stage{
  width:90vw;
  max-width:560px;
  aspect-ratio:1/1;
  margin:0 auto;
  background:var(--oat-milk);
}
.mission-morph__img{
  width:100%;height:100%;
  object-fit:contain;
}
.mission-morph__caption{
  margin:20px auto 0;
  max-width:480px;
  font-weight:400;
  font-size:.95rem;
  color:var(--forest-floor);
}

/* ============ COMO FUNCIONA (INFO CARDS) ============ */
.info-card{
  background:var(--surface);
  border-radius:var(--radius-md);
  padding:22px 16px;
  text-align:center;
  box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;align-items:center;gap:6px;
  transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.info-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.info-card__icon{
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  background:var(--peony-blush);color:var(--canyon-clay-dark);
  margin-bottom:4px;
}
.info-card__icon svg{width:18px;height:18px;}
.info-card__label{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;opacity:.6;font-weight:600;}
.info-card__value{font-weight:700;font-size:.92rem;}

.next-step{
  max-width:680px;margin-top:36px;
  background:rgba(235,197,192,0.22);
  border-radius:var(--radius-md);
  padding:22px 24px;
}
.next-step p{font-size:.92rem;margin-bottom:10px;}
.next-step p:last-child{margin-bottom:0;}

/* ============ TAG PILLS (Para quem é) ============ */
.tag-grid{display:flex;flex-wrap:wrap;gap:10px;margin:32px 0;}
.tag-pill{
  background:var(--surface);
  border-radius:999px;
  padding:10px 18px;
  font-size:.85rem;
  font-weight:600;
  box-shadow:var(--shadow-sm);
  border-bottom:2px solid var(--eucalyptus-mist);
}
.tag-grid--icons{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;}
@media (min-width:768px){
  .tag-grid--icons{grid-template-columns:repeat(3,1fr);}
}
.tag-pill--icon{
  display:flex;align-items:center;justify-content:center;gap:8px;
  text-align:center;border-bottom:none;
}
.tag-pill--icon svg{width:16px;height:16px;color:var(--canyon-clay);flex-shrink:0;}

/* ============ PARA QUEM NÃO É ============ */
.not-for{margin-top:48px;}
.not-for__title{font-size:1.3rem;margin-bottom:20px;text-align:center;}
.not-for__grid{
  display:grid;grid-template-columns:1fr;
  border-radius:var(--radius-lg);overflow:hidden;
}
.not-for__block{padding:28px 26px;display:flex;flex-direction:column;gap:14px;justify-content:center;}
.not-for__block p{
  margin:0;display:flex;gap:10px;align-items:flex-start;font-size:.94rem;
}
.not-for__block--no{background:var(--forest-floor);color:var(--oat-milk);}
.not-for__icon{flex-shrink:0;font-weight:700;}

/* ============ PRESENTER ============ */
.presenter{
  display:flex;flex-direction:column;gap:28px;align-items:center;text-align:center;
  margin-top:36px;
}
.presenter__photo{
  width:140px;height:140px;border-radius:50%;
  overflow:hidden;
  background:var(--eucalyptus-mist);
  box-shadow:var(--shadow-md);
  flex-shrink:0;
  border:4px solid var(--surface);
}
.presenter__photo img{width:100%;height:100%;object-fit:cover;}
.presenter__name{font-size:1.3rem;margin-bottom:.5em;}
.presenter__content p{font-size:.95rem;}
.presenter__closing{font-weight:600;color:var(--canyon-clay-dark);margin-bottom:0;}

@media (min-width:768px){
  .presenter{flex-direction:row;text-align:left;align-items:flex-start;gap:40px;}
}

/* ============ ACCORDION ============ */
.accordion{margin-top:28px;display:flex;flex-direction:column;gap:12px;}
.accordion__item{
  background:var(--surface);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
}
.accordion__trigger{
  width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:none;border:none;
  padding:18px 20px;
  font-size:.98rem;font-weight:600;text-align:left;
  cursor:pointer;color:var(--forest-floor);
}
.accordion__icon{
  font-size:1.3rem;font-weight:400;line-height:1;color:var(--canyon-clay);
  transition:transform var(--dur-fast) var(--ease);
  flex-shrink:0;
}
.accordion__item.is-open .accordion__icon{transform:rotate(45deg);}
.accordion__panel{
  max-height:0;
  overflow:hidden;
  transition:max-height var(--dur) var(--ease);
}
.accordion__panel p{
  padding:0 20px 18px;
  font-size:.92rem;
  margin:0;
  opacity:.9;
}

/* ============ CONTACT FORM ============ */
.contact-form{
  margin-top:32px;text-align:left;
  display:flex;flex-direction:column;gap:16px;
}
.contact-form__field{display:flex;flex-direction:column;gap:6px;}
.contact-form__field label{font-size:.82rem;font-weight:600;color:var(--forest-floor);}
.contact-form__field input, .contact-form__field textarea{
  font-family:var(--font-body);font-size:.95rem;
  padding:12px 14px;border-radius:var(--radius-sm);
  border:1px solid rgba(78,90,70,.2);
  background:var(--surface);color:var(--forest-floor);
  resize:vertical;
}
.contact-form__field input:focus, .contact-form__field textarea:focus{
  outline:2px solid var(--canyon-clay);outline-offset:1px;
}
.contact-form__status{font-size:.88rem;min-height:1.4em;margin:8px 0 0;text-align:center;}
.contact-form__status.is-success{color:var(--forest-floor);font-weight:600;}
.contact-form__status.is-error{color:var(--canyon-clay-dark);font-weight:600;}

/* ============ FOOTER ============ */
.footer{
  background:var(--forest-floor);
  color:var(--oat-milk);
  padding:40px 0 calc(40px + 70px);
  text-align:center;
}
.footer p{margin:0 0 6px;font-size:.88rem;opacity:.85;}
.footer__title{
  font-family:var(--font-title);
  font-size:1.15rem;font-weight:600;
  opacity:1 !important;
  margin-bottom:10px !important;
}
.footer__legal{font-size:.78rem;opacity:.65;}
.footer__copyright{font-size:.76rem;opacity:.55;margin-top:8px;}
@media (min-width:1024px){
  .footer{padding:48px 0;}
}

/* ============ SCROLL REVEAL ============ */
.reveal, .reveal-up{
  opacity:0;
  transform:translateY(18px);
  transition:opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.reveal.is-visible, .reveal-up.is-visible{
  opacity:1;
  transform:translateY(0);
}

.grid > .reveal-up:nth-child(1){transition-delay:0s;}
.grid > .reveal-up:nth-child(2){transition-delay:.1s;}
.grid > .reveal-up:nth-child(3){transition-delay:.2s;}
.grid > .reveal-up:nth-child(4){transition-delay:.3s;}
.grid > .reveal-up:nth-child(5){transition-delay:.4s;}
.grid > .reveal-up:nth-child(6){transition-delay:.5s;}

.tag-grid.reveal-up.is-visible .tag-pill{
  opacity:1;
}

@media (prefers-reduced-motion:reduce){
  .reveal, .reveal-up{opacity:1;transform:none;transition:none;}
}
