/* ==========================================================================
   iPhone Santos — Estilos principais
   Ordem: 1. Reset/base  2. Layout  3. Tipografia  4. Componentes
          5. Seções/padrões de página  6. Utilitários  7. Movimento
   Todos os valores vêm de tokens.css.
   ========================================================================== */

/* ---------- 1. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--surface-3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 999;
  background: var(--ink); color: #fff; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
}
.skip-link:focus { top: var(--space-3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 2. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--alt { background: var(--surface-2); }
.section--white { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .muted, .section--dark .lead { color: var(--on-dark-muted); }
.section-head { max-width: 820px; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > * + * { margin-top: var(--space-4); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}
.grid > *, .split > *, .hero__grid > * { min-width: 0; }
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ---------- 3. Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-eyebrow); font-weight: var(--fw-semibold);
  letter-spacing: .02em; color: var(--brand);
}
.section--dark .eyebrow { color: #ff6b61; }
.display, .h1 { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); font-weight: var(--fw-bold); }
.h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: var(--tracking-tight); font-weight: var(--fw-bold); }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); letter-spacing: -.015em; font-weight: var(--fw-semibold); }
.h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); font-weight: var(--fw-semibold); letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.xs { font-size: var(--fs-xs); }
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-link { color: var(--link); }
.text-link:hover { text-decoration: underline; }
.section--dark .text-link { color: #2997ff; }
.highlight { font-weight: var(--fw-semibold); color: var(--ink); }
.section--dark .highlight { color: #fff; }

.prose { font-size: var(--fs-body); color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h3); color: var(--ink); letter-spacing: -.015em; line-height: 1.25; margin-top: 1.8em; }
.prose strong { color: var(--ink); font-weight: var(--fw-semibold); }
.prose a { color: var(--link); }
.prose a:hover { text-decoration: underline; }
.prose .footnote { font-size: var(--fs-xs); color: var(--subtle); }
.prose--lg { font-size: 1.1875rem; line-height: 1.6; }

/* ---------- 4. Componentes ---------- */

/* 4.1 Botões */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  font-size: 1.0625rem; font-weight: var(--fw-semibold); line-height: 1.1; letter-spacing: -.01em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill); cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-base), box-shadow var(--dur-base), color var(--dur-base), border-color var(--dur-base);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--primary { --btn-bg: var(--brand); box-shadow: var(--shadow-brand); }
.btn--primary:hover { --btn-bg: var(--brand-strong); }
.btn--dark { --btn-bg: var(--ink); }
.btn--dark:hover { --btn-bg: #000; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--surface-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.section--dark .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost, .card--dark .btn--ghost, .cta-band .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.3); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .card--dark .btn--ghost:hover, .cta-band .btn--ghost:hover { --btn-bd: #fff; }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #fff; box-shadow: var(--shadow-whatsapp); }
.btn--whatsapp:hover { --btn-bg: var(--whatsapp-strong); }
.btn--lg { min-height: 56px; padding: .9em 1.8em; font-size: 1.125rem; }
.btn--sm { min-height: 38px; padding: .5em 1em; font-size: .9375rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .3em; color: var(--link); font-weight: var(--fw-medium); }
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover::after { transform: translateX(3px); }
.section--dark .link-arrow, .card--dark .link-arrow { color: #2997ff; }

/* 4.2 Chips / badges */
.chip {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .4em .85em; font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink-2);
  border: 1px solid var(--line-soft);
}
.chip .icon { width: 1.1em; height: 1.1em; }
.chip--brand { background: var(--brand-soft); color: var(--brand-strong); border-color: transparent; }
.chip--dark { background: rgba(255,255,255,.08); color: var(--on-dark); border-color: var(--dark-line); }
.chip--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* 4.3 Topbar + Header */
.topbar { background: var(--dark); color: var(--on-dark-muted); font-size: var(--fs-xs); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 36px; }
.topbar a { color: var(--on-dark); transition: color var(--dur-fast); }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__group { display: flex; gap: var(--space-5); align-items: center; }
.topbar__item { display: inline-flex; gap: .4em; align-items: center; }
.topbar__item .icon { width: 1.05em; height: 1.05em; }
@media (max-width: 720px) { .topbar__hide-sm { display: none; } .topbar__inner { justify-content: center; } }

.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--glass-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), background-color var(--dur-base);
}
.header.is-scrolled { border-bottom-color: rgba(0,0,0,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); height: var(--header-h); }
.header__logo img { height: 40px; width: auto; }
.header__actions { display: flex; align-items: center; gap: var(--space-3); }

.nav { display: none; }
.nav__list { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3em; padding: .55em .8em; border-radius: var(--radius-pill);
  font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--ink-2); background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: color var(--dur-fast), background-color var(--dur-fast);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--ink); background: rgba(0,0,0,.05); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: var(--fw-semibold); }
.nav__link .icon { width: .9em; height: .9em; transition: transform var(--dur-base) var(--ease-out); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__item { position: relative; }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  width: min(680px, 92vw); padding: var(--space-4);
  background: rgba(255,255,255,.92); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__link { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3); border-radius: var(--radius-sm); transition: background-color var(--dur-fast); }
.mega__link:hover { background: var(--surface-2); }
.mega__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: #fff; flex: none; }
.mega__icon .icon { width: 20px; height: 20px; }
.mega__title { display: block; font-weight: var(--fw-semibold); font-size: var(--fs-small); color: var(--ink); }
.mega__desc { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; margin-top: 2px; }

.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 0; cursor: pointer; color: var(--ink);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-fast);
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.header__cta { display: none; }
@media (min-width: 1180px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header__cta { display: inline-flex; }
}

/* menu mobile */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-menu);
  background: var(--surface-3); overflow-y: auto; padding: var(--space-5) var(--gutter) var(--space-8);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.mobile-menu__list { list-style: none; padding: 0; margin: 0; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-soft); }
.mobile-menu__link { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: var(--space-4) 0; font-size: 1.5rem; font-weight: var(--fw-semibold); letter-spacing: -.02em; background: none; border: 0; text-align: left; cursor: pointer; }
.mobile-menu__sub { list-style: none; padding: 0 0 var(--space-4); margin: 0; display: grid; gap: var(--space-1); }
.mobile-menu__sub a { display: block; padding: var(--space-2) 0; color: var(--ink-2); font-size: 1.0625rem; }
.mobile-menu__cta { margin-top: var(--space-6); display: grid; gap: var(--space-3); }
@media (min-width: 1180px) { .mobile-menu { display: none; } }

/* 4.4 Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dark); color: var(--on-dark);
  padding-block: clamp(4.5rem, 3rem + 7vw, 9rem) clamp(4rem, 3rem + 5vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -20% -10% auto;
  height: 120%;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(232,33,43,.42), transparent 70%),
    radial-gradient(35% 40% at 15% 85%, rgba(255,90,78,.18), transparent 70%),
    radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,.06), transparent 70%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero__grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.hero__title { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: var(--tracking-display); font-weight: var(--fw-bold); margin-top: var(--space-4); }
.hero__title .text-gradient { padding-right: .05em; }
.hero__lead { margin-top: var(--space-5); color: var(--on-dark-muted); font-size: var(--fs-lead); line-height: 1.5; max-width: 620px; }
.hero__lead strong { color: #fff; font-weight: var(--fw-semibold); }
.hero__actions { margin-top: var(--space-6); }
.hero__note { margin-top: var(--space-4); font-size: var(--fs-xs); color: var(--subtle); }

.hero-visual { position: relative; }
.hero-visual__frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--dark-line); box-shadow: 0 40px 80px rgba(0,0,0,.6);
  background: var(--dark-3);
}
.hero-visual__frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.hero-visual__card {
  position: absolute; display: flex; gap: var(--space-3); align-items: center;
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  background: var(--glass-dark); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--dark-line); box-shadow: var(--shadow-lg); color: #fff;
}
.hero-visual__card--a { left: -6%; bottom: 10%; }
.hero-visual__card--b { right: -4%; top: 8%; }
.hero-visual__card strong { display: block; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.1; }
.hero-visual__card span { font-size: var(--fs-xs); color: var(--on-dark-muted); }
.hero-visual__badge { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; flex: none; }
.hero-visual__badge--wa { background: var(--whatsapp); }
@media (max-width: 600px) { .hero-visual__card--a { left: 4%; } .hero-visual__card--b { right: 4%; } }

/* hero de páginas internas */
.page-hero { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 85% 20%, rgba(232,33,43,.38), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(255,255,255,.06), transparent 70%);
}
.page-hero .lead { color: var(--on-dark-muted); margin-top: var(--space-4); max-width: 680px; }
.page-hero .display { margin-top: var(--space-3); }
.page-hero__actions { margin-top: var(--space-6); }

.breadcrumb { font-size: var(--fs-xs); color: var(--on-dark-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4em; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .4em; opacity: .6; }
.breadcrumb a:hover { color: #fff; }

/* 4.5 Faixa de estatísticas */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--dark-2); padding: var(--space-6) var(--space-5); }
.stat__value { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); font-weight: var(--fw-bold); letter-spacing: var(--tracking-display); line-height: 1; color: #fff; display: flex; align-items: baseline; gap: .1em; }
.stat__value small { font-size: .45em; font-weight: var(--fw-semibold); color: var(--on-dark-muted); letter-spacing: 0; }
.stat__label { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--on-dark-muted); line-height: 1.4; }
.stats--light { background: var(--line-soft); border-color: var(--line-soft); }
.stats--light .stat { background: var(--surface); }
.stats--light .stat__value { color: var(--ink); }
.stats--light .stat__value small, .stats--light .stat__label { color: var(--muted); }

/* 4.6 Cards */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.04); overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card--dark { background: var(--dark-3); color: var(--on-dark); border-color: var(--dark-line); box-shadow: none; }
.card--dark .muted { color: var(--on-dark-muted); }
.card--brand { background: var(--brand-gradient); color: #fff; border: 0; }
.card--brand .muted { color: rgba(255,255,255,.82); }
.card--flat { box-shadow: none; background: var(--surface-2); border-color: transparent; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--ink); color: #fff; margin-bottom: var(--space-5); }
.card__icon .icon { width: 26px; height: 26px; }
.card--dark .card__icon { background: rgba(255,255,255,.1); }
.card--brand .card__icon { background: rgba(255,255,255,.2); }
.card__icon--brand { background: var(--brand); }
.card__title { font-size: var(--fs-h4); font-weight: var(--fw-semibold); letter-spacing: -.015em; line-height: 1.25; }
.card__text { margin-top: var(--space-2); color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.card__foot { margin-top: auto; padding-top: var(--space-5); }
.card__media { margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-5); overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
a.card:hover .card__media img { transform: scale(1.04); }

/* 4.7 Bento grid (serviços) */
.bento { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); }
  .bento > * { grid-column: span 2; }
  .bento .bento--wide { grid-column: span 4; }
  .bento .bento--half { grid-column: span 3; }
  .bento .bento--tall { grid-row: span 2; }
}
.bento .card { min-height: 220px; }
.bento__photo { padding: 0; background: var(--dark); }
.bento__photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .78; transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-base); }
.bento__photo:hover img { transform: scale(1.04); opacity: .9; }
.bento__photo .bento__overlay { position: relative; margin-top: auto; padding: var(--space-6); color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); }
.bento__photo .card__title { font-size: var(--fs-h3); }
.bento__split { padding: 0; display: grid; grid-template-columns: 1fr; }
.bento__split-text { padding: var(--space-6); display: flex; flex-direction: column; }
.bento__split-media { overflow: hidden; }
.bento__split-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.bento__split:hover .bento__split-media img { transform: scale(1.04); }
@media (min-width: 720px) { .bento__split { grid-template-columns: 1fr 1fr; } .bento__split-media img { aspect-ratio: auto; min-height: 100%; } }
.bento__big { font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: var(--fw-bold); letter-spacing: var(--tracking-display); line-height: .95; }

/* 4.8 Lista com check */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 1px; stroke-width: 2.2; }
.section--dark .checklist .icon { color: #ff6b61; }

/* 4.9 Carrossel de destaques */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: var(--space-4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; border-radius: var(--radius-lg);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark-3); }
.carousel__slide img { width: 100%; aspect-ratio: 979 / 362; object-fit: cover; }
.carousel__controls { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-4); }
.carousel__dots { display: flex; gap: var(--space-2); }
.carousel__dot { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--line); border: 0; padding: 0; cursor: pointer; transition: width var(--dur-base) var(--ease-out), background-color var(--dur-base); }
.carousel__dot[aria-current="true"] { width: 28px; background: var(--ink); }
.carousel__arrows { display: flex; gap: var(--space-2); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.06); color: var(--ink); cursor: pointer; transition: background-color var(--dur-fast); }
.icon-btn:hover { background: rgba(0,0,0,.12); }

/* 4.10 Depoimentos */
.testimonial { display: flex; flex-direction: column; gap: var(--space-4); height: 100%; }
.testimonial__stars { display: flex; gap: 2px; color: var(--star); }
.testimonial__stars .icon { width: 18px; height: 18px; }
.testimonial__text { font-size: 1.0625rem; line-height: 1.55; color: var(--ink); letter-spacing: -.005em; }
.testimonial__text::before { content: "“"; }
.testimonial__text::after { content: "”"; }
.testimonial__author { margin-top: auto; display: flex; gap: var(--space-3); align-items: center; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: var(--fw-semibold); font-size: .95rem; flex: none; }
.testimonial__name { font-weight: var(--fw-semibold); font-size: var(--fs-small); line-height: 1.2; }
.testimonial__source { font-size: var(--fs-xs); color: var(--muted); display: inline-flex; align-items: center; gap: .35em; }
.testimonial__source .icon { width: 14px; height: 14px; }
.masonry { columns: 1; column-gap: var(--space-4); }
@media (min-width: 700px) { .masonry { columns: 2; } }
@media (min-width: 1040px) { .masonry { columns: 3; } }
.masonry > * { break-inside: avoid; margin-bottom: var(--space-4); }
.masonry > [hidden] { display: none; }

.segmented { display: inline-flex; padding: 4px; background: rgba(0,0,0,.06); border-radius: var(--radius-pill); gap: 2px; }
.segmented button { border: 0; background: transparent; padding: .5em 1.1em; border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--ink-2); cursor: pointer; transition: background-color var(--dur-fast), box-shadow var(--dur-fast); }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* 4.11 Rating Google */
.rating { display: inline-flex; align-items: center; gap: var(--space-3); }
.rating__score { font-size: 2.6rem; font-weight: var(--fw-bold); letter-spacing: -.03em; line-height: 1; }
.rating__meta { font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; }
.section--dark .rating__meta { color: var(--on-dark-muted); }

/* 4.12 Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--line)); border-radius: 2px; }
.timeline__item { position: relative; padding-left: var(--space-8); padding-bottom: var(--space-7); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); }
.timeline__year { font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: -.02em; color: var(--brand); line-height: 1.1; }
.timeline__title { font-size: var(--fs-h4); font-weight: var(--fw-semibold); margin-top: var(--space-2); }
.timeline__text { margin-top: var(--space-2); color: var(--ink-2); }

/* 4.13 Citação */
.quote { position: relative; font-size: clamp(1.35rem, 1.05rem + 1.4vw, 2.1rem); line-height: 1.3; letter-spacing: -.02em; font-weight: var(--fw-semibold); }
.quote::before { content: "“"; display: block; font-size: 4em; line-height: .6; color: var(--brand); margin-bottom: var(--space-2); }
.quote cite { display: block; margin-top: var(--space-5); font-size: var(--fs-small); font-style: normal; font-weight: var(--fw-medium); color: var(--muted); letter-spacing: 0; }
.section--dark .quote cite { color: var(--on-dark-muted); }

/* 4.14 Produto */
.product { padding: 0; }
.product__media { background: #fff; border-bottom: 1px solid var(--line-soft); }
.product__media img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: var(--space-5); transition: transform var(--dur-slow) var(--ease-out); }
.product:hover .product__media img { transform: scale(1.04); }
.product__body { padding: var(--space-5) var(--space-5) var(--space-6); display: flex; flex-direction: column; flex: 1; }
.product__title { font-size: 1.125rem; font-weight: var(--fw-semibold); letter-spacing: -.01em; line-height: 1.3; }
.product__desc { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }
.product__price { margin-top: auto; padding-top: var(--space-5); }
.product__price small { display: block; font-size: var(--fs-xs); color: var(--subtle); }
.product__price strong { font-size: 1.6rem; letter-spacing: -.02em; }
.product__cta { margin-top: var(--space-4); }

/* 4.15 Formulário */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: .8em 1em; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; font-size: 1rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--brand); }
.field__error { font-size: var(--fs-xs); color: var(--brand-strong); min-height: 1em; }
.form__note { font-size: var(--fs-xs); color: var(--muted); }

/* 4.16 FAQ (details/summary nativo) */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-5) 0; font-size: 1.1875rem; font-weight: var(--fw-semibold); letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--muted); transition: transform var(--dur-base) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding-bottom: var(--space-5); color: var(--ink-2); max-width: 760px; }

/* 4.17 Faixa CTA */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl); padding: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  background: var(--dark); color: #fff; text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% 120%, rgba(232,33,43,.55), transparent 70%), radial-gradient(40% 60% at 100% 0%, rgba(255,255,255,.08), transparent 70%); }
.cta-band .lead { color: var(--on-dark-muted); max-width: 640px; margin: var(--space-4) auto 0; }
.cta-band__actions { margin-top: var(--space-6); justify-content: center; }

/* 4.18 Contato / mapa */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.contact-item { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line-soft); transition: border-color var(--dur-fast), transform var(--dur-base) var(--ease-out); }
a.contact-item:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-item__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); color: var(--ink); flex: none; }
.contact-item__icon--wa { background: #e7f9ee; color: #128c4a; }
.contact-item__label { font-size: var(--fs-xs); color: var(--muted); display: block; }
.contact-item__value { font-weight: var(--fw-semibold); display: block; line-height: 1.3; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); background: var(--surface-2); min-height: 360px; height: 100%; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.2); }

/* 4.19 Media com moldura */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface-2); }
.media-frame img { width: 100%; object-fit: cover; }

/* 4.20 Blog */
.post-card .card__media img { aspect-ratio: 16 / 10; }
.post-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); font-size: var(--fs-xs); color: var(--muted); }
.section--dark .post-meta, .page-hero .post-meta { color: var(--on-dark-muted); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-top: calc(var(--section-y) * -.5); position: relative; z-index: 2; box-shadow: var(--shadow-lg); background: var(--surface-2); }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.tag { color: var(--link); font-size: var(--fs-small); }

/* 4.21 Footer */
.footer { background: var(--surface-2); color: var(--muted); font-size: var(--fs-small); padding-top: var(--space-9); }
.footer__grid { display: grid; gap: var(--space-7); grid-template-columns: 1fr; padding-bottom: var(--space-7); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand img { height: 46px; width: auto; }
.footer__brand p { margin-top: var(--space-4); max-width: 320px; line-height: 1.5; }
.footer__title { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--ink); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--space-4); }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.footer__list a:hover { color: var(--ink); text-decoration: underline; }
.footer__contact a { color: var(--ink-2); }
.footer__social { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); color: var(--ink); border: 1px solid var(--line-soft); transition: background-color var(--dur-fast), color var(--dur-fast); }
.footer__social a:hover { background: var(--ink); color: #fff; }
.footer__bottom { border-top: 1px solid var(--line); padding-block: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; font-size: var(--fs-xs); }

/* 4.22 WhatsApp flutuante */
.wa-float {
  position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: var(--z-float);
  display: inline-flex; align-items: center; gap: .6em; height: 60px; padding: 0 1.3em 0 1.1em;
  border-radius: var(--radius-pill); background: var(--whatsapp); color: #fff; font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-whatsapp); transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-fast);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); background: var(--whatsapp-strong); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: wa-pulse 2.4s infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }
@media (max-width: 640px) { .wa-float { width: 60px; padding: 0; justify-content: center; } .wa-float__label { display: none; } }

/* 4.23 Marquee de confiança */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: var(--space-7); width: max-content; animation: marquee 40s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap; font-weight: var(--fw-semibold); color: var(--on-dark-muted); font-size: var(--fs-small); }
.marquee__item .icon { color: #ff6b61; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 4.24 Aviso / callout */
.callout { display: flex; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-md); background: var(--brand-soft); color: var(--ink); }
.callout .icon { width: 26px; height: 26px; color: var(--brand); flex: none; }
.callout--dark { background: var(--dark-3); color: var(--on-dark); }

/* ---------- 5. Padrões de página ---------- */
.service-highlights { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: var(--space-7); }
.service-highlight { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-4); border-radius: var(--radius-md); background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); }
.service-highlight .icon { width: 26px; height: 26px; color: #ff6b61; flex: none; }
.service-highlight strong { display: block; color: #fff; line-height: 1.2; font-size: var(--fs-small); }
.service-highlight span { font-size: var(--fs-xs); color: var(--on-dark-muted); }

.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }

.award { display: flex; flex-direction: row; gap: var(--space-5); align-items: center; }
.award__seal { display: grid; place-items: center; text-align: center; width: 112px; height: 112px; flex: none; border-radius: 50%; background: conic-gradient(from 210deg, #f6d365, #c9a227, #fff1b8, #c9a227, #f6d365); color: #3a2a00; box-shadow: inset 0 0 0 6px rgba(255,255,255,.45), var(--shadow-md); font-weight: var(--fw-heavy); line-height: 1; }
.award__seal small { display: block; font-size: .65rem; letter-spacing: .1em; font-weight: var(--fw-bold); }
.award__seal span { display: block; font-size: 1.9rem; letter-spacing: -.03em; }

/* página Design System */
.ds-swatch { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line-soft); background: var(--surface); }
.ds-swatch__color { height: 96px; }
.ds-swatch__meta { padding: var(--space-3) var(--space-4); font-size: var(--fs-xs); }
.ds-swatch__meta code { font-family: var(--font-mono); color: var(--muted); }
.ds-block { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-soft); }
.ds-label { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 6. Utilitários ---------- */
.center { text-align: center; }
.mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); } .mt-8 { margin-top: var(--space-8); }
.justify-center { justify-content: center; }
.w-full { width: 100%; }

/* ---------- 7. Movimento ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

@media print {
  .topbar, .header, .wa-float, .mobile-menu, .cta-band, .footer__social { display: none !important; }
  .hero, .page-hero, .section--dark { background: #fff !important; color: #000 !important; }
}
