/* ===================================================================
   TOTAL PRIME — Corretora de Seguros
   Folha de estilo principal
   Direção: tradicional, sóbrio, corporativo (azul-marinho + dourado)
   ===================================================================*/

/* -------------------------------------------------------------------
   1. DESIGN TOKENS (custom properties)
   ------------------------------------------------------------------- */
:root {
  /* Paleta — sóbria e corporativa */
  --navy-900: #0b1c33;   /* azul-marinho profundo (fundo escuro) */
  --navy-800: #0f2540;   /* marinho principal */
  --navy-700: #163459;   /* marinho médio */
  --navy-600: #1f4574;   /* marinho claro p/ detalhes */
  --gold-600: #9c7a33;   /* dourado profundo (texto sobre claro) */
  --gold-700: #7d5f22;   /* dourado escuro — texto sobre branco, contraste AA (5.8:1) */
  --gold-500: #b8923f;   /* dourado/champanhe */
  --gold-400: #cBa35a;   /* dourado claro */
  --gold-300: #e3cf9e;   /* champanhe suave */
  --graphite: #2b2f36;   /* cinza-grafite (texto) */
  --gray-600: #555b63;
  --gray-400: #8a9098;
  --gray-200: #d9dde2;
  --gray-100: #eceef1;
  --offwhite: #f6f4ef;   /* off-white quente */
  --cream: #f1ece2;      /* creme p/ seções alternadas */
  --white: #ffffff;

  /* Aplicação semântica */
  --bg: var(--offwhite);
  --text: var(--graphite);
  --text-soft: var(--gray-600);
  --primary: var(--navy-800);
  --accent: var(--gold-500);

  /* Tipografia */
  --font-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  /* Escala de espaçamento (ritmo de 8px) */
  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;

  /* Estrutura */
  --maxw: 1180px;
  --radius: 4px;          /* cantos discretos, nada arredondado/jovem */
  --radius-lg: 6px;
  --shadow-sm: 0 1px 3px rgba(11, 28, 51, .08);
  --shadow-md: 0 10px 30px rgba(11, 28, 51, .10);
  --shadow-lg: 0 24px 60px rgba(11, 28, 51, .16);
  --header-h: 84px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* -------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);     /* compensa header fixo nas âncoras */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;          /* 17px base — leitura confortável */
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-800);
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 var(--sp-2);
  letter-spacing: .2px;
}

p { margin: 0 0 var(--sp-2); }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* Acessibilidade — foco visível */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-800); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

/* -------------------------------------------------------------------
   3. LAYOUT UTIL
   ------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.section__head--light .section__title,
.section__head--light .eyebrow { color: inherit; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--sp-1);
  position: relative;
}
.eyebrow--gold { color: var(--gold-400); }

.section__title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin-bottom: var(--sp-2);
}

.section__sub {
  color: var(--text-soft);
  font-size: 1.075rem;
}

.lead { font-size: 1.15rem; color: var(--text-soft); }

/* Filete dourado decorativo sob títulos centralizados */
.section__head .section__title::after {
  content: "";
  display: block;
  width: 58px; height: 2px;
  margin: var(--sp-2) auto 0;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500), var(--gold-300));
}

/* -------------------------------------------------------------------
   4. BOTÕES
   ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  text-align: center;
  line-height: 1.1;
}
.btn--lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #1c1407;
  border-color: var(--gold-500);
  box-shadow: 0 6px 18px rgba(156, 122, 51, .28);
}
.btn--gold:hover {
  color: #1c1407;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(156, 122, 51, .38);
  filter: brightness(1.05);
}

.btn--navy {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
}
.btn--navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

/* -------------------------------------------------------------------
   5. CABEÇALHO FIXO
   ------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 244, 239, .85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(246, 244, 239, .96);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

/* Logo */
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--navy-800); }
.brand__mark { color: var(--gold-600); display: inline-flex; align-items: center; }
.brand__mark img { height: 48px; width: auto; display: block; }
.brand--footer .brand__mark img { height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--navy-800);
}
.brand__tag {
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
}

/* Navegação */
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.nav-list a:not(.btn) {
  font-weight: 500;
  font-size: .96rem;
  color: var(--graphite);
  position: relative;
  padding: .4rem 0;
}
.nav-list a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold-500);
  transition: width .28s var(--ease);
}
.nav-list a:not(.btn):hover::after,
.nav-list a:not(.btn).is-active::after { width: 100%; }
.nav-list a:not(.btn).is-active { color: var(--navy-800); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; margin-inline: auto;
  background: var(--navy-800); transition: all .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------------- */
.hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: min(86vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  /* Fundo marinho com gradiente nobre + textura sutil (placeholder de foto) */
  background:
    linear-gradient(115deg, rgba(11, 28, 51, .94) 0%, rgba(15, 37, 64, .86) 45%, rgba(22, 52, 89, .78) 100%),
    radial-gradient(120% 120% at 80% 10%, rgba(184, 146, 63, .22), transparent 55%),
    var(--navy-900);
  overflow: hidden;
}
/* Filete dourado decorativo no topo do hero */
.hero::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 35%, var(--gold-300) 50%, var(--gold-500) 65%, transparent);
  opacity: .8;
}
/* Padrão geométrico discreto (linhas finas) — sensação de ordem */
.hero__overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; max-width: 760px; padding-block: var(--sp-6); }

.hero__eyebrow {
  font-size: .82rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-300); font-weight: 600; margin-bottom: var(--sp-2);
}
.hero__title {
  color: #fff;
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: var(--sp-3);
}
.hero__title .hl { color: var(--gold-400); white-space: nowrap; }
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, .86);
  max-width: 620px;
  margin-bottom: var(--sp-4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }

/* Indicadores de credibilidade */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: var(--sp-3);
}
.hero__stats li { display: flex; flex-direction: column; gap: .15rem; }
.hero__stats strong {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--gold-400);
  font-weight: 700;
}
.hero__stats span { font-size: .82rem; color: rgba(255, 255, 255, .72); line-height: 1.35; }
.hero__stats em { color: rgba(255, 255, 255, .4); font-style: normal; font-size: .72rem; }

/* Faixa de confiança */
.trust-strip {
  background: var(--navy-800);
  color: #fff;
  border-bottom: 2px solid var(--gold-500);
}
.trust-strip__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: 1rem;
  font-size: .92rem; text-align: center;
}
.trust-strip__item { color: rgba(255, 255, 255, .92); }
.trust-strip strong { color: var(--gold-300); }
.trust-strip .divider { width: 1px; height: 18px; background: rgba(255, 255, 255, .25); }

/* -------------------------------------------------------------------
   7. SOBRE
   ------------------------------------------------------------------- */
.about { background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media { position: relative; margin: 0; }

/* Placeholder de foto corporativa */
.ph-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.ph-photo--office {
  background:
    linear-gradient(160deg, rgba(11, 28, 51, .82), rgba(22, 52, 89, .62)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 18px, transparent 18px 36px),
    var(--navy-700);
}
.ph-photo__label { padding: 1rem 1.25rem; line-height: 1.5; }
.ph-photo__label small { display: block; margin-top: .35rem; font-size: .7rem; letter-spacing: .16em; color: rgba(255,255,255,.6); }
/* Foto real do escritório (quando fornecida — ver comentário no HTML) */
.office-photo {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  display: block;
}
/* moldura dourada fina */
.about__media::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(184, 146, 63, .5);
  border-radius: var(--radius);
  pointer-events: none;
}

/* Selo "Desde 1987" */
.seal {
  position: absolute;
  right: -18px; bottom: -18px;
  width: 116px; height: 116px;
  border-radius: 50%;
  display: grid; place-items: center; align-content: center;
  background: radial-gradient(circle at 35% 30%, var(--navy-700), var(--navy-900));
  color: var(--gold-300);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(184, 146, 63, .55), inset 0 0 0 6px rgba(255,255,255,.04);
  text-align: center;
}
.seal__small { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(227, 207, 158, .8); }
.seal__year { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1; margin: .1rem 0; }

.values {
  display: grid;
  gap: var(--sp-2);
  margin: var(--sp-3) 0 var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--gray-200);
}
.value { padding-left: 1rem; border-left: 2px solid var(--gold-500); }
.value__title { font-size: 1.1rem; margin-bottom: .2rem; }
.value p { margin: 0; color: var(--text-soft); font-size: .98rem; }

/* -------------------------------------------------------------------
   8. RAMOS DE SEGURO (cards)
   ------------------------------------------------------------------- */
.ramos { background: var(--cream); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--gold-500);
}
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--offwhite);
  color: var(--navy-700);
  border: 1px solid var(--gray-200);
  margin-bottom: var(--sp-2);
  transition: all .3s var(--ease);
}
.card:hover .card__icon { background: var(--navy-800); color: var(--gold-300); border-color: var(--navy-800); }
.card__title { font-size: 1.22rem; margin-bottom: .4rem; }
.card__text { color: var(--text-soft); font-size: .95rem; flex: 1; margin-bottom: var(--sp-2); }
.card__link {
  font-weight: 600; font-size: .9rem; color: var(--gold-700);
  display: inline-flex; align-items: center; gap: .35rem;
  min-height: 44px;              /* área de toque confortável no celular */
  padding-block: .35rem;
}
.card__link span { transition: transform .25s var(--ease); }
.card__link:hover span { transform: translateX(4px); }

/* -------------------------------------------------------------------
   9. DIFERENCIAIS (fundo escuro)
   ------------------------------------------------------------------- */
.diferenciais {
  background:
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  color: #fff;
  position: relative;
}
.diferenciais .section__title, .diferenciais .eyebrow { color: #fff; }
.diferenciais .section__head .section__title::after { background: var(--gold-500); }
.dif-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.dif {
  padding: var(--sp-3) var(--sp-2);
  border-top: 1px solid rgba(184, 146, 63, .45);
  position: relative;
}
.dif__num {
  font-family: var(--font-serif);
  font-size: 2.4rem; font-weight: 700;
  color: var(--gold-400);
  display: block; margin-bottom: .5rem; line-height: 1;
}
.dif__title { color: #fff; font-size: 1.18rem; margin-bottom: .4rem; }
.dif p { color: rgba(255, 255, 255, .76); font-size: .95rem; margin: 0; }

/* -------------------------------------------------------------------
   10. SEGURADORAS PARCEIRAS
   ------------------------------------------------------------------- */
.partners { background: var(--white); }
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  align-items: stretch;
}
.partner-logo {
  flex: 0 1 180px;
  display: grid; place-items: center; text-align: center;
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--offwhite);
  color: var(--gray-400);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; line-height: 1.4;
  transition: all .3s var(--ease);
  filter: grayscale(1);
}
.partner-logo:hover { color: var(--navy-700); border-color: var(--gold-400); filter: grayscale(0); background: #fff; }
/* Parceira com logotipo (imagem) — SEMPRE colorida, exibe a marca real */
.partner-logo--img { filter: none !important; background: #fff; padding: .6rem; }
.partner-logo--img:hover { border-color: var(--gold-400); filter: none !important; }
.partner-logo__img {
  /* altura óptica única: sem isso a Amil aparecia quase o dobro da SulAmérica */
  max-width: 82%; max-height: 46px; width: auto; height: auto;
  object-fit: contain; display: block;
  margin-inline: auto;
  filter: none !important; -webkit-filter: none !important;
}
/* Logotipo horizontal (ex.: Niva) — aproveita a largura da caixa */
.partner-logo__img--wide { max-height: 58px; width: 100%; max-width: 150px; }

/* -------------------------------------------------------------------
   11. COMO FUNCIONA
   ------------------------------------------------------------------- */
.steps { background: var(--cream); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  counter-reset: step;
  position: relative;
}
.step {
  text-align: center;
  padding: var(--sp-2);
  position: relative;
}
/* linha conectora dourada entre os passos (desktop) */
.steps-grid::before {
  content: "";
  position: absolute;
  top: 34px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-400) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step__num {
  position: relative; z-index: 1;
  width: 68px; height: 68px;
  margin: 0 auto var(--sp-2);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--navy-800);
  color: var(--navy-800);
  font-family: var(--font-serif);
  font-size: 1.7rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
}
.step:hover .step__num { background: var(--navy-800); color: var(--gold-300); transform: translateY(-4px); }
.step__title { font-size: 1.2rem; margin-bottom: .35rem; }
.step p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* -------------------------------------------------------------------
   12. DEPOIMENTOS (fundo escuro)
   ------------------------------------------------------------------- */
.testimonials {
  background:
    radial-gradient(110% 120% at 0% 0%, rgba(184,146,63,.16), transparent 50%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff;
}
.testimonials .section__title, .testimonials .eyebrow { color: #fff; }
.testimonials .section__head .section__title::after { background: var(--gold-500); }
.testi-grid {
  display: grid;
  /* auto-fit: com 2 depoimentos ocupam a largura toda em vez de deixar
     uma coluna vazia à direita; com 3+ volta a virar 3 colunas */
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-3);
  max-width: 1000px;
  margin-inline: auto;
}
.testi {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.testi::before {
  content: "\201C";          /* aspas tipográficas */
  font-family: var(--font-serif);
  font-size: 4.5rem; line-height: 1;
  color: var(--gold-500);
  position: absolute; top: .6rem; left: 1.2rem;
  opacity: .55;
}
.testi__quote {
  position: relative;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, .9);
  font-style: italic;
  margin: 1.4rem 0 1.6rem;
}
.testi__author { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.testi__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #1c1407; font-weight: 700; font-size: .95rem;
  flex-shrink: 0;
}
/* Honeypot anti-spam — invisível para humanos, presente no DOM p/ bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Logotipo em brasão (AFP) precisa de mais área para ficar legível */
.testi__avatar--img { background: #fff; overflow: hidden; padding: 4px; width: 64px; height: 64px; }
.testi__avatar--img img { width: 100%; height: 100%; object-fit: contain; display: block; filter: none !important; }
/* Avatar em formato de badge para logotipo horizontal completo (ex.: Niva) */
.testi__avatar--logo {
  width: auto; height: auto; border-radius: 10px;
  background: #fff; padding: 8px 12px;
  flex-shrink: 0; place-items: center;
}
.testi__avatar--logo img {
  display: block; height: 40px; width: auto; max-width: 150px;
  object-fit: contain; filter: none !important;
}
.testi__meta { display: flex; flex-direction: column; line-height: 1.3; }
.testi__meta strong { color: #fff; font-size: .98rem; }
.testi__meta em { color: var(--gold-300); font-style: normal; font-size: .82rem; }

/* -------------------------------------------------------------------
   13. CONTATO / COTAÇÃO
   ------------------------------------------------------------------- */
.contact { background: var(--white); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: var(--sp-5);
}
.contact-list { display: grid; gap: var(--sp-2); margin: var(--sp-3) 0; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--offwhite);
  border: 1px solid var(--gray-200);
  color: var(--navy-700);
}
.contact-list strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-600); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--navy-800); font-weight: 500; }
.contact__hours { font-size: .95rem; color: var(--text-soft); }
.contact__hours em { color: var(--gray-400); font-style: normal; }

/* Formulário */
.contact__form-wrap {
  background: var(--offwhite);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.quote-form__title { font-size: 1.5rem; margin-bottom: var(--sp-3); }
.field { margin-bottom: var(--sp-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.field label {
  display: block; font-size: .88rem; font-weight: 600;
  color: var(--graphite); margin-bottom: .35rem;
}
.field__opt { font-weight: 400; color: var(--gray-400); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit; font-size: 1rem;
  color: var(--graphite);
  padding: .8rem .9rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
/* Destaque momentâneo quando o ramo chega pré-selecionado de um card */
.field select.is-prefilled {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(184, 146, 63, .28);
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(184, 146, 63, .18);
}
.field textarea { resize: vertical; }
/* estado de erro */
.field.is-invalid input, .field.is-invalid select { border-color: #b23b3b; box-shadow: 0 0 0 3px rgba(178, 59, 59, .12); }
.field__error { display: block; color: #b23b3b; font-size: .8rem; margin-top: .3rem; min-height: 1px; }

.field-check {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .88rem; color: var(--text-soft);
  margin: var(--sp-1) 0 .3rem;
}
.field-check input { margin-top: .25rem; accent-color: var(--gold-600); width: 17px; height: 17px; flex-shrink: 0; }
.field-check.is-invalid + .field__error { margin-bottom: .5rem; }

.form-feedback {
  margin-top: var(--sp-2);
  padding: .9rem 1rem;
  border-radius: var(--radius);
  font-size: .95rem; font-weight: 500;
}
.form-feedback.is-success { background: #e8f2ea; color: #1f5b35; border: 1px solid #bcdcc4; }
.form-feedback.is-error { background: #fae9e9; color: #8d2b2b; border: 1px solid #e6c3c3; }

/* Mapa placeholder */
.map-ph {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  display: grid; place-items: center; gap: .5rem;
  text-align: center;
  color: var(--gray-600);
  background:
    linear-gradient(rgba(11,28,51,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,28,51,.04) 1px, transparent 1px),
    var(--cream);
  background-size: 38px 38px, 38px 38px, auto;
  overflow: hidden;
}
.map-ph__pin { color: var(--navy-800); }
.map-ph__label { font-size: .85rem; letter-spacing: .04em; max-width: 80%; }

/* Mapa incorporado (Google Maps) */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-embed iframe { display: block; width: 100%; border: 0; }

/* -------------------------------------------------------------------
   14. RODAPÉ
   ------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: var(--sp-4);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.brand--footer .brand__name, .brand--footer { color: #fff; }
.brand--footer .brand__mark { color: var(--gold-400); }
.footer__about { margin: var(--sp-2) 0; font-size: .92rem; color: rgba(255, 255, 255, .62); max-width: 30ch; }

.footer__nav h4, .footer__contact h4, .footer__brand h4 {
  color: #fff; font-family: var(--font-sans); font-size: .82rem;
  text-transform: uppercase; letter-spacing: .14em; font-weight: 600;
  margin-bottom: var(--sp-2);
  position: relative; padding-bottom: .5rem;
}
.footer__nav h4::after, .footer__contact h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--gold-500);
}
.footer__nav ul, .footer__contact ul { display: grid; gap: .55rem; }
.footer__nav a { color: rgba(255, 255, 255, .72); font-size: .94rem; }
.footer__nav a:hover { color: var(--gold-300); padding-left: 4px; }
.footer__contact li { font-size: .92rem; color: rgba(255, 255, 255, .68); line-height: 1.5; }
.footer__contact .btn { margin-top: var(--sp-2); }

/* Redes sociais */
.social { display: flex; gap: .6rem; margin-top: var(--sp-2); }
.social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .8);
}
.social a:hover { background: var(--gold-500); color: #1c1407; border-color: var(--gold-500); transform: translateY(-2px); }

/* Faixa legal / SUSEP */
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(0, 0, 0, .25); }
.footer__legal-inner { padding-block: var(--sp-3); display: grid; gap: .5rem; text-align: center; }
.susep { font-size: .9rem; color: rgba(255, 255, 255, .82); margin: 0; }
.susep strong { color: var(--gold-300); }
.copyright { font-size: .82rem; color: rgba(255, 255, 255, .5); margin: 0; }
.legal-note { color: rgba(255, 255, 255, .4); }

/* -------------------------------------------------------------------
   15. BOTÃO FLUTUANTE WHATSAPP
   ------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #1f8a4c;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 18px 40px rgba(31, 138, 76, .45); }

/* Véu do menu mobile — escurece a página atrás do painel aberto */
.nav-scrim {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 80;
  background: rgba(11, 28, 51, .58);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.nav-scrim.is-visible { opacity: 1; }
body.has-menu-open { overflow: hidden; }         /* trava o scroll do fundo */
/* com o menu aberto, os flutuantes saem da frente (ficariam sobre o véu) */
body.has-menu-open .wa-float,
body.has-menu-open #dfbot-root { display: none; }

/* -------------------------------------------------------------------
   16. ANIMAÇÕES DE ENTRADA (sutis)
   ------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------------
   17. RESPONSIVO
   ------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards-grid, .dif-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-strip { grid-template-columns: repeat(3, 1fr); }
  .steps-grid::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }

  /* Navegação mobile */
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--offwhite);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--sp-1) clamp(1.25rem, 4vw, 2.5rem) var(--sp-3);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: all .3s var(--ease);
  }
  .nav-list.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list li { border-bottom: 1px solid var(--gray-200); }
  .nav-list li.nav-cta { border-bottom: none; padding-top: var(--sp-2); }
  .nav-list a:not(.btn) { display: block; padding: .9rem 0; font-size: 1.05rem; }
  .nav-list .btn { width: 100%; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin-inline: auto; }
  .contact__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3) var(--sp-2); }

  /* Os dois botões flutuantes (WhatsApp + chat) ficavam por cima de
     "30+ Seguradoras" e do registro SUSEP. Reserva a faixa deles. */
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
  #dfbot-root .dfbot-launcher { width: 52px; height: 52px; }
  .hero { padding-bottom: 118px; }
  /* folga à direita para o texto nunca encostar nos flutuantes */
  .hero__stats { padding-bottom: .5rem; padding-right: 20px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .cards-grid, .dif-grid, .steps-grid, .testi-grid, .partners-strip { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .seal { width: 96px; height: 96px; right: 8px; bottom: -14px; }
  .trust-strip .divider { display: none; }
}

/* -------------------------------------------------------------------
   18. PREFERÊNCIAS DE MOVIMENTO (acessibilidade)
   ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------
   19. IMPRESSÃO
   ------------------------------------------------------------------- */
@media print {
  .site-header, .wa-float, .nav-toggle, .hero__actions { display: none; }
  body { color: #000; background: #fff; }
}
