/* ==========================================================================
   Patrícia Ramalho · Pilates e Personal
   style.css  →  tokens, base, fundos desenhados, botões, vidro, cabeçalho, hero
   sections.css → todas as demais seções
   ========================================================================== */

:root {
  /* cores */
  --paper: #fffaf3;
  --paper-2: #fff2e4;
  --paper-3: #fde9dc;
  --white: #ffffff;
  --ink: #241532;
  --ink-2: #463a58;
  --muted: #74678a;
  --line: rgba(36, 21, 50, .1);
  --line-2: rgba(36, 21, 50, .16);

  --coral: #ff6f61;
  --coral-2: #ff8f6b;
  --coral-d: #e8503f;
  --sun: #ffc145;
  --sun-2: #ffd77a;
  --aqua: #2ec4b6;
  --aqua-d: #129a8d;
  --lilac: #9b7bff;
  --lilac-d: #7a59ea;
  --rose: #ff9fbf;
  --plum: #241532;
  --plum-2: #33204a;

  --grad-warm: linear-gradient(120deg, #ff6f61 0%, #ff9466 45%, #ffc145 100%);
  --grad-cool: linear-gradient(120deg, #2ec4b6 0%, #6fa8ff 55%, #9b7bff 100%);
  --grad-joy: linear-gradient(110deg, #ff6f61 0%, #ffc145 38%, #2ec4b6 72%, #9b7bff 100%);
  --grad-text: linear-gradient(100deg, #ff6f61 0%, #ff8a5b 30%, #f2a428 55%, #20b3a5 85%);

  /* tipografia */
  --f-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-hand: "Caveat", "Bricolage Grotesque", cursive;

  /* medidas */
  --wrap: 1220px;
  --gut: clamp(16px, 4vw, 40px);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 30px;
  --r-xl: 44px;
  --sec-y: clamp(76px, 10vw, 136px);
  --shadow: 0 1px 2px rgba(36, 21, 50, .05), 0 12px 32px -12px rgba(36, 21, 50, .18);
  --shadow-lg: 0 2px 6px rgba(36, 21, 50, .05), 0 30px 70px -24px rgba(36, 21, 50, .32);
  --shadow-coral: 0 16px 40px -14px rgba(255, 111, 97, .7);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.08; margin: 0; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.i { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sec { position: relative; padding-block: var(--sec-y); isolation: isolate; overflow-x: clip; }
main, .ftr { overflow-x: clip; }
.sec > .wrap { position: relative; z-index: 2; }

/* ---------- títulos de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--coral-d);
  padding: 9px 14px 9px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 111, 97, .22);
  box-shadow: 0 6px 18px -10px rgba(255, 111, 97, .6);
  backdrop-filter: blur(8px);
}
.eyebrow .i { width: 18px; height: 18px; --icon-accent: var(--aqua); }
.eyebrow--aqua { color: var(--aqua-d); border-color: rgba(46, 196, 182, .3); }
.eyebrow--aqua .i { --icon-accent: var(--coral); }
.eyebrow--lilac { color: var(--lilac-d); border-color: rgba(155, 123, 255, .3); }
.eyebrow--dark { background: rgba(255, 255, 255, .08); color: var(--sun); border-color: rgba(255, 193, 69, .3); }

.h-sec { font-size: clamp(2.05rem, 4.6vw, 3.7rem); margin-top: 18px; text-wrap: balance; }
.h-sec em, .h-hero em, .grad { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hand { font-family: var(--f-hand); font-weight: 600; color: var(--coral); letter-spacing: 0; }
.lead { font-size: clamp(1.03rem, 1.35vw, 1.2rem); color: var(--muted); max-width: 640px; margin-top: 18px; text-wrap: pretty; }
.sec-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head--c { margin-inline: auto; text-align: center; }
.sec-head--c .lead { margin-inline: auto; }

/* ==========================================================================
   Fundos desenhados (nenhuma seção fica com cor lisa)
   ========================================================================== */
.bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.bg-dots::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(36, 21, 50, .16) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at var(--dx, 80%) var(--dy, 20%), #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 60% at var(--dx, 80%) var(--dy, 20%), #000 0%, transparent 72%);
}
.bg-grid::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(36, 21, 50, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 21, 50, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 75%);
}
.bg-stripes::before {
  content: ""; position: absolute; inset: -20%;
  background: repeating-linear-gradient(-35deg, rgba(255, 193, 69, .13) 0 2px, transparent 2px 22px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
  animation: blob 18s var(--ease) infinite alternate;
}
.blob--coral { background: radial-gradient(circle, rgba(255, 111, 97, .75), transparent 66%); }
.blob--sun { background: radial-gradient(circle, rgba(255, 193, 69, .85), transparent 66%); }
.blob--aqua { background: radial-gradient(circle, rgba(46, 196, 182, .7), transparent 66%); }
.blob--lilac { background: radial-gradient(circle, rgba(155, 123, 255, .6), transparent 66%); }
.blob--rose { background: radial-gradient(circle, rgba(255, 159, 191, .75), transparent 66%); }
@keyframes blob {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -6%, 0) scale(1.08); }
  100% { transform: translate3d(-5%, 4%, 0) scale(.95); }
}
/* ondas em traço (SVG em data URI) */
.waves {
  position: absolute; left: -5%; right: -5%; height: 220px; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-width='2'%3E%3Cpath d='M0 120 C200 40 400 200 600 120 S1000 40 1200 120' stroke='%23ff6f61' stroke-opacity='.35'/%3E%3Cpath d='M0 140 C200 60 400 220 600 140 S1000 60 1200 140' stroke='%23ffc145' stroke-opacity='.45'/%3E%3Cpath d='M0 160 C200 80 400 240 600 160 S1000 80 1200 160' stroke='%232ec4b6' stroke-opacity='.35'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat;
}
/* figuras de Pilates desenhadas em traço como decoração */
.deco { position: absolute; color: var(--ink); opacity: .08; pointer-events: none; }
.deco svg { width: 100%; height: 100%; }
.deco--coral { color: var(--coral); opacity: .22; }
.deco--aqua { color: var(--aqua); opacity: .25; }
.deco--sun { color: var(--sun); opacity: .4; }
.deco--lilac { color: var(--lilac); opacity: .2; }
.float { animation: float 7s ease-in-out infinite; }
.float-2 { animation: float 9s ease-in-out -3s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* textura de papel (granulado leve) */
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .08 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* seções com tom */
.tone-cream { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.tone-peach { background: linear-gradient(160deg, #fff4ea 0%, #ffe9e0 55%, #fff6ec 100%); }
.tone-mint { background: linear-gradient(160deg, #f1fbf8 0%, #e6f8f4 50%, #fdf9f1 100%); }
.tone-lilac { background: linear-gradient(160deg, #f6f2ff 0%, #fdf0f5 55%, #fff8ef 100%); }
.tone-sun { background: linear-gradient(160deg, #fff8e3 0%, #fff1d2 50%, #ffeedf 100%); }
.tone-plum {
  background:
    radial-gradient(ellipse 60% 60% at 15% 10%, rgba(255, 111, 97, .28), transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 90%, rgba(46, 196, 182, .22), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 15%, rgba(155, 123, 255, .3), transparent 60%),
    linear-gradient(160deg, #2b1940 0%, #241532 60%, #1b0f27 100%);
  color: #e9e1f3;
}
.tone-plum h2, .tone-plum h3, .tone-plum h4 { color: #fff; }
.tone-plum .lead { color: #c7bbd8; }

/* divisor ondulado entre seções */
.edge { position: absolute; left: 0; right: 0; height: 60px; z-index: 3; pointer-events: none; }
.edge svg { width: 100%; height: 100%; }
.edge--top { top: -1px; }
.edge--bot { bottom: -1px; transform: scaleY(-1); }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  --bh: 54px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px; border-radius: 99px;
  font: 700 15.5px/1 var(--f-body); letter-spacing: .01em; white-space: nowrap;
  transition: transform .45s var(--ease-spring), box-shadow .35s var(--ease), background-position .6s var(--ease), color .3s;
  will-change: transform;
}
.btn .i { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.btn:hover .i--go { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
/* faixa de brilho que passa no hover (todos) */
.btn::after {
  content: ""; position: absolute; z-index: 1; top: -20%; bottom: -20%; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-22deg) translateX(0); opacity: 0; pointer-events: none;
}
.btn:hover::after { animation: sweep .85s var(--ease); }
@keyframes sweep { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
.btn > * { position: relative; z-index: 2; }

/* principal: degradê quente com brilho periódico */
.btn--sun {
  color: #fff; background: var(--grad-warm); background-size: 160% 100%;
  box-shadow: var(--shadow-coral), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(180, 50, 30, .18);
  text-shadow: 0 1px 1px rgba(150, 40, 20, .25);
}
.btn--sun:hover { background-position: 100% 0; box-shadow: 0 20px 46px -12px rgba(255, 111, 97, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--sun::before, .btn--pulse::before {
  content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%);
  background-size: 260% 100%; background-position: 160% 0;
  animation: shine 4.2s ease-in-out infinite;
}
@keyframes shine { 0%, 62% { background-position: 160% 0; } 100% { background-position: -60% 0; } }

/* espelhado: perolado/cromado com reflexo */
.btn--mirror {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .55) 48%, rgba(230, 222, 245, .7) 52%, rgba(255, 255, 255, .9) 100%),
    conic-gradient(from 210deg at 50% 50%, #ffd8cf, #fff3c9, #c9f4ee, #e6dcff, #ffd8cf);
  box-shadow: 0 10px 30px -14px rgba(36, 21, 50, .45), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(36, 21, 50, .12), 0 0 0 1px rgba(36, 21, 50, .08);
}
.btn--mirror::before {
  content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .95) 45%, rgba(255, 255, 255, 0) 46%, transparent 60%, rgba(255, 255, 255, .6) 64%, transparent 66%);
  background-size: 300% 100%; background-position: 140% 0;
  animation: mirror 5.5s ease-in-out infinite;
}
@keyframes mirror { 0%, 55% { background-position: 140% 0; } 100% { background-position: -40% 0; } }
.btn--mirror:hover { box-shadow: 0 18px 40px -14px rgba(155, 123, 255, .6), inset 0 1px 0 #fff, 0 0 0 1px rgba(155, 123, 255, .3); }

/* vidro */
.btn--glass {
  color: var(--ink); background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 8px 26px -14px rgba(36, 21, 50, .4), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
}
.btn--glass:hover { background: rgba(255, 255, 255, .8); }

/* escuro / aqua / contorno */
.btn--ink { color: #fff; background: linear-gradient(135deg, #3a2552, #241532); box-shadow: 0 14px 34px -14px rgba(36, 21, 50, .8), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn--ink .i { --icon-accent: var(--sun); }
.btn--aqua { color: #fff; background: linear-gradient(120deg, #2ec4b6, #21a99c 50%, #6fa8ff); background-size: 160% 100%; box-shadow: 0 16px 36px -14px rgba(46, 196, 182, .8), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--aqua:hover { background-position: 100% 0; }
.btn--line { color: var(--ink); border: 1.6px solid var(--line-2); background: rgba(255, 255, 255, .4); }
.btn--line:hover { border-color: var(--coral); color: var(--coral-d); }
.btn--sm { --bh: 44px; padding: 0 18px; font-size: 14px; }
.btn--lg { --bh: 62px; padding: 0 32px; font-size: 16.5px; }
.btn--block { width: 100%; }
.tone-plum .btn--line { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* links com sublinhado animado */
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--coral-d); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 2px; }
.link .i { width: 18px; height: 18px; }

/* ==========================================================================
   Vidro
   ========================================================================== */
.glass {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .5));
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(36, 21, 50, .04);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
}
/* borda em degradê */
.glass--edge::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 111, 97, .55), rgba(255, 193, 69, .35) 35%, rgba(255, 255, 255, 0) 55%, rgba(46, 196, 182, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass--dark {
  background: linear-gradient(150deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .14);
}
/* holofote que segue o mouse */
.spot { --mx: 50%; --my: 50%; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 193, 69, .22), rgba(255, 111, 97, .08) 35%, transparent 60%);
}
.spot:hover::after { opacity: 1; }
.tone-plum .spot::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 193, 69, .18), transparent 60%); }

/* chip */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  background: rgba(255, 255, 255, .75); border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.chip .i { width: 17px; height: 17px; color: var(--coral); --icon-accent: var(--aqua); }

/* ==========================================================================
   Abertura, progresso, cursor
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 193, 69, .35), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(46, 196, 182, .28), transparent 50%),
    var(--paper);
  transition: opacity .7s var(--ease), visibility .7s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__in { display: grid; justify-items: center; gap: 18px; }
.intro__mark { width: 112px; height: 112px; color: var(--ink); }
.intro__mark .ring { stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw 1.1s var(--ease) forwards; }
.intro__mark .fig { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s .35s var(--ease) forwards; }
.intro__mark .head { transform-origin: 42.5px 40px; transform: scale(0); animation: pop .5s .9s var(--ease-spring) forwards; }
.intro__word { font: 600 30px/1 var(--f-hand); color: var(--coral); opacity: 0; animation: fadeUp .6s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.no-js .intro, html.intro-off .intro { display: none; }

.progress { position: fixed; left: 0; top: 0; z-index: 120; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--grad-joy); }

.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 1; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 193, 69, .22), rgba(255, 111, 97, .1) 40%, transparent 68%);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); transition: opacity .4s; mix-blend-mode: multiply;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 12px 0; transition: padding .4s var(--ease); }
.hdr__bar {
  display: flex; align-items: center; gap: 18px; height: 60px; padding: 0 10px 0 16px; border-radius: 99px;
  background: rgba(255, 250, 243, .55); border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 10px 30px -18px rgba(36, 21, 50, .35);
  transition: background .4s, box-shadow .4s;
}
.hdr.is-scrolled { padding: 8px 0; }
.hdr.is-scrolled .hdr__bar { background: rgba(255, 250, 243, .85); box-shadow: 0 14px 40px -18px rgba(36, 21, 50, .45); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 42px; height: 42px; color: var(--ink); transition: transform .8s var(--ease-spring); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__txt b { display: block; font: 800 18.5px/1 var(--f-display); color: var(--ink); letter-spacing: -.02em; }
.brand__txt small { display: block; margin-top: 4px; font: 700 9.5px/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--coral-d); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; padding: 10px 12px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .3s, background .3s;
}
.nav a:hover, .nav a.is-active { color: var(--ink); background: rgba(255, 255, 255, .75); }
.nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--coral); }
.hdr__cta { flex: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; background: var(--ink); color: #fff; margin-left: auto; }
.burger .i { width: 22px; height: 22px; }

.drawer {
  position: fixed; inset: 0; z-index: 140; display: flex; flex-direction: column; padding: 18px var(--gut) 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 193, 69, .45), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(46, 196, 182, .35), transparent 45%),
    var(--paper);
  transform: translateY(-102%); transition: transform .6s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__close { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.drawer nav { display: grid; gap: 2px; margin: 26px 0 auto; overflow-y: auto; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; font: 700 clamp(1.3rem, 6vw, 1.7rem)/1.1 var(--f-display); color: var(--ink); border-bottom: 1px dashed var(--line-2); }
.drawer nav a .i { width: 22px; height: 22px; color: var(--coral); }
.drawer .btn { margin-top: 20px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; padding: calc(var(--header-h) + clamp(36px, 6vw, 70px)) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(ellipse 55% 50% at 85% 25%, rgba(255, 193, 69, .38), transparent 70%),
    radial-gradient(ellipse 45% 45% at 8% 85%, rgba(46, 196, 182, .22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 0%, rgba(255, 159, 191, .3), transparent 70%),
    linear-gradient(180deg, #fff7ee 0%, var(--paper) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(28px, 5vw, 70px); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.h-hero { font-size: clamp(2.5rem, 6.4vw, 5.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.h-hero .line { display: block; overflow: hidden; padding-bottom: .06em; }
.h-hero .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.h-hero .line:nth-child(2) > span { animation-delay: .1s; }
.h-hero .line:nth-child(3) > span { animation-delay: .2s; }
html.has-intro .h-hero .line > span { animation-delay: 1.15s; }
html.has-intro .h-hero .line:nth-child(2) > span { animation-delay: 1.25s; }
html.has-intro .h-hero .line:nth-child(3) > span { animation-delay: 1.35s; }
@keyframes lineUp { to { transform: none; } }
.h-hero .scribble { position: relative; display: inline-block; }
.h-hero .scribble svg { position: absolute; left: -4%; right: -4%; bottom: -.12em; width: 108%; height: .32em; overflow: visible; }
.h-hero .scribble path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s 1.9s var(--ease) forwards; }
.hero__sub { font-size: clamp(1.05rem, 1.4vw, 1.24rem); color: var(--ink-2); max-width: 560px; margin: 24px 0 32px; }
.hero__sub strong { color: var(--ink); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14.5px; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .i { width: 18px; height: 18px; color: var(--coral); --icon-accent: var(--aqua); }

.hero__art { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 520 / 620; }
.hero__breath { position: absolute; left: 50%; top: 46%; width: 112%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; }
.hero__breath i {
  position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 111, 97, .35);
  animation: breath 8s ease-in-out infinite;
}
.hero__breath i:nth-child(2) { inset: 7%; border-color: rgba(255, 193, 69, .5); animation-delay: -.6s; }
.hero__breath i:nth-child(3) { inset: 14%; border-color: rgba(46, 196, 182, .4); animation-delay: -1.2s; border-style: dashed; }
@keyframes breath { 0%, 100% { transform: scale(.9); opacity: .5; } 50% { transform: scale(1.04); opacity: 1; } }
.hero__arch {
  position: absolute; inset: 0 8% 4% 8%; border-radius: 999px 999px 42px 42px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, .7), 0 0 0 9.5px rgba(255, 111, 97, .25);
  background: var(--paper-3);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.hero__art:hover .hero__arch img { transform: scale(1.1); }
.hero__arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(36, 21, 50, .45)); }
.hero__cap {
  position: absolute; left: 50%; bottom: 7%; translate: -50% 0; z-index: 3; width: max-content; max-width: 86%;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 99px;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
}
.hero__cap b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-warm); color: #fff; }
.hero__cap b .i { width: 18px; height: 18px; --icon-accent: #fff; }
.hero__float { position: absolute; z-index: 4; padding: 14px 16px; border-radius: 22px; display: flex; align-items: center; gap: 12px; }
.hero__float .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.hero__float .ico .i { width: 24px; height: 24px; }
.hero__float strong { display: block; font: 800 1.15rem/1.05 var(--f-display); color: var(--ink); }
.hero__float small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.hero__float--a { left: -6%; top: 14%; }
.hero__float--a .ico { background: rgba(46, 196, 182, .15); color: var(--aqua-d); --icon-accent: var(--coral); }
.hero__float--b { right: -6%; top: 44%; }
.hero__float--b .ico { background: rgba(255, 111, 97, .14); color: var(--coral-d); --icon-accent: var(--sun); }
.hero__medal { position: absolute; z-index: 4; left: -2%; bottom: 14%; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lg); }
.hero__medal img { width: 100%; height: 100%; object-fit: cover; }
.seal { position: absolute; z-index: 4; right: 0; top: -2%; width: 132px; height: 132px; }
.seal svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { font: 700 10.4px var(--f-body); letter-spacing: .24em; text-transform: uppercase; fill: var(--ink); }
.seal__c { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-items: center; background: var(--grad-warm); color: #fff; box-shadow: var(--shadow-coral); }
.seal__c svg { width: 64%; height: 64%; animation: none; color: #fff; --icon-accent: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 3; display: grid; justify-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 24px; height: 38px; border-radius: 99px; border: 1.8px solid var(--line-2); position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--coral); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* figura desenhada no hero */
.hero__figure { position: absolute; z-index: 0; left: -40px; bottom: 6%; width: 320px; color: var(--coral); opacity: .16; }
.hero__figure path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 3s .4s var(--ease) forwards; }

/* ==========================================================================
   Revelar ao rolar
   ========================================================================== */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv--l { transform: translateX(-40px); }
.rv--r { transform: translateX(40px); }
.rv--z { transform: scale(.92); }
.rv.is-in { opacity: 1; transform: none; }
html.no-js .rv { opacity: 1; transform: none; }

/* ==========================================================================
   Responsivo do cabeçalho e hero
   ========================================================================== */
@media (max-width: 1180px) {
  .nav a { padding: 10px 9px; font-size: 14px; }
}
@media (max-width: 1080px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: grid; }
}
@media (max-width: 920px) {
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__badges, .btn-row--hero, .hero__meta { justify-content: center; }
  .hero__sub { margin-inline: auto; }
  .hero__art { width: min(100%, 440px); margin-top: 10px; }
  .hero__scroll { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .hdr { padding: 8px 0; }
  .hdr__bar { height: 56px; padding: 0 6px 0 12px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__txt b { font-size: 16.5px; }
  .brand__txt small { font-size: 8.5px; letter-spacing: .2em; }
  .burger { width: 44px; height: 44px; }
  .hero__float { padding: 10px 12px; gap: 9px; border-radius: 18px; }
  .hero__float .ico { width: 36px; height: 36px; border-radius: 11px; }
  .hero__float strong { font-size: 1rem; }
  .hero__float small { font-size: 11px; }
  .hero__float--a { left: -2%; top: 8%; }
  .hero__float--b { right: -2%; top: 50%; }
  .hero__medal { width: 84px; height: 84px; left: 0; bottom: 10%; border-width: 4px; }
  .seal { width: 100px; height: 100px; right: -2%; }
  .seal text { font-size: 10px; }
  .btn-row--hero .btn { width: 100%; }
  .btn { padding: 0 20px; }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .rv { opacity: 1; transform: none; }
  .intro { display: none; }
  .h-hero .line > span { transform: none; }
  .cursor-glow { display: none; }
}
