/* ==========================================================================
   Asseguro - Corretora de Seguros
   Folha de estilo principal. Implementação fiel ao design do Figma.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --navy: #00008b;
  --yellow: #ffb800;
  --ink: #1a1a1a;
  --muted: #666666;
  --bg-soft: #f7f8fa;
  --footer-muted: #9ca3af;
  --border: #e5e7eb;
  --white: #ffffff;

  --font-display: "Bitter", Georgia, "Times New Roman", serif;
  --font-ui: "Syne", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --gutter: 40px;
  --header-h: 75px;
  --radius-card: 16px;
  --radius-img: 24px;

  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow-img: 0 32px 80px rgba(0, 0, 0, 0.4);
  --shadow-img-soft: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-header: 0 1px 1.5px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Campos de formulário não herdam os números alinhados do body. Sem isto, a
   Syne mostra algarismos de alturas diferentes ao digitar (0, 1 e 2 menores). */
input, select, textarea, button {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

/* Garante que o atributo hidden esconda mesmo quando a classe define display. */
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }

/* --------------------------------------------------------------------------
   3. Utilitários de layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: 80px;
  padding-inline: var(--gutter);
}

.section-tag {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--yellow);
}

.section-title {
  font-size: 48px;
  line-height: 1.15;
  color: var(--ink);
}

.section-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   4. Botões / links de ação
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 500;
  text-align: center;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  font-size: 16px;
  padding: 12px 24px;
}
.btn-primary:hover { background: #f2ab00; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.btn-primary:active { background: #e6a200; transform: translateY(0); }

.btn-primary.btn-lg { font-size: 18px; padding: 16px 32px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}
.btn-ghost .btn-ghost-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn-ghost .btn-ghost-icon svg { width: 12px; height: 12px; }
.btn-ghost:hover .btn-ghost-icon { transform: translateX(3px); background: rgba(255, 255, 255, 0.12); }

/* --------------------------------------------------------------------------
   5. Logo
   -------------------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 40px; width: auto; }
.footer-brand .logo img { height: 44px; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-header);
  transition: transform 0.32s ease;
  will-change: transform;
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 16px 24px;
}
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s ease;
}
.main-nav a:hover { color: var(--navy); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--navy);
  padding-top: calc(var(--header-h) + 53px);
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 72px;
  flex-shrink: 0;
  width: 469px;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.tag-pill .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--yellow);
  flex-shrink: 0;
}
.tag-pill .tag-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.hero-title {
  font-size: 80px;
  line-height: 0.9;
  letter-spacing: -0.8px;
  text-align: right;
  color: var(--white);
}
.hero-title .accent { color: var(--yellow); }

.hero-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 400px;
  align-self: stretch;
  max-height: 371px;
}
.hero-img-glow {
  position: absolute;
  inset: 28px 14px -3px 14px;
  background: rgba(255, 184, 0, 0.1);
  filter: blur(20px);
  border-radius: var(--radius-img);
  z-index: 0;
}
.media {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-img);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #1b1b66 0%, #0a0a3a 100%);
}
.hero .media { box-shadow: var(--shadow-img); height: 371px; }
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.media .img-placeholder span {
  display: inline-flex;
  padding: 7px 15px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.32px;
  text-transform: uppercase;
  color: var(--white);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
  align-self: flex-start;
  padding-top: 43px;
}
.hero-body {
  font-size: 20px;
  line-height: 1.53;
  color: var(--white);
  padding-top: 8px;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 28px;
}

/* --------------------------------------------------------------------------
   8. Numbers
   -------------------------------------------------------------------------- */
.numbers {
  background: var(--white);
  padding-block: 64px;
  padding-inline: var(--gutter);
}
.numbers-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin-inline: auto;
}
.stat {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  width: 1px;
  height: 64px;
  background: var(--border);
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--navy);
}
.stat-number .unit { font-size: 36.4px; }
.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Services
   -------------------------------------------------------------------------- */
.services { background: var(--bg-soft); }
.services-inner {
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: var(--container);
  margin-inline: auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 26px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.13);
}
.service-accent {
  display: block;
  width: 0;
  height: 3px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--yellow);
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-accent { width: 48px; }
.service-card .icon {
  width: 48px;
  height: 48px;
  color: var(--navy);
}
.service-card .icon svg { width: 100%; height: 100%; }
.service-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  padding-top: 16px;
}
.service-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   10. How it works
   -------------------------------------------------------------------------- */
.hiw { background: var(--white); }
.hiw-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: var(--container);
  margin-inline: auto;
}
.hiw-header { text-align: center; display: flex; flex-direction: column; gap: 11px; }
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.hiw-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 11px;
}
/* linha tracejada conectando os passos - do centro de um ícone ao próximo */
.hiw-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;                  /* centro vertical do ícone (80px / 2) */
  left: calc(50% + 40px);     /* centro do ícone + raio (40px) = borda direita */
  width: calc(100% - 32px);   /* (largura da coluna + gap 48px) − 2 × raio (80px) */
  border-top: 2px dashed rgba(255, 184, 0, 0.45);
  z-index: 0;
}
.hiw-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--yellow);
  border-radius: 40px;
  color: var(--ink);
}
.hiw-icon svg { width: 40px; height: 40px; }
.hiw-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--yellow);
  padding-top: 13px;
}
.hiw-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
}
.hiw-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   11. Why Asseguro
   -------------------------------------------------------------------------- */
.why { background: var(--bg-soft); }
.why-inner-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--container);
  margin-inline: auto;
}
.why-head { display: flex; flex-direction: column; gap: 23px; padding-right: 200px; }
.why-title { font-size: 47px; line-height: 1.15; color: var(--ink); }
.why-body { font-size: 18px; line-height: 1.7; color: var(--muted); }
.why-cols {
  display: flex;
  gap: 64px;
  align-items: stretch;
}
.why-media {
  flex: 1 1 0;
  min-width: 0;
}
.why-media .media {
  height: 100%;
  min-height: 451px;
  box-shadow: var(--shadow-img-soft);
  background: linear-gradient(135deg, #d7dbe6 0%, #b9c0d0 100%);
}
.why-items {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: 24px;
}
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--yellow);
  border-radius: 16px;
  color: var(--ink);
}
.why-check svg { width: 20px; height: 20px; }
.why-item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 5px;
}
.why-item-desc { font-size: 16px; line-height: 1.65; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  background: var(--navy);
  padding-block: 80px;
  padding-inline: var(--gutter);
}
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--container);
  margin-inline: auto;
}
.final-cta-text { max-width: 640px; }
.final-cta-title {
  font-size: 48px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
  text-wrap: balance;
}
.final-cta-title .accent { color: var(--yellow); }
.final-cta-body {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}
.final-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--white);
}
.whatsapp-link svg { width: 16px; height: 16px; }
.whatsapp-link:hover { color: var(--yellow); }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  padding-inline: var(--gutter);
}
.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 15px; }
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--footer-muted);
  max-width: 380px;
}
.footer-social { display: flex; gap: 12px; padding-top: 9px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: var(--footer-muted);
  transition: background 0.18s ease, color 0.18s ease;
}
.footer-social a:hover { background: var(--yellow); color: var(--ink); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-contact p {
  font-size: 13px;
  color: var(--footer-muted);
  transition: color 0.18s ease;
}
.footer-contact p { font-size: 14px; line-height: 1.6; }
.footer-links a:hover,
.footer-contact a:hover { color: var(--yellow); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 33px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-copy { font-size: 13px; color: var(--footer-muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--footer-muted); }
.footer-legal a:hover { color: var(--yellow); }

/* --------------------------------------------------------------------------
   14. Responsivo - Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { flex-wrap: wrap; }
  .hero-left { width: 100%; align-items: flex-start; padding-bottom: 0; }
  .hero-title { text-align: left; font-size: 64px; }
  .hero-img-wrap { width: 55%; }
  .hero-right { padding-top: 0; flex-basis: 38%; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-head { padding-right: 0; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-contact-col { grid-column: span 1; }
}

/* --------------------------------------------------------------------------
   15. Responsivo - Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  :root { --gutter: 24px; }

  .section { padding-block: 56px; }

  /* Header / menu */
  .menu-toggle { display: flex; }
  .header-inner { padding: 16px; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    box-shadow: var(--shadow-header);
    padding: 8px 24px 16px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .header-cta { display: none; }

  /* Hero */
  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 48px;
  }
  .hero-inner { flex-direction: column; gap: 32px; padding-inline: var(--gutter); }
  .hero-left { width: 100%; gap: 20px; align-items: flex-start; }
  .tag-pill { max-width: 100%; }
  .tag-pill .tag-label { font-size: 12px; letter-spacing: 1px; white-space: normal; }
  .hero-title { font-size: clamp(3rem, 13vw, 3.75rem); text-align: left; }
  .hero-img-wrap { width: 100%; max-height: none; }
  .hero .media { height: 303px; }
  .hero-right { width: 100%; }
  .hero-body { font-size: 18px; text-align: left; }
  .hero-ctas { align-items: flex-start; width: 100%; }

  /* Numbers 2x2 */
  .numbers-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .stat:not(:last-child)::after { display: none; }
  .stat-number { font-size: 48px; }
  .stat-number .unit { font-size: 30px; }

  /* Services single column */
  .services-grid { grid-template-columns: 1fr; }

  /* How it works stacked */
  .hiw-inner { gap: 40px; }
  .hiw-grid { grid-template-columns: 1fr; gap: 40px; }
  .hiw-step:not(:last-child)::after { display: none; }

  /* Why stacked */
  .why-cols { flex-direction: column; gap: 32px; }
  .why-title { font-size: 34px; }
  .why-media .media { min-height: 260px; }
  .why-items { padding-block: 0; }

  /* Final CTA stacked */
  .final-cta-inner { flex-direction: column; align-items: stretch; gap: 32px; text-align: left; }
  .final-cta-title { font-size: 34px; }
  .final-cta-actions { align-items: flex-start; }

  /* Footer: mostra marca + contato (conforme design mobile) */
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-col--nav,
  .footer-col--seguros { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 380px) {
  .stat-number { font-size: 40px; }
  .stat-number .unit { font-size: 26px; }
}

/* Acessibilidade: respeita preferência de redução de movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   16. Seguradoras parceiras (faixa na seção Números)
   ========================================================================== */
.insurers {
  max-width: var(--container);
  margin-inline: auto;
  margin-bottom: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.insurers-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
/* Carrossel infinito (marquee) com duas faixas idênticas lado a lado */
.insurers-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.insurers-track {
  display: flex;
  width: max-content;
  animation: insurers-scroll 45s linear infinite;
}
.insurers-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-left: 56px; /* mantém o espaçamento na emenda entre as faixas */
}
.insurer-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b4b9c4;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.insurer-logo img {
  max-height: 48px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.insurer-logo:hover img { transform: scale(1.15); }
.insurer-logo-fallback { display: none; }

@keyframes insurers-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Sem animacao: empilha os logos centralizados e oculta a faixa duplicada */
@media (prefers-reduced-motion: reduce) {
  .insurers-track { animation: none; width: auto; }
  .insurers-group { flex-wrap: wrap; justify-content: center; padding-left: 0; }
  .insurers-group[aria-hidden="true"] { display: none; }
  .insurers-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ==========================================================================
   18. Template de página de conteúdo (Seguros)
   ========================================================================== */
.page-hero {
  background: var(--navy);
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 64px;
  padding-inline: var(--gutter);
}
.page-hero-inner { max-width: var(--container); margin-inline: auto; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.65); transition: color 0.18s ease; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.35); }
.breadcrumb [aria-current] { color: var(--white); }
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  color: var(--white);
  margin-top: 14px;
}
.page-hero .lead {
  margin-top: 18px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.seguro {
  background: var(--white);
  padding-block: 64px;
  padding-inline: var(--gutter);
}
.seguro-inner {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.seguro-aside {
  align-self: start;
}
/* Página só de texto (sem imagem lateral), ex.: Sobre */
.seguro-inner--texto { grid-template-columns: minmax(0, 1fr); }
.seguro-inner--texto .seguro-main { max-width: 860px; }
.seguro-figure { margin: 0; }
.seguro-figure .media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img-soft);
  background: linear-gradient(135deg, #dfe3ec 0%, #c3c9d6 100%);
}

/* Navegação inferior: voltar à home + próximo seguro */
.page-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.back-link,
.next-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.18s ease, gap 0.18s ease;
}
.back-link svg,
.next-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--yellow); gap: 12px; }
.next-link:hover { color: var(--yellow); gap: 12px; }

/* Conteúdo editorial (prosa) */
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  line-height: 1.25;
  margin: 40px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin: 30px 0 10px;
}
.prose p {
  font-size: 17px;
  line-height: 1.8;
  color: #3a3a3a;
  margin-bottom: 16px;
}
.prose ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 20px;
}
.prose li {
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  line-height: 1.65;
  color: #3a3a3a;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23ffb800'/%3E%3Cpath d='M6 10l2.5 2.5L14 7' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--yellow); }

/* ==========================================================================
   19. Responsivo das novas seções
   ========================================================================== */
@media (max-width: 720px) {
  /* Carrossel de seguradoras (marquee) */
  .insurers { margin-top: 40px; padding-top: 36px; }
  .insurers-group { gap: 40px; padding-left: 40px; }
  .insurer-logo img { max-height: 38px; max-width: 108px; }

  /* Página de seguro */
  .page-hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 44px; }
  .seguro { padding-block: 48px; }
  .seguro-inner { grid-template-columns: 1fr; gap: 32px; }
  .seguro-aside { position: static; order: -1; }
  .seguro-figure .media { aspect-ratio: 16 / 10; max-height: 280px; }
  .prose h2 { font-size: 24px; }
  .page-nav { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ==========================================================================
   20. Assistência 24h - grid de seguradoras
   ========================================================================== */
.seguradoras {
  background: var(--white);
  padding-block: 64px;
  padding-inline: var(--gutter);
}
.seguradoras-inner { max-width: var(--container); margin-inline: auto; }
.seguradoras-intro { max-width: 760px; margin-bottom: 44px; }
.seguradoras-intro p { font-size: 17px; line-height: 1.8; color: #3a3a3a; }
.seguradoras-intro p + p { margin-top: 14px; }
.seguradoras-intro a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.seguradoras-intro a:hover { color: var(--yellow); }

.seguradoras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}

.insurer-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.insurer-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  margin-bottom: 20px;
}
.insurer-card-logo img { max-height: 48px; max-width: 170px; width: auto; object-fit: contain; }
.insurer-card-logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--ink);
}
.insurer-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}
.insurer-card-desc { flex: 1 1 auto; font-size: 15px; line-height: 1.6; color: var(--muted); }

.insurer-contacts { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.insurer-contacts__inner {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.insurer-card.is-open .insurer-contacts { max-height: 360px; }
.insurer-contact { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.insurer-contact svg { width: 18px; height: 18px; color: var(--navy); flex-shrink: 0; }
.insurer-contact strong { color: var(--navy); font-weight: 600; }

.insurer-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.btn-navy { background: var(--navy); color: var(--white); font-size: 15px; padding: 11px 22px; white-space: nowrap; }
.btn-navy:hover { background: #11118f; transform: translateY(-1px); }
.contacts-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  color: var(--navy);
  transition: color 0.18s ease;
}
.contacts-toggle svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.insurer-card.is-open .contacts-toggle svg { transform: rotate(180deg); }
.contacts-toggle:hover { color: var(--yellow); }

@media (max-width: 720px) {
  .seguradoras { padding-block: 48px; }
  .seguradoras-intro { margin-bottom: 32px; }
}

/* ============================================================
   20. Modal de cotação / contato
   ============================================================ */
.quote-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(92vw, 480px);
  height: fit-content;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border: none;
  border-radius: 20px;
  padding: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.28);
  font-family: var(--font-ui);
}
.quote-dialog::backdrop { background: rgba(10, 12, 30, 0.55); }
.quote-dialog[open] { animation: quote-in 0.22s ease; }
@keyframes quote-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quote-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.quote-dialog__head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
}
.quote-close {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.quote-close:hover { background: var(--bg-soft); color: var(--ink); }

.quote-sub { margin: 8px 0 20px; font-size: 15px; line-height: 1.55; color: var(--muted); }

.quote-form { display: flex; flex-direction: column; gap: 14px; }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-field { display: flex; flex-direction: column; gap: 6px; }
.quote-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.quote-field input,
.quote-field select,
.quote-field textarea {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  width: 100%;
}
.quote-field textarea { resize: vertical; min-height: 84px; }
.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 0, 139, 0.12);
}

/* honeypot anti-spam: fora da tela, invisível para pessoas */
.quote-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.quote-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.quote-consent input { margin-top: 2px; flex: 0 0 auto; }
.quote-consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

.quote-submit { width: 100%; margin-top: 4px; }

.quote-feedback { margin: 4px 0 0; font-size: 14px; line-height: 1.45; min-height: 0; }
.quote-feedback.is-error { color: #b42318; }
.quote-feedback.is-success { color: #067647; }

.quote-alt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); text-align: center; }
.quote-alt__label { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.quote-whats { width: 100%; }
.quote-whats svg { width: 20px; height: 20px; }
.quote-or {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.quote-aggi {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-ui); font-weight: 500; font-size: 14px;
  color: var(--navy); text-decoration: underline;
}
.quote-aggi:hover { color: #11118f; }

@media (max-width: 480px) {
  .quote-dialog { padding: 22px; border-radius: 16px; }
  .quote-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .quote-dialog[open] { animation: none; }
}

/* ============================================================
   21. FAQ das páginas de produto
   ============================================================ */
.faq { margin-top: 48px; }
.faq > h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 8px;
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  color: var(--navy);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
