/* ============================================================
   PRONTO VIG RH — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties (Themes) ---------- */
:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --color-bg-deep: #061121;
  --color-bg: #0b1c36;
  --color-surface: #102545;
  --color-surface-elevated: #16325c;
  --color-surface-card-end: rgba(6, 17, 33, 0.85);
  --color-border: rgba(250, 204, 21, 0.25);
  --color-text: #ffffff;
  --color-text-muted: #e2e8f0;
  --color-accent: #facc15;
  --color-accent-deep: #ca8a04;
  --color-input-bg: rgba(6, 17, 33, 0.65);
  --color-quote-bg: rgba(11, 28, 54, 0.82);
  --color-cta-end: rgba(6, 17, 33, 0.6);
  --btn-outline-bg: rgba(6, 17, 33, 0.45);
  --color-glass-bg: linear-gradient(155deg, rgba(22, 50, 92, 0.85), rgba(11, 28, 54, 0.65));
  --color-topbar-bg: rgba(6, 17, 33, 0.95);
  --color-header-bg: rgba(6, 17, 33, 0.88);
  --color-footer-bg: #030812;
  --color-footer-divider: rgba(250, 204, 21, 0.15);
  --gradient-gold: linear-gradient(135deg, #fef08a 0%, #facc15 40%, #a16207 100%);
  --gradient-danger: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
  --gradient-hero: radial-gradient(130% 100% at 20% 0%, rgba(250, 204, 21, 0.25), transparent 60%),
    radial-gradient(100% 80% at 100% 20%, rgba(59, 130, 246, 0.4), transparent 55%),
    linear-gradient(180deg, #061121 0%, #0b1c36 45%, #061121 100%);
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-deep: 0 32px 80px rgba(0, 0, 0, 0.8), 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px rgba(250, 204, 21, 0.45), 0 16px 48px rgba(250, 204, 21, 0.25);
  --shadow-glow-danger: 0 0 0 1px rgba(239, 68, 68, 0.45), 0 16px 48px rgba(239, 68, 68, 0.25);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --transition-base: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html[data-theme="light"] {
  color-scheme: light;
  --color-bg-deep: #e8ecf2;
  --color-bg: #f1f5f9;
  --color-surface: #ffffff;
  --color-surface-elevated: #ffffff;
  --color-surface-card-end: rgba(241, 245, 249, 0.95);
  --color-border: rgba(15, 23, 42, 0.1);
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-accent: #b8860b;
  --color-accent-deep: #7a5c1a;
  --color-input-bg: #f8fafc;
  --color-quote-bg: rgba(255, 255, 255, 0.95);
  --color-cta-end: rgba(255, 255, 255, 0.75);
  --btn-outline-bg: rgba(255, 255, 255, 0.92);
  --color-glass-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.92));
  --color-topbar-bg: rgba(255, 255, 255, 0.92);
  --color-header-bg: rgba(255, 255, 255, 0.88);
  --color-footer-bg: #e2e8f0;
  --color-footer-divider: rgba(15, 23, 42, 0.08);
  --gradient-gold: linear-gradient(135deg, #e8c547 0%, #c9a227 40%, #8a6623 100%);
  --gradient-hero: radial-gradient(100% 80% at 10% 0%, rgba(212, 175, 55, 0.12), transparent 50%),
    radial-gradient(80% 60% at 100% 0%, rgba(148, 163, 184, 0.2), transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, #e8ecf2 50%, #f1f5f9 100%);
  --shadow-soft: 0 12px 36px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 0 1px rgba(184, 134, 11, 0.22), 0 12px 32px rgba(184, 134, 11, 0.12);
  --shadow-glow-danger: 0 0 0 1px rgba(239, 68, 68, 0.45), 0 16px 48px rgba(239, 68, 68, 0.25);
}

/* ---------- Reset & Base ---------- */
html { scroll-behavior: smooth; }

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

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg-deep);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ---------- Utilities ---------- */
.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}
.muted { color: var(--color-text-muted); }
.list { margin: 0.5rem 0 0; padding-left: 1.1rem; color: var(--color-text-muted); }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- App Shell ---------- */
.app-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

/* ---------- Topbar ---------- */
.site-topbar {
  background: var(--color-topbar-bg);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.78rem;
  position: relative;
}
.site-topbar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gradient-gold);
  opacity: 0.4;
}
.site-topbar .topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  padding: 0.45rem 0;
}
.topbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.site-topbar .tagline {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
}
.site-topbar .trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  color: var(--color-text-muted);
  font-weight: 600;
}
.site-topbar .trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.site-topbar .trust span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.55);
}

/* ---------- Site Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.brand__logo {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35));
}
.brand__text { display: grid; gap: 0.15rem; min-width: 0; }
.brand__name {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand__tag {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover {
  color: var(--color-text);
  background: rgba(212, 175, 55, 0.08);
}
.nav a.is-active {
  color: #050a14;
  background: var(--gradient-gold);
  box-shadow: 0 2px 14px rgba(212,175,55,0.3);
  font-weight: 800;
}

/* ---------- Site Main ---------- */
.site-main {
  padding: 0 0 3rem;
  background: var(--gradient-hero);
  background-attachment: fixed;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-footer-bg);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0.5;
}
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.35rem 0;
}
.footer-contacts__block {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
}
.footer-contacts a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.footer-contacts a:hover { opacity: 0.72; }
.footer-meta {
  padding: 0.85rem 0 1.25rem;
  border-top: 1px solid var(--color-footer-divider);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(212, 175, 55, 0.06);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.theme-toggle:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.12);
}
.theme-toggle__icon { font-size: 1rem; line-height: 1; }

/* ---------- Media Frames ---------- */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  background: var(--color-surface);
}
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.media-strip .media-frame { aspect-ratio: 16 / 10; }

/* ---------- Bento Grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.25rem;
}
.bento-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-glass-bg);
  backdrop-filter: blur(12px);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-bounce), box-shadow var(--transition-bounce), border-color var(--transition-bounce);
  overflow: hidden;
  position: relative;
}
.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.bento-item:hover::before { opacity: 1; }
.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(250, 204, 21, 0.5);
}
.bento-item--image {
  padding: 0;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.bento-item--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 17, 33, 0.98) 0%, rgba(6, 17, 33, 0.75) 60%, rgba(6, 17, 33, 0.3) 100%);
  z-index: 1;
}
.bento-item--image .bento-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  width: 100%;
}
.bento-col-12 { grid-column: span 12; }
.bento-col-8  { grid-column: span 8; }
.bento-col-6  { grid-column: span 6; }
.bento-col-4  { grid-column: span 4; }

/* ---------- Float Animations ---------- */
@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}
.animate-float         { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float 6s ease-in-out 2s infinite; }

/* ============================================================
   HOME PAGE
   ============================================================ */
.page-home .section-head { margin-bottom: 2.5rem; }
.page-home .section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  font-weight: 800;
}
.page-home .section-head p.muted { font-size: 1.15rem; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }

/* Hero */
.hero { padding: 1.5rem 0 4rem; }
.hero__panel {
  min-height: 640px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: var(--shadow-deep);
  background-size: cover;
  background-position: center 25%;
  display: flex;
  align-items: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}
.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--color-glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(250, 204, 21, 0.5);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-glow);
  z-index: 10;
}
.hero__badge svg, .hero__badge i { color: var(--color-accent); }
.badge-1 { top: 15%; right: 10%; }
.badge-2 { bottom: 20%; right: 15%; }
.hero__content { max-width: 720px; position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.2);
  border: 1px solid rgba(250, 204, 21, 0.4);
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 800;
}
.hero h1 {
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero__lead {
  margin: 0 0 2rem;
  color: #f8fafc;
  font-weight: 500;
  max-width: 60ch;
  font-size: 1.15rem;
  line-height: 1.65;
}
.hero__kpis {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.kpi strong {
  display: block;
  font-size: 1.65rem;
  color: var(--color-accent);
  font-weight: 800;
  line-height: 1.2;
}
.kpi span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary {
  background: var(--gradient-gold);
  color: #061121;
  box-shadow: 0 8px 24px rgba(250,204,21,0.5);
}
.btn--primary:hover { box-shadow: 0 12px 36px rgba(250,204,21,0.7); }
.btn--ghost {
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(11,28,54,0.6);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  border-color: rgba(250,204,21,0.7);
  background: rgba(250,204,21,0.2);
}
.btn--gold {
  background: var(--gradient-gold);
  color: #050a14;
  box-shadow: var(--shadow-glow);
  font-weight: 800;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
}
.btn--gold:disabled { opacity: 0.55; cursor: not-allowed; }

/* Services Highlight */
.services-highlight { padding: 3rem 0 5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--color-glass-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-accent);
}
.service-card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card h3 { margin: 0 0 0.75rem; font-size: 1.2rem; font-weight: 800; color: var(--color-text); }
.service-card p  { margin: 0; color: var(--color-text-muted); line-height: 1.55; font-size: 0.95rem; }

/* Segments Gallery */
.segments-gallery {
  padding: 4rem 0;
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  margin: 0;
  height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(250, 204, 21, 0.25);
  box-shadow: var(--shadow-soft);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 17, 33, 0.98) 0%, rgba(6, 17, 33, 0.7) 60%, rgba(6, 17, 33, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(6, 17, 33, 0.98) 0%, rgba(6, 17, 33, 0.85) 60%, rgba(6, 17, 33, 0.5) 100%);
}
.gallery-icon { color: var(--color-accent); margin-bottom: 0.75rem; }
.gallery-overlay h3 { margin: 0; font-size: 1.4rem; font-weight: 800; color: #fff; }

/* Risk Section */
.risk-section { padding: 5rem 0; }
.risk-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.risk-media {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: var(--shadow-glow-danger);
}
.risk-media-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-surface-card-end);
  mix-blend-mode: multiply;
}
.risk-icon {
  display: inline-flex;
  padding: 1.25rem;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-glow-danger);
}
.risk-header h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
.risk-header p { color: var(--color-text-muted); font-size: 1.15rem; margin-bottom: 2.5rem; }
.risk-list { display: grid; gap: 1.25rem; }
.risk-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--color-glass-bg);
  border: 1px solid rgba(239, 68, 68, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.risk-card:hover { transform: translateX(8px); border-color: rgba(239, 68, 68, 0.6); }
.risk-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; color: #ef4444; }
.risk-card p  { margin: 0; color: var(--color-text-muted); line-height: 1.6; }

/* Differentials */
.differentials { padding: 4rem 0; }
.bento-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.diff-icon { color: var(--color-accent); margin-bottom: 1rem; }
.bento-item h3 { font-size: 1.4rem; margin: 0 0 0.5rem; letter-spacing: -0.01em; font-weight: 800; }
.bento-item p  { margin: 0; color: var(--color-text-muted); line-height: 1.6; font-size: 1.05rem; font-weight: 500; }
.bento-item--image h3 { color: #ffffff; }
.bento-item--image p  { color: rgba(255, 255, 255, 0.9); }

/* Quality Seals */
.quality {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  margin: 4rem 0;
}
.quality::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(250,204,21,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.quality__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.quality-hero-img {
  aspect-ratio: 16/9;
  border-color: rgba(250, 204, 21, 0.3);
  box-shadow: var(--shadow-glow);
}
.quality__text h2 {
  margin: 0 0 1rem;
  font-size: 2.5rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.quality__text p { font-size: 1.15rem; color: var(--color-text-muted); line-height: 1.6; }
.seals-grid { display: grid; gap: 1.25rem; }
.seal-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--color-glass-bg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.seal-card:hover { transform: translateX(-8px); box-shadow: var(--shadow-glow); }
.seal-card__badge {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--gradient-gold);
  color: #061121;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(250,204,21,0.4);
}
.seal-card h4 { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 800; }
.seal-card p  { margin: 0; font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.45; }

/* FAQ */
.faq { padding: 2rem 0 4rem; max-width: 800px; margin: 0 auto; }
.faq-list { display: grid; gap: 1rem; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform 0.3s ease; color: var(--color-accent); }
.faq-item[open] .faq-icon { transform: rotate(90deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--color-text-muted); line-height: 1.6; }

/* Compliance */
.compliance { padding-bottom: 3rem; }
.compliance__card {
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-left: 5px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: rgba(250, 204, 21, 0.1);
}
.compliance__card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.compliance__card p { margin: 0; color: var(--color-text); font-size: 1rem; line-height: 1.6; }

/* ============================================================
   INNER PAGES (Quem somos, Empresas, Candidatos)
   ============================================================ */
.page-inner .page { padding: 1.5rem 0 2rem; }
.page-banner {
  aspect-ratio: 21 / 9;
  max-height: 455px;
  margin-bottom: 1.75rem;
}
.page-banner img { min-height: 180px; }
.page-head { margin-bottom: 1.25rem; }
.page-head h1 { margin: 0 0 0.6rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.02em; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card {
  background: linear-gradient(160deg, var(--color-surface-elevated), var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
}
.card__title { font-weight: 800; margin-bottom: 0.6rem; }
.bullets { margin: 0; padding-left: 1.1rem; color: var(--color-text-muted); display: grid; gap: 0.35rem; }
.mt { margin-top: 1.25rem; }

/* Compliance Banner */
.compliance-banner {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: var(--shadow-soft);
}
.compliance-banner strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--color-accent);
}
.compliance-banner p { margin: 0; color: var(--color-text); font-weight: 600; }

/* Seals pills */
.seals-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.2rem; }
.seal-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.page-services .page { padding: 1.25rem 0 2.5rem; }
.page-services .page-banner { aspect-ratio: 21 / 8; max-height: 455px; margin-bottom: 1.35rem; border-radius: 8px; }
.page-services .page-banner img { min-height: 180px; }
.page-services .page-head { margin-bottom: 1rem; }
.page-services h1 { margin: 0 0 0.55rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.page-services h2 { margin: 0 0 0.7rem; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.section-block { margin-top: 1.1rem; }
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.job-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.95rem;
  background: linear-gradient(145deg, var(--color-surface-elevated), var(--color-surface));
  box-shadow: var(--shadow-soft);
}
.job-card__icon {
  width: 34px; height: 34px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(183, 15, 27, 0.36);
  background: rgba(183, 15, 27, 0.12);
  color: #b70f1b;
}
.job-card h3 { margin: 0 0 0.4rem; font-size: 0.98rem; }
.job-card p  { margin: 0; color: var(--color-text-muted); font-size: 0.88rem; line-height: 1.45; }
.section--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.card-service {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem;
  background: linear-gradient(145deg, var(--color-surface-elevated), var(--color-surface));
  box-shadow: var(--shadow-soft);
}
.card-service h2 { margin: 0 0 0.7rem; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.segments { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.segment-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.35rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.card-service ul { margin: 0; padding-left: 1.1rem; color: var(--color-text-muted); display: grid; gap: 0.42rem; }
.cta-section {
  margin-top: 1rem;
  border: 1px solid rgba(183, 15, 27, 0.3);
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(183, 15, 27, 0.14), rgba(10, 14, 21, 0.3));
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.cta-section h2 { margin: 0 0 0.3rem; }
.cta-section p  { margin: 0; color: var(--color-text-muted); }
.cta-section__actions { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.btn--danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.95rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid transparent;
  background: #b70f1b;
  color: #fff;
}
.btn--outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.95rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: var(--btn-outline-bg);
}

/* ============================================================
   CONTACT PAGES
   ============================================================ */
.page-contact-hub .page { padding-bottom: 2rem; }
.page-contact-hub .page-head { margin-bottom: 2rem; }
.page-contact-hub h1 { margin: 0 0 0.5rem; font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.03em; }
.page-contact-hub .lead { margin: 0; color: var(--color-text-muted); font-size: 1.05rem; max-width: 42rem; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.choice {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  background: linear-gradient(145deg, var(--color-surface-elevated), var(--color-surface));
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.choice__thumb { aspect-ratio: 16 / 7; border: none; border-radius: 0; box-shadow: none; }
.choice__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.choice__label, .choice__title, .choice__desc { padding-inline: 1.35rem; }
.choice__label { padding-top: 0.25rem; }
.choice__desc  { padding-bottom: 1.35rem; }
.choice:hover  { transform: translateY(-4px); border-color: rgba(212, 175, 55, 0.45); box-shadow: var(--shadow-glow); }
.choice__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.choice__title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.choice__desc  { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.45; }
.choice--company   { border-left: 3px solid var(--color-accent); }
.choice--candidate { border-left: 3px solid rgba(212, 175, 55, 0.55); }

/* Contact Form Pages */
.page-contact-form .page { padding-bottom: 2.5rem; }
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb a { color: var(--color-accent); font-weight: 700; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-contact-form .page-head { margin-bottom: 1.75rem; }
.page-contact-form h1 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -0.03em; }
.page-contact-form .lead { margin: 0; color: var(--color-text-muted); max-width: 40rem; }
.compliance-note {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
}
.compliance-note strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}
.compliance-note p { margin: 0; color: var(--color-text); font-weight: 600; }
.form-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 1.25rem; align-items: start; }
.form-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(160deg, var(--color-surface-elevated), var(--color-surface));
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: 0.4rem; font-weight: 700; font-size: 0.9rem; color: var(--color-text); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-input-bg);
  color: var(--color-text);
}
.contact-form textarea { resize: vertical; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.25rem;
}
.hint { font-size: 0.8rem; color: var(--color-text-muted); }
.field-error { color: #fca5a5; font-weight: 600; font-size: 0.83rem; }
.field-error.hidden { display: none; }
.success-msg {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(22, 101, 52, 0.25);
  color: #bbf7d0;
  font-weight: 700;
  display: none;
}
.success-msg.visible { display: block; }
.aside-contact { display: flex; flex-direction: column; gap: 1rem; }
.aside-hero { aspect-ratio: 4 / 5; max-height: 420px; }
.aside-hero img { width: 100%; height: 100%; object-fit: cover; }
.aside-card { border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: linear-gradient(160deg, var(--color-surface-elevated), var(--color-surface)); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.aside-card h2 { margin: 0 0 0.75rem; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent); }
.aside-card ul { margin: 0; padding-left: 1.15rem; color: var(--color-text-muted); display: grid; gap: 0.45rem; line-height: 1.45; }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 .card-404 {
  background: linear-gradient(160deg, var(--color-surface-elevated), var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-top: 3rem;
}
.page-404 h1 { margin: 0 0 0.6rem; letter-spacing: -0.02em; }
.page-404 .link { display: inline-block; margin-top: 0.75rem; color: var(--color-accent); font-weight: 800; text-decoration: none; }
.page-404 .link:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .header-row { align-items: flex-start; gap: 0.75rem 1rem; }
  .nav { width: 100%; margin-left: 0; justify-content: flex-start; }
}
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .risk-layout, .quality__inner { grid-template-columns: 1fr; }
  .hero__panel { padding: 2.5rem; min-height: auto; }
  .badge-1, .badge-2 { display: none; }
  .risk-media { aspect-ratio: 16/9; max-height: 400px; }
  .bento-col-8 { grid-column: span 12; }
  .bento-col-4 { grid-column: span 6; }
}
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .form-grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .brand { width: 100%; }
  .brand__name { font-size: 0.96rem; }
  .nav a { font-size: 0.78rem; padding: 0.4rem 0.58rem; }
}
@media (max-width: 760px) {
  .jobs-grid, .section--split { grid-template-columns: 1fr; }
  .media-strip { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .media-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand__tag { display: none; }
  .site-topbar .trust { display: none; }
  .site-topbar .topbar-inner { justify-content: center; }
  .theme-toggle { font-size: 0.68rem; padding: 0.3rem 0.55rem; }
  .bento-col-6, .bento-col-4 { grid-column: span 12; }
  .services-grid { grid-template-columns: 1fr; }
  .hero__kpis { flex-direction: column; gap: 1rem; }
}

/* File Upload Premium Styles */
.file-upload-label {
  display: grid !important;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-top: 0.5rem;
}
.file-upload-info {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 0.15rem;
}
.contact-form input[type="file"] {
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  background: var(--color-input-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.contact-form input[type="file"]::file-selector-button {
  background: var(--gradient-gold);
  color: #061121;
  border: none;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  margin-right: 0.75rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.contact-form input[type="file"]::file-selector-button:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

