/* ============================================================
   LEX COMPANY — SEGURIDADE PATRIMONIAL — style.css
   Design System: Preto + Dourado | Poppins + Inter
   Base estrutural adaptada do template RFP Seguros
   Mobile-First • CSS Puro • Sem Frameworks
   ============================================================ */

/* ============================================================
   :ROOT — DESIGN TOKENS
   ============================================================ */
:root {
  /* Cores principais — extraídas do logo por amostragem de pixel */
  --black:       #0D0D0D;
  --black-pure:  #000000;
  --black-mid:   #1A1A1A;
  --gold:        #F4BB3D;
  --gold-dark:   #C99425;
  --gold-light:  #FFE1A0;
  --white:       #ffffff;
  --surface:     #f8f9fc;
  --surface-2:   #eef1f6;
  --text-main:   #17130a;
  --text-muted:  #4a5568;
  --text-light:  #8898aa;
  --success:     #16a34a;
  --error:       #dc2626;

  /* Tipografia */
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Escala tipográfica */
  --text-xs:   0.75rem;
  --text-sm:   1rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.5rem;
  --text-2xl:  2.25rem;
  --text-3xl:  3rem;
  --text-4xl:  4rem;

  /* Espaçamentos — múltiplos de 8px */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Border radius — família única (12px) */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 50px;

  /* Sombras — família única */
  --shadow-sm:  0 2px 8px rgba(13, 13, 13, 0.08);
  --shadow-md:  0 6px 24px rgba(13, 13, 13, 0.14);
  --shadow-lg:  0 16px 48px rgba(13, 13, 13, 0.22);
  --shadow-gold: 0 4px 20px rgba(244, 187, 61, 0.35);

  /* Transições */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-max: 1180px;
  --container-pad: 1.25rem;

  /* Header height */
  --header-h: 72px;

  /* Linhas diagonais — tom dourado mais escuro (gold-dark) e bem discretas em todas as seções escuras */
  --diagonal-lines-gold:
    repeating-linear-gradient(135deg,
      rgba(201,148,37,0) 0px,
      rgba(201,148,37,0.03) 1px,
      rgba(201,148,37,0.008) 2.5px,
      rgba(201,148,37,0) 5px,
      rgba(201,148,37,0) 46px);

  /* Textura de fundo do hero: linhas + brilho dourado no canto (exclusivo do hero) */
  --bg-pattern-dark:
    radial-gradient(circle at 82% 45%, rgba(244,187,61,0.16) 0%, rgba(244,187,61,0) 55%),
    var(--diagonal-lines-gold),
    linear-gradient(160deg, #0D0D0D 0%, #050505 100%);

  /* Mesma textura sem o brilho de fundo — usada nas demais seções escuras */
  --bg-pattern-dark-lines:
    var(--diagonal-lines-gold),
    linear-gradient(160deg, #0D0D0D 0%, #050505 100%);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 99999;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; outline: 3px solid var(--black); outline-offset: 2px; }

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

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.btn-black:focus-visible, .btn-gold:focus-visible { outline-color: var(--white); outline-offset: 4px; }
.btn-outline-gold:focus-visible { outline-color: var(--white); outline-offset: 4px; }
.faq-question:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: var(--radius-sm); }

/* Contraste elevado para WCAG AA */
.section-dark p          { color: rgba(255,255,255,0.85); }
.hero-sub                { color: rgba(255,255,255,0.92); }
.scroll-arrow             { color: rgba(255,255,255,0.70); }
#nav-desktop a            { color: rgba(255,255,255,0.95); }
.nav-mobile a             { color: rgba(255,255,255,0.95); }
.faq-answer p             { color: rgba(255,255,255,0.85); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .animate-on-scroll { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }

/* ============================================================
   TIPOGRAFIA UTILITÁRIA
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, var(--text-4xl)); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--text-3xl)); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, var(--text-xl)); font-weight: 700; }
h4 { font-size: var(--text-base); font-weight: 600; }
p { font-size: var(--text-base); color: var(--text-muted); }

.gold-text { color: var(--gold); }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: var(--text-sm);
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: var(--space-sm);
}
.eyebrow-light { color: var(--gold); }

.gold-line {
  width: 48px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px; margin-block: var(--space-md);
}
.gold-line-center { margin-inline: auto; }

.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-header h2 { margin-bottom: 0; }
.section-header .section-subtitle { margin-top: var(--space-sm); font-size: var(--text-lg); color: var(--text-muted); }

.section-light { background-color: var(--surface); }
.section-dark { background: var(--bg-pattern-dark-lines); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-dark h2, .section-dark h3 { color: var(--white); }

section { padding-block: var(--space-2xl); }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill); font-family: var(--font-body); font-size: var(--text-base);
  font-weight: 600; transition: transform var(--transition), box-shadow var(--transition),
  background-color var(--transition), color var(--transition); white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.25rem; font-size: var(--text-lg); }
.btn-full { width: 100%; justify-content: center; }

.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 6px 28px rgba(244, 187, 61, 0.5); }

.btn-black { background: var(--black); color: var(--white); box-shadow: var(--shadow-md); }
.btn-black:hover { background: var(--black-pure); box-shadow: var(--shadow-lg); }

.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-outline-gold { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--black); }

.btn-whatsapp { background: #25D366; color: var(--white); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35); }
.btn-whatsapp:hover { background: #1EBE5A; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.preloader-logo { width: 72px; height: 72px; animation: preloaderPulse 0.8s ease infinite alternate; }
.preloader-logo img { width: 100%; height: 100%; object-fit: contain; }
@keyframes preloaderPulse { from { opacity: 0.6; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
.preloader-bar-track { width: 160px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.preloader-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius: 2px; animation: preloaderBar 0.8s ease-out forwards; }
@keyframes preloaderBar { from { width: 0%; } to { width: 100%; } }

/* ============================================================
   HEADER
   ============================================================ */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h); transition: background-color var(--transition), box-shadow var(--transition); }
#header.transparent { background-color: transparent; }
#header.solid { background-color: var(--black); box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-img { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.logo-name { font-family: var(--font-display); font-size: var(--text-sm); color: var(--white); line-height: 1.25; }
.logo-name strong { display: block; color: var(--gold); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }

#nav-desktop ul { display: flex; align-items: center; gap: var(--space-lg); }
#nav-desktop a { font-size: var(--text-sm); font-weight: 500; color: rgba(255,255,255,0.85); transition: color var(--transition); position: relative; }
#nav-desktop a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width var(--transition); border-radius: 1px;
}
#nav-desktop a:hover { color: var(--gold); }
#nav-desktop a:hover::after { width: 100%; }
#nav-desktop a.active { color: var(--gold); }
#nav-desktop a.active::after { width: 100%; }

.header-cta { padding: 0.5rem 1.25rem; font-size: var(--text-sm); }

.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition), opacity var(--transition), width var(--transition); transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: absolute; top: 100%; left: 0; right: 0; background: var(--black);
  max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile.open { max-height: 520px; }
.nav-mobile ul { display: flex; flex-direction: column; padding: var(--space-md) var(--container-pad); gap: 0.25rem; }
.nav-mobile a { display: block; padding: 0.75rem 1rem; color: rgba(255,255,255,0.85); font-weight: 500; border-radius: var(--radius-sm); transition: background-color var(--transition), color var(--transition); }
.nav-mobile a:hover { background: rgba(255,255,255,0.06); color: var(--gold); }
.nav-mobile-cta { margin-top: var(--space-sm); text-align: center; }

/* ============================================================
   HERO — layout assimétrico com emblema circular (assinatura visual)
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; background: var(--black); }

.hero-backdrop {
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg-pattern-dark);
}

.hero-grid {
  position: relative; z-index: 2; padding-block: var(--space-2xl);
  display: grid; grid-template-columns: 1fr; gap: var(--space-xl); align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-2xl); }
}

.hero-text { text-align: left; }

.hero-headline { color: var(--white); margin-bottom: var(--space-md); text-shadow: 0 2px 20px rgba(0,0,0,0.4); text-align: left; }
.hero-sub { font-size: clamp(var(--text-base), 2vw, var(--text-lg)); max-width: 520px; text-align: left; }

/* Emblema circular — elemento de assinatura, reaproveita o brasão da marca */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-emblem { position: relative; width: min(340px, 78vw); aspect-ratio: 1 / 1; }

.hero-emblem-img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--gold); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 10px rgba(244,187,61,0.06);
}

.hero-emblem-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(244, 187, 61, 0.35);
  animation: emblemPulse 3.5s ease-out infinite;
}
.hero-emblem-ring-2 { animation-delay: 1.2s; }
@keyframes emblemPulse {
  0%   { transform: scale(0.96); opacity: 0.9; }
  80%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.hero-emblem-rec {
  position: absolute; z-index: 2; bottom: 6%; right: 4%; display: flex; align-items: center; gap: 6px;
  background: var(--black); border: 2px solid var(--gold); border-radius: var(--radius-pill);
  padding: 0.5rem 0.9rem; box-shadow: var(--shadow-lg);
  font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--white);
}

.rec-dot {
  position: relative; width: 9px; height: 9px; border-radius: 50%; background: #ff2b2b;
  box-shadow: 0 0 8px 2px rgba(255, 43, 43, 0.7); flex-shrink: 0;
}

/* Pulso ao redor do ponto — a bolinha em si nunca some, só o brilho pulsa (o "não pisca" continua valendo) */
.rec-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: #ff2b2b;
  animation: recPulse 1.8s ease-out infinite;
}
@keyframes recPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

.scroll-arrow {
  position: absolute; bottom: var(--space-md); left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 1.25rem; animation: scrollBounce 2s ease infinite; transition: color var(--transition);
}
.scroll-arrow:hover { color: var(--gold); }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ============================================================
   SOBRE
   ============================================================ */
.section-sobre { padding-block: var(--space-xl); }

.about-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }

.about-card { background: var(--white); border-radius: var(--radius-md); padding: var(--space-lg); box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold); }
.about-card h3 { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; color: var(--gold-dark); margin-bottom: var(--space-sm); }
.about-card p { margin: 0; }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.section-servicos { padding-block: var(--space-2xl); }
.servicos-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); justify-content: center; width: 100%; }

.servico-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px); display: flex; flex-direction: column; min-width: 0; width: 100%; box-sizing: border-box;
}
.servico-card:hover { transform: translateY(-6px); border-color: rgba(244, 187, 61, 0.3); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.servico-card-icon {
  width: 56px; height: 56px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--black);
  margin-bottom: var(--space-md); flex-shrink: 0;
}
.servico-card h3 { color: var(--white); margin-bottom: var(--space-md); flex-shrink: 0; word-break: keep-all; }
.servico-card p { margin: 0; }

.servico-lista { display: flex; flex-direction: column; gap: 0.6rem; margin: 0; }
.servico-lista li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: var(--text-sm); line-height: 1.5; }
.servico-lista li i { color: var(--gold); font-size: 0.75rem; flex-shrink: 0; margin-top: 0.25rem; }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.section-diferenciais { padding-block: var(--space-2xl); }

/* Lista tipo "ficha técnica" — linhas com fio dourado (mais marcado), sem card */
.diferenciais-list { display: flex; flex-direction: column; border-top: 1px solid rgba(201, 148, 37, 0.45); }
.diferencial-row {
  display: flex; align-items: flex-start; gap: var(--space-lg); padding-block: var(--space-lg);
  border-bottom: 1px solid rgba(201, 148, 37, 0.45);
}

.diferencial-icon {
  width: 52px; height: 52px; flex-shrink: 0; background: linear-gradient(135deg, var(--black), var(--black-mid)); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--gold);
}
.diferencial-copy h3 { color: var(--text-main); margin-bottom: var(--space-xs); }
.diferencial-copy p { font-size: var(--text-sm); margin: 0; }

/* ============================================================
   COMO ATUAMOS (fotos operacionais)
   ============================================================ */
.section-operacao { padding-block: var(--space-2xl); }
.operacao-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
.operacao-card { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.operacao-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.operacao-card:hover img { transform: scale(1.05); }
.operacao-overlay {
  position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.55) 100%);
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-md);
}
.operacao-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); color: var(--gold);
  font-family: 'Courier New', ui-monospace, monospace; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; padding: 0.4rem 0.7rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(244, 187, 61, 0.35);
}
.operacao-caption h3 { color: var(--white); margin-bottom: 0.25rem; font-size: var(--text-lg); }
.operacao-caption p { color: rgba(255,255,255,0.8); font-size: var(--text-sm); margin: 0; }

/* Moldura de "visor de câmera" nos cantos, reforçando o tema de vigilância */
.operacao-viewfinder { position: absolute; inset: 14px; z-index: 2; pointer-events: none; }
.vf-corner { position: absolute; width: 18px; height: 18px; border: 2px solid rgba(244, 187, 61, 0.55); }
.vf-corner-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf-corner-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf-corner-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf-corner-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.section-faq { padding-block: var(--space-2xl); }
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--surface-2); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg); text-align: left; font-family: var(--font-body); font-size: var(--text-base);
  font-weight: 600; color: var(--text-main); transition: background-color var(--transition), color var(--transition);
}
.faq-question:hover { background: var(--surface); color: var(--gold-dark); }
.faq-icon { font-size: 1.3rem; color: var(--gold-dark); font-weight: 300; flex-shrink: 0; transition: transform var(--transition); line-height: 1; width: 24px; text-align: center; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer p { padding: 0 var(--space-lg) var(--space-md); font-size: var(--text-sm); color: var(--text-muted); line-height: 1.75; }

/* ============================================================
   FORMULÁRIO (dentro da seção Contato)
   ============================================================ */
.form-group { margin-bottom: var(--space-md); }
.form-group label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--white); margin-bottom: 0.4rem; }
.form-group label span { color: var(--error); margin-left: 2px; }

.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--surface-2); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: var(--text-base); color: var(--text-main); background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition); appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 187, 61, 0.2); background: var(--white);
}
.form-group input.invalid, .form-group select.invalid, .form-group textarea.invalid { border-color: var(--error); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1); }
.form-group input.valid, .form-group select.valid { border-color: var(--success); }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%234a5568' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.5rem; cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-error { display: block; font-size: var(--text-xs); color: var(--error); margin-top: 0.3rem; min-height: 1.1em; }

.lgpd-input { display: none; }
.checkbox-wrap { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.checkbox-box {
  flex-shrink: 0; width: 20px; height: 20px; min-width: 20px; border: 2px solid var(--surface-2); border-radius: 4px;
  background: var(--surface); margin-top: 2px; transition: border-color var(--transition), background-color var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.checkbox-wrap.checked .checkbox-box { background: var(--gold); border-color: var(--gold); }
.checkbox-wrap.checked .checkbox-box::after { content: ''; display: block; width: 5px; height: 9px; border: 2px solid var(--black); border-top: none; border-left: none; transform: rotate(45deg) translateY(-1px); }
.checkbox-wrap.invalid .checkbox-box { border-color: var(--error); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1); }
.checkbox-text { flex: 1; font-size: var(--text-sm); color: rgba(255,255,255,0.75); line-height: 1.6; }
.checkbox-text, .checkbox-text strong, .checkbox-text * { color: rgba(255,255,255,0.75) !important; }
.link-lgpd { color: var(--gold); text-decoration: underline; font-weight: 500; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

#btn-enviar, #btn-enviar-trabalhe { margin-top: var(--space-sm); position: relative; }
.form-wrapper-narrow { max-width: 640px; margin-inline: auto; }
.btn-loading { display: flex; align-items: center; justify-content: center; gap: 0.6rem; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(13, 13, 13, 0.25); border-top-color: var(--black); border-radius: 50%; animation: spin 0.7s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-estado { text-align: center; padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.form-sucesso { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border: 2px solid #86efac; }
.form-falha { background: linear-gradient(135deg, #fef2f2, #fee2e2); border: 2px solid #fca5a5; }
.form-sucesso .estado-icon { color: var(--success); font-size: 2.5rem; }
.form-falha .estado-icon { color: var(--error); font-size: 2.5rem; }
.form-sucesso h3 { color: var(--success); }
.form-falha h3 { color: var(--error); }
.form-sucesso p { color: #166534; }
.form-falha p { color: #7f1d1d; }

.hidden { display: none !important; }

/* ============================================================
   CONTATO (info + mapa + formulário unificados)
   ============================================================ */
.section-contato { padding-block: var(--space-2xl); }
.contato-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); align-items: stretch; }
.contato-info { display: flex; flex-direction: column; }
.contato-info .btn { margin-top: var(--space-lg); align-self: flex-start; }

.contato-lista { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-lg); }
.contato-lista li, .contato-lista a { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(255,255,255,0.8); transition: color var(--transition); }
.contato-lista a:hover { color: var(--gold); }
.contato-lista i { color: var(--gold); font-size: 1rem; margin-top: 0.2rem; width: 20px; flex-shrink: 0; }
.contato-lista strong {
  display: block; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 0.8rem; color: var(--gold); margin-bottom: 0.15rem;
}
.contato-lista span { font-size: var(--text-sm); color: rgba(255,255,255,0.65); }

.contato-mapa { margin-top: var(--space-lg); }
.contato-mapa iframe { width: 100%; min-height: 200px; aspect-ratio: 16 / 8; border-radius: var(--radius-md); display: block; box-shadow: var(--shadow-md); border: 0; }

/* ============================================================
   TRABALHE CONOSCO
   ============================================================ */
.candidatura-card { max-width: 480px; margin-inline: auto; text-align: center; align-items: center; }
.servico-card.candidatura-card { min-height: auto; }
.candidatura-card .servico-card-icon { margin-inline: auto; }
p.candidatura-intro { margin-bottom: var(--space-lg); }
.candidatura-card .servico-lista { text-align: left; max-width: 260px; margin: 0 auto var(--space-lg); }
p.candidatura-nota { font-size: var(--text-xs); color: rgba(255,255,255,0.5); margin: var(--space-md) 0 0; }

/* ============================================================
   RODAPÉ
   ============================================================ */
#rodape { background: var(--black); border-top: 1px solid rgba(255,255,255,0.05); padding-block: var(--space-lg); }
.rodape-bottom-inner { display: flex; flex-direction: column; gap: 0.5rem; }
.rodape-creditos, .rodape-regiao { font-size: 0.85rem; color: #999; }
.rodape-link { font-size: 0.85rem; color: #999; transition: color var(--transition); }
.rodape-link:hover { color: var(--gold); }

/* ============================================================
   ANIMAÇÕES SCROLL
   ============================================================ */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

.servico-card:nth-child(1), .diferencial-row:nth-child(1), .operacao-card:nth-child(1) { transition-delay: 0.05s; }
.servico-card:nth-child(2), .diferencial-row:nth-child(2), .operacao-card:nth-child(2) { transition-delay: 0.1s; }
.servico-card:nth-child(3), .diferencial-row:nth-child(3), .operacao-card:nth-child(3) { transition-delay: 0.15s; }
.servico-card:nth-child(4), .diferencial-row:nth-child(4) { transition-delay: 0.2s; }

/* ============================================================
   RESPONSIVIDADE — TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
  :root { --container-pad: 2rem; }
  .hamburger { display: none; }
  #nav-desktop { display: flex; }
  .nav-mobile { display: none; }

  .about-grid { grid-template-columns: repeat(3, 1fr); }

  .servicos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .servico-card { min-height: 380px; }

  .operacao-grid { grid-template-columns: repeat(3, 1fr); }

  .rodape-bottom-inner { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   RESPONSIVIDADE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  :root { --container-pad: 2.5rem; }
  #nav-desktop { display: flex; }
  .contato-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-2xl); }
}

/* ============================================================
   RESPONSIVIDADE — WIDE (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
  .servicos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
  .servico-card { padding: var(--space-lg) var(--space-md); }
}

/* ============================================================
   MOBILE — hamburger visível abaixo de 768px
   ============================================================ */
@media (max-width: 767px) {
  #nav-desktop { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero-grid { padding-block: var(--space-xl); }
  .hero-emblem { width: min(260px, 70vw); margin-inline: auto; }
}
