/* Fontes locais (subconjunto latino; Newsreader instanciada em opsz 36). Reserva com métricas ajustadas para não haver salto de layout. */
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader Reserva"; src: local("Georgia"); size-adjust: 118.99%; ascent-override: 61.77%; descent-override: 22.27%; line-gap-override: 0%; }
@font-face { font-family: "Montserrat Reserva"; src: local("Arial"); size-adjust: 127.77%; ascent-override: 75.76%; descent-override: 19.64%; line-gap-override: 0%; }
/* Encontro de Negócios MAM · 23/09/2026 · tokens da IDV (02-identidade-visual/tokens.css) */
:root {
  --teal: #214F59;
  --teal-escuro: #214F59;
  --dourado: #C2A261;
  --offwhite: #FAFAF7;
  --branco: #FFFFFF;
  --grafite: #3C3C3C;
  --grafite-suave: rgb(60 60 60 / 0.72);
  --borda: rgb(33 79 89 / 0.18);

  --serif: "Newsreader", "Newsreader Reserva", "Georgia", serif;
  --sans: "Montserrat", "Montserrat Reserva", Arial, sans-serif;

  --t-hero: clamp(2.25rem, 1.4rem + 3.6vw, 3.5rem);   /* 36 → 56 */
  --t-secao: clamp(1.875rem, 1.4rem + 2vw, 2.5rem);   /* 30 → 40 */
  --t-sub: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);    /* 20 → 24 */
  --t-corpo: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem); /* 17 → 18 */
  --t-legenda: 0.9375rem;                              /* 15 */
  --t-botao: 1.125rem;                                 /* 18 */

  --medida: 62ch;
  --container: 1120px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --secao: clamp(4rem, 8vw, 7rem);
  --raio: 12px;
  --raio-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--grafite);
  font-family: var(--sans);
  font-size: var(--t-corpo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* UX: viúvas em parágrafos e legendas (ex.: "limitadas." sozinha na 2ª linha da nota do botão) */
p { margin: 0 0 1.1em; max-width: var(--medida); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
figcaption, li { text-wrap: pretty; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin: 0 0 0.6em;
  max-width: 24ch;
  font-variation-settings: "opsz" 72;
  text-wrap: balance; /* UX: no celular "Como foi a primeira / edição" e "Por que esse encontro / existe" deixavam 1 palavra na 2ª linha */
}
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-secao); }
/* UX: a 24px o line-height 1.12 (26,9px) deixava acentos da 2ª linha encostando nos descendentes da 1ª (cards das perguntas); 1.2 para o subtítulo */
h3 { font-size: var(--t-sub); font-variation-settings: "opsz" 36; line-height: 1.2; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.secao { padding-block: var(--secao); }
.secao-branca { background: var(--branco); }
.secao-teal { background: var(--teal); color: var(--branco); }
.secao-teal h2, .secao-teal h3 { color: var(--branco); }
.secao-teal p { color: rgb(255 255 255 / 0.92); }

/* filete dourado sob o título: informação de "início de seção", não decoração repetida em todo h3 */
.titulo-secao { position: relative; padding-bottom: 0.55rem; margin-bottom: 1.4rem; }
.titulo-secao::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3rem; height: 3px; background: var(--dourado); border-radius: 2px; }

/* ---------- botão único ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.85rem 1.9rem;
  background: var(--dourado); color: var(--teal-escuro);
  font-family: var(--sans); font-weight: 600; font-size: var(--t-botao); line-height: 1.2;
  text-decoration: none; border: 0; border-radius: var(--raio-pill);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.08);
  transition: background-color 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}
.botao:hover { background: #d1b476; }
.botao:active { transform: translateY(1px); }
.botao:focus-visible { outline: 3px solid var(--branco); outline-offset: 3px; box-shadow: 0 0 0 6px var(--teal); }
.secao-clara .botao:focus-visible { outline-color: var(--teal); box-shadow: 0 0 0 6px var(--branco); }
/* UX: com 40ch (397px) a nota de 62 caracteres quebrava com "limitadas."/"opcional." sozinha na 2ª linha, nas 3 ocorrências; 52ch cabe em 1 linha no desktop e balance divide em 2 linhas parelhas no celular */
.botao-nota { font-size: var(--t-legenda); color: var(--grafite-suave); margin-top: 0.9rem; max-width: 52ch; text-wrap: balance; }
.secao-teal .botao-nota, .hero .botao-nota { color: rgb(255 255 255 / 0.82); }

/* ---------- cabeçalho ---------- */
.topo { position: absolute; inset: 0 0 auto 0; z-index: 3; padding: 1.25rem 0; }
.topo .container { display: flex; align-items: center; justify-content: space-between; }
/* UX: o link do logo media 30px de altura no celular (toque mínimo 48); padding com margem negativa amplia o alvo sem mover o logo */
.topo a { display: inline-block; padding: 0.6rem; margin: -0.6rem; }
.topo img { width: clamp(120px, 14vw, 168px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 88svh; display: grid; align-items: end; background: var(--teal); color: var(--branco); isolation: isolate; }
.hero-foto { position: absolute; inset: 0; z-index: -2; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: var(--foco, center 35%); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(33 79 89 / 0.90) 0%, rgb(33 79 89 / 0.64) 48%, rgb(33 79 89 / 0.18) 100%);
}
/* UX: no celular o h1 começa a 17% do topo do hero, onde o véu está em ~0.33 de opacidade, sobre rostos e camisas brancas; véu mais fechado (mesmas cores da paleta) */
@media (max-width: 819px) {
  .hero::after { background: linear-gradient(to top, rgb(33 79 89 / 0.92) 0%, rgb(33 79 89 / 0.74) 45%, rgb(33 79 89 / 0.50) 100%); }
}
.hero-conteudo { padding-block: clamp(6rem, 14vw, 9rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { color: var(--branco); max-width: 16ch; text-shadow: 0 1px 2px rgb(0 0 0 / 0.25); }
.hero .sub { font-size: var(--t-sub); font-family: var(--serif); font-variation-settings: "opsz" 20; line-height: 1.35; max-width: 34ch; color: rgb(255 255 255 / 0.94); margin-bottom: 1.4rem; }
.hero .quando { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-weight: 500; margin-bottom: 1.6rem; color: var(--branco); }
.hero .quando span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero .quando svg { width: 1.15em; height: 1.15em; color: var(--dourado); }

/* ---------- bloco texto + foto ---------- */
.duo { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 820px) { .duo { grid-template-columns: 1.05fr 1fr; } .duo.foto-esquerda > figure { order: -1; } }
.duo figure { margin: 0; }
.duo figure img { width: 100%; aspect-ratio: var(--ar, 4 / 5); object-fit: cover; object-position: var(--foco, center); border-radius: var(--raio); }
figcaption { font-size: var(--t-legenda); color: var(--grafite-suave); margin-top: 0.6rem; }
.secao-teal figcaption { color: rgb(255 255 255 / 0.75); }

/* ---------- três perguntas (sequência: por isso numeradas) ---------- */
.perguntas { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin: 2rem 0 3rem; padding: 0; list-style: none; counter-reset: p; }
@media (min-width: 720px) { .perguntas { grid-template-columns: repeat(3, 1fr); } }
/* UX: os cards eram brancos sobre seção branca (bloco invisível), sobrando só o filete e um recuo de 22px que desalinhava número/título da coluna de texto (x=145 vs 123); bloco em off-white (paleta) devolve o card que o plano de design previa e justifica o recuo */
.perguntas li { counter-increment: p; background: var(--offwhite); border-top: 3px solid var(--dourado); border-radius: 0 0 var(--raio) var(--raio); padding: 1.5rem 1.4rem 1.6rem; }
.perguntas li::before { content: counter(p); display: block; font-family: var(--serif); font-size: 2.75rem; line-height: 1; color: var(--dourado); margin-bottom: 0.6rem; }
.perguntas h3 { margin-bottom: 0.4rem; max-width: none; }
.perguntas p { font-size: 1rem; color: var(--grafite-suave); }

/* ---------- o que acontece na noite ---------- */
.noite { display: grid; gap: 1.6rem 2.5rem; grid-template-columns: 1fr; margin: 0 0 2.5rem; padding: 0; list-style: none; }
@media (min-width: 720px) { .noite { grid-template-columns: repeat(2, 1fr); } }
/* UX: ícone de 44px com título de 18px começando 5px abaixo do topo: centros desencontrados (22px vs 15px) e ícone invadindo a 2ª linha. Ícone 36px e título com margem calculada para o centro da 1ª linha coincidir com o centro do ícone */
.noite li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; align-items: start; }
.noite svg { width: 2.25rem; height: 2.25rem; color: var(--dourado); }
.noite h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.3; margin: calc((2.25rem - 1.3em) / 2) 0 0.25rem; color: var(--teal); }
.noite p { font-size: 1rem; }

/* frase de apoio da cliente no fim de "O que acontece na noite": lida como fecho do bloco, em serifa, antes do botão */
.apoio { font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: var(--t-sub); line-height: 1.3; color: var(--teal); max-width: 30ch; margin: 0 0 2rem; border-left: 3px solid var(--dourado); padding-left: 1rem; }

/* fotos pequenas lado a lado */
/* UX: blocos irmãos na mesma seção com respiro diferente (perguntas 48px, trio 40px); um só valor */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0 0 3rem; }
.trio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--foco, center); border-radius: var(--raio); }
@media (max-width: 560px) { .trio { grid-template-columns: 1fr 1fr; } .trio picture:last-child { grid-column: span 2; } .trio picture:last-child img { aspect-ratio: 16 / 10; } }

/* ---------- grade da 1ª edição ---------- */
.grade { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0 0; }
@media (min-width: 720px) { .grade { grid-template-columns: repeat(12, 1fr); } .grade > figure:nth-child(1) { grid-column: span 7; } .grade > figure:nth-child(2) { grid-column: span 5; } .grade > figure:nth-child(3) { grid-column: span 5; } .grade > figure:nth-child(4) { grid-column: span 7; } }
.grade figure { margin: 0; display: flex; flex-direction: column; }
.grade img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--foco, center); border-radius: var(--raio); }
/* UX: com height:100% cíclico dentro do flex, a foto media 0px até o lazy carregar e a grade saltava de 34px para 900px (docH 7462 -> 8327), empurrando "Para quem é". Altura definida pelo picture: 3/2 na coluna de 7 e 1.064 na de 5 (mesma altura de linha em qualquer largura, diferença < 1px) */
@media (min-width: 720px) {
  .grade picture { display: block; aspect-ratio: 3 / 2; }
  .grade > figure:nth-child(2) picture, .grade > figure:nth-child(3) picture { aspect-ratio: 1.064; }
  .grade img { aspect-ratio: auto; height: 100%; }
}
@media (min-width: 560px) and (max-width: 719px) { .grade img { aspect-ratio: 1; } }
/* UX: no celular a grade 2x2 dava fotos de 169px com legendas de 2 a 4 linhas (48 a 96px) embaixo, desproporcionais e desiguais entre colunas; uma coluna com foto 3/2 e legenda em 1 ou 2 linhas */
@media (max-width: 559px) { .grade { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ---------- para quem ---------- */
.perfis { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 1.25rem 0 1.5rem; list-style: none; }
/* UX: no celular as pílulas viram itens de 2 a 3 linhas (71 a 96px) e o raio de 999px encostava a curva no início do texto; raio de 1.6rem continua pílula em 1 linha (45px) e vira retângulo arredondado quando quebra */
.perfis li { border: 1.5px solid var(--dourado); color: var(--teal); border-radius: 1.6rem; padding: 0.55rem 1.1rem; font-weight: 500; font-size: 1rem; }

/* ---------- local ---------- */
.endereco { font-style: normal; }
/* UX: o link do mapa media 22px de altura (toque mínimo 48); padding com margem negativa amplia o alvo sem mudar o fluxo do texto */
.endereco a { color: var(--teal); font-weight: 600; text-decoration-color: var(--dourado); text-underline-offset: 3px; display: inline-block; padding-block: 0.75rem; margin-block: -0.75rem; }
.endereco a:hover { text-decoration-thickness: 2px; }
.links-local { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 0.75rem; }
.links-local a { display: inline-flex; align-items: center; gap: 0.5rem; }
.links-local svg { width: 1.35em; height: 1.35em; color: var(--dourado); flex: none; }
.jantar { border-left: 3px solid var(--dourado); padding-left: 1rem; margin-top: 1.25rem; }

/* ---------- fechamento ---------- */
.fecho { position: relative; isolation: isolate; color: var(--branco); }
.fecho-foto { position: absolute; inset: 0; z-index: -2; }
.fecho-foto img { width: 100%; height: 100%; object-fit: cover; object-position: var(--foco, center); }
.fecho::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(33 79 89 / 0.78); }
.fecho .container { padding-block: clamp(5rem, 12vw, 9rem); text-align: center; }
/* UX: a frase quebrava em 3 linhas desiguais ("um movimento." curta no fim); balance iguala as linhas */
.fecho blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--serif); font-size: var(--t-secao); line-height: 1.2; color: var(--branco); text-wrap: balance; }
.fecho .assinatura { margin-top: 2.5rem; display: grid; justify-items: center; gap: 0.75rem; font-size: var(--t-legenda); color: rgb(255 255 255 / 0.8); }
.fecho .assinatura img { width: 88px; }

/* ---------- botão fixo no mobile ---------- */
.cta-fixo { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom)); background: rgb(250 250 247 / 0.94); backdrop-filter: blur(8px); border-top: 1px solid var(--borda); transform: translateY(110%); transition: transform 0.25s ease; }
.cta-fixo .botao { width: 100%; }
.cta-fixo.visivel { transform: none; }
@media (min-width: 820px) { .cta-fixo { display: none; } }
@media (prefers-reduced-motion: reduce) { .cta-fixo { transition: none; } }
body.com-cta-fixo { padding-bottom: 5.5rem; }
@media (min-width: 820px) { body.com-cta-fixo { padding-bottom: 0; } }

/* acessibilidade */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; }

/* WhatsApp flutuante: passa pelo link rastreado da MUV (click_code + protocolo), nunca wa.me direto */
.wpp-flutuante { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 6; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 56px; min-width: 56px; padding: 0 1.1rem 0 0.9rem; border-radius: 999px; background: var(--teal); color: var(--branco); text-decoration: none; font-weight: 600; font-size: 1rem; box-shadow: 0 6px 20px rgb(33 79 89 / 0.28); transition: bottom 0.25s ease, transform 0.15s ease, background 0.15s ease; }
.wpp-flutuante:hover { background: var(--teal-escuro); transform: translateY(-2px); }
.wpp-flutuante svg { width: 28px; height: 28px; flex: none; }
.wpp-flutuante .rotulo { white-space: nowrap; }
@media (max-width: 819px) {
  .wpp-flutuante { padding: 0; width: 56px; justify-content: center; }
  .wpp-flutuante .rotulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cta-fixo.visivel ~ .wpp-flutuante { bottom: calc(5.9rem + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .wpp-flutuante { transition: none; } }
