/* ==========================================================================
   Leonardo Klayn — portfólio
   Papel creme + tinta + tangerina. Fraunces (títulos) + Manrope (texto).
   ========================================================================== */

:root {
  --paper: #f5f0e8;
  --paper-2: #ece4d6;
  --card: #fffdf9;
  --ink: #16130f;
  --ink-2: #3f3a33;
  --muted: #70675b;          /* era #847b6e (3,7:1 no creme); agora 4,9:1 */
  --line: rgba(22, 19, 15, .11);
  --accent: #ff5b2e;         /* laranja vivo: enfeites, bolinhas, bordas, fundo escuro */
  --accent-2: #ff8a3d;
  --red: #ff3e3e;
  /* contraste (WCAG AA): letra laranja em fundo claro e letra branca em fundo laranja usam tons mais escuros */
  --accent-titulo: #e8481b;  /* títulos grandes (24px+): 3,4:1 no creme (mínimo 3:1) */
  --accent-forte: #cc4212;   /* fundo de botão/selo com letra branca: 4,8:1 */
  --accent-texto: #b03c0b;   /* letra pequena laranja em fundo claro: 5,3:1 no creme */

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-lg: 0 40px 80px -30px rgba(40, 25, 10, .35), 0 12px 30px -12px rgba(40, 25, 10, .18);
  --shadow-md: 0 18px 40px -18px rgba(40, 25, 10, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grão de papel bem sutil */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- tipografia comum ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-texto);
}
.process .eyebrow { color: var(--accent); }
.eyebrow--light { color: var(--accent-2); }
h2 {
  font-family: var(--serif); font-variation-settings: "SOFT" 60, "opsz" 120;
  font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.025em; font-weight: 450;
}
h2 em, h1 em { font-style: italic; font-weight: 380; color: var(--accent-titulo); font-variation-settings: "SOFT" 100, "opsz" 144; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section__head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); display: grid; gap: 22px; }
.section__lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 640px; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 700 15px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease), color .25s;
  will-change: transform;
}
.btn:hover { box-shadow: 0 14px 30px -12px rgba(22, 19, 15, .45); }
.btn:active { transform: scale(.97); }
.btn--lg { padding: 19px 30px; font-size: 16px; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--accent { --bg: var(--accent-forte); }
.btn--accent:hover { --bg: var(--accent-texto); box-shadow: 0 16px 34px -12px rgba(255, 91, 46, .65); }
.btn--ink { --bg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--light { --bg: rgba(255, 255, 255, .08); --fg: #fff; border-color: rgba(255, 255, 255, .22); }
.btn--light:hover { --bg: rgba(255, 255, 255, .16); }
.arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font: italic 600 16px/1 var(--serif); letter-spacing: -.04em;
  transition: transform .5s var(--ease), background .3s;
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); background: var(--accent); }
.logo__name { font: 600 19px/1 var(--serif); letter-spacing: -.02em; font-variation-settings: "SOFT" 50; }
.logo__name i { color: var(--accent); font-style: normal; }
.logo__text { display: grid; gap: 3px; }
.logo__text small { font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: padding .35s var(--ease); }
.nav::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: rgba(245, 240, 232, .78); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled { padding: 10px 0; }
.nav.is-scrolled::before { opacity: 1; }
.nav__inner { position: relative; display: flex; align-items: center; gap: 24px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .25s, color .25s; }
.nav__links a:hover { background: rgba(22, 19, 15, .06); color: var(--ink); }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__drawer { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(130px, 15vw, 180px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -260px; top: -240px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 138, 61, .35), rgba(255, 91, 46, .12) 45%, transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 28px; }
.hero__title {
  font-family: var(--serif); font-weight: 420; font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: clamp(46px, 6.6vw, 94px); line-height: .98; letter-spacing: -.035em;
}
.hero__lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 36px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero__proof li { display: flex; align-items: center; gap: 12px; }
.hero__proof strong { font: 500 46px/1 var(--serif); letter-spacing: -.04em; color: var(--ink); min-width: .7em; }
.hero__proof span { font-size: 13px; line-height: 1.35; color: var(--muted); font-weight: 600; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22b35e; box-shadow: 0 0 0 0 rgba(34, 179, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 179, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 179, 94, 0); } }

/* palco dos aparelhos */
.hero__stage { position: relative; height: 560px; perspective: 1400px; }
.tilt { transition: transform .9s var(--ease); will-change: transform; }

/* ---------- APARELHOS (genéricos) ---------- */
.device { position: absolute; }
.laptop { width: 500px; left: -10px; top: 90px; filter: drop-shadow(0 40px 50px rgba(40, 25, 10, .28)); }
.laptop__screen {
  background: #1b1916; border-radius: 18px 18px 6px 6px; padding: 12px;
  aspect-ratio: 16 / 10.2; box-shadow: inset 0 0 0 1.5px #3a3630;
}
.laptop__base {
  height: 16px; margin: 0 -7%; border-radius: 3px 3px 18px 18px;
  background: linear-gradient(#d9d3c9, #b9b2a6); position: relative;
}
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #a69f93; }

.phone {
  width: 220px; right: -30px; top: 0; border-radius: 40px; padding: 10px;
  background: #1b1916; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3a3630;
}
.phone__notch { position: absolute; top: 18px; left: 50%; width: 76px; height: 22px; transform: translateX(-50%); background: #1b1916; border-radius: 20px; z-index: 2; }
.phone__screen { border-radius: 31px; overflow: hidden; aspect-ratio: 9 / 19; background: #fff; position: relative; }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px 11px 11px; border-radius: 999px; background: var(--card);
  font: 700 13px/1 var(--sans); box-shadow: var(--shadow-md); white-space: nowrap; border: 1px solid var(--line);
}
.chip__ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: 14px; }
.chip--a { left: -10px; top: 18px; }
.chip--b { left: 150px; bottom: 40px; }
.chip--c { right: -50px; bottom: 96px; }

/* ---------- mini site de escola (laptop do hero) ---------- */
.browser { height: 100%; border-radius: 8px; overflow: hidden; background: #fffaf0; display: flex; flex-direction: column; }
.browser__bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #efe8da; font-size: 9px; color: #8a8276; }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d6cebf; }
.browser__bar i:nth-child(1) { background: #ff6b5b; } .browser__bar i:nth-child(2) { background: #ffc140; } .browser__bar i:nth-child(3) { background: #3ccd6a; }
.browser__bar span { margin-left: 10px; background: #fffaf0; padding: 3px 12px; border-radius: 6px; flex: 1; max-width: 200px; }
.mini-school { flex: 1; padding: 12px 18px; display: flex; flex-direction: column; gap: 10px; font-family: var(--sans); }
.ms__nav { display: flex; align-items: center; gap: 12px; font-size: 9px; color: #6d655a; font-weight: 600; }
.ms__nav b { font: 600 13px/1 var(--serif); color: #2b4a2e; margin-right: auto; }
.ms__nav em { font-style: normal; background: #ff7a59; color: #fff; padding: 5px 9px; border-radius: 99px; }
.ms__hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 8px; }
.ms__kicker { font-size: 8px; font-weight: 700; color: #ff7a59; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.ms__hero h4 { font: 500 25px/1.02 var(--serif); color: #23331f; letter-spacing: -.02em; font-variation-settings: "SOFT" 100; }
.ms__hero h4 u { text-decoration: none; background: linear-gradient(transparent 62%, #ffd45c 62%); font-style: italic; }
.ms__btn { display: inline-block; margin-top: 10px; font-size: 9px; font-weight: 700; padding: 6px 11px; border-radius: 99px; background: #2b4a2e; color: #fff; }
.ms__art { position: relative; height: 140px; }
.blob { position: absolute; border-radius: 46% 54% 60% 40% / 50% 45% 55% 50%; }
.b1 { width: 110px; height: 100px; background: #9fd88b; right: 10px; bottom: 0; }
.b2 { width: 70px; height: 70px; background: #ff9f80; left: 6px; bottom: 16px; border-radius: 50%; }
.b3 { width: 46px; height: 46px; background: #8fa4ff; right: 0; top: 4px; border-radius: 40% 60% 50% 50%; }
.sun { position: absolute; width: 74px; left: 46px; top: 0; fill: #ffcc3d; stroke: #ffcc3d; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ms__cards { display: flex; gap: 6px; }
.ms__cards span { flex: 1; text-align: center; font-size: 9px; font-weight: 700; padding: 8px 0; border-radius: 10px; background: #fff; box-shadow: 0 3px 8px -4px rgba(0,0,0,.15); color: #4a443b; }

/* ---------- cardápio no celular ---------- */
.menu-phone { padding: 46px 14px 14px; display: flex; flex-direction: column; gap: 9px; background: #fff7f0; font-family: var(--sans); }
.mp__head b { display: block; font: 600 20px/1 var(--serif); letter-spacing: -.02em; }
.mp__head small { font-size: 10px; color: #22a356; font-weight: 700; }
.mp__head small::before { content: "● "; }
.mp__pills { display: flex; gap: 5px; }
.mp__pills span { font-size: 10px; font-weight: 700; padding: 6px 10px; border-radius: 99px; background: #fff; color: #6a6258; border: 1px solid #f0e4d8; }
.mp__pills .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mp__item { display: flex; align-items: center; gap: 9px; background: #fff; padding: 8px; border-radius: 14px; box-shadow: 0 4px 12px -8px rgba(0,0,0,.2); }
.mp__item i { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.mp__item .t1 { background: radial-gradient(circle at 35% 35%, #ffd89b, #e9a24f); }
.mp__item .t2 { background: radial-gradient(circle at 35% 35%, #ffc49b, #d9733f); }
.mp__item .t3 { background: radial-gradient(circle at 35% 35%, #7d5b4a, #3e2a20); }
.mp__item .t4 { background: radial-gradient(circle at 35% 35%, #ffe68a, #ffae2e); }
.mp__item div { flex: 1; min-width: 0; }
.mp__item b { display: block; font-size: 11.5px; line-height: 1.2; }
.mp__item small { font-size: 9.5px; color: #93897c; }
.mp__item em { font-style: normal; font-weight: 800; font-size: 12px; }
.mp__item em::before { content: "R$ "; font-size: 8.5px; color: #93897c; font-weight: 700; }
.mp__cta { margin-top: auto; text-align: center; padding: 11px; border-radius: 14px; background: #22b35e; color: #fff; font-weight: 800; font-size: 11.5px; }
.menu-phone--green { background: #f3f7ee; }
.menu-phone--green .mp__pills .on { background: #2f6b3a; border-color: #2f6b3a; }

/* ---------- MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ink); color: var(--paper); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font: italic 400 clamp(22px, 2.6vw, 34px)/1 var(--serif); letter-spacing: -.01em; font-variation-settings: "SOFT" 100; white-space: nowrap; }
.marquee b { color: var(--accent); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CASES ---------- */
.case {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); margin-bottom: 28px; position: relative; overflow: hidden;
}
.case--flip { grid-template-columns: 1.1fr .9fr; }
.case--flip .case__info { order: 2; }
.case--kitch { background: #1a1714; color: #f3ede4; }
.case--quali { background: #e3e9f2; }
.case__info { display: grid; gap: 20px; position: relative; z-index: 1; }
.case__tag { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, currentColor 70%, transparent); }
.case__tag span { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; color: var(--accent-texto); }
.case--kitch .case__tag span { color: var(--accent); }
.case__title { font: 450 clamp(44px, 5.5vw, 76px)/.95 var(--serif); letter-spacing: -.04em; font-variation-settings: "SOFT" 30, "opsz" 144; }
.case__title .red { color: var(--red); font-style: normal; }
.case__desc { font-size: 17px; opacity: .85; max-width: 480px; }
.case__feats { display: grid; gap: 10px; }
.case__feats li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; font-size: 15px; }
.case__feats li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; transform: translateY(3px); background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12l4 4 8-8'/></svg>") center/12px no-repeat; }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.case__meta span { font-size: 12.5px; font-weight: 700; padding: 7px 13px; border-radius: 99px; border: 1px solid currentColor; opacity: .7; }
.case__visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.case--kitch::after { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 62, 62, .32), transparent); pointer-events: none; }
.case .laptop { position: relative; left: auto; top: auto; width: 100%; max-width: 620px; transition: transform .9s var(--ease); }
.case:hover .laptop { transform: translateY(-6px) rotate(-.6deg); }

/* Kitch tela */
.kitch { height: 100%; border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 92px 1fr; background: #f7f6f4; color: #1d1b18; font-family: var(--sans); }
.k__side { background: #fff; border-right: 1px solid #ebe7e1; padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; font-size: 9.5px; font-weight: 600; color: #6b655c; }
.k__side b { font: 800 16px/1 var(--sans); color: #111; letter-spacing: -.04em; margin: 0 4px 10px; }
.k__side b i { color: var(--red); font-style: normal; }
.k__side span { padding: 6px 7px; border-radius: 6px; }
.k__side .on { background: #fff0ee; color: #d92b2b; }
.k__main { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.k__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.k__live { font-size: 9px; font-weight: 800; color: #d92b2b; background: #ffe9e6; padding: 4px 8px; border-radius: 99px; animation: blink 2.2s infinite; }
@keyframes blink { 50% { opacity: .55; } }
.k__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.k__col { background: #efece8; border-radius: 8px; padding: 7px; display: flex; flex-direction: column; gap: 6px; }
.k__col > small { font-size: 8.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8b8378; }
.k__order { background: #fff; border-radius: 7px; padding: 7px; display: grid; gap: 2px; font-size: 9px; box-shadow: 0 2px 6px -3px rgba(0,0,0,.18); position: relative; }
.k__order b { font-size: 10px; }
.k__order span { color: #6b655c; }
.k__order strong { font-size: 10px; }
.k__order em { position: absolute; right: 6px; top: 6px; font-style: normal; font-size: 7.5px; font-weight: 800; padding: 2px 5px; border-radius: 4px; color: #fff; }
.k__order .ifood { background: #ea1d2c; } .k__order .n99 { background: #ffb800; color: #3a2a00; } .k__order .bal { background: #2c2a27; }
.k__order.new { box-shadow: 0 0 0 1.5px #ff6b6b, 0 4px 10px -4px rgba(255,62,62,.5); }
.k__order.done { opacity: .6; }
.k__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.k__stats div { background: #fff; border-radius: 8px; padding: 7px 9px; border: 1px solid #ebe7e1; }
.k__stats small { display: block; font-size: 8px; color: #8b8378; font-weight: 700; }
.k__stats b { font-size: 13px; letter-spacing: -.02em; }

/* QualiControl painel */
.panel { background: #fff; border-radius: 20px; padding: 22px; width: 100%; max-width: 520px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; transition: transform .9s var(--ease); }
.case:hover .panel { transform: translateY(-6px) rotate(.6deg); }
.q__top { display: flex; justify-content: space-between; align-items: center; }
.q__top b { font: 600 18px/1 var(--serif); }
.q__top span { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: #f0f3f8; color: #4b5563; }
.q__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.q__kpis div { background: #f6f8fb; border-radius: 12px; padding: 12px; display: grid; gap: 2px; }
.q__kpis small { font-size: 11px; color: #6b7280; font-weight: 600; }
.q__kpis b { font-size: clamp(15px, 1.6vw, 20px); letter-spacing: -.02em; }
.q__kpis em { font-style: normal; font-size: 11px; font-weight: 800; color: #6b7280; }
.q__kpis em.up { color: #16a34a; }
.q__chart { height: 110px; display: flex; align-items: flex-end; gap: 8px; padding: 0 4px; border-bottom: 1px solid #e5e7eb; }
.q__chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: #c9d6ee; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.q__chart span.hi { background: #3b6fd8; }
.is-in .q__chart span { transform: scaleY(1); }
.q__chart span:nth-child(2) { transition-delay: .05s } .q__chart span:nth-child(3) { transition-delay: .1s } .q__chart span:nth-child(4) { transition-delay: .15s } .q__chart span:nth-child(5) { transition-delay: .2s } .q__chart span:nth-child(6) { transition-delay: .25s } .q__chart span:nth-child(7) { transition-delay: .3s } .q__chart span:nth-child(8) { transition-delay: .35s }
.q__rows { display: grid; gap: 8px; }
.q__rows div { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.q__rows i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.q__rows span { flex: 1; color: #374151; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q__rows b { font-size: 13px; }

/* Duo de cards menores */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card-case { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.card-case--menu { background: #dfe9d4; }
.card-case--apps { background: #f3dcc8; }
.card-case__visual { height: 400px; position: relative; display: grid; place-items: center; overflow: hidden; }
.card-case__info { padding: 0 clamp(26px, 3.4vw, 44px) clamp(28px, 3.4vw, 44px); display: grid; gap: 14px; }
.card-case h3 { font: 450 clamp(26px, 2.6vw, 34px)/1.08 var(--serif); letter-spacing: -.025em; font-variation-settings: "SOFT" 60; }
.card-case p { color: var(--ink-2); }
.phone--sm { position: relative; right: auto; top: 50px; width: 220px; transition: transform .9s var(--ease); }
.card-case:hover .phone--sm { transform: translateY(-14px) rotate(-2deg); }

.apps-stack { padding: 30px; }
.app-tile { position: absolute; width: 210px; background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow-md); display: grid; gap: 6px; transition: transform .9s var(--ease); }
.app-tile small { font-size: 11px; color: var(--muted); font-weight: 700; }
.app-tile b { font: 600 24px/1 var(--serif); letter-spacing: -.03em; }
.app-tile em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--accent-texto); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.a1 { left: 6%; top: 36px; transform: rotate(-6deg); }
.a2 { right: 6%; top: 60px; transform: rotate(5deg); }
.a3 { left: 50%; top: 200px; transform: translateX(-50%) rotate(-1deg); z-index: 1; }
.card-case:hover .a1 { transform: rotate(-9deg) translate(-8px, -6px); }
.card-case:hover .a2 { transform: rotate(8deg) translate(8px, -6px); }
.card-case:hover .a3 { transform: translateX(-50%) rotate(0) translateY(-8px); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 38px; }
.spark span { flex: 1; height: var(--h); background: #ffd3c2; border-radius: 3px; }
.spark span:last-child, .spark span:nth-child(6) { background: var(--accent); }
.gauge { height: 10px; border-radius: 99px; background: #eee6da; overflow: hidden; margin: 6px 0; }
.gauge span { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, #22b35e, #9bd34a); }
.a3 ul { display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; }
.a3 li { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.a3 li::before { content: ""; width: 14px; height: 14px; border-radius: 5px; border: 2px solid #d9cfc1; flex: none; }
.a3 li.ok { color: var(--ink); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.a3 li.ok::before { background: #22b35e url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12l4 4 8-8'/></svg>") center/10px no-repeat; border-color: #22b35e; }

/* ---------- ESCOLAS ---------- */
.school { background: #fff6dc; overflow: hidden; }
.school__deco span { position: absolute; border-radius: 50%; pointer-events: none; }
.school__deco .s1 { width: 420px; height: 420px; background: #ffe08a; left: -160px; top: -120px; opacity: .6; }
.school__deco .s2 { width: 260px; height: 260px; background: #c7ecb8; right: 6%; bottom: -90px; opacity: .8; }
.school__deco .s3 { width: 120px; height: 120px; background: #ffc2d4; right: 40%; top: 60px; opacity: .7; }
.school__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.school__copy { display: grid; gap: 24px; justify-items: start; }
.school__list { display: grid; gap: 18px; margin: 8px 0 10px; }
.school__list li { display: flex; gap: 16px; align-items: flex-start; }
.school__list li > span { width: 48px; height: 48px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 22px; background: #fff; box-shadow: 0 8px 18px -10px rgba(120, 80, 0, .35); }
.school__list b { display: block; font-size: 17px; }
.school__list small { font-size: 15px; color: var(--ink-2); }
.school__visual { position: relative; height: 640px; }
.phone--school { position: absolute; left: 50%; top: 10px; width: 290px; right: auto; transform: translateX(-50%) rotate(3deg); transition: transform 1s var(--ease); }
.school__visual:hover .phone--school { transform: translateX(-50%) rotate(0) translateY(-8px); }
.kid { background: #fffaf0; padding: 48px 14px 14px; display: flex; flex-direction: column; gap: 12px; font-family: var(--sans); }
.kid__top { display: flex; justify-content: space-between; align-items: center; }
.kid__top b { font: 600 19px/1 var(--serif); color: #2b4a2e; font-variation-settings: "SOFT" 100; }
.kid__hero { background: #e9f6ff; border-radius: 20px; overflow: hidden; padding-bottom: 14px; text-align: center; }
.kid__ill { width: 100%; }
.kid__hero h5 { font: 600 18px/1.1 var(--serif); color: #23331f; margin: 8px 12px; }
.kid__btn { display: inline-block; font-size: 11px; font-weight: 800; padding: 9px 16px; border-radius: 99px; background: #ff7a59; color: #fff; }
.kid__week { background: #fff; border-radius: 16px; padding: 12px; display: grid; gap: 8px; box-shadow: 0 6px 14px -10px rgba(0,0,0,.25); }
.kid__week small { font-size: 10px; font-weight: 800; color: #9a8f80; text-transform: uppercase; letter-spacing: .08em; }
.kid__week div { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 600; }
.kid__week b { font-size: 9.5px; padding: 5px 7px; border-radius: 8px; background: #ffefc2; color: #8a6200; }
.kid__gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.kid__gal i { aspect-ratio: 1; border-radius: 12px; }
.g1 { background: linear-gradient(135deg, #ffb199, #ff7a59); } .g2 { background: linear-gradient(135deg, #b4e6a5, #5fbf6b); } .g3 { background: linear-gradient(135deg, #b7c4ff, #7c8cff); } .g4 { background: linear-gradient(135deg, #ffe58f, #ffc23d); }
.sticker { position: absolute; font: 700 13px/1 var(--sans); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-md); }
.st1 { left: 0; top: 70px; background: var(--ink); color: #fff; transform: rotate(-7deg); }
.st2 { right: 0; bottom: 120px; background: #fff; color: #e2457a; transform: rotate(6deg); font-family: var(--serif); font-style: italic; font-size: 16px; }

/* ---------- SERVIÇOS ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 16px; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service__num { font: italic 400 15px/1 var(--serif); color: var(--accent-texto); }
.service h3 { font: 500 30px/1.05 var(--serif); letter-spacing: -.025em; }
.service p { color: var(--ink-2); font-size: 16px; }
.service ul { display: grid; gap: 9px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.service li { font-size: 14.5px; font-weight: 600; display: flex; gap: 10px; }
.service li::before { content: "→"; color: var(--accent); }
.service--hl { background: var(--accent-forte); color: #fff; border-color: transparent; }
.service--hl .service__num, .service--hl li::before { color: #fff; }
.service--hl p { color: #fff; }
.service--hl ul { border-color: rgba(255,255,255,.3); }
.extras { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.extras div { background: var(--paper); padding: 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.extras span { grid-row: span 2; font-size: 24px; }
.extras b { font-size: 15px; }
.extras small { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- PROCESSO ---------- */
.process { background: var(--ink); color: var(--paper); }
.process h2 em { color: var(--accent-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; display: grid; gap: 12px; align-content: start; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--accent); transition: width 1.2s var(--ease) .2s; }
.step.is-in::before { width: 100%; }
.step__n { font: italic 300 64px/1 var(--serif); color: var(--accent-2); letter-spacing: -.04em; }
.step h3 { font: 500 26px/1.1 var(--serif); }
.step p { color: rgba(245,240,232,.72); font-size: 15.5px; }

/* ---------- POR QUE ---------- */
.why { padding-bottom: 40px; }
.why__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.why__items { display: grid; gap: 34px; }
.why__items div { padding-bottom: 30px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.why__items b { font: 500 26px/1.15 var(--serif); letter-spacing: -.02em; }
.why__items p { color: var(--ink-2); }

/* ---------- CONTATO ---------- */
.contact__card {
  position: relative; overflow: hidden; border-radius: 36px; background: var(--ink); color: #fff;
  padding: clamp(48px, 8vw, 110px) clamp(28px, 6vw, 90px); display: grid; gap: 26px; justify-items: start;
}
.contact__glow { position: absolute; width: 800px; height: 800px; right: -250px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 91, 46, .55), rgba(255, 138, 61, .15) 50%, transparent 72%); animation: float 12s ease-in-out infinite; pointer-events: none; }
@keyframes float { 50% { transform: translate(-60px, 50px) scale(1.08); } }
.contact__card h2 { position: relative; max-width: 900px; font-size: clamp(38px, 6vw, 84px); }
.contact__card h2 em { color: var(--accent-2); }
.contact__lead { position: relative; color: rgba(255,255,255,.75); font-size: 19px; max-width: 560px; }
.contact__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.contact__where { position: relative; font-size: 14px; color: rgba(255,255,255,.5); font-weight: 600; }

/* ---------- FOOTER ---------- */
.footer { padding: 40px 0 50px; color: var(--muted); font-size: 14px; font-weight: 600; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .logo__name { color: var(--ink); }
.footer a:hover { color: var(--accent-texto); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s } .hero .reveal:nth-child(3) { transition-delay: .16s } .hero .reveal:nth-child(4) { transition-delay: .24s } .hero .reveal:nth-child(5) { transition-delay: .32s }
.hero__stage .device, .hero__stage .chip { animation: rise 1.4s var(--ease) both; }
.hero__stage .phone { animation-delay: .25s; } .chip--a { animation-delay: .5s !important; } .chip--b { animation-delay: .65s !important; } .chip--c { animation-delay: .8s !important; }
@keyframes rise { from { opacity: 0; translate: 0 50px; } to { opacity: 1; translate: 0 0; } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { height: 520px; max-width: 640px; width: 100%; margin: 0 auto; }
  .case, .case--flip { grid-template-columns: 1fr; }
  .case--flip .case__info { order: 0; }
  .school__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__drawer {
    display: grid; gap: 4px; position: absolute; left: 16px; right: 16px; top: calc(100% + 6px);
    background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 12px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); pointer-events: none;
    /* fechado = fora do Tab; o "hidden" só entra depois que a animação de fechar termina */
    transition: opacity .3s, transform .4s var(--ease), visibility 0s linear .4s;
  }
  .nav__drawer a:not(.btn) { padding: 14px 16px; border-radius: 12px; font-weight: 700; font-size: 17px; }
  .nav__drawer a:not(.btn):active { background: var(--paper); }
  .nav__drawer .btn { margin-top: 6px; padding: 16px; }
  .nav.is-open .nav__drawer { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .3s, transform .4s var(--ease), visibility 0s; }
  .duo, .services { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 112px; }
  .hero__title { font-size: clamp(40px, 11.5vw, 54px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proof { gap: 16px 22px; }
  .hero__proof strong { font-size: 36px; }
  /* aparelhos encolhem juntos: a composição é desenhada em 600px e escalada */
  .hero__stage { height: 380px; }
  .hero__stage > * { scale: .62; transform-origin: top left; }
  .laptop { left: -12px; top: 70px; }
  .phone { right: auto; left: calc(62vw - 4px); top: 10px; transform-origin: top left; }
  .chip--a { left: 0; top: 0; }
  .chip--b { left: 34%; bottom: auto; top: 470px; }
  .chip--c { display: none; }
  .case { padding: 26px 20px 30px; border-radius: 22px; }
  .case__visual { min-height: 0; }
  .laptop--wide .laptop__screen { padding: 7px; border-radius: 12px 12px 4px 4px; }
  .kitch { grid-template-columns: 1fr; }
  .k__side { display: none; }
  .k__cols { grid-template-columns: 1fr 1fr; }
  .k__col:last-child { display: none; }
  .panel { padding: 16px; }
  .q__kpis { grid-template-columns: 1fr 1fr; }
  .q__kpis div:last-child { display: none; }
  .card-case__visual { height: 340px; }
  .app-tile { width: 180px; padding: 13px; }
  .a1 { left: 4%; } .a2 { right: 4%; } .a3 { top: 176px; }
  .school__visual { height: 560px; }
  .phone--school { width: 250px; }
  .st1 { top: 30px; } .st2 { bottom: 60px; }
  .steps { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; }
  .contact__card { border-radius: 26px; }
  .contact__actions .btn { flex: 1 1 100%; white-space: normal; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Nov/2026 — trabalhos reais (prints), "saindo do forno" e "quem faz"
   ========================================================================== */
.shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.browser > .shot { flex: 1; min-height: 0; height: auto; }
.phone__screen > .shot { position: absolute; inset: 0; }

.case--qm { background: #121110; color: #f3ede4; }
.case--qm::after { content: ""; position: absolute; width: 600px; height: 600px; left: -220px; bottom: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 134, 52, .3), transparent); pointer-events: none; }
.case--qm .case__feats li::before { background-color: #f58634; }
.case--qm .case__tag span { color: #f58634; }
.case--bm { background: #fff1c7; }
.case__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--accent-texto); justify-self: start; }
.case--qm .case__link { color: #f58634; }
.case__link:hover .arrow { transform: translateX(4px); }

.site-shot { position: relative; width: 100%; max-width: 620px; padding-bottom: 34px; }
.site-shot .laptop { position: relative; left: auto; top: auto; width: 100%; }
.phone--mini { position: absolute; top: auto; right: -14px; bottom: 0; width: 150px; border-radius: 28px; padding: 7px; transition: transform .9s var(--ease); }
.phone--mini .phone__notch { top: 12px; width: 48px; height: 14px; }
.phone--mini .phone__screen { border-radius: 22px; }
.case:hover .phone--mini { transform: translateY(-10px) rotate(2deg); }

.forno { display: flex; align-items: center; gap: 16px; padding: 22px 26px; margin: 4px 0 70px; border: 1.5px dashed rgba(22, 19, 15, .22); border-radius: var(--r-md); background: var(--card); }
.forno p { flex: 1; font-size: 16px; color: var(--ink-2); }
.forno p b { color: var(--ink); }
.forno a { font-weight: 800; color: var(--accent-texto); white-space: nowrap; }
.forno .dot-live { flex: none; background: var(--accent); animation-name: pulse-laranja; }
@keyframes pulse-laranja { 0% { box-shadow: 0 0 0 0 rgba(255, 91, 46, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 91, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 91, 46, 0); } }
.eyebrow--sub { display: flex; margin: 0 0 22px; }

.school__price { font-size: 15.5px; color: var(--ink-2); }
.school__price s { color: var(--muted); }
.school__price b { color: var(--accent-texto); font-size: 18px; }
/* depoimento de cliente (Flávia, Instituto Maria Tomásia, 11/11/2026) */
.school__depo { margin: 26px 0 0; padding: 18px 20px; background: #fff; border-radius: 16px; border-left: 5px solid var(--accent); box-shadow: 0 8px 24px rgba(22, 19, 15, .06); max-width: 560px; }
.school__depo blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.5; color: var(--ink); }
.school__depo figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.school__depo figcaption b { color: var(--ink); }
.service ul a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.quem { padding-bottom: 60px; }
.quem__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.quem__foto { margin: 0; position: relative; }
.quem__foto img { width: 100%; height: auto; border-radius: 30px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform .9s var(--ease); }
.quem__foto:hover img { transform: rotate(0) translateY(-6px); }
.quem__foto figcaption { position: absolute; left: -14px; bottom: 34px; background: var(--ink); color: #fff; font: 700 13px/1 var(--sans); padding: 12px 16px; border-radius: 14px; transform: rotate(-4deg); box-shadow: var(--shadow-md); }
.quem__texto { display: grid; gap: 22px; }
.quem__texto .why__items { gap: 22px; margin-top: 6px; }
.quem__texto .why__items div { padding-bottom: 20px; }
.quem__texto .why__items b { font-size: 22px; }
.quem__insta { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 12px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 15px; font-weight: 600; transition: border-color .25s, transform .35s var(--ease); }
.quem__insta:hover { border-color: var(--accent); transform: translateY(-2px); }
.quem__insta b { color: var(--accent-texto); }
.contact__where a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .quem__grid { grid-template-columns: 1fr; }
  .quem__foto { max-width: 380px; }
}
@media (max-width: 640px) {
  .phone--mini { width: 96px; right: -6px; padding: 5px; border-radius: 20px; }
  .phone--mini .phone__screen { border-radius: 16px; }
  .phone--mini .phone__notch { display: none; }
  .site-shot { padding-bottom: 22px; }
  .forno { flex-direction: column; align-items: flex-start; padding: 20px; margin-bottom: 50px; }
  .quem__foto { max-width: 300px; margin: 0 auto; }
  .quem__foto figcaption { left: -6px; }
  .quem__insta { font-size: 14px; }
}
