/* ═══════════════════════════════════════════════════════════════
   Renata Cinosi — Tradutora Juramentada
   style.css  ·  1 arquivo, zero dependências de build
   ═══════════════════════════════════════════════════════════════ */

/* ───────── 0. FONTES (hospedadas em assets/fonts/) ───────── */

/* Cormorant Garamond (latin) */
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400;
  src: url('/assets/fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500;
  src: url('/assets/fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500;
  src: url('/assets/fonts/cormorant-garamond-v21-latin-500italic.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600;
  src: url('/assets/fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 600;
  src: url('/assets/fonts/cormorant-garamond-v21-latin-600italic.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700;
  src: url('/assets/fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 700;
  src: url('/assets/fonts/cormorant-garamond-v21-latin-700italic.woff2') format('woff2'); }

/* Great Vibes: só peso 400, sem itálico */
@font-face { font-display: swap; font-family: 'Great Vibes'; font-style: normal; font-weight: 400;
  src: url('/assets/fonts/great-vibes-v21-latin_latin-ext-regular.woff2') format('woff2'); }

/* Inter: só os pesos usados */
@font-face { font-display: swap; font-family: 'Inter'; font-style: normal; font-weight: 400;
  src: url('/assets/fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Inter'; font-style: italic; font-weight: 400;
  src: url('/assets/fonts/inter-v20-latin_latin-ext-italic.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Inter'; font-style: normal; font-weight: 500;
  src: url('/assets/fonts/inter-v20-latin_latin-ext-500.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Inter'; font-style: italic; font-weight: 500;
  src: url('/assets/fonts/inter-v20-latin_latin-ext-500italic.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Inter'; font-style: normal; font-weight: 600;
  src: url('/assets/fonts/inter-v20-latin_latin_ext-600.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Inter'; font-style: italic; font-weight: 600;
  src: url('/assets/fonts/inter-v20-latin_ext-600italic.woff2') format('woff2'); }

/* ───────── 1. TOKENS ───────── */
:root {
  --marinho-900: #08142b;
  --marinho-800: #0b1b3a;
  --marinho-700: #14284b;
  --marinho-600: #1e3a68;

  --ouro-300: #e6cf9f;
  --ouro-400: #ddbe7e;
  --ouro-500: #c9a55c;
  --ouro-600: #b8903f;

  --creme-50:  #fbf7ee;
  --creme-100: #f5efe3;
  --creme-200: #e9dfcb;

  --grafite:  #2b2f38;
  --vinho:    #7a1f2b;
  --verde-it: #1f6b3a;
  /* ✏️ Paleta da Renata: verde do documento dela */
  --whatsapp: #1f8a4c;
  --whatsapp-escuro: #14662f;

  --cor-fundo-escuro: var(--marinho-800);
  --cor-texto-escuro: var(--creme-100);
  --cor-destaque:     var(--ouro-500);
  --cor-fundo-claro:  var(--creme-100);
  --cor-texto-claro:  var(--grafite);

  --fonte-titulo: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --fonte-script: "Great Vibes", "Snell Roundhand", "Brush Script MT", cursive;
  --fonte-texto:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --t-base:   clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --t-pequeno: 0.875rem;
  --t-script: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --t-h1:     clamp(2.6rem, 1.7rem + 3.8vw, 4.4rem);

  --espaco-1: 0.5rem;
  --espaco-2: 1rem;
  --espaco-3: 1.5rem;
  --espaco-4: 2.5rem;
  --espaco-5: 4rem;
  --largura-max: 72rem;
  --raio: 0.75rem;
  --raio-pill: 999px;
}

/* ───────── 2. BASE ───────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--cor-texto-claro);
  background: var(--cor-fundo-claro);
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ouro-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: var(--espaco-2); top: -4rem;
  padding: 0.6rem 1rem; background: var(--ouro-500); color: var(--marinho-900);
  font-weight: 600; z-index: 100; border-radius: var(--raio);
}
.skip-link:focus { top: var(--espaco-2); }

/* ───────── 3. LAYOUT ───────── */
.container {
  width: min(100% - 2.5rem, var(--largura-max));
  margin-inline: auto;
}

/* ───────── 4. COMPONENTES ───────── */

/* ✏️ Cabeçalho: sticky translúcido (documento da Renata) */
.cabecalho {
  position: sticky; top: 0; z-index: 20;
  background: rgb(11 27 58 / 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--cor-texto-escuro);
  border-bottom: 1px solid rgb(201 165 92 / 0.28);
}
.cabecalho__interno {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--espaco-3); padding-block: 0.9rem;
}
.cabecalho__logo {
  display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none;
}
.cabecalho__lirio { width: 2rem; height: auto; }
.cabecalho__textos { display: flex; flex-direction: column; line-height: 1.1; }
.cabecalho__nome {
  font-family: var(--fonte-titulo); font-weight: 600;
  font-size: 1.75rem; color: var(--creme-50);
}
.cabecalho__nome--destaque {
  font-family: var(--fonte-texto); font-weight: 400; font-size: 0.86rem;
  letter-spacing: 0.04em; color: var(--ouro-400);
}
.cabecalho__menu { display: none; gap: var(--espaco-4); }
.cabecalho__menu a {
  text-decoration: none; font-size: var(--t-pequeno);
  padding-block: 0.4rem; border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.cabecalho__menu a:hover { color: var(--ouro-300); border-bottom-color: var(--ouro-500); }
@media (min-width: 46rem) { .cabecalho__menu { display: flex; } }

.cabecalho__acoes {
  display: flex; align-items: center; gap: var(--espaco-3);
}

/* ✏️ Botão do cabeçalho: "Pedir orçamento" sempre à mão */
.botao--topo {
  padding: 0.55rem 1.15rem; font-size: 0.9rem;
}
@media (max-width: 46rem) { .cabecalho__menu { display: none; } }

/* ✏️ Cabeçalho no mobile: a linha cabe na tela, sem scroll lateral */
.cabecalho__interno { flex-wrap: wrap; row-gap: 0.6rem; }

@media (max-width: 46rem) {
  .cabecalho__nome { font-size: 1.25rem; }
  .cabecalho__nome--destaque { font-size: 0.72rem; }
  .cabecalho__lirio { width: 1.6rem; }
  .cabecalho__acoes { gap: var(--espaco-2); }
  .botao--topo { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
  .idioma { padding: 0.3rem 0.6rem; font-size: 0.72rem; }
  .idioma img { width: 1.1rem; }
}

@media (max-width: 56rem) {
  .hero__selo { left: 0; }
}

/* ✋ trava de segurança: nada nesta página pode gerar scroll horizontal */
html, body { overflow-x: clip; }

.idiomas { display: inline-flex; align-items: center; gap: 0.5rem; }

.idiomas { display: inline-flex; align-items: center; gap: 0.5rem; }

.idioma {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.75rem; border-radius: var(--raio-pill);
  border: 1px solid rgb(201 165 92 / 0.4);
  color: var(--ouro-300); text-decoration: none;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  transition: color 0.2s, border-color 0.2s;
}
.idioma:hover { color: var(--ouro-400); border-color: var(--ouro-500); }
.idioma img { width: 1.35rem; height: auto; border-radius: 2px; }

.idioma--atual {
  background: rgb(201 165 92 / 0.12);
  border-color: var(--ouro-500);
  cursor: default;
}
.idioma--atual:hover { color: var(--ouro-300); border-color: var(--ouro-500); }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: var(--raio-pill);
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.botao--primario {
  background: var(--ouro-500); color: var(--marinho-900);
  box-shadow: 0 4px 0 var(--ouro-600), 0 10px 22px rgb(0 0 0 / 0.28);
}
.botao--primario:hover { background: var(--ouro-400); transform: translateY(-1px); }
.botao--primario:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ouro-600); }
.botao__icone { width: 1.35rem; height: 1.35rem; flex: none; }

.link-discreto {
  color: var(--ouro-300); text-underline-offset: 0.3em;
  text-decoration-thickness: 1px; font-size: 0.98rem;
}
.link-discreto:hover { color: var(--ouro-400); }

/* ───────── 5. HERO ───────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--cor-fundo-escuro); color: var(--cor-texto-escuro);
  padding-block: var(--espaco-4) var(--espaco-5);
}

.hero__arcos {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: var(--espaco-4); align-items: start;
}
@media (min-width: 56rem) {
  .hero { padding-block: var(--espaco-4) var(--espaco-5); }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--espaco-5); }
}

.hero__texto { max-width: 38rem; }

.hero h1 {
  font-family: var(--fonte-titulo); font-weight: 600;
  font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.01em;
  color: var(--creme-50); text-wrap: balance;
}
.hero__script {
  margin-top: var(--espaco-2);
  font-family: var(--fonte-script); font-size: var(--t-script);
  line-height: 1.15; color: var(--ouro-400);
}
.hero__divisor {
  display: flex; align-items: center; gap: 0.9rem;
  margin-block: var(--espaco-3); max-width: 22rem;
}
.hero__divisor::before, .hero__divisor::after {
  content: ""; flex: 1; height: 1px; background: rgb(201 165 92 / 0.6);
}
.hero__divisor img { width: 1.1rem; }

.hero__texto > p:not(.hero__script) {
  max-width: 34rem; color: rgb(245 239 227 / 0.88);
}
.hero__acoes {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--espaco-3); margin-top: var(--espaco-4);
}

/* ✏️ Stats grandes (documento da Renata): número forte + legenda */
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 0.5rem var(--espaco-4);
  margin-top: var(--espaco-4); padding-top: var(--espaco-3);
  border-top: 1px solid rgb(201 165 92 / 0.28);
}
.hero__stats li { display: flex; flex-direction: column; gap: 0.15rem; }
.hero__stats strong {
  font-family: var(--fonte-titulo); font-weight: 600;
  font-size: 1.9rem; line-height: 1; color: var(--ouro-400);
}
.hero__stats span { font-size: var(--t-pequeno); color: var(--ouro-300); }

/* Coluna visual: foto principal + Coliseu */
.hero__coluna-visual { display: flex; flex-direction: column; align-items: center; }

.hero__figura { position: relative; justify-self: center; width: min(92%, 30rem); margin-top: 0; }
.hero__arco {
  position: relative; border-radius: 1.25rem;
  border: 2px solid var(--ouro-500); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--marinho-700);
}
.hero__arco img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__figura::before {
  content: ""; position: absolute; inset: 0.9rem -0.9rem -0.9rem 0.9rem;
  border: 1px solid rgb(201 165 92 / 0.55);
  border-radius: 1.25rem; z-index: -1;
}
.hero__selo {
  position: absolute; left: -1rem; bottom: 2.2rem;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 1.1rem 0.6rem 0.7rem; border-radius: var(--raio-pill);
  background: var(--marinho-900); border: 1px solid var(--ouro-500);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.35);
  font-size: 0.82rem; line-height: 1.25; color: var(--creme-100);
}
.hero__selo img { width: 1.5rem; }
.hero__selo strong { display: block; font-family: var(--fonte-titulo); font-size: 1.05rem; color: var(--ouro-400); }

/* Coliseu largo 16:9 */
.hero__coluna-visual .hero__moldura {
  width: min(92%, 30rem);
  margin-top: var(--espaco-3);
  aspect-ratio: 16 / 9;
  border-radius: 1.25rem;
  border: 2px solid var(--ouro-500);
  overflow: hidden;
  background: var(--marinho-700);
}
.hero__moldura img,
.hero__moldura video {
  width: 100%; height: 100%; object-fit: cover;
}

/* ───────── 6. BOTÃO FLUTUANTE WHATSAPP ───────── */
.whatsapp-button {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 50;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.15rem; border-radius: var(--raio-pill);
  background: var(--whatsapp); color: #fff; text-decoration: none; font-weight: 600;
  box-shadow: 0 5px 0 var(--whatsapp-escuro), 0 12px 24px rgb(0 0 0 / 0.32);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.whatsapp-button:hover { transform: translateY(-2px); }
.whatsapp-button:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--whatsapp-escuro); }
.whatsapp-button__texto { display: none; }
@media (min-width: 40rem) { .whatsapp-button__texto { display: inline; } }

/* ───────── 7. SEÇÕES DE CONTEÚDO ───────── */
.secao { padding-block: var(--espaco-5); background: var(--creme-100); color: var(--cor-texto-claro); }
.secao--alterna { background: var(--creme-50); }
.secao .container > p { max-width: 42rem; }
.secao .container > p + p { margin-top: var(--espaco-2); }

.secao h2 {
  font-family: var(--fonte-titulo); font-weight: 600; color: var(--marinho-800);
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); line-height: 1.1; text-wrap: balance;
  max-width: 24ch; margin-bottom: var(--espaco-3);
}
.secao h2::after {
  content: ""; display: block; width: 3.5rem; height: 2px;
  margin-top: var(--espaco-2); background: var(--ouro-500);
}
.secao h3 { font-family: var(--fonte-titulo); font-weight: 700; color: var(--marinho-800); font-size: 1.45rem; line-height: 1.2; }
.secao__sub { font-size: 1.1rem; color: #4a4f5a; margin-bottom: var(--espaco-4); }
.secao__nota { margin-top: var(--espaco-4); padding-top: var(--espaco-3); border-top: 1px solid var(--creme-200); }
.secao a:not(.botao) { color: var(--marinho-700); text-decoration-color: var(--ouro-500); text-underline-offset: 0.25em; }
.destaque-credencial { font-family: var(--fonte-titulo); font-style: italic; font-size: 1.3rem; color: var(--ouro-600); }
.hero__texto strong { color: var(--ouro-300); font-weight: 600; }

/* ✏️ "Seu caso": cartões com CTA próprio (documento da Renata) */
.casos { display: grid; gap: var(--espaco-3); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.caso {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: var(--espaco-3); padding: var(--espaco-3);
  background: var(--creme-100);
  border: 1px solid var(--creme-200); border-top: 3px solid var(--ouro-500);
  border-radius: 0.3rem 0.3rem var(--raio) var(--raio);
}
.caso__fala {
  font-family: var(--fonte-titulo); font-style: italic; font-weight: 500;
  font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.45rem); line-height: 1.35;
  color: var(--marinho-700); text-wrap: pretty;
}
.caso__cta {
  align-self: flex-start; font-weight: 600; font-size: 0.95rem;
  color: var(--ouro-600); text-decoration: none;
}
.caso__cta:hover { color: var(--vinho); text-decoration: underline; text-underline-offset: 0.25em; }

/* Cartões de serviço */
.grade { display: grid; gap: var(--espaco-3); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.cartao {
  display: flex; flex-direction: column; gap: var(--espaco-2);
  padding: var(--espaco-3); background: var(--creme-100);
  border: 1px solid rgb(184 144 63 / 0.35); border-top: 3px solid var(--ouro-500);
  border-radius: 0.3rem 0.3rem var(--raio) var(--raio);
}
.cartao p { flex: 1; font-size: 0.98rem; }
.botao--cartao {
  align-self: flex-start; padding: 0.6rem 1.2rem; font-size: 0.92rem;
  color: var(--marinho-800); border: 1.5px solid var(--marinho-800); background: transparent;
}
.botao--cartao:hover { background: var(--marinho-800); color: var(--creme-50); }

/* ✏️ "Como funciona": versão marinho com números dourados (documento da Renata) */
.secao--marinho { background: var(--marinho-800); color: var(--creme-100); }
.secao--marinho h2 { color: var(--creme-50); }
.secao--marinho h2::after { background: var(--ouro-500); }
.passos { display: grid; gap: var(--espaco-3); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.passos li { padding-top: var(--espaco-2); border-top: 2px solid var(--ouro-500); }
.secao--marinho .passos li { border-top-color: rgb(201 165 92 / 0.5); }
.passos__num {
  display: block; font-family: var(--fonte-titulo); font-weight: 500;
  font-size: 2.75rem; line-height: 1; color: var(--ouro-400);
  margin-bottom: 0.4rem;
}
.secao--marinho .passos h3 { color: var(--creme-50); }
.secao--marinho .passos p { font-size: 0.98rem; color: rgb(245 239 227 / 0.85); }

/* ✏️ "Sobre": duas colunas — título à esquerda, texto à direita */
.sobre__grid { display: grid; gap: var(--espaco-4); }
@media (min-width: 56rem) {
  .sobre__grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--espaco-5); align-items: start; }
  .sobre__grid .secao__texto p { max-width: 38rem; }
}
.secao__texto p { max-width: 42rem; }
.secao__texto p + p { margin-top: var(--espaco-2); }

/* CTA final (marinho) */
.secao--cta { background: var(--marinho-800); color: var(--creme-100); text-align: center; }
.secao--cta .container > p { margin-inline: auto; }
.secao--cta h2 { color: var(--creme-50); margin-inline: auto; max-width: 20ch; }
.secao--cta h2::after { margin-inline: auto; }
.secao--cta .hero__divisor { margin-inline: auto; margin-top: 0; }
.secao--cta .botao { margin-top: var(--espaco-3); }
.contato__alternativo { margin-top: var(--espaco-3); font-size: var(--t-pequeno); color: rgb(245 239 227 / 0.8); }
.secao--cta a:not(.botao) { color: var(--ouro-300); }

/* Rodapé */
.rodape { background: var(--marinho-900); color: rgb(245 239 227 / 0.75); padding-block: var(--espaco-4); font-size: var(--t-pequeno); }
.rodape__info { margin-top: 0.4rem; color: var(--ouro-400); }
.link-social {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 2.75rem; color: var(--ouro-500); text-decoration: none;
  font-size: var(--t-pequeno); transition: color 0.2s;
}
.link-social svg { flex: none; }
.link-social:hover { color: var(--ouro-300); }
.link-social:hover span { text-decoration: underline; text-underline-offset: 0.25em; }
.secao--cta a.link-social { color: var(--ouro-500); }
.secao--cta a.link-social:hover { color: var(--ouro-300); }
.contato__social { margin-top: 0.25rem; }
.hero__bandeira { width: 1.4rem; height: auto; border-radius: 2px; }
.rodape { padding-bottom: 5.5rem; }

/* ───────── Movimento reduzido ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
