/* ============================================================
   TAÍNA CAPELLI ADVOCACIA — Página em construção
   Paleta extraída dos arquivos oficiais da logo (taina/LOGOTIPO)
   ============================================================ */

:root {
  --bronze:    #825F37;
  --gold-hi:   #F1D399;
  --gold-mid:  #C79A4F;
  --gold-deep: #956E36;
  --nude:      #F4EEE1;
  --ink:       #3A352C;
  --ink-deep:  #241F19;
  --ink-soft:  #2E2922;

  --nude-dim:  rgba(244, 238, 225, 0.68);
  --nude-faint:rgba(244, 238, 225, 0.42);
  --hairline:  rgba(199, 154, 79, 0.28);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 4px;
  --shell:  clamp(1.25rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--nude-dim);
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(ellipse 70% 55% at 50% 0%,   rgba(199, 154, 79, 0.16), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(130,  95, 55, 0.14), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Fio dourado no topo, ecoando o gradiente da logo */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi) 45%, var(--gold-mid) 70%, var(--gold-deep));
  z-index: 10;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6rem) var(--shell) clamp(2.5rem, 6vw, 4rem);
}

/* ── Cabeçalho / logo ──────────────────────────────────────── */
.brand { text-align: center; }

.brand img {
  width: clamp(230px, 42vw, 340px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.rule {
  width: 84px;
  height: 1px;
  margin: clamp(2rem, 5vw, 2.75rem) auto clamp(1.75rem, 4vw, 2.25rem);
  background: linear-gradient(90deg, transparent, var(--gold-mid), transparent);
  border: 0;
}

/* ── Bloco principal ───────────────────────────────────────── */
.intro { text-align: center; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin: 0 0 1.1rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--nude);
  margin: 0 0 1.25rem;
}

.lead {
  max-width: 58ch;
  margin: 0 auto;
  font-size: clamp(1rem, 2.2vw, 1.08rem);
}

.areas {
  margin: clamp(1.75rem, 4vw, 2.25rem) auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  max-width: 42rem;
}

.areas li {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nude-faint);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
}

/* ── Botões ────────────────────────────────────────────────── */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: clamp(2rem, 5vw, 2.75rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-mid) 55%, var(--gold-deep));
  color: var(--ink-deep);
  font-weight: 600;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }

.btn-ghost {
  border-color: var(--hairline);
  color: var(--nude);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold-mid); background: rgba(199, 154, 79, 0.08); }

/* ── Contato / endereços ───────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(3rem, 7vw, 4.5rem);
}

.card {
  background: var(--ink-soft);
  border: 1px solid rgba(244, 238, 225, 0.07);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.6rem);
}

.card h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin: 0 0 0.75rem;
}

.card p { margin: 0 0 0.35rem; font-size: 0.93rem; }
.card p:last-child { margin-bottom: 0; }

.card a { color: var(--nude); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.card a:hover { border-bottom-color: var(--gold-mid); color: var(--gold-hi); }

/* ── Formulário ────────────────────────────────────────────── */
.contato {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  background: var(--ink-soft);
  border: 1px solid rgba(244, 238, 225, 0.07);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contato h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  color: var(--nude);
  margin: 0 0 0.5rem;
  text-align: center;
}

.contato .sub { text-align: center; font-size: 0.92rem; margin: 0 auto 1.75rem; max-width: 46ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }

label {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nude-faint);
}

input, textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--nude);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(244, 238, 225, 0.12);
  border-radius: var(--radius);
  padding: 0.72rem 0.85rem;
  width: 100%;
  transition: border-color .2s ease, background-color .2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold-mid);
  background: rgba(0, 0, 0, 0.32);
}

input::placeholder, textarea::placeholder { color: rgba(244, 238, 225, 0.28); }

textarea { resize: vertical; min-height: 110px; }

/* honeypot — invisível para pessoas, visível para robôs */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--nude-faint);
  text-transform: none;
  letter-spacing: 0;
}

.consent input { width: 16px; height: 16px; margin-top: 0.2rem; flex: none; accent-color: var(--gold-mid); }

.form-actions { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 0.35rem; }
.form-actions .btn { min-width: 210px; justify-content: center; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.alert {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  display: none;
}
.alert.show { display: block; }
.alert-ok  { background: rgba(199, 154, 79, 0.14); border: 1px solid var(--hairline); color: var(--gold-hi); }
.alert-err { background: rgba(190,  80,  60, 0.14); border: 1px solid rgba(190, 80, 60, .45); color: #E8B4A4; }

/* ── Rodapé ────────────────────────────────────────────────── */
.foot {
  margin-top: clamp(3rem, 7vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(244, 238, 225, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: var(--nude-faint);
}

.foot p { margin: 0 0 0.35rem; }

.social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.1rem; }
.social a { color: var(--nude-faint); transition: color .2s ease; }
.social a:hover { color: var(--gold-mid); }
.social svg { width: 20px; height: 20px; display: block; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
