/* ═══════════════════════════════════════════════════════════════
   ÉLECTRICIEN MALAKOFF — Refonte Zen Minimaliste
   Palette : blanc dominant (#FFFFFF) + vert sauge (#4E7B64)
   Style   : Swiss Minimalism — épuré, aéré, typographique
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --white:          #ffffff;
  --off-white:      #F6FAF8;   /* sections alternées (ex-dark) */
  --surface:        #F0F6F3;   /* section--light */

  /* Accent sauge */
  --accent:         #4E7B64;
  --accent-dark:    #3C6250;
  --accent-light:   #EAF2ED;
  --accent-ring:    rgba(78,123,100,.16);

  /* Texte */
  --ink:            #1A2922;   /* principal, teinte verte */
  --ink-2:          #2D3D35;   /* secondaire */
  --muted:          #657A6F;   /* corps, descriptions */
  --subtle:         #9AB0A5;   /* placeholders, hints */

  /* Structure */
  --border:         #DDE8E3;
  --shadow-xs:      0 1px 4px rgba(26,41,34,.04);
  --shadow-sm:      0 2px 14px rgba(26,41,34,.07);
  --shadow-md:      0 6px 28px rgba(26,41,34,.10);
  --shadow-lg:      0 16px 48px rgba(26,41,34,.12);

  --radius:         10px;
  --radius-lg:      16px;
  --radius-full:    9999px;

  --font:           'Inter', system-ui, sans-serif;
  --transition:     .22s ease;
}

/* ── Reset & base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Layout helpers ──────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section        { padding: 96px 0; background: var(--white); }
.section--dark  { background: var(--off-white); }   /* plus de fond sombre */
.section--light { background: var(--surface); }

/* ── Boutons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .01em;
  transition: all var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--ink-2);
  color: var(--white);
  border-color: var(--ink-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
}
.btn--full { width: 100%; justify-content: center; }

/* ── En-têtes de section ─────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-tag--light { color: var(--accent); }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -.025em;
}
.section-title strong { font-weight: 700; }
.section-title--light { color: var(--ink); }   /* ex-blanc → maintenant sombre */
.section-desc {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

/* ══════════════════════════════════════ HEADER / NAV ══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: transparent;
}
.nav {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
  flex-shrink: 0;
  font-weight: 400;
}
.nav-logo:hover { color: var(--ink); }
.logo-icon { font-size: 1.3rem; line-height: 1; }
.logo-text { color: var(--ink); }
.logo-text strong { color: var(--accent); font-weight: 700; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  font-size: .87rem;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: .01em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); background: var(--off-white); }
.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 500 !important;
  margin-left: 6px;
}
.nav-cta:hover {
  background: var(--ink-2) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ══════════════════════════════════════════════ HERO ══ */
.hero {
  position: relative;
  background: var(--white);
  color: var(--ink);
  padding: 120px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 80% at 75% 55%, var(--accent-light) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 5% 90%, rgba(78,123,100,.06) 0%, transparent 55%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 72px;
}
.hero-content { position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(78,123,100,.2);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero-badge::before { content: '●'; font-size: .5rem; opacity: .6; }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  color: var(--ink);
}
.hero-title .accent {
  font-weight: 700;
  color: var(--accent);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 44px;
  font-weight: 300;
  line-height: 1.85;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 5px;
}
.stat-label { font-size: .76rem; color: var(--muted); font-weight: 300; letter-spacing: .02em; }
.stat-sep { width: 1px; height: 36px; background: var(--border); }

/* Photo hero */
.hero-profile {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-profile-ring {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--accent-light);
  padding: 4px;
  position: relative;
  flex-shrink: 0;
}
.hero-profile-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  pointer-events: none;
}
.hero-profile-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: var(--surface);
  display: block;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--subtle);
  border-radius: 2px;
  animation: scroll-hint 2.2s infinite;
}
@keyframes scroll-hint {
  0%   { top: 6px; opacity: 1; }
  100% { top: 16px; opacity: 0; }
}

/* ══════════════════════════════════════════ SERVICES ══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(78,123,100,.22);
}
.service-card--featured {
  border-color: rgba(78,123,100,.25);
  background: var(--accent-light);
}
.service-icon {
  font-size: 1.6rem;
  margin-bottom: 18px;
  display: block;
  line-height: 1;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.service-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
  font-weight: 300;
}
.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--white);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ══════════════════════════════════════════════ CHARTE ══ */
/* section--dark est maintenant --off-white ; tout le texte est sombre */
.charte-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.charte-text p {
  color: var(--muted);   /* ex rgba(255,255,255,.75) */
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.8;
}
.charte-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.charte-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);   /* ex rgba(255,255,255,.85) */
  font-size: .95rem;
  font-weight: 300;
}
.charte-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  width: 20px;
  height: 20px;
  background: var(--accent-light);
  border: 1px solid rgba(78,123,100,.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
}
.charte-visual { display: flex; justify-content: center; align-items: center; }
.charte-badge-large {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.badge-inner {
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border-radius: 50%;
  background: var(--accent-light);
  border: 1px solid rgba(78,123,100,.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.badge-icon { font-size: 1.8rem; }
.badge-title { font-size: .85rem; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.badge-subtitle {
  font-size: .7rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  padding: 0 12px;
}
.badge-cert {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-top: 4px;
}

/* Fiches Charte */
.charte-fiches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.charte-fiche {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.charte-fiche::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.charte-fiche:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(78,123,100,.2);
  transform: translateY(-2px);
}
.charte-fiche:hover::before { transform: scaleX(1); }
.fiche-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: .35;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.fiche-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.fiche-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ══════════════════════════════════════ RÉALISATIONS ══ */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.real-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.real-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.real-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface);
}
.real-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.real-card:hover .real-img-wrap img { transform: scale(1.05); }
.real-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  background: var(--accent-light);
}
.real-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--white);
  color: var(--accent-dark);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
}
.real-body { padding: 22px 24px; }
.real-body h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.real-body p { font-size: .85rem; color: var(--muted); font-weight: 300; }
.empty-state {
  text-align: center;
  padding: 80px;
  color: var(--muted);
  font-weight: 300;
}

/* ══════════════════════════════════════════ PARTENAIRES ══ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.partner-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--ink);
  transition: all var(--transition);
  text-decoration: none;
}
.partner-card:hover {
  border-color: rgba(78,123,100,.22);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.partner-logo-wrap {
  width: 80px;
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.partner-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.partner-logo-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-info h3 { font-size: .95rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.partner-info p { font-size: .85rem; color: var(--muted); flex: 1; font-weight: 300; line-height: 1.65; }
.partner-link {
  margin-top: 18px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .01em;
}
.partners-footer-link { text-align: center; margin-top: 40px; }

/* ══════════════════════════════════════════════ CONTACT ══ */
/* section--dark → off-white ; texte sombre */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info p {
  color: var(--muted);   /* ex rgba(255,255,255,.7) */
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.8;
}
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink-2);   /* ex rgba(255,255,255,.8) */
  font-size: .95rem;
}
/* Liens dans les détails de contact */
.contact-details a { color: var(--ink-2); }
.contact-details a:hover { color: var(--accent); }
.contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* Formulaire */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: .9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  font-weight: 300;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--subtle); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: .75rem; color: var(--muted); text-align: center; font-weight: 300; }
.form-success {
  background: var(--accent-light);
  border: 1px solid rgba(78,123,100,.25);
  color: var(--accent-dark);
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-weight: 400;
  font-size: .9rem;
}
.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-weight: 400;
  font-size: .9rem;
}

/* ══════════════════════════════════════════════ FOOTER ══ */
.footer { background: var(--ink); color: rgba(255,255,255,.5); }
.footer-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 24px 48px;
}
.footer-brand .nav-logo {
  margin-bottom: 16px;
  color: var(--white);
}
.footer-brand .nav-logo:hover { color: var(--white); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text strong { color: rgba(234,242,237,.85); }
.footer-brand p { font-size: .85rem; line-height: 1.8; font-weight: 300; }
.footer h4 {
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 20px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul li a {
  color: rgba(255,255,255,.4);
  font-size: .87rem;
  font-weight: 300;
  transition: color var(--transition);
}
.footer ul li a:hover { color: rgba(255,255,255,.8); }
.footer-contact p { font-size: .87rem; margin-bottom: 8px; font-weight: 300; }
.footer-contact a { color: rgba(255,255,255,.4); }
.footer-contact a:hover { color: rgba(255,255,255,.8); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 24px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
}
.footer-bottom a { color: rgba(255,255,255,.22); }
.footer-bottom a:hover { color: rgba(255,255,255,.55); }

/* ── Back to top ──────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all var(--transition);
  z-index: 99;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--ink-2); color: var(--white); }

/* ── Animations data-aos ──────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-aos] { transition: none; opacity: 1; transform: none; }
  .hero-scroll span::after { animation: none; }
}

/* ══════════════════════════════════════════ RESPONSIVE ══ */
@media (max-width: 1100px) {
  .hero-profile-ring { width: 260px; height: 260px; }
}
@media (max-width: 1024px) {
  .charte-layout { grid-template-columns: 1fr; gap: 40px; }
  .charte-visual { display: none; }
  .charte-fiches { grid-template-columns: repeat(3, 1fr); }
  .footer-layout { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
    z-index: 99;
    box-shadow: var(--shadow-sm);
  }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .hero { padding: 80px 0 64px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-profile { display: none; }
  .hero-stats { gap: 20px; }
  .stat-sep { display: none; }
  .charte-fiches { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px 32px;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .services-grid,
  .partners-grid,
  .realisations-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-form-wrap { padding: 24px 20px; }
  .charte-fiches { grid-template-columns: 1fr; }
}
