/* NAE — Nord Azur Énergie — Design System Premium */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Barlow+Condensed:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Exo+2:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Share+Tech+Mono&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@400;500;600;700;800&family=Unica+One&display=swap');

:root {
  --night: #001B2A;
  --night-deep: #0D0D0D;
  --anthracite: #1A1A1A;
  --blue: #0054A6;
  --blue-light: #00AEEF;
  --gold: #F7B500;
  --gold-soft: #D4AF37;
  --white: #FFFFFF;
  --off-white: #FFFFF2;
  --grey: #F2F2F2;
  --grey-mid: #8A8A8A;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 8px 32px rgba(0, 27, 42, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 27, 42, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font: 'Montserrat', -apple-system, sans-serif;
  --header-h: 80px;
  --header-surface: #ffffff;
  --surface: #ffffff;
  --phone-from: #075ca8;
  --phone-to: #044888;
  --phone-shadow: rgba(4, 72, 136, 0.3);
  --hero-overlay: linear-gradient(135deg, rgba(0,27,42,0.92) 0%, rgba(0,27,42,0.6) 50%, rgba(0,27,42,0.4) 100%);
  --hero-overlay-mockup: linear-gradient(105deg, rgba(0, 27, 42, 0.88) 0%, rgba(0, 27, 42, 0.55) 45%, rgba(0, 27, 42, 0.15) 100%);
  --page-hero-overlay: linear-gradient(135deg, rgba(0,27,42,0.93) 0%, rgba(0,27,42,0.75) 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--night);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 960px; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-mid);
  max-width: 640px;
  font-weight: 400;
}

.text-gold { color: var(--gold); }
.text-blue { color: var(--blue-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247, 181, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--night);
  border-color: var(--night);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-dark {
  background: transparent;
  color: var(--night);
  border-color: var(--night);
}
.btn-outline-dark:hover {
  background: var(--night);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.75rem; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: var(--transition);
}

.header:not(.scrolled) {
  background: transparent;
}

.header.scrolled,
body:not([data-page="accueil"]) .header {
  background: rgba(0, 27, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo img { height: 48px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 4px 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after { width: 100%; }

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.header-phone svg { width: 18px; height: 18px; fill: var(--gold); }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--night);
  padding: 100px 40px 40px;
  transition: var(--transition);
  z-index: 999;
  overflow-y: auto;
}

.nav-mobile.open { right: 0; }

.nav-mobile a {
  display: block;
  padding: 16px 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.nav-overlay.open { opacity: 1; visibility: visible; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
picture.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  z-index: 2;
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 60px) 0 80px;
  max-width: 780px;
}

.hero-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-services {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll svg { width: 24px; height: 24px; stroke: rgba(255,255,255,0.5); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Sections */
section { padding: 100px 0; }

section.bg-dark {
  background: var(--night);
  color: var(--white);
}

section.bg-grey { background: var(--grey); }
section.bg-off { background: var(--off-white); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle { margin: 0 auto; }

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,84,166,0.08), rgba(247,181,0,0.08));
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue), var(--gold));
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue);
  transition: var(--transition);
}

.service-card:hover .service-icon svg { stroke: var(--white); }

.service-card h3 { margin-bottom: 12px; font-size: 1.1rem; }

.service-card p {
  color: var(--grey-mid);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover { color: var(--gold); gap: 10px; }

/* Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.expertise-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.expertise-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.expertise-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.expertise-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.expertise-image img { width: 100%; height: 480px; object-fit: cover; }

.fleet-section { padding: 80px 0; }

.about-fleet-image img { height: 420px; object-fit: cover; }

.about-visual-caption {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--grey-mid);
  text-align: center;
  font-style: italic;
}

.about-brand-visual { text-align: center; }

.expertise-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

a.portfolio-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.portfolio-item:first-child { grid-row: span 2; aspect-ratio: auto; }
.pending-ribbon {
  position: absolute;
  top: 22px;
  left: -42px;
  width: 168px;
  margin: 0;
  transform: rotate(-45deg);
  background: #e85d04;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 0;
  border-radius: 0;
  z-index: 5;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .22);
  pointer-events: none;
}
.project-hero { overflow: hidden; }
.project-hero .pending-ribbon {
  top: 28px;
  left: -36px;
  width: 190px;
  font-size: 0.8rem;
  padding: 10px 0;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  /* bottom négatif : évite un liseré clair quand la hauteur de la carte tombe sur un pixel fractionnaire */
  inset: 0 0 -1px 0;
  background: linear-gradient(to top, rgba(0,27,42,0.88) 0%, rgba(0,27,42,0.35) 42%, transparent 68%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 1;
  transition: var(--transition);
}

.portfolio-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.portfolio-overlay span { color: var(--gold); font-size: 0.8rem; font-weight: 500; }

.project-fiche { padding-bottom: 20px; }
.project-body {
  max-width: 820px;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--night);
  margin-bottom: 36px;
}
html[data-theme="8"] .project-body {
  color: #F6F0FF;
  font-size: 1.3rem;
  font-weight: 500;
}
.project-meta {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}
.project-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,.04);
}
@media (max-width: 700px) {
  .project-gallery { grid-template-columns: 1fr; }
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(0,27,42,0.15);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--night);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--night);
  color: var(--white);
  border-color: var(--night);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(247,181,0,0.3);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--gold);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--night) 0%, var(--anthracite) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(247,181,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.05rem; }

.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Engagements */
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.engagement-item svg {
  width: 48px;
  height: 48px;
  stroke: var(--gold);
  margin: 0 auto 16px;
}

.engagement-item h4 { font-size: 0.95rem; margin-bottom: 8px; }
.engagement-item p { font-size: 0.85rem; color: var(--grey-mid); }

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 80px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--page-hero-overlay);
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; font-size: 1.05rem; }

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--white); }

/* Service detail */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-features {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.service-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--grey);
  border-radius: var(--radius);
  transition: var(--transition);
}

.service-feature:hover {
  background: var(--off-white);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

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

.service-feature-icon svg { width: 22px; height: 22px; stroke: var(--gold); }

.service-feature h4 { font-size: 0.95rem; margin-bottom: 4px; }
.service-feature p { font-size: 0.85rem; color: var(--grey-mid); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--night);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover { color: var(--blue); }

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question svg { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  color: var(--grey-mid);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer { max-height: 300px; }

/* Contact */
#devis,
#rappel,
#services {
  scroll-margin-top: calc(var(--header-h) + 8px);
}
html[data-theme="8"] #services {
  scroll-margin-top: calc(var(--header-h) + 28px);
}

#galerie {
  scroll-margin-top: 72px;
}
html[data-theme="8"] #galerie {
  scroll-margin-top: 78px;
}
body[data-page="realisations"] .galerie-block {
  padding-top: 8px;
}

body[data-page="contact"] .page-hero {
  padding: calc(var(--header-h) + 12px) 0 28px;
}

body[data-page="contact"] .page-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

body[data-page="contact"] .page-hero p {
  margin: 0;
  font-size: 0.95rem;
}

body[data-page="contact"] .page-hero .breadcrumb {
  margin-bottom: 10px;
}

body[data-page="contact"] #devis {
  margin-top: -12px;
  padding: 8px 0 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--night);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-info-item span,
.contact-info-item a { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--gold); }

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--night);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.95rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  background: var(--grey);
  transition: var(--transition);
  color: var(--night);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,84,166,0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-success,
.form-error {
  display: none;
  padding: 18px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-success.is-visible,
.form-error.is-visible {
  display: block;
}

.form-success.is-visible {
  background: #e8f6ee;
  color: #0d4f2b;
  border: 1px solid #b7e4c7;
}

.form-error.is-visible {
  background: #fdecee;
  color: #7a1f2b;
  border: 1px solid #f5c2c7;
}

.form-success-title,
.form-error-title {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.map-section { padding: 80px 0 20px; }
.map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe,
.nae-map { width: 100%; height: 480px; border: 0; display: block; background: #e8eef4; }
.nae-map-brand { display: none; }
.leaflet-container { font-family: var(--font); background: #e8eef4; }
.nae-map-pin.leaflet-div-icon {
  background: none;
  border: none;
}
.nae-map-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  background: #fff;
  color: #0054A6;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 27, 42, 0.16);
}
.nae-map-pin { display: flex; flex-direction: column; align-items: center; }
.nae-map-pin-logo {
  background: #fff;
  border: 2px solid #0054A6;
  border-radius: 14px;
  padding: 6px 8px;
  box-shadow: 0 10px 22px rgba(0, 27, 42, 0.28);
}
.nae-map-pin-logo img { display: block; width: 78px; height: 30px; object-fit: contain; }
.nae-map-pin-dot {
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border-radius: 50%;
  background: #0054A6;
  border: 3px solid #F7B500;
  box-shadow: 0 4px 10px rgba(0, 27, 42, 0.25);
}
.nae-map-popup .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 10px 24px rgba(0, 27, 42, 0.16); }
.nae-map-popup .leaflet-popup-content { margin: 12px 14px; line-height: 1.45; }
.nae-map-popup strong { display: block; color: #012A3D; margin-bottom: 4px; }
.nae-map-popup a { color: #0054A6; font-weight: 700; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  padding: 28px;
  background: var(--grey);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.value-card:hover {
  background: var(--night);
  color: var(--white);
  transform: translateY(-4px);
}

.value-card:hover p { color: rgba(255,255,255,0.7); }

.value-card h4 { margin-bottom: 8px; font-size: 1rem; }
.value-card p { font-size: 0.85rem; color: var(--grey-mid); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 60px 0;
}

.stat-item strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-item span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* SEO zones */
.seo-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.seo-zone {
  padding: 8px 16px;
  background: rgba(0,84,166,0.08);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
}

/* Footer */
.footer {
  background: var(--night-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-main {
  width: 200px;
  height: auto;
  max-width: 100%;
  background: none;
  border-radius: 0;
  padding: 0;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact svg { width: 16px; height: 16px; stroke: var(--gold); flex-shrink: 0; margin-top: 4px; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.footer-social a:hover svg { stroke: var(--night); }

.footer-social svg { width: 18px; height: 18px; stroke: var(--white); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

.footer-admin-link {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}

.footer-admin-link:hover {
  color: var(--gold);
  opacity: 1;
}

.footer-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-zones span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sans JS, ou fichier ouvert en local : le contenu reste visible */
html:not(.js) .fade-up {
  opacity: 1;
  transform: none;
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }


/* === HOMEPAGE HEADER / HERO === */
body[data-page="accueil"] {
  background: var(--white);
}

.header-light,
.header-light.scrolled,
body:not([data-page="accueil"]) .header,
body[data-page="accueil"] .header.header-light,
body[data-page="accueil"] .header.header-light.scrolled {
  background: var(--header-surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner-mockup {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  max-width: none;
}

.logo-halo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.header-light .nav-desktop a,
body:not([data-page="accueil"]) .header .nav-desktop a {
  color: var(--night);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.header-light .nav-desktop a::after {
  background: var(--blue);
  height: 2px;
}

.header-light .nav-desktop a.active {
  color: var(--blue);
}

.header-light .nav-desktop a.active::after {
  width: 100%;
}

.header-actions-mockup {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.header-phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1002;
}

.header-phone-line {
  display: none;
}

.header-phone-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 22px 10px 20px;
  background: linear-gradient(180deg, var(--phone-from) 0%, var(--phone-to) 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 8px 22px var(--phone-shadow);
  transition: var(--transition);
}

.header-phone-tab::before {
  content: none;
}

.header-phone-tab svg {
  width: 17px;
  height: 17px;
  fill: var(--gold);
  flex-shrink: 0;
}

.header-phone-tab span {
  white-space: nowrap;
}

.header-phone-tab:hover {
  background: linear-gradient(180deg, #0866b8 0%, var(--blue) 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(4, 72, 136, 0.35);
}

.menu-toggle-dark span {
  background: var(--night);
}

.menu-toggle-dark.active span {
  background: var(--white);
}

.hero-mockup {
  min-height: 88vh;
  align-items: stretch;
  background-color: var(--night);
  overflow: hidden;
  padding-bottom: 48px;
}

.hero-bg {
  display: block;
  line-height: 0;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-mockup:hover .hero-bg-img {
  transform: scale(1);
}

.hero-overlay-mockup {
  background: var(--hero-overlay-mockup);
}

.hero-mockup-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: calc(88vh - var(--header-h));
  padding: calc(var(--header-h) + 64px) 0 32px;
}

.hero-content-mockup {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 1100px;
  width: 100%;
  padding: 0;
}

.hero-content-mockup h1 {
  font-size: clamp(1.35rem, 2.15vw, 1.7rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-location {
  color: var(--gold);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.hero-content-mockup .hero-desc {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 560px;
}

.services-strip-wrap {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  width: 100%;
}

body[data-page="accueil"] .services-strip-wrap {
  margin-top: 28px;
}

.services-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 27, 42, 0.12);
  overflow: hidden;
}

.services-strip-item {
  padding: 32px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0, 27, 42, 0.06);
  transition: var(--transition);
}

.services-strip-item:last-child {
  border-right: none;
}

.services-strip-item:hover {
  background: rgba(0, 84, 166, 0.04);
  transform: translateY(-2px);
}

.services-strip-logo {
  width: 100%;
  max-width: 210px;
  height: auto;
  max-height: 190px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.services-strip-item:hover .services-strip-logo {
  transform: scale(1.04);
}

section.section-after-hero {
  padding-top: 80px;
}

@media (min-width: 1025px) {
  .hero-content-mockup h1 {
    white-space: nowrap;
  }

  .page-hero h1 {
    white-space: nowrap;
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  }
}

@media (max-width: 1024px) {
  .header-inner-mockup {
    grid-template-columns: 1fr auto auto;
  }

  .nav-centered {
    display: none;
  }

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

  .services-strip-item:nth-child(3) {
    border-right: none;
  }

  .services-strip-item:nth-child(n+4) {
    border-top: 1px solid rgba(0, 27, 42, 0.06);
  }
}

@media (max-width: 768px) {
  body[data-page="accueil"] .logo-halo {
    padding: 0;
    margin: 0;
  }

  .header-actions-mockup .btn {
    display: none;
  }

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

  .services-strip-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 27, 42, 0.06);
  }

  body[data-page="accueil"] .container.hero-mockup-inner,
  body[data-page="accueil"] .hero-mockup-inner {
    min-height: auto;
    padding: calc(var(--header-h) + 20px) 16px 24px;
  }

  body[data-page="accueil"] .services-strip-wrap {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo img {
    max-width: 145px;
  }

  .header-actions-mockup {
    gap: 8px;
  }

  .header-phone-tab {
    gap: 6px;
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .header-phone-tab svg {
    display: none;
  }

  .service-card {
    padding: 28px 20px;
  }

  .services-strip {
    grid-template-columns: 1fr;
  }
}

/* Clients logos */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.client-logo {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 18px 16px;
  width: 188px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  overflow: hidden;
}

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

.client-logo img {
  max-height: 72px;
  width: 100%;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
}

.client-logo span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-mid);
  line-height: 1.3;
}

.bg-grey .client-logo { background: #ffffff; }

/* Sites de prestige */
.sites-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-card {
  position: relative;
  width: 290px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow);
}

.site-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.site-card:hover img { transform: scale(1.06); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 910;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.42);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* Assistant NAE — robot animé au-dessus du bouton WhatsApp */
.nae-chat {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 920;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-height: calc(100dvh - 16px);
  font-family: var(--font);
}

.nae-chat-toggle {
  position: relative;
  width: 84px;
  height: 88px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  transition: width 0.28s ease, height 0.28s ease;
}

.nae-chat-toggle,
.nae-chat-close,
.nae-chat-send {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nae-chat-toggle:hover,
.nae-chat-toggle:focus-visible {
  transform: none;
  background: transparent;
  outline: none;
}

.nae-chat-toggle:focus-visible .nae-bot {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 50%;
}

.nae-chat-toggle svg {
  width: 80px;
  height: 88px;
  fill: none;
  overflow: visible;
  display: block;
}

.nae-bot {
  display: block;
  line-height: 0;
  filter:
    drop-shadow(0 8px 16px rgba(0, 27, 42, 0.55))
    drop-shadow(0 0 0 2px rgba(247, 181, 0, 0.45));
  transform-origin: center bottom;
  animation: nae-bot-idle 3.2s ease-in-out infinite;
}

.nae-bot-svg {
  width: 80px;
  height: 88px;
}

.nae-bot-head,
.nae-bot-antenna,
.nae-bot-eyes,
.nae-bot-arm--wave {
  transform-box: fill-box;
}

.nae-bot-head {
  transform-origin: 50% 100%;
  animation: nae-bot-tilt 3.2s ease-in-out infinite;
}

.nae-bot-antenna {
  transform-origin: 50% 100%;
  animation: nae-bot-antenna 2.4s ease-in-out infinite;
}

.nae-bot-eyes {
  transform-origin: 50% 50%;
  animation: nae-bot-blink 4.2s ease-in-out infinite;
}

.nae-bot-arm--wave {
  transform-origin: 0% 50%;
  animation: nae-bot-wave 1.8s ease-in-out infinite;
}

.nae-bot-bubble {
  position: absolute;
  right: calc(100% + 2px);
  top: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  border: 1.5px solid var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 27, 42, 0.38);
  opacity: 0;
  pointer-events: none;
  animation: nae-bot-bubble-in 2.6s ease-out 0.45s 1 forwards;
}

.nae-bot-bubble::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  margin-top: -5px;
  border: 5px solid transparent;
  border-left-color: var(--gold);
}

@media (hover: hover) and (pointer: fine) {
  .nae-chat-toggle:hover .nae-bot {
    animation: nae-bot-hop 0.55s ease-in-out infinite;
  }

  .nae-chat-toggle:hover .nae-bot-arm--wave {
    animation-duration: 0.48s;
  }

  .nae-chat-toggle:hover .nae-bot-head {
    animation-duration: 1.1s;
  }

  .nae-chat-toggle:hover .nae-bot-antenna {
    animation-duration: 0.7s;
  }
}

.nae-chat-toggle:focus-visible .nae-bot {
  animation: nae-bot-hop 0.55s ease-in-out infinite;
}

.nae-chat-toggle:focus-visible .nae-bot-arm--wave {
  animation-duration: 0.48s;
}

.nae-chat-toggle:focus-visible .nae-bot-head {
  animation-duration: 1.1s;
}

.nae-chat-toggle:focus-visible .nae-bot-antenna {
  animation-duration: 0.7s;
}

.nae-chat-toggle.is-open {
  width: 52px;
  height: 54px;
  background: transparent;
  color: inherit;
}

.nae-chat-toggle.is-open .nae-bot-svg,
.nae-chat-toggle.is-open svg {
  width: 48px;
  height: 52px;
}

.nae-chat-toggle.is-open .nae-bot-bubble {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

.nae-chat-toggle.is-open .nae-bot-arm--wave,
.nae-chat-toggle.is-open .nae-bot-head,
.nae-chat-toggle.is-open .nae-bot-antenna,
.nae-chat-toggle.is-open .nae-bot {
  animation-play-state: paused;
}

@keyframes nae-bot-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes nae-bot-tilt {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(6deg); }
}

@keyframes nae-bot-antenna {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(12deg); }
}

@keyframes nae-bot-blink {
  0%, 41%, 47%, 100% { transform: scaleY(1); }
  44% { transform: scaleY(0.08); }
}

@keyframes nae-bot-wave {
  0%, 100% { transform: rotate(14deg); }
  50% { transform: rotate(-32deg); }
}

@keyframes nae-bot-hop {
  0%, 100% { transform: translateY(0) scale(1.04); }
  50% { transform: translateY(-6px) scale(1.04); }
}

@keyframes nae-bot-bubble-in {
  0% { transform: scale(0.86); opacity: 0; }
  14% { transform: scale(1.08); opacity: 1; }
  26% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.07); opacity: 1; }
  54% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.78; }
}

@media (prefers-reduced-motion: reduce) {
  .nae-bot,
  .nae-bot-head,
  .nae-bot-antenna,
  .nae-bot-eyes,
  .nae-bot-arm--wave,
  .nae-bot-bubble,
  .nae-chat-toggle:hover .nae-bot,
  .nae-chat-toggle:focus-visible .nae-bot {
    animation: none !important;
  }
  .nae-bot-bubble {
    opacity: 0.82;
  }
}

.nae-chat-panel {
  width: min(360px, calc(100vw - 40px));
  height: min(400px, calc(100dvh - 230px));
  max-height: calc(100dvh - 230px);
  background: var(--surface);
  color: var(--night);
  border: 1px solid rgba(0, 27, 42, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nae-chat-panel[hidden] { display: none; }

.nae-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--night);
  color: var(--white);
  flex-shrink: 0;
}

.nae-chat-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nae-chat-sub {
  font-size: 0.72rem;
  opacity: 0.75;
  margin-top: 2px;
}

.nae-chat-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.nae-chat-close:hover,
.nae-chat-close:focus-visible {
  background: var(--gold);
  color: var(--night);
  outline: none;
}

.nae-chat-log {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--grey);
}

.nae-chat-msg {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.nae-chat-msg--bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--night);
  border: 1px solid rgba(0, 27, 42, 0.06);
}

.nae-chat-msg--user {
  align-self: flex-end;
  background: var(--night);
  color: var(--white);
}

.nae-chat-msg--error {
  align-self: stretch;
  background: #fff4f0;
  color: #7a2a1a;
  border: 1px solid rgba(255, 42, 26, 0.18);
}

.nae-chat-msg--pending {
  opacity: 0.7;
  font-style: italic;
}

.nae-chat-msg a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nae-chat-msg a:hover,
.nae-chat-msg a:focus-visible {
  color: var(--blue-light);
}

.nae-chat-msg--user a {
  color: #b8e0ff;
}

html[data-theme="6"] .nae-chat-msg--bot a,
html[data-theme="8"] .nae-chat-msg--bot a,
html[data-theme="9"] .nae-chat-msg--bot a {
  color: var(--blue-light);
}

.nae-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--surface);
  border-top: 1px solid rgba(0, 27, 42, 0.08);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.nae-chat-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(0, 27, 42, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.86rem;
  color: var(--night);
  background: var(--white);
  pointer-events: auto;
  -webkit-user-select: text;
  user-select: text;
  touch-action: manipulation;
}

.nae-chat-form input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.nae-chat-send {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--night);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.nae-chat-send:disabled {
  opacity: 0.55;
  cursor: wait;
}

.nae-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html[data-theme="3"] .nae-chat-toggle,
html[data-theme="5"] .nae-chat-toggle,
html[data-theme="6"] .nae-chat-toggle,
html[data-theme="8"] .nae-chat-toggle,
html[data-theme="9"] .nae-chat-toggle {
  box-shadow: none;
}

html[data-theme="6"] .nae-chat-log,
html[data-theme="8"] .nae-chat-log,
html[data-theme="9"] .nae-chat-log {
  background: var(--grey);
}

html[data-theme="6"] .nae-chat-msg--bot,
html[data-theme="8"] .nae-chat-msg--bot,
html[data-theme="9"] .nae-chat-msg--bot {
  background: var(--anthracite);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="6"] .nae-chat-form input,
html[data-theme="8"] .nae-chat-form input,
html[data-theme="9"] .nae-chat-form input {
  background: var(--anthracite);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 768px) {
  .nae-chat {
    right: 16px;
    bottom: 82px;
    left: auto;
    max-width: none;
    overflow: visible;
    max-height: none;
    gap: 0;
  }

  .nae-chat-toggle {
    width: 72px;
    height: 76px;
    overflow: visible;
  }

  .nae-chat-toggle svg,
  .nae-bot-svg {
    width: 66px;
    height: 72px;
    overflow: visible;
  }

  .nae-bot {
    animation: nae-bot-idle 3.2s ease-in-out infinite;
  }

  .nae-bot-bubble {
    display: none;
    white-space: nowrap;
    font-size: 0.72rem;
    padding: 6px 11px;
  }

  .nae-bot-bubble::after {
    left: auto;
    right: -5px;
    top: 50%;
    margin: -5px 0 0;
    border-left-color: var(--gold);
    border-top-color: transparent;
  }

  .nae-chat.is-open {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    align-items: stretch;
    z-index: 1200;
    overflow: hidden;
  }

  .nae-chat.is-open .nae-chat-toggle {
    display: none;
  }

  .nae-chat-panel {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .nae-chat-header {
    padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 12px;
  }

  .nae-chat-form {
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 5;
  }

  .nae-chat-form input {
    font-size: 16px;
    padding: 12px 14px;
    min-height: 48px;
  }

  .nae-chat-send {
    min-height: 48px;
    min-width: 88px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }

  html.nae-chat-open,
  html.nae-chat-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.nae-chat-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
  }

  body.nae-chat-open .whatsapp-float,
  body.nae-chat-open .header {
    visibility: hidden;
    pointer-events: none;
  }

  body[data-page="contact"] .nae-chat {
    display: flex;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .expertise-grid,
  .about-grid,
  .service-detail-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .engagements-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item:first-child { grid-row: span 1; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .nav-desktop,
  .header-actions .btn,
  .header-phone span { display: none; }
  .menu-toggle { display: flex; }

  .header-actions .header-phone { display: flex; }

  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }

  .engagements-grid { grid-template-columns: 1fr; }
  .expertise-list { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .sites-grid { gap: 12px; }
  .site-card { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-values { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  body[data-page="contact"] .page-hero {
    padding: calc(var(--header-h) + 18px) 16px 20px;
    text-align: center;
  }

  body[data-page="contact"] .page-hero h1 {
    font-size: 1.2rem;
    line-height: 1.25;
    margin-bottom: 8px;
    white-space: normal;
  }

  body[data-page="contact"] .page-hero .breadcrumb {
    display: none;
  }

  body[data-page="contact"] .page-hero p {
    display: block;
    margin: 0 auto;
    font-size: 0.88rem;
    line-height: 1.45;
    max-width: 34ch;
  }

  body[data-page="contact"] .page-hero + section,
  body[data-page="contact"] #devis {
    margin-top: 0;
    padding: 8px 0 24px;
  }

  body[data-page="contact"] .contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  body[data-page="contact"] .contact-form {
    order: -1;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 18px 16px 120px;
  }

  body[data-page="contact"] .nae-chat {
    display: flex;
  }

  body[data-page="contact"] .contact-info-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 24px 16px;
  }

  body[data-page="contact"] .contact-info-item {
    margin-bottom: 16px;
  }

  body[data-page="contact"] .contact-quick-actions {
    margin-top: 16px;
    justify-content: center;
  }

  body[data-page="contact"] .form-group {
    margin-bottom: 14px;
  }

  body[data-page="contact"] .form-group textarea {
    min-height: 96px;
  }

  body[data-page="contact"] .map-section {
    padding: 28px 0 8px;
  }
}



/* Certifications */
.certifications-section { padding: 80px 0; background: var(--white); }

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.cert-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 22px 20px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  text-align: left;
  transition: var(--transition);
  background: var(--white);
}

.cert-logo {
  width: 110px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.cert-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cert-badge:hover {
  background: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-badge:hover .cert-name,
.cert-badge:hover .cert-desc { color: var(--white); }

.cert-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.cert-desc {
  font-size: 0.78rem;
  color: var(--grey-mid);
  line-height: 1.4;
}

.cert-doc-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cert-doc-row .cert-doc-btn {
  margin-top: 0;
}

.cert-doc-btn {
  margin-top: 8px;
  align-self: flex-start;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  border-radius: 4px;
}

.cert-doc-btn img {
  display: block;
  width: 34px;
  height: auto;
  filter: none;
  transition: transform 0.18s ease;
}

.cert-doc-btn:hover img,
.cert-doc-btn:focus-visible img {
  transform: scale(1.08);
}

.cert-doc-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .certifications-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .certifications-grid { grid-template-columns: 1fr; gap: 12px; }
  .cert-badge { padding: 18px 14px; }
}

/* === Sélecteur de style — dropdown compact === */
.theme-switcher {
  position: relative;
  display: none !important;
  align-items: center;
  flex-shrink: 0;
  justify-self: end;
  z-index: 1002;
}

.theme-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px 0 12px;
  border: 1px solid rgba(0, 27, 42, 0.1);
  border-radius: 999px;
  background: rgba(0, 27, 42, 0.06);
  color: var(--night);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: var(--transition);
}

.theme-switcher-toggle:hover,
.theme-switcher-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 84, 166, 0.28);
}

.theme-switcher-label {
  display: inline;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  padding-right: 0;
}

.theme-switcher-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1em;
}

.theme-switcher-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.theme-switcher.is-open .theme-switcher-caret {
  transform: rotate(180deg);
}

.theme-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 36px);
  gap: 6px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 27, 42, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 13, 20, 0.18);
  z-index: 1005;
}

.theme-switcher-menu[hidden] {
  display: none;
}

.theme-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--grey);
  color: var(--night);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.theme-btn:hover,
.theme-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 84, 166, 0.35);
}

.theme-btn.is-active {
  background: var(--night);
  color: var(--white);
}

/* Style 2 — Azur : clair, littoral, plus aéré */
html[data-theme="2"] {
  --night: #0B3D4A;
  --night-deep: #082F39;
  --anthracite: #14343C;
  --blue: #1A8A9D;
  --blue-light: #3CB9C7;
  --gold: #C4784A;
  --gold-soft: #D4926A;
  --white: #FFFbf5;
  --off-white: #F3EBE0;
  --grey: #EDE4D6;
  --grey-mid: #6E6A62;
  --shadow: 0 10px 36px rgba(11, 61, 74, 0.1);
  --shadow-lg: 0 22px 56px rgba(11, 61, 74, 0.16);
  --radius: 20px;
  --radius-lg: 28px;
  --font: 'Outfit', 'Montserrat', sans-serif;
  --header-surface: #FFFBF5;
  --surface: #FFFBF5;
  --phone-from: #1A8A9D;
  --phone-to: #0B3D4A;
  --phone-shadow: rgba(26, 138, 157, 0.28);
  --hero-overlay: linear-gradient(135deg, rgba(11,61,74,0.82) 0%, rgba(11,61,74,0.42) 55%, rgba(196,120,74,0.18) 100%);
  --hero-overlay-mockup: linear-gradient(105deg, rgba(11, 61, 74, 0.78) 0%, rgba(11, 61, 74, 0.4) 48%, rgba(196, 120, 74, 0.12) 100%);
  --page-hero-overlay: linear-gradient(135deg, rgba(11,61,74,0.88) 0%, rgba(26,138,157,0.62) 100%);
}

html[data-theme="2"] body,
html[data-theme="2"] body[data-page="accueil"] {
  background: #F7F1E8;
  color: var(--night);
}

html[data-theme="2"] .theme-switcher-toggle {
  background: rgba(11, 61, 74, 0.06);
  border-color: rgba(11, 61, 74, 0.12);
}

html[data-theme="2"] .theme-switcher-menu {
  background: #FFFBF5;
  border-color: rgba(11, 61, 74, 0.12);
}

html[data-theme="2"] .theme-btn.is-active {
  background: var(--gold);
  color: #fff;
}

html[data-theme="2"] .header-light .nav-desktop a.active {
  color: var(--gold);
}

html[data-theme="2"] .header-light .nav-desktop a::after {
  background: var(--gold);
}

html[data-theme="2"] .hero-content-mockup h1 {
  text-transform: none;
  letter-spacing: -0.03em;
  font-weight: 700;
}

html[data-theme="2"] .hero-location {
  letter-spacing: 0.08em;
}

html[data-theme="2"] .services-strip {
  background: transparent;
  box-shadow: none;
  gap: 12px;
  overflow: visible;
}

html[data-theme="2"] .services-strip-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow);
}

html[data-theme="2"] .services-strip-item:nth-child(n) {
  border-right: none;
  border-top: none;
}

html[data-theme="2"] .btn {
  border-radius: 999px;
}

html[data-theme="2"] .section-label {
  letter-spacing: 0.28em;
}

html[data-theme="2"] .cert-badge,
html[data-theme="2"] .value-card,
html[data-theme="2"] .engagement-item {
  border-radius: var(--radius-lg);
}

html[data-theme="2"] .cta-section {
  background: linear-gradient(135deg, #0B3D4A 0%, #1A8A9D 100%);
}

html[data-theme="2"] .footer {
  background: #082F39;
}

/* Style 3 — Graphite : atelier technique, plus tranché */
html[data-theme="3"] {
  --night: #0B0E13;
  --night-deep: #07090C;
  --anthracite: #12171E;
  --blue: #3D8BFF;
  --blue-light: #6EB0FF;
  --gold: #3DDC97;
  --gold-soft: #6AE8B2;
  --white: #FFFFFF;
  --off-white: #161C24;
  --grey: #1C232D;
  --grey-mid: #9AA3AF;
  --shadow: none;
  --shadow-lg: none;
  --radius: 4px;
  --radius-lg: 6px;
  --font: 'Space Grotesk', 'Montserrat', sans-serif;
  --header-surface: #0B0E13;
  --surface: #161C24;
  --phone-from: #12171E;
  --phone-to: #0B0E13;
  --phone-shadow: rgba(61, 139, 255, 0.22);
  --hero-overlay: linear-gradient(135deg, rgba(7,9,12,0.94) 0%, rgba(7,9,12,0.72) 50%, rgba(61,139,255,0.22) 100%);
  --hero-overlay-mockup: linear-gradient(105deg, rgba(7, 9, 12, 0.92) 0%, rgba(7, 9, 12, 0.7) 50%, rgba(61, 220, 151, 0.12) 100%);
  --page-hero-overlay: linear-gradient(135deg, rgba(7,9,12,0.94) 0%, rgba(18,23,30,0.86) 100%);
}

html[data-theme="3"] body,
html[data-theme="3"] body[data-page="accueil"] {
  background: #0B0E13;
  color: #E8EAED;
}

html[data-theme="3"] h1,
html[data-theme="3"] h2,
html[data-theme="3"] h3,
html[data-theme="3"] h4 {
  color: #F3F5F7;
  letter-spacing: 0.01em;
}

html[data-theme="3"] .theme-switcher-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #E8EAED;
}

html[data-theme="3"] .theme-switcher-menu {
  background: #161C24;
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="3"] .theme-switcher-label {
  color: #E8EAED;
}

html[data-theme="3"] .theme-btn {
  background: #1C232D;
  color: #E8EAED;
}

html[data-theme="3"] .theme-btn.is-active {
  background: #3D8BFF;
  color: #fff;
}

html[data-theme="3"] .header-light .nav-desktop a,
html[data-theme="3"] body:not([data-page="accueil"]) .header .nav-desktop a {
  color: #E8EAED;
}

html[data-theme="3"] .header-light .nav-desktop a.active {
  color: #3DDC97;
}

html[data-theme="3"] .header-light .nav-desktop a::after {
  background: #3DDC97;
}

html[data-theme="3"] .header-light,
html[data-theme="3"] .header-light.scrolled,
html[data-theme="3"] body:not([data-page="accueil"]) .header {
  border-bottom: 1px solid rgba(61, 139, 255, 0.25);
}

html[data-theme="3"] .menu-toggle-dark span {
  background: #E8EAED;
}

html[data-theme="3"] .header-phone-tab {
  border: 1px solid rgba(61, 139, 255, 0.55);
  border-radius: 4px;
}

html[data-theme="3"] .btn {
  border-radius: 4px;
  letter-spacing: 0.12em;
}

html[data-theme="3"] .services-strip {
  background: #12171E;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

html[data-theme="3"] .services-strip-item {
  border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="3"] .service-card,
html[data-theme="3"] .client-logo,
html[data-theme="3"] .cert-badge,
html[data-theme="3"] .value-card,
html[data-theme="3"] .contact-form,
html[data-theme="3"] .faq-item {
  background: var(--surface);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="3"] .cert-name,
html[data-theme="3"] .form-group label,
html[data-theme="3"] .form-group input,
html[data-theme="3"] .form-group select,
html[data-theme="3"] .form-group textarea {
  color: #E8EAED;
}

html[data-theme="3"] .form-group input,
html[data-theme="3"] .form-group select,
html[data-theme="3"] .form-group textarea {
  background: #0B0E13;
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="3"] .cta-section {
  background: linear-gradient(135deg, #07090C 0%, #12171E 100%);
}

html[data-theme="3"] .footer {
  background: #07090C;
}

html[data-theme="3"] .footer-logo-main {
  background: none;
}

html[data-theme="3"] .bg-grey .client-logo {
  background: var(--surface);
}

html[data-theme="3"] .seo-zone {
  background: rgba(61, 139, 255, 0.12);
  color: #6EB0FF;
}

html[data-theme="3"] .filter-btn {
  background: #161C24;
  color: #E8EAED;
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="3"] .filter-btn.active,
html[data-theme="3"] .filter-btn:hover {
  background: #3D8BFF;
  color: #fff;
  border-color: #3D8BFF;
}

html[data-theme="3"] .faq-question,
html[data-theme="3"] .engagement-item h4,
html[data-theme="3"] .section-title,
html[data-theme="3"] .section-subtitle {
  color: #E8EAED;
}

html[data-theme="3"] .section-subtitle {
  color: #9AA3AF;
}

@media (max-width: 1400px) {
  .header-inner-mockup { gap: 12px; }
}

@media (max-width: 768px) {
  .header-inner-mockup { gap: 8px; }
  .theme-switcher-toggle {
    height: 32px;
    padding: 0 8px 0 10px;
    font-size: 0.68rem;
  }
  .theme-switcher-menu {
    grid-template-columns: repeat(3, 32px);
    padding: 8px;
  }
  .theme-btn { width: 32px; height: 32px; }
}

@media (max-width: 640px) {
  .header-actions-mockup .seo-tags-btn { display: none; }
}

/* === Bouton & modal SEO === */
.seo-tags-btn {
  flex-shrink: 0;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(0, 27, 42, 0.12);
  border-radius: 999px;
  background: rgba(0, 27, 42, 0.06);
  color: var(--night);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.seo-tags-btn:hover,
.seo-tags-btn:focus-visible {
  background: var(--night);
  color: var(--white);
  outline: none;
}

body.seo-modal-open {
  overflow: hidden;
}

.seo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 13, 20, 0.62);
  backdrop-filter: blur(6px);
}

.seo-modal-overlay[hidden] {
  display: none;
}

.seo-modal {
  width: min(920px, 100%);
  max-height: min(86vh, 880px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--night);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.seo-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0, 27, 42, 0.08);
}

.seo-modal-header h2 {
  font-size: 1.15rem;
  color: var(--night);
}

.seo-modal-count {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--grey-mid);
  font-weight: 500;
}

.seo-modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 27, 42, 0.06);
  color: var(--night);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.seo-modal-close:hover,
.seo-modal-close:focus-visible {
  background: var(--night);
  color: var(--white);
  outline: none;
}

.seo-modal-body {
  overflow: auto;
  padding: 16px 22px 24px;
}

.seo-tag-group {
  margin-bottom: 22px;
}

.seo-tag-group h3 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.seo-tag-row {
  display: grid;
  grid-template-columns: minmax(160px, 280px) 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 27, 42, 0.06);
  font-size: 0.82rem;
}

.seo-tag-name {
  font-weight: 600;
  word-break: break-word;
  color: var(--night);
}

.seo-tag-content {
  margin: 0;
  color: var(--grey-mid);
  word-break: break-word;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1.5;
}

html[data-theme="2"] .seo-tags-btn {
  background: rgba(11, 61, 74, 0.06);
  border-color: rgba(11, 61, 74, 0.12);
}

html[data-theme="2"] .seo-tags-btn:hover,
html[data-theme="2"] .seo-tags-btn:focus-visible {
  background: var(--gold);
  color: #fff;
}

html[data-theme="3"] .seo-tags-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #E8EAED;
  border-radius: 4px;
}

html[data-theme="3"] .seo-tags-btn:hover,
html[data-theme="3"] .seo-tags-btn:focus-visible {
  background: #3D8BFF;
  color: #fff;
}

html[data-theme="3"] .seo-modal {
  color: #E8EAED;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="3"] .seo-modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="3"] .seo-modal-header h2,
html[data-theme="3"] .seo-tag-name {
  color: #F3F5F7;
}

html[data-theme="3"] .seo-modal-close {
  background: rgba(255, 255, 255, 0.08);
  color: #E8EAED;
  border-radius: 4px;
}

html[data-theme="3"] .seo-modal-close:hover,
html[data-theme="3"] .seo-modal-close:focus-visible {
  background: #3D8BFF;
  color: #fff;
}

html[data-theme="3"] .seo-tag-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .seo-tag-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .seo-tags-btn {
    padding: 0 10px;
    height: 32px;
  }

  .seo-modal-overlay {
    padding: 12px;
  }
}

/* === Styles 4 / 5 / 6 — navigation verticale à gauche (desktop) === */
html[data-theme="4"],
html[data-theme="5"],
html[data-theme="6"] {
  --header-h: 64px;
  --sidebar-w: 260px;
}

@media (min-width: 1025px) {
  html[data-theme="4"] body,
  html[data-theme="5"] body,
  html[data-theme="6"] body {
    padding-left: var(--sidebar-w);
  }

  html[data-theme="4"] .header,
  html[data-theme="5"] .header,
  html[data-theme="6"] .header {
    top: 0;
    left: 0;
    right: auto;
    width: var(--sidebar-w);
    height: 100vh;
    height: 100dvh;
    transform: none;
    filter: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    border-bottom: none;
  }

  html[data-theme="4"] .header:not(.scrolled),
  html[data-theme="5"] .header:not(.scrolled),
  html[data-theme="6"] .header:not(.scrolled),
  html[data-theme="4"] .header-light,
  html[data-theme="4"] .header-light.scrolled,
  html[data-theme="4"] body:not([data-page="accueil"]) .header,
  html[data-theme="5"] .header-light,
  html[data-theme="5"] .header-light.scrolled,
  html[data-theme="5"] body:not([data-page="accueil"]) .header,
  html[data-theme="6"] .header-light,
  html[data-theme="6"] .header-light.scrolled,
  html[data-theme="6"] body:not([data-page="accueil"]) .header {
    background: var(--sidebar-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
  }

  html[data-theme="4"] .header-inner,
  html[data-theme="4"] .header-inner-mockup,
  html[data-theme="5"] .header-inner,
  html[data-theme="5"] .header-inner-mockup,
  html[data-theme="6"] .header-inner,
  html[data-theme="6"] .header-inner-mockup {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    grid-template-columns: none;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 32px 28px 110px;
    gap: 36px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  html[data-theme="4"] .logo,
  html[data-theme="5"] .logo,
  html[data-theme="6"] .logo {
    align-self: flex-start;
  }

  html[data-theme="4"] .nav-desktop,
  html[data-theme="4"] .nav-centered,
  html[data-theme="5"] .nav-desktop,
  html[data-theme="5"] .nav-centered,
  html[data-theme="6"] .nav-desktop,
  html[data-theme="6"] .nav-centered {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  html[data-theme="4"] .nav-desktop a,
  html[data-theme="5"] .nav-desktop a,
  html[data-theme="6"] .nav-desktop a {
    padding: 12px 0 12px 8px;
  }

  html[data-theme="4"] .nav-desktop a::after,
  html[data-theme="5"] .nav-desktop a::after,
  html[data-theme="6"] .nav-desktop a::after {
    top: 50%;
    bottom: auto;
    left: 0;
    width: 3px;
    height: 0;
    transform: translateY(-50%);
  }

  html[data-theme="4"] .nav-desktop a:hover::after,
  html[data-theme="4"] .nav-desktop a.active::after,
  html[data-theme="5"] .nav-desktop a:hover::after,
  html[data-theme="5"] .nav-desktop a.active::after,
  html[data-theme="6"] .nav-desktop a:hover::after,
  html[data-theme="6"] .nav-desktop a.active::after {
    width: 3px;
    height: 55%;
  }

  html[data-theme="4"] .header-actions,
  html[data-theme="4"] .header-actions-mockup,
  html[data-theme="5"] .header-actions,
  html[data-theme="5"] .header-actions-mockup,
  html[data-theme="6"] .header-actions,
  html[data-theme="6"] .header-actions-mockup {
    position: fixed;
    top: 0;
    left: var(--sidebar-w);
    right: 0;
    height: var(--header-h);
    justify-content: flex-end;
    padding: 0 118px 0 28px;
    margin: 0;
    z-index: 1001;
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
  }

  html[data-theme="4"] .theme-switcher,
  html[data-theme="5"] .theme-switcher,
  html[data-theme="6"] .theme-switcher {
    position: fixed;
    top: 0;
    right: 20px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    margin: 0;
    z-index: 1003;
  }

  html[data-theme="4"] .theme-switcher-label,
  html[data-theme="5"] .theme-switcher-label,
  html[data-theme="6"] .theme-switcher-label {
    display: inline;
  }

  html[data-theme="4"] .header-phone-wrap,
  html[data-theme="5"] .header-phone-wrap,
  html[data-theme="6"] .header-phone-wrap {
    position: fixed;
    left: 0;
    bottom: 28px;
    width: var(--sidebar-w);
    justify-content: center;
    padding: 0 24px;
    z-index: 1002;
  }

  html[data-theme="4"] .header-phone-tab,
  html[data-theme="5"] .header-phone-tab,
  html[data-theme="6"] .header-phone-tab {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  html[data-theme="4"] .menu-toggle,
  html[data-theme="5"] .menu-toggle,
  html[data-theme="6"] .menu-toggle {
    display: flex;
  }

  html[data-theme="4"] .nav-desktop,
  html[data-theme="4"] .nav-centered,
  html[data-theme="5"] .nav-desktop,
  html[data-theme="5"] .nav-centered,
  html[data-theme="6"] .nav-desktop,
  html[data-theme="6"] .nav-centered {
    display: none;
  }
}

/* Style 4 — Atelier : chantier / béton / rouille */
html[data-theme="4"] {
  --sidebar-w: 256px;
  --night: #3D2B1F;
  --night-deep: #2A1D14;
  --anthracite: #4A3B30;
  --blue: #6B5A4E;
  --blue-light: #8C7A6B;
  --gold: #C45C26;
  --gold-soft: #D4783E;
  --white: #F3EEE6;
  --off-white: #E6DFD4;
  --grey: #DDD5C8;
  --grey-mid: #6E6258;
  --shadow: 0 8px 0 rgba(61, 43, 31, 0.08);
  --shadow-lg: 8px 8px 0 rgba(61, 43, 31, 0.12);
  --radius: 2px;
  --radius-lg: 2px;
  --font: 'Barlow Condensed', 'Montserrat', sans-serif;
  --header-surface: #E8E2D8;
  --sidebar-bg: #2C2926;
  --topbar-bg: rgba(232, 226, 216, 0.92);
  --topbar-border: rgba(61, 43, 31, 0.1);
  --surface: #EFEAE3;
  --phone-from: #C45C26;
  --phone-to: #8B3A1A;
  --phone-shadow: rgba(196, 92, 38, 0.28);
  --hero-overlay: linear-gradient(135deg, rgba(44,41,38,0.92) 0%, rgba(61,43,31,0.62) 50%, rgba(196,92,38,0.28) 100%);
  --hero-overlay-mockup: linear-gradient(105deg, rgba(44, 41, 38, 0.9) 0%, rgba(61, 43, 31, 0.55) 48%, rgba(196, 92, 38, 0.18) 100%);
  --page-hero-overlay: linear-gradient(135deg, rgba(44,41,38,0.94) 0%, rgba(139,58,26,0.72) 100%);
}

html[data-theme="4"] body,
html[data-theme="4"] body[data-page="accueil"] {
  background: #E4DDD2;
  color: var(--night);
}

html[data-theme="4"] h1,
html[data-theme="4"] h2,
html[data-theme="4"] h3 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

html[data-theme="4"] .theme-switcher-toggle {
  background: rgba(61, 43, 31, 0.08);
  border-color: rgba(61, 43, 31, 0.16);
  border-radius: 2px;
}

html[data-theme="4"] .theme-switcher-menu {
  background: #F3EEE6;
  border-color: rgba(61, 43, 31, 0.16);
  border-radius: 4px;
}

html[data-theme="4"] .theme-btn {
  border-radius: 2px;
}

html[data-theme="4"] .theme-btn.is-active {
  background: #C45C26;
  color: #fff;
}

html[data-theme="4"] .seo-tags-btn {
  border-radius: 2px;
  background: rgba(61, 43, 31, 0.08);
  border-color: rgba(61, 43, 31, 0.16);
}

html[data-theme="4"] .seo-tags-btn:hover,
html[data-theme="4"] .seo-tags-btn:focus-visible {
  background: #C45C26;
  color: #fff;
}

html[data-theme="4"] .btn {
  border-radius: 2px;
  letter-spacing: 0.14em;
}

@media (min-width: 1025px) {
  html[data-theme="4"] body[data-page="accueil"] .header.header-light,
  html[data-theme="4"] body[data-page="accueil"] .header.header-light.scrolled,
  html[data-theme="4"] .header.header-light,
  html[data-theme="4"] .header.header-light.scrolled,
  html[data-theme="4"] body:not([data-page="accueil"]) .header {
    background:
      linear-gradient(90deg, transparent 0, transparent calc(100% - 4px), #C45C26 calc(100% - 4px), #8B3A1A 100%),
      linear-gradient(180deg, #32302C 0%, #2C2926 42%, #262320 100%);
    box-shadow: 6px 0 0 rgba(196, 92, 38, 0.12);
  }

  html[data-theme="4"] .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8B3A1A, #C45C26 55%, #D4A574);
  }

  html[data-theme="4"] .logo {
    background: #F3EEE6;
    padding: 10px 12px;
    border-radius: 2px;
  }

  html[data-theme="4"] body[data-page="accueil"] .header-light .nav-desktop a,
  html[data-theme="4"] .header-light .nav-desktop a,
  html[data-theme="4"] body:not([data-page="accueil"]) .header .nav-desktop a {
    color: #E8DFD4;
    letter-spacing: 0.16em;
  }

  html[data-theme="4"] .header-light .nav-desktop a.active,
  html[data-theme="4"] .header-light .nav-desktop a:hover {
    color: #E07A3D;
  }

  html[data-theme="4"] .header-light .nav-desktop a::after {
    background: #C45C26;
  }

  html[data-theme="4"] .header-phone-tab {
    border-radius: 2px;
  }
}

html[data-theme="4"] .services-strip {
  background: #EFEAE3;
  border-radius: 2px;
  box-shadow: 6px 6px 0 rgba(61, 43, 31, 0.1);
}

html[data-theme="4"] .services-strip-item {
  border-color: rgba(61, 43, 31, 0.1);
}

html[data-theme="4"] .service-card,
html[data-theme="4"] .cert-badge,
html[data-theme="4"] .value-card,
html[data-theme="4"] .engagement-item,
html[data-theme="4"] .client-logo,
html[data-theme="4"] .contact-form,
html[data-theme="4"] .faq-item {
  background: var(--surface);
  border-radius: 2px;
  border: 1px solid rgba(196, 92, 38, 0.18);
  box-shadow: 5px 5px 0 rgba(61, 43, 31, 0.08);
}

html[data-theme="4"] .cta-section {
  background: linear-gradient(135deg, #2C2926 0%, #8B3A1A 100%);
}

html[data-theme="4"] .footer {
  background: #2A1D14;
}

html[data-theme="4"] .nav-mobile {
  background: #2C2926;
}

html[data-theme="4"] .section-label {
  letter-spacing: 0.28em;
  color: #C45C26;
}

/* Style 5 — Villa : clair, serif, beaucoup d’air */
html[data-theme="5"] {
  --sidebar-w: 280px;
  --night: #2C2A26;
  --night-deep: #1F1D1A;
  --anthracite: #3A3834;
  --blue: #7A8B6F;
  --blue-light: #9AA88F;
  --gold: #B8956A;
  --gold-soft: #C9AB84;
  --white: #FBF8F2;
  --off-white: #F3EDE3;
  --grey: #EDE6DA;
  --grey-mid: #7A746A;
  --shadow: 0 18px 50px rgba(44, 42, 38, 0.06);
  --shadow-lg: 0 28px 70px rgba(44, 42, 38, 0.1);
  --radius: 0;
  --radius-lg: 0;
  --font: 'Outfit', 'Montserrat', sans-serif;
  --header-surface: #FBF8F2;
  --sidebar-bg: #F7F1E6;
  --topbar-bg: rgba(251, 248, 242, 0.88);
  --topbar-border: rgba(184, 149, 106, 0.18);
  --surface: #FFFcf7;
  --phone-from: #7A8B6F;
  --phone-to: #5E6D55;
  --phone-shadow: rgba(122, 139, 111, 0.2);
  --hero-overlay: linear-gradient(135deg, rgba(44,42,38,0.55) 0%, rgba(44,42,38,0.22) 55%, rgba(184,149,106,0.12) 100%);
  --hero-overlay-mockup: linear-gradient(105deg, rgba(44, 42, 38, 0.5) 0%, rgba(44, 42, 38, 0.18) 50%, rgba(251, 248, 242, 0.08) 100%);
  --page-hero-overlay: linear-gradient(135deg, rgba(44,42,38,0.7) 0%, rgba(122,139,111,0.42) 100%);
}

html[data-theme="5"] body,
html[data-theme="5"] body[data-page="accueil"] {
  background: #F8F4EC;
  color: var(--night);
}

html[data-theme="5"] h1,
html[data-theme="5"] h2,
html[data-theme="5"] h3,
html[data-theme="5"] h4,
html[data-theme="5"] .hero-content-mockup h1,
html[data-theme="5"] .page-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.18;
}

html[data-theme="5"] .hero-content-mockup h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

@media (min-width: 1025px) {
  html[data-theme="5"] .hero-content-mockup h1,
  html[data-theme="5"] .page-hero h1 {
    white-space: normal;
  }
}

html[data-theme="5"] .section-label {
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: #B8956A;
}

html[data-theme="5"] .theme-switcher-toggle {
  background: transparent;
  border-color: rgba(184, 149, 106, 0.35);
  border-radius: 0;
}

html[data-theme="5"] .theme-switcher-menu {
  background: #FBF8F2;
  border-color: rgba(184, 149, 106, 0.35);
  border-radius: 0;
}

html[data-theme="5"] .theme-btn {
  border-radius: 0;
  background: #FBF8F2;
}

html[data-theme="5"] .theme-btn.is-active {
  background: #2C2A26;
  color: #FBF8F2;
}

html[data-theme="5"] .seo-tags-btn {
  border-radius: 0;
  background: transparent;
  border-color: rgba(184, 149, 106, 0.35);
}

html[data-theme="5"] .seo-tags-btn:hover,
html[data-theme="5"] .seo-tags-btn:focus-visible {
  background: #2C2A26;
  color: #FBF8F2;
}

html[data-theme="5"] .btn {
  border-radius: 0;
  letter-spacing: 0.16em;
  font-weight: 500;
}

@media (min-width: 1025px) {
  html[data-theme="5"] .header {
    background: #F7F1E6;
    box-shadow: 1px 0 0 rgba(184, 149, 106, 0.22);
  }

  html[data-theme="5"] .header-inner,
  html[data-theme="5"] .header-inner-mockup {
    padding: 48px 36px 120px;
    gap: 56px;
  }

  html[data-theme="5"] .header-light .nav-desktop a,
  html[data-theme="5"] body:not([data-page="accueil"]) .header .nav-desktop a {
    color: #2C2A26;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.28rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    padding: 14px 0 14px 12px;
  }

  html[data-theme="5"] .header-light .nav-desktop a.active,
  html[data-theme="5"] .header-light .nav-desktop a:hover {
    color: #7A8B6F;
  }

  html[data-theme="5"] .header-light .nav-desktop a::after {
    background: #B8956A;
  }

  html[data-theme="5"] .header-phone-tab {
    border-radius: 0;
  }

  html[data-theme="5"] section {
    padding: 130px 0;
  }

  html[data-theme="5"] .section-header {
    margin-bottom: 80px;
  }
}

html[data-theme="5"] .services-strip {
  background: transparent;
  box-shadow: none;
  gap: 20px;
  overflow: visible;
}

html[data-theme="5"] .services-strip-item {
  background: #FFFcf7;
  border: none;
  border-top: 1px solid rgba(184, 149, 106, 0.28);
  box-shadow: none;
}

html[data-theme="5"] .services-strip-item:nth-child(n) {
  border-right: none;
}

html[data-theme="5"] .service-card,
html[data-theme="5"] .cert-badge,
html[data-theme="5"] .value-card,
html[data-theme="5"] .engagement-item,
html[data-theme="5"] .client-logo {
  background: #FFFcf7;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid rgba(184, 149, 106, 0.2);
}

html[data-theme="5"] .cta-section {
  background: linear-gradient(135deg, #2C2A26 0%, #3F4A38 100%);
}

html[data-theme="5"] .footer {
  background: #1F1D1A;
}

html[data-theme="5"] .nav-mobile {
  background: #F7F1E6;
}

html[data-theme="5"] .nav-mobile a {
  color: #2C2A26;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: 0.02em;
  border-bottom-color: rgba(44, 42, 38, 0.08);
}

html[data-theme="5"] .menu-toggle-dark.active span {
  background: var(--night);
}

html[data-theme="5"] .hero-location {
  letter-spacing: 0.18em;
  font-weight: 500;
}

/* Style 6 — Néon : agence, sombre, magenta / volt */
html[data-theme="6"] {
  --sidebar-w: 244px;
  --night: #07070C;
  --night-deep: #050508;
  --anthracite: #12121A;
  --blue: #FF2D95;
  --blue-light: #FF6BB3;
  --gold: #C8FF00;
  --gold-soft: #D8FF4A;
  --white: #F4F4F8;
  --off-white: #101018;
  --grey: #16161F;
  --grey-mid: #9A9AA8;
  --shadow: 0 0 28px rgba(255, 45, 149, 0.12);
  --shadow-lg: 0 0 40px rgba(200, 255, 0, 0.12);
  --radius: 18px;
  --radius-lg: 28px;
  --font: 'Syne', 'Montserrat', sans-serif;
  --header-surface: #07070C;
  --sidebar-bg: #050508;
  --topbar-bg: rgba(7, 7, 12, 0.82);
  --topbar-border: rgba(255, 45, 149, 0.22);
  --surface: #12121A;
  --phone-from: #FF2D95;
  --phone-to: #C41870;
  --phone-shadow: rgba(255, 45, 149, 0.35);
  --hero-overlay: linear-gradient(135deg, rgba(5,5,8,0.94) 0%, rgba(5,5,8,0.7) 48%, rgba(255,45,149,0.28) 100%);
  --hero-overlay-mockup: linear-gradient(105deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.66) 50%, rgba(200, 255, 0, 0.12) 100%);
  --page-hero-overlay: linear-gradient(135deg, rgba(5,5,8,0.95) 0%, rgba(196,24,112,0.55) 100%);
}

html[data-theme="6"] body,
html[data-theme="6"] body[data-page="accueil"] {
  background: #07070C;
  color: #EDEDF3;
}

html[data-theme="6"] h1,
html[data-theme="6"] h2,
html[data-theme="6"] h3,
html[data-theme="6"] h4 {
  color: #F7F7FB;
  letter-spacing: -0.03em;
  font-weight: 800;
}

html[data-theme="6"] .theme-switcher-toggle {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 45, 149, 0.35);
  color: #EDEDF3;
}

html[data-theme="6"] .theme-switcher-menu {
  background: #12121A;
  border-color: rgba(255, 45, 149, 0.35);
}

html[data-theme="6"] .theme-switcher-label {
  color: #EDEDF3;
}

html[data-theme="6"] .theme-btn {
  background: #12121A;
  color: #EDEDF3;
}

html[data-theme="6"] .theme-btn.is-active {
  background: #FF2D95;
  color: #fff;
}

html[data-theme="6"] .seo-tags-btn {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 45, 149, 0.35);
  color: #EDEDF3;
}

html[data-theme="6"] .seo-tags-btn:hover,
html[data-theme="6"] .seo-tags-btn:focus-visible {
  background: #C8FF00;
  color: #07070C;
}

html[data-theme="6"] .menu-toggle-dark span {
  background: #F2F2F5;
}

html[data-theme="6"] .btn {
  border-radius: 999px;
  letter-spacing: 0.1em;
}

html[data-theme="6"] .btn-gold {
  color: #07070C;
}

@media (min-width: 1025px) {
  html[data-theme="6"] .header {
    background: #050508;
    box-shadow: 8px 0 40px rgba(255, 45, 149, 0.12);
  }

  html[data-theme="6"] .header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #FF2D95, #C8FF00);
    box-shadow: 0 0 16px rgba(255, 45, 149, 0.65);
  }

  html[data-theme="6"] .logo {
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 16px;
  }

  html[data-theme="6"] .header-light .nav-desktop a,
  html[data-theme="6"] body:not([data-page="accueil"]) .header .nav-desktop a {
    color: #EDEDF3;
    letter-spacing: 0.14em;
  }

  html[data-theme="6"] .header-light .nav-desktop a.active,
  html[data-theme="6"] .header-light .nav-desktop a:hover {
    color: #C8FF00;
    text-shadow: 0 0 18px rgba(200, 255, 0, 0.35);
  }

  html[data-theme="6"] .header-light .nav-desktop a::after {
    background: #FF2D95;
    box-shadow: 0 0 10px #FF2D95;
  }

  html[data-theme="6"] .header-actions,
  html[data-theme="6"] .header-actions-mockup {
    background: rgba(7, 7, 12, 0.82);
  }
}

html[data-theme="6"] .services-strip {
  background: #12121A;
  box-shadow: 0 0 0 1px rgba(255, 45, 149, 0.2), 0 0 32px rgba(255, 45, 149, 0.08);
  border-radius: 24px;
}

html[data-theme="6"] .services-strip-item {
  border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="6"] .service-card,
html[data-theme="6"] .client-logo,
html[data-theme="6"] .cert-badge,
html[data-theme="6"] .value-card,
html[data-theme="6"] .contact-form,
html[data-theme="6"] .faq-item {
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(255, 45, 149, 0.16);
  color: #EDEDF3;
}

html[data-theme="6"] .cert-name,
html[data-theme="6"] .form-group label,
html[data-theme="6"] .form-group input,
html[data-theme="6"] .form-group select,
html[data-theme="6"] .form-group textarea,
html[data-theme="6"] .faq-question,
html[data-theme="6"] .engagement-item h4,
html[data-theme="6"] .section-title {
  color: #F4F4F8;
}

html[data-theme="6"] .section-subtitle,
html[data-theme="6"] .cert-desc {
  color: #9A9AA8;
}

html[data-theme="6"] .form-group input,
html[data-theme="6"] .form-group select,
html[data-theme="6"] .form-group textarea {
  background: #07070C;
  border-color: rgba(255, 45, 149, 0.28);
  color: #F4F4F8;
}

html[data-theme="6"] .cta-section {
  background: linear-gradient(135deg, #050508 0%, #2A0A1C 55%, #1A2200 100%);
}

html[data-theme="6"] .footer {
  background: #050508;
}

html[data-theme="6"] .footer-logo-main {
  background: none;
}

html[data-theme="6"] .bg-grey .client-logo {
  background: var(--surface);
}

html[data-theme="6"] .seo-zone {
  background: rgba(255, 45, 149, 0.14);
  color: #FF6BB3;
}

html[data-theme="6"] .filter-btn {
  background: #12121A;
  color: #EDEDF3;
  border-color: rgba(255, 45, 149, 0.28);
}

html[data-theme="6"] .filter-btn.active,
html[data-theme="6"] .filter-btn:hover {
  background: #FF2D95;
  color: #fff;
  border-color: #FF2D95;
}

html[data-theme="6"] .seo-modal {
  color: #EDEDF3;
  border: 1px solid rgba(255, 45, 149, 0.25);
  background: #101018;
}

html[data-theme="6"] .seo-modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="6"] .seo-modal-header h2,
html[data-theme="6"] .seo-tag-name {
  color: #F7F7FB;
}

html[data-theme="6"] .seo-modal-close {
  background: rgba(255, 255, 255, 0.08);
  color: #EDEDF3;
}

html[data-theme="6"] .seo-modal-close:hover,
html[data-theme="6"] .seo-modal-close:focus-visible {
  background: #C8FF00;
  color: #07070C;
}

html[data-theme="6"] .nav-mobile {
  background: #050508;
}

html[data-theme="6"] .hero-content-mockup h1 {
  text-transform: none;
  letter-spacing: -0.04em;
}

@media (max-width: 768px) {
  html[data-theme="4"] .theme-btn,
  html[data-theme="5"] .theme-btn,
  html[data-theme="6"] .theme-btn,
  html[data-theme="7"] .theme-btn,
  html[data-theme="8"] .theme-btn,
  html[data-theme="9"] .theme-btn {
    width: 32px;
    height: 32px;
  }
}

/* === Styles 7 / 8 / 9 — futuriste freestyle === */
@keyframes nae-prism-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes nae-void-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 42, 26, 0); }
  50% { box-shadow: 0 0 18px 0 rgba(255, 42, 26, 0.28); }
}

/* Style 7 — ORBITAL : HUD / cockpit, rail gauche fin */
html[data-theme="7"] {
  --header-h: 56px;
  --sidebar-w: 72px;
  --night: #061018;
  --night-deep: #02060A;
  --anthracite: #0A1820;
  --blue: #00E5FF;
  --blue-light: #7AF5FF;
  --gold: #00E5FF;
  --gold-soft: #5EEBFF;
  --white: #E8FBFF;
  --off-white: #08141C;
  --grey: #0C1C26;
  --grey-mid: #7AA0B0;
  --shadow: 0 0 24px rgba(0, 229, 255, 0.12);
  --shadow-lg: 0 0 40px rgba(0, 229, 255, 0.18);
  --radius: 0;
  --radius-lg: 0;
  --font: 'Share Tech Mono', 'Orbitron', monospace;
  --header-surface: #041018;
  --sidebar-bg: #030B12;
  --topbar-bg: rgba(4, 16, 24, 0.78);
  --topbar-border: rgba(0, 229, 255, 0.22);
  --surface: #0A1822;
  --phone-from: #00B8CC;
  --phone-to: #007A8A;
  --phone-shadow: rgba(0, 229, 255, 0.28);
  --hero-overlay: linear-gradient(180deg, rgba(2,6,10,0.88) 0%, rgba(2,6,10,0.35) 42%, rgba(0,229,255,0.12) 100%);
  --hero-overlay-mockup: linear-gradient(180deg, rgba(2, 6, 10, 0.82) 0%, rgba(2, 6, 10, 0.28) 38%, rgba(0, 229, 255, 0.1) 100%);
  --page-hero-overlay: linear-gradient(180deg, rgba(2,6,10,0.92) 0%, rgba(0,80,96,0.55) 100%);
}

html[data-theme="7"] body,
html[data-theme="7"] body[data-page="accueil"] {
  background-color: #02060A;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  color: #D6F4FA;
}

html[data-theme="7"] body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 229, 255, 0.028) 2px,
    rgba(0, 229, 255, 0.028) 3px
  );
}

html[data-theme="7"] h1,
html[data-theme="7"] h2,
html[data-theme="7"] h3,
html[data-theme="7"] h4 {
  font-family: 'Orbitron', 'Share Tech Mono', sans-serif;
  color: #E8FBFF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

html[data-theme="7"] .section-label {
  font-family: 'Share Tech Mono', monospace;
  color: #00E5FF;
  letter-spacing: 0.28em;
}

html[data-theme="7"] .btn {
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  border-radius: 0;
  letter-spacing: 0.14em;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.45);
}

html[data-theme="7"] .btn-gold {
  background: linear-gradient(180deg, #00E5FF 0%, #0098A8 100%);
  color: #021016;
  border-color: transparent;
}

html[data-theme="7"] .header-phone-tab {
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  border-radius: 0;
}

html[data-theme="7"] .theme-switcher-toggle {
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.28);
  border-radius: 0;
  color: #7AF5FF;
}

html[data-theme="7"] .theme-switcher-menu {
  background: #0A1822;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 0;
}

html[data-theme="7"] .theme-switcher-label { color: #7AF5FF; }

html[data-theme="7"] .theme-btn {
  border-radius: 0;
  background: #0A1822;
  color: #7AF5FF;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

html[data-theme="7"] .theme-btn.is-active {
  background: #00E5FF;
  color: #021016;
}

html[data-theme="7"] .seo-tags-btn {
  border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.35);
  color: #7AF5FF;
}

html[data-theme="7"] .seo-tags-btn:hover,
html[data-theme="7"] .seo-tags-btn:focus-visible {
  background: #00E5FF;
  color: #021016;
}

html[data-theme="7"] .menu-toggle-dark span { background: #7AF5FF; }

@media (min-width: 1025px) {
  html[data-theme="7"] body {
    padding-left: var(--sidebar-w);
  }

  html[data-theme="7"] .header {
    top: 0;
    left: 0;
    right: auto;
    width: var(--sidebar-w);
    height: 100vh;
    height: 100dvh;
    transform: none;
    overflow: visible;
    border-bottom: none;
  }

  html[data-theme="7"] .header:not(.scrolled),
  html[data-theme="7"] .header-light,
  html[data-theme="7"] .header-light.scrolled,
  html[data-theme="7"] body:not([data-page="accueil"]) .header {
    background:
      linear-gradient(90deg, transparent calc(100% - 2px), #00E5FF 100%),
      linear-gradient(180deg, #041018 0%, #02080E 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: 8px 0 32px rgba(0, 229, 255, 0.08);
  }

  html[data-theme="7"] .header-inner,
  html[data-theme="7"] .header-inner-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    grid-template-columns: none;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 18px 6px 96px;
    gap: 18px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  html[data-theme="7"] .logo {
    align-self: center;
    background: #ffffff;
    padding: 6px;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  }

  html[data-theme="7"] .logo img {
    height: 28px;
    max-width: 48px;
  }

  html[data-theme="7"] .nav-desktop,
  html[data-theme="7"] .nav-centered {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  html[data-theme="7"] .nav-desktop a,
  html[data-theme="7"] .header-light .nav-desktop a,
  html[data-theme="7"] body:not([data-page="accueil"]) .header .nav-desktop a {
    color: #8FD8E6;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.52rem;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 10px 2px;
    line-height: 1.2;
    border: 1px solid transparent;
  }

  html[data-theme="7"] .nav-desktop a::after {
    display: none;
  }

  html[data-theme="7"] .header-light .nav-desktop a.active,
  html[data-theme="7"] .header-light .nav-desktop a:hover {
    color: #00E5FF;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.55);
    border-color: rgba(0, 229, 255, 0.35);
    background: rgba(0, 229, 255, 0.08);
  }

  html[data-theme="7"] .header-actions,
  html[data-theme="7"] .header-actions-mockup {
    position: fixed;
    top: 0;
    left: var(--sidebar-w);
    right: 0;
    height: var(--header-h);
    justify-content: flex-end;
    padding: 0 118px 0 20px;
    margin: 0;
    z-index: 1001;
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--topbar-border);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 18px) 100%, 0 100%);
  }

  html[data-theme="7"] .theme-switcher {
    position: fixed;
    top: 0;
    right: 16px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    margin: 0;
    z-index: 1003;
  }

  html[data-theme="7"] .theme-switcher-label { display: inline; }

  html[data-theme="7"] .header-phone-wrap {
    position: fixed;
    left: 0;
    bottom: 16px;
    width: var(--sidebar-w);
    justify-content: center;
    padding: 0 6px;
    z-index: 1002;
  }

  html[data-theme="7"] .header-phone-tab {
    width: 100%;
    min-height: 36px;
    padding: 8px 4px;
    font-size: 0;
  }

  html[data-theme="7"] .header-phone-tab span { display: none; }
  html[data-theme="7"] .header-phone-tab svg {
    width: 16px;
    height: 16px;
    fill: #00E5FF;
  }
}

@media (max-width: 1024px) {
  html[data-theme="7"] .menu-toggle { display: flex; }
  html[data-theme="7"] .nav-desktop,
  html[data-theme="7"] .nav-centered { display: none; }
}

html[data-theme="7"] .hero-overlay-mockup,
html[data-theme="7"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(2,6,10,0.78) 0%, transparent 22%, transparent 72%, rgba(2,6,10,0.7) 100%),
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(0, 229, 255, 0.12), transparent 70%),
    var(--hero-overlay-mockup);
}

html[data-theme="7"] .hero-content-mockup h1 {
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.28);
}

html[data-theme="7"] .services-strip {
  background: rgba(8, 22, 30, 0.82);
  box-shadow: none;
  border: 1px solid rgba(0, 229, 255, 0.22);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

html[data-theme="7"] .services-strip-item {
  border-color: rgba(0, 229, 255, 0.12);
}

html[data-theme="7"] .service-card,
html[data-theme="7"] .cert-badge,
html[data-theme="7"] .value-card,
html[data-theme="7"] .engagement-item,
html[data-theme="7"] .client-logo,
html[data-theme="7"] .contact-form,
html[data-theme="7"] .faq-item {
  background: rgba(10, 24, 34, 0.88);
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.06);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  color: #D6F4FA;
}

html[data-theme="7"] .cert-name,
html[data-theme="7"] .form-group label,
html[data-theme="7"] .form-group input,
html[data-theme="7"] .form-group select,
html[data-theme="7"] .form-group textarea,
html[data-theme="7"] .faq-question,
html[data-theme="7"] .engagement-item h4,
html[data-theme="7"] .section-title {
  color: #E8FBFF;
}

html[data-theme="7"] .form-group input,
html[data-theme="7"] .form-group select,
html[data-theme="7"] .form-group textarea {
  background: #02060A;
  border-color: rgba(0, 229, 255, 0.28);
  color: #E8FBFF;
  border-radius: 0;
}

html[data-theme="7"] .cta-section {
  background: linear-gradient(135deg, #02060A 0%, #04303A 100%);
}

html[data-theme="7"] .footer {
  background: #02060A;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
}

html[data-theme="7"] .footer-logo-main { background: none; }

html[data-theme="7"] .nav-mobile {
  background: #02060A;
  border-left: 2px solid #00E5FF;
}

html[data-theme="7"] .filter-btn {
  background: #0A1822;
  color: #D6F4FA;
  border-color: rgba(0, 229, 255, 0.28);
  border-radius: 0;
}

html[data-theme="7"] .filter-btn.active,
html[data-theme="7"] .filter-btn:hover {
  background: #00E5FF;
  color: #021016;
}

html[data-theme="7"] .seo-zone {
  background: rgba(0, 229, 255, 0.12);
  color: #7AF5FF;
}

html[data-theme="7"] .seo-modal {
  color: #D6F4FA;
  border: 1px solid rgba(0, 229, 255, 0.28);
  background: #0A1822;
  border-radius: 0;
}

html[data-theme="7"] .seo-modal-header { border-bottom-color: rgba(0, 229, 255, 0.18); }
html[data-theme="7"] .seo-modal-header h2,
html[data-theme="7"] .seo-tag-name { color: #E8FBFF; }
html[data-theme="7"] .seo-modal-close {
  background: rgba(0, 229, 255, 0.1);
  color: #7AF5FF;
  border-radius: 0;
}

/* Style 8 — PRISM : glass iridescent, barre flottante */
html[data-theme="8"] {
  --header-h: 100px;
  --night: #1A1030;
  --night-deep: #100820;
  --anthracite: #241838;
  --blue: #7A5CFF;
  --blue-light: #5EE7FF;
  --gold: #FF4DCC;
  --gold-soft: #C084FC;
  --white: #F8F4FF;
  --off-white: #161028;
  --grey: #1E1634;
  --grey-mid: #B8A8D4;
  --shadow: 0 12px 40px rgba(122, 92, 255, 0.16);
  --shadow-lg: 0 20px 60px rgba(255, 77, 204, 0.18);
  --radius: 22px;
  --radius-lg: 28px;
  --font: 'Exo 2', 'Outfit', sans-serif;
  --header-surface: transparent;
  --surface: rgba(255, 255, 255, 0.08);
  --phone-from: #7A5CFF;
  --phone-to: #FF4DCC;
  --phone-shadow: rgba(122, 92, 255, 0.32);
  --hero-overlay: linear-gradient(135deg, rgba(16,8,32,0.72) 0%, rgba(122,92,255,0.28) 50%, rgba(255,77,204,0.18) 100%);
  --hero-overlay-mockup: linear-gradient(115deg, rgba(16, 8, 32, 0.7) 0%, rgba(94, 231, 255, 0.16) 48%, rgba(255, 77, 204, 0.16) 100%);
  --page-hero-overlay: linear-gradient(135deg, rgba(16,8,32,0.82) 0%, rgba(122,92,255,0.45) 100%);
}

html[data-theme="8"] body,
html[data-theme="8"] body[data-page="accueil"] {
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(255, 77, 204, 0.22), transparent 55%),
    radial-gradient(800px 420px at 92% 8%, rgba(94, 231, 255, 0.18), transparent 50%),
    radial-gradient(700px 500px at 50% 110%, rgba(122, 92, 255, 0.2), transparent 55%),
    #12081E;
  color: #F0E8FF;
}

html[data-theme="8"] h1,
html[data-theme="8"] h2,
html[data-theme="8"] h3,
html[data-theme="8"] h4 {
  font-family: 'Audiowide', 'Exo 2', sans-serif;
  color: #FFF8FF;
  letter-spacing: 0.02em;
  font-weight: 400;
}

html[data-theme="8"] .hero-content-mockup h1,
html[data-theme="8"] .page-hero h1 {
  font-family: 'Audiowide', sans-serif;
  text-transform: none;
  letter-spacing: 0.01em;
}

html[data-theme="8"] .section-label {
  background: linear-gradient(90deg, #FF4DCC, #5EE7FF, #9B5CFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.26em;
}

html[data-theme="8"] .header,
html[data-theme="8"] .header.scrolled,
html[data-theme="8"] .header-light,
html[data-theme="8"] .header-light.scrolled,
html[data-theme="8"] body:not([data-page="accueil"]) .header,
html[data-theme="8"] body[data-page="accueil"] .header.header-light,
html[data-theme="8"] body[data-page="accueil"] .header.header-light.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  height: auto;
}

@media (min-width: 1025px) {
  html[data-theme="8"] .header {
    top: 12px;
    left: 50%;
    right: auto;
    width: min(1460px, calc(100% - 28px));
    transform: translateX(-50%);
    height: auto;
    min-height: 80px;
    overflow: visible;
  }

  html[data-theme="8"] .header-inner,
  html[data-theme="8"] .header-inner-mockup {
    height: auto;
    min-height: 80px;
    max-width: none;
    padding: 10px 22px;
    gap: 12px 20px;
    overflow: visible;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
      0 10px 40px rgba(16, 8, 32, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  html[data-theme="8"] .nav-desktop,
  html[data-theme="8"] .nav-centered {
    gap: 22px;
    min-width: 0;
    justify-content: center;
  }

  html[data-theme="8"] .header-light .nav-desktop a,
  html[data-theme="8"] body:not([data-page="accueil"]) .header .nav-desktop a {
    color: #F4EEFF;
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 0.06em;
    font-size: 0.98rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
  }

  html[data-theme="8"] .header-light .nav-desktop a.active,
  html[data-theme="8"] .header-light .nav-desktop a:hover {
    color: #5EE7FF;
  }

  html[data-theme="8"] .header-light .nav-desktop a::after {
    background: linear-gradient(90deg, #FF4DCC, #5EE7FF);
    height: 2px;
    border-radius: 2px;
  }

  html[data-theme="8"] .header-actions-mockup {
    gap: 8px;
  }
}

@media (min-width: 1025px) and (max-width: 1399px) {
  html[data-theme="8"] {
    --header-h: 148px;
  }

  html[data-theme="8"] .header-inner,
  html[data-theme="8"] .header-inner-mockup {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "logo nav theme"
      "actions actions actions";
    border-radius: 28px;
    padding: 8px 16px 10px;
  }

  html[data-theme="8"] .logo { grid-area: logo; }
  html[data-theme="8"] .nav-desktop,
  html[data-theme="8"] .nav-centered { grid-area: nav; }
  html[data-theme="8"] .header-actions,
  html[data-theme="8"] .header-actions-mockup {
    grid-area: actions;
    justify-content: center;
  }
  html[data-theme="8"] .theme-switcher { grid-area: theme; }
}

@media (max-width: 1024px) {
  html[data-theme="8"] {
    --header-h: 64px;
  }

  html[data-theme="8"] .header {
    top: 8px;
    left: 10px;
    right: 10px;
    width: auto;
    height: 52px;
    overflow: visible;
  }

  html[data-theme="8"] .header-inner,
  html[data-theme="8"] .header-inner-mockup {
    height: 52px;
    padding: 0 10px;
    overflow: visible;
    border-radius: 16px;
    background: rgba(18, 8, 30, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  html[data-theme="8"] .menu-toggle { display: flex; }
  html[data-theme="8"] .nav-desktop,
  html[data-theme="8"] .nav-centered { display: none; }
  html[data-theme="8"] .logo {
    width: auto;
    height: auto;
    max-width: none;
    padding: 2px 8px;
    border-radius: 999px;
    overflow: visible;
    line-height: 0;
    flex-shrink: 0;
    background: #fff;
  }
  html[data-theme="8"] .logo img {
    display: block;
    width: auto;
    height: 46px;
    max-width: 160px;
    margin: 0;
    opacity: 1;
    object-fit: contain;
    transform: none;
  }
}

html[data-theme="8"] .logo {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 14px;
}

@media (min-width: 1025px) {
  html[data-theme="8"] .logo img { height: 48px; max-width: 150px; }
}

html[data-theme="8"] .theme-switcher-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #F4EEFF;
}

html[data-theme="8"] .theme-switcher-menu {
  background: #241838;
  border-color: rgba(255, 255, 255, 0.22);
}

html[data-theme="8"] .theme-switcher-label { color: #F4EEFF; }

html[data-theme="8"] .theme-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #F4EEFF;
}

html[data-theme="8"] .theme-btn.is-active {
  background: linear-gradient(135deg, #FF4DCC, #7A5CFF);
  color: #fff;
}

html[data-theme="8"] .seo-tags-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #F4EEFF;
}

html[data-theme="8"] .seo-tags-btn:hover,
html[data-theme="8"] .seo-tags-btn:focus-visible {
  background: linear-gradient(135deg, #FF4DCC, #5EE7FF);
  color: #12081E;
}

html[data-theme="8"] .menu-toggle-dark span { background: #F4EEFF; }

html[data-theme="8"] .btn {
  border-radius: 999px;
  border-width: 1px;
}

html[data-theme="8"] .btn-gold {
  background: linear-gradient(120deg, #FF4DCC, #7A5CFF 55%, #5EE7FF);
  background-size: 200% 200%;
  animation: nae-prism-shift 14s linear infinite;
  color: #12081E;
  border-color: transparent;
}

html[data-theme="8"] .service-card,
html[data-theme="8"] .value-card,
html[data-theme="8"] .engagement-item,
html[data-theme="8"] .client-logo,
html[data-theme="8"] .contact-form {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid transparent;
  box-shadow: 0 10px 36px rgba(16, 8, 32, 0.18);
  color: #F0E8FF;
}

html[data-theme="8"] .faq-item {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #F0E8FF;
}

html[data-theme="8"] .faq-item:last-child {
  border-bottom: none;
}

html[data-theme="8"] .faq-question {
  padding-left: 2px;
  padding-right: 2px;
}

html[data-theme="8"] .faq-question:hover {
  color: #5EE7FF;
}

html[data-theme="8"] .faq-question svg {
  stroke: #C4A0FF;
}

html[data-theme="8"] .faq-answer-inner {
  color: #C8B8E0;
}

html[data-theme="8"] .service-card::after,
html[data-theme="8"] .value-card::after,
html[data-theme="8"] .contact-form::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, #FF4DCC, #5EE7FF, #9B5CFF, #FF4DCC);
  background-size: 220% 220%;
  animation: nae-prism-shift 16s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

html[data-theme="8"] .services-strip {
  overflow: hidden;
  gap: 0;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(16, 8, 32, 0.18);
  border: none;
}

html[data-theme="8"] .services-strip-item {
  background: transparent;
  border: none;
  border-radius: 0;
  aspect-ratio: auto;
}

html[data-theme="8"] .services-strip-item:nth-child(n) {
  border-right: 1px solid rgba(0, 27, 42, 0.06);
}

html[data-theme="8"] .services-strip-item:last-child {
  border-right: none;
}

html[data-theme="8"] .services-strip-logo {
  border-radius: 16px;
  width: 100%;
  max-width: 210px;
  max-height: 190px;
  object-fit: contain;
}

html[data-theme="8"] .certifications-section {
  background: transparent;
}

html[data-theme="8"] .cert-badge {
  background: #ffffff;
  color: #1A1030;
  border: none;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(16, 8, 32, 0.2);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-theme="8"] .cert-badge:hover {
  background: #ffffff;
}

html[data-theme="8"] .cert-logo {
  width: 118px;
  height: 76px;
}

html[data-theme="8"] .certifications-section .cert-name,
html[data-theme="8"] .cert-badge:hover .cert-name {
  color: #1A1030;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
}

html[data-theme="8"] .certifications-section .cert-desc,
html[data-theme="8"] .cert-badge:hover .cert-desc {
  color: #5A4A72;
}

html[data-theme="8"] .cert-doc-btn {
  background: transparent;
}

html[data-theme="8"] .client-logo {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 22px;
  color: #1A1030;
  box-shadow: 0 10px 28px rgba(16, 8, 32, 0.22);
}

html[data-theme="8"] .client-logo span {
  color: #4A3A68;
}

html[data-theme="8"] .form-group label,
html[data-theme="8"] .faq-question,
html[data-theme="8"] .engagement-item h4,
html[data-theme="8"] .section-title {
  color: #FFF8FF;
}

html[data-theme="8"] .section-subtitle { color: #B8A8D4; }

html[data-theme="8"] .form-group input,
html[data-theme="8"] .form-group select,
html[data-theme="8"] .form-group textarea {
  background: rgba(16, 8, 32, 0.55);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFF8FF;
}

html[data-theme="8"] .cta-section {
  background: linear-gradient(135deg, #1A1030 0%, #4A1A55 50%, #123848 100%);
}

html[data-theme="8"] .footer {
  background: #100820;
}

html[data-theme="8"] .footer-logo-main { background: none; }

html[data-theme="8"] .nav-mobile {
  background: rgba(16, 8, 32, 0.94);
  backdrop-filter: blur(20px);
}

html[data-theme="8"] .filter-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #F0E8FF;
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="8"] .filter-btn.active,
html[data-theme="8"] .filter-btn:hover {
  background: linear-gradient(135deg, #FF4DCC, #7A5CFF);
  color: #fff;
  border-color: transparent;
}

html[data-theme="8"] .seo-zone {
  background: rgba(255, 77, 204, 0.14);
  color: #FF9AE0;
}

html[data-theme="8"] .seo-modal {
  color: #F0E8FF;
  background: rgba(22, 14, 40, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

html[data-theme="8"] .seo-modal-header { border-bottom-color: rgba(255, 255, 255, 0.1); }
html[data-theme="8"] .seo-modal-header h2,
html[data-theme="8"] .seo-tag-name { color: #FFF8FF; }
html[data-theme="8"] .seo-modal-close {
  background: rgba(255, 255, 255, 0.1);
  color: #F0E8FF;
}

/* Style 9 — VOID : noir profond, accent laser, vide */
html[data-theme="9"] {
  --header-h: 48px;
  --night: #050505;
  --night-deep: #000000;
  --anthracite: #0A0A0A;
  --blue: #FF2A1A;
  --blue-light: #FF6A3C;
  --gold: #FF2A1A;
  --gold-soft: #FF5A20;
  --white: #F5F2EE;
  --off-white: #070707;
  --grey: #0C0C0C;
  --grey-mid: #8A8680;
  --shadow: none;
  --shadow-lg: none;
  --radius: 0;
  --radius-lg: 0;
  --font: 'Space Grotesk', 'Syne', sans-serif;
  --header-surface: transparent;
  --surface: #070707;
  --phone-from: #1A0806;
  --phone-to: #000000;
  --phone-shadow: rgba(255, 42, 26, 0.22);
  --hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 50%, rgba(255,42,26,0.12) 100%);
  --hero-overlay-mockup: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(255, 42, 26, 0.1) 100%);
  --page-hero-overlay: linear-gradient(180deg, rgba(0,0,0,0.88) 0%, rgba(40,8,6,0.7) 100%);
}

html[data-theme="9"] body,
html[data-theme="9"] body[data-page="accueil"] {
  background: #000000;
  color: #E8E4DE;
}

html[data-theme="9"] h1,
html[data-theme="9"] h2,
html[data-theme="9"] h3,
html[data-theme="9"] h4 {
  font-family: 'Unica One', 'Syne', sans-serif;
  color: #F5F2EE;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-theme="9"] h2 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.95;
}

html[data-theme="9"] .hero-content-mockup h1,
html[data-theme="9"] .page-hero h1 {
  font-family: 'Unica One', sans-serif;
  letter-spacing: 0.03em;
}

html[data-theme="9"] .section-label {
  color: #FF2A1A;
  letter-spacing: 0.36em;
  font-size: 0.68rem;
}

html[data-theme="9"] .header,
html[data-theme="9"] .header.scrolled,
html[data-theme="9"] .header-light,
html[data-theme="9"] .header-light.scrolled,
html[data-theme="9"] body:not([data-page="accueil"]) .header,
html[data-theme="9"] body[data-page="accueil"] .header.header-light,
html[data-theme="9"] body[data-page="accueil"] .header.header-light.scrolled {
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 42, 26, 0.18);
  height: var(--header-h);
}

html[data-theme="9"] .header-inner,
html[data-theme="9"] .header-inner-mockup {
  height: var(--header-h);
}

html[data-theme="9"] .logo img {
  height: 32px;
  max-width: 120px;
  opacity: 0.82;
  filter: grayscale(0.2);
}

html[data-theme="9"] .header-light .nav-desktop a,
html[data-theme="9"] body:not([data-page="accueil"]) .header .nav-desktop a {
  color: rgba(245, 242, 238, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

html[data-theme="9"] .header-light .nav-desktop a::after {
  background: #FF2A1A;
  height: 1px;
}

html[data-theme="9"] .header-light .nav-desktop a.active,
html[data-theme="9"] .header-light .nav-desktop a:hover {
  color: #FF2A1A;
  text-shadow: 0 0 14px rgba(255, 42, 26, 0.55);
}

html[data-theme="9"] .theme-switcher-toggle {
  background: transparent;
  border-color: rgba(255, 42, 26, 0.28);
  border-radius: 0;
  color: rgba(245, 242, 238, 0.85);
}

html[data-theme="9"] .theme-switcher-menu {
  background: #0A0A0A;
  border: 1px solid rgba(255, 42, 26, 0.28);
  border-radius: 0;
}

html[data-theme="9"] .theme-switcher-label { color: rgba(245, 242, 238, 0.45); }

html[data-theme="9"] .theme-btn {
  background: #0A0A0A;
  color: #E8E4DE;
  border-radius: 0;
}

html[data-theme="9"] .theme-btn.is-active {
  background: #FF2A1A;
  color: #fff;
}

html[data-theme="9"] .seo-tags-btn {
  background: transparent;
  border-color: rgba(255, 42, 26, 0.28);
  color: rgba(245, 242, 238, 0.7);
  border-radius: 0;
}

html[data-theme="9"] .seo-tags-btn:hover,
html[data-theme="9"] .seo-tags-btn:focus-visible {
  background: #FF2A1A;
  color: #fff;
}

html[data-theme="9"] .menu-toggle-dark span { background: #F5F2EE; }

html[data-theme="9"] .header-phone-tab {
  border-radius: 0;
  border-color: rgba(255, 42, 26, 0.45);
  animation: nae-void-pulse 5s ease-in-out infinite;
}

html[data-theme="9"] .btn {
  border-radius: 0;
  letter-spacing: 0.2em;
}

html[data-theme="9"] .btn-gold {
  background: #FF2A1A;
  color: #fff;
  border-color: #FF2A1A;
}

html[data-theme="9"] .btn-gold:hover {
  background: transparent;
  color: #FF2A1A;
  box-shadow: 0 0 24px rgba(255, 42, 26, 0.35);
}

html[data-theme="9"] .services-strip {
  background: transparent;
  box-shadow: none;
  border-top: 1px solid rgba(255, 42, 26, 0.2);
  border-bottom: 1px solid rgba(255, 42, 26, 0.2);
  border-radius: 0;
}

html[data-theme="9"] .services-strip-item {
  border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="9"] .service-card,
html[data-theme="9"] .cert-badge,
html[data-theme="9"] .value-card,
html[data-theme="9"] .engagement-item,
html[data-theme="9"] .client-logo,
html[data-theme="9"] .contact-form,
html[data-theme="9"] .faq-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: none;
  color: #E8E4DE;
}

html[data-theme="9"] .service-card:hover,
html[data-theme="9"] .value-card:hover,
html[data-theme="9"] .cert-badge:hover {
  border-color: #FF2A1A;
  box-shadow: 0 0 28px rgba(255, 42, 26, 0.18);
}

html[data-theme="9"] .cert-name,
html[data-theme="9"] .form-group label,
html[data-theme="9"] .faq-question,
html[data-theme="9"] .engagement-item h4,
html[data-theme="9"] .section-title {
  color: #F5F2EE;
}

html[data-theme="9"] .section-subtitle { color: #8A8680; }

html[data-theme="9"] .form-group input,
html[data-theme="9"] .form-group select,
html[data-theme="9"] .form-group textarea {
  background: #050505;
  border-color: rgba(255, 42, 26, 0.28);
  color: #F5F2EE;
  border-radius: 0;
}

html[data-theme="9"] .cta-section {
  background: #000;
  border-top: 1px solid rgba(255, 42, 26, 0.28);
}

html[data-theme="9"] .footer {
  background: #000;
  border-top: 1px solid rgba(255, 42, 26, 0.18);
}

html[data-theme="9"] .footer-logo-main { background: none; }

html[data-theme="9"] .nav-mobile {
  background: #000;
  border-left: 1px solid rgba(255, 42, 26, 0.35);
}

html[data-theme="9"] .filter-btn {
  background: transparent;
  color: #E8E4DE;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 0;
}

html[data-theme="9"] .filter-btn.active,
html[data-theme="9"] .filter-btn:hover {
  background: #FF2A1A;
  color: #fff;
  border-color: #FF2A1A;
}

html[data-theme="9"] .seo-zone {
  background: rgba(255, 42, 26, 0.12);
  color: #FF6A3C;
}

html[data-theme="9"] .seo-modal {
  color: #E8E4DE;
  background: #070707;
  border: 1px solid rgba(255, 42, 26, 0.28);
  border-radius: 0;
}

html[data-theme="9"] .seo-modal-header { border-bottom-color: rgba(255, 255, 255, 0.08); }
html[data-theme="9"] .seo-modal-header h2,
html[data-theme="9"] .seo-tag-name { color: #F5F2EE; }
html[data-theme="9"] .seo-modal-close {
  background: #111;
  color: #E8E4DE;
  border-radius: 0;
}

html[data-theme="9"] .seo-modal-close:hover,
html[data-theme="9"] .seo-modal-close:focus-visible {
  background: #FF2A1A;
  color: #fff;
}

@media (max-width: 1024px) {
  html[data-theme="9"] .menu-toggle { display: flex; }
  html[data-theme="9"] .nav-desktop,
  html[data-theme="9"] .nav-centered { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="8"] .btn-gold,
  html[data-theme="8"] .service-card::after,
  html[data-theme="8"] .value-card::after,
  html[data-theme="8"] .contact-form::after,
  html[data-theme="9"] .header-phone-tab {
    animation: none;
  }
}

/* Mobile — header, hero, grilles */
@media (max-width: 768px) {
  :root { --header-h: 58px; }

  .logo {
    flex-shrink: 0;
    overflow: visible;
  }

  .logo img {
    height: 42px;
    max-width: 148px;
    width: auto;
    object-fit: contain;
  }

  .header-inner,
  .header-inner-mockup {
    gap: 8px;
  }

  .header-actions-mockup .btn {
    display: none;
  }

  .header-phone-wrap {
    display: block;
  }

  .header-phone-tab {
    display: inline-flex;
    min-height: 34px;
    padding: 6px 10px;
    gap: 6px;
    font-size: 0.72rem;
  }

  .header-phone-tab span {
    display: inline;
  }

  .header-phone-tab svg {
    display: block;
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .nav-mobile {
    padding: 80px 24px 32px;
    max-width: min(320px, 88vw);
  }

  .hero {
    min-height: auto;
  }

  .hero-mockup-inner {
    min-height: 0;
    padding: calc(var(--header-h) + 18px) 0 20px;
  }

  .hero-content-mockup h1,
  .page-hero h1 {
    font-size: 1.35rem;
    line-height: 1.25;
    white-space: normal;
  }

  .hero-location {
    font-size: 0.82rem;
    margin-bottom: 10px;
  }

  .hero-content-mockup .hero-desc {
    font-size: 0.92rem;
    margin-bottom: 16px;
  }

  .page-hero {
    padding: calc(var(--header-h) + 28px) 0 36px;
  }

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

  .services-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
  }

  .services-strip-item {
    flex: none;
    padding: 12px 6px;
    border: 0 !important;
  }

  .services-strip-item:nth-child(n+4) {
    border-top: 1px solid rgba(0, 27, 42, 0.06) !important;
  }

  .services-strip-logo {
    max-width: 78px;
    max-height: 48px;
    margin: 0 auto;
  }

  .portfolio-filters {
    gap: 8px;
    margin-bottom: 20px;
  }

  .filter-btn {
    padding: 8px 12px;
    font-size: 0.68rem;
  }

  .footer-logo-main {
    width: 140px;
    padding: 0;
  }

  .clients-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    justify-content: stretch;
  }

  .client-logo {
    width: auto;
    padding: 14px 10px 12px;
    border-radius: 16px;
    gap: 8px;
  }

  .client-logo img {
    max-height: 48px;
  }

  .client-logo span {
    font-size: 0.72rem;
  }

  html[data-theme="8"] {
    --header-h: 72px;
  }

  html[data-theme="8"] .header {
    top: 6px;
    left: 8px;
    right: 8px;
    height: 60px;
  }

  html[data-theme="8"] .header-inner,
  html[data-theme="8"] .header-inner-mockup {
    display: flex;
    grid-template-columns: none;
    height: 60px;
    padding: 4px 8px;
    border-radius: 16px;
    gap: 8px;
    align-items: center;
  }

  html[data-theme="8"] .logo {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    max-width: none;
    padding: 2px 8px;
    border-radius: 999px;
    overflow: visible;
    line-height: 0;
    background: #fff;
  }

  html[data-theme="8"] .logo img {
    display: block;
    width: auto;
    height: 46px;
    max-width: 160px;
    margin: 0;
    opacity: 1;
    object-fit: contain;
    transform: none;
  }

  html[data-theme="8"] .header-actions-mockup {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  html[data-theme="8"] .header-phone-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
  }

  html[data-theme="8"] .header-phone-tab {
    width: 100%;
    max-width: none;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 0.84rem;
    justify-content: center;
  }

  html[data-theme="8"] #services {
    scroll-margin-top: calc(var(--header-h) + 12px);
  }

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

  .header,
  .header-inner,
  .header-inner-mockup {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .header-actions-mockup {
    min-width: 0;
  }

  .logo,
  .logo img {
    min-width: auto;
    overflow: visible;
  }

  .header-phone-tab {
    max-width: none;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .nae-chat {
    right: 16px;
    max-width: none;
    overflow: visible;
  }

  .nae-bot-bubble {
    display: none;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }

  body[data-page="accueil"] .container.hero-mockup-inner,
  body[data-page="accueil"] .hero-mockup-inner {
    padding: calc(var(--header-h) + 20px) 14px 24px;
  }

  .logo img {
    height: 38px;
    max-width: 132px;
  }

  html[data-theme="8"] .logo {
    width: auto;
    height: auto;
    max-width: none;
    padding: 2px 7px;
    background: #fff;
  }
  html[data-theme="8"] .logo img {
    width: auto;
    height: 42px;
    max-width: 150px;
    margin: 0;
    opacity: 1;
    object-fit: contain;
    transform: none;
  }

  .hero-content-mockup h1,
  .page-hero h1 {
    font-size: 1.2rem;
  }

  .services-strip-item { padding: 10px 4px; }
}
