/* ==========================================================================
   FR Seguros e Negócios — design system
   Tokens e regras derivados de design_system.json. Mobile-first.
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  /* Marca */
  --red: #C90008;
  --red-dark: #9F0006;
  --red-deep: #760006;
  --red-bright: #E01820;
  --black: #050505;
  --black-soft: #111111;
  --graphite: #1B1B1D;
  --white: #FFFFFF;

  /* Neutros */
  --gray-50: #F8F8F8;
  --gray-100: #F0F0F0;
  --gray-200: #DEDEDE;
  --gray-300: #C4C4C4;
  --gray-500: #777777;
  --gray-600: #5B5B5B;
  --gray-700: #3B3B3B;
  --gray-800: #242424;
  --gray-900: #151515;

  /* Semânticas */
  --success: #247A48;
  --warning: #B66A00;
  --error: #B42318;
  --info: #245FC7;

  /* Uso */
  --text: var(--gray-900);
  --text-muted: var(--gray-600);
  --text-on-dark: var(--white);
  --text-muted-on-dark: var(--gray-300);
  --border: var(--gray-200);
  --border-dark: var(--gray-700);

  /* Tipografia */
  --font-display: "Manrope", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --fs-display-xl: clamp(2.6rem, 7vw, 6.75rem);
  --fs-display-lg: clamp(2.5rem, 5.5vw, 5rem);
  --fs-h1: clamp(2.3rem, 5vw, 4.5rem);
  --fs-h2: clamp(2rem, 3.8vw, 3.5rem);
  --fs-h3: clamp(1.35rem, 2vw, 1.8rem);
  --fs-h4: 1.2rem;
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.875rem;
  --fs-caption: 0.75rem;

  /* Espaçamento (base 4px) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --content-max: 1240px;
  --text-max: 680px;
  --section-pad: 4rem;
  --section-gap: clamp(3rem, 7vw, 7rem);
  --card-gap: 1.25rem;
  --header-h: 72px;

  /* Bordas e sombras */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.07);
  --shadow-card-dark: 0 16px 48px rgba(0, 0, 0, 0.25);
  --shadow-red-glow: 0 0 36px rgba(201, 0, 8, 0.18);
  --shadow-focus: 0 0 0 3px rgba(201, 0, 8, 0.28);

  /* Movimento */
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hero: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-card: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-reveal: 650ms;
  --dur-hero: 900ms;
  --dur-card: 260ms;
  --dur-button: 180ms;
  --reveal-distance: 24px;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 88px;
    --section-pad: clamp(5rem, 10vw, 9rem);
  }
}

/* 2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.has-light-top { padding-top: var(--header-h); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: inherit;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -0.01em; }

h2 em, h3 em, .hero__title em, .cta-final__title em {
  font-style: normal;
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.08em;
  transition: background-size 900ms var(--ease-reveal) 250ms;
}
.js [data-reveal]:not(.is-in) em { background-size: 0% 0.08em; }

.lead { font-size: var(--fs-body-lg); line-height: 1.65; color: var(--text); }
.accent { color: var(--red); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  box-shadow: var(--shadow-focus);
  border-radius: 4px;
}
.section--dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible, .cta-final__box :focus-visible, .has-dark-hero .site-header:not(.is-scrolled) :focus-visible {
  outline-color: var(--white);
}

/* Elementos que só recebem foco por script ou âncora (formulário, avisos, títulos de etapa) não exibem contorno. */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }

::selection { background: var(--red); color: var(--white); }

/* 3. Utilitários
   ========================================================================== */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 18px; background: var(--white); color: var(--black);
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform var(--dur-button);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

.container {
  width: 100%;
  max-width: calc(var(--content-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.show-sm { display: inline; }
.hide-sm { display: none; }
@media (min-width: 560px) { .show-sm { display: none; } .hide-sm { display: inline; } }

.no-js-only { display: block; }
.fr-ready .no-js-only { display: none; }


.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  color: var(--red); text-decoration: none; min-height: 44px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur-card) var(--ease-card); }
.link-arrow:hover .icon { transform: translateX(4px); }

.link-btn {
  padding: 0; background: none; border: 0; color: inherit; text-decoration: underline;
  text-underline-offset: 3px; min-height: 44px;
}

.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* 4. Seções e grids
   ========================================================================== */
.section { padding: var(--section-pad) 0; position: relative; }
.section--tight { padding-top: var(--s-12); }
.section--light { background: var(--white); }
.section--soft { background: var(--gray-50); }
.section--dark { background: var(--black); color: var(--text-on-dark); }
.section--dark p { color: var(--text-muted-on-dark); }

.grid { display: grid; gap: var(--card-gap); grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 var(--s-5);
  font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--red); flex-shrink: 0;
}
.eyebrow--dark, .section--dark .eyebrow { color: var(--white); }

.section-head { margin-bottom: var(--s-12); max-width: 820px; }
.section-head h2 { margin: 0; }
.section-head__text { margin: var(--s-5) 0 0; max-width: var(--text-max); color: var(--text-muted); font-size: var(--fs-body-lg); }
.section--dark .section-head__text { color: var(--text-muted-on-dark); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--spaced { margin-top: var(--s-20); }
@media (min-width: 1024px) {
  .section-head--split {
    max-width: none; display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-16); align-items: end;
  }
  .section-head--split .section-head__text { margin: 0; }
}

.group-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  margin: var(--s-16) 0 var(--s-6); padding-top: var(--s-6); border-top: 1px solid var(--border);
}
.group-head:first-of-type { margin-top: 0; }
.group-head__title { margin: 0; font-size: var(--fs-h4); letter-spacing: -0.01em; }

/* 5. Botões
   ========================================================================== */
.btn {
  --btn-bg: var(--red); --btn-fg: var(--white); --btn-border: var(--red);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm); cursor: pointer; user-select: none;
  transition: background-color var(--dur-button), border-color var(--dur-button), color var(--dur-button), transform var(--dur-button) var(--ease-card), box-shadow var(--dur-button);
}
.btn__icon { display: inline-flex; transition: transform var(--dur-card) var(--ease-card); }
.btn__icon .icon { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }

.btn--primary:hover { --btn-bg: var(--red-dark); --btn-border: var(--red-dark); box-shadow: var(--shadow-red-glow); }
.btn--secondary-light { --btn-bg: transparent; --btn-fg: var(--gray-900); --btn-border: var(--gray-300); }
.btn--secondary-light:hover { --btn-border: var(--gray-900); }
.btn--secondary-dark { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: var(--gray-500); }
.btn--secondary-dark:hover { --btn-border: var(--white); --btn-bg: rgba(255, 255, 255, 0.06); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--gray-900); --btn-border: transparent; padding: 0 12px; }
.btn--ghost:hover { --btn-bg: var(--gray-100); }
@media (hover: hover) {
  .btn:hover .btn__icon { transform: translateX(3px); }
  [data-prev]:hover .btn__icon { transform: translateX(-3px); }
}
.btn.is-loading .btn__label { opacity: 0.6; }
.btn.is-loading .btn__icon { animation: btn-pulse 900ms ease-in-out infinite; }
@keyframes btn-pulse { 50% { opacity: 0.3; } }

/* 6. Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h);
  color: var(--gray-900);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease, transform 300ms var(--ease-reveal);
}
.has-light-top .site-header { border-bottom-color: var(--border); }
.has-light-top .site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); }
.has-dark-hero .site-header { color: var(--white); background: transparent; }
.has-dark-hero .site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0));
  transition: opacity 300ms ease;
}
.has-dark-hero .site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.has-dark-hero .site-header.is-scrolled::before { opacity: 0; }

.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: var(--s-6); }

.brand { display: inline-flex; align-items: center; height: 100%; flex-shrink: 0; }
.brand__logo { width: auto; height: 44px; }
@media (min-width: 1024px) { .brand__logo { height: 56px; } }
.brand__logo--light { display: none; }
.has-dark-hero .brand__logo--light { display: block; }
.has-dark-hero .brand__logo--dark { display: none; }

.nav { display: none; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; opacity: 0.86;
  transition: opacity var(--dur-button);
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-card) var(--ease-card);
}
.nav__link:hover, .nav__item.is-active .nav__link { opacity: 1; }
.nav__link:hover::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__item--sub .nav__link { padding-right: 4px; }
.nav__item--sub .nav__link::after { right: 4px; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px;
  padding: 0; background: none; border: 0; opacity: 0.86;
}
.nav__toggle .icon { width: 18px; height: 18px; transition: transform var(--dur-card) var(--ease-card); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 18px); left: -120px; z-index: 5;
  width: min(860px, calc(100vw - 48px));
  color: var(--gray-900); background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  animation: drop-in 220ms var(--ease-card);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: var(--s-6); padding: var(--s-8); }
.mega__title { margin: 0 0 var(--s-3); font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.mega__list { list-style: none; }
.mega__link {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 10px; margin: 0 -10px;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; border-radius: var(--radius-sm);
  transition: background-color var(--dur-button);
}
.mega__link:hover, .mega__link[aria-current] { background: var(--gray-50); }
.mega__icon { display: inline-flex; color: var(--red); }
.mega__icon .icon { width: 20px; height: 20px; }
.mega__feature { padding: var(--s-6); background: var(--black); color: var(--white); border-radius: var(--radius-sm); }
.mega__feature-title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.mega__feature-text { color: var(--gray-300); font-size: var(--fs-body-sm); }
.mega__feature-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.mega__feature-link .icon { width: 18px; height: 18px; color: var(--red-bright); }

.site-header__actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.header-cta { min-height: 40px; padding: 0 16px; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  padding: 0; background: none; border: 1px solid currentColor; border-color: rgba(127, 127, 127, 0.35);
  border-radius: var(--radius-sm);
}
@media (min-width: 1080px) {
  .nav { display: block; }
  .site-header__actions { margin-left: var(--s-2); }
  .menu-toggle { display: none; }
  .header-cta { min-height: 44px; }
}

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  padding: 0 var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom));
  color: var(--white); background: var(--black); overflow-y: auto; overscroll-behavior: contain;
  animation: menu-in 280ms var(--ease-reveal);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex-shrink: 0; }
.mobile-menu__logo { height: 44px; width: auto; }
.menu-toggle--close { color: var(--white); }
.mobile-menu__nav ul { list-style: none; }
.mobile-menu__nav { margin-top: var(--s-6); }
.mobile-menu__item { border-bottom: 1px solid var(--graphite); }
.mobile-menu__item > a, .mobile-menu__row > a {
  display: flex; align-items: center; min-height: 64px;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none;
}
.mobile-menu__item a[aria-current] { color: var(--red-bright); }
.mobile-menu__row { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__expand {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  color: var(--white); background: var(--graphite); border: 0; border-radius: var(--radius-sm);
}
.mobile-menu__expand .icon { transition: transform var(--dur-card) var(--ease-card); }
.mobile-menu__expand[aria-expanded="true"] .icon { transform: rotate(45deg); }
.mobile-menu__sub { padding-bottom: var(--s-4); }
.mobile-menu__sub a {
  display: flex; align-items: center; gap: 12px; min-height: 48px;
  color: var(--gray-300); font-size: 1.05rem; text-decoration: none;
}
.mobile-menu__sub .icon { width: 20px; height: 20px; color: var(--red-bright); }
.mobile-menu__footer { display: grid; gap: var(--s-3); margin-top: auto; padding-top: var(--s-10); }
.mobile-menu__footer .btn { width: 100%; }
html.menu-open { overflow: hidden; }

/* 7. Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: max(620px, 100svh);
  color: var(--white); background: var(--black);
}
.hero--page { min-height: clamp(560px, 86svh, 860px); }
.hero--compact { min-height: 0; }
.hero--plain { min-height: 0; }
.hero--plain .hero__shade {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(201, 0, 8, 0.16), transparent 60%),
    linear-gradient(180deg, #0b0b0b, var(--black));
}
.hero--center { align-items: center; min-height: 72svh; }

.hero__media {
  position: absolute; z-index: -3; top: -40px; bottom: -40px; left: 0; right: 0;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.hero__media .media__img {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-settle 2400ms var(--ease-hero) both;
}
@keyframes hero-settle { from { transform: scale(1.1); opacity: 0.4; } to { transform: scale(1.02); opacity: 1; } }

.hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.35) 30%, rgba(5, 5, 5, 0.8) 62%, var(--black) 100%);
}
@media (min-width: 1024px) {
  .hero__media { left: 34%; }
  .hero--page .hero__media { left: 42%; }
  .hero__shade {
    background:
      linear-gradient(90deg, var(--black) 0%, var(--black) 34%, rgba(5, 5, 5, 0.72) 48%, rgba(5, 5, 5, 0.08) 72%, rgba(5, 5, 5, 0.2) 100%),
      linear-gradient(0deg, var(--black) 0%, rgba(5, 5, 5, 0) 28%);
  }
  .hero--page .hero__shade {
    background:
      linear-gradient(90deg, var(--black) 0%, var(--black) 42%, rgba(5, 5, 5, 0.7) 54%, rgba(5, 5, 5, 0.06) 78%, rgba(5, 5, 5, 0.2) 100%),
      linear-gradient(0deg, var(--black) 0%, rgba(5, 5, 5, 0) 24%);
  }
}

.hero__symbol {
  position: absolute; z-index: -1; left: -8vw; bottom: -6vw; width: min(78vw, 900px);
  opacity: 0.055; pointer-events: none;
  transform: translate3d(0, var(--py, 0px), 0);
}
.hero__symbol img { width: 100%; height: auto; }
.hero--plain .hero__symbol { left: auto; right: -10vw; bottom: -14vw; width: min(70vw, 760px); opacity: 0.07; }

.hero__rule {
  position: absolute; left: calc(var(--gutter) / 2); top: 28%; width: 2px; height: 22%;
  background: linear-gradient(180deg, var(--red), rgba(201, 0, 8, 0));
  transform-origin: top; animation: rule-in 1400ms var(--ease-hero) 500ms both;
  display: none;
}
@keyframes rule-in { from { transform: scaleY(0); } }
@media (min-width: 1240px) { .hero__rule { display: block; } }

.hero__inner {
  position: relative;
  padding-top: calc(var(--header-h) + var(--s-12));
  padding-bottom: clamp(3rem, 8vh, 6.5rem);
}
.hero__inner > * { max-width: 780px; }
.hero--center .hero__inner > * { margin-left: auto; margin-right: auto; }
.hero--center .hero__inner { text-align: center; }
.hero--center .hero__actions { justify-content: center; }
.hero--compact .hero__inner { padding-top: calc(var(--header-h) + var(--s-16)); padding-bottom: var(--s-16); }

.hero__eyebrow { margin-bottom: var(--s-6); }
.hero--center .hero__eyebrow { justify-content: center; }

.hero__title {
  margin: 0; font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02;
}
.hero__title--xl { font-size: var(--fs-display-xl); line-height: 0.98; max-width: 1000px; }
/* Folga na máscara para descendentes (g, j, p) com line-height < 1; a margem negativa mantém o espaçamento. */
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.24em; margin-bottom: -0.24em; }
.hero__title .line__inner { display: block; }
.js .hero__title .line__inner {
  transform: translate3d(0, 130%, 0); opacity: 0;
  transition: transform var(--dur-hero) var(--ease-hero), opacity var(--dur-hero) var(--ease-hero);
}
.js .hero__title .line:nth-child(2) .line__inner { transition-delay: 90ms; }
.js .hero__title .line:nth-child(3) .line__inner { transition-delay: 180ms; }
/* Se o script não carregar, o conteúdo aparece mesmo assim após 2,5s. */
.js:not(.fr-ready) .hero__title .line__inner { animation: failsafe-show 0s 2.5s forwards; }
.js.is-loaded .hero__title .line__inner { transform: none; opacity: 1; transition-delay: 120ms; }
.js.is-loaded .hero__title .line:nth-child(2) .line__inner { transition-delay: 210ms; }
.js.is-loaded .hero__title .line:nth-child(3) .line__inner { transition-delay: 300ms; }
@keyframes failsafe-show { to { transform: none; opacity: 1; } }

.hero__lead {
  margin: var(--s-6) 0 0; max-width: 620px; font-size: var(--fs-body-lg); line-height: 1.65; color: var(--gray-300);
}
.hero__lead strong { color: var(--white); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }

.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .paths, .js .breadcrumbs, .js .sent-icon {
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity 800ms var(--ease-reveal), transform 800ms var(--ease-reveal);
}
.js:not(.fr-ready) .hero__eyebrow, .js:not(.fr-ready) .hero__lead, .js:not(.fr-ready) .hero__actions,
.js:not(.fr-ready) .paths, .js:not(.fr-ready) .breadcrumbs, .js:not(.fr-ready) .sent-icon { animation: failsafe-show 0s 2.5s forwards; }
.js.is-loaded .hero__eyebrow, .js.is-loaded .breadcrumbs { opacity: 1; transform: none; transition-delay: 60ms; }
.js.is-loaded .hero__lead, .js.is-loaded .sent-icon { opacity: 1; transform: none; transition-delay: 380ms; }
.js.is-loaded .hero__actions, .js.is-loaded .paths { opacity: 1; transform: none; transition-delay: 500ms; }

.breadcrumbs { margin-bottom: var(--s-8); font-size: var(--fs-body-sm); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 4px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; color: var(--gray-300); }
.breadcrumbs li + li::before { content: "/"; color: var(--gray-500); margin-right: 4px; }
.breadcrumbs a { color: var(--gray-300); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--white); }
.page-head .breadcrumbs li, .page-head .breadcrumbs a, .article__header .breadcrumbs li, .article__header .breadcrumbs a { color: var(--text-muted); }
.page-head .breadcrumbs [aria-current], .article__header .breadcrumbs [aria-current] { color: var(--gray-900); }
.page-head .breadcrumbs a:hover, .article__header .breadcrumbs a:hover { color: var(--gray-900); }

/* Caminhos do hero da home */
.paths { display: grid; gap: var(--s-3); margin-top: var(--s-10); max-width: 780px; }
@media (min-width: 640px) { .paths { grid-template-columns: 1fr 1fr; } }
.path {
  position: relative; display: flex; align-items: center; gap: var(--s-4);
  min-height: 92px; padding: var(--s-5); text-decoration: none; color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform var(--dur-card) var(--ease-card), background-color var(--dur-card), border-color var(--dur-card), box-shadow var(--dur-card);
}
.path--primary { background: var(--red); border-color: var(--red); }
.path__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; background: rgba(255, 255, 255, 0.1);
}
.path--primary .path__icon { background: rgba(0, 0, 0, 0.18); }
.path__body { display: flex; flex-direction: column; min-width: 0; }
.path__kicker { font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.path__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.path__text { font-size: var(--fs-body-sm); color: rgba(255, 255, 255, 0.82); }
.path__arrow { margin-left: auto; display: inline-flex; transition: transform var(--dur-card) var(--ease-card); }
@media (hover: hover) {
  .path:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.09); }
  .path--primary:hover { background: var(--red-dark); border-color: var(--red-dark); box-shadow: var(--shadow-red-glow); }
  .path:hover .path__arrow { transform: translateX(4px); }
}
.path:active { transform: translateY(0) scale(0.99); }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 112px; /* acima do botão flutuante do WhatsApp */ z-index: 2;
  display: none; align-items: center; gap: var(--s-3);
  font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-300); text-decoration: none; writing-mode: vertical-rl; min-width: 44px;
}
.scroll-cue__line { position: relative; width: 1px; height: 64px; background: rgba(255, 255, 255, 0.24); overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; left: 0; top: -30%; width: 1px; height: 30%; background: var(--red-bright);
  animation: cue 2.2s var(--ease-reveal) infinite;
}
@keyframes cue { to { top: 100%; } }
@media (min-width: 1024px) and (min-height: 760px) { .scroll-cue { display: inline-flex; } }

.sent-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: var(--s-8);
  border-radius: 50%; background: var(--success); color: var(--white);
}
.sent-icon .icon { width: 34px; height: 34px; }

/* Movimento contínuo da faixa de seguradoras */
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* 8. Diferenciais
   ========================================================================== */
.trust-section { padding: var(--s-16) 0; border-bottom: 1px solid var(--border); }
.trust { display: grid; gap: var(--s-8); }
@media (min-width: 768px) {
  .trust { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .trust__item { padding: 0 var(--s-8); border-left: 1px solid var(--border); }
  .trust__item:first-child { padding-left: 0; border-left: 0; }
}
.trust__item { display: flex; gap: var(--s-4); align-items: flex-start; }
.trust__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0;
  color: var(--red); background: var(--gray-50); border-radius: var(--radius-sm);
}
.trust__title { margin: 0 0 4px; font-size: 1.05rem; letter-spacing: -0.01em; }
.trust__text { margin: 0; color: var(--text-muted); font-size: var(--fs-body-sm); }

/* 9. Cards
   ========================================================================== */
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: transform var(--dur-card) var(--ease-card), border-color var(--dur-card) var(--ease-card), box-shadow var(--dur-card) var(--ease-card);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201, 0, 8, 0.07), transparent 45%);
  transition: opacity var(--dur-card);
}
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.card__media .media__img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-reveal); }
.card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: var(--s-6); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: var(--s-5);
  color: var(--red); background: var(--gray-50); border-radius: var(--radius-sm);
  transition: transform var(--dur-card) var(--ease-card);
}
.card--image .card__icon {
  position: absolute; top: -24px; left: var(--s-6); margin: 0;
  background: var(--white); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.card--image .card__body { padding-top: var(--s-10); }
.card__title { margin: 0 0 var(--s-2); font-size: var(--fs-h4); letter-spacing: -0.01em; line-height: 1.25; }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--radius-md); }
.card__link:focus-visible { outline: none; box-shadow: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; box-shadow: var(--shadow-focus); }
.card__text { margin: 0 0 var(--s-5); color: var(--text-muted); font-size: 0.9375rem; }
.card__meta { margin: 0 0 var(--s-2); font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.card__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-size: var(--fs-body-sm); font-weight: 700; color: var(--red);
}
.card__cta .icon { width: 18px; height: 18px; transition: transform var(--dur-card) var(--ease-card); }

@media (hover: hover) {
  .card:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: var(--shadow-card); }
  .card:hover::before { opacity: 1; }
  .card:hover .card__icon { transform: translateX(3px); }
  .card:hover .card__cta .icon { transform: translateX(4px); }
  .card:hover .card__media .media__img { transform: scale(1.05); }
}

.card--help { background: var(--black-soft); border-color: var(--black-soft); color: var(--white); }
.card--help .card__icon { background: var(--graphite); color: var(--red-bright); }
.card--help .card__text { color: var(--gray-300); }
.card--help .card__cta { color: var(--white); }
.card--help::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201, 0, 8, 0.16), transparent 45%); }

.card--wide .card__media { aspect-ratio: 16 / 9; }
.card--post .card__media { aspect-ratio: 3 / 2; }
.card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--black); }
.card__placeholder img { width: 30%; opacity: 0.9; }

/* Destaque escuro (consórcio) */
.feature {
  display: grid; margin-top: var(--s-16); overflow: hidden;
  color: var(--white); background: var(--black); border-radius: var(--radius-lg);
}
.feature__media { position: relative; min-height: 260px; overflow: hidden; }
.feature__media .media__img {
  position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0);
}
.feature__body { padding: var(--s-8) var(--s-6) var(--s-10); }
.feature__title { font-size: var(--fs-h3); margin-bottom: var(--s-4); }
.feature__text { color: var(--gray-300); max-width: 520px; }
.feature__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
@media (min-width: 1024px) {
  .feature { grid-template-columns: 1fr 1fr; }
  .feature__media { min-height: 460px; }
  .feature__body { padding: var(--s-16); align-self: center; }
}

/* 10. Processo (etapas)
   ========================================================================== */
.process__grid { display: grid; gap: var(--s-12); }
.process__head h2 { margin-bottom: var(--s-5); }
.process__head p { max-width: 460px; margin-bottom: var(--s-8); }
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: 5fr 6fr; gap: var(--s-20); align-items: start; }
  .process__sticky { position: sticky; top: calc(var(--header-h) + var(--s-12)); }
}

.steps { position: relative; list-style: none; display: grid; gap: var(--s-2); }
.steps--progress { padding-left: 28px; }
.steps__track {
  position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--graphite); overflow: hidden;
}
.steps__fill {
  position: absolute; inset: 0; background: var(--red);
  transform-origin: top; transform: scaleY(var(--progress, 1));
}
.fr-ready .steps__fill { --progress: 0; }
.step { position: relative; display: flex; gap: var(--s-5); padding: var(--s-6) 0; border-bottom: 1px solid var(--graphite); }
.step:last-child { border-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -33px; top: calc(var(--s-6) + 12px); width: 12px; height: 12px;
  border-radius: 50%; background: var(--black); border: 2px solid var(--gray-700);
  transition: border-color 400ms, background-color 400ms;
}
.steps:not(.steps--progress) .step::before { display: none; }
.step.is-active::before, html:not(.fr-ready) .step::before { border-color: var(--red); background: var(--red); }
.step__num {
  font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--gray-500);
  min-width: 36px; padding-top: 6px; transition: color 400ms;
}
.step.is-active .step__num, html:not(.fr-ready) .step__num { color: var(--red-bright); }
.step__title { margin: 0 0 var(--s-2); font-size: var(--fs-h3); color: var(--white); }
.step__text { margin: 0; color: var(--gray-300); max-width: 520px; }
.section--light .step { border-color: var(--border); }
.section--light .step__title { color: var(--gray-900); }
.section--light .step__text { color: var(--text-muted); }

/* 11. Editorial (sobre, fundador, manifesto)
   ========================================================================== */
.about-preview__grid { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 1024px) {
  .about-preview__grid { grid-template-columns: 5fr 6fr; gap: var(--s-20); }
  .about-preview__grid--text { grid-template-columns: minmax(0, 820px); }
}
.about-preview__media { position: relative; }
.frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--gray-100);
}
.frame .media__img {
  position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0);
}
.about-preview__tag {
  position: absolute; left: var(--s-5); bottom: var(--s-5);
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px;
  font-weight: 600; font-size: var(--fs-body-sm);
  background: var(--white); border-radius: var(--radius-pill); box-shadow: var(--shadow-card);
}
.about-preview__tag .icon { color: var(--red); width: 20px; height: 20px; }
.about-preview__body h2 { margin-bottom: var(--s-6); }
.about-preview__body p { color: var(--text-muted); max-width: var(--text-max); }
.about-preview__body .lead { color: var(--text); }
.about-preview__body .btn { margin-top: var(--s-4); }

.manifesto { padding: clamp(5rem, 14vw, 11rem) 0; }
.manifesto__text {
  margin: 0; max-width: 1080px;
  font-family: var(--font-display); font-size: clamp(1.75rem, 4.2vw, 3.6rem); font-weight: 700;
  line-height: 1.18; letter-spacing: -0.03em; color: var(--white);
}
.section--dark .manifesto__text { color: var(--white); }
.manifesto__text .word { opacity: var(--o, 1); transition: opacity 200ms linear; }

.founder { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 1024px) { .founder { grid-template-columns: 5fr 6fr; gap: var(--s-20); } }
.founder__frame {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-6);
  aspect-ratio: 4 / 5; padding: var(--s-8); border-radius: var(--radius-lg);
  background: var(--gray-50); border: 1px solid var(--border); text-align: center;
}
.founder__frame img { width: 46%; }
.founder__body h2 { margin-bottom: var(--s-6); }
.founder__body p { color: var(--text-muted); max-width: var(--text-max); }
.founder__body .lead { color: var(--text); }

.principle { padding-top: var(--s-6); border-top: 2px solid var(--gray-900); }
.principle__num { display: block; margin-bottom: var(--s-6); font-family: var(--font-display); font-weight: 800; color: var(--red); }
.principle h3 { font-size: var(--fs-h4); margin-bottom: var(--s-3); }
.principle p { color: var(--text-muted); margin: 0; }

/* Contextos de categoria */
.contexts { margin-bottom: var(--s-8); }
.context { padding: var(--s-6); background: var(--gray-50); border-radius: var(--radius-md); }
.context__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: var(--s-6);
  color: var(--red); background: var(--white); border-radius: var(--radius-sm);
}
.context__title { font-size: var(--fs-h4); margin-bottom: var(--s-2); }
.context__text { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

.profiles { margin-bottom: var(--s-10); }
.profiles__title { font-weight: 700; margin-bottom: var(--s-3); }
.profiles__list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.profiles__list li {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: var(--fs-body-sm); font-weight: 500;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
}
.profiles__list .icon { width: 18px; height: 18px; color: var(--red); }

.notice {
  display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 0; padding: var(--s-4) var(--s-5);
  font-size: var(--fs-body-sm); color: var(--text-muted);
  background: var(--gray-50); border-left: 2px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.notice .icon { width: 20px; height: 20px; color: var(--gray-900); margin-top: 1px; }
.admin-note { display: flex; gap: 12px; align-items: center; margin: var(--s-5) 0 0; font-size: var(--fs-body-sm); color: var(--text-muted); }
.admin-note .icon { width: 20px; height: 20px; color: var(--red); }

/* 12. FAQ
   ========================================================================== */
.faq-layout { display: grid; gap: var(--s-8); }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 5fr 7fr; gap: var(--s-20); align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + var(--s-12)); }
}
.faq { border-bottom: 1px solid var(--border); }
.faq__item { border-top: 1px solid var(--border); }
.faq__q { margin: 0; font-size: inherit; letter-spacing: normal; }
.faq__btn {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); width: 100%;
  min-height: 72px; padding: var(--s-5) 0; text-align: left;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35;
  background: none; border: 0;
}
.faq__btn:hover { color: var(--red); }
.faq__icon { position: relative; width: 32px; height: 32px; flex-shrink: 0; border: 1px solid var(--gray-300); border-radius: 50%; transition: background-color var(--dur-card), border-color var(--dur-card); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%); transition: transform var(--dur-card) var(--ease-card);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__icon { background: var(--gray-900); border-color: var(--gray-900); color: var(--white); }
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 var(--s-12) var(--s-6) 0; color: var(--text-muted); max-width: var(--text-max); }
.fr-ready .faq__a {
  grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows 300ms var(--ease-card), visibility 0s linear 300ms;
}
.fr-ready .faq__a.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 300ms var(--ease-card), visibility 0s; }

/* 13. Comparativo
   ========================================================================== */
.compare { margin-bottom: var(--s-6); }
.compare__table { font-size: 0.9375rem; }
.compare__table thead { display: none; }
.compare__table tr { display: block; padding: var(--s-5); margin-bottom: var(--s-3); border: 1px solid var(--border); border-radius: var(--radius-md); }
.compare__table th[scope="row"] { display: block; margin-bottom: var(--s-3); font-family: var(--font-display); font-size: 1.1rem; text-align: left; }
.compare__table td { display: block; padding: var(--s-2) 0; color: var(--text-muted); }
.compare__table td::before { content: attr(data-label); display: block; font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-900); }
@media (min-width: 768px) {
  .compare { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
  .compare__table { table-layout: fixed; }
  .compare__table thead th:first-child { width: 18%; }
  .compare__table thead { display: table-header-group; }
  .compare__table tr { display: table-row; padding: 0; margin: 0; border: 0; }
  .compare__table th, .compare__table td { display: table-cell; padding: var(--s-5) var(--s-6); vertical-align: top; border-top: 1px solid var(--border); text-align: left; }
  .compare__table thead th { border-top: 0; font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; background: var(--gray-50); }
  .compare__table thead th:nth-child(2) { box-shadow: inset 0 3px 0 var(--red); }
  .compare__table th[scope="row"] { display: table-cell; width: auto; margin: 0; font-size: 1rem; }
  .compare__table td::before { display: none; }
  .compare__table td:nth-child(2) { color: var(--gray-900); background: rgba(248, 248, 248, 0.6); }
}

/* 14. Formulário de cotação
   ========================================================================== */
.section--form { scroll-margin-top: var(--header-h); }
.quote { display: grid; gap: var(--s-8); outline: none; scroll-margin-top: var(--s-12); }
@media (min-width: 1024px) {
  .quote { grid-template-columns: 4fr 7fr; gap: var(--s-16); align-items: start; }
  .quote__intro { position: sticky; top: calc(var(--header-h) + var(--s-10)); }
}
.quote__title { font-size: var(--fs-h2); margin-bottom: var(--s-5); }
.quote__text { color: var(--text-muted); font-size: var(--fs-body-lg); }
.quote__assurances { list-style: none; display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.quote__assurances li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; }
.quote__assurances .icon { width: 20px; height: 20px; color: var(--red); margin-top: 2px; }

.quote__panel {
  position: relative; padding: var(--s-6) var(--s-5);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .quote__panel { padding: var(--s-10); } }

.quote__progress { display: none; margin-bottom: var(--s-6); }
.fr-ready .quote__progress { display: block; }
.quote__progress-label { margin: 0 0 var(--s-2); font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.quote__bar { height: 4px; background: var(--gray-100); border-radius: var(--radius-pill); overflow: hidden; }
.quote__bar span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0.33)); transition: transform 500ms var(--ease-reveal); }

.quote__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.quote__step + .quote__step { margin-top: var(--s-10); padding-top: var(--s-10); border-top: 1px solid var(--border); }
.fr-ready .quote__step { display: none; margin: 0; padding: 0; border: 0; }
.fr-ready .quote__step.is-current { display: block; animation: step-in 420ms var(--ease-reveal); }
@keyframes step-in { from { opacity: 0; transform: translate3d(12px, 0, 0); } }
.quote__legend { padding: 0; margin-bottom: var(--s-6); font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; outline: none; }
.quote__hint { color: var(--text-muted); font-size: var(--fs-body-sm); }
.quote__group + .quote__group { margin-top: var(--s-6); }
.quote__group-title { font-weight: 700; margin-bottom: var(--s-3); }
.fr-ready .quote__group:not(.is-active) { display: none; }

.quote__nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-8); }
.quote__nav [data-next], .quote__nav [data-submit] { margin-left: auto; }
.quote__nav [data-next] { display: none; }
.fr-ready .quote__nav [data-next] { display: inline-flex; }
.quote__nav [data-prev] { display: none; }
.fr-ready .quote__nav [data-prev] { display: inline-flex; }
@media (max-width: 559px) {
  .quote__nav { flex-direction: column-reverse; align-items: stretch; }
  .quote__nav .btn { width: 100%; margin-left: 0; }
}

.quote__privacy { display: flex; gap: 10px; margin: var(--s-5) 0 0; font-size: var(--fs-body-sm); color: var(--text-muted); }
.quote__privacy .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--gray-900); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: var(--s-6); padding: var(--s-4) var(--s-5);
  font-size: 0.9375rem; font-weight: 500; color: var(--error);
  background: #FEF3F2; border: 1px solid #F3C7C3; border-radius: var(--radius-sm); outline: none;
}
.form-alert .icon { width: 20px; height: 20px; }
.form-alert--static { margin-bottom: var(--s-8); }

.quote__success { outline: none; animation: step-in 420ms var(--ease-reveal); }
.quote__success-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: var(--s-6);
  color: var(--white); background: var(--success); border-radius: 50%;
}
.quote__success-title { font-size: var(--fs-h3); }
.quote__success p { color: var(--text-muted); max-width: 560px; }
.quote__success-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Campos */
.field { margin: 0 0 var(--s-5); padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 0 var(--s-4); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field__label { display: block; margin-bottom: var(--s-2); padding: 0; font-size: 0.9375rem; font-weight: 600; color: var(--gray-900); }
.field__opt { font-weight: 400; color: var(--text-muted); }
.field__help { margin: var(--s-2) 0 0; font-size: var(--fs-body-sm); color: var(--text-muted); }
.field__error {
  display: flex; gap: 6px; align-items: flex-start; margin: var(--s-2) 0 0;
  font-size: var(--fs-body-sm); font-weight: 600; color: var(--error);
}
.field__error::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; font-size: 0.75rem; color: var(--white); background: var(--error); border-radius: 50%; }

.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 16px;
  font-size: 1rem; line-height: 1.4; color: var(--gray-900);
  background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  transition: border-color var(--dur-button), box-shadow var(--dur-button);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray-500); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: var(--shadow-focus); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border: 2px solid var(--error); padding: 11px 15px; }
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select__icon { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; color: var(--gray-600); }

.choices { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__box {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px;
  font-size: 0.9375rem; font-weight: 500; line-height: 1.3;
  background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-pill);
  transition: border-color var(--dur-button), background-color var(--dur-button), color var(--dur-button), box-shadow var(--dur-button);
  pointer-events: none;
}
.choice:hover .choice__box { border-color: var(--gray-600); }
.choice input:focus-visible + .choice__box { border-color: var(--red); box-shadow: var(--shadow-focus); outline: 2px solid var(--red); outline-offset: 2px; }
.choice input:checked + .choice__box { color: var(--white); background: var(--gray-900); border-color: var(--gray-900); }
.choice input:checked + .choice__box::before {
  content: ""; width: 14px; height: 8px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}
.field.is-invalid .choice__box { border-color: var(--error); }

.choices--cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
@media (min-width: 640px) { .choices--cards { grid-template-columns: repeat(3, 1fr); } }
.choice--card { display: flex; }
.choice--card .choice__box {
  flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--s-3); width: 100%;
  min-height: 104px; padding: var(--s-4); border-radius: var(--radius-md); font-weight: 600;
}
.choice--card .choice__box .icon { color: var(--red); }
.choice--card input:checked + .choice__box { color: var(--gray-900); background: #FFF6F6; border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.choice--card input:checked + .choice__box::before { position: absolute; top: 16px; right: 16px; color: var(--red); }

.check { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 0.9375rem; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.check__box {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px;
  color: transparent; background: var(--white); border: 1.5px solid var(--gray-500); border-radius: 6px;
  transition: background-color var(--dur-button), border-color var(--dur-button), color var(--dur-button);
}
.check__box .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.check input:checked + .check__box { color: var(--white); background: var(--red); border-color: var(--red); }
.check input:focus-visible + .check__box { box-shadow: var(--shadow-focus); outline: 2px solid var(--red); outline-offset: 2px; }
.check a { color: var(--red); font-weight: 600; }
.field--check.is-invalid .check__box { border: 2px solid var(--error); }

/* 15. Contato
   ========================================================================== */
.contact-grid { display: grid; gap: var(--s-10); }
.contact-grid h2 { font-size: var(--fs-h3); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: var(--s-20); } }

.channels { list-style: none; display: grid; }
.channel {
  display: flex; align-items: center; gap: var(--s-4); min-height: 76px; padding: var(--s-4) 0;
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.channels li:first-child .channel { border-top: 1px solid var(--border); }
.channel__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0;
  color: var(--red); background: var(--gray-50); border-radius: 50%;
}
.channel__text { display: flex; flex-direction: column; min-width: 0; }
.channel__label { font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.channel__value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.channel__arrow { margin-left: auto; width: 20px; height: 20px; color: var(--gray-500); transition: transform var(--dur-card) var(--ease-card), color var(--dur-card); }
.channel:hover .channel__arrow { color: var(--red); transform: translateX(3px); }
.channel:hover .channel__value { color: var(--red); }

.channels--dark .channel { border-color: var(--graphite); min-height: 60px; padding: var(--s-3) 0; }
.channels--dark li:first-child .channel { border-top: 0; padding-top: 0; }
.channels--dark .channel__icon { width: 36px; height: 36px; background: var(--graphite); color: var(--white); }
.channels--dark .channel__icon .icon { width: 18px; height: 18px; }
.channels--dark .channel__label { color: var(--gray-500); }
.channels--dark .channel__value { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; color: var(--white); }
.channels--dark .channel:hover .channel__value { color: var(--white); text-decoration: underline; }
.channels__empty { color: var(--text-muted); }

.hours { margin-top: var(--s-8); }
.hours__title { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s-3); font-weight: 700; }
.hours__title .icon { width: 20px; height: 20px; color: var(--red); }
.hours dl { margin: 0; display: grid; gap: 4px; }
.hours dl div { display: flex; justify-content: space-between; gap: var(--s-4); max-width: 360px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.hours dt { color: var(--text-muted); }
.hours dd { margin: 0; font-weight: 600; }
.hours--dark .hours__title { color: var(--white); font-size: var(--fs-body-sm); }
.hours--dark dl div { border-color: var(--graphite); font-size: var(--fs-body-sm); }
.hours--dark dt { color: var(--gray-500); }
.hours--dark dd { color: var(--gray-300); }

.data-note { display: flex; gap: var(--s-5); align-items: flex-start; max-width: 900px; }
.data-note__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; flex-shrink: 0;
  color: var(--red); background: var(--gray-50); border-radius: var(--radius-md);
}
.data-note__title { font-size: var(--fs-h4); margin-bottom: var(--s-3); }
.data-note p { color: var(--text-muted); }

/* 16. CTA final
   ========================================================================== */
/* Após seções claras o respiro superior já existe; após seções escuras é preciso separar os blocos. */
.cta-final { padding: var(--section-pad) 0; background: var(--white); }
.section--light + .cta-final, .section--soft + .cta-final { padding-top: 0; }
.section--soft + .cta-final { background: var(--gray-50); }
.cta-final__box {
  position: relative; overflow: hidden; display: grid; gap: var(--s-8);
  padding: var(--s-12) var(--s-6); color: var(--white); background: var(--black); border-radius: var(--radius-lg);
}
.cta-final__box::before { content: ""; position: absolute; top: 0; left: 0; width: 96px; height: 3px; background: var(--red); }
.cta-final__symbol { position: absolute; right: -6%; bottom: -30%; width: min(60%, 560px); opacity: 0.08; pointer-events: none; transform: translate3d(0, var(--py, 0px), 0); }
.cta-final__content, .cta-final__actions { position: relative; }
.cta-final__title { font-size: var(--fs-h2); margin-bottom: var(--s-4); }
.cta-final__text { color: var(--gray-300); max-width: 560px; margin: 0; font-size: var(--fs-body-lg); }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-content: flex-end; }
@media (min-width: 1024px) {
  .cta-final__box { grid-template-columns: 7fr 5fr; align-items: end; padding: var(--s-20) var(--s-16); }
  .cta-final__actions { justify-content: flex-end; }
}

/* 17. Rodapé
   ========================================================================== */
.site-footer { padding: var(--s-16) 0 calc(var(--s-10) + env(safe-area-inset-bottom)); color: var(--gray-300); background: var(--black); font-size: 0.9375rem; }
.site-footer__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6);
  padding-bottom: var(--s-12); margin-bottom: var(--s-12); border-bottom: 1px solid var(--graphite);
}
.site-footer__cta-title { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); max-width: 640px; }
.site-footer__grid { display: grid; gap: var(--s-10); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--s-12); } }
.site-footer__logo img { width: auto; height: 84px; }
.site-footer__brand p { margin-top: var(--s-6); max-width: 320px; }
.site-footer__title { margin: 0 0 var(--s-4); font-family: inherit; line-height: inherit; font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.site-footer__col ul { list-style: none; margin-bottom: var(--s-8); }
.site-footer__col li a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; transition: color var(--dur-button); }
.site-footer__col li a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.social { list-style: none; display: flex; gap: var(--s-2); margin-top: var(--s-6); }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--white); border: 1px solid var(--gray-700); border-radius: 50%; transition: border-color var(--dur-button), background-color var(--dur-button); }
.social a:hover { border-color: var(--white); background: var(--graphite); }
.social .icon { width: 20px; height: 20px; }
.site-footer__legal { margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--graphite); font-size: var(--fs-body-sm); color: var(--gray-500); }
.site-footer__legal p { margin: 0 0 var(--s-2); max-width: 900px; }
.site-footer__legal .link-btn { color: var(--gray-300); min-height: 32px; }

/* 18. WhatsApp e cookies
   ========================================================================== */
/* Cores oficiais do WhatsApp: o botão precisa ser reconhecido de imediato. */
:root { --whatsapp: #25D366; --whatsapp-dark: #1DA851; }

.wa-float {
  position: fixed; z-index: 50;
  right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; border-radius: 50%;
  transition: transform 300ms var(--ease-reveal), opacity 300ms;
  animation: wa-in 500ms var(--ease-reveal) 900ms both;
}
@keyframes wa-in { from { opacity: 0; transform: translateY(16px) scale(0.85); } }
.wa-float__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; flex-shrink: 0;
  color: var(--white); background: var(--whatsapp); border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background-color var(--dur-button), transform var(--dur-card) var(--ease-card), box-shadow var(--dur-card);
}
.wa-float__btn .icon { width: 32px; height: 32px; }
.wa-float:hover .wa-float__btn { background: var(--whatsapp-dark); transform: scale(1.06); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2); }
.wa-float:active .wa-float__btn { transform: scale(0.96); }
.wa-float:focus-visible { outline: none; box-shadow: none; }
.wa-float:focus-visible .wa-float__btn { outline: 3px solid var(--gray-900); outline-offset: 3px; }

/* Rótulo aparece ao lado do botão no desktop, ao passar o mouse ou focar pelo teclado. */
.wa-float__label {
  display: none; padding: 10px 16px; white-space: nowrap;
  font-size: var(--fs-body-sm); font-weight: 600; color: var(--gray-900);
  background: var(--white); border-radius: var(--radius-pill); box-shadow: var(--shadow-card);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity var(--dur-card), transform var(--dur-card) var(--ease-card);
}
@media (min-width: 1024px) {
  .wa-float { right: 24px; bottom: 24px; }
  .wa-float__label { display: inline-flex; }
  .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
}
.wa-float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; transition: transform 300ms var(--ease-reveal), opacity 300ms, visibility 0s 300ms; }

/* Logo do WhatsApp na cor da marca nos botões e canais. */
.btn .icon--whatsapp, .channel__icon .icon--whatsapp { color: var(--whatsapp); }
.channels--dark .channel__icon .icon--whatsapp { color: var(--whatsapp); }

.consent {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  padding: var(--s-5); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18); animation: step-in 420ms var(--ease-reveal);
}
@media (min-width: 768px) { .consent { left: 24px; right: auto; bottom: 24px; max-width: 440px; } }
.consent__text { font-size: var(--fs-body-sm); color: var(--text-muted); }
.consent__text a { color: var(--red); font-weight: 600; }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: flex-end; }


/* 19. Conteúdos, artigo e páginas de texto
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-10); }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--gray-300); border-radius: var(--radius-pill); transition: border-color var(--dur-button), background-color var(--dur-button);
}
.chip:hover { border-color: var(--gray-900); }
.chip[aria-current] { color: var(--white); background: var(--gray-900); border-color: var(--gray-900); }

.empty { max-width: 680px; padding: var(--s-10) 0; }
.empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: var(--s-6); color: var(--red); background: var(--gray-50); border-radius: var(--radius-md); }
.empty__title { font-size: var(--fs-h3); }
.empty p { color: var(--text-muted); }
.empty__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.post-feature {
  position: relative; display: grid; overflow: hidden; margin-bottom: var(--s-10);
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white);
  transition: border-color var(--dur-card), box-shadow var(--dur-card);
}
.post-feature__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); }
.post-feature__media .media__img { width: 100%; height: 100%; object-fit: cover; }
.post-feature__body { padding: var(--s-8) var(--s-6); display: flex; flex-direction: column; }
.post-feature__title { font-size: var(--fs-h3); }
.post-feature__body p:not(.eyebrow) { color: var(--text-muted); }
@media (min-width: 1024px) { .post-feature { grid-template-columns: 7fr 5fr; } .post-feature__media { aspect-ratio: auto; min-height: 420px; } .post-feature__body { padding: var(--s-12); justify-content: center; } }
@media (hover: hover) { .post-feature:hover { border-color: var(--red); box-shadow: var(--shadow-card); } }

.pagination { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-12); }
.pagination__link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); }
.pagination__link[aria-current] { color: var(--white); background: var(--gray-900); border-color: var(--gray-900); }

.page-head { padding: var(--s-16) 0 var(--s-12); background: var(--gray-50); border-bottom: 1px solid var(--border); }
.page-head__title { font-size: var(--fs-h1); margin-bottom: var(--s-4); }
.page-head__lead { max-width: var(--text-max); color: var(--text-muted); font-size: var(--fs-body-lg); margin: 0; }
.page-head .breadcrumbs, .article__header .breadcrumbs { margin-bottom: var(--s-6); }

.article__header { padding: var(--s-16) 0 var(--s-10); }
.article__title { font-size: var(--fs-h1); }
.article__lead { font-size: var(--fs-body-lg); color: var(--text-muted); max-width: var(--text-max); }
.article__figure { margin-bottom: var(--s-12); }
.article__figure img { width: 100%; border-radius: var(--radius-lg); }
.article__figure figcaption { margin-top: var(--s-3); font-size: var(--fs-body-sm); color: var(--text-muted); }
.article__layout { display: grid; gap: var(--s-12); padding-bottom: var(--section-pad); }
@media (min-width: 1024px) { .article__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-20); } }
.article__aside { align-self: start; }
@media (min-width: 1024px) { .article__aside { position: sticky; top: calc(var(--header-h) + var(--s-10)); } }
.aside-card { padding: var(--s-8); color: var(--white); background: var(--black); border-radius: var(--radius-lg); }
.aside-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: normal; line-height: inherit; color: var(--white); }
.aside-card p { color: var(--gray-300); }
.article__source { font-size: var(--fs-body-sm); color: var(--text-muted); }

.prose { max-width: var(--text-max); font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2em 0 0.6em; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 0.5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--red); font-weight: 600; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-md); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding-left: var(--s-6); border-left: 3px solid var(--red); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }

.legal { display: grid; gap: var(--s-10); }
@media (min-width: 1024px) { .legal { grid-template-columns: 280px minmax(0, 1fr); gap: var(--s-20); } }
.legal__toc { align-self: start; }
@media (min-width: 1024px) { .legal__toc { position: sticky; top: calc(var(--header-h) + var(--s-10)); } }
.legal__toc-title { font-size: var(--fs-caption); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.legal__toc ol { padding-left: 1.2em; display: grid; gap: 4px; }
.legal__toc a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--gray-700); }
.legal__toc a:hover { color: var(--red); }
.legal__body h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__body h2:first-child { margin-top: 0; }
.legal__updated { color: var(--text-muted); font-size: var(--fs-body-sm); margin-top: var(--s-12); }

.testimonial { display: flex; flex-direction: column; gap: var(--s-6); padding: var(--s-8); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); }
.testimonial blockquote { margin: 0; position: relative; padding-top: var(--s-8); }
.testimonial blockquote::before { content: "\201C"; position: absolute; top: -12px; left: 0; font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--red); }
.testimonial blockquote p { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.testimonial figcaption { display: flex; flex-direction: column; font-size: var(--fs-body-sm); }
.testimonial figcaption span { color: var(--text-muted); }
/* Card com altura limitada; o texto completo abre no modal */
.testimonial figcaption { margin-top: auto; }
.testimonial__text { max-height: calc(1.05rem * 1.6 * 6); overflow: hidden; }
.testimonial.is-clamped .testimonial__text { -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.testimonial__more { align-self: flex-start; min-height: 36px; margin-top: calc(var(--s-6) * -1 + var(--s-2)); padding: 0; background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.testimonial__more[hidden] { display: none; }
.testimonial--full { padding: 0; border: 0; background: none; }
.testimonial--full blockquote p + p { margin-top: var(--s-4); }

/* Modal padrão (dialog nativo) */
.modal {
  width: min(640px, calc(100% - 2 * var(--gutter))); max-height: min(85vh, 760px); margin: auto; padding: 0;
  color: var(--text); background: var(--white); border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-card-dark);
  overscroll-behavior: contain;
}
.modal[open] { animation: modal-in 260ms var(--ease-reveal); }
.modal::backdrop { background: rgba(0, 0, 0, 0.55); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.modal__box { position: relative; padding: var(--s-10) var(--s-8) var(--s-8); }
.modal__close {
  position: absolute; top: var(--s-3); right: var(--s-3); display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; color: var(--text); background: none; border: 0; border-radius: var(--radius-sm); cursor: pointer;
}
.modal__close:hover { background: var(--gray-100); }
.modal__status { margin: 0; color: var(--text-muted); }
.modal.is-loading .modal__body { min-height: 120px; }
html.modal-open { overflow: hidden; }
@media (max-width: 639px) { .modal__box { padding: var(--s-12) var(--s-5) var(--s-6); } }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }

/* 20. Movimento
   ========================================================================== */
.js [data-reveal], .js [data-stagger] > * {
  opacity: 0; transform: translate3d(0, var(--reveal-distance), 0);
  transition: opacity var(--dur-reveal) var(--ease-reveal), transform var(--dur-reveal) var(--ease-reveal), border-color var(--dur-card) var(--ease-card), box-shadow var(--dur-card) var(--ease-card);
}
.js:not(.fr-ready) [data-reveal], .js:not(.fr-ready) [data-stagger] > * { animation: failsafe-show 0s 2.5s forwards; }
.js [data-reveal].is-in, .js [data-stagger] > .is-in { opacity: 1; transform: none; }
@media (hover: hover) {
  .js [data-stagger] > .card.is-in:hover { transform: translateY(-5px); }
}

/* Transição curta entre páginas (navegadores compatíveis) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; animation-timing-function: ease; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important;
  }
  .js [data-reveal], .js [data-stagger] > *, .js .hero__title .line__inner,
  .js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .paths, .js .breadcrumbs, .js .sent-icon { opacity: 1; transform: none; }
  .hero__media, .hero__symbol, .feature__media .media__img, .frame .media__img, .cta-final__symbol { transform: none !important; }
  .hero__media .media__img { transform: scale(1.02); }
  .scroll-cue__line::after { display: none; }
  .js .steps__fill { --progress: 1; }
  .js [data-reveal] em { background-size: 100% 0.08em; }
  .manifesto__text .word { opacity: 1 !important; }
}

/* 20b. Seguradoras parceiras e Seguro Auto
   ========================================================================== */
.insurers { overflow: hidden; }
.insurers .section-head { margin-bottom: var(--s-10); }
.insurers__rows { display: grid; gap: var(--s-4); }
.insurers__row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.insurers__track { display: flex; width: max-content; }
.insurers__list { display: flex; gap: var(--s-4); padding-right: var(--s-4); list-style: none; flex-shrink: 0; }
.insurer {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 152px; height: 76px; padding: 14px 18px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: border-color 300ms ease, transform 300ms var(--ease-reveal), box-shadow 300ms ease;
}
.section--light .insurer { background: var(--gray-50); border-color: transparent; }
.insurer img { width: auto; height: auto; max-width: 100%; max-height: 36px; object-fit: contain; }
.insurer__name { font-weight: 700; font-size: var(--fs-body-sm); text-align: center; color: var(--gray-700); }
.insurer--link { padding: 0; }
.insurer--link a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 14px 18px; border-radius: inherit; text-decoration: none; }
@media (hover: hover) {
  .insurer:hover { transform: translateY(-3px); border-color: var(--gray-200); box-shadow: var(--shadow-card); background: var(--white); }
}
@media (min-width: 768px) {
  .insurer { width: 188px; height: 92px; padding: 18px 24px; }
  .insurer img { max-height: 44px; }
  .insurer--link a { padding: 18px 24px; }
}

/* Animação só com JS pronto e sem preferência por movimento reduzido. */
.fr-ready .insurers__track { animation: marquee 80s linear infinite; }
.fr-ready .insurers__row--reverse .insurers__track { animation-direction: reverse; animation-duration: 90s; }
.insurers__rows:hover .insurers__track,
.insurers__rows:focus-within .insurers__track,
.insurers__rows.is-paused .insurers__track,
.insurers__rows.is-offscreen .insurers__track { animation-play-state: paused; }

/* Sem animação: grade estática centralizada, sem as cópias. */
html:not(.fr-ready) .insurers__row, .insurers__rows.is-static .insurers__row { -webkit-mask-image: none; mask-image: none; }
html:not(.fr-ready) .insurers__track, .insurers__rows.is-static .insurers__track { width: auto; justify-content: center; }
html:not(.fr-ready) .insurers__list, .insurers__rows.is-static .insurers__list { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); flex-shrink: 1; }
html:not(.fr-ready) .insurers__list[aria-hidden], .insurers__rows.is-static .insurers__list[aria-hidden] { display: none; }

.insurers__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-6); margin-top: var(--s-8);
}
.insurers__note { margin: 0; color: var(--text-muted); font-size: var(--fs-body-sm); }
.insurers__toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  font: inherit; font-size: var(--fs-body-sm); font-weight: 600; color: var(--gray-700);
  background: transparent; border: 1px solid var(--gray-300); border-radius: var(--radius-pill); cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease;
}
.insurers__toggle:hover { border-color: var(--gray-900); color: var(--gray-900); }
.insurers__toggle .icon { width: 16px; height: 16px; }
.insurers__toggle[hidden] { display: none; }
.insurers__toggle[data-paused="true"] .icon--pause, .insurers__toggle[data-paused="false"] .icon--play { display: none; }

/* Home: introdução ao seguro auto */
.auto-intro__grid { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 1024px) { .auto-intro__grid { grid-template-columns: 5fr 6fr; gap: var(--s-20); } }
.auto-intro__body h2 { margin-bottom: var(--s-6); }
.auto-intro__body .lead { color: var(--text-muted); max-width: var(--text-max); }
.auto-intro__list { list-style: none; display: grid; gap: var(--s-4); margin: var(--s-8) 0; }
.auto-intro__list li { display: flex; gap: var(--s-4); align-items: flex-start; color: var(--text-muted); font-size: 0.9375rem; }
.auto-intro__list strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 2px; }
.auto-intro__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0;
  color: var(--red); background: var(--white); border-radius: var(--radius-sm); box-shadow: 0 1px 0 var(--border);
}
.auto-intro__icon .icon { width: 22px; height: 22px; }
.auto-intro .frame { aspect-ratio: 4 / 5; }
.h2 { font-size: var(--fs-h2); margin: 0; }

/* Coberturas */
.coverages { list-style: none; margin-bottom: var(--s-8); }
.coverage {
  display: flex; gap: var(--s-5); align-items: flex-start; padding: var(--s-6);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: border-color 300ms ease, transform 300ms var(--ease-reveal);
}
@media (hover: hover) { .coverage:hover { border-color: var(--gray-300); transform: translateY(-2px); } }
.section--light .coverage { background: var(--gray-50); border-color: transparent; }
.coverage__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0;
  color: var(--white); background: var(--red); border-radius: var(--radius-sm);
}
.coverage__title { margin: 0 0 6px; font-size: var(--fs-h4); letter-spacing: -0.01em; }
.coverage__text { margin: 0; color: var(--text-muted); font-size: 0.9375rem; }

/* Checklist ao lado do formulário */
.checklist { margin-top: var(--s-8); padding: var(--s-6); background: var(--gray-50); border-radius: var(--radius-md); }
.section--soft .checklist { background: var(--white); }
.checklist__title { margin: 0 0 var(--s-3); font-weight: 700; }
.checklist__list { list-style: none; display: grid; gap: 10px; }
.checklist__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; color: var(--text-muted); }
.checklist__list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--red); flex-shrink: 0; }
.quote__other { margin: var(--s-6) 0 0; font-size: var(--fs-body-sm); color: var(--text-muted); }

/* Destaque do seguro auto no hub de seguros */
.feature--auto { margin-top: 0; }
.feature__link { color: inherit; text-decoration: none; }
.feature__link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  .fr-ready .insurers__track { animation: none; }
  .insurers__row { -webkit-mask-image: none; mask-image: none; }
  .insurers__track { width: auto; justify-content: center; }
  .insurers__list { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); flex-shrink: 1; }
  .insurers__list[aria-hidden] { display: none; }
}

/* 21. Impressão
   ========================================================================== */
@media print {
  .site-header, .mobile-menu, .wa-float, .consent, .insurers__toggle, .cta-final, .site-footer__cta, .quote { display: none !important; }
  body.has-light-top { padding-top: 0; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero__media, .hero__shade, .hero__symbol { display: none; }
}

/* Páginas por cidade */
.cities { padding-block: var(--s-10); }
.cities__box { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.cities__summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) var(--s-6); cursor: pointer; list-style: none; }
.cities__summary::-webkit-details-marker { display: none; }
.cities__summary .icon { flex: none; width: 20px; height: 20px; transition: transform var(--dur-card) var(--ease-card); }
.cities__box[open] .cities__summary .icon { transform: rotate(180deg); }
.cities__title { margin: 0; font-size: var(--fs-h4); }
.cities__list { list-style: none; margin: 0; padding: 0 var(--s-6) var(--s-6); }

/* WhatsApp junto ao formulário */
.quote__whats { margin: var(--s-6) 0 0; }
.aside-card .btn + .btn { margin-top: var(--s-3); }
