/* Alfieri Seguros — visual novo
   Editorial, escuro e calmo. Movimento só onde explica algo:
   uma entrada no topo, revelações curtas ao rolar e resposta ao toque. */

:root {
  --navy: #102D3A;
  --navy-deep: #102D3A; /* só as cores da paleta */
  --petrol: #174B59;
  --gold: #C5A46D;
  --gold-soft: #D9C29A;
  --gold-dark: #9E7E48;
  --sand: #F4F3EF;
  --sand-2: #ECEAE3;
  --white: #FFFFFF;
  --ink: #102D3A;
  --muted: #5B6F78;
  --line: rgba(16, 45, 58, .12);
  --line-light: rgba(255, 255, 255, .14);

  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 12vw, 176px);
  --radius: 18px;

  /* granulado fino (estático) para os fundos escuros */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- tipografia ---------- */
.serif { font-family: var(--serif); }
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 6.1vw, 96px);
  line-height: .98; letter-spacing: -.028em;
  font-optical-sizing: auto;
}
.display em, .title em { font-style: italic; color: var(--gold); }
.title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02; letter-spacing: -.024em;
  text-wrap: balance;
}
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dark);
}
.label .n { font-variant-numeric: tabular-nums; color: var(--muted); letter-spacing: .08em; }
.label::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .6; }
.lead { font-weight: 400; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); max-width: 46ch; text-wrap: pretty; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--gold); --fg: var(--navy);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid transparent;
  font: 700 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn svg, .btn i { width: 18px; height: 18px; flex: none; }
.btn .arr { transition: transform 220ms var(--ease-out); }
.btn-line { --bg: transparent; --fg: var(--white); border-color: var(--line-light); }
.btn-dark { --bg: var(--navy); --fg: var(--white); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--gold-soft); }
  .btn-line:hover { --bg: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); }
  .btn-dark:hover { --bg: var(--petrol); }
  .btn:hover .arr { transform: translateX(4px); }
}

/* ---------- cabeçalho ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--white);
  transition: background-color 280ms ease, color 280ms ease, box-shadow 280ms ease;
}
.top .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top .brand img { height: 30px; width: auto; filter: brightness(0) invert(1); transition: filter 280ms ease; }
.top.solid {
  background: rgba(255,255,255,.94); color: var(--ink);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.top.solid .brand img { filter: none; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav .link { position: relative; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .86; padding: 6px 0; }
.nav .link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav .link:hover { opacity: 1; }
  .nav .link:hover::after { transform: scaleX(1); transform-origin: left; }
}
.top .btn { --bg: var(--white); --fg: var(--navy); }
.top.solid .btn { --bg: var(--navy); --fg: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .top .btn:hover { --bg: var(--gold); --fg: var(--navy); }
}
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.burger span { display: block; width: 22px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform 240ms var(--ease-out); }

/* ---------- topo (hero) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy-deep); color: var(--white); overflow: hidden; isolation: isolate;
  padding: 140px 0 0;
}
.hero-media { position: absolute; inset: -6% 0 0 0; z-index: -2; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 66% 38%;
  filter: saturate(.85) contrast(1.06);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16,45,58,.55) 0%, rgba(16,45,58,0) 20%),
    linear-gradient(0deg, rgba(16,45,58,.86) 0%, rgba(16,45,58,.55) 32%, rgba(16,45,58,.08) 64%),
    linear-gradient(90deg, rgba(16,45,58,.62) 0%, rgba(16,45,58,.2) 55%, rgba(16,45,58,0) 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.hero .label { color: var(--gold); }
.hero .label::after { background: var(--gold); }
.hero h1 { margin-top: 26px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: clamp(32px, 6vw, 96px); align-items: end;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero .lead { margin-top: 28px; color: rgba(255,255,255,.74); }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* índice "O que você quer proteger?" */
.index { border-top: 1px solid var(--line-light); }
.index h2 { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); padding: 18px 0 8px; }
.index a {
  position: relative; display: grid; grid-template-columns: 34px 1fr 20px; align-items: center;
  padding: 13px 4px; border-bottom: 1px solid var(--line-light);
  text-decoration: none; font-size: 16px; font-weight: 600; color: rgba(255,255,255,.92);
  isolation: isolate;
}
.index a .n { font-size: 12px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.index a svg { width: 18px; height: 18px; color: var(--gold); opacity: .55; transition: transform 240ms var(--ease-out), opacity 240ms ease; }
.index a::before {
  content: ""; position: absolute; inset: 0 -12px; z-index: -1; border-radius: 10px;
  background: rgba(197,164,109,.12); clip-path: inset(0 100% 0 0 round 10px);
  transition: clip-path 320ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .index a:hover::before { clip-path: inset(0 0 0 0 round 10px); }
  .index a:hover svg { transform: translateX(4px); opacity: 1; }
}

.hero-bar {
  border-top: 1px solid var(--line-light);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0 24px; font-size: 13px; color: rgba(255,255,255,.55);
}
.hero-bar .places { display: flex; gap: 28px; }
.hero-bar .places span { display: inline-flex; align-items: center; gap: 10px; }
.hero-bar .places span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cue { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.cue i { position: relative; display: block; width: 1px; height: 28px; background: rgba(255,255,255,.2); overflow: hidden; }
.cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(-100%); animation: cue 2.4s var(--ease-in-out) 2.2s infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }

/* ---------- seções ---------- */
.sec { padding: var(--section) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .title { margin-top: 22px; }
.sec-head .lead { margin-top: 0; }

/* 01 — seguros */
.ins .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.ins-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; }
.ins-count { font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.ins-count b { color: var(--ink); }
.arrows { display: flex; gap: 8px; }
.arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, opacity 200ms ease, transform 160ms var(--ease-out);
}
.arrow svg { width: 20px; height: 20px; }
.arrow:active:not(:disabled) { transform: scale(.94); }
.arrow:disabled { opacity: .3; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .arrow:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: var(--white); }
}

/* cartões na proporção da AXA (280 × 360), ícones antigos (Flaticon) */
.ins { overflow: hidden; }
.track {
  --bleed: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column; grid-auto-columns: 280px; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--bleed)); padding: 4px var(--bleed) 8px; scroll-padding: 0 var(--bleed);
  cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.dragging { cursor: grabbing; scroll-snap-type: none; }
.track.dragging .icard { pointer-events: none; }

@font-face {
  font-family: "AlfieriIcons";
  src: url("fonts/flaticon/font/Flaticon.woff2?v=3") format("woff2"),
       url("fonts/flaticon/font/Flaticon.woff?v=3") format("woff");
  font-display: block;
}
.icard {
  position: relative; scroll-snap-align: start; aspect-ratio: 7 / 9;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: var(--sand); color: var(--ink); text-decoration: none;
  transition: color 360ms ease, transform 160ms var(--ease-out);
  -webkit-user-drag: none; user-select: none;
}
.icard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--petrol);
  clip-path: inset(100% 0 0 0); transition: clip-path 520ms var(--ease-out);
}
.icard:active { transform: scale(.98); }
.icard .top-row { display: flex; justify-content: space-between; align-items: flex-start; }
.icard .icon {
  display: grid; place-items: center; width: 64px; height: 64px;
  font-size: 50px; line-height: 1; color: var(--petrol); transition: color 360ms ease;
}
.icard .icon::before { font-family: "AlfieriIcons" !important; line-height: 1; }
.flaticon-building::before { content: "\F000"; }
.flaticon-house-2::before { content: "\F001"; }
.flaticon-car::before { content: "\F008"; }
.flaticon-house-key::before { content: "\F009"; }
.flaticon-surety::before { content: "\F00A"; }
.flaticon-life::before { content: "\F00B"; }
.flaticon-passport::before { content: "\F00C"; }
.flaticon-bull::before { content: "\F00D"; }
.icard .no { font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; transition: color 360ms ease; }
.icard .cat { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; transition: color 360ms ease; }
.icard h3 { font-family: var(--serif); font-size: 27px; line-height: 1.08; letter-spacing: -.015em; }
.icard .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-out); }
.icard .more > div { overflow: hidden; }
.icard .more p { padding-top: 12px; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.78); opacity: 0; transform: translateY(6px); transition: opacity 300ms ease, transform 420ms var(--ease-out); }
.icard .go {
  margin-top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--petrol);
  transition: background-color 360ms ease, border-color 360ms ease, color 360ms ease, transform 300ms var(--ease-out);
}
.icard .go svg { width: 18px; height: 18px; }
.icard:focus-visible { outline-offset: 4px; }
.icard.on::before, .icard:focus-visible::before { clip-path: inset(0 0 0 0); }
.icard.on, .icard:focus-visible { color: var(--white); }
.icard.on .icon, .icard:focus-visible .icon, .icard.on .cat, .icard:focus-visible .cat { color: var(--gold); }
.icard.on .no, .icard:focus-visible .no { color: rgba(255,255,255,.5); }
.icard.on .more, .icard:focus-visible .more { grid-template-rows: 1fr; }
.icard.on .more p, .icard:focus-visible .more p { opacity: 1; transform: none; transition-delay: 60ms; }
.icard.on .go, .icard:focus-visible .go { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: rotate(-45deg); }
@media (hover: hover) and (pointer: fine) {
  .icard:hover::before { clip-path: inset(0 0 0 0); }
  .icard:hover { color: var(--white); }
  .icard:hover .icon, .icard:hover .cat { color: var(--gold); }
  .icard:hover .no { color: rgba(255,255,255,.5); }
  .icard:hover .more { grid-template-rows: 1fr; }
  .icard:hover .more p { opacity: 1; transform: none; transition-delay: 60ms; }
  .icard:hover .go { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: rotate(-45deg); }
}
/* telas de toque: a descrição já fica à vista */
@media (hover: none) {
  .icard .more { grid-template-rows: 1fr; }
  .icard .more p { opacity: 1; transform: none; color: var(--muted); }
}
.ins-progress { margin-top: 36px; height: 1px; background: var(--line); position: relative; }
.ins-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 25%; background: var(--gold); border-radius: 3px; transform-origin: left; }

/* 02 — previdência */
.pension { background: var(--sand); }
.pension .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.pension .stick { position: sticky; top: 132px; }
.pension .title { margin-top: 22px; }
.pension .lead { margin-top: 28px; }
.pension .btn { margin-top: 40px; }
.benefit {
  display: grid; grid-template-columns: 88px 1fr; gap: 8px 24px;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.benefit:last-child { border-bottom: 1px solid var(--line); }
.benefit .num { grid-row: span 2; font-family: var(--serif); font-size: 56px; line-height: .9; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.03em; }
.benefit h3 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.015em; }
.benefit p { color: var(--muted); max-width: 44ch; }

/* 03 — câmbio */
.fx { background: var(--petrol); color: var(--white); overflow: hidden; isolation: isolate; }
.fx::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .06; mix-blend-mode: overlay; pointer-events: none; }
.fx .label { color: var(--gold); }
.fx .lead { color: rgba(255,255,255,.66); }
.board { border-top: 1px solid var(--line-light); }
.board-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.live { display: inline-flex; align-items: center; gap: 10px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8FD6A8; box-shadow: 0 0 0 0 rgba(143,214,168,.5); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(143,214,168,.45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(143,214,168,0); } }
.quote {
  display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 24px;
  padding: clamp(22px, 3vw, 34px) 0; border-top: 1px solid var(--line-light);
}
.quote .pair { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.015em; }
.quote .pair small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.62); }
.quote .val { font-size: clamp(36px, 5.2vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; transition: opacity 420ms ease, filter 420ms ease; }
.quote .val.wait { opacity: .25; filter: blur(4px); }
.quote .chg { min-width: 86px; text-align: right; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.4); }
.quote .chg.up { color: #8FD6A8; }
.quote .chg.down { color: #F2A38F; }
.quotes-note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.62); }
.services { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius);
  background: rgba(16,45,58,.28); border: 1px solid var(--line-light); text-decoration: none;
  transition: background-color 260ms ease, border-color 260ms ease, transform 160ms var(--ease-out);
}
.service:active { transform: scale(.985); }
.service svg.ic { width: 40px; height: 40px; color: var(--gold); }
.service h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.015em; margin-top: 16px; }
.service p { color: rgba(255,255,255,.66); max-width: 40ch; }
.service .more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 700; font-size: 15px; }
.service .more svg { width: 18px; height: 18px; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .service:hover { background: rgba(255,255,255,.06); border-color: rgba(197,164,109,.45); }
  .service:hover .more svg { transform: translateX(4px); }
}

/* 04 — contato */
.contact .big { max-width: 18ch; font-size: clamp(44px, 6.8vw, 104px); }
.contact-row { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.contact-row .lead { max-width: 40ch; }
.channels { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: 1fr 1fr 1.55fr 1fr; border-top: 1px solid var(--line); }
.channel {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 32px 28px 32px 0; text-decoration: none; border-bottom: 1px solid var(--line);
}
.channel + .channel { padding-left: 28px; border-left: 1px solid var(--line); }
.channel .k { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); display: flex; align-items: center; gap: 10px; }
.channel .k i { font-size: 15px; width: 16px; }
.channel .v { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.01em; overflow-wrap: anywhere; }
.channel .v span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .channel:hover .v span { background-size: 100% 1px; }
}

/* seguradoras — mesmo arranjo do site original, cinza → cor */
.partners { padding: 0 0 var(--section); text-align: center; }
.partners .label { justify-content: center; }
.partners .label::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .6; }
.partners h2 { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.015em; line-height: 1.15; max-width: 22ch; margin: 18px auto 48px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 20px; }
.logo-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 24px; transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms var(--ease-out); }
.logo-card img { width: 186px; height: 40px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter 300ms ease, opacity 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .logo-card:hover { border-color: transparent; box-shadow: 0 18px 40px -24px rgba(16,45,58,.45); transform: translateY(-2px); }
  .logo-card:hover img { filter: none; opacity: 1; }
}

/* rodapé */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.66); padding: clamp(72px, 9vw, 120px) 0 32px; font-size: 15px; position: relative; isolation: isolate; overflow: hidden; }
.footer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .05; mix-blend-mode: overlay; pointer-events: none; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer .about { margin-top: 22px; max-width: 32ch; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a { text-decoration: none; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--white); } }
.footer .bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.42); }
.footer .bottom a { color: rgba(255,255,255,.6); }

/* WhatsApp flutuante: aparece depois do topo, que já tem o botão */
.wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--navy); font-size: 28px; text-decoration: none;
  box-shadow: 0 16px 34px -12px rgba(16,45,58,.6);
  opacity: 0; transform: translateY(12px) scale(.92); pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
}
.wa.show { opacity: 1; transform: none; pointer-events: auto; }
.wa:active { transform: scale(.94); }
.wa svg, .wa i { width: 28px; height: 28px; }

/* ---------- movimento ---------- */
/* Só com JS ligado (classe .js no <html>); sem JS tudo aparece. */

/* entrada do topo, uma vez por visita da página */
.js .hero-media img { opacity: 0; transform: scale(1.12); }
.js .hero.ready .hero-media img { opacity: 1; transform: scale(1); transition: opacity 1200ms ease, transform 2400ms var(--ease-out); }
.js .hero .mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .hero .mask > span { display: block; transform: translateY(108%); }
.js .hero.ready .mask > span { transform: none; transition: transform 1000ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .hero .fade { opacity: 0; transform: translateY(10px); }
.js .hero.ready .fade { opacity: 1; transform: none; transition: opacity 700ms ease, transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .hero .fade.flat { transform: none; }

/* ao rolar: uma entrada por bloco, distância curta */
.js .rv { opacity: 0; transform: translateY(18px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity 700ms ease, transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv-title { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.js .rv-title > span { display: block; transform: translateY(105%); }
.js .rv-title.in > span { transform: none; transition: transform 1000ms var(--ease-out); }
/* linhas finas que se desenham */
.js .rule { transform: scaleX(0); transform-origin: left; }
.js .rule.in { transform: none; transition: transform 1100ms var(--ease-in-out); transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-media img, .js .hero.ready .hero-media img { transform: none; transition: opacity 600ms ease; }
  .js .hero .mask > span, .js .rv-title > span, .js .rule { transform: none !important; }
  .js .hero .fade, .js .rv { transform: none !important; }
  .js .hero .mask, .js .rv-title { opacity: 0; }
  .js .hero.ready .mask, .js .rv-title.in { opacity: 1; transition: opacity 500ms ease; }
  .js .hero.ready .fade, .js .rv.in { transition: opacity 500ms ease; transition-delay: 0ms; }
  .cue i::after, .live::before { animation: none; }
  .icard::before { transition: none; }
}

/* ---------- telas menores ---------- */
@media (max-width: 1080px) {
  .channels { grid-template-columns: 1fr 1fr; }
  .channel:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .top .wrap { height: 72px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); color: var(--ink); padding: 8px var(--gutter) 28px;
    box-shadow: 0 24px 40px -24px rgba(16,45,58,.4);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav .link { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .link::after { display: none; }
  .nav .btn { margin-top: 20px; justify-content: center; --bg: var(--navy); --fg: var(--white); }
  .top.menu { background: var(--white); color: var(--ink); }
  .top.menu .brand img { filter: none; }
  .top.menu .burger span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
  .top.menu .burger span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media img { object-position: 64% 40%; }
  .ins .sec-head, .sec-head { grid-template-columns: 1fr; }
  .pension .wrap { grid-template-columns: 1fr; }
  .pension .stick { position: static; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 112px; }
  .hero h1 { margin-top: 20px; }
  .hero .label::after { display: none; }
  .hero .actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-bar .places { gap: 16px; flex-wrap: wrap; }
  .cue { display: none; }
  .track { grid-auto-columns: 240px; }
  .icard { padding: 22px; }
  .icard .icon { width: 56px; height: 56px; font-size: 44px; }
  .icard h3 { font-size: 24px; }
  .arrows { display: none; }
  .benefit { grid-template-columns: 64px 1fr; padding: 32px 0; }
  .benefit .num { font-size: 42px; }
  .quote { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .quote .chg { grid-column: 2; min-width: 0; }
  .channels { grid-template-columns: 1fr; }
  .channel, .channel + .channel { padding: 26px 0; border-left: 0; }
  .logo-card { padding: 12px 16px; }
  .logo-card img { width: 200px; height: 34px; }
  .footer .cols { grid-template-columns: 1fr; }
  .wa { right: 16px; bottom: 16px; }
}
