/* ============================================================
   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; }

.cob-dialogo {
  /* 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::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 { 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);
}
