/* ==========================================================================
   Chaveiro Eli — Maceió/AL
   Direção: azul-aço (confiança) + latão (chave) + papel frio.
   Assinatura: a linha de "recorte de chave" (keyway bitting).
   ========================================================================== */

:root {
  /* Marca */
  --ink:        #0E2435;  /* azul-aço profundo  */
  --ink-2:      #16344B;  /* navy secundário    */
  --ink-3:      #1E3F59;
  --brass:      #C7913B;  /* latão / cor de chave */
  --brass-2:    #E0B45E;  /* latão claro        */
  --brass-deep: #8A6124;

  /* Superfícies */
  --paper:   #F2F5F8;     /* fundo da página (off-white frio) */
  --surface: #FFFFFF;
  --surface-2: #EAEFF4;

  /* Texto */
  --text:    #15242F;
  --muted:   #566673;
  --on-dark: #DCE6EE;
  --on-dark-muted: #9DB1C1;

  /* Ação (convenções que convertem) */
  --signal:  #E0392B;     /* emergência / ligar */
  --signal-dark: #B52A20;
  --whats:   #25D366;     /* WhatsApp           */
  --whats-dark: #128C7E;

  --line:    #D7E0E8;
  --line-dark: rgba(255,255,255,.12);

  --radius:   14px;
  --radius-sm: 9px;
  --shadow:   0 18px 48px -24px rgba(14,36,53,.45);
  --shadow-sm: 0 6px 20px -12px rgba(14,36,53,.35);

  --maxw: 1280px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  --ff-display: "Archivo", system-ui, sans-serif;
  --ff-body: "Mulish", system-ui, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
}

/* ----- Layout helpers ----- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.eyebrow {
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--brass);
}
.on-dark .eyebrow { color: var(--brass-2); }
.on-dark .eyebrow::before { background: var(--brass); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head h2 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); margin-top: .7rem; }
.section-head p { color: var(--muted); margin-top: .9rem; font-size: 1.08rem; }
.on-dark .section-head h2 { color: #fff; }
.on-dark .section-head p { color: var(--on-dark-muted); }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  padding: .92rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1.1;
  text-align: center;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--call { background: var(--signal); color: #fff; box-shadow: 0 12px 26px -12px rgba(224,57,43,.75); }
.btn--call:hover { background: var(--signal-dark); transform: translateY(-2px); }

.btn--whats { background: var(--whats); color: #07331f; }
.btn--whats:hover { background: #1fbf5b; transform: translateY(-2px); }

.btn--brass { background: var(--brass); color: #231501; }
.btn--brass:hover { background: var(--brass-2); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-deep); }
.on-dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.on-dark .btn--ghost:hover { border-color: var(--brass); color: var(--brass-2); }

.btn--lg { padding: 1.08rem 1.9rem; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Topbar + Header
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: var(--on-dark);
  font-size: .86rem;
  border-bottom: 1px solid var(--line-dark);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; padding-block: .35rem; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-dark); font-weight: 600; }
.topbar a:hover { color: var(--brass-2); }
.topbar svg { width: 15px; height: 15px; color: var(--brass); }
.topbar .topbar__status { color: var(--on-dark-muted); display: inline-flex; align-items: center; gap: .5rem; }
.topbar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--whats); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.55);} 70%{box-shadow:0 0 0 9px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }
/* No mobile, remove a faixa de informações acima do cabeçalho */
@media (max-width: 720px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--ff-display); font-weight: 800; color: var(--ink); font-size: 1.22rem; letter-spacing: -0.02em; }
.brand__mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--ink); border-radius: 10px; color: var(--brass-2); }
.brand__mark svg { width: 23px; height: 23px; }
.brand small { display: block; font-family: var(--ff-body); font-weight: 600; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); line-height: 1; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { font-weight: 700; font-size: .96rem; color: var(--ink-2); position: relative; padding: .3rem 0; }
.nav__links a::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--brass); transition: width .2s ease; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--ink); }

.nav__cta { display: inline-flex; gap: .6rem; }

.nav-toggle { display: none; background: var(--ink); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav__links, .nav__cta { display: none; }
  /* O PAINEL inteiro vira o dropdown — links e CTAs juntos, fora da linha do cabeçalho */
  .nav--open {
    position: absolute; top: 100%; left: 0; right: 0;
    display: flex; flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .4rem var(--gutter) 1.3rem;
    max-height: calc(100vh - 100%); overflow-y: auto;
  }
  .nav--open .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav--open .nav__links a { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  /* some com o sublinhado deslizante do desktop (ficava desalinhado no menu empilhado) */
  .nav--open .nav__links a::after { display: none; }
  .nav--open .nav__links a[aria-current="page"] { color: var(--brass-deep); }
  .nav--open .nav__cta { display: flex; gap: .6rem; margin-top: 1rem; }
  .nav--open .nav__cta .btn { flex: 1; }
}

/* Fundo escurecido ao abrir o menu mobile */
.nav-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(8,18,28,.55); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(103deg, rgba(10,25,38,.96) 0%, rgba(13,32,47,.86) 42%, rgba(13,32,47,.55) 100%),
    url("/images/hero-maceio-gunga.webp") center 35% / cover no-repeat;
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(120% 90% at 85% -10%, rgba(199,145,59,.18), transparent 55%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--brass-2);
  padding: .5rem 1rem; border-radius: 999px;
  font-family: var(--ff-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .02em;
}
.hero__badge svg { width: 17px; height: 17px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; margin: 1.3rem 0 0; }
.hero h1 .accent { color: var(--brass-2); }
.hero__lead { color: var(--on-dark-muted); font-size: clamp(1.05rem,2.2vw,1.22rem); margin-top: 1.2rem; max-width: 36ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; }
.hero__trust li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .94rem; color: var(--on-dark); }
.hero__trust svg { width: 20px; height: 20px; color: var(--brass-2); flex: none; }

/* cartão lateral do hero */
.hero__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 1.6rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.hero__card h2 { color: #fff; font-size: 1.15rem; letter-spacing: -0.01em; }
.hero__card p { color: var(--on-dark-muted); font-size: .92rem; margin-top: .35rem; }
.hero__card .keyrow { display: flex; align-items: center; gap: .75rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.hero__card .keyrow:first-of-type { border-top: 0; margin-top: .4rem; }
.hero__card .keyrow svg { width: 22px; height: 22px; color: var(--brass-2); flex: none; }
.hero__card .keyrow span { font-size: .95rem; color: var(--on-dark); font-weight: 600; }
.hero__card .btn { margin-top: 1.1rem; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__card { order: 2; }
}

/* ==========================================================================
   Faixa de destaques (strip)
   ========================================================================== */
.strip { background: var(--ink-2); color: var(--on-dark); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border-radius: 0; padding: 0; }
.strip__item { background: var(--ink-2); padding: 1.5rem clamp(1rem,2.5vw,1.8rem); display: flex; align-items: center; gap: .9rem; }
.strip__item svg { width: 30px; height: 30px; color: var(--brass-2); flex: none; }
.strip__item b { display: block; font-family: var(--ff-display); color: #fff; font-size: 1.02rem; }
.strip__item span { font-size: .84rem; color: var(--on-dark-muted); }
@media (max-width: 820px) { .strip .wrap { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px) { .strip .wrap { grid-template-columns: 1fr; } }

/* ==========================================================================
   Serviços (grid de cards)
   ========================================================================== */
.services { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; height: 194px; background: var(--surface-2); flex: none; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(14,36,53,.35) 100%); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--ink); position: absolute; left: 16px; top: -26px; z-index: 2; border: 3px solid var(--surface); box-shadow: var(--shadow-sm); transition: background .2s ease, color .2s ease; }
.card:hover .card__icon { background: var(--ink); color: var(--brass-2); }
.card__icon svg { width: 26px; height: 26px; }
.card__body { position: relative; padding: 2.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin-top: .5rem; font-size: .97rem; }
.card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1.1rem; font-family: var(--ff-display); font-weight: 700; color: var(--brass-deep); font-size: .95rem; }
.card__link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.card:hover .card__link svg { transform: translateX(4px); }
.card .tag { display:inline-block; margin-top: auto; align-self: flex-start; font-size:.74rem; font-weight:700; letter-spacing:.04em; color:var(--brass-deep); background:var(--surface-2); padding:.3rem .7rem; border-radius:6px; }

/* ==========================================================================
   Como funciona (passos)
   ========================================================================== */
.steps { background: var(--surface); }
.steps__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; counter-reset: step; }
@media (max-width: 820px) { .steps__grid { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.8rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.step__num { font-family: var(--ff-display); font-weight: 800; font-size: 1.1rem; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--brass-2); margin-bottom: 1rem; }
.step h3 { font-size: 1.18rem; }
.step p { color: var(--muted); margin-top: .5rem; font-size: .97rem; }

/* ==========================================================================
   Áreas atendidas (bairros) — SEO local
   ========================================================================== */
.areas { background: var(--paper); }
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
@media (max-width: 820px) { .areas__grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .95rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: .4rem; }
.chip svg { width: 14px; height: 14px; color: var(--brass); }
.areas__note { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.areas__note h3 { color:#fff; font-size: 1.3rem; }
.areas__note p { color: var(--on-dark-muted); margin-top: .7rem; font-size: .98rem; }
.areas__note .btn { margin-top: 1.3rem; }

/* ==========================================================================
   CTA faixa emergência
   ========================================================================== */
.emergency {
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(224,57,43,.22), transparent 50%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--on-dark);
}
.emergency .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.emergency h2 { color: #fff; font-size: clamp(1.7rem,4vw,2.6rem); max-width: 18ch; }
.emergency p { color: var(--on-dark-muted); margin-top: .7rem; max-width: 46ch; }
.emergency__actions { display: flex; flex-direction: column; gap: .8rem; min-width: 260px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--surface); }
.faq__list { max-width: 780px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; background: var(--paper); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 1.2rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.faq__q svg { width: 22px; height: 22px; color: var(--brass-deep); flex: none; transition: transform .25s ease; }
.faq__item[aria-expanded="true"] .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ==========================================================================
   Formulário de contato
   ========================================================================== */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

.infoblock { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.infoblock:last-child { border-bottom: 0; }
.infoblock__icon { width: 46px; height: 46px; border-radius: 10px; background: var(--ink); color: var(--brass-2); display: grid; place-items: center; flex: none; }
.infoblock__icon svg { width: 22px; height: 22px; }
.infoblock b { font-family: var(--ff-display); color: var(--ink); display: block; }
.infoblock a, .infoblock span { color: var(--muted); }
.infoblock a:hover { color: var(--brass-deep); }

.formcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem,3vw,2.2rem); box-shadow: var(--shadow-sm); }
.formcard .note { background: #FDECEA; color: var(--signal-dark); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .9rem; font-weight: 600; display: flex; gap: .55rem; align-items: flex-start; margin-bottom: 1.4rem; }
.formcard .note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.field { margin-bottom: 1.1rem; }
.field label { font-family: var(--ff-display); font-weight: 700; font-size: .9rem; color: var(--ink); display: block; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--text); background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(199,145,59,.2); background: #fff; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .field--row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Página interna: hero simples
   ========================================================================== */
.pagehero {
  background:
    radial-gradient(100% 120% at 90% -20%, rgba(199,145,59,.18), transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--on-dark);
}
.pagehero .wrap { padding-block: clamp(2.5rem,6vw,4.5rem); }
.pagehero h1 { color: #fff; font-size: clamp(2rem,5vw,3.3rem); margin-top: .8rem; }
.pagehero p { color: var(--on-dark-muted); margin-top: .9rem; max-width: 54ch; font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: var(--on-dark-muted); }
.crumbs a { color: var(--brass-2); }
.crumbs a:hover { text-decoration: underline; }

/* prosa (política) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 .7rem; }
.prose h3 { font-size: 1.12rem; margin: 1.4rem 0 .5rem; color: var(--ink-2); }
.prose p, .prose li { color: var(--text); margin-bottom: .8rem; }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose a { color: var(--brass-deep); text-decoration: underline; }

/* texto rico sobre */
.rich { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
@media (max-width: 820px) { .rich { grid-template-columns: 1fr; } }
.rich__media { background: var(--ink); border-radius: var(--radius); padding: 2rem; color: var(--on-dark); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.rich__media h3 { color: #fff; }
.rich__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.rich__stats div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 1rem; }
.rich__stats b { font-family: var(--ff-display); font-size: 1.7rem; color: var(--brass-2); display: block; }
.rich__stats span { font-size: .84rem; color: var(--on-dark-muted); }
.rich ul.checks li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; color: var(--text); }
.rich ul.checks svg { width: 22px; height: 22px; color: var(--whats-dark); flex: none; margin-top: 2px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(3rem,6vw,4.5rem); }
.site-footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .site-footer .grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .site-footer .grid { grid-template-columns: 1fr; gap: 1.8rem; } }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--brass-2); }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand small { color: var(--brass-2); }
.site-footer p { font-size: .92rem; max-width: 34ch; }
.footer-links li { margin-bottom: .6rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: center; margin-bottom: .7rem; font-size: .94rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--brass); flex: none; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: clamp(2.5rem,5vw,3.5rem); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .85rem; }
.footer-bottom a { color: var(--on-dark); font-weight: 600; }
.footer-bottom a:hover { color: var(--brass-2); }

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whats); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: "Fale no WhatsApp"; position: absolute; right: 72px; white-space: nowrap;
  background: var(--ink); color: #fff; padding: .5rem .8rem; border-radius: 8px; font-size: .82rem; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.wa-float:hover::after { opacity: 1; }
@media (max-width: 600px) { .wa-float::after { display: none; } }

/* ==========================================================================
   Barra de ação fixa no mobile (Ligar + WhatsApp lado a lado)
   ========================================================================== */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 86;
    box-shadow: 0 -6px 22px rgba(0,0,0,.2);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .95rem .6rem; font-family: var(--ff-display); font-weight: 800;
    font-size: 1.02rem; color: #fff; letter-spacing: -0.01em;
  }
  .mobile-cta .mc-call { background: var(--signal); }
  .mobile-cta .mc-call:active { background: var(--signal-dark); }
  .mobile-cta .mc-wa { background: var(--whats); color: #06331d; }
  .mobile-cta .mc-wa:active { background: #1fbf5b; }
  .mobile-cta svg { width: 21px; height: 21px; flex: none; }
  .wa-float { display: none; }            /* a barra substitui o botão redondo no mobile */
  body { padding-bottom: 58px; }           /* evita que a barra cubra o rodapé */
  .cc-banner { bottom: 58px; }             /* aviso de cookies acima da barra */
}

/* ==========================================================================
   Animação de entrada
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }

/* ==========================================================================
   Aviso de cookies (LGPD) + gerenciamento
   ========================================================================== */
.cc-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink); color: var(--on-dark);
  border-top: 2px solid var(--brass);
  box-shadow: 0 -12px 34px rgba(0,0,0,.35);
  transform: translateY(115%); transition: transform .35s ease;
}
.cc-banner.cc-show { transform: none; }
.cc-banner__inner { max-width: var(--maxw); margin-inline: auto; padding: 1.1rem var(--gutter); display: flex; align-items: center; gap: 1.2rem 1.6rem; flex-wrap: wrap; }
.cc-banner__text { flex: 1 1 340px; font-size: .9rem; color: var(--on-dark-muted); }
.cc-banner__text strong { display: block; color: #fff; font-family: var(--ff-display); font-size: 1rem; margin-bottom: .25rem; }
.cc-banner__text a { color: var(--brass-2); text-decoration: underline; }
.cc-banner__actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.cc-btn { font-family: var(--ff-display); font-weight: 700; font-size: .88rem; padding: .62rem 1.15rem; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.cc-btn--accept { background: var(--brass); color: #231501; }
.cc-btn--accept:hover { background: var(--brass-2); }
.cc-btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.28); }
.cc-btn--ghost:hover { border-color: var(--brass); color: var(--brass-2); }

.cc-modal { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(8,18,28,.62); }
.cc-modal.cc-show { display: flex; }
.cc-dialog { background: var(--surface); color: var(--text); border-radius: var(--radius); max-width: 540px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: var(--shadow); }
.cc-dialog__head { padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.cc-dialog__head h2 { font-size: 1.3rem; }
.cc-dialog__head p { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.cc-dialog__body { padding: .4rem 1.5rem; }
.cc-opt { display: flex; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.cc-opt:last-child { border-bottom: 0; }
.cc-opt__info { flex: 1; }
.cc-opt__info b { font-family: var(--ff-display); color: var(--ink); }
.cc-opt__info p { color: var(--muted); font-size: .86rem; margin-top: .2rem; }
.cc-switch { position: relative; width: 44px; height: 24px; flex: none; margin-top: 3px; }
.cc-switch input { opacity: 0; width: 0; height: 0; }
.cc-slider { position: absolute; inset: 0; background: var(--line); border-radius: 999px; transition: .2s; cursor: pointer; }
.cc-slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.cc-switch input:checked + .cc-slider { background: var(--brass); }
.cc-switch input:checked + .cc-slider::before { transform: translateX(20px); }
.cc-switch input:disabled + .cc-slider { background: var(--brass-deep); opacity: .55; cursor: not-allowed; }
.cc-dialog__foot { padding: 1.2rem 1.5rem; border-top: 1px solid var(--line); display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
.cc-dialog__foot .cc-btn--ghost { color: var(--ink); border-color: var(--line); }
.cc-dialog__foot .cc-btn--ghost:hover { border-color: var(--brass); color: var(--brass-deep); }

.cc-prefs-link { background: none; border: 0; color: var(--on-dark); font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; text-decoration: underline; padding: 0; }
.cc-prefs-link:hover { color: var(--brass-2); }
