/* ============================================================
   CRD SEGUROS — pages.css
   Componentes para subpáginas (Sobre Nós, Produtos individuais)
   e para o layout convencional da Home (hero simples, grid de
   produtos, diagnóstico). Usado além de style.css — estende o
   mesmo vocabulário visual (tokens, tipografia, marcador em
   traço, numerais translúcidos, ritmo dark/light).
   ============================================================ */

/* --- BREADCRUMB --------------------------------------------- */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,249,252,0.4);
  margin-bottom: 1.75rem;
}

.page-breadcrumb a {
  color: rgba(247,249,252,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.page-breadcrumb a:hover { color: var(--cyan); }
.page-breadcrumb span { opacity: 0.4; }

/* --- PAGE HERO (dark, sem canvas) ----------------------------- */
.page-hero {
  position: relative;
  z-index: 0; /* cria stacking context próprio: sem isso, o z-index:-1 do
    .hero-bg-video escapava pra um nível bem acima na árvore e o vídeo
    ficava escondido atrás do background-image estático (bug real, não
    percepção — o vídeo nunca apareceu). */
  min-height: 62vh;
  display: flex;
  align-items: center;
  background: var(--blue-deep);
  overflow: hidden;
  padding: 9rem 5vw 5rem;
}

.page-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-hero-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.page-hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white-soft);
  margin-bottom: 1.5rem;
  max-width: 20ch;
}

.page-hero-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(247,249,252,0.6);
  max-width: 56ch;
  margin-bottom: 2.25rem;
}

.page-hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.page-hero-microcopy {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(247,249,252,0.4);
}

/* --- LIGHT CONTENT BLOCKS ------------------------------------- */
.page-block {
  position: relative;
  z-index: 10;
  background: var(--white-soft);
  padding: 6rem 5vw;
}

.page-block--tint { background: #EEF2F8; }

.page-block-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-block-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 1.25rem;
}

.page-block-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--blue-deep);
  margin-bottom: 1.25rem;
  max-width: 26ch;
}

.page-block-body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--gray-text);
  max-width: 62ch;
  margin-bottom: 1rem;
}

.page-block-body:last-of-type { margin-bottom: 0; }

.page-block-header { margin-bottom: 3rem; }

/* --- MISSÃO / VISÃO (editorial, assimétrico) -------------------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
}

.mv-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(11,47,102,0.08);
  border-radius: 4px;
  padding: 2.75rem 2.25rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.mv-card:hover {
  border-color: rgba(53,183,255,0.35);
  box-shadow: 0 20px 50px rgba(11,47,102,0.08);
}

.mv-card-num {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-family: var(--font-body);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(18,87,168,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
}

.mv-card-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
}

.mv-card-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--blue-deep);
  position: relative;
}

/* --- VALORES (chips) -------------------------------------------- */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.value-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid rgba(11,47,102,0.12);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.value-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.value-pill:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201,162,77,0.18);
}

/* --- ESCRITÓRIOS -------------------------------------------------- */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.office-card {
  background: #fff;
  border: 1px solid rgba(11,47,102,0.08);
  border-radius: 4px;
  padding: 2rem;
}

.office-card-city {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

.office-card p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-text);
}

/* --- COBERTURAS (grid de itens, marcador em traço) --------------- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2.5rem;
}

.coverage-item {
  position: relative;
  padding-left: 1.3rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--blue-deep);
  line-height: 1.5;
}

.coverage-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 1px;
  background: var(--cyan);
}

/* --- AUDIÊNCIA (chips "para quem é") ------------------------------ */
.audience-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.audience-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-mid);
  background: rgba(18,87,168,0.06);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

/* --- SUBSEGMENTOS (ex.: Auto = Carro / Moto / Caminhão) ----------- */
.subseg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.subseg-grid--2col { grid-template-columns: repeat(2, 1fr); }

.subseg-card {
  background: #fff;
  border: 1px solid rgba(11,47,102,0.08);
  border-radius: 4px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}

.subseg-card:hover {
  border-color: rgba(53,183,255,0.35);
  transform: translateY(-3px);
}

.subseg-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  display: block;
}

.subseg-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin-bottom: 0.65rem;
}

.subseg-card p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-text);
}

/* --- FAIXA ESCURA (stats / passo a passo reaproveitados) ---------- */
.page-stats-band {
  position: relative;
  z-index: 10;
  background: var(--blue-deep);
  padding: 6rem 5vw;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-stats-band-inner { max-width: 1100px; margin: 0 auto; }

.page-stats-band--bg {
  position: relative;
  background-size: cover;
  background-position: center right;
  padding-top: 7rem;
  padding-bottom: 7rem;
  overflow: hidden;
}

.page-stats-band--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,27,58,0.97) 0%, rgba(7,27,58,0.92) 30%, rgba(7,27,58,0.6) 55%, rgba(7,27,58,0.25) 100%);
  z-index: 1;
}

.page-stats-band--bg .page-stats-band-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .page-stats-band--bg { background-position: center 30%; }
  .page-stats-band--bg::before {
    background: linear-gradient(180deg, rgba(7,27,58,0.75) 0%, rgba(7,27,58,0.93) 55%, rgba(7,27,58,0.97) 100%);
  }
}

/* --- PLANOS (Pet+) -------------------------------------------------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(11,47,102,0.1);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(11,47,102,0.1);
}

.plan-card--featured {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(201,162,77,0.15);
}

.plan-card-badge {
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  background: var(--gold);
  color: var(--blue-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.plan-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

.plan-fit {
  font-size: 0.78rem;
  color: var(--gray-text);
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.plan-price {
  font-family: var(--font-body);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue-mid);
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.plan-price-note {
  font-size: 0.72rem;
  color: var(--gray-text);
  margin-bottom: 0.9rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.plan-features li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-text);
  line-height: 1.5;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background: var(--cyan);
}

.plan-best-for {
  font-size: 0.74rem;
  color: var(--gray-text);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.plan-best-for strong {
  color: var(--blue-deep);
}

.plan-card .btn-secondary { margin-top: auto; }

.plan-card-actions {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.plan-card-actions .btn-secondary { margin-top: 0; }

.plan-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-mid);
  text-decoration: none;
  border: 1px solid rgba(11,47,102,0.15);
  border-radius: 4px;
  padding: 0.6rem 0.9rem;
  margin-top: 0.6rem;
  transition: border-color 0.25s, background 0.25s;
}

.plan-whatsapp-btn:hover,
.plan-whatsapp-btn:focus-visible {
  border-color: var(--cyan);
  background: rgba(53,183,255,0.06);
}

.plan-whatsapp-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* --- DEPOIMENTOS: logo central com bolhas flutuantes ---------------- */
.testimonials-orbit {
  position: relative;
  background: #fff;
  padding: 6rem 5vw 7rem;
  overflow: hidden;
}

.testimonials-orbit::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(11,47,102,0.06) 1px, transparent 1px),
    radial-gradient(ellipse 60% 55% at 50% 44%, rgba(201,162,77,0.16) 0%, transparent 72%);
  background-size: 26px 26px, 100% 100%;
  pointer-events: none;
}

.testimonials-orbit .page-block-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto 1rem;
  max-width: 640px;
}

.testimonials-orbit .page-block-heading { max-width: none; }

.testimonials-orbit .page-block-body {
  max-width: none;
  margin: 0 auto;
}

.orbit-stage {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  height: 1150px;
  margin: 3rem auto 0;
}

.orbit-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--white-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-shadow: 0 0 0 1px rgba(201,162,77,0.35), 0 0 50px rgba(201,162,77,0.2), 0 20px 40px rgba(11,47,102,0.12);
  z-index: 5;
}

.orbit-logo::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(201,162,77,0.25);
  animation: logoPulse 3.2s ease-in-out infinite;
}

.orbit-logo img { width: 100%; height: auto; display: block; }

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.18); opacity: 0; }
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(201,162,77,0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-ring--1 { width: 260px; height: 260px; animation: orbitSpin 50s linear infinite; }
.orbit-ring--2 { width: 420px; height: 420px; border-style: dotted; animation: orbitSpin 70s linear infinite reverse; }

@keyframes orbitSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-spoke {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 210px;
  height: 2px;
  background: linear-gradient(90deg, rgba(201,162,77,0.55), rgba(201,162,77,0));
  transform-origin: 0 50%;
  z-index: 2;
  pointer-events: none;
}

.spoke-1 { transform: rotate(232deg); }
.spoke-2 { transform: rotate(308deg); }
.spoke-3 { transform: rotate(160deg); }
.spoke-4 { transform: rotate(20deg); }
.spoke-5 { transform: rotate(90deg); }

.testimonial-bubble {
  position: absolute;
  width: 300px;
  background: linear-gradient(160deg, #ffffff 0%, #fbfbfe 100%);
  border: 1px solid rgba(11,47,102,0.07);
  border-left: 3px solid var(--gold);
  border-radius: 22px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 20px 40px rgba(11,47,102,0.12), 0 0 0 1px rgba(201,162,77,0.05);
  animation: bubbleFloat 7s ease-in-out infinite;
  transition: border-color 0.3s, box-shadow 0.3s, border-radius 0.3s;
  z-index: 3;
}

.testimonial-bubble:hover {
  transform: translateY(-8px) scale(1.03) !important;
  border-radius: 26px;
  box-shadow: 0 32px 60px rgba(11,47,102,0.18), 0 0 0 1px rgba(201,162,77,0.3);
  z-index: 10;
  animation-play-state: paused;
}

.testimonial-bubble::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border: inherit;
  border-left: none;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.bubble-1 { top: 0; left: 0; animation-delay: 0s; }
.bubble-1::after { bottom: -7px; right: 34px; border-top: none; transform: rotate(45deg); }

.bubble-2 { top: 0; right: 0; animation-delay: 1.4s; }
.bubble-2::after { bottom: -7px; left: 34px; border-top: none; border-right: none; border-left: 3px solid var(--gold); transform: rotate(-45deg); }

.bubble-3 { top: 520px; left: 0; animation-delay: 2.8s; }
.bubble-3::after { top: 50%; right: -7px; margin-top: -7px; border-bottom: none; transform: rotate(45deg); }

.bubble-4 { top: 520px; right: 0; animation-delay: 4.2s; }
.bubble-4::after { top: 50%; left: -7px; margin-top: -7px; border-bottom: none; border-right: none; border-left: 3px solid var(--gold); transform: rotate(-45deg); }

.bubble-5 { bottom: 0; left: calc(50% - 150px); animation-delay: 5.6s; }
.bubble-5::after { top: -7px; left: 50%; margin-left: -7px; border-bottom: none; border-right: none; border-left: 3px solid var(--gold); transform: rotate(135deg); }

.bubble-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 6px 14px rgba(11,47,102,0.3);
}

.bubble-pet {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.bubble-pet-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--gold);
}

.bubble-pet-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue-deep);
}

.bubble-pet-breed {
  font-size: 0.72rem;
  color: var(--gray-text);
}

.bubble-stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.bubble-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--blue-deep);
  margin-bottom: 0.85rem;
}

.bubble-stat-row {
  display: flex;
  gap: 1.5rem;
}

.bubble-stat-num {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.bubble-stat-label {
  font-size: 0.62rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1100px) {
  .orbit-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .orbit-ring, .orbit-spoke { display: none; }
  .orbit-logo { display: none; }
  .testimonial-bubble {
    position: static;
    width: 100%;
    max-width: 420px;
    animation: none;
  }
  .testimonial-bubble::after { display: none; }
  .testimonial-bubble:hover { transform: none !important; }
}

/* --- HERO DA HOME (variante maior do page-hero) ------------------------ */
.page-hero--home {
  min-height: 88vh;
}

/* Hero com foto real (fotos do site anterior/banco de imagens já usado pela CRD) */
.page-hero--photo {
  background-size: cover;
  background-position: center right;
}

/* Vídeo de fundo do hero da Home: fica atrás do degradê azul (::before,
   z-index:1) e do logo grande (z-index:0), mas na frente do background-image
   estático (que continua servindo de poster/fallback instantâneo antes do
   vídeo carregar). Precisa do .page-hero ter z-index próprio (ver acima)
   pra esse -1 valer só dentro da seção, não escapar pra árvore toda. */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  /* O clipe em si tem pouquíssimo movimento perceptível (mãos quase
     paradas), então esse zoom bem lento garante que o hero sempre pareça
     "vivo". Ciclo longo (60s) pra ficar quase imperceptível quadro a
     quadro, sem sensação de corte. */
  animation:
    heroVideoZoom 60s ease-in-out infinite alternate,
    heroVideoFade 18s ease-in-out infinite;
  transform-origin: center 65%;
  will-change: transform, opacity;
  /* Leve blur + saturação escondem artefato de compressão/baixo frame-rate
     do clipe original, que em câmera lenta ficava com aparência de
     "travadinho" quadro a quadro. */
  filter: blur(0.4px) saturate(1.06);
}

@keyframes heroVideoZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

/* Alterna entre o vídeo e a foto estática (que já fica atrás, sempre
   pronta, como background-image do .page-hero): o clipe (hero-loop.mp4,
   ~3.8s) toca só 1 volta, funde pra foto em 2s, segura a foto 10s, funde
   de volta pro vídeo em 2s, repete. Duração total (18s) casada com a
   duração real do clipe pra não repetir o loop antes de trancisionar. */
@keyframes heroVideoFade {
  0%      { opacity: 1; }
  21.1%   { opacity: 1; }
  32.2%   { opacity: 0; }
  87.8%   { opacity: 0; }
  98.9%   { opacity: 1; }
  100%    { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { animation: none; }
}

.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  /* degradê horizontal (legibilidade do texto) + fade vertical no
     rodapé (funde a foto na cor sólida da seção seguinte, sem corte) */
  background:
    linear-gradient(180deg, transparent 0%, transparent 55%, rgba(7,27,58,0.35) 72%, rgba(7,27,58,0.75) 88%, var(--blue-deep) 100%),
    linear-gradient(90deg, rgba(7,27,58,0.97) 0%, rgba(7,27,58,0.9) 32%, rgba(7,27,58,0.55) 58%, rgba(7,27,58,0.22) 100%);
  z-index: 1;
}

/* Logo "CRD" enorme, atrás do degradê escuro (mas acima da foto de
   fundo) — funciona como textura de fundo, não como elemento em
   primeiro plano. Deslocada pro lado direito, vaza pra fora da tela
   (a section corta com overflow). */
.hero-logo-big {
  position: absolute;
  left: 82%;
  top: 58%;
  width: min(76vw, 1200px);
  height: auto;
  z-index: 0;
  pointer-events: none;
  transform-origin: center center;
  --mx: 0px;
  --my: 0px;
  animation: heroLogoFloat 12s ease-in-out infinite;
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translate(-50%, -50%) translate(var(--mx), var(--my)) scale(1); }
  50%      { transform: translate(-50%, -52%) translate(var(--mx), var(--my)) scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-big { animation: none; }
}

.page-hero--home .page-hero-heading { max-width: 24ch; }

@media (max-width: 900px) {
  .hero-logo-big {
    left: 60%;
    top: 68%;
    width: min(140vw, 900px);
  }
}

/* --- GRID DE PRODUTOS (estilo cards, referência: corretoras de mercado) - */
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(11,47,102,0.08);
  border-radius: 6px;
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(11,47,102,0.1);
  border-color: rgba(53,183,255,0.35);
}

.product-card-num {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(18,87,168,0.18);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.product-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin-bottom: 0.6rem;
}

.product-card-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-text);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-card .btn-secondary { margin-top: 0; }

/* --- ÁREAS DA VIDA (carrossel de banners, navegação manual) ------------- */
.areas-carousel {
  position: relative;
  background: var(--blue-deep);
  padding: 5rem 0 4rem;
}

.areas-carousel-head {
  max-width: 640px;
  padding: 0 5vw;
  margin-bottom: 2.5rem;
}

.areas-carousel-viewport {
  position: relative;
  overflow: hidden;
}

.areas-carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease-out-expo);
}

.area-slide {
  flex: 0 0 100%;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
}

.area-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,27,58,0.95) 0%, rgba(7,27,58,0.55) 45%, rgba(7,27,58,0.15) 100%);
}

.area-slide-inner {
  position: relative;
  z-index: 1;
  padding: 2.75rem 6vw 3rem;
  max-width: 640px;
}

.area-slide-num {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.area-slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white-soft);
  margin-bottom: 0.85rem;
}

.area-slide-body {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(247,249,252,0.7);
  max-width: 54ch;
  margin-bottom: 1.25rem;
}

.areas-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(7,27,58,0.5);
  color: var(--white-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  z-index: 2;
}

.areas-carousel-arrow:hover {
  background: rgba(7,27,58,0.85);
  border-color: rgba(255,255,255,0.5);
}

.areas-carousel-prev { left: 1.25rem; }
.areas-carousel-next { right: 1.25rem; }

.areas-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.areas-carousel-dot {
  width: 26px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s;
}

.areas-carousel-dot.is-active { background: var(--cyan); }

/* --- RESPONSIVO ------------------------------------------------------ */
@media (max-width: 900px) {
  .page-hero { min-height: auto; padding: 8rem 6vw 4rem; }
  .page-hero--home { min-height: auto; }
  .mv-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .subseg-grid,
  .subseg-grid--2col { grid-template-columns: 1fr; }
  .product-card-grid { grid-template-columns: repeat(2, 1fr); }
  .page-block { padding: 4.5rem 6vw; }
  .page-stats-band { padding: 4.5rem 6vw; }
  .area-slide { min-height: 420px; }
}

@media (max-width: 560px) {
  .proof-card { padding: 1.75rem; }
  .product-card-grid { grid-template-columns: 1fr; }
  .areas-carousel-head { padding: 0 6vw; }
  .area-slide { min-height: 460px; }
  .area-slide-inner { padding: 2rem 6vw 2.25rem; }
  .areas-carousel-arrow {
    top: 1.5rem;
    transform: none;
    width: 36px;
    height: 36px;
  }
}

/* --- CONTEÚDO LEGAL (política de privacidade, termos de uso) ------- */
.legal-content {
  max-width: 72ch;
}

.legal-content .legal-updated {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--blue-deep);
  margin: 2.75rem 0 1rem;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--gray-text);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--gray-text);
  margin-bottom: 0.4rem;
}

.legal-content strong { color: var(--blue-deep); }

/* ============================================================
   HOME INSTITUCIONAL (set/2026) — componentes novos
   Faixa de confiança, públicos, processo, seguradoras, sobre e
   contato. Mesmo vocabulário: numerais translúcidos, marcador em
   traço cyan, cards brancos com borda azul suave.
   ============================================================ */

/* --- FAIXA DE CONFIANÇA (logo abaixo do hero, fundo escuro) ----- */
.trust-strip {
  position: relative;
  z-index: 10;
  background: var(--blue-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 2.75rem 5vw;
}

.trust-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.9rem;
  row-gap: 0.25rem;
  align-items: start;
}

.trust-item-icon {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(53,183,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.trust-item-icon svg { width: 18px; height: 18px; }

.trust-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-soft);
  line-height: 1.3;
}

.trust-item-desc {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(247,249,252,0.5);
  line-height: 1.55;
}

/* --- PARA QUEM TRABALHAMOS (3 cards editoriais) ------------------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.audience-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(11,47,102,0.08);
  border-top: 3px solid var(--blue-main);
  border-radius: 4px;
  padding: 2.5rem 2rem 2rem;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s, border-color 0.3s;
}

.audience-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--cyan);
  box-shadow: 0 24px 50px rgba(11,47,102,0.10);
}

.audience-card-num {
  position: absolute;
  top: -0.4rem;
  right: 1rem;
  font-size: 5.5rem;
  font-weight: 800;
  color: rgba(18,87,168,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
}

.audience-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.9rem;
  position: relative;
}

.audience-card-text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-text);
  flex: 1;
  position: relative;
}

.audience-card .btn-secondary { margin-top: 1.5rem; }

/* --- COMO TRABALHAMOS (copy + 4 passos numerados) ----------------- */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
}

.process-copy .page-block-heading { max-width: 18ch; }
.process-copy .btn-primary { margin-top: 1rem; }

.process-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(11,47,102,0.1);
}

.process-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(11,47,102,0.1);
}

.process-step-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: rgba(18,87,168,0.22);
  line-height: 1;
  letter-spacing: -0.04em;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 0.4rem;
}

.process-step-text {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-text);
}

/* --- SEGURADORAS PARCEIRAS (parede tipográfica) ------------------- */
.insurers-section {
  position: relative;
  z-index: 10;
  background: var(--white-soft);
  padding: 6rem 5vw;
  border-top: 1px solid rgba(11,47,102,0.06);
}

.insurers-inner { max-width: 1100px; margin: 0 auto; }

.insurers-header { text-align: center; }
.insurers-header .page-block-heading,
.insurers-header .page-block-body { margin-left: auto; margin-right: auto; }

.insurers-wall {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.insurer-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 1rem;
  transition: transform 0.3s;
}

.insurer-cell:hover { transform: translateY(-3px); }

.insurer-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-main);
}

.insurer-cell img {
  max-width: 85%;
  max-height: 88px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}

.insurer-cell:hover img { filter: none; opacity: 1; }

.insurers-note {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--gray-text);
  margin-top: 2.5rem;
}

/* --- SOBRE A CRD (copy + escritórios) ----------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.about-copy .page-block-heading { max-width: 22ch; }

.offices-grid--about { grid-template-columns: 1fr; gap: 1rem; }

.about-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-map-video {
  width: 100%;
  height: auto;
  max-width: 720px;
}

/* --- CONTATO (canais + formulário em card) ------------------------ */
.contact-section {
  position: relative;
  z-index: 10;
  background: var(--white-soft);
  padding: 6rem 5vw;
  border-top: 1px solid rgba(11,47,102,0.06);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-channels {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(11,47,102,0.1);
}

.contact-channel-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.3rem;
}

.contact-channel a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(11,47,102,0.15);
  transition: border-color 0.2s, color 0.2s;
}

.contact-channel a:hover { color: var(--blue-mid); border-color: var(--blue-mid); }

.contact-copy,
.contact-form-card { min-width: 0; } /* itens de grid não podem crescer além da coluna */

.contact-form-card {
  background: #fff;
  border: 1px solid rgba(11,47,102,0.08);
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 24px 60px rgba(11,47,102,0.08);
}

.contact-form-card .lead-question { font-size: clamp(1.2rem, 1.8vw, 1.6rem); margin-bottom: 1.5rem; }

.form-group textarea {
  width: 100%;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid rgba(11,47,102,0.15);
  border-radius: 2px;
  padding: 0.9rem 1.1rem;
  outline: none;
  resize: vertical;
  min-height: 110px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(18,87,168,0.08);
}

.form-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gray-text);
}

.form-privacy {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--gray-text);
  margin-top: 1rem;
}

.form-privacy a { color: var(--blue-mid); }

/* --- RESPONSIVO ------------------------------------------------- */
@media (max-width: 1000px) {
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .process-layout,
  .about-layout,
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .insurers-wall { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .trust-strip-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .insurers-wall { grid-template-columns: repeat(2, 1fr); }
  .insurer-cell { min-height: 84px; }
  .insurer-name { font-size: 0.9rem; }
  .contact-form-card { padding: 1.5rem; }
  .process-step { grid-template-columns: 2.5rem 1fr; }
}

/* ---------------------------------------------------------------- 404
   Serve as duas marcas: todas as cores saem dos tokens, então a
   Personalitté herda a própria paleta sem uma linha a mais. */
.nf-codigo {
  font-family: var(--font-display); font-size: clamp(56px, 11vw, 104px);
  font-weight: 800; letter-spacing: -.06em; line-height: .9;
  color: var(--gold); opacity: .22; margin: 0 0 6px;
}
.nf-acoes { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.nf-grade {
  margin-top: 34px; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
}
.nf-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 19px; border: 1px solid var(--line); border-radius: 3px;
  text-decoration: none; color: var(--paper); font-size: 14px; font-weight: 500;
  letter-spacing: -.01em; transition: border-color .2s, transform .2s;
}
.nf-item::after { content: '↗'; color: var(--gold); font-size: 13px; opacity: .6; }
.nf-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.nf-item:hover::after { opacity: 1; }
.nf-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.nf-pe { margin: 30px 0 0; font-size: 13px; color: var(--muted); }
.nf-pe a { color: var(--gold); }

@media (max-width: 560px) {
  .nf-acoes { gap: 12px; }
  .nf-acoes .btn-primary, .nf-acoes .btn-secondary { flex: 1 1 100%; text-align: center; }
  .nf-grade { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .nf-item { transition: none; } }

/* ------------------------------------------------------------ consentimento
   Faixa no rodapé, não cortina sobre a página: a lei exige escolha livre,
   não refém. Todas as cores vêm dos tokens, então serve as duas marcas. */
.ck-faixa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 8000;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 18px max(20px, 6vw); background: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 -18px 50px rgba(0,0,0,.35);
  transform: translateY(102%); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.ck-faixa.aberta { transform: none; }
.ck-texto { flex: 1 1 340px; min-width: 0; }
.ck-titulo { margin: 0; font-size: 14px; font-weight: 600; color: var(--paper);
  letter-spacing: -.01em; }
.ck-sub { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.ck-sub a { color: var(--gold); }

.ck-acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.ck-btn { font: 700 11px/1 'Manrope', sans-serif; letter-spacing: .1em;
  text-transform: uppercase; padding: 13px 26px; border-radius: 40px;
  cursor: pointer; border: 1px solid var(--gold); transition: background .2s, color .2s; }
.ck-aceitar { background: var(--gold); color: var(--ink); }
.ck-aceitar:hover { background: var(--gold-hover, #edc77b); }
.ck-recusar { background: transparent; color: var(--paper); }
.ck-recusar:hover { background: rgba(244,243,240,.09); }
.ck-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

@media (max-width: 620px) {
  .ck-faixa { gap: 14px; padding: 16px 20px 20px; }
  .ck-acoes { margin-left: 0; width: 100%; }
  .ck-btn { flex: 1; padding: 14px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-faixa { transition: none; }
}

/* ------------------------------------------------- linhas de produto Pet+
   Duas estruturas de cobertura, não sete degraus. O bloco existe para que a
   diferença seja lida ANTES dos preços — é ela que evita a compra errada. */
.plan-family { margin-top: 2.5rem; }
.plan-family:first-of-type { margin-top: 1.5rem; }
.plan-family-tag {
  margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gold-dark, #86631e);
}
.plan-family-title {
  margin: .4rem 0 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600;
  letter-spacing: -.03em; line-height: 1.2;
}
.plan-family-desc {
  margin: .6rem 0 1.6rem; font-size: 13.5px; line-height: 1.7;
  max-width: 62ch; color: var(--gray-text, #626a78);
}
/* auto-fill em vez de auto-fit: com 3 e com 4 cartões a coluna tem a mesma
   largura, e as duas linhas ficam visualmente irmãs em vez de desiguais. */
.plan-family .plans-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(238px, 100%), 1fr));
  align-items: stretch;
}
.plan-family-nota {
  margin: 1.4rem 0 0; padding: 14px 18px; border-left: 3px solid var(--gold-dark, #86631e);
  background: rgba(215,169,79,.10); border-radius: 0 4px 4px 0;
  font-size: 13px; line-height: 1.65; max-width: 78ch;
}
.plan-family-nota strong { font-weight: 700; }

@media (max-width: 620px) {
  .plan-family { margin-top: 2rem; }
  .plan-family .plans-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------- "o que está coberto" (Pet+)
   Quatro colunas no desktop; no celular cada linha vira um bloco com os
   rótulos aparecendo, porque cabeçalho de tabela some da vista ao rolar. */
.cob-abrir {
  display: block; width: 100%; margin: 1rem 0 0; padding: 11px 14px;
  background: none; border: 1px dashed var(--line-ink, rgba(18,25,44,.28));
  border-radius: 4px; cursor: pointer;
  font: 600 12px/1 'Manrope', sans-serif; letter-spacing: .04em;
  color: var(--gold-dark, #86631e); transition: border-color .18s, background .18s;
}
.cob-abrir:hover { border-color: var(--gold-dark, #86631e); background: rgba(215,169,79,.08); }
.cob-abrir:focus-visible { outline: 2px solid var(--gold-dark, #86631e); outline-offset: 2px; }

/* ⚠️ O `display` PRECISA ser preso ao [open].
   O navegador esconde diálogo fechado com `dialog:not([open]){display:none}`,
   mas regra de autor vence regra de navegador: um `display:flex` solto aqui
   mantém o painel desenhado depois de fechado — o fundo escuro some e a
   janela fica na tela. Foi exatamente o bug relatado. */
.cob-dialogo:not([open]) { display: none; }

.cob-dialogo[open] {
  /* NÃO declarar `position` aqui: o navegador dá `position: fixed` a um
     <dialog> aberto com showModal(), e sobrescrever devolve ele ao fluxo da
     página — a janela passa a rolar junto com o site. O botão de fechar já
     se ancora no diálogo, porque um dialog modal é elemento posicionado. */
  margin: auto; z-index: 9000;
  width: min(880px, 94vw); max-height: 88vh; padding: 0; border: 0;
  border-radius: 6px; background: #fff; color: #12192c;
  box-shadow: 0 30px 90px rgba(0,0,0,.4);
  display: flex; flex-direction: column; overflow: hidden;
}
.cob-dialogo[open]::backdrop { background: rgba(10,14,26,.72); }
.cob-fechar-form { position: absolute; top: 0; right: 0; margin: 0; }
.cob-fechar {
  width: 44px; height: 44px; font-size: 26px; line-height: 1; cursor: pointer;
  background: none; border: 0; color: #626a78;
}
.cob-fechar:hover { color: #12192c; }
.cob-fechar:focus-visible { outline: 2px solid #86631e; outline-offset: -4px; }

.cob-topo { flex: 0 0 auto; padding: 26px 28px 18px;
  border-bottom: 1px solid rgba(18,25,44,.10); }
.cob-etiqueta { margin: 0; font-size: 9.5px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: #86631e; }
.cob-titulo { margin: 7px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.cob-preco { margin: 3px 0 0; font-size: 15px; font-weight: 700; color: #86631e; }
.cob-resumo { margin: 10px 0 0; font-size: 13.5px; line-height: 1.6; color: #626a78; max-width: 62ch; }

.cob-corpo { padding: 4px 28px 18px; overflow-y: auto;
  flex: 1 1 auto; min-height: 0; }
.cob-cabeca, .cob-linha {
  display: grid; grid-template-columns: 2fr 1.7fr 1.1fr 1.3fr; gap: 14px;
  padding: 11px 0; align-items: start;
}
.cob-cabeca {
  position: sticky; top: 0; background: #fff; z-index: 1;
  border-bottom: 1px solid rgba(18,25,44,.18);
  font-size: 9.5px; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: #8d95a3;
}
.cob-linha { border-bottom: 1px solid rgba(18,25,44,.08); font-size: 13.5px; line-height: 1.5; }
.cob-linha:last-of-type { border-bottom: 0; }
.cob-oque { font-weight: 600; }
.cob-valor, .cob-vezes, .cob-quando { color: #626a78; }
.cob-rotulo { display: none; }

.cob-nao { margin-top: 18px; padding: 14px 17px; border-radius: 4px;
  background: rgba(166,63,51,.07); border-left: 3px solid #a63f33; }
.cob-nao-titulo { margin: 0 0 7px; font-size: 10px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #a63f33; }
.cob-nao ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.7; color: #3d4657; }

.cob-rodape { margin: 18px 0 0; font-size: 12.5px; line-height: 1.6; color: #626a78; }

.cob-acoes {
  flex: 0 0 auto;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 17px 28px; border-top: 1px solid rgba(18,25,44,.10); background: #faf9f6;
}
.cob-cancelar {
  margin-left: auto; background: none; border: 0; cursor: pointer;
  font: 600 12.5px 'Manrope', sans-serif; color: #626a78; padding: 8px 4px;
}
.cob-cancelar:hover { color: #12192c; }

@media (max-width: 720px) {
  .cob-dialogo[open] { width: 100vw; max-width: 100vw; max-height: 92vh; border-radius: 6px 6px 0 0; margin: auto 0 0; }
  .cob-topo, .cob-corpo, .cob-acoes { padding-left: 18px; padding-right: 18px; }
  .cob-cabeca { display: none; }
  .cob-linha { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .cob-rotulo { display: block; font-size: 9px; font-weight: 800; letter-spacing: .13em;
    text-transform: uppercase; color: #8d95a3; margin-bottom: 2px; }
  .cob-acoes .btn-primary, .cob-acoes .btn-secondary { flex: 1 1 100%; text-align: center; }
  .cob-cancelar { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cob-abrir { transition: none; } }

/* Rede de segurança: navegador sem showModal() abre o <dialog> em fluxo
   normal, e aí qualquer cartão com z-index passa por cima dele. Esta classe
   devolve o comportamento de janela — inclusive o fundo escurecido, que o
   ::backdrop só desenha em diálogo modal de verdade. */
.cob-sem-modal {
  position: fixed; inset: 0; margin: auto;
}
.cob-veu {
  position: fixed; inset: 0; z-index: 8999; background: rgba(10,14,26,.72);
}

/* ------------------------------------------- entrada por necessidade (Pet+)
   Quatro portas, cada uma com a necessidade dita na voz do tutor. A numeração
   aqui NÃO é sequência: é só ordem de leitura, do mais simples ao mais amplo. */
.portas {
  display: grid; gap: 10px; margin-top: 8px;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}
.porta {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 20px 18px; text-decoration: none;
  border: 1px solid var(--line-ink, rgba(18,25,44,.14)); border-radius: 5px;
  background: #fff; color: inherit;
  transition: border-color .18s, transform .18s;
}
.porta:hover { border-color: var(--gold, #d7a94f); transform: translateY(-2px); }
.porta:focus-visible { outline: 2px solid var(--gold-dark, #86631e); outline-offset: 3px; }
.porta-num {
  font: 700 10px/1 'Manrope', sans-serif; letter-spacing: .14em;
  color: var(--gold-dark, #86631e);
}
.porta-titulo {
  font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25;
  color: var(--ink, #12192c);
}
.porta-texto { font-size: 13px; line-height: 1.6; color: var(--gray-text, #626a78); }
.porta-planos {
  margin-top: auto; padding-top: 12px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .02em; color: var(--gold-dark, #86631e);
  border-top: 1px solid var(--line-ink-soft, rgba(18,25,44,.08));
}
.porta-planos::after { content: ' ↓'; }

/* a submarca herda a própria paleta */
.personalitte .porta { background: rgba(244,243,240,.04); border-color: var(--line, rgba(215,169,79,.22)); }
.personalitte .porta-titulo { color: var(--paper, #f4f3f0); }
.personalitte .porta-texto { color: var(--muted, #bab4aa); }
.personalitte .porta-num,
.personalitte .porta-planos { color: var(--gold, #d7a94f); }

@media (max-width: 620px) { .portas { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .porta { transition: none; } }

/* o cartão de plano recebe destaque quando chega por uma das portas */
.plan-card:target {
  outline: 2px solid var(--gold, #d7a94f); outline-offset: 4px;
  border-radius: 4px;
}

/* ------------------------------------------------------------- FAQ (Pet+)
   ⚠️ Esta seção vive em `.page-block`, que tem `background: var(--ink)` —
   FUNDO ESCURO. Só `.page-block--tint` é claro. As cores abaixo são para
   fundo escuro nas duas marcas; a Personalitté só tem o dourado diferente.

   <details> nativo: abre sem JavaScript, o navegador já trata teclado e
   leitor de tela, e o buscador enxerga a resposta mesmo fechada. */
.faq { margin-top: 6px; border-top: 1px solid rgba(244,243,240,.20); }
.faq-item { border-bottom: 1px solid rgba(244,243,240,.12); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 19px 44px 19px 0; position: relative;
  font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.4;
  color: var(--paper, #f4f3f0);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; line-height: 1; color: var(--gold, #d7a94f);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--gold, #d7a94f); }
.faq-item summary:focus-visible { outline: 2px solid var(--gold, #d7a94f); outline-offset: -2px; }
.faq-resposta {
  padding: 0 44px 20px 0; font-size: 14.5px; line-height: 1.75;
  color: var(--muted, #aeb6c7); max-width: 68ch;
}
.faq-resposta strong { color: var(--paper, #f4f3f0); font-weight: 600; }

@media (max-width: 620px) {
  .faq-item summary { font-size: 15px; padding-right: 36px; }
  .faq-resposta { padding-right: 0; font-size: 14px; }
}

/* ---------------------------------------------------------------- DUAS JORNADAS
   Vive dentro de `.page-block`, que tem FUNDO ESCURO (só `.page-block--tint`
   é claro). As cores abaixo são de fundo escuro nas duas marcas.

   A seção nasce com `hidden` no HTML e só deve ser publicada quando a Meu Pet
   Club entregar o texto oficial da jornada referenciada, o canal de
   acionamento e a regra de pagamento. Não tire o `hidden` antes disso. */
.jornadas {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px; margin-top: 6px;
}
.jornada {
  border: 1px solid rgba(244,243,240,.16); border-radius: 14px;
  padding: 26px 24px 28px; background: rgba(244,243,240,.035);
  min-width: 0; display: flex; flex-direction: column;
}
.jornada--central { border-color: rgba(215,169,79,.42); background: rgba(215,169,79,.06); }
.jornada-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold, #d7a94f); margin: 0 0 10px;
}
.jornada-titulo {
  font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25;
  color: var(--paper, #f4f3f0); margin: 0 0 8px;
}
.jornada-quando {
  font-size: 14px; line-height: 1.6; color: var(--muted, #aeb6c7);
  margin: 0 0 20px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(244,243,240,.12);
}
.jornada-passos {
  list-style: none; counter-reset: passo; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.jornada-passos li {
  counter-increment: passo; position: relative; padding-left: 38px;
  font-size: 14.5px; line-height: 1.65; color: var(--muted, #aeb6c7);
}
.jornada-passos li::before {
  content: counter(passo); position: absolute; left: 0; top: -1px;
  width: 25px; height: 25px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; line-height: 1;
  color: var(--gold, #d7a94f); border: 1px solid rgba(215,169,79,.45);
}
.jornada-passos li strong { color: var(--paper, #f4f3f0); font-weight: 600; }
.jornada-aviso {
  margin: 22px 0 0; padding: 16px 18px; border-radius: 12px;
  border-left: 3px solid var(--gold, #d7a94f); background: rgba(244,243,240,.05);
  font-size: 14px; line-height: 1.7; color: var(--muted, #aeb6c7); max-width: 72ch;
}
.jornada-aviso strong { color: var(--paper, #f4f3f0); font-weight: 600; }

@media (max-width: 620px) {
  .jornada { padding: 22px 18px 24px; }
  .jornada-titulo { font-size: 18px; }
  .jornada-passos li { font-size: 14px; padding-left: 34px; }
}

/* ------------------------------------------------------- SEÇÃO CARÊNCIAS
   Vive em `.page-block--tint`, que é CLARO na CRD e ESCURO na Personalitté.
   Por isso nada aqui fixa cor de texto: tudo herda, e as bordas usam
   `currentColor` diluído — assim o mesmo CSS serve às duas marcas. O
   fallback cinza vem antes do color-mix para navegador que não o suporte. */
.carencia-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 40px; align-items: start; margin-top: 8px;
}
.carencia-quadro-titulo {
  margin: 0 0 18px; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--gold, #d7a94f);
}
.carencia-lista { list-style: none; margin: 0; padding: 0; }
.carencia-item {
  padding: 18px 0;
  border-top: 1px solid rgba(128, 128, 128, .28);
  border-top-color: color-mix(in srgb, currentColor 22%, transparent);
}
.carencia-item:last-child { padding-bottom: 0; }
.carencia-item-titulo {
  display: block; font-size: 16px; font-weight: 600;
  letter-spacing: -.015em; line-height: 1.35; margin-bottom: 5px;
}
.carencia-item-texto {
  display: block; font-size: 14px; line-height: 1.7; opacity: .78; max-width: 62ch;
}
.carencia-acao {
  padding: 30px 28px; border-radius: 16px;
  border: 1px solid rgba(128, 128, 128, .28);
  border-color: color-mix(in srgb, currentColor 20%, transparent);
  background: rgba(128, 128, 128, .06);
  background: color-mix(in srgb, currentColor 5%, transparent);
}
.carencia-acao-texto { margin: 0 0 22px; font-size: 15px; line-height: 1.7; }
.carencia-acao .btn-primary { width: 100%; text-align: center; }
.carencia-nota {
  margin: 16px 0 0; font-size: 12.5px; line-height: 1.6; opacity: .68;
}

@media (max-width: 860px) {
  .carencia-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 620px) {
  .carencia-acao { padding: 24px 20px; }
  .carencia-item-titulo { font-size: 15px; }
}

/* --------------------------------------------------------------- PILARES
   Os quatro motivos no alto de /produtos/pet. Classes próprias porque
   `.subseg-card` também veste produtos/seguro-auto.html.

   A seção é `.page-block` puro, ou seja FUNDO ESCURO nas duas marcas
   (`--ink`: #12192c na CRD, #0a0b0b na Personalitté). Cores escritas para
   escuro; só `.page-block--tint` é o caso claro.

   Duas tentativas morreram aqui e ficam registradas para não voltarem:
   um anel dourado vazando pelo canto virava um entalhe de quarto de círculo,
   que lia como defeito de render; e escalonar a coluna da direita, com as
   linhas da grade esticando os cartões, abria espaço morto no pé de cada um.
   O que ficou: brilho radial em vez de traço, e grade alinhada. */
.pilares-topo {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px; align-items: center; margin-bottom: 54px;
}
.pilares-intro {
  margin: 0; padding-left: 26px; max-width: 46ch;
  border-left: 1px solid rgba(215, 169, 79, .38);
  font-size: 14px; line-height: 1.9; color: var(--muted, #aeb6c7);
}
.pilares-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.pilar {
  position: relative; min-width: 0; isolation: isolate;
  padding: 34px 32px 36px; border-radius: 14px;
  border: 1px solid rgba(215, 169, 79, .15);
  background:
    radial-gradient(430px 250px at 86% -18%, rgba(215, 169, 79, .11), transparent 62%),
    linear-gradient(158deg, rgba(244, 243, 240, .062), rgba(244, 243, 240, .012) 60%);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
/* fio dourado no topo, forte à esquerda e sumindo à direita: é o detalhe que
   dá direção de leitura a um cartão que, sem ele, é só um retângulo */
.pilar::after {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, rgba(215, 169, 79, .85), rgba(215, 169, 79, .12) 42%, transparent 78%);
  transition: opacity .3s; opacity: .75;
}
.pilar-titulo {
  position: relative; margin: 0 0 13px; padding-left: 21px;
  font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3;
  color: var(--paper, #f4f3f0);
}
.pilar-titulo::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--gold, #d7a94f);
}
.pilar-texto {
  margin: 0; max-width: 46ch;
  font-size: 14px; line-height: 1.85; color: var(--muted, #aeb6c7);
}

/* toque não tem hover: no celular o primeiro toque viraria "passar o dedo"
   e o segundo o clique, que foi justamente o bug do trilho de cartões */
@media (hover: hover) and (pointer: fine) {
  .pilar:hover {
    transform: translateY(-3px); border-color: rgba(215, 169, 79, .40);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .28);
  }
  .pilar:hover::after { opacity: 1; }
}

@media (max-width: 900px) {
  .pilares-topo { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 38px; }
  .pilares-intro { padding-left: 20px; }
  .pilares-grade { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 620px) {
  .pilar { padding: 26px 22px 28px; }
  .pilar-titulo { font-size: 17px; }
}

/* ------------------------------------------------- SEGURADORAS PARCEIRAS
   Gerada de `_fontes/seguradoras.json` na publicação, não escrita no HTML:
   a lista de Ramos Elementares muda com frequência (o departamento está em
   reestruturação) e o documento do Marketing pede estrutura de dados.

   Vive em `.insurers-section`, que é CLARA na CRD (`--paper`) e ESCURA na
   Personalitté (#15181c). Por isso nada aqui fixa cor de texto: herda, e as
   bordas usam `currentColor` diluído, com cinza de fallback antes do
   color-mix para navegador que não o suporte. */
.seg-grupo + .seg-grupo { margin-top: 56px; }
.seg-grupo-cab {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(128, 128, 128, .3);
  border-bottom-color: color-mix(in srgb, currentColor 24%, transparent);
}
.seg-grupo-titulo {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.03em;
  color: inherit;
}
.seg-grupo-nota { margin: 12px 0 0; font-size: 13.5px; line-height: 1.7; opacity: .72; max-width: 70ch; }

/* auto-fill e não auto-fit: com 3 itens no grupo de Vida, o auto-fit esticaria
   cada célula para um terço da largura e o logo ficaria gigante ao lado dos 29 */
/* ⚠️ Nada de "fundo na grade + gap de 1px" para desenhar as linhas: com 3
   itens numa faixa de 6 colunas, o fundo aparece nas células que não existem
   e vira um bloco cinza solto. As linhas são borda de cada célula. */
.seg-grade {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 178px), 1fr));
  gap: 0;
}
.seg-cell {
  min-width: 0; min-height: 96px;
  display: grid; place-items: center; padding: 20px 16px;
  border: 1px solid rgba(128, 128, 128, .22);
  border-color: color-mix(in srgb, currentColor 18%, transparent);
  margin: -1px 0 0 -1px;            /* bordas vizinhas se sobrepõem, sem linha dupla */
  transition: background .25s;
}
/* altura fixa com object-fit: contain deixa todos os logos no mesmo tamanho
   óptico. Sem isso, um PNG quadrado (Porto, SulAmérica) sai minúsculo ao lado
   de um horizontal, porque max-height sozinho não aumenta o pequeno. */
.seg-logo {
  width: 100%; height: 38px; object-fit: contain;
  filter: grayscale(1); opacity: .8;
  transition: filter .3s, opacity .3s;
}
/* ⚠️ Na Personalitté a seção é quase preta (#15181c) e a maioria dos logos é
   escura: eles somem. Filtro de inversão não serve, porque quem tem placa
   clara (AIG, Allianz, Darwin, Junto, Pottencial, Suhai) viraria bloco preto.
   A saída é dar fundo claro à célula: todo logo lê certo, sem truque. */
/* ⚠️ E aqui vale a MESMA regra de cima, que eu reintroduzi por descuido: nada
   de fundo na grade com gap de 1px. O fundo aparece onde não há célula e vira
   um bloco dourado solto no fim de cada grade. Borda na célula, sempre. */
.personalitte .seg-cell {
  background: var(--paper, #f4f3f0);
  border: 1px solid rgba(215, 169, 79, .3);
  margin: -1px 0 0 -1px;
}
.personalitte .seg-logo { opacity: .85; }
.personalitte .seg-nome { color: #12192c; opacity: .45; }

/* placa de nome para quem ainda não tem arquivo: mesmo peso visual do logo,
   sem fingir que é uma marca */
.seg-nome {
  font-size: 12.5px; font-weight: 600; line-height: 1.35; text-align: center;
  letter-spacing: -.01em; opacity: .5; max-width: 15ch;
}

@media (hover: hover) and (pointer: fine) {
  .seg-cell:hover .seg-logo { filter: none; opacity: 1; }
  .seg-cell--nome:hover .seg-nome { opacity: .8; }
}

@media (max-width: 760px) {
  .seg-grupo + .seg-grupo { margin-top: 40px; }
  .seg-grade { grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr)); }
  .seg-cell { min-height: 78px; padding: 14px 10px; }
  .seg-logo { height: 28px; }
  .seg-nome { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .seg-cell, .seg-logo, .seg-nome { transition: none; }
}
