/* =========================================================
   Robson Galvão — site pessoal
   Paleta: preto, dourado, champanhe, off-white
   Fontes: Plus Jakarta Sans (texto/títulos) + Playfair Display (destaques)
   ========================================================= */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/jakarta.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/playfair.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/playfair-italic.woff2) format("woff2"); }

:root {
  --preto: #0B0B0C;
  --preto-fundo: #060606;
  --pedra: #141311;
  --cartao: #121110;
  --linha: #262420;
  --linha-2: #2E2B25;
  --ouro: #CFAE74;
  --ouro-claro: #E4C892;
  --ouro-escuro: #7E5F2F;
  --champanhe: #E6D4AF;
  --creme: #F3EEE6;
  --texto: #F4EFE6;
  --texto-2: #B5AFA4;
  --texto-3: #8F897E;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serifa: 'Playfair Display', Georgia, serif;
  --gutter: 24px;
  --raio: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--preto); color: var(--texto); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ouro); }
a:hover { color: var(--ouro-claro); }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
p { margin: 0; }
em { font-family: var(--serifa); font-style: italic; font-weight: 400; color: var(--ouro); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container--estreito { max-width: 780px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; padding: 0 26px; border-radius: 28px; font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn span { font-size: 18px; letter-spacing: 0; }
.btn:hover { transform: translateY(-1px); }
.btn--ouro { background: var(--ouro); color: var(--preto); }
.btn--ouro:hover { background: var(--ouro-claro); color: var(--preto); }
.btn--preto { background: var(--preto); color: var(--texto); }
.btn--preto:hover { background: #1d1c1a; color: var(--texto); }
.btn--contorno { border: 1px solid var(--ouro); color: var(--ouro); }
.btn--contorno:hover { background: var(--ouro); color: var(--preto); }
.btn--contorno-escuro { border: 1px solid var(--preto); color: var(--preto); }
.btn--contorno-escuro:hover { background: var(--preto); color: var(--creme); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 12px; }

/* ---------- rótulos e cabeçalhos ---------- */
.rotulo { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ouro); }
.rotulo .linha { width: 24px; height: 1px; background: var(--ouro); }
.sobretitulo { font-family: var(--serifa); font-style: italic; font-size: 17px; color: var(--ouro); margin-bottom: 14px; }
.cabeca { margin-bottom: 32px; }
.cabeca h2 { font-size: clamp(28px, 4vw, 44px); }
.cabeca h2 em { font-size: 1.05em; }
.cabeca--centro { text-align: center; }
.cabeca__sub { margin-top: 14px; font-size: 17px; color: var(--texto-2); max-width: 560px; }
.titulo-serifa { font-family: var(--serifa); font-weight: 600; font-size: clamp(40px, 6vw, 64px) !important; letter-spacing: -0.01em; }

.secao { padding: 60px 0 56px; background: var(--preto); position: relative; }
.secao--pedra { background: var(--pedra); }
.secao--escura { background: var(--preto-fundo); }

/* ---------- topo ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.topo.is-solido { background: rgba(11, 11, 12, 0.92); backdrop-filter: blur(10px); border-bottom-color: var(--linha); }
.topo__logo img { height: 24px; width: auto; }
.topo__nav { display: none; gap: 32px; }
.topo__nav a { color: var(--texto); text-decoration: none; font-size: 14px; font-weight: 500; }
.topo__nav a:hover { color: var(--ouro); }
.topo__cta { display: none; }
.topo__menu { display: flex; align-items: center; gap: 12px; min-height: 44px; background: none; border: 0; color: var(--texto); font: 500 12px var(--sans); letter-spacing: 0.25em; cursor: pointer; }
.hamb { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.hamb i { display: block; width: 26px; height: 1.5px; background: var(--texto); transition: transform .3s ease, opacity .3s ease; }
.hamb i:nth-child(2) { width: 18px; background: var(--ouro); }
.topo__menu[aria-expanded="true"] .hamb i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.topo__menu[aria-expanded="true"] .hamb i:nth-child(2) { opacity: 0; }
.topo__menu[aria-expanded="true"] .hamb i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- menu (celular) ---------- */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--preto); padding: 120px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--linha); color: var(--texto); text-decoration: none; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.menu__links em { font-size: 16px; }
.menu__rodape { display: flex; flex-direction: column; gap: 24px; }
.menu__redes { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.menu__redes a { color: #A9A397; text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- 1. banner ---------- */
.banner { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--preto); }
.banner__foto { position: absolute; top: 0; left: 0; width: 100%; height: 70%; object-fit: cover; object-position: 50% 30%; }
.banner::after { content: ""; position: absolute; left: 0; right: 0; top: 35%; bottom: 0; background: linear-gradient(to bottom, rgba(11,11,12,0) 0%, rgba(11,11,12,.88) 40%, var(--preto) 60%); }
.banner__texto { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) 44px; display: flex; flex-direction: column; gap: 18px; }
.banner h1 { font-size: clamp(44px, 7vw, 84px); letter-spacing: -0.04em; line-height: 1.02; }
.banner__frase { font-size: 17px; line-height: 1.5; color: #D9D3C8; max-width: 520px; }
.banner__frase em { font-size: 1.15em; }
.banner__botoes { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }

/* ---------- 2. programas ---------- */
.programas { display: grid; gap: 20px; }
.programa { border-radius: var(--raio); overflow: hidden; display: flex; flex-direction: column; }
.programa img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 45%; }
.programa__corpo { padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.programa__corpo .btn { margin-top: auto; }
.programa__topo { display: flex; justify-content: space-between; align-items: baseline; }
.programa h3 { font-family: var(--serifa); font-weight: 600; font-size: 28px; letter-spacing: 0; }
.programa__topo span { font-family: var(--serifa); font-style: italic; font-size: 15px; }
.programa__chamada { font-family: var(--serifa); font-style: italic; font-size: 19px; }
.programa p { font-size: 15px; line-height: 1.7; }
.programa--preto { background: var(--preto); border: 1px solid var(--linha-2); color: var(--texto); }
.programa--preto .programa__topo span, .programa--preto .programa__chamada { color: var(--ouro); }
.programa--preto p:not(.programa__chamada) { color: var(--texto-2); }
.programa--champanhe { background: var(--champanhe); color: var(--preto); }
.programa--champanhe .programa__topo span, .programa--champanhe .programa__chamada { color: #3A2D16; }
.programa--champanhe p:not(.programa__chamada) { color: #2B2112; }
.programa--creme { background: var(--creme); color: #141210; }
.programa--creme .programa__topo span { color: #6E675C; }
.programa--creme .programa__chamada { color: var(--ouro-escuro); }
.programa--creme p:not(.programa__chamada) { color: #4A453E; }
.nota-centro { margin-top: 28px; text-align: center; color: var(--texto-2); }
.nota-centro em { font-size: 19px; }

/* ---------- 3. sobre ---------- */
.sobre { display: grid; gap: 40px; }
.sobre__foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: 4px; }
.sobre__texto { display: flex; flex-direction: column; gap: 20px; color: var(--texto-2); line-height: 1.75; }
.destaque { font-size: 22px; line-height: 1.4; font-weight: 500; color: var(--texto); letter-spacing: -0.01em; }
.numeros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 32px 0; margin: 12px 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.numeros strong { display: block; font-family: var(--serifa); font-weight: 500; font-size: 34px; line-height: 1; color: var(--ouro); margin-bottom: 6px; }
.numeros span { font-size: 13px; line-height: 1.5; color: #A9A397; }
.tese { display: flex; flex-direction: column; gap: 12px; }
.tese p:last-child { font-size: 21px; line-height: 1.45; font-weight: 500; color: var(--texto); }
.tese em { font-size: 1.15em; }
.assinatura em { font-size: 28px; color: var(--texto); }

.mpday__fotos { display: grid; gap: 16px; }
.mpday__fotos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.mpday__dados { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; text-align: center; }
.mpday__dados div { padding: 22px 8px; border: 1px solid var(--linha-2); border-radius: 4px; }
.mpday__dados strong { display: block; font-family: var(--serifa); font-weight: 500; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; color: var(--ouro); }
.mpday__dados span { font-size: 13px; color: #A9A397; }

/* ---------- 4. mesa de dono ---------- */
.mesa { display: grid; gap: 32px; }
.mesa .cabeca { margin-bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.mesa .cabeca .btn { margin-top: 28px; }
.mesa__video { position: relative; display: block; border-radius: var(--raio); overflow: hidden; aspect-ratio: 3 / 4; }
.mesa__video img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform .6s ease; }
.mesa__video:hover img { transform: scale(1.03); }
.play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--ouro); display: flex; align-items: center; justify-content: center; }
.play--p { position: static; width: 48px; height: 48px; margin: 0; }

/* ---------- 5. princípios ---------- */
.principios { overflow: hidden; }
.principios__marca { position: absolute; top: 40px; right: -70px; width: 300px; opacity: .06; pointer-events: none; }
.frases { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linha); }
.frases li { position: relative; padding: 26px 0 26px 44px; border-top: 1px solid var(--linha); font-size: 20px; line-height: 1.45; font-weight: 500; }
.frases li::before { content: "“"; position: absolute; left: 0; top: 30px; font-family: var(--serifa); font-size: 48px; line-height: .8; color: #5E4F35; }
.frases em { font-size: 1.1em; }
.link-sublinhado { display: inline-block; margin-top: 28px; padding-bottom: 6px; border-bottom: 1px solid var(--ouro); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }

/* ---------- 6. na mídia ---------- */
.veiculos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; align-items: center; justify-items: center; padding: 26px 0; border-top: 1px solid #23211D; border-bottom: 1px solid #23211D; color: #E9E4DA; }
.veiculos b { font-weight: inherit; }
.v-exame { font-family: var(--serifa); font-weight: 700; font-size: 22px; }
.v-cnn { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.v-cnn b { font-weight: 500; }
.v-carta { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.v-carta b { font-weight: 400; }
.v-valor { display: flex; flex-direction: column; align-items: center; line-height: 1; font-family: var(--serifa); font-weight: 700; font-size: 21px; }
.v-valor small { font-family: var(--sans); font-size: 8px; font-weight: 600; letter-spacing: 0.25em; color: #A9A397; margin-top: 4px; }
.v-valor--grande { font-size: 30px; color: var(--ouro); }
.v-valor--grande small { font-size: 9px; margin-top: 6px; }
.v-terra { font-weight: 600; font-size: 21px; }
.v-jp { font-weight: 800; font-size: 15px; letter-spacing: -0.01em; }
.v-jp b { font-weight: 500; }
.citacao { margin: 32px 0; }
.citacao p { font-family: var(--serifa); font-style: italic; font-size: 24px; line-height: 1.3; }
.citacao a { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--texto-3); text-decoration: none; }
.citacao a:hover { color: var(--ouro); }
.carrossel__topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dica { font-size: 12px; color: var(--texto-3); }
.carrossel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--linha-2) transparent; }
.materia { flex: 0 0 250px; scroll-snap-align: start; display: flex; flex-direction: column; background: var(--cartao); border: 1px solid #23211D; border-radius: var(--raio); overflow: hidden; text-decoration: none; color: var(--texto); transition: border-color .2s ease; }
.materia:hover { border-color: var(--ouro); color: var(--texto); }
.materia img, .materia__capa { width: 100%; height: 130px; object-fit: cover; }
.materia__capa { display: flex; align-items: center; justify-content: center; gap: 14px; background: #1A1815; color: #E9E4DA; }
.materia__corpo { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.materia__veiculo { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ouro); }
.materia__titulo { font-family: var(--serifa); font-weight: 600; font-size: 16px; line-height: 1.35; }

/* ---------- 7. chamada final ---------- */
.chamada { background: var(--ouro); color: var(--preto); padding: 56px 0; }
.chamada .container { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.chamada .sobretitulo { color: #3A2D16; margin: 0; }
.chamada h2 { font-size: clamp(30px, 4.5vw, 48px); }
.chamada h2 em { color: var(--preto); font-size: 1.05em; }
.chamada p { font-size: 16px; line-height: 1.7; color: #2B2112; max-width: 560px; }

/* ---------- rodapé ---------- */
.rodape { background: var(--preto-fundo); padding: 56px 0 40px; }
.rodape__grade { display: flex; flex-direction: column; gap: 32px; }
.rodape__nav { display: flex; flex-direction: column; }
.rodape__nav a { color: #DDD7CC; text-decoration: none; font-size: 18px; padding: 10px 0; }
.rodape__nav a:hover { color: var(--ouro); }
.rodape__redes { display: flex; gap: 12px; }
.rodape__redes a { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid #3A362F; border-radius: 50%; color: #DDD7CC; }
.rodape__redes a:hover { border-color: var(--ouro); color: var(--ouro); }
.rodape__logo { width: 100%; max-width: 560px; height: auto; margin: 28px 0; padding: 32px 0; border-top: 1px solid #2A2722; border-bottom: 1px solid #2A2722; box-sizing: content-box; }
.rodape__legal { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--texto-3); }

/* =========================================================
   TELAS MAIORES
   ========================================================= */
@media (min-width: 640px) {
  .banner__botoes { flex-direction: row; }
  .mpday__fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  :root { --gutter: 48px; }
  .secao { padding: 84px 0 80px; }
  .topo { height: 84px; }
  .topo__nav, .topo__cta { display: flex; }
  .topo__menu { display: none; }
  .menu { display: none !important; }

  .banner { align-items: center; }
  .banner__foto { left: auto; right: 0; width: 55%; height: 100%; object-position: 50% 30%; }
  .banner::after { top: 0; left: 0; right: 0; background: linear-gradient(to right, var(--preto) 45%, rgba(11,11,12,.75) 52%, rgba(11,11,12,0) 72%); }
  .banner__texto { padding-bottom: 0; }
  .banner__texto > * { max-width: 560px; }

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

  .sobre { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
  .sobre__foto { position: sticky; top: 120px; }

  .mesa { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .mesa__video { aspect-ratio: 4 / 5; }

  .veiculos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .citacao p { font-size: 32px; max-width: 760px; }
  .carrossel { margin-right: 0; padding-right: 0; }
  .materia { flex-basis: 280px; }

  .rodape__grade { flex-direction: row; justify-content: space-between; align-items: center; }
  .rodape__nav { flex-direction: row; gap: 32px; }
  .rodape__legal { flex-direction: row; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
