/* ===========================================================
   Edificar Marcas e Patentes — Stylesheet
   Paleta extraída do site original:
   navy #0d4f83 · vinho #631314 · gold #fbec9d · peach #f6c5af
   =========================================================== */

:root {
  /* Paleta bordô da logomarca Edificar */
  --navy-900:   #2c0608;   /* bordô quase preto — fundo profundo */
  --navy-800:   #4a0d0f;   /* bordô escuro */
  --navy:       #7d1a1c;   /* bordô principal (da faixa do logo) */
  --navy-600:   #9b2528;   /* bordô claro / hover */
  --navy-50:    #fbeeee;   /* bordô tint quase branco */

  --wine:       #631314;   /* mantém vinho clássico para detalhes */
  --wine-700:   #4d0d0e;
  --wine-50:    #fbe9e9;

  --gold:       #fbec9d;
  --gold-600:   #e8d472;
  --gold-700:   #c9b352;
  --peach:      #f6c5af;

  --ink-900:    #12110f;
  --ink-800:    #231f20;
  --ink-700:    #393533;
  --ink-500:    #6b6664;
  --ink-300:    #b9b5b3;
  --ink-100:    #ece9e7;
  --bg-soft:    #faf8f5;
  --white:      #ffffff;

  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --shadow-sm:  0 2px 8px rgba(6, 36, 63, 0.06);
  --shadow:     0 12px 36px rgba(6, 36, 63, 0.10);
  --shadow-lg:  0 30px 60px rgba(6, 36, 63, 0.18);

  --ff-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-body:    'Inter', system-ui, -apple-system, sans-serif;

  --ease:       cubic-bezier(.22,.61,.36,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--bg-soft);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--wine); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: 110px 0; }

/* Tipografia base */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.05rem; font-family: var(--ff-body); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
p  { color: var(--ink-700); }

.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 18px;
  position: relative;
  padding-left: 30px;
}
.kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1px;
  background: var(--wine);
}
.kicker.light { color: var(--gold); }
.kicker.light::before { background: var(--gold); }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.1rem; color: var(--ink-500); }
.section-head .kicker { padding-left: 30px; }
.section-head .kicker::before { left: -30px; right: -30px; left: calc(50% - 60px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: all .25s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-800); color: white; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-600); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(251, 236, 157, 0.4); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(13, 79, 131, 0.08);
  transition: all .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  height: 76px;
  width: auto;
  display: block;
  transition: transform .25s var(--ease);
  mix-blend-mode: multiply;
}
.brand:hover .brand-logo { transform: scale(1.03); }
@media (max-width: 720px) {
  .brand-logo { height: 60px; }
}

.primary-nav ul { display: flex; gap: 28px; }
.primary-nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-800);
  position: relative;
  padding: 6px 0;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--wine);
  transition: right .3s var(--ease);
}
.primary-nav a:hover { color: var(--navy); }
.primary-nav a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-500);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ink-100);
  background: white;
  transition: all .2s var(--ease);
}
.lang-toggle .lang-current { color: var(--navy); font-weight: 700; }
.lang-toggle .lang-other  { color: var(--ink-300); margin-left: 6px; }
.lang-toggle:hover { border-color: var(--navy); }
.lang-toggle.en .lang-current { content: "EN"; }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-btn span { width: 24px; height: 2px; background: var(--navy); transition: all .25s var(--ease); border-radius: 2px; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 100px;
  color: white;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-600) 100%);
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(251, 236, 157, 0.18), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(99, 19, 20, 0.35), transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(251, 236, 157, 0.08);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(251, 236, 157, 0.22);
  margin-bottom: 30px;
}
.hero-title {
  font-family: var(--ff-display);
  font-weight: 500;
  color: white;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.05;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-cta .btn-primary { background: var(--gold); color: var(--navy-900); }
.hero-cta .btn-primary:hover { background: var(--gold-600); color: var(--navy-900); }
.hero-cta .btn-outline { color: white; border-color: rgba(255, 255, 255, 0.4); }
.hero-cta .btn-outline:hover { background: white; color: var(--navy); border-color: white; }

.hero-search {
  max-width: 560px;
  margin-top: 24px;
}
.search-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  backdrop-filter: blur(8px);
}
.search-form svg { color: rgba(255, 255, 255, 0.5); flex-shrink: 0; }
.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
.search-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.search-form button {
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .9rem;
  transition: all .2s var(--ease);
}
.search-form button:hover { background: white; }
.hero-search small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: .82rem;
  margin-top: 12px;
  padding-left: 22px;
}

/* ===== STATS ===== */
.stats {
  background: white;
  padding: 50px 0;
  border-bottom: 1px solid var(--ink-100);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.stat span {
  display: block;
  font-size: .92rem;
  color: var(--ink-500);
  margin-top: 10px;
  letter-spacing: .04em;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 18px; font-size: 1.05rem; }
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.about-pillars li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-pillars svg {
  width: 26px; height: 26px;
  color: var(--wine);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-pillars strong { display: block; font-weight: 600; color: var(--ink-900); font-size: 1rem; margin-bottom: 4px; }
.about-pillars span   { display: block; font-size: .9rem; color: var(--ink-500); line-height: 1.55; }

.about-card {
  position: sticky;
  top: 120px;
}
.about-card-inner {
  background: linear-gradient(165deg, var(--navy-800), var(--navy));
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-card-inner::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 60%; height: 100%;
  background: radial-gradient(circle, rgba(251, 236, 157, 0.18), transparent 60%);
  pointer-events: none;
}
.about-card-inner h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
}
.about-card-inner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 26px;
  font-size: .98rem;
  position: relative;
}
.about-card-inner .btn { width: 100%; justify-content: center; position: relative; }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  position: relative;
}
.badge {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(251, 236, 157, 0.3);
  color: var(--gold);
  background: rgba(251, 236, 157, 0.05);
}

/* ===== SERVICES ===== */
.services { background: white; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-soft);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  pointer-events: none;
  transition: all .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: white;
}
.service-card:hover::after { border-color: var(--gold); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-600));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
  box-shadow: 0 8px 20px rgba(13, 79, 131, 0.25);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--ink-900);
  margin-bottom: 14px;
}
.service-card p {
  font-size: .92rem;
  color: var(--ink-500);
  margin-bottom: 18px;
  line-height: 1.6;
}
.service-card ul {
  border-top: 1px solid var(--ink-100);
  padding-top: 16px;
}
.service-card ul li {
  font-size: .85rem;
  color: var(--ink-700);
  padding: 5px 0 5px 22px;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 1.5px;
  background: var(--wine);
}

/* ===== WHY ===== */
.why {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse, rgba(99, 19, 20, 0.4), transparent 60%);
  pointer-events: none;
}
.why .section-head h2 { color: white; }
.why .section-head p { color: rgba(255, 255, 255, 0.75); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all .3s var(--ease);
  backdrop-filter: blur(8px);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(251, 236, 157, 0.4);
  transform: translateY(-4px);
}
.why-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.why-card h3 {
  font-size: 1.4rem;
  color: white;
  margin-bottom: 12px;
}
.why-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: .94rem;
  line-height: 1.65;
}

/* ===== PROCESS ===== */
.process { background: var(--bg-soft); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 5%; right: 5%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--ink-300) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.process-steps li {
  position: relative;
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wine), var(--wine-700));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(99, 19, 20, 0.25);
}
.process-steps h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.process-steps p {
  font-size: .92rem;
  color: var(--ink-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.step-time {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid var(--ink-100);
  width: 100%;
}

/* ===== CLIENTS ===== */
.clients {
  background: white;
  padding-bottom: 90px;
}
.clients .container { padding-bottom: 0; }
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 60s linear infinite;
  align-items: center;
}
.marquee-track.marquee-reverse {
  animation-direction: reverse;
  animation-duration: 72s;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-logo {
  flex: 0 0 auto;
  width: 300px;
  height: 180px;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  filter: grayscale(0.6);
  opacity: .82;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
  border-color: var(--gold-600);
  box-shadow: 0 10px 24px rgba(125, 26, 28, 0.10);
}
/* Fallback elegante quando a imagem ainda não foi salva */
.client-logo.no-img::before {
  content: attr(data-name);
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-700);
  text-align: center;
  line-height: 1.2;
  letter-spacing: .01em;
  padding: 0 6px;
}
.client-logo.no-img {
  filter: none;
  opacity: 1;
  background: linear-gradient(135deg, var(--bg-soft), white);
  border-style: dashed;
  border-color: var(--ink-100);
}

.clients-note {
  text-align: center;
  font-size: 1rem;
  color: var(--ink-500);
  margin-top: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.clients-note strong { color: var(--navy); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .marquee { overflow-x: auto; }
}
@media (max-width: 720px) {
  .client-logo { width: 200px; height: 120px; padding: 18px 22px; }
  .marquee-track { gap: 18px; }
}

/* ===== PRESENÇA NACIONAL (MAPA) ===== */
.presence { background: var(--bg-soft); }
.presence-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.map-wrap {
  position: relative;
  width: 100%;
}
.brasil-map {
  width: 100%;
  height: auto;
  max-width: 700px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(125, 26, 28, 0.10));
}
.brasil-shape .state {
  fill: rgba(125, 26, 28, 0.08);
  stroke: rgba(125, 26, 28, 0.45);
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: fill .3s var(--ease);
}
.brasil-shape .state:hover { fill: rgba(125, 26, 28, 0.18); }

.city-dots circle {
  fill: var(--wine);
  r: 2.2;
  fill-opacity: .78;
  cursor: pointer;
  transition: r .2s var(--ease), fill .2s var(--ease), fill-opacity .2s var(--ease);
}
.city-dots circle.capital {
  fill: var(--gold-700);
  r: 4.5;
  fill-opacity: 1;
  stroke: var(--wine);
  stroke-width: 1;
}
.city-dots circle:hover {
  fill: var(--gold);
  fill-opacity: 1;
  r: 6;
}

.map-tooltip {
  position: absolute;
  background: var(--navy-900);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -150%);
  transition: opacity .15s var(--ease);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 10;
}
.map-tooltip::after {
  content: "";
  position: absolute;
  bottom: -5px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--navy-900);
}
.map-tooltip.show { opacity: 1; }

.presence-side { padding: 0 10px; }
.presence-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 32px;
}
.presence-stats li {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  padding: 22px;
  text-align: left;
}
.presence-stats strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.presence-stats strong span {
  font-size: 1.1rem;
  color: var(--ink-500);
  margin-left: 4px;
  font-weight: 500;
}
.presence-stats > li > span {
  display: block;
  font-size: .85rem;
  color: var(--ink-500);
  margin-top: 10px;
  line-height: 1.5;
  letter-spacing: .01em;
}
.presence-note {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--ink-700);
  padding: 22px;
  background: white;
  border-left: 3px solid var(--gold);
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .presence-grid { grid-template-columns: 1fr; gap: 40px; }
  .brasil-map { max-width: 520px; }
}
@media (max-width: 720px) {
  .presence-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .presence-stats li { padding: 16px; }
  .presence-stats strong { font-size: 2rem; }
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: white; }
.test-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.test-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  border-left: 3px solid var(--gold);
}
.test-card::before {
  content: """;
  position: absolute;
  top: 10px; left: 20px;
  font-family: var(--ff-display);
  font-size: 5rem;
  color: var(--gold-600);
  opacity: .3;
  line-height: 1;
}
.test-card blockquote {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-800);
  font-style: italic;
  margin-bottom: 18px;
  position: relative;
}
.test-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .9rem;
  color: var(--ink-500);
}
.test-card figcaption strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: .98rem;
  margin-bottom: 2px;
}
.test-card figcaption span {
  display: block;
  font-size: .82rem;
  color: var(--ink-500);
  line-height: 1.4;
}
.test-card .avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-600));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 6px 16px rgba(125, 26, 28, 0.22);
}

/* ===== FAQ ===== */
.faq { background: var(--bg-soft); }
.faq-wrap { max-width: 880px; }
.faq-list { margin-top: 40px; }
.faq-item {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink-900);
  position: relative;
  padding-right: 60px;
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 28px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--navy);
  transition: transform .3s var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--wine); }
.faq-item summary:hover { color: var(--navy); }
.faq-item p {
  padding: 0 28px 26px;
  font-size: .98rem;
  line-height: 1.7;
  color: var(--ink-700);
}

/* ===== CTA PORTAL ===== */
.cta-portal {
  background: linear-gradient(135deg, var(--wine-700), var(--wine));
  padding: 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-portal::before {
  content: "";
  position: absolute;
  bottom: -60%; left: -10%;
  width: 70%; height: 200%;
  background: radial-gradient(ellipse, rgba(251, 236, 157, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-portal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  flex-wrap: wrap;
}
.cta-portal h2 { color: white; max-width: 580px; margin: 14px 0 14px; }
.cta-portal p { color: rgba(255, 255, 255, 0.82); max-width: 580px; font-size: 1.05rem; }

/* ===== CONTACT ===== */
.contact { background: white; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p {
  font-size: 1.05rem;
  margin-bottom: 36px;
  color: var(--ink-500);
}
.contact-list { margin-bottom: 32px; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-list svg {
  width: 22px; height: 22px;
  color: var(--wine);
  flex-shrink: 0;
  margin-top: 4px;
}
.contact-list strong {
  display: block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-list a, .contact-list span {
  display: block;
  color: var(--ink-800);
  font-size: 1rem;
  line-height: 1.5;
}
.contact-list a:hover { color: var(--navy); }

.social-row {
  display: flex;
  gap: 12px;
}
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all .25s var(--ease);
}
.social-row a:hover {
  background: var(--gold);
  color: var(--navy-900);
  transform: translateY(-3px);
}
.social-row svg { width: 18px; height: 18px; }

.contact-form {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--ink-100);
}
.contact-form h3 {
  margin-bottom: 28px;
  font-size: 1.6rem;
}
.contact-form label {
  display: block;
  margin-bottom: 18px;
}
.contact-form label span {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
  letter-spacing: .03em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  background: white;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink-900);
  transition: border-color .2s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13, 79, 131, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-2 label { margin-bottom: 0; }
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.form-actions .btn { width: 100%; justify-content: center; }
.btn-whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}
@media (max-width: 720px) {
  .form-actions { grid-template-columns: 1fr; }
}
.form-note {
  font-size: .78rem;
  color: var(--ink-500);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, var(--navy-900), #000814);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 56px;
}
.footer-logo {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  background: white;
  padding: 14px 18px;
  border-radius: 10px;
}
.footer-brand p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: .92rem;
  line-height: 1.7;
}
.site-footer h4 {
  color: var(--gold);
  font-size: .82rem;
  margin-bottom: 22px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a, .contact-mini li {
  color: rgba(255, 255, 255, 0.6);
  font-size: .92rem;
  transition: color .2s var(--ease);
  line-height: 1.65;
}
.site-footer ul li a:hover { color: var(--gold); }
.contact-mini { margin-bottom: 22px; }
.site-footer .social-row a {
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .social-row a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-900);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom small {
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform .25s var(--ease);
  animation: pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%      { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-card { position: static; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .primary-nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: white;
    padding: 24px 5%;
    border-bottom: 1px solid var(--ink-100);
    transform: translateY(-150%);
    transition: transform .35s var(--ease), visibility 0s .35s;
    visibility: hidden;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .primary-nav.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .35s var(--ease), visibility 0s;
  }
  .primary-nav ul { flex-direction: column; gap: 16px; }
  .menu-btn { display: flex; }
  .nav-actions .btn { display: none; }
  .hero { padding: 110px 0 70px; min-height: auto; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .search-form { flex-direction: column; padding: 14px; gap: 8px; border-radius: 18px; }
  .search-form input { width: 100%; padding: 10px 0; }
  .search-form button { width: 100%; padding: 14px; }
  .search-form svg { display: none; }
  .service-grid, .test-grid, .why-grid, .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 28px 22px; }
  .row-2 { grid-template-columns: 1fr; }
  .cta-portal-inner { flex-direction: column; text-align: center; align-items: center; }
  .about-pillars { grid-template-columns: 1fr; }
}
