/* ==========================================================================
   AUBIN GROUP — DESIGN SYSTEM NOUVELLE GÉNÉRATION
   Charte graphique respectée : Bleu Marine (#072C4A) & Rouge (#b82228)
   Typographie moderne, Glassmorphism, Micro-animations, 100% Responsive
   ========================================================================== */

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

:root {
  /* Couleurs de marque AUBIN GROUP (Strictement préservées) */
  --navy: #072C4A;
  --navy-dark: #041726;
  --navy-light: #0d4470;
  --navy-soft: rgba(7,44,74, 0.06);
  --navy-glow: rgba(7,44,74, 0.15);

  --red: #b82228;
  --red-hover: #9c1b20;
  --red-light: #fef2f2;
  --red-glow: rgba(184, 34, 40, 0.22);

  --ink: #0f172a;
  --ink-light: #334155;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.85);
  --line: #e2e8f0;
  --line-light: #f1f5f9;
  --soft: #f1f5f9;
  --soft-blue: #eef4f8;

  --ok: #16a34a;
  --ok-bg: #dcfce7;
  --warn: #d97706;
  --warn-bg: #fef3c7;
  --danger: #dc2626;
  --danger-bg: #fee2e2;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(7,44,74, 0.06);
  --shadow: 0 10px 30px -10px rgba(7,44,74, 0.08), 0 4px 12px -2px rgba(7,44,74, 0.04);
  --shadow-lg: 0 20px 45px -12px rgba(7,44,74, 0.14), 0 8px 18px -4px rgba(7,44,74, 0.06);
  --shadow-card: 0 12px 35px rgba(7,44,74, 0.07);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand, .hero h1, .section h2 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

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

/* Layout */
.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Barre supérieure (Top Bar) */
.top {
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top .wrap {
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Header & Navigation Glassmorphism */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(7,44,74, 0.04);
  transition: all 0.3s ease;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: 175px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand:hover img {
  transform: scale(1.02);
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--navy-soft);
  padding: 5px 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(7,44,74, 0.04);
}

.menu a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

.menu a:hover {
  color: var(--red);
  background: rgba(255, 255, 255, 0.8);
}

.menu a.active {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(7,44,74, 0.08);
  font-weight: 700;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Boutons modernes */
.primary, .secondary, .iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--red-glow);
}

.primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 34, 40, 0.35);
  color: #ffffff;
}

.secondary {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--navy-glow);
}

.secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7,44,74, 0.25);
  color: #ffffff;
}

.iconbtn {
  background: var(--soft);
  color: var(--navy);
  position: relative;
  padding: 10px 14px;
}

.iconbtn:hover {
  background: var(--soft-blue);
  color: var(--red);
  transform: translateY(-1px);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: white;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(184, 34, 40, 0.4);
}

.hamb {
  display: none;
  font-size: 20px;
}

/* Hero Section */
.hero {
  padding: 72px 0 64px;
  background: radial-gradient(circle at 90% 10%, rgba(184, 34, 40, 0.05), transparent 40%),
              radial-gradient(circle at 10% 90%, rgba(7,44,74, 0.04), transparent 40%),
              linear-gradient(135deg, #ffffff 0%, #f1f5f9 60%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--red);
  border-radius: 4px;
}

.hero h1 {
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.08;
  margin: 18px 0;
  color: var(--navy);
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: var(--red);
  position: relative;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0 24px;
}

.hero-card {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(184, 34, 40, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-card img {
  width: 200px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin: auto;
}

.mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.mini small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mini b {
  display: block;
  font-size: 24px;
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  margin-top: 4px;
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}

.section.alt {
  background: #ffffff;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}

.section h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.15;
  margin: 8px 0;
  color: var(--navy);
  letter-spacing: -0.025em;
}

.section-head p {
  color: var(--muted);
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
}

/* Grilles & Cartes */
.grid {
  display: grid;
  gap: 20px;
}

.services {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.service {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.num {
  font-size: 12px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  color: var(--navy);
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service .more {
  margin-top: auto;
  padding-top: 16px;
  color: var(--red);
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service .more:hover {
  gap: 8px;
}

/* Produits & Boutique */
.products {
  grid-template-columns: repeat(4, 1fr);
}

.product {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product .pic {
  height: 200px;
  background: linear-gradient(135deg, #f1f5f9, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.product .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(7,44,74, 0.08);
  border: 1px solid var(--line);
}

.product .body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 6px;
}

.product h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--navy);
}

.product-stock {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 14px;
  font-weight: 600;
}

.price {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.pill {
  font-size: 11px;
  background: var(--ok-bg);
  color: var(--ok);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Feature Cards */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature.red {
  background: linear-gradient(145deg, var(--red) 0%, #851419 100%);
  box-shadow: 0 12px 35px rgba(184, 34, 40, 0.2);
}

.feature h3 {
  font-size: 28px;
  color: #ffffff;
  margin: 0 0 12px;
}

.feature p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
}

.feature ul {
  padding-left: 20px;
  margin: 18px 0;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.feature-redline {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  border-left: 6px solid var(--red);
  padding: 36px;
  border-radius: var(--radius);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.feature-redline h3 {
  color: #fff;
  font-size: 28px;
  margin: 6px 0;
}

.feature-redline p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Formations */
.training {
  grid-template-columns: repeat(3, 1fr);
}

.course {
  display: flex;
  flex-direction: column;
}

.course h3 {
  color: var(--navy);
  margin: 10px 0 6px;
  font-size: 20px;
}

.course p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}

.meta span {
  background: var(--soft);
  color: var(--navy);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
}

.course button {
  margin-top: auto;
}

/* À propos & Contact */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.about-box {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-box img {
  width: 220px;
  filter: brightness(0) invert(1);
  display: block;
  margin: 0 auto 16px;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.contact-info {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 28px;
  color: #ffffff;
  margin-top: 0;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.info-item {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
}

.info-item b {
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

/* Formulaires élégants */
form {
  display: grid;
  gap: 16px;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  transition: all 0.2s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 4px var(--navy-soft);
}

/* Footer */
.footer {
  background: var(--navy-dark);
  color: #ffffff;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer img {
  width: 160px;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.footer b {
  display: block;
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 14px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin: 10px 0;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 36px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Page Headers */
.page-head {
  padding: 64px 0 48px;
  background: radial-gradient(circle at 85% 15%, rgba(184, 34, 40, 0.06), transparent 30%),
              linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  color: var(--navy);
  margin: 12px 0 8px;
}

.page-head p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

/* Search bar */
.searchbar {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.searchbar input {
  flex: 1;
  min-width: 240px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.searchbar select {
  min-width: 200px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 23, 38, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
}

.close {
  position: absolute;
  right: 18px;
  top: 18px;
  border: 0;
  background: var(--soft);
  color: var(--navy);
  border-radius: var(--radius-full);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.close:hover {
  background: var(--red);
  color: #fff;
}

/* Panier & Items */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy-dark);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  z-index: 2000;
  border-left: 4px solid var(--red);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Statistiques & Timeline */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.stat b {
  display: block;
  font-size: 30px;
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  margin-top: 6px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.timeline .card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
}

.timeline .year {
  color: var(--red);
  font-weight: 900;
  font-size: 20px;
  font-family: 'Outfit', sans-serif;
}

.notice {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--soft-blue);
  color: var(--navy);
  border-left: 4px solid var(--red);
  font-size: 14px;
  font-weight: 600;
}

/* Tags & Services Compléments */
.featured-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-icon {
  font-size: 32px;
  margin: 6px 0 10px;
}

.service-thumb {
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eef3f7;
  margin: -4px 0 16px;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-price {
  display: block;
  font-weight: 800;
  color: var(--navy);
  margin: 10px 0;
  font-size: 15px;
}

.service-detail-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 16px 0;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 24px;
}

.service-gallery img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.service-faq {
  margin-top: 24px;
}

.service-faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.service-faq summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 0;
}

.service-faq p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 14px;
}

/* Shop intro & Stats */
.shop-intro {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}

.shop-intro > div:first-child {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff, #f1f5f9);
}

.shop-intro h2 {
  margin: 8px 0 10px;
  font-size: 32px;
}

.shop-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.shop-stats div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.shop-stats b {
  font-size: 30px;
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
}

.shop-stats span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}

/* Domaines & Catalogues */
.domain-list {
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.domain-solutions {
  grid-template-columns: repeat(4, 1fr);
}

.domain-solutions .card {
  min-height: 200px;
}

.domain-process {
  padding: 36px;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
}

.process-grid b {
  color: var(--navy);
  font-size: 16px;
}

.process-grid p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.catalog-cta {
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.catalog-domain {
  padding: 16px 0 64px;
}

.catalog-domain + .catalog-domain {
  border-top: 1px solid var(--line);
  padding-top: 70px;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}

.catalog-head h2 {
  font-size: 36px;
  color: var(--navy);
  margin: 8px 0;
}

.catalog-sub {
  margin-top: 32px;
}

.sub-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.sub-head h3 {
  font-size: 22px;
  color: var(--navy);
  margin: 0;
}

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

.catalog-service {
  min-height: 310px;
  display: flex;
  flex-direction: column;
}

.catalog-icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.catalog-service h4 {
  font-size: 20px;
  color: var(--navy);
  margin: 8px 0;
}

.catalog-service p.lead {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.catalog-service p.detail {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.catalog-actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.quote-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.quote-link:hover {
  color: var(--red);
}

/* ==========================================================================
   STYLE SPECIFIQUE MIKHMON VOUCHER & WIFI ZONE
   ========================================================================== */

.wifi-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.wifi-card {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.wifi-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 16px 36px rgba(184, 34, 40, 0.12);
}

.wifi-card.popular {
  border-color: var(--navy);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow);
}

.wifi-badge {
  position: absolute;
  top: 12px;
  right: -32px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 35px;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}

.wifi-duration {
  font-size: 24px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  margin: 8px 0;
}

.wifi-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 14px;
}

.wifi-specs {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  font-size: 13.5px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}

/* Voucher Ticket Impression Mikhmon */
.voucher-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.mikhmon-ticket {
  border: 2px dashed #072C4A;
  border-radius: 10px;
  padding: 12px;
  background: #ffffff;
  color: #072C4A;
  text-align: center;
  font-family: 'Plus Jakarta Sans', monospace;
  position: relative;
  page-break-inside: avoid;
}

.mikhmon-ticket-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.mikhmon-ticket-header b {
  font-size: 13px;
  display: block;
  color: #072C4A;
}

.mikhmon-ticket-header small {
  font-size: 10px;
  color: #64748b;
}

.mikhmon-ticket-plan {
  background: #072C4A;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  margin-bottom: 8px;
  display: inline-block;
}

.mikhmon-ticket-code {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px;
  border-radius: 6px;
  margin: 6px 0;
  color: #b82228;
}

.mikhmon-ticket-footer {
  font-size: 10px;
  color: #64748b;
  margin-top: 6px;
  border-top: 1px solid #e2e8f0;
  padding-top: 6px;
}

@media print {
  body * {
    visibility: hidden;
  }
  .voucher-sheet, .voucher-sheet * {
    visibility: visible;
  }
  .voucher-sheet {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 10px;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .mikhmon-ticket {
    border: 1px dashed #000 !important;
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN PARFAIT SUR TOUT TYPE D'APPAREIL
   ========================================================================== */

@media (max-width: 1050px) {
  .menu {
    display: none;
  }
  .hamb {
    display: inline-flex;
  }
  .services, .products, .training, .domain-solutions, .service-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid, .about, .contact, .shop-intro {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top {
    display: none;
  }
  .nav {
    min-height: 72px;
  }
  .brand img {
    width: 145px;
    height: 50px;
  }
  .actions .primary {
    display: none;
  }
  .hero {
    padding: 48px 0;
  }
  .hero h1 {
    font-size: 34px;
  }
  .section {
    padding: 52px 0;
  }
  .section h2 {
    font-size: 28px;
  }
  .services, .products, .training, .split, .fields, .footer-grid, .stats, .shop-stats, .domain-solutions, .process-grid, .service-catalog-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 8px;
  }
  .searchbar {
    display: block;
  }
  .searchbar input {
    width: 100%;
    margin-bottom: 10px;
  }
  .hero-card {
    min-height: 280px;
    padding: 24px;
  }
  .wrap {
    padding: 0 18px;
  }
  .page-head {
    padding: 42px 0 32px;
  }
  .page-head h1 {
    font-size: 32px;
  }
  .timeline .card {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .feature-redline {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }
}

/* Mobile Navigation Drawer (Nouvelle Génération) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(4, 23, 38, 0.6);
  backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: #ffffff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.mobile-drawer-links a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s ease;
}

.mobile-drawer-links a:hover, .mobile-drawer-links a.active {
  background: var(--soft);
  color: var(--red);
}

.mobile-drawer-actions {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
