/* ==========================================================================
   BARBOSA REDES DE PROTEÇÃO | styles.css
   Paleta extraída da logo: navy profundo + azul royal + azul claro + neutros
   Tipografia: Plus Jakarta Sans
   ========================================================================== */

:root {
  /* Cores (derivadas da logo Barbosa) */
  --navy-950: #0B1526;
  --navy-900: #12203A;
  --navy-800: #1A2C4E;
  --navy-700: #24395E;
  --ink: #1C2B4A;          /* navy do wordmark BARBOSA */
  --slate: #56668A;
  --slate-light: #8D9AB5;
  --line: #E1E7F2;
  --bg: #FFFFFF;
  --bg-soft: #F3F6FB;
  --accent: #3E66B4;       /* azul royal do monograma B */
  --accent-dark: #2F519A;
  --accent-soft: #EAF0F9;
  --accent-light: #8FADE0; /* azul claro do subtítulo da logo */
  --whats: #25D366;
  --whats-dark: #1EBE5A;

  /* Tipografia */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(7, 18, 32, 0.08);
  --shadow-lg: 0 20px 60px rgba(7, 18, 32, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ==================== Utilitários ==================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%); color: #fff; }

/* Tipografia */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; }
h1 em { font-style: normal; color: var(--accent-light); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--accent-light); }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-sub { color: var(--slate); margin-top: 18px; font-size: 1.05rem; }
.section-dark .section-sub { color: rgba(255, 255, 255, 0.72); }

/* ==================== Botões ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 20px; height: 20px; flex-shrink: 0; }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(62, 102, 180, 0.35);
}
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 10px 28px rgba(62, 102, 180, 0.45); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.btn-whats { background: var(--whats); color: #fff; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3); }
.btn-whats:hover { background: var(--whats-dark); }

.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ==================== Header ==================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 18px 0;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(18, 32, 58, 0.12);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
/* Logo oficial: branca sobre o hero, colorida quando o header ganha fundo claro */
/* !important: vence o reset de imagem do Elementor (.elementor img { height:auto }) */
.brand-logo {
  height: 68px !important;
  width: auto !important;
  max-width: none !important;
  filter: brightness(0) invert(1);
  transition: filter 0.35s var(--ease), height 0.35s var(--ease);
}
.header.scrolled .brand-logo { filter: none; height: 56px !important; }

.nav { display: flex; gap: 30px; }
.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  transition: color 0.2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.header.scrolled .nav a { color: var(--slate); }
.header.scrolled .nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 120; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s var(--ease); }
.header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== Hero ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/img/hero.webp');
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease) forwards;
}
@media (max-width: 860px) {
  .hero-bg { background-image: url('../assets/img/hero-960.webp'); }
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11, 21, 38, 0.94) 0%, rgba(18, 32, 58, 0.80) 45%, rgba(18, 32, 58, 0.42) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-copy h1 { font-size: clamp(1.9rem, 4.1vw, 2.8rem); }
.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid rgba(143, 173, 224, 0.4);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 26px;
  background: rgba(62, 102, 180, 0.14);
}
.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-top: 24px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-trust li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.hero-trust li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
}

/* ==================== Grids e cards ==================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.care-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.care-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.care-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.care-ico svg { width: 26px; height: 26px; }
.care-card h3 { margin-bottom: 10px; }
.care-card p { color: var(--slate); font-size: 0.95rem; }

/* ==================== Split (imagem + texto) ==================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  width: 100%;
}
.split-badge {
  position: absolute;
  bottom: 28px; left: -20px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.split-badge strong { font-size: 1.05rem; font-weight: 800; }
.split-badge span { font-size: 0.82rem; opacity: 0.7; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy p { color: var(--slate); margin-bottom: 18px; }
.split-copy p strong { color: var(--ink); }
.section-dark .split-copy p { color: rgba(255, 255, 255, 0.78); }
.section-dark .split-copy p strong { color: #fff; }
.split-copy .btn { margin-top: 10px; }

/* ==================== Serviços ==================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover img { transform: scale(1.04); }
.service-body { padding: 24px 24px 28px; }
.service-body h3 { margin-bottom: 8px; }
.service-body p { color: var(--slate); font-size: 0.93rem; }

.services-extra {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  justify-content: center;
}
.services-extra p { font-weight: 700; color: var(--ink); }
.services-extra ul { display: flex; flex-wrap: wrap; gap: 10px; }
.services-extra li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
}

/* ==================== Formulário ==================== */
.split-form { align-items: start; }
.check-list { margin: 8px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.96rem;
}
.check-list li::before {
  content: '✓';
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(143, 173, 224, 0.22);
  color: var(--accent-light);
  font-weight: 800;
  font-size: 0.8rem;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.or-whats { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.or-whats span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }

.form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* Versão compacta usada no hero */
.form-card--hero { padding: 28px 26px; box-shadow: 0 24px 70px rgba(7, 15, 30, 0.45); }
.form-card--hero .quote-form h3 { font-size: 1.25rem; margin-bottom: 18px; }
.form-card--hero .field { margin-bottom: 13px; }
.form-card--hero .field label { font-size: 0.82rem; margin-bottom: 5px; }
.form-card--hero .field input,
.form-card--hero .field select,
.form-card--hero .field textarea { padding: 11px 14px; font-size: 0.92rem; }
.form-card--hero .form-note { margin-top: 10px; }
.quote-form h3 { font-size: 1.4rem; margin-bottom: 24px; letter-spacing: -0.02em; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 0.85rem; font-weight: 700; margin-bottom: 7px; }
.field label small { font-weight: 500; color: var(--slate-light); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2355677A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(62, 102, 180, 0.14);
}
.field.invalid input, .field.invalid select { border-color: #E5484D; background: #FFF7F7; }
.field-error { font-size: 0.78rem; color: #E5484D; margin-top: 6px; min-height: 0; display: none; }
.field.invalid .field-error { display: block; }

.form-note { font-size: 0.78rem; color: var(--slate-light); text-align: center; margin-top: 14px; }

/* Botão: estado de carregamento */
.btn-spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.quote-form.loading .btn-spinner { display: inline-block; }
.quote-form.loading .btn-label { opacity: 0.75; }
.quote-form.loading button[type="submit"] { pointer-events: none; }

/* Sucesso */
.form-success {
  position: absolute; inset: 0;
  background: #fff;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 12px;
  animation: fadeIn 0.5s var(--ease);
}
.form-success[hidden] { display: none; }
.success-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #E8F9EF;
  color: #1EBE5A;
  display: grid; place-items: center;
  margin-bottom: 6px;
}
.success-ico svg { width: 32px; height: 32px; }
.form-success h4 { font-size: 1.3rem; }
.form-success p { color: var(--slate); font-size: 0.95rem; max-width: 320px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==================== Diferenciais ==================== */
.diff-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  background: var(--bg);
}
.diff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.diff-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}
.diff-card h3 { margin-bottom: 10px; }
.diff-card p { color: var(--slate); font-size: 0.94rem; }

/* ==================== Como funciona ==================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.step h3 { margin-bottom: 10px; font-size: 1.05rem; }
.step p { color: var(--slate); font-size: 0.92rem; }

/* ==================== Depoimentos ==================== */
.quote-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stars { color: #F5A623; font-size: 1.05rem; letter-spacing: 3px; }
.quote-card blockquote { color: var(--slate); font-size: 0.96rem; flex: 1; }
.quote-card figcaption { font-weight: 700; font-size: 0.92rem; color: var(--accent); }

/* ==================== Galeria ==================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.gallery img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

/* ==================== Atendimento ==================== */
.city-chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.city-chips li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.city-chips li:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }

/* ==================== CTA final ==================== */
.cta-final { text-align: center; }
.cta-final .section-head { margin-bottom: 36px; }
.cta-final-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ==================== Footer ==================== */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.75); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand p { font-size: 0.9rem; margin-top: 18px; max-width: 300px; }
.brand-footer { margin-bottom: 4px; }
.brand-logo-footer {
  height: 84px !important;
  width: auto !important;
  max-width: none !important;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s, transform 0.25s var(--ease);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social svg { width: 20px; height: 20px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 6px; }
.footer-col a, .footer-col span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover { color: var(--accent-light); }

/* ==================== WhatsApp flutuante ==================== */
.whats-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whats);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whats-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55); }
.whats-float svg { width: 30px; height: 30px; }

/* ==================== FAQ ==================== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq-item p { padding: 0 24px 22px; color: var(--slate); font-size: 0.95rem; }

/* ==================== Páginas internas (Quem somos / Privacidade) ==================== */
.page-hero {
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
  text-align: center;
  padding: 150px 0 70px;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 0 auto; }
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; margin: 38px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--slate); font-size: 0.96rem; margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal-content strong { color: var(--ink); }

/* ==================== Página Obrigado ==================== */
.thanks-hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #fff;
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}
.thanks-hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -55% -10%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(62, 102, 180, 0.22) 0%, transparent 65%);
  pointer-events: none;
}
.thanks-hero .container { position: relative; z-index: 1; }
.thanks-check {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: #E8F9EF;
  color: #1EBE5A;
  display: grid; place-items: center;
  margin: 0 auto 34px;
  box-shadow: 0 14px 40px rgba(30, 190, 90, 0.28);
}
.thanks-check svg { width: 46px; height: 46px; }
.thanks-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 20px; }
.thanks-sub {
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 auto;
}
.thanks-cta { text-align: center; }
.thanks-cta h2 { margin-bottom: 16px; }
.thanks-cta .section-sub { max-width: 460px; margin-inline: auto; }
.btn-xl { padding: 20px 46px; font-size: 1.05rem; }
.thanks-cta .btn-xl { margin-top: 34px; }
.thanks-note {
  padding: 84px 0;
  text-align: center;
  background: var(--bg);
}
.thanks-note strong {
  display: block;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.thanks-note span { color: var(--slate); font-size: 0.98rem; }
.thanks-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 34px 24px;
  font-size: 0.85rem;
}
.thanks-footer a { color: rgba(255, 255, 255, 0.85); }
.thanks-footer a:hover { color: var(--accent-light); }

/* ==================== Animações de scroll ==================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

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

/* ==================== Responsivo ==================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) and (min-width: 861px) {
  .hero-copy h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
}

@media (max-width: 860px) {
  .section { padding: 76px 0; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--navy-950);
    flex-direction: column;
    padding: 100px 34px 40px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
  }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; z-index: 110; }
  .header-actions .btn { display: none; }

  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split-badge { left: 16px; }
  .split-form .form-card { order: 2; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding-top: 130px; }
  .form-card--hero { max-width: 520px; width: 100%; margin-inline: auto; }
}

@media (max-width: 600px) {
  .hero-copy h1 { font-size: clamp(1.35rem, 6.7vw, 1.65rem); }
  .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-ctas .btn { width: 100%; }
  .cta-final-actions .btn { width: 100%; }
  .container { padding-inline: 20px; }
}
