/* =============================================================================
   L&R Administração de Condomínios — Folha de estilos (v2, editorial)
   Serif (Fraunces) + Inter · paleta navy/laranja · off-white quente
   Fotografia real · layouts assimétricos · sem build. Ver docs/design-system.md
   ============================================================================= */

/* -------- 1. Tokens ------------------------------------------------------- */
:root {
  --brand-navy: #001860;
  --brand-navy-deep: #00103d;
  --brand-navy-700: #1c3a86;
  --brand-orange: #f07818;
  --brand-orange-strong: #f04818;
  --brand-orange-deep: #c2410c;

  --ink: #14213d;
  --body: #4a5568;
  --muted: #6b7280;
  --surface: #ffffff;
  --paper: #faf6f0;        /* off-white quente (editorial) */
  --paper-2: #f3ebe1;
  --border: #eadfd2;       /* borda quente sutil */
  --border-strong: #d8cab8;

  --on-dark: #ffffff;
  --on-dark-muted: #c9d2e3;
  --on-dark-faint: #93a0bd;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --fs-display: clamp(2.75rem, 5.2vw + 1rem, 5rem);
  --fs-h2: clamp(2.1rem, 3.2vw + 0.6rem, 3.4rem);
  --fs-h3: clamp(1.25rem, 1vw + 0.95rem, 1.6rem);
  --fs-lead: clamp(1.1rem, 0.7vw + 0.95rem, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;

  --container: 1200px;
  --container-wide: 1340px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(2, 12, 40, 0.06);
  --shadow-md: 0 14px 40px -16px rgba(2, 12, 40, 0.22);
  --shadow-lg: 0 30px 70px -24px rgba(2, 12, 40, 0.34);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 240ms;
  --header-h: 74px;
}

/* -------- 2. Reset / base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body {
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.7;
  color: var(--body); background: var(--surface);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--paper-2); }  /* placeholder quente p/ fotos enquanto carregam */
.brand img, .footer-brand img { background: none; }  /* logos são PNG transparente sobre fundo escuro — sem caixa de fundo */
a { color: var(--brand-navy-700); text-decoration: none; }
a:hover { color: var(--brand-orange-deep); }
p a, .footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 3px; border-radius: 4px; }

/* Ícones */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon--fill { fill: currentColor; stroke: none; }

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.08; letter-spacing: -0.015em; font-weight: 600; font-optical-sizing: auto; }

/* -------- 3. Layout ------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--brand-navy); color: var(--on-dark); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--brand-navy); color: #fff; padding: 10px 18px; border-radius: var(--r-sm); z-index: 200; transition: top var(--dur) var(--ease); }
.skip-link:focus { top: 12px; color: #fff; }

/* Eyebrow / cabeçalho de seção */
.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-orange-deep); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section--dark .eyebrow { color: var(--brand-orange); }
.section-head { max-width: 56ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: var(--fs-h2); margin-top: 1rem; font-weight: 600; }
.section-title em { font-style: italic; color: var(--brand-orange-deep); }
.section--dark .section-title em { color: var(--brand-orange); }
.section-lead { font-size: var(--fs-lead); color: var(--muted); margin-top: 1.1rem; line-height: 1.6; }
.section--dark .section-lead { color: var(--on-dark-muted); }

/* -------- 4. Botões ------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 50px; padding: 0.9rem 1.7rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1; border-radius: var(--r-pill); border: 2px solid transparent; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); white-space: nowrap; }
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--brand-orange); color: var(--brand-navy); box-shadow: var(--shadow-md); font-weight: 700; }
.btn--primary:hover { background: var(--brand-orange-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--brand-navy); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.btn--block { width: 100%; }

/* -------- 5. Header ------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.brand .logo-color { display: none; }
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(12px); box-shadow: var(--shadow-sm); }
.site-header.is-scrolled .logo-light { display: none; }
.site-header.is-scrolled .logo-color { display: block; }
/* header sólido quando o menu mobile está aberto */
body.nav-open .site-header { background: #fff; box-shadow: var(--shadow-sm); }
body.nav-open .brand .logo-light { display: none; }
body.nav-open .brand .logo-color { display: block; }
body.nav-open .nav-toggle { color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; align-items: center; gap: 1.6rem; }
.main-nav ul a { color: rgba(255, 255, 255, 0.92); font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.4rem 0; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--brand-orange); transition: width var(--dur) var(--ease); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="true"]::after { width: 100%; }
.main-nav ul a:hover { color: #fff; }
.is-scrolled .main-nav ul a { color: var(--ink); }
.is-scrolled .main-nav ul a:hover { color: var(--brand-orange-deep); }
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-phone { display: inline-flex; align-items: center; gap: 0.45rem; color: #fff; font-weight: 600; font-size: 0.95rem; }
.header-phone svg { width: 17px; height: 17px; color: var(--brand-orange); }
.is-scrolled .header-phone { color: var(--ink); }
.nav-cta { display: none; }

.portais { position: relative; }
.portais > button { display: inline-flex; align-items: center; gap: 0.4rem; background: none; border: 0; color: rgba(255, 255, 255, 0.92); font-weight: 500; font-size: 0.95rem; padding: 0.4rem 0; }
.is-scrolled .portais > button { color: var(--ink); }
.portais > button svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.portais[data-open="true"] > button svg { transform: rotate(180deg); }
.portais-menu { position: absolute; right: 0; top: calc(100% + 12px); min-width: 264px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all var(--dur) var(--ease); }
.portais[data-open="true"] .portais-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.portais-menu a { display: flex; gap: 0.75rem; align-items: center; padding: 0.7rem 0.8rem; border-radius: var(--r-sm); color: var(--ink); }
.portais-menu a:hover { background: var(--paper); color: var(--ink); }
.portais-menu .pm-icon { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(240, 120, 24, 0.12); color: var(--brand-orange-deep); }
.portais-menu strong { display: block; font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); }
.portais-menu span { font-size: 0.8rem; color: var(--muted); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; color: #fff; }
.is-scrolled .nav-toggle { color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: all var(--dur) var(--ease); }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* -------- 6. Hero (fotográfico, editorial) -------------------------------- */
.hero { position: relative; background: var(--brand-navy-deep); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 auto; width: 44%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand-navy-deep) 0%, rgba(0, 16, 61, 0.7) 30%, rgba(0, 16, 61, 0.1) 100%); }
.hero__glow { position: absolute; width: 620px; height: 620px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(240, 120, 24, 0.22), transparent 62%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 600px; padding-block: clamp(7rem, 14vh, 10rem) clamp(4rem, 8vw, 6.5rem); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 1rem; border: 1px solid rgba(240, 120, 24, 0.5); border-radius: var(--r-pill); background: rgba(240, 120, 24, 0.1); color: var(--brand-orange); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.03em; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 0 4px rgba(240, 120, 24, 0.25); }
.hero h1 { color: #fff; font-size: var(--fs-display); font-weight: 500; margin-top: 1.5rem; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; color: var(--brand-orange); }
.hero-lead { font-size: var(--fs-lead); color: var(--on-dark-muted); margin-top: 1.5rem; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.8rem; padding-top: 1.9rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero-trust .ht-item { display: flex; align-items: center; gap: 0.55rem; color: #fff; font-weight: 600; font-size: 0.92rem; }
.hero-trust .ht-item svg { width: 19px; height: 19px; color: var(--brand-orange); }

/* -------- 7. Faixa de números --------------------------------------------- */
.stats-band { background: var(--brand-navy); color: #fff; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: clamp(2rem, 4vw, 3rem) 1rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; height: 48%; width: 1px; background: rgba(255, 255, 255, 0.16); }
.stat__num { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.6rem, 4.5vw, 3.8rem); color: #fff; line-height: 1; letter-spacing: -0.02em; }
.stat__num .sfx, .stat__num .pfx { color: var(--brand-orange); }
.stat__label { margin-top: 0.7rem; color: var(--on-dark-muted); font-size: 0.92rem; }

/* -------- 8. Bloco mídia + texto (editorial) ------------------------------ */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.media-split.reverse .ms-figure { order: 2; }
.ms-figure { position: relative; }
.ms-figure > img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; object-fit: cover; }
.ms-figure.tall > img { aspect-ratio: 4 / 5; }
.ms-copy .lead { font-size: var(--fs-lead); color: var(--ink); font-weight: 500; }
.ms-copy p + p { margin-top: 1.1rem; }
.ms-copy .section-head { margin-bottom: 1.6rem; }

/* selo flutuante sobre foto */
.float-stat { position: absolute; background: #fff; color: var(--ink); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.85rem; }
.float-stat .fs-num { font-family: var(--font-serif); font-weight: 600; font-size: 2rem; color: var(--brand-orange-deep); line-height: 1; }
.float-stat .fs-label { font-size: 0.82rem; color: var(--muted); line-height: 1.3; }
.float-stat--br { right: -18px; bottom: -22px; }
.float-stat--bl { left: -18px; bottom: -22px; }

/* lista de valores/itens com marcador */
.tick-list { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.tick-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 1rem; color: var(--body); }
.tick-list li svg { width: 22px; height: 22px; color: var(--brand-orange-deep); margin-top: 0.15rem; }
.tick-list strong { color: var(--ink); }

/* -------- 9. Serviços (editorial) ----------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand-orange); transform: scaleY(0); transform-origin: top; transition: transform var(--dur) var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleY(1); }
.service-card__num { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; color: var(--brand-orange-deep); }
.service-card__head { display: flex; align-items: center; gap: 1rem; margin: 0.6rem 0 1rem; }
.service-card__icon { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-navy); color: #fff; }
.service-card__icon svg { width: 25px; height: 25px; }
.service-card h3 { font-size: var(--fs-h3); }
.service-card > p { color: var(--muted); margin-bottom: 1.1rem; font-size: 0.98rem; }
.service-list li { display: flex; gap: 0.65rem; padding: 0.5rem 0; border-top: 1px solid var(--border); font-size: 0.95rem; color: var(--body); }
.service-list li:first-child { border-top: 0; }
.service-list li svg { width: 18px; height: 18px; color: var(--brand-orange-deep); margin-top: 0.16rem; }
/* Botão "ver detalhes" — só aparece no mobile com JS (ver §21b); oculto no desktop */
.service-toggle { display: none; align-items: center; gap: 0.45rem; min-height: 44px; margin-top: 0.4rem; padding: 0.25rem 0; background: none; border: 0; color: var(--brand-orange-deep); font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; }
.service-toggle svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.service-card.is-open .service-toggle svg { transform: rotate(180deg); }

/* -------- 10. Como funciona (timeline) ------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2rem); counter-reset: step; }
.step { position: relative; }
.step__n { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 600; color: var(--brand-orange); line-height: 1; }
.step::after { content: ""; position: absolute; top: 1.1rem; left: calc(2.8rem); right: -1rem; height: 2px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px); }
.steps .step:last-child::after { display: none; }
.step h3 { font-size: 1.2rem; margin: 1rem 0 0.4rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* -------- 11. Diferenciais (foto + lista) --------------------------------- */
.diff-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.diff-figure { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 420px; }
.diff-figure img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.diff-figure__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.5rem 1.5rem; background: linear-gradient(transparent, rgba(0, 16, 61, 0.88)); color: #fff; }
.diff-figure__cap strong { font-family: var(--font-serif); font-size: 1.3rem; display: block; }
.diff-figure__cap span { color: var(--on-dark-muted); font-size: 0.92rem; }
.diff-list { display: grid; gap: 0.5rem; align-content: center; }
.diff-item { display: flex; gap: 1.1rem; padding: 1.2rem; border-radius: var(--r-md); transition: background var(--dur) var(--ease); }
.diff-item:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.diff-item__icon { flex: 0 0 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(240, 120, 24, 0.12); color: var(--brand-orange-deep); }
.diff-item__icon svg { width: 25px; height: 25px; }
.diff-item h3 { font-size: 1.15rem; }
.diff-item p { color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; }

/* -------- 12. Tecnologia (foto, dark) ------------------------------------- */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; position: relative; z-index: 2; }
.tech-figure { position: relative; }
.tech-figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; object-fit: cover; }
.tech-features { display: grid; gap: 1.2rem; margin: 1.8rem 0 2rem; }
.tech-feature { display: flex; gap: 1rem; align-items: flex-start; }
.tech-feature .tf-ic { flex: 0 0 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: var(--brand-orange); }
.tech-feature .tf-ic svg { width: 22px; height: 22px; }
.tech-feature h3 { font-size: 1.1rem; color: #fff; }
.tech-feature p { color: var(--on-dark-muted); font-size: 0.95rem; margin-top: 0.2rem; }
.portal-cards { display: grid; gap: 1rem; }
.portal-link { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.portal-link:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(240, 120, 24, 0.6); transform: translateX(4px); color: #fff; }
.portal-link__ic { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-orange); color: var(--brand-navy); }
.portal-link__ic svg { width: 23px; height: 23px; }
.portal-link strong { display: block; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; }
.portal-link span { font-size: 0.83rem; color: var(--on-dark-muted); }
.portal-link .arrow { margin-left: auto; color: var(--brand-orange); }

/* -------- 13. Região (faixa fotográfica) ---------------------------------- */
.regiao { position: relative; color: #fff; overflow: hidden; }
.regiao__bg { position: absolute; inset: 0; }
.regiao__bg img { width: 100%; height: 100%; object-fit: cover; }
.regiao__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, var(--brand-navy) 12%, rgba(0, 24, 96, 0.82) 45%, rgba(0, 24, 96, 0.45) 100%); }
.regiao .container { position: relative; z-index: 2; }
.regiao__inner { max-width: 560px; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.regiao h2 { color: #fff; font-size: var(--fs-h2); }
.regiao p { color: var(--on-dark-muted); font-size: var(--fs-lead); margin-top: 1rem; }
.regiao__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.regiao__tags span { padding: 0.5rem 1rem; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--r-pill); font-size: 0.88rem; color: #fff; }

/* -------- 14. Depoimentos ------------------------------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.testi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; }
.testi__quote { font-family: var(--font-serif); font-size: 3rem; line-height: 1; color: var(--brand-orange); height: 1.4rem; }
.testi__text { color: var(--ink); font-size: 1.02rem; margin: 0.5rem 0 1.4rem; }
.testi__stars { color: var(--brand-orange); display: flex; gap: 2px; margin-bottom: 1rem; }
.testi__stars svg { width: 18px; height: 18px; }
.testi__who { margin-top: auto; display: flex; align-items: center; gap: 0.8rem; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-navy); color: #fff; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 600; }
.testi__who strong { display: block; color: var(--ink); font-family: var(--font-body); font-size: 0.95rem; }
.testi__who span { font-size: 0.85rem; color: var(--muted); }

/* -------- 15. FAQ --------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: 0; text-align: left; padding: 1.4rem 0.25rem; font-family: var(--font-serif); font-size: 1.18rem; font-weight: 600; color: var(--ink); }
.faq-q:hover { color: var(--brand-orange-deep); }
.faq-q .faq-ic { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border-strong); color: var(--brand-orange-deep); transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.faq-q .faq-ic svg { width: 16px; height: 16px; }
.faq-item[data-open="true"] .faq-ic { background: var(--brand-orange); color: var(--brand-navy); border-color: var(--brand-orange); transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq-a p { padding: 0 0.25rem 1.4rem; color: var(--body); }
/* FAQ desemboca no CTA escuro — encurta o vão branco inferior (sem encostar) */
#faq { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }

/* -------- 16. CTA fotográfico --------------------------------------------- */
.cta-photo { position: relative; color: #fff; overflow: hidden; background: var(--brand-navy); }
.cta-photo__bg { position: absolute; inset: 0; }
.cta-photo__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-photo__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 16, 61, 0.7), rgba(0, 16, 61, 0.88)); }
.cta-photo .container { position: relative; z-index: 2; }
.cta-final { text-align: center; max-width: 680px; margin-inline: auto; }
.cta-final h2 { font-size: var(--fs-h2); color: #fff; }
.cta-final p { color: var(--on-dark-muted); font-size: var(--fs-lead); margin-top: 1rem; }
.cta-final .hero-cta { justify-content: center; }

/* -------- 17. Contato ----------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-info { display: grid; gap: 1.1rem; margin: 1.8rem 0; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ci-ic { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-navy); color: #fff; }
.contact-item .ci-ic svg { width: 22px; height: 22px; }
.contact-item .ci-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-item a, .contact-item address, .contact-item span { font-style: normal; color: var(--ink); font-weight: 500; }
.contact-item a:hover { color: var(--brand-orange-deep); }
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-top: 1.5rem; }
.map-embed iframe { width: 100%; height: 230px; border: 0; display: block; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 2.5rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.field input, .field textarea { width: 100%; padding: 0.85rem 1rem; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--border-strong); border-radius: var(--r-md); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-orange); background: #fff; box-shadow: 0 0 0 4px rgba(240, 120, 24, 0.16); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.8rem; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* -------- 18. Rodapé ------------------------------------------------------ */
.site-footer { background: var(--brand-navy-deep); color: var(--on-dark-muted); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.92rem; color: var(--on-dark-faint); max-width: 34ch; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.footer-social a:hover { background: var(--brand-orange); color: var(--brand-navy); transform: translateY(-3px); }
.footer-social a svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 1rem; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { color: var(--on-dark-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--brand-orange); }
.footer-contact li { display: flex; gap: 0.6rem; font-size: 0.92rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--brand-orange); margin-top: 0.2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 3rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--on-dark-faint); }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--brand-orange); }

/* -------- 19. WhatsApp flutuante ------------------------------------------ */
.wa-float { position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6); transition: transform var(--dur) var(--ease); animation: wa-pulse 2.6s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6), 0 0 0 14px rgba(37, 211, 102, 0); } }

/* -------- 20. Reveal ------------------------------------------------------ */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* -------- 21. Responsivo -------------------------------------------------- */
@media (max-width: 1000px) {
  .hero__media { width: 100%; opacity: 1; height: 300px; position: relative; inset: auto; }
  .hero__media::after { background: linear-gradient(0deg, var(--brand-navy-deep), rgba(0, 16, 61, 0.25)); }
  .hero-content { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 3rem; max-width: none; }
  .media-split, .tech-grid, .diff-layout, .contact-grid { grid-template-columns: 1fr; }
  .media-split.reverse .ms-figure { order: 0; }
  .services-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .diff-figure { min-height: 320px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-phone, .header-actions .btn-quote { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 1.25rem var(--gutter) 2rem; gap: 0.5rem; box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform var(--dur) var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  body.nav-open .main-nav { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav > ul > li > a { display: block; color: var(--ink); padding: 0.9rem 0; }
  .main-nav > ul > li > a::after { display: none; }
  .portais { width: 100%; }
  .portais > button { color: var(--ink); width: 100%; justify-content: space-between; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
  .portais-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0.3rem 0 0.6rem; min-width: 0; }
  .portais-menu a { display: flex; padding: 0.7rem 0.4rem; }
  .nav-cta { display: flex; margin-top: 1.1rem; }
}
@media (max-width: 620px) {
  .stats-band .container { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before, .stat:nth-child(2)::before { content: none; }
  .services-grid, .testi-grid, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float-stat { transform: scale(0.9); }
}

/* -------- 21b. Mobile-first: ritmo de rolagem e toque (≤860 / ≤640) -------
   Escopo estritamente mobile/tablet — NADA aqui afeta telas ≥1024px.        */
@media (max-width: 860px) {
  :root { --section-y: clamp(3rem, 6vw, 4.5rem); }   /* desktop: clamp(4.5rem,9vw,8rem) */
  .section-head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
}

@media (max-width: 640px) {
  :root {
    --section-y: 2.75rem;     /* corta o respiro vertical excessivo das seções */
    --header-h: 62px;         /* header mais enxuto, sensação nativa */
    --gutter: 1.15rem;
    --fs-display: clamp(1.85rem, 7.2vw, 2.4rem);
    --fs-h2: clamp(1.6rem, 6.2vw, 2.05rem);
    --fs-lead: 1.05rem;
    --fs-body: 1rem;
  }
  body { line-height: 1.62; }
  .section-head { margin-bottom: 1.5rem; }
  .section-lead { margin-top: 0.85rem; font-size: 1rem; line-height: 1.55; }
  /* títulos respiram e evitam palavra órfã na última linha (sobrescreve o 1.08 global) */
  h1, h2 { line-height: 1.14; text-wrap: balance; }
  .btn { min-height: 48px; padding: 0.8rem 1.4rem; }
  /* botões de contorno sobre fundo escuro: leve preenchimento p/ afford. de toque */
  .btn--outline-light { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }

  /* ---- Hero: encolhe para ~1 tela (foto-banner enxuto + conteúdo compacto) */
  .hero__media { height: 136px; }
  .hero-content { padding-top: 1.45rem; padding-bottom: 1.6rem; }
  .hero-badge { font-size: 0.72rem; padding: 0.4rem 0.75rem; }
  .hero h1 { margin-top: 0.85rem; line-height: 1.12; }
  .hero-lead { margin-top: 0.85rem; font-size: 1.02rem; line-height: 1.5; }
  .hero-cta { gap: 0.6rem; margin-top: 1.3rem; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { margin-top: 1.2rem; padding-top: 1rem; gap: 0.5rem 1.1rem; }
  .hero-trust .ht-item { font-size: 0.84rem; }

  /* ---- Números ---- */
  .stat { padding: 1.4rem 0.6rem; }
  .stat__num { font-size: clamp(2.1rem, 11vw, 2.7rem); }
  .stat__label { font-size: 0.82rem; margin-top: 0.35rem; }

  /* ---- Quem somos / blocos de mídia ---- */
  .media-split, .tech-grid, .diff-layout { gap: 1.5rem; }
  .ms-figure > img { aspect-ratio: 4 / 3; }
  .float-stat { transform: scale(0.8); }
  .float-stat--br { right: -8px; bottom: -12px; }
  .ms-copy p + p { margin-top: 0.8rem; }
  .tick-list { gap: 0.6rem; margin-top: 1.1rem; }

  /* ---- Serviços: acordeão (abre ao toque) — encurta a maior seção ---- */
  .service-card { padding: 1.2rem 1.25rem; }
  .services-grid { gap: 0.85rem; }
  .service-card > p { margin-bottom: 0; }
  .js .service-toggle { display: inline-flex; }
  .js .service-list {
    max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
    transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease), margin-top var(--dur) var(--ease);
  }
  .js .service-card.is-open .service-list { max-height: 600px; opacity: 1; margin-top: 0.85rem; }

  /* ---- Como funciona ---- */
  .steps { gap: 1rem; }
  .step__n { font-size: 2rem; }
  .step h3 { margin: 0.55rem 0 0.3rem; }

  /* ---- Diferenciais ---- */
  .diff-figure { min-height: 200px; }
  .diff-list { gap: 0.3rem; }
  .diff-item { padding: 0.8rem; gap: 0.9rem; }

  /* ---- Tecnologia ---- */
  .tech-figure img { aspect-ratio: 4 / 3; }
  .tech-features { gap: 0.85rem; margin: 1.2rem 0 1.4rem; }
  .portal-link { padding: 0.95rem 1.1rem; }

  /* ---- Região ---- */
  .regiao__inner { padding-block: 3rem; }
  .regiao__tags { margin-top: 1.2rem; gap: 0.5rem; }

  /* ---- Depoimentos ---- */
  .testi { padding: 1.4rem; }
  .testi__text { font-size: 0.98rem; margin: 0.4rem 0 1.1rem; }

  /* ---- Contato ---- */
  .contact-info { gap: 0.8rem; margin: 1.2rem 0; }
  .contact-item .ci-ic { flex-basis: 42px; height: 42px; }
  .map-embed { margin-top: 1.1rem; }
  .map-embed iframe { height: 185px; }
  .contact-form { padding: 1.35rem 1.2rem; }
  .field { margin-bottom: 0.85rem; }
  .field textarea { min-height: 100px; }

  /* ---- Rodapé: Navegação | Serviços lado a lado; marca e contato full-width ---- */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
  .footer-col { min-width: 0; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }  /* Contato (e-mail longo) ocupa a linha toda */
  .footer-contact li { overflow-wrap: anywhere; }
  .footer-bottom { margin-top: 1.8rem; padding-top: 1.3rem; }

  /* ---- WhatsApp flutuante: um toque, sempre acessível ---- */
  .wa-float { width: 54px; height: 54px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* -------- 22. Reduced motion --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .wa-float { animation: none; }
}
