/* =========================================================
   ALZ Administração — folha de estilo (v1)
   Paleta: marinho da logo + branco. Visual sóbrio institucional.
   ========================================================= */

/* ---------------------------------------------------------------------------
   Âncoras x header fixo (corrigido 2026-08-21)
   O .site-header é `position: sticky; top:0` com 76px + 1px de borda. Sem isto o
   navegador rola até o topo EXATO da seção, o header cobre essa faixa e o que fica
   visível logo abaixo dele é o fim da seção anterior — o efeito de "vazar pedaço"
   da seção errada ao clicar em "Quem somos".
   `scroll-padding-top` no elemento raiz é a forma recomendada: vale para clique em
   link, navegação por teclado e :target, sem precisar tocar em cada seção.
--------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

/* quem pediu menos movimento não recebe o scroll animado (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:root {
  --header-h: 77px;  /* 76px do .header-inner + 1px da borda inferior */
  --navy:        #122D48;  /* cor principal, extraída da logo */
  --navy-deep:   #0E2438;  /* variação mais escura (footer bottom) */
  --navy-soft:   #24466B;  /* hover/detalhe */
  --ink:         #1C2733;  /* texto principal */
  --muted:       #5A6675;  /* texto secundário */
  --line:        #E4E8ED;  /* bordas suaves */
  --bg:          #FFFFFF;  /* fundo base */
  --bg-alt:      #F6F8FA;  /* seção alternada */
  --gold:        #B99A5B;  /* filete de destaque discreto */
  --white:       #FFFFFF;

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

  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(18, 45, 72, 0.08);
}

/* ---------- reset básico ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .2px;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color .18s ease;
}
.site-nav a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--navy-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(18,45,72,.06), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  padding: 92px 24px 96px;
  max-width: 860px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 18px;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}
.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  margin-bottom: .35em;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- botões ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }

/* =========================================================
   SEÇÕES GERAIS
   ========================================================= */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin: 0 0 44px; }
.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: .4em 0 0; }

/* ---------- quem somos ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.two-col p { margin: 0 0 18px; color: var(--ink); }

.fact-list {
  list-style: none;
  margin: 0;
  padding: 26px 28px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 4px solid var(--navy);
}
.fact-list li {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.fact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-list li:first-child { padding-top: 0; }
.fact-k {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
.fact-v { font-size: 1.05rem; color: var(--navy); font-weight: 600; }

/* ---------- serviços (cards) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before {
  content: "";
  display: block;
  width: 34px; height: 3px;
  background: var(--gold);
  margin-bottom: 18px;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card h3 { font-size: 1.4rem; margin-bottom: .35em; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- valores ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 44px;
}
.value { padding-left: 22px; border-left: 3px solid var(--navy); }
.value h3 { font-size: 1.35rem; margin-bottom: .25em; }
.value p { margin: 0; color: var(--muted); }

/* =========================================================
   CONTATO (seção marinho)
   ========================================================= */
.section-navy {
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(255,255,255,.06), transparent 55%),
    var(--navy);
  color: #DCE4EE;
}
.section-tag-light { color: var(--gold); }
.section-title-light { color: var(--white); }
.section-sub-light { color: #B7C4D4; }

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  max-width: 760px;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: #C6D2E0;
  margin-bottom: 7px;
}
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--white);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color .18s ease, background .18s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #8FA1B5; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}
.field textarea { resize: vertical; min-height: 110px; }

/* honeypot: escondido de gente, visível para bots */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-actions { margin-top: 4px; }
.form-note {
  font-size: 13px;
  color: #9DB0C4;
  margin: 12px 0 0;
}
.form-note.is-error { color: #FFB4A8; }
.form-note.is-ok { color: #A8E6B8; }

.contact-meta {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: #B7C4D4;
  font-size: .95rem;
}
.contact-meta strong { color: var(--white); }

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer { background: var(--navy); color: #C6D2E0; }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 48px 24px;
}
.footer-logo {
  height: 84px; width: auto;
  /* logo já é marinho sobre transparente; sobre fundo escuro usamos branco */
  filter: brightness(0) invert(1);
  opacity: .95;
}
.footer-legal p { margin: 0 0 4px; font-size: .95rem; }
.footer-legal strong { color: var(--white); }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: #C6D2E0; transition: color .18s ease; }
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  background: var(--navy-deep);
  padding: 16px 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #8FA1B5;
  text-align: center;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 26px; justify-items: center; }
  .footer-legal { text-align: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .site-nav.open { max-height: 340px; }
  .site-nav a { padding: 15px 24px; border-top: 1px solid var(--line); }
  .nav-cta { border-radius: 0; text-align: center; }
  .hero-inner { padding: 64px 24px 68px; }
  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}
