/* =========================================================
   Melim Seguros · folha de estilo
   Paleta: azul-marinho da marca + acento "mar"
   Tipos: Outfit (títulos, ecoa a logo) + Geist (texto)
   Raios: botões em pílula, mídia e painéis 16px, campos 10px
   ========================================================= */

/* LOGO: para não depender do Wix, salve a logo em assets/img/logo-melim-branco.png
   e troque a linha abaixo por: --logo-white: url("../img/logo-melim-branco.png"); */
:root {
  --logo-white: url("../img/logo-melim-branco.png");
}

@font-face { font-family: "Outfit"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0F1E30;
  --navy: #1E324A;
  --harbor: #2D4A6B;
  --mist: #EDF2F6;
  --mist-2: #E2E9F0;
  --line: #D5DEE7;
  --muted: #52637A;
  --sea: #3FC1C9;
  --sea-hover: #66D0D6;
  --sea-deep: #0B7480;
  --paper: #FFFFFF;
  --wa: #25D366;
  --danger: #B42318;

  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Geist", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --r-ctl: 999px;
  --r-media: 16px;
  --r-input: 10px;

  --shadow-sm: 0 1px 2px rgb(15 30 48 / .06), 0 6px 16px -8px rgb(15 30 48 / .16);
  --shadow: 0 1px 2px rgb(15 30 48 / .06), 0 14px 36px -14px rgb(15 30 48 / .24);
  --shadow-lg: 0 2px 6px rgb(15 30 48 / .08), 0 30px 70px -24px rgb(15 30 48 / .38);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;

  --step-4: clamp(2.05rem, 3.6vw, 3.05rem);
  --step-5: clamp(2.55rem, 5.3vw, 4.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p, ul, ol, figure, h1, h2, h3, h4, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
h3 { font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sea); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sea); color: var(--ink); padding: 10px 16px; border-radius: var(--r-ctl); font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.i { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; display: inline-block; }
.link { color: var(--sea-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { color: var(--navy); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--r-ctl); border: 1px solid transparent;
  font: 600 1rem/1 var(--font-body); letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn .i { width: 20px; height: 20px; }
.btn:active { transform: scale(.98); }
.btn-sm { height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--harbor); }
.btn-sea { background: var(--sea); color: var(--ink); }
.btn-sea:hover { background: var(--sea-hover); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.on-dark .btn-line, .btn-line.on-dark { border-color: rgb(255 255 255 / .6); color: #fff; }
.on-dark .btn-line:hover, .btn-line.on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.site-header > .wrap { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { display: block; flex: none; width: 150px; height: 44px; background: var(--logo-white) left center / contain no-repeat; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav > ul > li > a, .nav > ul > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--r-ctl);
  color: rgb(255 255 255 / .84); font: 500 .9375rem/1 var(--font-body); transition: color .2s, background-color .2s;
}
.nav > ul > li > a:hover, .nav > ul > li > button:hover, .has-mega.open > button { color: #fff; background: rgb(255 255 255 / .08); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--sea); border-radius: 0; }
.caret { width: 14px; height: 14px; transition: transform .2s; }
.has-mega { position: relative; }
.has-mega.open .caret, .has-mega:hover .caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 16px); left: -24px; width: min(880px, 88vw);
  background: #fff; color: var(--ink); border-radius: var(--r-media); box-shadow: var(--shadow-lg);
  padding: 26px 28px 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 32px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-mega:hover .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega h3 { font: 600 .8125rem/1 var(--font-body); color: var(--muted); letter-spacing: 0; margin: 4px 0 8px; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--ink); font-size: .9375rem; border-bottom: 1px solid var(--line); }
.mega a .i { color: var(--sea-deep); width: 20px; height: 20px; }
.mega a:hover { color: var(--sea-deep); }
.mega .mega-help { margin-top: 22px; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.mega .mega-help a { display: inline; border: 0; padding: 0; color: var(--sea-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }
.mega .mega-all { grid-column: 1 / -1; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.mega .mega-all a { display: inline-flex; border: 0; padding: 0; font-weight: 600; color: var(--navy); }
.header-cta { margin-left: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r-ctl); place-items: center; margin-left: auto; color: #fff; }
.burger .i { width: 26px; height: 26px; }
.burger:hover { background: rgb(255 255 255 / .08); }
.burger .i-x { display: none; }
.menu-open .burger .i-list { display: none; }
.menu-open .burger .i-x { display: block; }

.mobile-panel {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy); color: #fff; overflow-y: auto;
  padding: 8px var(--gutter) 40px; transform: translateX(100%); visibility: hidden;
  transition: transform .3s var(--ease), visibility .3s;
}
.menu-open .mobile-panel { transform: none; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-panel > ul > li > a, .mobile-panel summary {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 0;
  font: 300 1.5rem/1.2 var(--font-display); border-bottom: 1px solid rgb(255 255 255 / .12); cursor: pointer; list-style: none;
}
.mobile-panel summary::-webkit-details-marker { display: none; }
.mobile-panel .caret { width: 20px; height: 20px; }
.mobile-panel details[open] summary .caret { transform: rotate(180deg); }
.mobile-panel .m-group { padding: 4px 0 14px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.mobile-panel .m-group h3 { font: 600 .8125rem var(--font-body); color: rgb(255 255 255 / .6); margin: 16px 0 4px; }
.mobile-panel .m-group a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: rgb(255 255 255 / .9); }
.mobile-panel .m-group a .i { color: var(--sea); width: 20px; height: 20px; }
.mobile-panel .actions { margin-top: 28px; flex-direction: column; align-items: stretch; }

/* ---------- Home: hero ---------- */
.hero { background: var(--mist); padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 92px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero h1 { font-size: var(--step-5); max-width: 13.5ch; }
.hero .sub { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); max-width: 50ch; margin-top: 22px; }
.selector { margin-top: 36px; }
.selector-label { font: 400 1.25rem/1.2 var(--font-display); letter-spacing: -.01em; margin-bottom: 14px; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chip {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px;
  min-height: 104px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-media);
  text-align: left; font: 500 1.0625rem/1.2 var(--font-display); letter-spacing: -.01em; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.chip .i { width: 28px; height: 28px; color: var(--sea-deep); }
.chip:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.chip:active { transform: scale(.98); }
.hero .actions { margin-top: 22px; gap: 12px 24px; }

.mosaic { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(440px, 46vw, 620px); }
.mosaic figure { border-radius: var(--r-media); overflow: hidden; background: var(--mist-2); }
.mosaic .m1 { grid-row: 1 / span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; left: -22px; bottom: 30px; display: flex; gap: 12px; align-items: center; max-width: 280px;
  background: #fff; border-radius: var(--r-media); padding: 14px 18px 14px 14px; box-shadow: var(--shadow);
  font-size: .875rem; line-height: 1.4; color: var(--muted);
}
.badge strong { display: block; color: var(--ink); font-weight: 600; }
.badge .i { width: 30px; height: 30px; color: var(--sea-deep); }

/* Um único momento de entrada, só no hero */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.hero h1 { animation: rise .7s var(--ease) both; }
.hero .sub { animation: rise .7s .08s var(--ease) both; }
.hero .selector { animation: rise .7s .16s var(--ease) both; }
.hero .actions { animation: rise .7s .24s var(--ease) both; }
.mosaic figure { animation: settle .9s var(--ease) both; }
.mosaic .m2 { animation-delay: .12s; }
.mosaic .m3 { animation-delay: .22s; }
.badge { animation: rise .7s .45s var(--ease) both; }

/* ---------- Faixa de fatos ---------- */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(5, 1fr); }
.facts li { padding: 26px 0 26px 24px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font: 300 2.125rem/1 var(--font-display); letter-spacing: -.02em; color: var(--navy); }
.facts span { display: block; margin-top: 8px; font-size: .9375rem; color: var(--muted); }

/* ---------- Seções ---------- */
.section { padding: clamp(64px, 8vw, 116px) 0; }
.section.alt { background: var(--mist); }
.section.tight { padding-top: clamp(24px, 3vw, 40px); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.head h2 { font-size: var(--step-4); max-width: 17ch; }
.head p { color: var(--muted); max-width: 52ch; }
.h2 { font-size: var(--step-4); }

/* Produtos na home */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r-media); aspect-ratio: 4 / 5; color: #fff; isolation: isolate; background: var(--harbor); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(15 30 48 / 0) 38%, rgb(15 30 48 / .82) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile-body { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.tile h3 { font: 400 1.75rem/1.1 var(--font-display); letter-spacing: -.015em; }
.tile p { margin-top: 6px; color: rgb(255 255 255 / .86); font-size: .975rem; line-height: 1.5; }
.groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 40px; margin-top: 56px; }
.groups h3 { font: 500 1.0625rem/1.2 var(--font-display); margin-bottom: 10px; }
.groups a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.groups li:first-child a { border-top: 1px solid var(--line); }
.groups a .i { color: var(--sea-deep); width: 20px; height: 20px; }
.groups a:hover { color: var(--sea-deep); }

/* Como funciona */
.steps-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.steps-grid .intro p { color: var(--muted); margin-top: 18px; max-width: 46ch; }
.steps-grid .intro .actions { margin-top: 28px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font: 300 2.5rem/1 var(--font-display); color: var(--sea-deep); }
.steps h3 { font-size: 1.375rem; }
.steps p { color: var(--muted); margin-top: 6px; }
.after { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; color: var(--muted); }
.after .i { color: var(--sea-deep); width: 24px; height: 24px; margin-top: 2px; }

/* Por que a Melim */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.why-photo { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist-2); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-grid h2 { font-size: var(--step-4); max-width: 16ch; margin-bottom: 28px; }
.why-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.why-list .i { width: 30px; height: 30px; color: var(--sea-deep); }
.why-list h3 { font-size: 1.1875rem; }
.why-list p { color: var(--muted); margin-top: 4px; }

/* Perguntas frequentes */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid > div:first-child p { color: var(--muted); margin-top: 18px; max-width: 40ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 400 1.25rem/1.35 var(--font-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; color: var(--sea-deep); transition: transform .25s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq summary:hover { color: var(--sea-deep); }
.faq .answer { padding: 0 48px 24px 0; color: var(--muted); max-width: 64ch; }

/* ---------- Páginas de produto ---------- */
.p-hero { background: var(--mist); padding: clamp(24px, 3.5vw, 40px) 0 clamp(48px, 6vw, 88px); }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.p-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.p-hero h1 { font-size: var(--step-5); max-width: 15ch; }
.p-hero .lead { font-size: 1.1875rem; line-height: 1.6; color: var(--muted); max-width: 50ch; margin-top: 22px; }
.p-hero .actions { margin-top: 32px; }
.seal { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.seal .i { width: 22px; height: 22px; color: var(--sea-deep); }
.p-hero figure { border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist-2); }
.p-hero figure img { width: 100%; height: 100%; object-fit: cover; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose p { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: var(--step-4); margin-bottom: 22px; }
.side { font: 400 1.5rem/1.2 var(--font-display); letter-spacing: -.01em; margin-bottom: 14px; }
.checks li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks .i { color: var(--sea-deep); width: 22px; height: 22px; margin-top: 3px; }

.covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.cover { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.cover .i { width: 30px; height: 30px; color: var(--sea-deep); }
.cover h3 { font-size: 1.1875rem; margin-top: 16px; }
.cover p { color: var(--muted); margin-top: 6px; font-size: 1rem; }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; background: var(--mist); border-radius: var(--r-media); font-size: .9375rem; color: var(--muted); max-width: 86ch; }
.section.alt .note { background: #fff; }
.note .i { width: 22px; height: 22px; color: var(--navy); margin-top: 1px; }

.hsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.hsteps li { border-top: 2px solid var(--navy); padding-top: 22px; }
.hsteps .n { font: 300 2.25rem/1 var(--font-display); color: var(--sea-deep); }
.hsteps h3 { font-size: 1.25rem; margin-top: 14px; }
.hsteps p { color: var(--muted); margin-top: 6px; }
.hsteps-cta { margin-top: 40px; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-media); transition: border-color .2s, box-shadow .2s; }
.rel:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.rel .i { width: 30px; height: 30px; color: var(--sea-deep); }
.rel strong { display: block; font: 500 1.125rem/1.25 var(--font-display); }
.rel span span { display: block; color: var(--muted); font-size: .9375rem; margin-top: 4px; }

/* Hub de seguros */
.hub-group { display: grid; grid-template-columns: .7fr 1.3fr; gap: 24px 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.hub-group:first-child { border-top: 0; padding-top: 0; }
.hub-group h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.hub-group > div > p { color: var(--muted); margin-top: 10px; max-width: 34ch; }
.hub-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.hub-list a { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hub-list a .i { width: 26px; height: 26px; color: var(--sea-deep); margin-top: 2px; }
.hub-list strong { display: block; font: 500 1.0625rem/1.3 var(--font-display); }
.hub-list span span { display: block; color: var(--muted); font-size: .9375rem; }
.hub-list a:hover strong { color: var(--sea-deep); }

/* Páginas simples (sobre, contato, documentos) */
.page-hero { background: var(--mist); padding: clamp(24px, 3.5vw, 40px) 0 clamp(44px, 5vw, 72px); }
.page-hero h1 { font-size: var(--step-5); max-width: 16ch; }
.page-hero .lead { font-size: 1.1875rem; color: var(--muted); max-width: 56ch; margin-top: 20px; }
.photo { border-radius: var(--r-media); overflow: hidden; background: var(--mist-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4 / 5; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.principles li { padding: 24px 0; border-top: 1px solid var(--line); }
.principles .i { width: 30px; height: 30px; color: var(--sea-deep); }
.principles h3 { font-size: 1.25rem; margin-top: 14px; }
.principles p { color: var(--muted); margin-top: 6px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.office { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-media); }
.office h3 { font-size: 1.25rem; }
.office address { color: var(--muted); margin-top: 10px; line-height: 1.6; }
.office .link { display: inline-block; margin-top: 14px; }
.reg { display: flex; gap: 16px; align-items: flex-start; margin-top: 16px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-media); background: #fff; }
.reg .i { width: 34px; height: 34px; color: var(--sea-deep); }
.reg p { color: var(--muted); margin-top: 4px; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-grid .channels { grid-template-columns: 1fr; }
.channel { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-media); transition: border-color .2s, box-shadow .2s; }
a.channel:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.channel .i { width: 30px; height: 30px; color: var(--sea-deep); }
.channel strong { display: block; font: 500 1.125rem/1.25 var(--font-display); }
.channel span span { display: block; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-grid h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 18px; }
.contact-grid .offices { margin-top: 16px; }
.doc { max-width: 760px; }
.doc h2 { font-size: 1.625rem; font-weight: 400; margin-top: 44px; }
.doc h2:first-child { margin-top: 0; }
.doc p { margin-top: 12px; color: #2A3B4F; }

/* ---------- Formulários ---------- */
.form-card { background: #fff; border-radius: var(--r-media); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 32px); }
.form-card > h2 { font-size: 1.625rem; font-weight: 400; letter-spacing: -.015em; }
.form-card > p { margin-top: 6px; }
.form .field { display: grid; gap: 6px; margin-top: 14px; }
.form label { font-size: .875rem; font-weight: 600; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-input);
  background-color: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form textarea { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(63 193 201 / .35); }
.form [aria-invalid="true"] { border-color: var(--danger) !important; }
.form .err { color: var(--danger); font-size: .8125rem; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .875rem; line-height: 1.5; color: var(--muted); font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.check a { color: var(--sea-deep); text-decoration: underline; text-underline-offset: 3px; }
.form .submit { width: 100%; margin-top: 18px; height: 54px; }
.form .fine { font-size: .8125rem; color: var(--muted); margin-top: 10px; text-align: center; }
.ok { text-align: center; padding: 12px 4px 4px; }
.ok:focus { outline: none; }
.ok > .i { width: 48px; height: 48px; color: var(--sea-deep); margin: 0 auto; }
.ok h3 { font: 400 1.5rem/1.2 var(--font-display); margin-top: 14px; }
.ok p { color: var(--muted); margin: 8px auto 20px; max-width: 40ch; }

/* Modal */
dialog.quote { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-media); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; }
dialog.quote::backdrop { background: rgb(15 30 48 / .58); }
dialog.quote[open] { animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.quote-inner { position: relative; padding: 28px; max-height: calc(100dvh - 24px); overflow-y: auto; }
.quote-inner > h2 { font-size: 1.75rem; font-weight: 400; padding-right: 44px; }
.quote-inner > p { margin-top: 6px; }
.quote-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: var(--r-ctl); display: grid; place-items: center; color: var(--muted); }
.quote-close:hover { background: var(--mist); color: var(--ink); }
.quote-close .i { width: 22px; height: 22px; }

/* ---------- Landing pages ---------- */
.lp-header { background: var(--navy); }
.lp-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.lp-hero { background: var(--mist); padding: clamp(32px, 5vw, 72px) 0; }
.lp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lp-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 15ch; }
.lp-hero .sub { font-size: 1.1875rem; color: var(--muted); max-width: 48ch; margin-top: 20px; }
.lp-bullets { margin-top: 26px; }
.lp-bullets li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.lp-bullets li:last-child { border-bottom: 1px solid var(--line); }
.lp-bullets .i { width: 22px; height: 22px; color: var(--sea-deep); margin-top: 2px; }
.lp-band { padding-top: clamp(40px, 6vw, 80px); }
.lp-band .photo { aspect-ratio: 21 / 8; }
.lp-foot { background: var(--ink); color: rgb(255 255 255 / .62); font-size: .8125rem; line-height: 1.6; padding: 32px 0 44px; }
.lp-foot p + p { margin-top: 10px; }
.lp-foot strong { color: rgb(255 255 255 / .85); font-weight: 600; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.lp-foot a, .lp-foot button { color: rgb(255 255 255 / .82); text-decoration: underline; text-underline-offset: 3px; font-size: .8125rem; }

/* ---------- Rodapé ---------- */
.cta-band { background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px 48px; align-items: end; }
.cta-band h2 { font-size: var(--step-4); max-width: 15ch; }
.cta-band p { color: rgb(255 255 255 / .78); margin-top: 16px; max-width: 48ch; }
.cta-band .actions { justify-content: flex-end; }
.site-footer { background: var(--ink); color: rgb(255 255 255 / .74); }
.foot-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr 1.25fr; gap: 40px; padding: 64px 0 44px; }
.foot-grid h3 { font: 500 1rem/1.2 var(--font-display); color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.foot-grid h3.mt { margin-top: 26px; }
.foot-grid li { padding: 5px 0; font-size: .9375rem; }
.foot-grid a:hover, .foot-grid button:hover { color: #fff; }
.foot-grid button { font-size: .9375rem; color: rgb(255 255 255 / .74); text-align: left; }
.foot-brand p { margin-top: 18px; font-size: .9375rem; max-width: 30ch; }
.social { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #fff; font-weight: 500; }
.social .i { width: 22px; height: 22px; }
.foot-grid address { font-size: .9375rem; line-height: 1.55; }
.foot-grid address + address { margin-top: 12px; }
.legal { border-top: 1px solid rgb(255 255 255 / .12); padding: 28px 0 44px; font-size: .8125rem; line-height: 1.65; color: rgb(255 255 255 / .6); }
.legal p + p { margin-top: 10px; }
.legal strong { color: rgb(255 255 255 / .85); font-weight: 600; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cookies e WhatsApp flutuante ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(560px, calc(100vw - 32px)); background: #fff; color: var(--ink); border-radius: var(--r-media); box-shadow: var(--shadow-lg); padding: 20px 22px; }
.cookie[hidden] { display: none; }
.cookie strong { font: 500 1.0625rem var(--font-display); }
.cookie p { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.cookie p a { color: var(--sea-deep); text-decoration: underline; text-underline-offset: 3px; }
.cookie .actions { margin-top: 14px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 58px; height: 58px; border-radius: var(--r-ctl); display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 26px -10px rgb(15 30 48 / .55); transition: transform .2s var(--ease), opacity .2s; }
.wa-float .i { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px); }

/* ---------- 404 ---------- */
.notfound { min-height: 56vh; display: grid; align-content: center; }
.notfound h1 { font-size: var(--step-5); max-width: 14ch; }
.notfound p { color: var(--muted); margin-top: 16px; max-width: 48ch; }
.notfound .actions { margin-top: 28px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1140px) {
  .nav, .header-cta { display: none; }
  .burger { display: grid; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid, .p-hero-grid, .lp-grid, .steps-grid, .why-grid, .faq-grid, .split, .contact-grid, .cta-grid, .head, .hub-group { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .mosaic { height: clamp(320px, 66vw, 520px); }
  .badge { left: 12px; bottom: 12px; }
  .facts ul { grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
  .facts li { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li:nth-child(-n+3) { border-top: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 10; }
  .groups { grid-template-columns: 1fr 1fr; }
  .covers { grid-template-columns: 1fr 1fr; }
  .hsteps, .related, .channels { grid-template-columns: 1fr; }
  .p-hero figure, .why-photo, .ratio-45 { aspect-ratio: 16 / 10; }
  .p-hero figure { order: -1; }
  .cta-band .actions { justify-content: flex-start; }
  .lp-band .photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .logo { width: 128px; height: 38px; }
  .chips { grid-template-columns: 1fr 1fr; }
  .chip { min-height: 86px; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 280px; }
  .mosaic .m2, .mosaic .m3 { display: none; }
  .mosaic .m1 { grid-row: auto; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-top: 1px solid var(--line); }
  .groups, .covers, .hub-list, .principles, .offices, .form .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .actions .btn { flex: 1 1 auto; }
  .faq .answer { padding-right: 0; }
  .cookie { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .has-cookie .wa-float { opacity: 0; pointer-events: none; }
  .lp-header .btn span { display: none; }
  .lp-header .btn { width: 44px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Ajustes finais */
.actions.spaced { margin-top: 28px; }
.has-mega.is-active > button { color: #fff; box-shadow: inset 0 -2px 0 var(--sea); border-radius: 0; }
.form .row2:has(> [data-extra-wrap][hidden]) { grid-template-columns: 1fr; }
.form textarea { min-height: 72px; }
.foot-grid a, .foot-grid address, .legal p { overflow-wrap: anywhere; }
@media (max-width: 640px) { .foot-grid > div:last-child { grid-column: 1 / -1; } }
