/* ==========================================================
   BECO DA MARCELA | Modo de Preparo (built from homepage V12: same header,
   footer, tokens and fonts; the steps reuse the look of the homepage's
   "Por que é mais saudável?" block)
   Design read: premium consumer landing, health-conscious
   buyers in Florianópolis. Dials: variance 8, motion 5, density 3.
   Theme: one light page. Blue is brand chrome (header, footer),
   the health block and the V1 frozen cards. Accent: yellow only.
   Shape rule: buttons and tags are full pills; cards, photos and
   the brand "plaque" (hero sign, help card) use a 10px radius;
   full-width section backgrounds are square.
   Icons: Tabler Icons outline (MIT), stroke 1.5.
   Health icons and the two frozen-card icons: custom (brief / approved print).
   Motion: CSS only. Hero load-in, transform-only scroll
   reveals (scroll-driven animations), hover/press feedback. All off under prefers-reduced-motion.
   z-index scale: header 50, skip link 100.
   ========================================================== */
:root{
  --blue:#020959;
  --blue-hover:#101a86;
  --yellow:#F5A623;
  --yellow-hover:#FFB93F;
  --gray:#DFDFDF;
  --paper:#FAFAF5;
  --band:#ECECE3;
  --ink:#020959;
  --ink-soft:#4b5080;
  --line:rgba(2,9,89,.16);
  --on-blue-soft:rgba(250,250,245,.8);
  --on-blue-line:rgba(250,250,245,.18);
  --on-blue-rule:rgba(250,250,245,.42);
  --f-body:'Roboto',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-display:'Merriweather Sans','Segoe UI',system-ui,sans-serif;
  --max:1200px;
  --gutter:clamp(16px,4vw,48px);
  --edge:max(var(--gutter),calc((100% - var(--max)) / 2)); /* use only on full-width boxes */
  --section:clamp(5rem,10vw,9rem);
  --header:72px;
  --r-plaque:10px;
  --ease:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header);-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font:400 1rem/1.7 var(--f-body);
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}
ul,ol{list-style:none;margin:0;padding:0}
h1,h2,h3,p,figure,blockquote{margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:4px}
.site-header :focus-visible,.health :focus-visible,.help :focus-visible,.site-footer :focus-visible{outline-color:var(--yellow)}
.wrap{width:min(100% - 2*var(--gutter),var(--max));margin-inline:auto}
.skip{position:absolute;left:var(--gutter);top:-4rem;background:var(--yellow);color:var(--blue);padding:.6rem 1rem;border-radius:999px;font-weight:500;z-index:100}
.skip:focus{top:.75rem}
.icon{width:1.25em;height:1.25em;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

.sec-title{font-family:var(--f-display);font-size:clamp(2.2rem,4.4vw,3.6rem);font-weight:300;line-height:1.1;letter-spacing:-.02em;text-wrap:balance}
.sec-intro{font-size:1.125rem;font-weight:300;line-height:1.65;max-width:52ch;color:var(--ink-soft)}

/* ---------- buttons (pills) ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;white-space:nowrap;
  font:500 1.0625rem/1 var(--f-body);text-decoration:none;cursor:pointer;
  padding:1.05rem 2rem;border-radius:999px;border:1.5px solid transparent;
  transition:transform .35s var(--ease),background-color .35s var(--ease),color .35s var(--ease),border-color .35s var(--ease);
}
.btn--yellow{background:var(--yellow);color:var(--blue)}
.btn--yellow:hover{background:var(--yellow-hover);transform:translateY(-2px)}
.btn--blue{background:var(--blue);color:var(--paper)}
.btn--blue:hover{background:var(--yellow);color:var(--blue)}
.btn .icon{transition:transform .35s var(--ease)}
.btn:hover .icon--go{transform:translateX(5px)}
.btn:active{transform:translateY(1px) scale(.98)}

/* ---------- brand plaque (mirrors the enamel street sign in the logo) ---------- */
.plaque{position:relative;background:var(--blue);color:var(--paper);border-radius:var(--r-plaque)}
.plaque::before{
  content:"";position:absolute;inset:6px;pointer-events:none;
  border:2px solid rgba(250,250,245,.92);border-radius:calc(var(--r-plaque) - 5px);
}
.plaque>*{position:relative}

/* ---------- header ---------- */
.site-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:var(--blue);color:var(--paper)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:var(--header)}
.brand{display:block;line-height:0}
.brand img{height:52px;width:auto}
.nav ul{display:flex;gap:clamp(1.5rem,3.5vw,3rem)}
.nav a{position:relative;display:inline-block;padding:.5rem 0;font-size:1rem;text-decoration:none;color:var(--paper)}
.nav a::after{
  content:"";position:absolute;left:0;right:0;bottom:.1rem;height:2px;border-radius:2px;
  background:var(--yellow);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease);
}
.nav a:hover::after,.nav a[aria-current="page"]::after{transform:scaleX(1)}
.header-actions{display:flex;align-items:center;gap:.5rem}
.icon-btn{
  position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;
  border:1.5px solid rgba(250,250,245,.85);background:transparent;color:var(--paper);cursor:pointer;text-decoration:none;
  transition:background-color .2s,color .2s,border-color .2s,transform .2s var(--ease);
}
.icon-btn:hover{background:var(--yellow);border-color:var(--yellow);color:var(--blue)}
.icon-btn:active{transform:scale(.94)}
.cart-count{
  position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;
  background:var(--yellow);color:var(--blue);font:700 .72rem/20px var(--f-body);text-align:center;
}
.nav-toggle{display:none}
.nav-toggle .icon--close{display:none}
.nav-toggle[aria-expanded="true"] .icon--menu{display:none}
.nav-toggle[aria-expanded="true"] .icon--close{display:block}
@media (max-width:820px){
  .nav-toggle{display:grid}
  .nav{
    position:absolute;left:0;right:0;top:100%;display:none;background:var(--blue);
    border-top:1px solid var(--on-blue-line);padding:.5rem var(--gutter) 1.25rem;
  }
  .nav.is-open{display:block}
  .nav ul{flex-direction:column;gap:0}
  .nav li+li{border-top:1px solid var(--on-blue-line)}
  .nav a{display:block;padding:1rem 0;font-size:1.25rem}
  .nav a::after{display:none}
}

/* ---------- por que é mais saudável (the one blue color block) ---------- */
.health{background:var(--blue);color:var(--paper);padding-block:clamp(3.7rem,7.35vw,6.6rem)}
.health-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(2.5rem,6vw,6.5rem);align-items:start}
.health-intro{position:sticky;top:calc(var(--header) + 3rem);display:grid;gap:1.25rem;justify-items:start}
.health .sec-intro{color:var(--on-blue-soft)}
/* 2px rules above, between and below the four benefits */
.benefit{
  display:grid;grid-template-columns:72px minmax(0,1fr);gap:clamp(1.25rem,2.5vw,2rem);
  padding-block:clamp(1.25rem,2.05vw,1.75rem);border-top:2px solid var(--on-blue-rule);
}
.benefit:last-child{border-bottom:2px solid var(--on-blue-rule)}
.benefit .ic{display:block;width:64px;height:64px}
.benefit h3{font-size:clamp(1.35rem,2vw,1.6rem);font-weight:500;line-height:1.25;margin-bottom:1rem}
.checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem 1.75rem}
.checks li{position:relative;padding-left:1.8rem;font-weight:300;line-height:1.5;color:rgba(250,250,245,.9)}
.checks li::before{
  content:"";position:absolute;left:0;top:.18rem;width:1.15rem;height:1.15rem;border-radius:50%;
  background:var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23020959' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center/70% no-repeat;
}
/* custom health icons: line = off-white, accent = yellow, gap = section blue */
.ic{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4}
.ic .w{stroke:var(--paper)}
.ic .y{stroke:var(--yellow)}
.ic .yf{fill:var(--yellow);stroke:none}
.ic .gap{stroke:var(--blue);stroke-width:8}
.ic .slash{stroke:var(--yellow);stroke-width:3.4}
@media (max-width:900px){
  .health-grid{grid-template-columns:minmax(0,1fr)}
  .health-intro{position:static}
}
@media (max-width:560px){
  .benefit{grid-template-columns:minmax(0,1fr);gap:1rem}
  .checks{grid-template-columns:minmax(0,1fr)}
}

/* ---------- modo de preparo: the steps, styled like the homepage's health block ---------- */
.howto-title{
  font-family:var(--f-display);font-weight:700;color:var(--paper);
  font-size:clamp(2.3rem,4.4vw,3.6rem);line-height:1.1;letter-spacing:-.015em;text-wrap:balance;
}
/* photo under the headline, exactly the headline column's width */
.howto-intro{gap:clamp(1.5rem,3vw,2.25rem)}
.howto-photo{justify-self:stretch;overflow:hidden;border-radius:var(--r-plaque);background:var(--blue-hover)}
.howto-photo img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 45%}
@media (max-width:900px){.howto-photo img{aspect-ratio:4/3}}
.step-num{
  font-family:var(--f-display);font-weight:700;color:var(--yellow);
  font-size:clamp(2.6rem,4vw,3.4rem);line-height:1;letter-spacing:-.02em;
}
.step h2{font-size:22pt;font-weight:500;line-height:1.25;color:var(--paper)}
.step h2 span{display:block}
.step p{margin-top:.55rem;font-size:16pt;font-weight:300;line-height:1.5;color:rgba(250,250,245,.9);max-width:40ch}
.step--note p{margin-top:0;max-width:44ch}
.step--note strong{font-weight:700;color:var(--yellow)}
@media (max-width:560px){
  .step{grid-template-columns:3.25rem minmax(0,1fr)!important;gap:1rem!important}
  .step h2{font-size:19pt}
  .step p{font-size:14pt}
}

/* the yellow bar that closes the blue block */
.yellow-bar{height:clamp(10px,1.1vw,16px);background:var(--yellow)}

/* ---------- video between two label boxes, all three the same height ---------- */
.watch{padding-block:clamp(3rem,6vw,5rem)}
.watch-row{
  /* box height: the 960px video height, scaled down to fit the screen's height and width */
  --h:min(960px, calc(100dvh - var(--header) - 7rem), calc((100vw - 2*var(--gutter) - 2*clamp(1rem,2.5vw,1.75rem)) / 1.0025));
  display:flex;justify-content:center;align-items:stretch;gap:clamp(1rem,2.5vw,1.75rem);
}
.video-box{
  position:relative;height:var(--h);aspect-ratio:9/16;flex:none;
  border-radius:var(--r-plaque);overflow:hidden;background:var(--blue);
}
.video-box video{display:block;width:100%;height:100%;object-fit:cover;background:var(--blue)}
.play{
  position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:1rem;
  border:0;padding:0;cursor:pointer;color:var(--paper);font:500 1.0625rem/1 var(--f-body);
  background:linear-gradient(to top,rgba(2,9,89,.55),rgba(2,9,89,.12) 55%,rgba(2,9,89,.25));
  transition:background-color .3s var(--ease);
}
.play-disc{
  display:grid;place-items:center;width:clamp(64px,8vw,92px);aspect-ratio:1;border-radius:50%;
  background:var(--yellow);color:var(--blue);box-shadow:0 12px 30px -10px rgba(2,9,89,.6);
  transition:transform .35s var(--ease),background-color .35s var(--ease);
}
.play-disc svg{width:42%;height:42%;margin-left:8%;fill:currentColor}
.play:hover .play-disc{transform:scale(1.07);background:var(--yellow-hover)}
.play:active .play-disc{transform:scale(.97)}
.play:focus-visible{outline:3px solid var(--yellow);outline-offset:-6px}
.video-box.is-playing .play{display:none}
.label-box{
  height:var(--h);width:calc(var(--h) * .22);flex:none;
  display:grid;place-items:center;
}
/* text turned on its side, read bottom to top like a book spine: MODO DE left, PREPARO right */
.label-box span{
  writing-mode:vertical-rl;transform:rotate(180deg);
  font-family:var(--f-display);font-weight:700;letter-spacing:.04em;line-height:1;
  font-size:calc(var(--h) * .12);white-space:nowrap;
}
.label-box .y{color:var(--yellow)}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- rodapé (blue, mirrors the header) ---------- */
.site-footer{background:var(--blue);color:var(--paper);overflow:hidden}
.footer-main{padding-top:clamp(3rem,5.5vw,4.25rem)}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.7fr) minmax(0,1.1fr);gap:2.5rem 3rem}
.footer-brand img{height:62px;width:auto;margin-bottom:1rem}
.footer-brand p{max-width:34ch;color:var(--on-blue-soft);font-weight:300;line-height:1.6}
.footer-col h2{font-size:1rem;font-weight:500;color:var(--on-blue-soft);margin-bottom:.7rem}
.footer-nav li+li{margin-top:.35rem}
.footer-nav a,.contact a{text-decoration:none;font-size:1.0625rem}
.footer-nav a:hover,.contact a:hover{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:5px}
.contact{font-style:normal;display:grid;gap:.5rem}
.contact a{display:inline-flex;align-items:center;gap:.7rem;overflow-wrap:anywhere}
.social{display:flex;gap:.7rem;margin-top:1.1rem}
.social a{
  display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1.5px solid rgba(250,250,245,.6);
  transition:background-color .2s,color .2s,border-color .2s,transform .2s var(--ease);
}
.social a:hover{background:var(--yellow);border-color:var(--yellow);color:var(--blue)}
.social a:active{transform:scale(.94)}
.social .icon{width:22px;height:22px}
.footer-ghost{
  margin-top:clamp(1.5rem,3vw,2.25rem);
  font-size:clamp(2.4rem,8.8vw,7.9rem);font-weight:700;letter-spacing:-.05em;line-height:1;
  height:.62em;overflow:hidden;white-space:nowrap;color:rgba(250,250,245,.08);
  -webkit-user-select:none;user-select:none;
}
.footer-bar{border-top:1px solid var(--on-blue-line)}
.footer-bottom{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem;
  padding-block:.72rem;font-size:.9rem;font-weight:300;color:var(--on-blue-soft);
}
@media (max-width:900px){.footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.footer-brand{grid-column:1/-1}}
@media (max-width:520px){.footer-grid{grid-template-columns:minmax(0,1fr)}}

/* ---------- motion (each piece has one job) ---------- */
@keyframes rise-in{from{opacity:0;transform:translateY(22px)}}
@keyframes settle{from{opacity:0;transform:scale(1.06)}}
@keyframes reveal-up{from{transform:translateY(56px)}}
@media (prefers-reduced-motion:no-preference){
  /* hierarchy: the hero reads in order, headline first, CTA last */
  .howto-intro{animation:rise-in .9s var(--ease) both}
  @supports (animation-timeline:view()){
    /* storytelling: items arrive as they enter; transform only, so text is always visible */
    .reveal{animation:reveal-up linear both;animation-timeline:view();animation-range:entry 0% entry 60%}
  }
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
