/* =========================================================
   I. MARTINS CONSULTORIA — SITE.CSS
   Redesign editorial (navy + dourado, serifa display)
   Usado apenas pela nova index.html. Não afeta cliente.html.
   ========================================================= */

:root {
  /* Marca */
  --navy:        #1e2a3a;
  --navy-deep:   #14202f;
  --navy-800:    #0f1a27;
  --ink:         #1b2532;
  --gold:        #c19a3a;
  --gold-soft:   #d8bd6a;
  --gold-deep:   #a9842a;

  /* Superfícies */
  --bg:          #f5f7f9;
  --surface:     #ffffff;
  --surface-alt: #eef1f5;
  --line:        #e2e6ec;
  --line-strong: #cfd6df;

  /* Texto */
  --text:        #1b2532;
  --muted:       #57616f;
  --muted-soft:  #79828f;
  --on-navy:     rgba(255,255,255,0.92);
  --on-navy-dim: rgba(255,255,255,0.62);

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Escala */
  --step--1: clamp(0.82rem, 0.79rem + 0.12vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.35rem + 1.1vw, 2.3rem);
  --step-3:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --step-4:  clamp(2.6rem, 1.7rem + 4.2vw, 5rem);

  /* Ritmo */
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 7rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(20,32,47,0.06), 0 2px 8px rgba(20,32,47,0.05);
  --shadow-md: 0 6px 24px rgba(20,32,47,0.09);
  --shadow-lg: 0 18px 50px rgba(20,32,47,0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 96px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: var(--step-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: min(1300px, 100% - 3rem);
  margin-inline: auto;
}

/* Rótulo dourado de seção */
.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.section-lead {
  max-width: 78ch;
  color: var(--muted);
  font-size: var(--step-1);
  margin-top: 1rem;
}

/* =========================================================
   HEADER (navy, sticky)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Degradê VERTICAL calibrado pelo fundo da logo (#2f3b53 topo → #1b2131 base),
     para a logo se fundir à barra sem borda visível */
  background:
    radial-gradient(90% 160% at 18% 0%, #34425e 0%, transparent 55%),
    linear-gradient(180deg, #2d3950 0%, #232d40 45%, #1b2131 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(15,23,41,0.28);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 6px;
}
.brand { display: inline-flex; align-items: center; }
/* Logo ocupa praticamente toda a altura da barra e se funde ao degradê */
.brand img {
  height: calc(var(--header-h) - 12px);
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  text-decoration: none;
  color: var(--on-navy-dim);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav a.is-active { color: var(--gold-soft); }

.nav-client {
  margin-left: 0.6rem;
  color: var(--navy) !important;
  background: var(--gold) !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.1rem !important;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(193,154,58,0.35);
}
.nav-client:hover { background: var(--gold-soft) !important; color: var(--navy-deep) !important; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  color: #fff;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef1f4 0%, #f5f7f9 100%);
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-infra.webp') center 30% / cover no-repeat;
  opacity: 0.72;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(130% 95% at 15% 20%, rgba(245,247,249,0.08), rgba(245,247,249,0.66) 80%);
}
.hero-inner {
  position: relative;
  padding: clamp(3.5rem, 3rem + 6vw, 8rem) 0 clamp(3rem, 2rem + 5vw, 6rem);
  max-width: 52rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 1.3rem 0 0;
}
.hero h1 .accent { color: var(--gold-deep); font-style: italic; }
.hero-sub {
  margin-top: 1.5rem;
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 40ch;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions {
  margin-top: 2.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Botões */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--navy-deep); box-shadow: 0 6px 18px rgba(193,154,58,0.35); }
.btn-gold:hover { --btn-bg: var(--gold-soft); }
.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn-outline:hover { border-color: var(--navy); background: rgba(30,42,58,0.04); }
.btn-whatsapp { --btn-bg: #25D366; --btn-fg: #fff; box-shadow: 0 6px 18px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { --btn-bg: #20bd5a; }

/* =========================================================
   SEÇÕES GENÉRICAS
   ========================================================= */
.section { padding-block: var(--space-section); }
.section-head { max-width: 82ch; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head .section-title { margin-top: 0.9rem; }

.bg-white { background: var(--surface); }
.bg-alt { background: var(--surface-alt); }

/* Por que nós — grade de benefícios (2x2) */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.benefits-close {
  margin-top: 2.4rem;
  max-width: 74ch;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink);
}
.benefits-close strong { color: var(--gold-deep); }

/* Serviços — áreas de atuação (imagens circulares) */
.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.area {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.area:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.area-img {
  width: 150px; height: 150px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-md);
}
.area-img img { width: 100%; height: 100%; object-fit: cover; }
.area h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); margin-bottom: 0.6rem; }
.area p { color: var(--muted); font-size: 0.98rem; }

/* Serviços — cabeçalho da lista integrada */
.services-head { max-width: 78ch; margin-bottom: 1.8rem; }
.services-title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.services-head p { color: var(--muted); }

/* Por que nós — princípios */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.principle {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.principle .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  margin-bottom: 1.1rem;
}
.principle .ico svg { width: 26px; height: 26px; }
.principle h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 0.4rem; font-weight: 700; }
.principle p { color: var(--muted); font-size: 0.98rem; }

/* Know-how chips */
.knowhow {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Declaração persuasiva "Por que nós" */
.why-statement {
  position: relative;
  max-width: 60ch;
  padding-left: 1.8rem;
  border-left: 3px solid var(--gold);
}
.why-statement p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.why-statement p:last-child {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
}
.why-statement strong { color: var(--gold-deep); font-weight: 700; }
.why-statement p:last-child strong { color: var(--ink); }

/* =========================================================
   TRAJETÓRIA — métricas + clientes
   ========================================================= */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.metric {
  border-left: 3px solid var(--gold);
  padding-left: 1.3rem;
}
.metric .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-3);
  color: var(--gold-deep);
  line-height: 1;
}
.metric .lab { color: var(--muted); margin-top: 0.5rem; font-size: 0.98rem; }

.story {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.story p { color: var(--muted); margin-bottom: 1rem; }
.story p strong { color: var(--ink); font-weight: 600; }
.story .founder-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.story .story-hook {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--gold-deep);
  margin: 0.4rem 0 1.3rem;
}
.story .story-signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  margin-top: 0.4rem;
}
/* Card de obras acompanha a rolagem no desktop */
@media (min-width: 941px) {
  .story .projects-card { position: sticky; top: calc(var(--header-h) + 20px); }
}
.projects-card {
  background: var(--navy);
  color: var(--on-navy);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.projects-card h4 {
  color: var(--gold-soft);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.projects-card ul { list-style: none; display: grid; gap: 0.85rem; }
.projects-card li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: var(--on-navy);
  line-height: 1.4;
}
.projects-card li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* Clientes — marquee horizontal (texto corrido) */
.clients { margin-top: 3.5rem; }
.clients h4 {
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
}
.clients-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.4rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.clients-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: clients-scroll 55s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-track span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0 1.4rem;
}
.clients-track span::after {
  content: '';
  width: 6px; height: 6px;
  margin-left: 2.8rem;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.65;
}
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* =========================================================
   SERVIÇOS
   ========================================================= */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.service {
  display: flex;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.service:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service .ico {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(193,154,58,0.12);
  color: var(--gold-deep);
}
.service .ico svg { width: 24px; height: 24px; }
.service h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: 0.35rem; }
.service p { color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   FERRAMENTAS
   ========================================================= */
.tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.tool {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.tool::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: linear-gradient(180deg, var(--gold), var(--gold-deep));
}
.tool .tool-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.tool .ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
}
.tool .ico svg { width: 24px; height: 24px; }
.tool h3 { font-size: 1.18rem; color: var(--ink); }
.tool .tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-deep);
}
.tool p { color: var(--muted); font-size: 0.95rem; }
.tools-note {
  margin-top: 2rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--ink);
}

/* =========================================================
   FALE CONOSCO (faixa pôr do sol + formulário)
   ========================================================= */
.contact {
  position: relative;
  background: var(--navy-deep);
  color: var(--on-navy);
  overflow: hidden;
}
.contact-band {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 42%;
  background: url('../img/faixa-por-do-sol.webp') center / cover no-repeat;
  opacity: 0.9;
  mask-image: linear-gradient(180deg, transparent, #000 55%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%);
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.contact-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1.05;
  margin: 1rem 0;
}
.contact-copy .lead { color: var(--gold-soft); font-style: italic; font-size: var(--step-1); }
.contact-info { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-info a {
  display: inline-flex; align-items: center; gap: 0.8rem;
  color: var(--on-navy); text-decoration: none; font-weight: 500;
  transition: color 0.2s var(--ease);
}
.contact-info a:hover { color: var(--gold-soft); }
.contact-info .ic {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy-deep); flex-shrink: 0;
}
.contact-info .ic svg { width: 20px; height: 20px; }
.contact-whatsapp { margin-top: 1.9rem; }

/* Formulário */
.form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  backdrop-filter: blur(6px);
}
.form-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1.3rem; color: #fff; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--on-navy); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 9px;
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(193,154,58,0.2);
}
.field select option { background: var(--navy-deep); color: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.82rem; color: var(--on-navy-dim); margin: 0.4rem 0 1.2rem;
}
.consent a { color: var(--gold-soft); }
.consent input { margin-top: 3px; accent-color: var(--gold); }
.form-card .btn { width: 100%; justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-800);
  color: var(--on-navy-dim);
  padding: 2.6rem 0;
  font-size: 0.9rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }

/* =========================================================
   COOKIE BANNER (reaproveita lgpd.js; estilo próprio claro)
   ========================================================= */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 720px; margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.3rem 1.5rem;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-text strong { color: var(--ink); }
.cookie-text p { color: var(--muted); font-size: 0.86rem; margin-top: 0.2rem; max-width: 46ch; }
.cookie-text a { color: var(--gold-deep); }
.cookie-actions { display: flex; gap: 0.7rem; }
.cookie-btn { padding: 0.6rem 1.1rem; border-radius: 8px; font-weight: 600; font-size: 0.88rem; cursor: pointer; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); }
.cookie-btn-solid { background: var(--navy); border-color: var(--navy); color: #fff; }

/* =========================================================
   REVELAÇÃO NO SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 940px) {
  :root { --header-h: 72px; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--navy-deep);
    padding: 1rem 1.3rem 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a { padding: 0.8rem 0.6rem; font-size: 1rem; }
  .nav-client { margin-left: 0; text-align: center; }
  .nav-toggle { display: grid; place-items: center; }

  .principles { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; gap: 1.4rem; }
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.4rem; }
  .story { grid-template-columns: 1fr; }
  .services, .tools { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-band { height: 26%; }
}

@media (max-width: 480px) {
  .metrics { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
}

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