/* ==========================================================================
   Maiscom Franchising — site one page
   Orary Creative · 2026
   Cores, tipografia e cortes de 45° conforme o Manual de Marca.
   ========================================================================== */

@font-face {
  font-family: "TASA Orbiter";
  src: url("../fonts/tasa-orbiter-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --chumbo: #1A1A18;
  --verde: #003D30;
  --vivo: #00B069;
  --bege: #E2D3C5;
  --off: #F4EDE5;

  --text: var(--off);
  --muted: rgba(244, 237, 229, 0.74);
  --line: rgba(244, 237, 229, 0.16);
  --surface: rgba(244, 237, 229, 0.045);

  --sans: "TASA Orbiter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);

  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 11vw, 168px);
  --header-h: 84px;
  --cut: 28px;
}

/* ----- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--verde);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
strong { font-weight: 600; }
::selection { background: var(--vivo); color: var(--chumbo); }
:focus-visible { outline: 2px solid var(--vivo); outline-offset: 3px; }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--vivo); color: var(--chumbo); padding: 12px 18px; font-weight: 600; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }

/* ----- Tipografia ---------------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
}
.eyebrow::before {
  content: ""; width: 11px; height: 11px; flex: none; background: var(--vivo);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.eyebrow--dark { color: var(--verde); }
.eyebrow--dark::before { background: var(--verde); }

.h2 {
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.032em;
  max-width: 15ch;
  text-wrap: balance;
}
.h2--wide { max-width: 20ch; }
.h2--xl { font-size: clamp(42px, 5.6vw, 84px); }
.h2 em, .hero__title em, .statement em, .subhead em, .footer__big em, .quote__text em { color: var(--vivo); }

.lead { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.65; color: var(--muted); max-width: 54ch; }
.lead + .lead { margin-top: 18px; }
.statement { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.subhead { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 28px; }
.note { margin-top: 28px; font-size: 16px; color: var(--muted); max-width: 44ch; padding-left: 18px; border-left: 2px solid var(--vivo); }
.note strong { color: var(--off); }
mark.tbd { background: rgba(226, 211, 197, .18); color: var(--bege); padding: 0 4px; border-bottom: 1px dashed var(--bege); }

/* ----- Botões -------------------------------------------------------------- */
.btn {
  --bg: var(--vivo); --fg: var(--chumbo);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  font: 600 16px/1 var(--sans); letter-spacing: -0.005em;
  color: var(--fg); background: var(--bg); border: 0; cursor: pointer; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), translate .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--off);
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 14px; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%); }
.btn--verde { --bg: var(--verde); --fg: var(--off); }
.btn--verde:hover { color: var(--verde); }
.btn--verde::before { background: var(--vivo); }
.btn--ghost { --bg: transparent; --fg: var(--off); box-shadow: inset 0 0 0 1px rgba(244, 237, 229, .4); clip-path: none; }
.btn--ghost::before { background: var(--off); }
.btn--ghost:hover { color: var(--chumbo); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 500; text-decoration: none; color: var(--off);
  background: linear-gradient(var(--vivo), var(--vivo)) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--vivo); stroke-width: 2; }

/* ----- Intro (símbolo se monta) ------------------------------------------- */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 150; background: var(--verde);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 1.1s var(--ease-in-out);
}
.intro__symbol { width: clamp(96px, 12vw, 148px); overflow: visible; }
.intro .p { transition: transform 1.1s var(--ease), opacity .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.intro .p1 { transform: translate(-90%, 90%); opacity: 0; }
.intro .p2 { transform: translate(90%, -90%); opacity: 0; }
.intro .p3 { transform: rotate(-120deg) scale(.6); opacity: 0; transition-delay: .35s; }
.intro .p4 { transform: rotate(-120deg) scale(.6); opacity: 0; transition-delay: .35s; }
.intro.is-assembled .p { transform: none; opacity: 1; }
.intro.is-leaving { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
.intro.is-leaving .intro__symbol { transform: translateY(-40px); opacity: 0; transition: transform .8s var(--ease), opacity .5s; }
.intro.is-gone { display: none; }

/* ----- Header -------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: transform .6s var(--ease), background-color .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0, 61, 48, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { position: relative; text-decoration: none; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--vivo); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--vivo); transform-origin: left; transform: scaleX(0); }

.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--off); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; right: 20px; }
.menu-open .menu-toggle span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 23px; right: 12px; transform: rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 90; background: var(--verde);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 32px;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path .8s var(--ease-in-out);
}
.menu-mobile[hidden] { display: flex; visibility: hidden; }
.menu-open .menu-mobile { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; }
.menu-mobile nav { display: flex; flex-direction: column; }
.menu-mobile nav a {
  font-size: clamp(30px, 8vw, 44px); font-weight: 600; letter-spacing: -0.03em; text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.menu-open .menu-mobile nav a { transform: none; opacity: 1; }
.menu-open .menu-mobile nav a:nth-child(2) { transition-delay: .04s; }
.menu-open .menu-mobile nav a:nth-child(3) { transition-delay: .08s; }
.menu-open .menu-mobile nav a:nth-child(4) { transition-delay: .12s; }
.menu-open .menu-mobile nav a:nth-child(5) { transition-delay: .16s; }
.menu-open .menu-mobile nav a:nth-child(6) { transition-delay: .2s; }
.menu-open .menu-mobile nav a:nth-child(7) { transition-delay: .24s; }
.menu-mobile .btn { align-self: flex-start; }
.menu-mobile__slogan { margin-top: auto; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--muted); }

/* ----- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; z-index: 2; min-height: max(680px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) 0 0;
  overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 96px), calc(100% - 96px) 100%, 0 100%);
}
.hero__media { position: absolute; top: 0; bottom: 0; right: 0; width: 64%; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 118%; object-fit: cover; object-position: 46% 20%; filter: saturate(.85) contrast(1.04); }
.js .hero__media img { scale: 1.12; transition: scale 2.6s var(--ease); }
.is-ready .hero__media img { scale: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, #003D30 0%, #003D30 36%, rgba(0, 61, 48, .72) 46%, rgba(0, 61, 48, .18) 62%, rgba(0, 61, 48, .12) 100%),
    linear-gradient(0deg, rgba(0, 61, 48, .9) 0%, rgba(0, 61, 48, 0) 40%);
}
.hero__content { padding-bottom: clamp(36px, 5.5vh, 72px); }
.hero__title {
  font-size: clamp(44px, min(6.2vw, 10.4vh), 104px);
  line-height: .98; font-weight: 600; letter-spacing: -0.042em;
  max-width: 13ch; margin-bottom: clamp(20px, 3.2vh, 32px); text-wrap: balance;
}
.hero__lead { max-width: 52ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: rgba(244, 237, 229, .82); margin-bottom: clamp(24px, 4vh, 40px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 28px;
}
.hero__slogan { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--muted); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--muted); margin-right: 80px; min-height: 44px; }
.scroll-cue i { position: relative; width: 1px; height: 40px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--vivo); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

.js .hero-anim { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }
.is-ready .hero-anim { opacity: 1; transform: none; }

/* ----- Divisão de texto (palavra por palavra) ------------------------------ */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .14em .16em; margin: -.12em -.14em -.16em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }
.hero__title .w > span { transition-delay: calc(var(--i, 0) * 55ms + 250ms) !important; }

/* ----- Revelações ---------------------------------------------------------- */
.js [data-reveal]:not([data-reveal="img"]) { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in:not([data-reveal="img"]) { opacity: 1; transform: none; }

.media { position: relative; overflow: hidden; background: rgba(0, 0, 0, .2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--cut { clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%); }
.media--cut-lg { clip-path: polygon(0 0, calc(100% - 110px) 0, 100% 110px, 100% 100%, 0 100%); }
.js [data-reveal="img"] { clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%, 0 100%); transition: clip-path 1.5s var(--ease-in-out); }
.js [data-reveal="img"] img { scale: 1.25; transition: scale 2s var(--ease); }
.js .media--cut[data-reveal="img"].is-in { clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%); }
.js .media--cut-lg[data-reveal="img"].is-in { clip-path: polygon(0 0, calc(100% - 110px) 0, 100% 110px, 100% 100%, 0 100%); }
.js .media--band[data-reveal="img"].is-in { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%); }
.js [data-reveal="img"].is-in img { scale: 1.06; }
.media img[data-parallax] { height: 116%; margin-top: -8%; }
[data-parallax] { will-change: transform; }

/* ----- Seções -------------------------------------------------------------- */
.section { padding-block: var(--section); position: relative; }
.section--verde { background: var(--verde); }
.section--chumbo { background: var(--chumbo); }
.section--off { background: var(--off); color: var(--chumbo); --muted: #3D3D38; --line: rgba(26, 26, 24, .14); }
.section--off .h2 em { color: var(--verde); }

.split-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 112px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sticky { position: sticky; top: calc(var(--header-h) + 40px); }

/* Números + marquee */
.numbers { position: relative; z-index: 1; background: var(--chumbo); padding: clamp(72px, 9vw, 120px) 0 0; overflow: hidden; margin-top: -96px; padding-top: calc(clamp(72px, 9vw, 120px) + 96px); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stat { border-left: 1px solid var(--line); padding-left: 24px; }
.stat__value { white-space: nowrap; font-size: clamp(30px, 3.1vw, 50px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--vivo); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 15px; color: var(--muted); max-width: 22ch; line-height: 1.45; }
.marquee { margin-top: clamp(72px, 9vw, 120px); border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-size: clamp(28px, 3.4vw, 52px); font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; color: var(--off); }
.marquee span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--bege); }
.marquee i { width: 18px; height: 18px; flex: none; background: var(--vivo); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Quem somos */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 7vw, 128px); align-items: center; margin-bottom: clamp(80px, 9vw, 140px); }
.about .h2 { margin-bottom: 36px; }
.about .statement { margin-top: 40px; }
.about__media { aspect-ratio: 4 / 5; }
.nots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.not { position: relative; padding-top: 28px; }
.not::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.not::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--vivo); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.not.is-in::after { transform: scaleX(.3); }
.not__n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--vivo); display: block; margin-bottom: 18px; line-height: 1; }
.not h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.not p { color: var(--muted); font-size: 16px; }

/* Modelo */
.media--band { height: clamp(260px, 36vw, 560px); margin-bottom: clamp(56px, 7vw, 96px); }
.media--band img, .media--band img[data-parallax] { height: 124%; margin-top: -12%; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  position: relative; background: var(--chumbo); padding: clamp(32px, 3vw, 48px); min-height: 300px;
  display: flex; flex-direction: column; isolation: isolate; overflow: hidden;
  transition: color .6s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--vivo);
  clip-path: polygon(0 100%, 0 100%, 0 100%); transition: clip-path .8s var(--ease-in-out);
}
.card::after { content: ""; position: absolute; top: 0; right: 0; width: var(--cut); height: var(--cut); background: var(--line); clip-path: polygon(0 0, 100% 0, 100% 100%); transition: background .6s; }
.card__n { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--vivo); margin-bottom: 44px; transition: color .6s var(--ease); }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--muted); transition: color .6s var(--ease); }
@media (hover: hover) {
  .card:hover { color: var(--chumbo); }
  .card:hover::before { clip-path: polygon(0 100%, 0 -100%, 200% 100%); }
  .card:hover::after { background: var(--chumbo); }
  .card:hover .card__n, .card:hover p { color: var(--chumbo); }
}
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 6vw, 88px); }

/* Portfólio */
.portfolio { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 128px); align-items: start; }
.portfolio .h2 { margin-bottom: 32px; }
.products { border-top: 1px solid var(--line); counter-reset: p; }
.product {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px;
  padding: clamp(32px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line);
}
.product::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--vivo); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.product__n { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.4; color: var(--vivo); }
.product__title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 14px; }
.product h3 { font-size: clamp(32px, 3.6vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; transition: transform .7s var(--ease), color .5s; }
.product p { color: var(--muted); max-width: 52ch; }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; background: var(--vivo); color: var(--chumbo); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }
@media (hover: hover) {
  .product:hover::before { transform: scaleX(1); }
  .product:hover h3 { transform: translateX(10px); color: var(--vivo); }
}

/* Diferenciais */
#diferenciais .h2 { margin-bottom: clamp(48px, 6vw, 88px); }
.diffs { border-top: 1px solid var(--line); margin-bottom: clamp(80px, 9vw, 140px); }
.diff {
  position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px 48px;
  padding: clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.diff::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--vivo); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.diff.is-in::after { transform: scaleX(.12); }
.diff__n { font-family: var(--serif); font-style: italic; font-size: clamp(40px, 4vw, 60px); line-height: .9; color: var(--vivo); }
.diff h3 { font-size: clamp(22px, 2.1vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.diff p { color: var(--muted); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 22px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .02em; border-bottom-color: rgba(244, 237, 229, .3); }
.compare thead th.is-mc { background: var(--vivo); color: var(--chumbo); font-size: 16px; font-weight: 700; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.compare tbody th { font-weight: 600; width: 28%; }
.compare tbody td { color: var(--muted); width: 36%; }
.compare tbody td.is-mc { color: var(--off); font-weight: 600; background: rgba(0, 176, 105, .1); }
.js .compare tbody tr { opacity: 0; transform: translateX(-16px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .compare.is-in tbody tr { opacity: 1; transform: none; }
.compare.is-in tbody tr:nth-child(2) { transition-delay: .08s; }
.compare.is-in tbody tr:nth-child(3) { transition-delay: .16s; }
.compare.is-in tbody tr:nth-child(4) { transition-delay: .24s; }
.compare.is-in tbody tr:nth-child(5) { transition-delay: .32s; }

/* Perfil */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fit__col { padding: clamp(32px, 3.5vw, 56px); border: 1px solid var(--line); }
.fit__col--yes { background: var(--surface); border-color: rgba(0, 176, 105, .55); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.fit__col--no { background: var(--chumbo); }
.fit h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 28px; }
.fit li { position: relative; padding: 16px 0 16px 40px; border-top: 1px solid var(--line); color: rgba(244, 237, 229, .86); }
.fit li::before { content: ""; position: absolute; left: 0; top: 19px; width: 22px; height: 22px; background: no-repeat center / contain; }
.fit__col--yes li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B069' stroke-width='2.4'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E"); }
.fit__col--no li { color: var(--muted); }
.fit__col--no li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2D3C5' stroke-width='2.4'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.family { margin-top: 48px; font-size: 18px; color: var(--muted); max-width: 70ch; }
.family em { font-size: 24px; color: var(--off); }

/* Faixa slogan */
.quote { position: relative; min-height: clamp(460px, 70vh, 760px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.quote__media { position: absolute; inset: 0; z-index: -2; }
.quote__media img { width: 100%; height: 130%; margin-top: -15%; object-fit: cover; }
.quote::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(26, 26, 24, .85) 0%, rgba(0, 61, 48, .35) 60%, rgba(0, 61, 48, .25) 100%); }
.quote__content { padding-block: clamp(56px, 8vw, 112px); }
.quote__text { font-size: clamp(56px, 11vw, 196px); line-height: .9; font-weight: 600; letter-spacing: -0.05em; }
.quote__text em { letter-spacing: -0.02em; }

/* Como entrar */
#como-entrar .h2 { margin-bottom: clamp(56px, 6vw, 96px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin-bottom: 56px; }
.step { position: relative; padding: 32px 0 48px; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--vivo); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 180ms); }
.steps.is-in .step::after { transform: scaleX(1); }
.step__n { display: block; font-family: var(--serif); font-style: italic; font-size: 52px; line-height: 1; color: var(--vivo); margin-bottom: 20px; }
.step h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; max-width: 34ch; }
.js .step { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i) * 180ms); }
.js .steps.is-in .step { opacity: 1; transform: none; }

/* Quem lidera */
.leader { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.leader__media { position: sticky; top: calc(var(--header-h) + 32px); }
.leader .h2 { margin-bottom: 24px; }
.leader__intro { margin-bottom: 0; }
.leader__card { margin-top: clamp(40px, 4vw, 56px); padding-top: clamp(40px, 4vw, 56px); border-top: 1px solid var(--line); }
.leader__media { aspect-ratio: 4 / 5; }
.leader__name { font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 14px; }
.leader__role { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--vivo); margin-bottom: 32px; }
.leader__card > p:not(.leader__role) { color: rgba(244, 237, 229, .84); font-size: 18px; max-width: 54ch; }
.leader__card > p + p { margin-top: 18px; }
.milestones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.milestones span { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(36px, 3.4vw, 52px); line-height: 1; color: var(--vivo); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.milestones small { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }

/* Cliente final */
.client { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 128px); align-items: center; }
.client__media { aspect-ratio: 4 / 5; }
.client .h2 { color: var(--verde); margin-bottom: 28px; max-width: 18ch; }
.client .lead { margin-bottom: 40px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(48px, 7vw, 128px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: inherit; }
.qa button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; min-height: 64px; background: none; border: 0; color: var(--off); cursor: pointer; text-align: left;
  font: 600 clamp(18px, 1.5vw, 21px)/1.3 var(--sans); letter-spacing: -0.012em;
  transition: color .4s;
}
.qa button:hover { color: var(--vivo); }
.qa i { position: relative; flex: none; width: 22px; height: 22px; }
.qa i::before, .qa i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--vivo); transition: transform .6s var(--ease); }
.qa i::after { transform: rotate(90deg); }
.qa.is-open i::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a p { padding-bottom: 28px; color: var(--muted); max-width: 62ch; }

/* Candidatura */
.apply { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.apply .h2 { margin-bottom: 28px; max-width: 11ch; }
.apply .lead { margin-bottom: 20px; }
.apply__media { margin-top: 48px; aspect-ratio: 4 / 5; width: min(320px, 70%); }
.form {
  background: var(--off); color: var(--chumbo);
  padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px;
  clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: #55554F; }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--sans); color: var(--chumbo);
  background: #fff; border: 1px solid #C9B9A9; border-radius: 0;
  min-height: 54px; padding: 14px 16px; width: 100%;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003D30' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(0, 176, 105, .35); }
.field.is-invalid input, .field.is-invalid select { border-color: #B3261E; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--verde); }
.check a { color: var(--verde); font-weight: 600; }
.check.is-invalid span { color: #B3261E; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__status { font-size: 15px; font-weight: 500; }
.form__status.is-ok { color: var(--verde); }
.form__status.is-error { color: #B3261E; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }

/* Rodapé */
.footer { position: relative; background: var(--verde); padding: clamp(96px, 10vw, 152px) 0 36px; overflow: hidden; isolation: isolate; }
.footer__pattern {
  position: absolute; inset: 0; z-index: -1; opacity: .07;
  background: url("../brand/pattern.svg") repeat 0 0 / 540px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  animation: drift 90s linear infinite;
}
@keyframes drift { to { background-position: 540px -540px; } }
.footer__cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.footer__big { font-size: clamp(40px, 6vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; max-width: 14ch; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-bottom: 56px; }
.footer__brand img { width: 220px; height: auto; margin-bottom: 20px; }
.footer__slogan { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--muted); }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 32px; align-content: start; }
.footer__nav a, .footer__contact a { text-decoration: none; color: rgba(244, 237, 229, .82); padding: 6px 0; transition: color .3s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--vivo); }
.footer__contact { display: flex; flex-direction: column; font-size: 16px; color: rgba(244, 237, 229, .82); }
.footer__label { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--off); margin-bottom: 10px; }
.footer__legal { font-size: 13px; line-height: 1.6; color: rgba(244, 237, 229, .62); max-width: 920px; margin-bottom: 32px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: rgba(244, 237, 229, .62); }
.footer__bottom a { color: rgba(244, 237, 229, .82); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px;
  background: var(--vivo); color: var(--chumbo); text-decoration: none; font-weight: 600; font-size: 15px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transform: translateY(140%); transition: transform .7s var(--ease);
}
.wa-float.is-visible { transform: none; }
.wa-float svg { width: 24px; height: 24px; fill: none; stroke: var(--chumbo); stroke-width: 1.8; }
.wa-float svg .fill { fill: var(--chumbo); stroke: none; }

/* ----- Responsivo ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; margin-left: 0; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .split-head, .about, .portfolio, .leader, .client, .faq, .apply { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .nots, .cards, .steps { grid-template-columns: minmax(0, 1fr); }
  .cards { gap: 1px; }
  .card { min-height: 0; }
  .card__n { margin-bottom: 28px; }
  .diff { grid-template-columns: 64px minmax(0, 1fr); }
  .diff p { grid-column: 2; }
  .fit { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media, .leader__media, .client__media { max-width: 520px; }
  .leader__media { position: relative; top: 0; }
  .hero__media { width: 100%; }
  .hero::after { background: linear-gradient(0deg, rgba(0, 61, 48, .97) 0%, rgba(0, 61, 48, .86) 48%, rgba(0, 61, 48, .45) 100%); }
  .client__media { order: 2; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%); }
  .numbers { margin-top: -56px; padding-top: calc(clamp(72px, 9vw, 120px) + 56px); }
  .scroll-cue { margin-right: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .brand img { height: 38px; }
  .hero::after { background: linear-gradient(0deg, rgba(0, 61, 48, .97) 0%, rgba(0, 61, 48, .86) 45%, rgba(0, 61, 48, .35) 100%); }
  .hero__slogan { font-size: 20px; }
  .scroll-cue span { display: none; }
  .form { grid-template-columns: minmax(0, 1fr); clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); }
  .media--cut, .js .media--cut[data-reveal="img"].is-in { clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
  .media--cut-lg, .js .media--cut-lg[data-reveal="img"].is-in { clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%); }
  .milestones { gap: 12px; }
  .wa-float span { display: none; }
  .wa-float { padding: 0 16px; }
  .product { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .apply__media { display: none; }
  .btn { padding: 0 22px; }
}

/* ----- Movimento reduzido -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .intro { display: none; }
  .marquee__track { animation: none; }
}

/* ----- Página de política de privacidade ---------------------------------- */
.legal { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px)); padding-bottom: clamp(80px, 9vw, 140px); max-width: 860px; }
.legal .h2 { margin-bottom: 16px; }
.legal__date { color: var(--muted); margin-bottom: 48px; font-size: 15px; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 44px 0 12px; }
.legal p { color: rgba(244, 237, 229, .84); }
.footer--slim { padding: 0 0 36px; }
