/* ====================================================================
   WF Solar — Conceito "ROTA" · Folha de estilo
   Blocos: 1) Reset  2) Tokens  3) Base/Tipografia  4) Layout
           5) Componentes  6) Utilitários  7) Media queries  8) Motion
   ==================================================================== */

/* ------------------------------------------------------------------ */
/* 1) RESET                                                            */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:where(h1, h2, h3) { line-height: 1.12; }

/* ------------------------------------------------------------------ */
/* 2) TOKENS                                                           */
/* ------------------------------------------------------------------ */
:root {
  /* Marca (extraída do logo) */
  --navy:        #193065;
  --navy-deep:   #0f1f43;
  --navy-soft:   #eef2f9;
  --amber:       #f79116;
  --amber-deep:  #c9740f;   /* só fundo/ícone */
  --amber-text:  #9c5a0d;   /* âmbar como texto sobre claro */
  --ink:         #0a0a0a;
  --white:       #ffffff;

  /* Texto sobre superfícies claras */
  --slate:       #3f4a60;   /* corpo (verificado >= 4,5:1 no branco) */
  --slate-soft:  #5b667e;   /* apoio */
  --line:        #d9e0ec;   /* bordas discretas */

  /* Texto sobre superfícies escuras */
  --on-dark:     #ffffff;
  --on-dark-mut: #c3ccdd;   /* apoio sobre navy */

  /* Forma */
  --radius:      14px;
  --radius-sm:   10px;
  --radius-lg:   20px;
  --shadow:      0 12px 34px -18px rgba(15, 31, 67, 0.45);
  --shadow-soft: 0 6px 20px -12px rgba(15, 31, 67, 0.35);
  --glow:        0 0 0 1px rgba(247, 145, 22, 0.20), 0 18px 44px -22px rgba(247, 145, 22, 0.45);

  /* Ritmo */
  --container: 1140px;
  --gap:       clamp(1rem, 2.4vw, 1.75rem);
  --section-y: clamp(3.5rem, 8vw, 6rem);

  /* Tipografia */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ------------------------------------------------------------------ */
/* 3) BASE / TIPOGRAFIA                                                */
/* ------------------------------------------------------------------ */
body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--navy-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: none;
  overflow-x: clip; /* impede rolagem horizontal (ex.: gaveta off-canvas do menu) */
}

h1, h2, h3 {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5.4vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
strong { color: inherit; font-weight: 700; }

.kicker {
  text-transform: uppercase;
  font-size: clamp(0.68rem, 1.4vw, 0.75rem);
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--amber-text);
  margin-bottom: 0.6rem;
}
.kicker-amber { color: var(--amber); } /* uso só sobre navy */

/* Números tabulares */
.trust-num, .progress-label, .hero-bullets strong { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ */
/* 4) LAYOUT                                                           */
/* ------------------------------------------------------------------ */
.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}
.container-narrow { max-width: 760px; }

.section { padding-block: var(--section-y); background: var(--white); }
.section-soft { background: var(--navy-soft); }
.section-dark { background: var(--navy-deep); }

.section-head { max-width: 640px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head .section-sub { color: var(--slate-soft); margin-top: 0.75rem; font-size: 1.02rem; }
.section-head-light h2 { color: var(--white); }
.section-head-light .section-sub { color: var(--on-dark-mut); }

/* Grids reutilizáveis: min-width:0 nos filhos p/ não estourar em 320px */
.cards-3, .pillars, .trust-grid, .projects,
.hero-grid, .contact-grid, .footer-inner { min-width: 0; }
.cards-3 > *, .pillars > *, .trust-grid > *, .projects > *,
.hero-grid > *, .contact-grid > *, .footer-inner > * { min-width: 0; }

/* ------------------------------------------------------------------ */
/* 5) COMPONENTES                                                      */
/* ------------------------------------------------------------------ */

/* --- Botões --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-amber { background: var(--amber); color: var(--navy-deep); }
.btn-amber:hover { background: var(--amber-deep); color: var(--navy-deep); }
.btn-ghost { color: var(--slate); background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--navy-soft); }
.btn-outline {
  color: var(--navy); background: var(--white);
  border: 1.5px solid var(--navy);
  width: 100%;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* --- Skip link --- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--amber); color: var(--navy-deep);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav { margin-left: auto; }
.nav-menu { display: flex; gap: 0.15rem; align-items: center; }
.nav-menu a {
  display: inline-block; padding: 0.5rem 0.6rem; border-radius: 8px;
  color: var(--on-dark-mut); font-weight: 600; font-size: 0.9rem;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}
.nav-menu a:hover, .nav-menu a.is-current { color: var(--white); background: rgba(255,255,255,0.08); }
.header-cta { padding-inline: 1.05rem; }
.nav-toggle { display: none; }

/* --- Hero --- */
.hero {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(247,145,22,0.14), transparent 55%),
    var(--navy-deep);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
  color: var(--on-dark);
}
.hero-grid {
  display: grid; gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
.hero-copy h1 { color: var(--white); margin-block: 0.4rem 1rem; }
.hero-copy .hl { color: var(--amber); }
.hero-lead { color: var(--on-dark-mut); font-size: 1.08rem; max-width: 48ch; }
.hero-bullets { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.hero-bullets li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  color: var(--white); font-size: 0.98rem;
}
.hero-bullets .ico { color: var(--amber); flex: 0 0 auto; margin-top: 2px; }

/* --- Qualificador --- */
.qualifier {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  box-shadow: var(--glow);
}
.qualifier-head { margin-bottom: 1rem; }
.qual-eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.7rem; font-weight: 800; color: var(--amber-text);
}
.qual-title { font-size: 1.3rem; margin-top: 0.25rem; }
.progress {
  height: 8px; border-radius: 999px; background: var(--navy-soft);
  overflow: hidden; margin-top: 0.5rem;
}
.progress-bar {
  height: 100%; background: var(--amber);
  border-radius: 999px; transition: width .3s ease;
}
.progress-label {
  font-size: 0.8rem; font-weight: 700; color: var(--slate-soft);
  margin-top: 0.5rem;
}

.step { border: none; padding: 0; margin: 1rem 0 0; min-width: 0; }
.step[hidden] { display: none; }
.step-legend {
  font-weight: 800; color: var(--navy); font-size: 1.05rem;
  letter-spacing: -0.01em; margin-bottom: 0.9rem; padding: 0;
}
.options { display: grid; gap: 0.6rem; }
.option { display: block; cursor: pointer; min-width: 0; }
.option input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
}
.option-body {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 0.95rem; min-height: 44px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.option-ico { width: 26px; height: 26px; color: var(--navy); flex: 0 0 auto; }
.option-text { display: flex; flex-direction: column; min-width: 0; }
.option-text strong { color: var(--navy); font-size: 0.98rem; }
.option-text small { color: var(--slate-soft); font-size: 0.82rem; }
.option:hover .option-body { border-color: var(--navy); }
.option input:checked + .option-body {
  border-color: var(--amber);
  background: #fff8ee;
  box-shadow: inset 0 0 0 1px var(--amber);
}
.option input:focus-visible + .option-body {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.field { display: grid; gap: 0.35rem; margin-bottom: 0.85rem; }
.field label { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.field input {
  width: 100%; min-width: 0; box-sizing: border-box;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder { color: #6b7488; }
.field input:focus-visible {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(247,145,22,0.25);
}
.qual-privacy { font-size: 0.78rem; color: var(--slate-soft); margin-top: 0.25rem; }

.field-error {
  color: #b42318; font-size: 0.85rem; font-weight: 600;
  margin-top: 0.6rem; min-height: 0;
}
.field-error:empty { margin: 0; }

.qual-nav {
  display: flex; gap: 0.6rem; margin-top: 1.2rem;
  flex-wrap: wrap;
}
.qual-nav .btn { flex: 1 1 auto; }
.btn[hidden] { display: none; }

/* --- Faixa de confiança --- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
}
.trust-item { display: flex; flex-direction: column; gap: 0.15rem; }
.trust-num {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800;
  color: var(--navy); letter-spacing: -0.03em; line-height: 1;
}
.trust-label { font-size: 0.85rem; color: var(--slate-soft); }
.trust-ig {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--amber-text); font-weight: 800;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem); letter-spacing: -0.01em;
  min-width: 0; overflow-wrap: anywhere;
}
.trust-ig .ico { width: 22px; height: 22px; }
.trust-ig:hover { color: var(--navy); }

/* --- Cards de caminhos --- */
.cards-3 { display: grid; gap: 1.25rem; }
.path-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-media { aspect-ratio: 16 / 10; overflow: hidden; }
.path-media img { width: 100%; height: 100%; object-fit: cover; }
.path-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.path-body h3 { color: var(--navy); }
.path-body > p { color: var(--slate); font-size: 0.96rem; }
.ticks { display: grid; gap: 0.45rem; margin-top: 0.1rem; }
.ticks li {
  position: relative; padding-left: 1.5rem;
  font-size: 0.9rem; color: var(--slate);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--amber);
}
.path-cta { margin-top: auto; }

/* Galeria/lightbox removidos — o portfólio não abre pré-visualização. */

/* --- Pilares --- */
.pillars { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.pillar {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem;
  border-top: 3px solid var(--amber);
}
.pillar-ico {
  width: 30px; height: 30px; color: var(--navy);
  margin-bottom: 0.7rem;
}
.pillar h3 { color: var(--navy); margin-bottom: 0.4rem; }
.pillar p { font-size: 0.92rem; color: var(--slate); }

/* --- Citação --- */
.quote {
  margin-top: 2rem; padding: 1.5rem;
  background: var(--navy-soft); border-radius: var(--radius);
  border-left: 4px solid var(--amber);
}
.quote blockquote { color: var(--navy); font-size: 1.05rem; font-weight: 500; }
.quote figcaption { margin-top: 0.75rem; color: var(--slate-soft); font-size: 0.85rem; font-weight: 600; }

/* --- Accordion --- */
.accordion { display: grid; gap: 0.7rem; }
.acc-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.acc-trigger {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.1rem; min-height: 44px;
  font-weight: 700; color: var(--navy); font-size: 1rem;
}
.acc-ico { width: 20px; height: 20px; color: var(--amber-deep); flex: 0 0 auto; transition: transform .2s ease; }
.acc-trigger[aria-expanded="true"] .acc-ico { transform: rotate(180deg); }
.acc-panel { padding: 0 1.1rem 1.1rem; }
.acc-panel p { color: var(--slate); font-size: 0.95rem; }

/* --- Contato --- */
.contact-grid { display: grid; gap: 1.75rem; align-items: center; }
.contact-copy h2 { color: var(--white); }
.contact-copy .section-sub { color: var(--on-dark-mut); margin-top: 0.75rem; }
.contact-list { display: grid; gap: 0.7rem; }
.contact-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "ico main" "ico sub";
  column-gap: 0.9rem; align-items: center;
  padding: 0.95rem 1.1rem; min-height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  transition: background-color .18s ease, border-color .18s ease;
}
.contact-list a:hover { background: rgba(255,255,255,0.12); border-color: var(--amber); }
.contact-list .ico { grid-area: ico; width: 26px; height: 26px; color: var(--amber); }
.contact-main { grid-area: main; color: var(--white); font-weight: 700; }
.contact-sub { grid-area: sub; color: var(--on-dark-mut); font-size: 0.9rem; min-width: 0; overflow-wrap: anywhere; }

/* --- Footer --- */
/* Mobile-first: tudo centralizado e empilhado; no desktop, marca à esquerda e info à direita. */
.site-footer { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  padding-block: clamp(2rem, 5vw, 2.75rem);
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.footer-slogan { color: var(--white); font-weight: 700; letter-spacing: -0.01em; max-width: 34ch; }
.footer-info { display: grid; gap: 0.5rem; }
.footer-meta { color: var(--on-dark-mut); font-size: 0.9rem; }
.footer-social { color: var(--on-dark-mut); font-size: 0.9rem; }
.footer-social a { color: var(--amber); font-weight: 700; }
.footer-social a:hover { color: var(--white); }

/* Barra inferior — crédito centralizado, embaixo de tudo, discreto */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom .container {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 0.35rem 1rem;
  padding-block: 1.1rem; text-align: center;
}
.footer-copy { color: var(--on-dark-mut); font-size: 0.82rem; }
.footer-credit { color: var(--on-dark-mut); font-size: 0.78rem; opacity: 0.7; }
.mockup-seal {
  display: inline-block;
  padding: 0.25rem 0.7rem; border-radius: 999px;
  background: rgba(247,145,22,0.15); color: var(--amber);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------ */
/* 6) UTILITÁRIOS                                                      */
/* ------------------------------------------------------------------ */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.option-ico, .pillar-ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Foco visível global */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}
.hero :focus-visible, .section-dark :focus-visible, .site-header :focus-visible {
  outline-color: var(--amber);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* 6b) CONTEÚDO REAL DO CLIENTE                                        */
/*     (logo, processo, resultados, avaliações, pagamento, endereço)  */
/* ------------------------------------------------------------------ */

/* Marca — logo real (branco horizontal sobre navy) */
.brand-logo { height: 36px; width: auto; }
.footer-logo { height: 42px; width: auto; }

/* --- Processo (5 etapas) --- */
.steps {
  display: grid; gap: 1.25rem 1rem; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.process-step {
  position: relative;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.25rem 1.25rem;
  border-top: 3px solid var(--amber);
}
.step-num {
  position: absolute; top: -15px; left: 1.25rem;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--amber); color: var(--navy-deep);
  font-weight: 800; font-size: 0.95rem; font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-soft);
}
.step-ico {
  width: 30px; height: 30px; color: var(--navy);
  margin: 0.5rem 0 0.6rem;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.process-step h3 { color: var(--navy); margin-bottom: 0.35rem; }
.process-step p { color: var(--slate); font-size: 0.92rem; }

/* --- Projetos / obras reais (grade de fotos com legenda) --- */
.projects { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.project-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  aspect-ratio: 3 / 2;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; }
.project-tag {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: var(--amber); color: var(--navy-deep);
  padding: 0.28rem 0.7rem; border-radius: 999px;
  font-weight: 800; font-size: 0.8rem; letter-spacing: -0.01em;
  box-shadow: var(--shadow-soft);
}
.project-econ {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.9rem 0.9rem 0.7rem; text-align: left;
  color: var(--white); font-size: 0.9rem; font-weight: 600;
  background: linear-gradient(to top, rgba(9, 16, 34, 0.92) 12%, rgba(9, 16, 34, 0) 100%);
}
.project-econ strong { color: var(--amber); font-weight: 800; font-variant-numeric: tabular-nums; }

/* --- Avaliações (depoimentos reais) --- */
.reviews { display: grid; gap: 1rem; }
.review-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 0.55rem;
}
.review-head { display: flex; align-items: center; gap: 0.7rem; }
.review-avatar {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--navy); color: var(--white);
  font-weight: 800; font-size: 1.05rem;
}
.review-name { color: var(--navy); font-weight: 800; font-size: 0.98rem; }
.review-meta { color: var(--slate-soft); font-size: 0.8rem; }
.review-stars { color: var(--amber-text); letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.review-text { color: var(--slate); font-size: 0.95rem; }

/* --- Formas de pagamento --- */
.pay-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.pay-ico {
  width: 34px; height: 34px; color: var(--navy);
  margin-bottom: 0.2rem;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.pay-card h3 { color: var(--navy); }
.pay-card p { color: var(--slate); font-size: 0.94rem; }

/* --- Endereço no bloco de contato --- */
.contact-address {
  display: flex; align-items: flex-start; gap: 0.5rem;
  margin-top: 1.1rem; color: var(--on-dark-mut); font-size: 0.92rem;
}
.contact-address .ico { flex: 0 0 auto; width: 20px; height: 20px; color: var(--amber); margin-top: 1px; }

/* --- Botão flutuante do WhatsApp --- */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 4vw, 1.5rem);
  bottom: clamp(1rem, 4vw, 1.5rem);
  z-index: 90;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.45);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.wa-fab:hover { background: #1eb457; transform: translateY(-2px); box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.5); }
.wa-fab:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.wa-fab-ico { width: 32px; height: 32px; }

/* ------------------------------------------------------------------ */
/* 7) MEDIA QUERIES                                                    */
/* ------------------------------------------------------------------ */

/* Menu mobile (drawer) — abaixo de 860px */
@media (max-width: 859px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto;
    position: relative; z-index: 110;
  }
  .nav-toggle-bar {
    display: block; width: 22px; height: 2px; margin-inline: auto;
    background: var(--white); border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav { margin-left: auto; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto;
    height: 100dvh;
    width: min(80vw, 300px);
    transform: translateX(100%);
    transition: transform .25s ease;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: var(--navy-deep);
    padding: 5rem 1.25rem 2rem;
    box-shadow: -20px 0 40px -20px rgba(0,0,0,0.6);
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu a { padding: 0.85rem 0.9rem; font-size: 1rem; }
  .header-cta { display: none; }
}

/* Tablet+ */
@media (min-width: 620px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .footer-inner {
    flex-direction: row; justify-content: space-between; align-items: center;
    text-align: left;
  }
  .footer-brand { align-items: flex-start; }
  .footer-info { text-align: right; }
}

@media (min-width: 620px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.05fr; }
}

/* Desktop: hero em 2 colunas com qualificador à direita */
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .projects { grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------------------------------------------ */
/* 8) MOTION                                                           */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
