/* ═══════════════════════════════════════════════════════════════
   HazMat AI — Front-office CSS
   Couleurs : Navy #0d1b2e | Bleu #1a56db | Orange #f97316
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ────────────────────────────────────────────────── */
:root {
  --navy:        #0d1b2e;
  --navy-light:  #152238;
  --navy-mid:    #1e3a5f;
  --blue:        #1a56db;
  --blue-light:  #3b82f6;
  --blue-hover:  #1648c0;
  --orange:      #f97316;
  --orange-d:    #ea6c0a;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-700:    #334155;
  --gray-900:    #0f172a;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --transition:  all .2s ease;
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-hover); }

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

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { color: var(--text-muted); line-height: 1.75; }

/* ── Layout ───────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .925rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-dark:hover { background: var(--blue); color: var(--white); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-d); border-color: var(--orange-d); color: var(--white); }

.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1rem; font-size: .85rem; }

/* ── Badges ───────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-orange { background: #fed7aa; color: #c2410c; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-red { background: #fee2e2; color: #dc2626; }
.badge-gray { background: var(--gray-200); color: var(--gray-700); }

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* ── Section ──────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: .75rem; }
.section-title p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* ── HEADER ───────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.header-logo img { height: 38px; width: auto; }

.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  color: rgba(255,255,255,.8);
  padding: .5rem .9rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); background: rgba(255,255,255,.1); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}

/* Image pleine largeur en fond */
.hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Gradient du bas : transparent → navy opaque */
.hero-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(13,27,46,1)    0%,
      rgba(13,27,46,.92) 28%,
      rgba(13,27,46,.55) 55%,
      rgba(13,27,46,.15) 78%,
      transparent         100%);
}

/* Contenu texte au bas */
.hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 4rem;
  padding-top: 0;
  width: 100%;
}

.hero-content {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(26,86,219,.3);
  border: 1px solid rgba(59,130,246,.45);
  color: #93c5fd;
  padding: .35rem 1rem;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
  width: fit-content;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: .9rem;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero h1 em {
  font-style: normal;
  color: #60a5fa;
}

.hero-desc {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
  max-width: 620px;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: .8; }
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.hero-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .25rem;
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── VALUE SECTION ────────────────────────────────────────────── */
.value-section { background: var(--gray-50); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}
.value-icon.blue { background: #dbeafe; color: #1d4ed8; }
.value-icon.orange { background: #fed7aa; color: #c2410c; }
.value-icon.green { background: #dcfce7; color: #16a34a; }
.value-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }

/* ── SERVICES GRID ────────────────────────────────────────────── */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--blue);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #dbeafe;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: var(--gray-900);
}
.service-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.service-link {
  color: var(--blue);
  font-size: .875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.service-link:hover { gap: .5rem; }

/* ── SECTORS ──────────────────────────────────────────────────── */
.sectors-section { background: var(--gray-50); }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.sector-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.sector-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
  transform: translateY(-2px);
}
.sector-icon { font-size: 2rem; margin-bottom: .75rem; }
.sector-card h4 { font-size: .95rem; color: var(--gray-900); }

/* ── TRUST SECTION ────────────────────────────────────────────── */
.trust-section { background: var(--white); padding: 4rem 0; }
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 2rem;
}
.trust-logo {
  opacity: .5;
  transition: var(--transition);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-500);
  letter-spacing: .05em;
}
.trust-logo:hover { opacity: 1; color: var(--navy); }

/* ── CTA BANNER ───────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, var(--blue) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; font-size: 2rem; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 36px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
}

/* ── FORMS ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--gray-700);
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2364748b' viewBox='0 0 20 20'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E") no-repeat right .75rem center / 1.2rem; }

/* ── ALERTS ───────────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: .925rem;
  border-left: 4px solid;
}
.alert-success { background: #f0fdf4; border-color: #22c55e; color: #166534; }
.alert-error { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
.alert-info { background: #eff6ff; border-color: #3b82f6; color: #1e40af; }

/* ── BREADCRUMB ───────────────────────────────────────────────── */
.breadcrumb {
  background: var(--navy);
  padding: 2rem 0;
  color: rgba(255,255,255,.7);
}
.breadcrumb h1 { color: var(--white); font-size: 1.75rem; margin-bottom: .5rem; }
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
}
.breadcrumb-nav a { color: rgba(255,255,255,.6); }
.breadcrumb-nav a:hover { color: var(--white); }
.breadcrumb-nav .sep { color: rgba(255,255,255,.3); }

/* ── TRAINING CARDS ───────────────────────────────────────────── */
.training-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.training-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.training-card-body { padding: 1.5rem; }
.training-meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.training-card h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--gray-900); }
.training-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.training-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
}

/* ── PAGINATION ───────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; margin-top: 3rem; }
.pagination ul { display: flex; gap: .35rem; list-style: none; }
.pagination li a, .pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-200);
  font-size: .9rem;
  color: var(--gray-700);
  transition: var(--transition);
}
.pagination li.active span,
.pagination li a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ── LOGIN PAGE ───────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.auth-card .logo { text-align: center; margin-bottom: 2rem; }
.auth-card .logo img { height: 48px; margin: 0 auto; }
.auth-card h1 { font-size: 1.6rem; text-align: center; margin-bottom: .5rem; }
.auth-card .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 2rem; font-size: .9rem; }

/* ── FLASH MESSAGES ───────────────────────────────────────────── */
.flash-container { position: fixed; top: 80px; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column; gap: .5rem; max-width: 380px; }
.flash-message {
  padding: .9rem 1.25rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .75rem;
  animation: slideIn .3s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.flash-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.flash-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ── HERO — responsive ────────────────────────────────────────── */

/* ── FEATURE BLOCKS ───────────────────────────────────────────── */
.feature-blocks-section { background: var(--white); padding: 2rem 0 4rem; }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.feature-block:last-child { border-bottom: none; padding-bottom: 2rem; }
.feature-block:first-child { padding-top: 3rem; }

/* Alternate: odd blocks have image on right (default), even on left */
.feature-block-reverse .feature-block-image { order: -1; }

.feature-block-image {
  position: relative;
}
.feature-block-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow-lg), 0 20px 40px -10px rgba(0,0,0,.18);
  display: block;
  transition: transform .4s ease, box-shadow .4s ease;
}
.feature-block-image:hover img {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.25);
}
/* subtle glow behind the image */
.feature-block-image::before {
  content: '';
  position: absolute;
  inset: 10% -4%;
  border-radius: 24px;
  background: radial-gradient(ellipse, rgba(26,86,219,.12) 0%, transparent 70%);
  z-index: -1;
}

.feature-block-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #eff6ff;
  color: var(--blue);
  padding: .3rem 1rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1.25rem;
}
.feature-block-badge.badge-orange { background: #fff7ed; color: var(--orange-d); }
.feature-block-badge.badge-green  { background: #f0fdf4; color: #15803d; }

.feature-block-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.feature-block-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
  color: var(--text-muted);
}
.feature-block-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 2rem;
}
.feature-block-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .95rem;
  color: var(--text);
}
.feature-block-list li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231a56db'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── CTA BANNER — image background ───────────────────────────── */
.cta-banner-image {
  background-image: url('../images/hazmat-cta-banner.png');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  position: relative;
}
.cta-banner-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(13,27,46,.92) 0%,
    rgba(26,86,219,.85) 100%);
}
.cta-banner-image .container {
  position: relative;
  z-index: 1;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { min-height: 520px; }
  .hero .container { padding-bottom: 3rem; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
  }
  .feature-block-reverse .feature-block-image { order: 0; }
  .cta-banner-image { background-attachment: scroll; }
}

@media (max-width: 768px) {
  .hero { min-height: 440px; }
  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .hero-desc { font-size: .95rem; }
  .hero .container { padding-bottom: 2.5rem; }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 1rem; gap: .25rem; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .value-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .cta-banner h2 { font-size: 1.5rem; }
  .feature-block { padding: 2.5rem 0; gap: 2rem; }
  .feature-block-content h2 { font-size: 1.5rem; }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 380px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 1.25rem; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .btn:first-child { display: none; }
  .feature-block { padding: 2rem 0; }
}

/* ── Language Switcher ─────────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  letter-spacing: 0;
}

.lang-btn:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
