/* =====================================================
   CLINBRAS GESTÃO OCUPACIONAL — DESIGN SYSTEM
   ===================================================== */

/* --- Google Fonts Import (Fallback) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors (extracted from Clinbras brand: deep blue/navy + energetic orange/teal) */
  --brand-primary: #0a2e52;
  --brand-primary-light: #0d3d6e;
  --brand-primary-dark: #061c33;
  --brand-accent: #f97316;
  --brand-accent-light: #fb923c;
  --brand-teal: #0ea5e9;
  --brand-teal-dark: #0284c7;

  /* Neutrals */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;

  /* Semantic */
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: rgba(0, 0, 0, 0.08);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0a2e52 0%, #0d3d6e 50%, #0a4d8c 100%);
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --gradient-teal: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.16), 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-glow-accent: 0 0 30px rgba(249, 115, 22, 0.3);
  --shadow-glow-teal: 0 0 30px rgba(14, 165, 233, 0.3);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Font */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(10, 46, 82, 0.08), rgba(14, 165, 233, 0.1));
  color: var(--brand-teal-dark);
  border: 1px solid rgba(14, 165, 233, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.625rem);
  font-weight: 800;
  color: var(--brand-primary-dark);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  padding: 12px 26px;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-fast);
  background: rgba(255, 255, 255, 0.15);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.btn-outline:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(10, 46, 82, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(7, 30, 55, 0.98);
  box-shadow: var(--shadow-lg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.header__logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform var(--transition-base);
}

.header__logo:hover img {
  transform: scale(1.03);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  margin-left: var(--space-2);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  /* Must stay ABOVE the nav overlay (z-index: 998) */
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--brand-teal);
  top: -200px;
  right: -100px;
  animation: float 12s ease-in-out infinite;
}

.shape-2 {
  width: 450px;
  height: 450px;
  background: var(--brand-accent);
  bottom: -120px;
  left: -80px;
  animation: float 16s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: #60a5fa;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  animation: float 10s ease-in-out infinite 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 580px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(74, 222, 128, 0.1);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero__title .highlight {
  position: relative;
  color: transparent;
  background: linear-gradient(135deg, #fb923c 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero__actions .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero__actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: left;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Visual */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 480px;
}

.hero__illustration {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illus-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: spin-slow linear infinite;
}

.illus-ring--1 {
  width: 300px;
  height: 300px;
  animation-duration: 30s;
  border-color: rgba(14, 165, 233, 0.2);
  border-top-color: rgba(14, 165, 233, 0.6);
}

.illus-ring--2 {
  width: 220px;
  height: 220px;
  animation-duration: 20s;
  animation-direction: reverse;
  border-color: rgba(249, 115, 22, 0.2);
  border-right-color: rgba(249, 115, 22, 0.6);
}

.illus-ring--3 {
  width: 140px;
  height: 140px;
  animation-duration: 15s;
  border-color: rgba(255, 255, 255, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.illus-center {
  position: absolute;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(14, 165, 233, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.illus-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

/* Floating Cards */
.hero__card-float {
  position: absolute;
  z-index: 2;
  animation: card-float ease-in-out infinite;
}

.hero__card-float--1 {
  top: 40px;
  left: -40px;
  animation-duration: 6s;
}

.hero__card-float--2 {
  bottom: 60px;
  right: -40px;
  animation-duration: 8s;
  animation-delay: 2s;
}

@keyframes card-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.float-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
}

.float-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.float-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.float-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
  transition: color var(--transition-fast);
}

.hero__scroll-hint:hover {
  color: rgba(255, 255, 255, 0.8);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* =====================================================
   SOBRE / CREDIBILIDADE
   ===================================================== */
.sobre {
  background: var(--bg-alt);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-8);
  align-items: start;
}

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

.pilar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}

.pilar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.2);
}

.pilar-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(10, 46, 82, 0.06), rgba(14, 165, 233, 0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-bottom: var(--space-4);
}

.pilar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  margin-bottom: var(--space-2);
}

.pilar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Multa Alert Card */
.multa-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  color: #fff;
  box-shadow: var(--shadow-xl);
  position: sticky;
  top: 96px;
}

.multa-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.multa-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.multa-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* =====================================================
   SERVIÇOS
   ===================================================== */
.servicos {
  background: var(--bg);
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.servico-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition-slow);
  animation-delay: calc(var(--card-delay) * 0.07s);
}

.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 46, 82, 0.15);
}

.servico-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.servico-card__icon--1 {
  background: linear-gradient(135deg, #0a2e52, #0d3d6e);
  color: #fff;
}

.servico-card__icon--2 {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
}

.servico-card__icon--3 {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #fff;
}

.servico-card__icon--4 {
  background: linear-gradient(135deg, #7c3aed, #9f67fa);
  color: #fff;
}

.servico-card__icon--5 {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
}

.servico-card__content {
  flex: 1;
}

.servico-card__content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.servico-card__content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.servico-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.servico-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.servico-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  background: var(--brand-accent);
  border-radius: 50%;
}

.servico-card__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-teal-dark);
  transition: all var(--transition-fast);
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
  margin-top: auto;
}

.servico-card__cta:hover {
  color: var(--brand-primary);
  letter-spacing: 0.01em;
}

/* CTA Card */
.servico-card--cta {
  background: var(--gradient-hero);
  border-color: transparent;
  align-items: center;
  text-align: center;
}

.servico-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.servico-cta-icon {
  font-size: 3rem;
}

.servico-card--cta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.servico-card--cta p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* =====================================================
   TREINAMENTOS / NRs
   ===================================================== */
.treinamentos {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #eef3f9 100%);
}

.nrs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.nr-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: all var(--transition-slow);
}

.nr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 46, 82, 0.15);
}

.nr-badge {
  display: inline-block;
  background: var(--gradient-hero);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.nr-badge--custom {
  background: var(--gradient-accent);
}

.nr-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  line-height: 1.3;
}

.nr-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* =====================================================
   CLIENTES / DEPOIMENTOS
   ===================================================== */
.clientes {
  background: var(--bg);
}

.clientes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.depoimento-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition-slow);
}

.depoimento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.depoimento-stars {
  font-size: 1.1rem;
  color: #fbbf24;
  letter-spacing: 2px;
}

.depoimento-texto {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.depoimento-autor {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.depoimento-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.depoimento-autor strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text);
}

.depoimento-autor span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* =====================================================
   CONTATO
   ===================================================== */
.contato {
  background: var(--bg-alt);
}

.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: start;
}

.contato__info .section-title {
  text-align: left;
}

.contato__info .section-tag {
  text-align: left;
}

.contato__info>p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: var(--space-8);
}

.contato__channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.channel-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.channel-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.channel-item--whatsapp:hover {
  border-color: #25d366;
}

.channel-item--email:hover {
  border-color: var(--brand-teal);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-item--whatsapp .channel-icon {
  background: #25d366;
  color: #fff;
}

.channel-item--email .channel-icon {
  background: var(--brand-teal);
  color: #fff;
}

.channel-item--location .channel-icon {
  background: var(--brand-primary);
  color: #fff;
}

.channel-item strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 600;
}

.channel-item span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Form */
.contato__form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}

.contato__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: all var(--transition-fast);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--neutral-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--brand-primary-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-12);
  padding: var(--space-16) var(--space-6);
}

.footer__logo {
  height: 44px;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-5);
  opacity: 0.92;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--brand-accent);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

.footer__col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer__col a,
.footer__location {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-5) 0;
}

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__credits {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.heart {
  color: #ef4444;
  display: inline-block;
  animation: heartbeat 2.4s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.25);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.15);
  }

  56% {
    transform: scale(1);
  }
}

.credits-link {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.credits-link:hover {
  color: var(--brand-accent);
  text-decoration-color: var(--brand-accent);
}

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
  transition: all var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: whatsapp-ring 2.5s ease-in-out infinite;
}

@keyframes whatsapp-ring {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* —— Tablet / Small Desktop (≤1024px) —— */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .sobre__grid {
    grid-template-columns: 1fr;
  }

  .sobre__pilares {
    grid-template-columns: repeat(2, 1fr);
  }

  .multa-card {
    position: static;
  }

  .servicos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nrs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clientes__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contato__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    padding-top: var(--space-12);
    padding-bottom: var(--space-8);
  }
}

/* —— Mobile (≤768px) —— */
@media (max-width: 768px) {
  .section {
    padding: var(--space-12) 0;
  }

  .container {
    padding: 0 var(--space-5);
  }

  .section-header {
    margin-bottom: var(--space-10);
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* Header */
  .header {
    padding: 10px 0;
  }

  .header__logo img {
    height: 38px;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 999;
    padding: 10px;
    /* Larger tap target */
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  /* Mobile nav overlay */
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    /* modern: excludes browser chrome on mobile */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(7, 30, 55, 0.99);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0 var(--space-6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
    gap: var(--space-4);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
  }

  .header__nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }


  .nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    padding: var(--space-3) var(--space-6);
    width: 100%;
    text-align: center;
    border-radius: var(--radius-md);
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-cta {
    margin: var(--space-4) 0 0;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    padding: 88px 0 80px;
    align-items: flex-start;
    padding-top: 100px;
  }

  .hero__inner {
    text-align: left;
    gap: var(--space-8);
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__badge {
    margin-left: 0;
    margin-right: 0;
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
    margin-bottom: var(--space-5);
  }

  .hero__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
  }

  .hero__actions {
    flex-direction: column;
    gap: var(--space-3);
    justify-content: flex-start;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__stats {
    gap: var(--space-4);
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: var(--space-5);
  }

  .stat-num {
    font-size: 1.625rem;
  }

  .stat-label {
    font-size: 0.6875rem;
  }

  /* Sobre */
  .sobre__pilares {
    grid-template-columns: 1fr;
  }

  .pilar-card {
    padding: var(--space-6);
  }

  /* Serviços */
  .servicos__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .servico-card {
    padding: var(--space-6);
  }

  /* NRs */
  .nrs__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .nr-card {
    padding: var(--space-6);
  }

  /* Clientes */
  .clientes__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .depoimento-card {
    padding: var(--space-6);
  }

  /* Contato */
  .contato__form-wrap {
    padding: var(--space-6);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Inputs bigger tap targets on mobile */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem;
    /* prevents iOS zoom on focus */
    padding: 14px 16px;
    min-height: 48px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-top: var(--space-10);
    padding-bottom: var(--space-6);
  }

  .footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6) var(--space-4);
  }

  .footer__col a,
  .footer__location {
    margin-bottom: var(--space-3);
    min-height: 36px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
  }

  .footer__col h4 {
    margin-bottom: var(--space-4);
  }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }

  /* WhatsApp float — move up from bottom to avoid blocking nav gestures */
  .whatsapp-float {
    bottom: 24px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
}

/* —— Small Mobile (≤480px) —— */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .hero {
    padding: 90px 0 70px;
  }

  .hero__title {
    font-size: clamp(1.625rem, 7vw, 2rem);
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-6);
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 0 0 auto;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 0.9375rem;
  }

  .footer__links {
    grid-template-columns: 1fr;
  }

  .multa-card {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
  }

  .nr-badge {
    font-size: 0.7rem;
    padding: 4px 12px;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  .depoimento-texto {
    font-size: 0.9rem;
  }

  .contato__form-wrap {
    padding: var(--space-5);
    border-radius: var(--radius-lg);
  }
}

/* —— Extra Small (≤375px / iPhone SE area) —— */
@media (max-width: 375px) {
  .container {
    padding: 0 var(--space-3);
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__badge {
    font-size: 0.6875rem;
    padding: 5px 12px;
  }

  .section-title {
    font-size: 1.375rem;
  }

  .pilar-card,
  .servico-card,
  .nr-card,
  .depoimento-card {
    padding: var(--space-5);
    border-radius: var(--radius-md);
  }
}

/* —— Prevent horizontal overflow globally —— */
@media (max-width: 768px) {

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  * {
    max-width: 100%;
  }

  .float-card {
    min-width: unset;
  }
}