/* ===== styles/global.css ===== */
:root {
  /* Cores tema São Mateus */
  --cor-primaria: #DD6534;
  --cor-secundaria: #F3AD00;
  --cor-terciaria: #9B1634;
  --cor-destaque: #DD6534;
  --dark-blue: #6f1026;
  --red: #DD6534;
  --cor-fundo: #fff;
  --cor-fundo-alt: #fdf5f1;
  --cor-texto: #2a1a14;
  --white: #ffffff;
  --cor-cinza-claro: #f5ede9;
  --cor-borda: rgba(221, 101, 52, 0.15);

  /* Fontes & tamanhos */
  --fonte-padrao: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  --tamanho-fonte-padrao: 1.05rem;
  --tamanho-titulo: 2.4rem;
  --tamanho-subtitulo: 1.4rem;
  --espacamento-padrao: 2rem;

  /* Aliases usados por alguns componentes */
  --sans: var(--fonte-padrao);
  --serif: var(--fonte-padrao);
  --cor-amarelo: #F3AD00;
  --cor-bordo: #9B1634;
  --cor-bordo-escuro: #6f1026;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-padrao);
  font-size: var(--tamanho-fonte-padrao);
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Títulos de seção ── */
.section-tag {
  display: inline-block;
  background: rgba(221, 101, 52, 0.12);
  color: var(--cor-primaria);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: var(--tamanho-titulo);
  color: var(--cor-secundaria);
  margin-bottom: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-title span {
  color: var(--cor-primaria);
}

.section-title-hidden {
  display: none;
}

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(77, 47, 38, 0.65);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── Botões ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--cor-primaria);
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(221, 101, 52, 0.3);
}

.btn-primary:hover {
  background-color: #c5582b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(221, 101, 52, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--cor-primaria);
  padding: 0.8rem 2.2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  border: 2px solid var(--cor-primaria);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--cor-primaria);
  color: #fff;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(77, 47, 38, 0.07);
  padding: 1.5rem 1.2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(77, 47, 38, 0.12);
}

/* ── Divisor decorativo ── */
.divider-orange {
  width: 56px;
  height: 4px;
  background: var(--cor-primaria);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* ── Cabeçalho de seção centralizado (padrão da página) ── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

.section-header .divider-orange {
  margin: 1rem auto 1.5rem;
}

@media (max-width: 600px) {
  :root { --tamanho-titulo: 1.9rem; }
  .section-header { margin-bottom: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
