/* Encontro de Negócios MAM · 23/09/2026 · tokens da IDV (02-identidade-visual/tokens.css) */
:root {
  --teal: #214F59;
  --teal-escuro: #12372A;
  --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", "Georgia", "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", "Helvetica Neue", 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; }
p { margin: 0 0 1.1em; max-width: var(--medida); }
p:last-child { margin-bottom: 0; }

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;
}
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-secao); }
h3 { font-size: var(--t-sub); font-variation-settings: "opsz" 36; }

.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); }
.botao-nota { font-size: var(--t-legenda); color: var(--grafite-suave); margin-top: 0.9rem; max-width: 40ch; }
.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; }
.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(18 55 42 / 0.90) 0%, rgb(33 79 89 / 0.64) 48%, rgb(33 79 89 / 0.18) 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); } }
.perguntas li { counter-increment: p; background: var(--branco); 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); } }
.noite li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.noite svg { width: 2.75rem; height: 2.75rem; color: var(--dourado); }
.noite h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; margin: 0.3rem 0 0.25rem; color: var(--teal); }
.noite p { font-size: 1rem; }

/* fotos pequenas lado a lado */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0 0 2.5rem; }
.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); }
@media (min-width: 720px) { .grade picture { flex: 1; min-height: 0; display: flex; } .grade img { aspect-ratio: auto; height: 100%; } }
@media (max-width: 719px) { .grade img { aspect-ratio: 1; } }

/* ---------- para quem ---------- */
.perfis { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 1.25rem 0 1.5rem; list-style: none; }
.perfis li { border: 1.5px solid var(--dourado); color: var(--teal); border-radius: var(--raio-pill); padding: 0.55rem 1.1rem; font-weight: 500; font-size: 1rem; }

/* ---------- local ---------- */
.endereco { font-style: normal; }
.endereco a { color: var(--teal); font-weight: 600; text-decoration-color: var(--dourado); text-underline-offset: 3px; }
.endereco a:hover { text-decoration-thickness: 2px; }
.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(18 55 42 / 0.78); }
.fecho .container { padding-block: clamp(5rem, 12vw, 9rem); text-align: center; }
.fecho blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--serif); font-size: var(--t-secao); line-height: 1.2; color: var(--branco); }
.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; }
