/* ============================================
   VELUM TECHNOLOGIES - Design System
   Modern B2B Tech - Blues & Dark Grays
   ============================================ */

:root {
  --blue-600:   #2563EB;
  --blue-700:   #1D4ED8;
  --blue-800:   #1E40AF;
  --blue-100:   #DBEAFE;
  --blue-50:    #EFF6FF;
  --blue-400:   #60A5FA;
  --blue-200:   #BFDBFE;
  --slate-900:  #0F172A;
  --slate-800:  #1E293B;
  --slate-700:  #334155;
  --slate-600:  #475569;
  --slate-500:  #64748B;
  --slate-400:  #94A3B8;
  --slate-200:  #E2E8F0;
  --slate-100:  #F1F5F9;
  --slate-50:   #F8FAFC;
  --white:      #FFFFFF;
  --green-500:  #22C55E;
  --green-100:  #DCFCE7;
  --red-500:    #EF4444;
  --red-100:    #FEE2E2;
  --yellow-500: #F59E0B;
  --yellow-100: #FEF3C7;

  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.14);

  --transition: 220ms cubic-bezier(.4,0,.2,1);
  --nav-height: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Container ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.4);
}
.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-600);
}
.btn-outline:hover { background: var(--blue-50); }
.btn-ghost {
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
}
.btn-ghost:hover { background: var(--slate-100); border-color: var(--slate-300); }
.btn-white {
  background: var(--white);
  color: var(--blue-600);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.btn-white:hover { background: var(--slate-50); transform: translateY(-1px); }
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-white-outline:hover { background: rgba(255,255,255,.1); border-color: white; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  min-height: var(--nav-height);
  height: auto;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--nav-height);
  height: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark svg { display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--slate-900); }
.logo-sub { font-size: 11px; font-weight: 500; color: var(--slate-500); letter-spacing: .04em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 8px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate-600);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--blue-600); background: var(--blue-50); }
.nav-status-link { display: flex; align-items: center; gap: 6px; }
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 2px var(--green-100);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-tel {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}
.nav-tel:hover { color: var(--blue-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--slate-200);
  background: var(--white);
}
.nav-mobile.open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  display: block;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--slate-700);
}
.nav-mobile a:hover, .nav-mobile a.active { background: var(--blue-50); color: var(--blue-600); }
.nav-mobile-cta { margin-top: 12px; }
.nav-mobile-tel { text-align: center; margin-top: 8px; }
.nav-mobile-tel a { font-weight: 600; color: var(--blue-600); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, #1a2f6e 100%);
  padding: 100px 0 90px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.25) 0%, transparent 70%);
  top: -150px; right: -100px;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.15) 0%, transparent 70%);
  bottom: -100px; left: -50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(37,99,235,.4);
  color: #93C5FD;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-title .accent { color: #60A5FA; }
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
}
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 2px; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(12px);
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-card-icon {
  width: 44px; height: 44px;
  background: var(--blue-600);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.hero-card-title { font-weight: 700; color: white; font-size: 15px; }
.hero-card-sub { font-size: 12px; color: rgba(255,255,255,.5); }
.hero-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-card-stat {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  padding: 16px;
}
.hero-card-stat-val { font-size: 22px; font-weight: 800; color: #60A5FA; }
.hero-card-stat-lbl { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; }
.hero-card-services { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.hero-card-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: rgba(255,255,255,.8);
}
.hero-card-service-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--green-100);
  color: #15803D;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--slate-50); }
.section-dark { background: var(--slate-900); }

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-title .accent { color: var(--blue-600); }
.section-subtitle {
  font-size: 17px;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 560px;
}
.section-header { margin-bottom: 56px; }
.section-header-center { text-align: center; }
.section-header-center .section-subtitle { margin: 0 auto; }

/* ============================================
   FEATURE CARDS
   ============================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-50), var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: 20px;
}
.card-title { font-size: 18px; font-weight: 700; color: var(--slate-900); margin-bottom: 10px; }
.card-text { font-size: 15px; color: var(--slate-500); line-height: 1.65; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text .section-subtitle { max-width: none; }
.why-features { margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.why-feature {
  display: flex;
  gap: 16px;
}
.why-feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-top: 2px;
}
.why-feature-title { font-size: 16px; font-weight: 700; color: var(--slate-900); margin-bottom: 4px; }
.why-feature-text { font-size: 14px; color: var(--slate-500); line-height: 1.65; }
.why-visual {
  position: relative;
}
.why-img-placeholder {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: var(--radius-xl);
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}
.why-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.why-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.why-badge.top-right { top: 24px; right: -24px; }
.why-badge.bottom-left { bottom: 40px; left: -24px; }
.why-badge-icon { font-size: 20px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-stars { color: #F59E0B; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--slate-600); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--slate-900); }
.testimonial-org { font-size: 12px; color: var(--slate-500); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-section .section-title { color: white; }
.cta-section .section-subtitle { color: rgba(255,255,255,.75); margin: 0 auto 40px; }
.cta-section > .container { position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   SERVICES PAGE
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  padding: 72px 0 64px;
  color: white;
  text-align: center;
}
.page-hero .section-tag { color: #93C5FD; }
.page-hero .section-title { color: white; }
.page-hero .section-subtitle { color: rgba(255,255,255,.7); margin: 0 auto; }

.service-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--slate-200);
}
.service-section:last-child { border-bottom: none; }
.service-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-section-grid.reverse { direction: rtl; }
.service-section-grid.reverse > * { direction: ltr; }

.service-features { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--slate-600);
}
.service-feature-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-100);
  color: #15803D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 1px;
}
.service-visual-box {
  background: linear-gradient(135deg, var(--blue-50), var(--slate-100));
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

/* ============================================
   SOLUTIONS PAGE
   ============================================ */
.solution-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}
.solution-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-200); }
.solution-card-header {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  padding: 36px 32px 28px;
  color: white;
}
.solution-card-icon { font-size: 44px; margin-bottom: 16px; }
.solution-card-title { font-size: 22px; font-weight: 800; font-family: var(--font-display); margin-bottom: 8px; }
.solution-card-subtitle { font-size: 14px; opacity: .75; }
.solution-card-body { padding: 28px 32px 32px; }
.solution-features { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.solution-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-600);
}
.solution-feature::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-100);
  color: #15803D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* ============================================
   STATUS PAGE
   ============================================ */
.status-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 48px 0 40px;
}
.status-overall {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
}
.status-operational { background: var(--green-100); color: #15803D; }
.status-incident { background: var(--red-100); color: #B91C1C; }
.status-degraded { background: var(--yellow-100); color: #92400E; }
.status-maintenance { background: var(--blue-100); color: var(--blue-800); }

.status-services { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; }
.status-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--slate-100);
}
.status-service-row:last-child { border-bottom: none; }
.status-service-name { font-size: 15px; font-weight: 600; color: var(--slate-900); }
.status-service-desc { font-size: 13px; color: var(--slate-500); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.status-pill-dot { width: 6px; height: 6px; border-radius: 50%; }

.incident-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.incident-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.incident-title { font-size: 17px; font-weight: 700; color: var(--slate-900); }
.incident-date { font-size: 12px; color: var(--slate-500); }
.incident-updates { margin-top: 16px; border-top: 1px solid var(--slate-100); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.incident-update { font-size: 14px; color: var(--slate-600); display: flex; gap: 12px; }
.incident-update time { color: var(--slate-400); white-space: nowrap; font-size: 12px; flex-shrink: 0; margin-top: 2px; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}
.form-label .required { color: var(--red-500); margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--slate-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-error { font-size: 12px; color: var(--red-500); margin-top: 4px; }
.form-success { font-size: 14px; color: #15803D; margin-top: 8px; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
.alert-success { background: var(--green-100); color: #15803D; border: 1px solid #BBF7D0; }
.alert-error { background: var(--red-100); color: #B91C1C; border: 1px solid #FECACA; }
.alert-info { background: var(--blue-100); color: var(--blue-800); border: 1px solid #BFDBFE; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); margin-bottom: 4px; }
.contact-info-value { font-size: 16px; font-weight: 600; color: var(--slate-900); }
.contact-map { height: 280px; border-radius: var(--radius-lg); overflow: hidden; background: var(--slate-100); margin-top: 32px; }
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ============================================
   ADMIN
   ============================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--slate-50);
}
.admin-sidebar {
  width: 260px;
  background: var(--slate-900);
  color: white;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 100;
  overflow-y: auto;
}
.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-nav { flex: 1; padding: 12px 0; }
.admin-nav-group { padding: 8px 0; }
.admin-nav-group-label {
  padding: 6px 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: all var(--transition);
  border-radius: 0;
  position: relative;
}
.admin-nav-link:hover { background: rgba(255,255,255,.06); color: white; }
.admin-nav-link.active { background: var(--blue-600); color: white; }
.admin-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0; z-index: 50;
}
.admin-content { padding: 32px; flex: 1; }
.admin-page-title { font-size: 24px; font-weight: 800; color: var(--slate-900); margin-bottom: 4px; font-family: var(--font-display); }
.admin-page-sub { font-size: 14px; color: var(--slate-500); margin-bottom: 28px; }

.stat-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.stat-card-value { font-size: 32px; font-weight: 800; color: var(--slate-900); font-family: var(--font-display); }
.stat-card-label { font-size: 13px; color: var(--slate-500); margin-top: 4px; }
.stat-card-icon { float: right; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--blue-50); color: var(--blue-600); display: flex; align-items: center; justify-content: center; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
}
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate-500);
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.data-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--slate-50); }
.table-actions { display: flex; gap: 8px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.badge-blue { background: var(--blue-100); color: var(--blue-800); }
.badge-green { background: var(--green-100); color: #15803D; }
.badge-red { background: var(--red-100); color: #B91C1C; }
.badge-yellow { background: var(--yellow-100); color: #92400E; }
.badge-gray { background: var(--slate-100); color: var(--slate-700); }

/* Admin login */
.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-top: 0;
}
.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
}

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
}
.chat-toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-600);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,99,235,.45);
  transition: all var(--transition);
  position: relative;
}
.chat-toggle:hover { background: var(--blue-700); transform: scale(1.05); }
.chat-icon-close { display: none; }
.chat-widget.open .chat-icon-open { display: none; }
.chat-widget.open .chat-icon-close { display: block; }
.chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--red-500);
  border-radius: 50%;
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}
.chat-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 320px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: none;
  border: 1px solid var(--slate-200);
}
.chat-widget.open .chat-panel { display: block; animation: slideUp .2s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.chat-header {
  background: var(--blue-600);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.chat-status-online { display: block; font-size: 12px; opacity: .8; }
.chat-body { padding: 20px; }
.chat-bubble {
  background: var(--slate-100);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.5;
}
.chat-footer { padding: 0 16px 20px; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--slate-900); color: white; }
.footer-top { padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
}
.footer-brand .logo-name { color: white; }
.footer-brand .logo-sub { color: rgba(255,255,255,.45); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin-top: 16px; margin-bottom: 20px; max-width: 280px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-contact-item:hover { color: white; }
.footer-nav h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-nav a:hover { color: white; }
.footer-newsletter h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.footer-newsletter p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 16px; }
.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.newsletter-input-group input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  color: white;
  font-size: 14px;
  outline: none;
}
.newsletter-input-group input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-input-group input:focus { border-color: var(--blue-600); }
.newsletter-msg { font-size: 13px; margin-top: 8px; min-height: 20px; }
.footer-links-small { display: flex; gap: 16px; margin-top: 20px; }
.footer-links-small a { font-size: 13px; color: rgba(255,255,255,.45); }
.footer-links-small a:hover { color: rgba(255,255,255,.8); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-section-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-section-grid.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  body { padding-top: var(--nav-height); }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-tel { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: none; }

  .section { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-top { padding: 48px 0 32px; }
  .form-row { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .chat-widget { bottom: 16px; right: 16px; }
  .nav-logo img {
    height: 52px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .admin-login-card { padding: 32px 24px; }
  .footer-bottom .container { flex-direction: column; gap: 12px; text-align: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Scroll animations */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ============================================
   SOLUTIONS PAGE
   ============================================ */

.sol-hero-banner {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 10px;
  aspect-ratio: 16/5;
  position: relative;
}
.sol-hero-banner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sol-hero-banner .placeholder {
  width: 100%; height: 100%; min-height: 180px;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
  border: 2px dashed var(--blue-200);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
}

.sol-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sol-split.reverse { direction: rtl; }
.sol-split.reverse > * { direction: ltr; }

.sol-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
}


.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--slate-700);
  line-height: 1.5;
  list-style: none;
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  color: #15803D;
  font-size: 12px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.sol-stat-block {
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.sol-stat-block .num {
  font-size: 40px;
  font-weight: 900;
  color: var(--blue-600);
  line-height: 1;
}
.sol-stat-block .desc {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.5;
}

.sector-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
}
.sector-nav a {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.3);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: all var(--transition);
  background: rgba(255,255,255,.1);
}
.sector-nav a:hover {
  border-color: white;
  color: white;
  background: rgba(255,255,255,.2);
}

.obnl-badge {
  display: inline-block;
  background: #EDE9FE;
  color: #6D28D9;
  border-radius: var(--radius-md);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .sol-split,
  .sol-split.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .sol-img-wrap { aspect-ratio: 16/9; }
  .sol-hero-banner { aspect-ratio: 16/7; }
}

@media (max-width: 768px) {
  .status-service-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .svc-right {
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .uptime-bars {
    gap: 1px;
  }
  .uptime-bar {
    width: 2px;
  }
  .status-layout {
    grid-template-columns: 1fr;
  }
  .status-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .status-header {
    padding: 24px 0 20px;
  }
  .status-badge {
    font-size: 13px;
    padding: 8px 14px;
  }
  .incident-update {
    flex-direction: column;
    gap: 6px;
  }
  .update-left {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: unset;
  }
  .incident-services {
    flex-direction: column;
  }
}

@media (min-width: 480px) {
  .newsletter-input-group {
    flex-direction: row;
    gap: 0; /* Remettre à 0 si vos éléments sont soudés */
  }
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-social-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s;
}

.footer-social-item:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ── Contact – responsive mobile ── */
@media (max-width: 640px) {
  .contact-grid {
    gap: 32px;
  }

  /* Card du formulaire */
  .contact-grid .card {
    padding: 24px 20px;
  }

  /* Champs côte à côte → une colonne */
  .contact-grid .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Captcha : question + champ en colonne sur très petits écrans */
  #contactForm [style*="display:flex"][style*="align-items:center"] {
    flex-wrap: wrap;
    gap: 8px;
  }

  #captcha_answer {
    max-width: 100% !important;
    text-align: left !important;
  }
}


/* ── À propos – responsive mobile ── */
@media (max-width: 768px) {

  /* Grille mission : empiler les deux colonnes */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Masquer le visuel décoratif (badges flottants + placeholder) */
  .why-visual {
    display: none;
  }

  /* Chiffres clés : 2 colonnes au lieu de 4 */
  .section:has(.grid-4) .grid-4,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Expertises et valeurs : 1 colonne */
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Partenaires VoIP (grid-3) déjà couvert ci-dessus */

  /* Partenaires sécurité (grid-4) : 2 colonnes */
  /* grid-4 déjà géré au-dessus */

  /* Cartes partenaires : logo + titre en ligne, ne pas dépasser */
  .card [style*="justify-content:space-between"][style*="align-items:center"] {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Réduire le padding des cartes sur mobile */
  .card {
    padding: 20px 16px;
  }

  /* Sections avec padding réduit */
  .section {
    padding: 56px 0;
  }

  /* Section-header : moins d'espace */
  .section-header {
    margin-bottom: 36px;
  }

  /* Sous-titres partenaires (icône + label) */
  .section > .container > div[style*="display:flex"][style*="align-items:center"][style*="gap:10px"] {
    margin-bottom: 16px;
  }

  /* Espacement entre blocs partenaires */
  .grid-3[style*="margin-bottom:56px"],
  .grid-4[style*="margin-bottom:24px"] {
    margin-bottom: 32px !important;
  }

  /* CTA : boutons pleine largeur */
  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-btns .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  /* Note "et plusieurs autres" */
  p[style*="text-align:center"][style*="margin-top:8px"] {
    font-size: 13px;
  }
}

@media (max-width: 480px) {

  /* Sur très petit écran : chiffres clés en 1 colonne */
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Titre hero plus compact */
  .page-hero {
    padding: 48px 0 40px;
  }

  /* Cartes icônes expertises : réduire la taille */
  .card div[style*="width:64px"][style*="height:64px"] {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
  }
}


/* Responsive */
@media (max-width: 900px) {
  .status-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .status-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .status-sidebar > div { margin-top: 0 !important; }
}

@media (max-width: 640px) {

  /* Header statut */
  .status-header { padding: 24px 0 20px; }
  .status-badge  { font-size: 13px; padding: 8px 14px; }

  /* Sidebar : 1 colonne */
  .status-sidebar { grid-template-columns: 1fr; }

  /* Ligne service : empiler info + droite */
  .status-service-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .svc-right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* Barres uptime : réduire pour tenir en largeur */
  .uptime-bars { height: 22px; gap: 1px; }
  .uptime-bar  { width: 2px; border-radius: 1px; }

  /* Débordement 90 barres × 2px = ~200px → ok sur 320px */
  .uptime-bars-wrap { max-width: calc(100vw - 160px); }

  /* Incidents */
  .incident-item { padding: 16px; }

  .incident-meta { gap: 6px; }
  .incident-date { margin-left: 0; width: 100%; }

  .incident-title { font-size: 15px; }
  .incident-desc  { font-size: 13px; }

  /* Services impactés : retirer flex row */
  .incident-services { flex-direction: column; gap: 6px; }

  /* Mises à jour : empiler temps + message */
  .incident-update { flex-direction: column; gap: 4px; }
  .update-left {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: unset;
  }

  /* Section headings */
  .status-section-heading { font-size: 12px; }

  /* Formulaire sidebar */
  .sidebar-card { padding: 16px; }
  .sidebar-card-title { font-size: 15px; }
}



/* ── Solutions – responsive mobile ── */
@media (max-width: 1024px) {
  .sol-split,
  .sol-split.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .sol-img-wrap { aspect-ratio: 16/9; height: auto !important; }
  .sol-hero-banner { aspect-ratio: 16/7; }
}

@media (max-width: 768px) {

  /* Nav secteur : défilement horizontal */
  .sector-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
    scrollbar-width: none;
  }
  .sector-nav::-webkit-scrollbar { display: none; }
  .sector-nav a { flex-shrink: 0; }

  /* Bannières */
  .sol-hero-banner {
    aspect-ratio: 16/8;
    margin-bottom: 28px !important;
  }
  .sol-hero-banner img {
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
  }

  /* Grilles → 1 colonne */
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; gap: 14px; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }

  /* Check-list */
  .check-list li { font-size: 14px; }

  /* Bloc stat cliniques */
  .sol-stat-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 18px;
  }
  .sol-stat-block .num { font-size: 32px; }

  /* Logos partenaires */
  div[style*="display:flex"][style*="gap:32px"] {
    gap: 20px !important;
  }

  /* CTA section */
  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-btns .btn {
    text-align: center;
    justify-content: center;
  }

  /* Boutons de section */
  .section > .container > div[style*="text-align:center"] .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {

  /* Bannières plus compactes */
  .sol-hero-banner { aspect-ratio: 4/3; }
  .sol-img-wrap    { aspect-ratio: 4/3; }

  /* Badge OBNL */
  .obnl-badge { font-size: 12px; padding: 5px 12px; }

  /* Logos partenaires : grille 2 colonnes */
  div[style*="display:flex"][style*="gap:32px"] {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    justify-items: center;
  }

  /* Hero padding réduit */
  .page-hero { padding: 48px 0 40px; }
}


/* ── Soumission – responsive mobile ── */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {

  /* Section padding */
  .section { padding: 56px 0; }
  .page-hero { padding: 48px 0 40px; }

  /* Card formulaire */
  .card[style*="padding:40px"] { padding: 24px 18px !important; }

  /* Champs côte à côte → 1 colonne */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Grille des besoins : 2 colonnes → 1 colonne */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:8px"] {
    grid-template-columns: 1fr !important;
  }

  /* Bloc "Ce qui est inclus" : icône + texte */
  div[style*="display:flex"][style*="gap:16px"][style*="align-items:flex-start"] {
    gap: 12px;
  }

  /* Bloc téléphone */
  a[href^="tel"][style*="font-size:22px"] {
    font-size: 18px !important;
  }

  /* CAPTCHA : question + champ */
  div[style*="display:flex"][style*="align-items:center"][style*="gap:12px"] {
    flex-wrap: wrap;
    gap: 8px;
  }
  #captcha_answer { max-width: 100% !important; text-align: left !important; }
}

@media (max-width: 480px) {

  /* Grille besoins : s'assurer du 1 col */
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:8px"] {
    grid-template-columns: 1fr !important;
  }

  /* Icônes "Ce qui est inclus" légèrement réduites */
  div[style*="width:44px"][style*="height:44px"] {
    width: 38px !important;
    height: 38px !important;
    font-size: 15px !important;
  }

  /* Bloc "Aucun engagement" */
  div[style*="background:var(--green-100)"] {
    padding: 16px !important;
  }

  /* Bouton submit */
  .btn[style*="font-size:16px"] {
    font-size: 15px !important;
    padding: 14px !important;
  }
}
