/* ==========================================================================
   Nick Corretora de Seguros — style.css
   Para trocar o azul pela cor oficial do logo, altere --brand, --brand-deep
   e --brand-soft abaixo.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cor */
  --brand: #0b0e14;
  --brand-deep: #232833;
  --brand-soft: #eceef1;
  --accent: #1a3fa8;
  --accent-soft: #e9eefb;
  --ink: #0b0e14;
  --text: #2b303b;
  --muted: #5b6272;
  --line: #e3e6eb;
  --field: #c9cfd9;
  --grey: #eef1f4;
  --white: #ffffff;
  --wa: #25d366;
  --wa-deep: #1aa851;
  --danger: #b42318;
  --overlay: 11, 14, 20;

  /* Tipo */
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.375rem, 1.45rem + 3.7vw, 3.75rem);
  --fs-page: clamp(2.125rem, 1.4rem + 2.8vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-h3: 1.3125rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Forma e espaço */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --r-card: 16px;
  --r-btn: 8px;
  --r-field: 8px;
  --shadow-card: 0 2px 6px rgba(11, 14, 20, 0.04), 0 14px 36px -14px rgba(11, 14, 20, 0.16);
  --shadow-raise: 0 4px 10px rgba(11, 14, 20, 0.06), 0 24px 48px -18px rgba(11, 14, 20, 0.26);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 64px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-color: var(--brand) var(--grey);
}

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

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

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

img {
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand-deep);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--r-btn);
  text-decoration: none;
}

.skip-link:focus,
.skip-link:hover {
  top: 12px;
  color: var(--white);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico--fill {
  fill: currentColor;
  stroke: none;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

.section--grey {
  background: var(--grey);
}

.section--flush-top {
  padding-top: 0;
}

.head {
  display: grid;
  gap: 14px;
  max-width: 44rem;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.head h2 {
  font-size: var(--fs-h2);
}

.head p {
  font-size: var(--fs-lead);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--r-btn);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms var(--ease),
    color 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    transform 180ms var(--ease);
}

.btn .ico {
  width: 18px;
  height: 18px;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--brand-deep);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--brand-deep);
}

.btn--white:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.btn--outline-white {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.btn--outline-white:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--brand-deep);
}

.btn--outline {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--outline:hover {
  background: var(--brand);
  color: var(--white);
}

.btn--wa {
  background: var(--wa);
  color: #06301a;
}

.btn--wa:hover {
  background: var(--wa-deep);
  color: #06301a;
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--accent);
  text-decoration: none;
}

.more .ico {
  width: 18px;
  height: 18px;
  transition: transform 180ms var(--ease);
}

.more:hover .ico {
  transform: translateX(3px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.brand img { height: 66px;
  width: auto;
}

.contacts {
  display: flex;
  align-items: center;
}

.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 28px;
  color: var(--ink);
  text-decoration: none;
}

.contact + .contact {
  border-left: 1px solid var(--line);
}

.contact:last-child {
  padding-right: 0;
}

.contact .ico {
  width: 30px;
  height: 30px;
  color: var(--accent);
  stroke-width: 1.4;
}

.contact .ico--fill {
  width: 28px;
  height: 28px;
}

.contact strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.contact span {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--text);
}

.contact:hover span {
  color: var(--accent);
}

.topbar__mobile {
  display: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  transition: box-shadow 200ms var(--ease);
}

.navbar.is-stuck {
  box-shadow: 0 6px 20px -12px rgba(11, 14, 20, 0.3);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--nav-h);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
  margin-left: -14px;
}

.nav__link,
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 0.96875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r-btn);
}

.nav__link:hover,
.nav__toggle:hover,
.nav__toggle[aria-expanded="true"],
.nav__link[aria-current="page"],
.nav__toggle.is-current {
  color: var(--accent);
}

.nav__toggle .ico {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  transition: transform 200ms var(--ease);
}

.nav__toggle[aria-expanded="true"] .ico {
  transform: rotate(180deg);
}

.nav__item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 70;
  min-width: 320px;
  padding: 10px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-raise);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 160ms var(--ease),
    transform 200ms var(--ease),
    visibility 0s linear 200ms;
}

.dropdown::before {
  content: "";
  position: absolute;
  inset: -10px 0 auto;
  height: 10px;
}

.dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 160ms var(--ease),
    transform 200ms var(--ease),
    visibility 0s;
}

.dropdown--2 {
  min-width: 560px;
}

.dropdown ul {
  list-style: none;
  display: grid;
  gap: 2px;
}

.dropdown--2 ul {
  grid-template-columns: 1fr 1fr;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.dropdown a .ico {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.dropdown a:hover {
  background: var(--accent-soft);
  color: var(--brand-deep);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  transition: background-color 180ms var(--ease);
}

.socials a:hover {
  background: var(--brand-deep);
  color: var(--white);
}

.socials .ico {
  width: 17px;
  height: 17px;
}

.menu-btn {
  display: none;
}

.mobile-menu {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero da home
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(660px, 90vh, 900px);
  padding-block: 72px 188px;
  color: var(--white);
  text-align: center;
}

.hero__media,
.banner__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media {
  object-position: 50% 40%;
}

/* Véu azul mais forte no centro (onde fica o texto) e leve nas laterais (onde estão as pessoas) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 52% 56% at 50% 50%, rgba(10, 24, 62, 0.42) 0%, rgba(10, 24, 62, 0.18) 70%, rgba(10, 24, 62, 0) 100%), linear-gradient(180deg, rgba(10, 24, 62, 0.22) 0%, rgba(10, 24, 62, 0.22) 60%, rgba(10, 24, 62, 0.35) 100%);
}

.hero__content {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 760px;
  margin-inline: auto;
}

.hero h1 {
  color: var(--white);
  font-size: var(--fs-hero);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(var(--overlay), 0.45);
}

.hero p {
  max-width: 40rem;
  font-size: var(--fs-lead);
  color: var(--white);
  text-shadow: 0 1px 16px rgba(var(--overlay), 0.6);
}

.hero .actions {
  justify-content: center;
  margin-top: 8px;
}

.reveal {
  animation: rise 700ms var(--ease) both;
}

.reveal--2 {
  animation-delay: 120ms;
}

.reveal--3 {
  animation-delay: 240ms;
}

/* Só desloca: o texto fica visível desde o primeiro quadro (não atrasa o carregamento percebido) */
@keyframes rise {
  from {
    transform: translateY(14px);
  }
}

/* Cards em destaque sobre o hero */

.featured {
  position: relative;
  z-index: 2;
  margin-top: -120px;
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.feature-card:first-child {
  border-radius: var(--r-card) 0 0 var(--r-card);
}

.feature-card:last-child {
  border-radius: 0 var(--r-card) var(--r-card) 0;
}

.feature-card .ico {
  width: 52px;
  height: 52px;
  color: var(--accent);
  stroke-width: 1.3;
}

.feature-card h3 {
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text);
}

.feature-card .btn {
  justify-self: start;
  margin-top: 8px;
}

.feature-card.is-highlight {
  position: relative;
  z-index: 1;
  margin-block: -18px;
  padding-block: calc(clamp(28px, 3vw, 40px) + 18px);
  background: var(--brand-deep);
  border-radius: var(--r-card);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-raise);
}

.feature-card.is-highlight h3,
.feature-card.is-highlight .ico {
  color: var(--white);
}

.feature-card.is-highlight p {
  color: rgba(255, 255, 255, 0.86);
}

/* --------------------------------------------------------------------------
   Bloco "sobre" (texto + foto)
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.split__copy {
  display: grid;
  gap: 20px;
}

.split__copy h2 {
  font-size: var(--fs-h2);
}

.split__copy > p {
  color: var(--text);
}

.split__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--r-card);
}

/* Retrato do Nilson */
.split__media--portrait {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
}

.split__media--portrait img {
  aspect-ratio: 4 / 5;
  object-position: 50% 18%;
  background: var(--grey);
  box-shadow: var(--shadow-card);
}

.split__media--portrait figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: grid;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-raise);
  line-height: 1.3;
}

.split__media--portrait figcaption strong {
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
}

.split__media--portrait figcaption span {
  color: var(--muted);
  font-size: var(--fs-xs);
}

/* Card "Fale com o Nilson" e avatar */
.person-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  padding: 20px 24px;
  border-radius: var(--r-card);
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.84);
}

.person-card strong {
  display: block;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.person-card span {
  display: block;
  font-size: var(--fs-small);
  line-height: 1.45;
}

.person-card__photo,
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 16%;
  background: var(--grey);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.care-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.care-card__head .avatar {
  width: 56px;
  height: 56px;
  flex: none;
}

.banner__media--flip {
  transform: scaleX(-1);
  object-position: 50% 12%;
}

.points {
  list-style: none;
  display: grid;
  gap: 22px;
  margin: 12px 0 8px;
}

.point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}

.point__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.point__icon .ico {
  width: 24px;
  height: 24px;
}

.point h3 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.point p {
  color: var(--muted);
  font-size: var(--fs-small);
}

.split__copy .btn {
  justify-self: start;
}

/* --------------------------------------------------------------------------
   Grade de cards de produto
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px 28px;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.card .ico {
  width: 44px;
  height: 44px;
  color: var(--accent);
  stroke-width: 1.3;
}

.card h3 {
  font-size: 1.1875rem;
  line-height: 1.25;
}

.card p {
  color: var(--muted);
  font-size: var(--fs-small);
}

.card .more {
  margin-top: 4px;
}

.card .more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-card);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raise);
}

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

.card p + .btn {
  margin-top: auto;
}

.card > p {
  margin-bottom: 6px;
}

/* Seção sobre foto de fundo (empresas) */

.photo-band {
  position: relative;
  isolation: isolate;
}

.photo-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(238, 241, 244, 0.86);
}

/* Lista de consórcios */

.rows {
  list-style: none;
  display: grid;
  gap: 14px;
}

.row-card {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.row-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.row-card__icon .ico {
  width: 28px;
  height: 28px;
}

.row-card strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}

.row-card span span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.45;
}

.row-card > .ico {
  color: var(--muted);
  transition:
    transform 180ms var(--ease),
    color 180ms var(--ease);
}

.row-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  color: var(--ink);
}

.row-card:hover > .ico {
  color: var(--accent);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Painel azul (antes, durante, depois / valores)
   -------------------------------------------------------------------------- */

.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
  border-radius: 20px;
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.86);
}

.panel__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  mix-blend-mode: luminosity;
}

.panel .head h2,
.panel h3 {
  color: var(--white);
}

.panel .head p {
  color: rgba(255, 255, 255, 0.8);
}

.panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.panel__col {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 8px clamp(16px, 2.5vw, 36px);
  text-align: center;
}

.panel__col + .panel__col {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.panel__col h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.panel__col strong {
  color: var(--white);
  font-weight: 600;
}

.panel__col ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 6px;
  font-size: var(--fs-small);
}

.panel .actions {
  justify-content: center;
  margin-top: clamp(32px, 4vw, 48px);
}

.panel__grid--values {
  grid-template-columns: repeat(3, 1fr);
  row-gap: 36px;
}

.panel__grid--values .panel__col:nth-child(3n + 1) {
  border-left: 0;
}

/* --------------------------------------------------------------------------
   Contratar online
   -------------------------------------------------------------------------- */

.online {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.online-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--white);
}

.online-card__icon {
  color: var(--accent);
}

.online-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.online-card__icon .ico {
  width: 40px;
  height: 40px;
  stroke-width: 1.4;
}

.online-card h3 {
  font-size: 1.125rem;
  text-wrap: wrap;
}

.online-card p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.online-card .btn {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Seguradoras
   -------------------------------------------------------------------------- */

.insurers[hidden] {
  display: none;
}

.insurers__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 56px;
}

.insurers__track img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition:
    filter 200ms var(--ease),
    opacity 200ms var(--ease);
}

.insurers__track img:hover {
  filter: none;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Cotação (formulário sobre foto)
   -------------------------------------------------------------------------- */

.quote {
  position: relative;
  isolation: isolate;
  padding-block: var(--section);
}

.quote__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(var(--overlay), 0.78);
}

.quote__card {
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-raise);
}

.quote__card .head {
  margin-bottom: 28px;
}

.quote__alt {
  margin-top: 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-small);
}

.quote__alt a {
  color: var(--white);
  font-weight: 600;
}

/* Formulário */

.form {
  display: grid;
  gap: 18px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.form__row--2 {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.field label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
}

.field .req {
  color: var(--danger);
}

.field .opt {
  font-weight: 400;
  color: var(--muted);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--field);
  border-radius: var(--r-field);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  caret-color: var(--accent);
  transition:
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease);
}

.select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6272' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--muted);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.field.has-error .input,
.field.has-error .select {
  border-color: var(--danger);
}

.field__error {
  display: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--danger);
}

.field.has-error .field__error,
.consent.has-error .field__error {
  display: block;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: var(--fs-small);
  color: var(--text);
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.consent .field__error {
  grid-column: 2;
}

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

.form__status {
  font-size: var(--fs-small);
  font-weight: 600;
  text-align: center;
}

.form__status:empty {
  display: none;
}

.form__status.is-error {
  color: var(--danger);
}

.form-done {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 16px 0 4px;
}

.form-done[hidden] {
  display: none;
}

.form-done .ico {
  width: 56px;
  height: 56px;
  color: var(--accent);
}

.form-done h3 {
  font-size: 1.5rem;
}

.form-done p {
  color: var(--muted);
  max-width: 32rem;
}

/* --------------------------------------------------------------------------
   Páginas internas
   -------------------------------------------------------------------------- */

.banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(380px, 52vh, 520px);
  padding-block: 64px;
  color: var(--white);
}

.banner--short {
  min-height: clamp(260px, 34vh, 340px);
}

.banner--plain {
  min-height: 0;
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--brand-deep);
}

.banner--plain::after {
  display: none;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 24, 62, 0.66) 0%, rgba(10, 24, 62, 0.4) 55%, rgba(10, 24, 62, 0.1) 100%);
}

.banner__content {
  display: grid;
  gap: 18px;
  max-width: 660px;
}

.banner h1 {
  color: var(--white);
  font-size: var(--fs-page);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.banner p {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.92);
}

.banner .actions {
  margin-top: 6px;
}

.banner .fine {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-xs);
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.78);
}

.crumbs li + li::before {
  content: "›";
  margin-right: 6px;
}

.crumbs a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Coberturas */

.covers {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 4vw, 56px);
  max-width: 980px;
  margin-inline: auto;
}

.cover {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #d9dee6;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
}

.cover:nth-child(-n + 2) {
  border-top: 1px solid #d9dee6;
}

.cover .ico {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  stroke-width: 1.6;
}

.note {
  max-width: 44rem;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-xs);
}

/* Para quem é + cuidado */

.checks {
  list-style: none;
  display: grid;
  gap: 12px;
}

.checks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  color: var(--text);
}

.checks .ico {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--accent);
  stroke-width: 2;
}

.care-card {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-card);
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.86);
}

.care-card h3 {
  color: var(--white);
  font-size: 1.375rem;
}

.care-card ol {
  list-style: none;
  display: grid;
  gap: 18px;
}

.care-card li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--fs-small);
}

.care-card li strong {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

/* FAQ */

.faq {
  max-width: 840px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 180ms var(--ease);
}

.faq details[open] {
  border-color: var(--accent);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .ico {
  width: 20px;
  height: 20px;
  color: var(--accent);
  stroke-width: 2;
  transition: transform 200ms var(--ease);
}

.faq details[open] summary .ico {
  transform: rotate(180deg);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--text);
}

.faq__more {
  margin-top: 24px;
  text-align: center;
}

/* Quem somos */

.mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mv .card {
  padding: 34px;
}

.mv .card p {
  font-size: 1rem;
  color: var(--text);
}

.statement {
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.statement span {
  color: var(--accent);
}

/* Fale conosco */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.channels {
  list-style: none;
  display: grid;
  gap: 14px;
}

.channels .socials {
  margin-top: 8px;
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.form-card h2 {
  font-size: 1.625rem;
  margin-bottom: 8px;
}

.form-card > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.form-card .form__row {
  grid-template-columns: 1fr 1fr;
}

.form-card .form__row > .field:first-child {
  grid-column: 1 / -1;
}

/* Texto corrido (política) */

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: 1.375rem;
  margin: 40px 0 12px;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul {
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.prose .lead {
  font-size: var(--fs-lead);
  color: var(--ink);
}

.fine {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

.footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.84);
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px clamp(24px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 88px);
}

.footer__brand {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer__brand img {
  height: 64px;
  width: auto;
}

.footer__brand p {
  font-size: var(--fs-small);
  max-width: 22rem;
}

.footer .socials a {
  background: rgba(255, 255, 255, 0.12);
}

.footer .socials a:hover {
  background: var(--white);
  color: var(--brand-deep);
}

.footer__title {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

.footer__col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-size: var(--fs-small);
}

.footer__col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer__col .footer__title + ul + .footer__title {
  margin-top: 28px;
}

.footer__legal {
  background: #e9ecf0;
  color: var(--ink);
  font-size: var(--fs-xs);
}

.footer__legal .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 16px;
}

.footer__legal a {
  color: var(--ink);
  font-weight: 600;
}

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__credit img {
  height: 22px;
  width: auto;
}

.contact-grid .channels + .channels {
  margin-top: 24px;
}

/* WhatsApp flutuante */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow:
    0 0 0 6px rgba(37, 211, 102, 0.22),
    0 12px 24px -8px rgba(11, 14, 20, 0.4);
  transition:
    transform 200ms var(--ease),
    background-color 200ms var(--ease);
}

.wa-float:hover {
  background: var(--wa-deep);
  color: var(--white);
  transform: scale(1.06);
}

.wa-float .ico {
  width: 30px;
  height: 30px;
}

.wa-float.is-hidden,
body.menu-open .wa-float {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .navbar .socials {
    display: none;
  }

  .nav__link,
  .nav__toggle {
    padding: 0 10px;
  }
}

@media (max-width: 1100px) {
  .contact {
    padding: 6px 18px;
  }

  .contact--agenda {
    display: none;
  }

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

  .dropdown--2 {
    min-width: 480px;
  }
}

@media (max-width: 1023px) {
  :root {
    --nav-h: 64px;
  }

  .contacts,
  .navbar {
    display: none;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--white);
    transition: box-shadow 200ms var(--ease);
  }

  .topbar.is-stuck {
    box-shadow: 0 6px 20px -12px rgba(11, 14, 20, 0.3);
  }

  .topbar__inner {
    min-height: var(--nav-h);
    border-bottom: 0;
  }

  .brand img { height: 48px;
  }

  .topbar__mobile {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .topbar__wa {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--wa);
    color: var(--white);
  }

  .topbar__wa .ico {
    width: 22px;
    height: 22px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--r-btn);
    background: var(--brand);
    color: var(--white);
  }

  .menu-btn .ico {
    width: 22px;
    height: 22px;
    stroke-width: 2;
  }

  .menu-btn .ico--close {
    display: none;
  }

  .menu-btn[aria-expanded="true"] .ico--open {
    display: none;
  }

  .menu-btn[aria-expanded="true"] .ico--close {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    inset: var(--nav-h) 0 0;
    z-index: 59;
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px var(--gutter) 40px;
    background: var(--white);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 200ms var(--ease),
      visibility 0s linear 200ms;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transition:
      opacity 200ms var(--ease),
      visibility 0s;
  }

  .mobile-menu > a,
  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary .ico {
    width: 20px;
    height: 20px;
    color: var(--accent);
    transition: transform 200ms var(--ease);
  }

  .mobile-menu details[open] summary .ico {
    transform: rotate(180deg);
  }

  .mobile-menu details ul {
    list-style: none;
    display: grid;
    padding: 6px 0 12px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu details a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    color: var(--text);
    text-decoration: none;
    font-size: var(--fs-small);
  }

  .mobile-menu details a .ico {
    width: 22px;
    height: 22px;
    color: var(--accent);
  }

  .mobile-menu__contact {
    display: grid;
    gap: 10px;
    padding-top: 24px;
  }

  .mobile-menu__contact .socials {
    justify-content: center;
    margin-top: 8px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .featured__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card,
  .feature-card:first-child,
  .feature-card:last-child {
    border-radius: var(--r-card);
  }

  .feature-card.is-highlight {
    margin: 0;
    padding-block: clamp(28px, 3vw, 40px);
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: -1;
  }

  .cards--3 {
    grid-template-columns: 1fr 1fr;
  }

  .panel__grid,
  .panel__grid--values {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .panel__col {
    padding: 24px 0;
  }

  .panel__col + .panel__col {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero {
    min-height: clamp(600px, 84vh, 760px);
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .form__row {
    grid-template-columns: 1fr 1fr;
  }

  .form__row > .field:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 719px) {
  /* Celular: texto sobre faixa azul lisa no alto, foto da família inteira numa faixa embaixo */
  .hero { min-height: 0; padding-block: 64px 140px; align-items: start; background: #0a183e; }

  .hero__media, .hero .hero__media { top: 0; bottom: 0; height: 100%; object-position: 50% 40%; }

  .hero::after { background: linear-gradient(180deg, rgba(10, 24, 62, 0.42) 0%, rgba(10, 24, 62, 0.4) 60%, rgba(10, 24, 62, 0.42) 100%); }

  .hero .actions .btn,
  .banner .actions .btn {
    flex: 1 1 100%;
  }

  .featured {
    margin-top: -96px;
  }

  .cards,
  .cards--3,
  .mv {
    grid-template-columns: 1fr;
  }

  .covers {
    grid-template-columns: 1fr;
  }

  .cover:nth-child(2) {
    border-top: 0;
  }

  .footer__legal .wrap {
    padding-bottom: 92px;
  }

  .care-card li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .row-card {
    grid-template-columns: 48px 1fr 20px;
    padding: 18px;
    gap: 14px;
  }

  .row-card__icon {
    width: 48px;
    height: 48px;
  }

  .form__row,
  .form__row--2,
  .form-card .form__row {
    grid-template-columns: 1fr;
  }

  .footer__main {
    grid-template-columns: 1fr;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
  }
}

@media print {
  .topbar,
  .navbar,
  .wa-float,
  .quote {
    display: none !important;
  }
}

/* hero-ceu */
.hero h1, .hero__content p { text-shadow: 0 1px 14px rgba(10, 24, 62, 0.45); }

/* banner-claro */
.banner h1, .banner p { text-shadow: 0 1px 14px rgba(10, 24, 62, 0.45); }


/* banner-mobile */
@media (max-width: 719px) {
  .banner::after { background: rgba(10, 24, 62, 0.56); }
}

/* ins-card */
.ins-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.ins-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.ins-card__logo { display: flex; align-items: center; height: 64px; }
.ins-card__logo img { width: auto; height: auto; max-width: 170px; max-height: 60px; }
.ins-card__phones { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.ins-card__phones li { display: grid; gap: 2px; }
.ins-card__phones a { color: var(--ink); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.ins-card__phones a:hover { color: var(--accent); }
.ins-card__phones span { color: var(--muted); font-size: var(--fs-xs); }
.ins-card__note { color: var(--muted); font-size: var(--fs-small); }
.ins-card__help { color: var(--accent); font-size: var(--fs-small); font-weight: 600; }
.ins-fine { margin-top: 28px; color: var(--muted); font-size: var(--fs-small); text-align: center; }
