/* ==========================================================================
   Federal Service — style.css (v2 — refresh visual de alto nível)
   CSS3 vanilla, mobile-first, sem dependência de framework.
   ========================================================================== */

/* ---------- 1. Design tokens ------------------------------------------- */
:root {
  /* Gold scale (levemente refinada, mais "old money" que amarelo puro) */
  --gold-300: #e6c876;
  --gold-400: #ddbb52;
  --gold-500: #d4af37;
  --gold-600: #a9872c;
  --gold-gradient: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));

  /* Neutral / surface scale — preto com leve subtom quente */
  --black: #0b0a08;
  --surface: #17150f;
  --surface-alt: #201d15;
  --surface-card: #28241a;
  --border: #2a261c;
  --border-light: #423c2b;

  /* Text */
  --text: #ffffff;
  --text-muted: #d8d3c4;
  --text-dim: #aca58e;
  --text-faint: #837c66;
  --text-ghost: #5c5747;

  /* Type */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 768px;
  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 24px 48px -18px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Textura de ruído sutil sobre todo o site — assinatura de identidade premium */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 700; color: var(--text); }

::selection { background: var(--gold-500); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* ---------- 3. Layout helpers -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container--narrow { max-width: var(--container-narrow); }

section { position: relative; }

.section-header { max-width: 48rem; margin-inline: auto; text-align: center; margin-bottom: 3.5rem; }
.section-title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.01em; }
.section-lead { font-size: 1.0625rem; color: var(--text-dim); line-height: 1.7; }
.text-center { text-align: center; }

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-500);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}
.eyebrow::before { content: ''; width: 1.5rem; height: 1px; background: var(--gold-gradient); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-500);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.badge--center { display: flex; width: fit-content; margin-inline: auto; }
.badge__icon { width: 16px; height: 16px; }

/* ---------- 4. Buttons (com efeito de brilho/sweep no hover) -------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8125rem;
  padding: 0.8rem 1.6rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn--lg { padding: 1rem 2.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--gold-gradient);
  color: var(--black);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35); }
.btn--outline {
  border: 1px solid var(--gold-500);
  color: var(--gold-500);
}
.btn--outline:hover { background: var(--gold-500); color: var(--black); transform: translateY(-2px); }
.btn--ghost {
  background: var(--surface-card);
  color: var(--text);
  text-transform: none;
  font-weight: 500;
  letter-spacing: normal;
}
.btn--ghost:hover { background: var(--border-light); }
.btn__icon { width: 16px; height: 16px; }

/* ---------- 5. Icon system (CSS mask, sem dependência de ícone externo) -- */
[data-icon] { display: inline-block; width: 1em; height: 1em; background-color: currentColor; }
.badge__icon, .btn__icon { background-color: currentColor; }

[data-icon]::before { content: ''; display: block; width: 100%; height: 100%; }

[data-icon="home"]            { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="shield"]          { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="shield-check"]    { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="users"]           { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M2.5 20c0-3.6 3-6 6.5-6s6.5 2.4 6.5 6'/%3E%3Ccircle cx='17.5' cy='8.5' r='2.4'/%3E%3Cpath d='M15.2 14.3c2.6.4 4.8 2.4 4.8 5.7'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="mail"]            { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="phone"]           { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="map-pin"]         { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.5 7-12a7 7 0 1 0-14 0c0 5.5 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="building"]        { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='10' height='18'/%3E%3Crect x='14' y='9' width='6' height='12'/%3E%3Cpath d='M7 7h1M10 7h1M7 11h1M10 11h1M7 15h1M10 15h1'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="check-circle"]    { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="user-check"]      { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 3-6.5 6.5-6.5'/%3E%3Cpath d='M15.5 14l2 2 3.5-4'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="sparkles"]        { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 4.6L18 9l-4.2 1.6L12 15l-1.8-4.4L6 9l4.2-1.4L12 3z'/%3E%3Cpath d='M19 14l.8 2 2 .8-2 .8-.8 2-.8-2-2-.8 2-.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="file-text"]       { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l5 5v15H6z'/%3E%3Cpath d='M15 2v5h5'/%3E%3Cpath d='M9 13h6M9 17h6'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="coffee"]          { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h13v6a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V9z'/%3E%3Cpath d='M17 10h1.5a2.5 2.5 0 0 1 0 5H17'/%3E%3Cpath d='M7 3c0 1-1 1-1 2M11 3c0 1-1 1-1 2'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="instagram"]       { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="facebook"]        { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 8h2V4h-2a4 4 0 0 0-4 4v2H9v4h2v8h4v-8h2.5l.5-4H15V8z'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-icon="whatsapp"]        { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l1.3-4A8 8 0 1 1 8.5 19L4 20z'/%3E%3Cpath d='M9 9.5c0 3 2.5 5.5 5.5 5.5.5 0 1-.7.8-1.2l-.5-1.1a.8.8 0 0 0-.9-.4l-1 .3a5 5 0 0 1-2.5-2.5l.3-1a.8.8 0 0 0-.4-.9l-1.1-.5C9.7 7.5 9 8 9 8.5z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- 6. Preloader --------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem;
  background: var(--black);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__mark { position: relative; width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; }
.preloader__ring {
  position: absolute; inset: 0; border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.18);
  border-top-color: var(--gold-500);
  animation: spin 1.4s linear infinite;
}
.preloader__ring--delay { inset: 12px; border-top-color: var(--gold-300); animation-duration: 1.8s; animation-direction: reverse; }
.preloader__text {
  font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.preloader__caption { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-faint); }
.preloader__bar { width: 140px; height: 2px; background: var(--surface-card); border-radius: 999px; overflow: hidden; }
.preloader__bar-fill { display: block; height: 100%; width: 35%; background: var(--gold-gradient); border-radius: 999px; animation: preloader-bar 1.1s var(--ease) infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes preloader-bar {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(60%); }
  100% { transform: translateX(220%); }
}

/* ---------- 7. Navbar ------------------------------------------------------ */
.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  max-width: calc(100% - 2rem);
  padding: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: rgba(23, 21, 15, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), padding 0.3s var(--ease);
}
.nav--hidden { transform: translate(-50%, -130%); opacity: 0; }

.nav__logo { display: flex; align-items: center; padding-inline: 1rem 0.5rem; }
.nav__logo img { height: 28px; width: auto; object-fit: contain; transition: transform 0.3s var(--ease); }
.nav__logo:hover img { transform: scale(1.05); }

.nav__divider { width: 1px; height: 18px; background: var(--border-light); }

.nav__list { display: none; align-items: center; gap: 0.15rem; }
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--text); background: var(--surface-alt); }
.nav__link::after {
  content: '';
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.3rem;
  height: 1px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

.nav__icon { width: 16px; height: 16px; background-color: var(--gold-500); flex-shrink: 0; opacity: 0.9; }
.nav__link[data-icon="home"] .nav__icon            { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3C/svg%3E") center / contain no-repeat; }
.nav__link[data-icon="shield"] .nav__icon          { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.nav__link[data-icon="users"] .nav__icon           { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M2.5 20c0-3.6 3-6 6.5-6s6.5 2.4 6.5 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.nav__link[data-icon="mail"] .nav__icon            { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat; }

.nav__cta {
  margin-left: 0.4rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold-500);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.nav__cta:hover { background: var(--gold-gradient); color: var(--black); transform: translateY(-1px); }

@media (max-width: 639px) {
  .nav__label { display: none; }
}
@media (min-width: 640px) {
  .nav__list { display: flex; }
}
/* Desktop: navbar maior, com respiro extra e ícone + texto lado a lado */
@media (min-width: 1024px) {
  .nav { top: 1.5rem; gap: 0.4rem; padding: 0.65rem 0.65rem; }
  .nav__logo { padding-inline: 1.25rem 0.75rem; }
  .nav__logo img { height: 32px; }
  .nav__link { padding: 0.75rem 1.25rem; font-size: 0.9375rem; gap: 0.6rem; }
  .nav__icon { width: 17px; height: 17px; }
  .nav__cta { padding: 0.75rem 1.6rem; font-size: 0.9375rem; }
}

/* ---------- 8. Hero --------------------------------------------------------- */
.hero { min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: -5% 0 0 0; z-index: 0; will-change: transform; }
.hero__bg img { width: 100%; height: 105%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--black) 0%, rgba(11,10,8,0.92) 55%, rgba(23,21,15,0.4) 100%);
}
.hero__glow {
  position: absolute; right: 0; bottom: 0; width: 40%; height: 100%;
  background: radial-gradient(ellipse at bottom right, rgba(212,175,55,0.12), transparent 65%);
}
.hero__container { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: 3rem; }
.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero__content { text-align: center; }
.hero__title { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.9rem); line-height: 1.12; margin-bottom: 1.5rem; letter-spacing: -0.01em; }
.hero__lead { font-size: 1.125rem; color: var(--text-muted); max-width: 38rem; margin: 0 auto 2rem; line-height: 1.7; }
.hero__actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; margin-bottom: 3rem; }
.hero__stats { display: flex; align-items: center; justify-content: center; gap: 2rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.hero__stat-number { display: block; font-family: var(--font-serif); font-size: 1.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__stat-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.hero__stat-divider { width: 1px; height: 2.5rem; background: var(--border); }
.hero__media { display: none; }
.hero__media-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.hero__media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.hero__media-frame:hover img { transform: scale(1.05); }
.hero__media-gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--black), transparent 55%); }
.hero__quote { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; }
.hero__quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; }
.hero__quote-rule { display: block; width: 3rem; height: 4px; background: var(--gold-gradient); margin-top: 1rem; }

@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__content { text-align: left; }
  .hero__lead { margin-inline: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__stats { justify-content: flex-start; }
  .hero__media { display: block; position: relative; }
  .hero__media::before { content: ''; position: absolute; inset: -1rem; border: 1px solid rgba(212,175,55,0.2); z-index: 0; }
}

/* ---------- 9. About ----------------------------------------------------- */
.about { padding: 6rem 0; background: var(--surface); border-top: 1px solid var(--border); }
.about__grid { display: grid; gap: 4rem; align-items: center; }
.about__media { position: relative; }
.about__frame { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.about__frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(1); transition: filter 0.5s, transform 0.7s var(--ease); }
.about__frame:hover img { filter: grayscale(0); transform: scale(1.03); }
.about__media-tint { position: absolute; inset: 0; background: var(--gold-500); mix-blend-mode: overlay; opacity: 0.1; }
.about__badge {
  position: absolute; right: -0.5rem; bottom: -1.5rem; max-width: 12rem;
  background: var(--black); border: 1px solid var(--gold-500); padding: 1.25rem; box-shadow: var(--shadow-card);
}
.about__badge-title { color: var(--gold-500); font-weight: 700; font-size: 1.125rem; margin-bottom: 0.25rem; }
.about__badge-text { color: var(--text-dim); font-size: 0.875rem; }
.about__copy { display: flex; flex-direction: column; gap: 1.5rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2rem; }
.about__values { display: flex; flex-direction: column; gap: 1rem; }
.about__values li { display: flex; align-items: flex-start; gap: 0.75rem; }
.about__values-icon { width: 22px; height: 22px; background-color: var(--gold-500); flex-shrink: 0; margin-top: 0.1rem; }

@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 10. Services --------------------------------------------------- */
.services { padding: 6rem 0; background: var(--black); }
.services__logo { height: 56px; margin-inline: auto; margin-bottom: 2rem; object-fit: contain; }
.services__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.service-card {
  position: relative; border: 1px solid var(--border); padding: 4px; background: rgba(23,21,15,0.5);
  transition: transform 0.4s var(--ease), border-color 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card__inner { position: relative; height: 100%; min-height: 14rem; display: flex; flex-direction: column; justify-content: flex-start; gap: 1.25rem; padding: 2rem; background: var(--surface); transition: background 0.3s; overflow: hidden; }
.service-card:hover .service-card__inner { background: var(--surface-alt); }
.service-card:hover { border-color: rgba(212,175,55,0.45); }
.service-card__inner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(212,175,55,0.12), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.service-card:hover .service-card__inner::after { opacity: 1; }
.service-card__icon { width: 2.75rem; height: 2.75rem; padding: 0.7rem; box-sizing: border-box; background: var(--gold-gradient); border-radius: var(--radius-sm); box-shadow: 0 0 18px rgba(212,175,55,0.25); }
.service-card__icon::before { background-color: var(--black); }
.service-card__title { font-size: 1.25rem; letter-spacing: 0.01em; }
.service-card__text { font-size: 0.9375rem; color: var(--text-dim); line-height: 1.7; }

@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 11. Process (sticky stack) ------------------------------------ */
.process { padding: 6rem 0; background: var(--surface); border-top: 1px solid var(--border); }
.process__grid { display: grid; gap: 3rem; }
.process__intro { display: flex; flex-direction: column; }
.process__quote {
  margin-top: 2rem; padding: 1.5rem; background: var(--black); border-left: 2px solid var(--gold-500);
  font-family: var(--font-serif); font-style: italic; color: var(--text-muted); width: fit-content;
}
.process__stack { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 4rem; }

.process-card {
  position: sticky;
  top: calc(7rem + var(--stack-index) * 1.1rem);
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2rem;
  box-shadow: 0 25px 35px -20px rgba(0,0,0,0.6);
  z-index: calc(var(--stack-index) + 1);
}
.process-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border-light); padding-bottom: 1rem; margin-bottom: 1.25rem; }
.process-card__title { font-size: 1.375rem; }
.process-card__number {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold-500); font-family: var(--font-serif); font-weight: 700; font-size: 1.125rem;
}
.process-card__text { color: var(--text-muted); line-height: 1.75; font-size: 1rem; }

@media (min-width: 1024px) {
  .process__grid { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
  .process__intro { position: sticky; top: 8rem; }
}

/* ---------- 12. Global reach / map ---------------------------------------- */
.reach { padding: 6rem 0; background: var(--black); border-top: 1px solid var(--border); }
.reach__map { margin-bottom: 3rem; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); height: 320px; box-shadow: var(--shadow-card); }
.reach__map iframe { width: 100%; height: 100%; filter: grayscale(0.8) invert(0.9) contrast(0.9); transition: filter 0.5s; }
.reach__map:hover iframe { filter: none; }
.reach__cta { text-align: center; }
.reach__cta-card {
  display: inline-flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center;
  padding: 1.5rem 2rem; background: var(--surface); border: 1px solid var(--border);
}
.reach__cta-card h4 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.reach__cta-card p { color: var(--text-faint); font-size: 0.875rem; }

@media (min-width: 768px) { .reach__map { height: 450px; } }
@media (min-width: 640px) { .reach__cta-card { flex-direction: row; text-align: left; } }

/* ---------- 13. Testimonials (CSS marquee) --------------------------------- */
.testimonials { padding: 6rem 0; background: var(--black); border-top: 1px solid var(--surface); overflow: hidden; }
.testimonials__columns {
  display: flex; justify-content: center; gap: 1.5rem; max-height: 600px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}
.testimonials__column { display: none; }
.testimonials__column--0 { display: block; }
.testimonials__track {
  display: flex; flex-direction: column; gap: 1.5rem;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}
.testimonial-card { width: 19rem; padding: 2rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.3s var(--ease); }
.testimonial-card:hover { border-color: rgba(212,175,55,0.5); transform: translateX(4px); }
.testimonial-card__text { font-size: 0.875rem; font-style: italic; color: var(--text-muted); line-height: 1.7; }
.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.testimonial-card__author img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; border: 1px solid var(--border-light); }
.testimonial-card__name { display: block; font-weight: 700; font-size: 0.875rem; }
.testimonial-card__role { display: block; font-size: 0.75rem; color: var(--gold-500); opacity: 0.9; }

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

@media (min-width: 768px) { .testimonials__column--1 { display: block; } }
@media (min-width: 1024px) { .testimonials__column--2 { display: block; } }

/* ---------- 14. FAQ (native details/summary) -------------------------------- */
.faq { padding: 5rem 0; background: var(--surface); border-top: 1px solid var(--border); }
.faq__list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid var(--border); overflow: hidden; transition: border-color 0.3s; }
.faq-item[open] { border-color: rgba(212,175,55,0.35); }
.faq-item__question {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem; cursor: pointer; background: var(--surface); font-weight: 600; color: var(--text-muted);
  transition: background 0.2s; list-style: none;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question:hover { background: var(--surface-alt); }
.faq-item__chevron { width: 18px; height: 18px; background-color: var(--text-faint); flex-shrink: 0;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); background-color: var(--gold-500); }
.faq-item__answer { padding: 1.25rem 1.5rem; background: var(--black); color: var(--text-dim); border-top: 1px solid var(--border); line-height: 1.7; }

/* ---------- 15. Contact form ------------------------------------------------ */
.contact { padding: 6rem 0; background: var(--surface); border-top: 1px solid var(--border); }
.contact__panel { display: grid; background: var(--black); border: 1px solid var(--border); box-shadow: var(--shadow-card); overflow: hidden; }
.contact__info { padding: 2.5rem; background: var(--surface); position: relative; border-bottom: 1px solid var(--border); }
.contact__lead { color: var(--text-dim); margin-bottom: 2rem; line-height: 1.7; }
.contact__list { display: flex; flex-direction: column; gap: 1.75rem; }
.contact__list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact__icon { width: 22px; height: 22px; background-color: var(--gold-500); flex-shrink: 0; margin-top: 0.2rem; }
.contact__list h4 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact__list a, .contact__list span { color: var(--text-dim); font-size: 0.9375rem; }
.contact__list a:hover { color: var(--gold-500); }

.contact__form-wrap { padding: 2.5rem; }
.contact__form-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
.contact__form-hint { font-size: 0.875rem; color: var(--text-faint); margin-bottom: 1.5rem; }
.contact__form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.form-field label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-dim); margin-bottom: 0.4rem; }
.form-field input, .form-field select {
  width: 100%; padding: 0.85rem 1rem; background: var(--surface);
  border: 1px solid var(--border-light); color: var(--text); border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder { color: var(--text-ghost); }
.form-field input:focus, .form-field select:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,175,55,0.12); }
.contact__form-status { text-align: center; padding: 0.75rem; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; border-radius: var(--radius-sm); font-size: 0.875rem; }

@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact__panel { grid-template-columns: 1fr 1fr; } .contact__info { border-bottom: none; border-right: 1px solid var(--border); } }

/* ---------- 16. Footer ------------------------------------------------------ */
.footer { background: var(--black); color: var(--text-dim); padding: 4rem 0; border-top: 1px solid var(--surface); }
.footer__grid { display: grid; gap: 3rem; margin-bottom: 3rem; }
.footer__logo-link { display: inline-block; margin-bottom: 1.5rem; transition: opacity 0.2s, transform 0.2s; }
.footer__logo-link:hover { opacity: 0.85; transform: translateX(2px); }
.footer__logo-mark { font-family: var(--font-serif); font-weight: 700; font-size: 1.375rem; color: var(--text); letter-spacing: -0.01em; }
.footer__text { font-size: 0.875rem; line-height: 1.7; color: var(--text-faint); margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.footer__social-link { width: 20px; height: 20px; background-color: var(--text-dim); transition: background-color 0.2s; }
.footer__social-link:hover { background-color: var(--gold-500); }
.footer__copy-small { font-size: 0.75rem; color: var(--text-ghost); font-weight: 500; }
.footer__heading { color: var(--text); font-family: var(--font-serif); margin-bottom: 1.5rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.footer__link-btn { color: var(--text-dim); transition: color 0.2s; }
.footer__link-btn:hover { color: var(--gold-500); }
.footer__contact { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; }
.footer__contact li { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer__icon { width: 16px; height: 16px; background-color: var(--gold-500); margin-top: 0.15rem; flex-shrink: 0; }
.footer__bottom { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--surface); padding-top: 2rem; font-size: 0.75rem; color: var(--text-ghost); }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; }
}

/* WhatsApp floating button — substitui o antigo chat com IA */
.whatsapp-fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 400;
  width: 3.5rem; height: 3.5rem; border-radius: 999px;
  background: var(--gold-gradient); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 14px 36px rgba(212,175,55,0.3); }
.whatsapp-fab__icon { width: 28px; height: 28px; background-color: var(--black); }

/* ---------- 17. Modal -------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal[data-open] { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; width: 100%; max-width: 42rem; max-height: 90vh; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.modal__header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; background: var(--black); border-bottom: 1px solid var(--border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal__title { font-size: 1.125rem; }
.modal__close { font-size: 1.5rem; line-height: 1; color: var(--text-dim); padding: 0.25rem; }
.modal__close:hover { color: var(--text); }
.modal__body { padding: 1.5rem; overflow-y: auto; font-size: 0.875rem; line-height: 1.7; color: var(--text-muted); display: flex; flex-direction: column; gap: 1rem; }
.modal__body h4 { color: var(--gold-500); font-size: 1rem; margin-top: 0.5rem; }
.modal__body ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.modal__lead { font-weight: 600; color: var(--text); }
.modal__body--center { align-items: center; text-align: center; padding-block: 2rem; }
.modal__eyebrow { text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold-500); font-size: 0.8125rem; }
.modal__brand { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.modal__muted { color: var(--text-dim); }
.modal__footer { padding: 1rem 1.25rem; background: var(--black); border-top: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); display: flex; justify-content: flex-end; }

/* ---------- 18. Scroll reveal (data-aos) ------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  [data-aos] { opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); will-change: transform, opacity; }
  [data-aos="fade-up"]    { transform: translateY(32px); }
  [data-aos="fade-left"]  { transform: translateX(32px); }
  [data-aos="fade-right"] { transform: translateX(-32px); }
  [data-aos="zoom-in"]    { transform: scale(0.94); }
  [data-aos="blur-up"]    { transform: translateY(20px); filter: blur(8px); }
  [data-aos="fade"]       { transform: none; }
  [data-aos].is-visible   { opacity: 1; transform: none; filter: blur(0); }
}

/* Tilt 3D nos cards de serviço (JS aplica --rx/--ry via transform inline) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-card[data-tilt] { transition: transform 0.15s ease-out, border-color 0.3s; }
}
