/* ============================================================
   style.css — estilos partilhados entre index.html e servicos.html
   ============================================================ */

/* ── Variáveis ──────────────────────────────────────────────── */
:root {
  --creme:         #F0EAD2;
  --preto:         #1A1208;
  --vermelho:      #C8192B;
  --dourado:       #C4920A;
  --creme-escuro:  #E2D9BC;
  --creme-linha:   #D4C99A;

  --font-titulo:   'Archivo Black', sans-serif;
  --font-corpo:    'Inter', sans-serif;
  --font-mono:     'Space Mono', monospace;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--creme);
  color: var(--preto);
  font-family: var(--font-corpo);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4rem 0; }
.section + .section { border-top: 2px solid var(--creme-linha); }

.lined {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent, transparent 27px,
    var(--creme-linha) 27px, var(--creme-linha) 28px
  );
}

/* ── Tipografia ─────────────────────────────────────────────── */
.section-titulo {
  font-family: var(--font-titulo);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 2rem;
}

/* ── Tag / etiqueta ─────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--dourado);
  color: #fff;
  padding: 0.2em 0.65em;
  border-radius: 2px;
}
.tag--red { background: var(--vermelho); }

/* ── Botões ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 1rem 1.75rem;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  line-height: 1.2;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.btn:active { transform: translateY(1px); }

.btn--cta {
  background: var(--vermelho);
  color: #fff;
  box-shadow: 4px 4px 0 var(--preto);
}
.btn--cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--preto);
}

.btn--branco {
  background: #fff;
  color: var(--vermelho);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}
.btn--branco:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
}

/* ── Header ─────────────────────────────────────────────────── */
header {
  border-bottom: 2px solid var(--preto);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  background: var(--creme);
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--font-titulo);
  font-size: 1.05rem;
  text-decoration: none;
  flex-shrink: 0;
}
header nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
header nav a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
header nav a:not(.btn):hover { border-bottom-color: var(--dourado); }
header .btn { font-size: 0.8rem; padding: 0.55rem 1rem; }

/* ── CTA final ──────────────────────────────────────────────── */
#cta-final { background: var(--vermelho); color: #fff; }
#cta-final .section-titulo { color: #fff; }
.cta-final__texto { font-size: 1.05rem; margin-bottom: 2rem; opacity: 0.92; max-width: 580px; }
.cta-final__nota { margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.76rem; opacity: 0.7; }

/* ── Rodapé ─────────────────────────────────────────────────── */
footer { border-top: 2px solid var(--preto); padding: 2rem 0; }
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #7a6640;
}
footer a { text-decoration: underline; }
