﻿/* ============================================================
   ALTIMO Immobilier — Feuille de style principale
   Version 2.0 — Design premium immobilier
   ============================================================ */

/* ============================================================
   TABLE DES MATIÈRES
   1. Variables CSS & Reset
   2. Typographie & Classes globales
   3. Composants réutilisables (boutons, labels, titres)
   4. Préloader
   5. Navbar
   6. Hero
   7. Intro
   8. Stats
   9. Expertises
   10. Projets
   11. Process
   12. Engagements
   13. Témoignages
   14. Actualités
   15. CTA Final
   16. Footer
   17. Animations & utilitaires
   18. Responsive
   ============================================================ */

/* ============================================================
   1. VARIABLES CSS & RESET
   ============================================================ */

:root {
  /* Couleurs principales */
  --blanc:           #F5F6FA;
  --blanc-pur:       #FFFFFF;
  --anthracite:      #1A1A1A;
  --anthracite-mid:  #2D2D2D;
  --anthracite-soft: #3D3D3D;
  --bleu:            #003ACC;
  --bleu-vif:        #0D1FDF;
  --bleu-hover:      #0026A0;
  --or:              #cda301;
  --or-hover:        #b89100;
  --gris-marque:     #9492A0;
  --gris-doux:       #E8E9F0;
  --gris-section:    #F0F1F7;
  --gris-texte:      #6B6B6B;
  --gris-clair:      #9A9A9A;
  --overlay:         rgba(15, 15, 15, 0.62);
  --overlay-dark:    rgba(10, 10, 10, 0.75);

  /* Typographies */
  --font-titre:      'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-corps:      'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Tailles */
  --fs-xl:    clamp(2.8rem, 6vw, 5.2rem);
  --fs-lg:    clamp(2rem, 4vw, 3.2rem);
  --fs-md:    clamp(1.4rem, 2.5vw, 1.9rem);
  --fs-base:  1rem;
  --fs-sm:    0.875rem;
  --fs-xs:    0.75rem;

  /* Espacements */
  --section-pad:   clamp(5rem, 10vw, 9rem);
  --section-pad-s: clamp(3rem, 6vw, 5rem);
  --container:     1280px;
  --gutter:        clamp(1.5rem, 4vw, 3rem);

  /* Rayons */
  --radius-sm:   4px;
  --radius:      10px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  /* Ombres */
  --shadow-xs:   0 2px 8px rgba(26,26,26,0.06);
  --shadow-sm:   0 4px 20px rgba(26,26,26,0.08);
  --shadow-md:   0 8px 40px rgba(26,26,26,0.12);
  --shadow-lg:   0 16px 60px rgba(26,26,26,0.16);
  --shadow-bleu: 0 8px 30px rgba(0,58,204,0.25);
  --shadow-or:   0 8px 30px rgba(205,163,1,0.28);

  /* Transitions */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:   0.25s;
  --dur-med:    0.45s;
  --dur-slow:   0.7s;
}

/* Reset moderne */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-corps);
  font-size: var(--fs-base);
  color: var(--anthracite);
  background-color: var(--blanc);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

address {
  font-style: normal;
}

/* ============================================================
   2. TYPOGRAPHIE
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  font-family: var(--font-corps);
  font-weight: 400;
}

em {
  font-style: italic;
  color: var(--bleu);
}

/* ============================================================
   3. COMPOSANTS RÉUTILISABLES
   ============================================================ */

/* Conteneur */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Label de section */
.section-label {
  display: inline-block;
  font-family: var(--font-corps);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2.5rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1px;
  background: var(--or);
}

.section-label.light {
  color: var(--gris-marque);
}

.section-label.light::before {
  background: var(--gris-marque);
}

/* Titres de section */
.section-title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--anthracite);
  line-height: 1.18;
  margin-bottom: 1.2rem;
}

.section-title.light {
  color: var(--blanc-pur);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gris-texte);
  max-width: 560px;
  line-height: 1.8;
}

/* En-tête de section centré */
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* BOUTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-corps);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  transition: all var(--dur-med) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--dur-fast);
}

.btn:hover::after {
  opacity: 1;
}

/* Bouton principal doré */
.btn-gold {
  background: var(--or);
  color: var(--blanc-pur);
  box-shadow: var(--shadow-or);
}

.btn-gold:hover {
  background: var(--or-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(205,163,1,0.4);
}

/* Bouton foncé */
.btn-dark {
  background: var(--anthracite);
  color: var(--blanc-pur);
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background: var(--anthracite-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Bouton outline blanc */
.btn-outline-white {
  background: transparent;
  color: var(--blanc-pur);
  border: 1.5px solid rgba(255,255,255,0.55);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

/* Bouton primary navbar */
.btn-primary {
  background: var(--bleu);
  color: var(--blanc-pur);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--dur-fast) var(--ease);
}

.btn-primary:hover {
  background: #0026A0;
  transform: translateY(-1px);
}

/* Grand bouton */
.btn-large {
  padding: 1.1rem 2.6rem;
  font-size: var(--fs-sm);
}

/* SVG dans boutons */
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}


/* ============================================================
   4. PRÉLOADER
   ============================================================ */

#preloader {
  position: fixed;
  inset: 0;
  background: var(--anthracite);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.preloader-bar {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0 auto;
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--bleu), var(--bleu-vif));
  animation: preloadBar 1.8s var(--ease-out) forwards;
}

@keyframes preloadBar {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}


/* ============================================================
   5. NAVBAR
   ============================================================ */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease),
              padding var(--dur-med) var(--ease);
}

/* État transparent (en haut de page) */
#navbar.nav-transparent .nav-container {
  background: transparent;
}

#navbar.nav-transparent .nav-link {
  color: rgba(255,255,255,0.85);
}

#navbar.nav-transparent .nav-logo {
  color: var(--blanc-pur);
}

/* État solide (au scroll) */
#navbar.nav-scrolled .nav-container {
  background: var(--anthracite);
  box-shadow: 0 2px 30px rgba(0,0,0,0.25);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

#navbar.nav-scrolled .nav-link {
  color: rgba(255,255,255,0.75);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.4rem var(--gutter);
  transition: padding var(--dur-med) var(--ease);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity var(--dur-fast);
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Menu desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-corps);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--bleu);
  transition: width var(--dur-med) var(--ease);
}

.nav-link:hover {
  color: var(--blanc-pur);
}

.nav-link:hover::after {
  width: 60%;
}

/* Burger mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--blanc-pur);
  transition: all var(--dur-med) var(--ease);
  transform-origin: center;
}

.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--anthracite);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), visibility var(--dur-med);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.mobile-nav-link {
  font-family: var(--font-titre);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--blanc-pur);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast);
}

.mobile-nav-link:hover {
  color: var(--bleu);
}

.mobile-cta {
  margin-top: 1rem;
}

.nav-cta {
  flex-shrink: 0;
}


/* ============================================================
   6. HERO
   ============================================================ */

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Slides */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s var(--ease), transform 8s linear;
  /* Fallback gradient si image absente */
  background-color: #1a1a1a;
}

/* Fallback gradients pour chaque slide */
.hero-slide:nth-child(1) { background-image: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%), url('assets/images/hero-1.jpg'); }
.hero-slide:nth-child(2) { background-image: linear-gradient(135deg, #0d1a35 0%, #1a2d50 100%), url('assets/images/hero-2.jpg'); }
.hero-slide:nth-child(3) { background-image: linear-gradient(135deg, #0a1020 0%, #162038 100%), url('assets/images/hero-3.jpg'); }

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Overlay hero */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(15, 15, 15, 0.80) 0%,
    rgba(15, 15, 15, 0.50) 55%,
    rgba(15, 15, 15, 0.30) 100%
  );
}

/* Ligne décorative gauche */
.hero-line-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--bleu) 30%, var(--bleu-vif) 70%, transparent);
  z-index: 2;
}

/* Contenu hero */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 80px;
}

.hero-content .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Label hero */
.hero-label {
  display: inline-block;
  font-family: var(--font-corps);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gris-marque);
  margin-bottom: 1.4rem;
  padding-left: 2.5rem;
  position: relative;
}

.hero-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1px;
  background: var(--bleu-vif);
}

/* Titre hero */
.hero-title {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--blanc-pur);
  line-height: 1.1;
  margin-bottom: 1.6rem;
  max-width: 780px;
}

.hero-title .reveal-line {
  display: block;
}

.hero-title .accent-line {
  color: var(--gris-marque);
  font-style: italic;
}

/* Texte support */
.hero-sub {
  font-size: 1.05rem;
  color: rgba(248, 246, 242, 0.75);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 2.4rem;
  font-weight: 300;
}

/* CTA hero */
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Badges hero */
.hero-badges {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.2rem 2rem;
  width: fit-content;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.8rem;
}

.hero-badge:first-child {
  padding-left: 0;
}

.hero-badge:last-child {
  padding-right: 0;
}

.badge-num {
  font-family: var(--font-titre);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gris-marque);
  line-height: 1;
}

.badge-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(248,246,242,0.65);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.hero-badge-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* Navigation slider */
.hero-nav {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.6rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: all var(--dur-med) var(--ease);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--bleu);
  width: 28px;
  border-radius: 4px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.scroll-text {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.4; }
}


/* ============================================================
   7. INTRO
   ============================================================ */

#intro {
  padding: var(--section-pad) 0;
  background: var(--blanc-pur);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.intro-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intro-body {
  font-size: 1.05rem;
  color: var(--gris-texte);
  line-height: 1.85;
  max-width: 500px;
}

.intro-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0.5rem 0;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--anthracite-mid);
}

.pillar-icon {
  width: 22px;
  height: 22px;
  color: var(--bleu);
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

/* Bloc image intro */
.intro-image-block {
  position: relative;
}

.intro-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.intro-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
  /* Fallback gradient */
  background: linear-gradient(135deg, #2d3a4a 0%, #1a242e 100%);
  min-height: 400px;
}

.intro-image-wrap:hover .intro-img {
  transform: scale(1.03);
}

/* Badge flottant */
.intro-image-badge {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--anthracite);
  color: var(--blanc-pur);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
}

.ib-num {
  font-family: var(--font-titre);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bleu-vif);
  line-height: 1;
}

.ib-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gris-clair);
  text-align: center;
  margin-top: 0.3rem;
}

/* Éléments décoratifs */
.intro-deco-line {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 80px;
  height: 80px;
  border-top: 2px solid #cda301;
  border-right: 2px solid #cda301;
  border-radius: 0 var(--radius-sm) 0 0;
}

.intro-deco-dot {
  position: absolute;
  bottom: 3.5rem;
  right: -3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cda301;
  box-shadow: 0 0 0 6px #f3edd4;
}


/* ============================================================
   8. STATS
   ============================================================ */

#stats {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: var(--anthracite);
  z-index: 0;
}

/* Texture subtile */
.stats-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0,58,204,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(13,31,223,0.06) 0%, transparent 60%);
}

#stats .container {
  position: relative;
  z-index: 1;
}

.stats-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.stat-card {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background var(--dur-med) var(--ease);
}

.stat-card:last-child {
  border-right: none;
}

.stat-card:hover {
  background: rgba(255,255,255,0.03);
}

.stat-num {
  display: block;
  font-family: var(--font-titre);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--or);
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.stat-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blanc-pur);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--gris-clair);
  line-height: 1.6;
  max-width: 160px;
}


/* ============================================================
   9. EXPERTISES
   ============================================================ */

#expertises {
  padding: var(--section-pad) 0;
  background: var(--gris-section);
}

.expertises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.expertise-card {
  background: var(--blanc-pur);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--dur-med) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bleu), var(--bleu-vif));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease);
}

.expertise-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: rgba(0,58,204,0.12);
}

.expertise-card:hover::before {
  transform: scaleX(1);
}

.expertise-icon {
  width: 52px;
  height: 52px;
  color: var(--bleu);
  transition: transform var(--dur-med) var(--ease), color var(--dur-fast);
}

.expertise-icon svg {
  width: 100%;
  height: 100%;
}

.expertise-card:hover .expertise-icon {
  transform: scale(1.1);
  color: var(--bleu-vif);
}

.expertise-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--anthracite);
  line-height: 1.25;
}

.expertise-desc {
  font-size: 0.9rem;
  color: var(--gris-texte);
  line-height: 1.75;
  flex: 1;
}

.expertise-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bleu);
  transition: gap var(--dur-fast), color var(--dur-fast);
  margin-top: auto;
}

.expertise-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast) var(--ease);
}

.expertise-link:hover {
  color: var(--anthracite);
  gap: 0.7rem;
}

.expertise-link:hover svg {
  transform: translateX(3px);
}


/* ============================================================
   10. PROJETS
   ============================================================ */

#projets {
  padding: var(--section-pad) 0;
  background: var(--blanc-pur);
}

/* Filtres */
.projets-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font-corps);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  border: 1.5px solid var(--gris-doux);
  color: var(--gris-texte);
  background: transparent;
  transition: all var(--dur-fast) var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--anthracite);
  color: var(--blanc-pur);
  border-color: var(--anthracite);
}

/* Grille projets */
.projets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.projet-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  background: var(--blanc-pur);
  transition: box-shadow var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}

.projet-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.projet-card.hidden {
  display: none;
}

/* Image projet */
.projet-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.projet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
  /* Fallback */
  background: linear-gradient(135deg, #2a3a4a 0%, #1a2530 100%);
}

.projet-card:hover .projet-img {
  transform: scale(1.06);
}

/* Overlay projet */
.projet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,15,15,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}

.projet-card:hover .projet-overlay {
  opacity: 1;
}

.projet-overlay-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bleu);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc-pur);
  transform: scale(0.8);
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-fast);
}

.projet-overlay-btn svg {
  width: 20px;
  height: 20px;
}

.projet-card:hover .projet-overlay-btn {
  transform: scale(1);
}

.projet-overlay-btn:hover {
  background: var(--bleu-vif);
}

/* Catégorie badge */
.projet-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--anthracite);
  color: var(--gris-marque);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

/* Infos projet */
.projet-info {
  padding: 1.5rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.projet-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--anthracite);
  line-height: 1.3;
}

.projet-loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--bleu);
  font-weight: 500;
}

.projet-loc svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.projet-desc {
  font-size: 0.88rem;
  color: var(--gris-texte);
  line-height: 1.65;
}

.projets-cta {
  text-align: center;
}


/* ============================================================
   11. PROCESS
   ============================================================ */

#process {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.process-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0d1220 0%, #1a1a2e 100%);
  z-index: 0;
}

.process-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(0,58,204,0.07) 0%, transparent 60%);
}

#process .container {
  position: relative;
  z-index: 1;
}

/* Timeline desktop */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 1rem;
  position: relative;
}

/* Ligne horizontale de connexion */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 2.8rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, var(--bleu), var(--bleu-vif), var(--bleu));
  opacity: 0.35;
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.step-number {
  font-family: var(--font-titre);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--or);
  margin-bottom: 0.4rem;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,58,204,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bleu-vif);
  margin-bottom: 1.5rem;
  transition: all var(--dur-med) var(--ease);
  position: relative;
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0,58,204,0.18);
  transition: opacity var(--dur-med);
}

.process-step:hover .step-icon {
  background: rgba(0,58,204,0.15);
  border-color: var(--bleu);
  transform: scale(1.1);
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blanc-pur);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.83rem;
  color: rgba(248,246,242,0.55);
  line-height: 1.7;
}

.step-connector {
  display: none;
}


/* ============================================================
   12. ENGAGEMENTS
   ============================================================ */

#engagements {
  padding: var(--section-pad) 0;
  background: var(--blanc);
}

.engagements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.engagement-block {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--gris-doux);
  position: relative;
  transition: background var(--dur-med) var(--ease);
}

.engagement-block:last-child {
  border-right: none;
}

.engagement-block:hover {
  background: var(--blanc-pur);
}

.eng-num {
  font-family: var(--font-corps);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(0,58,204,0.3);
  margin-bottom: 1.5rem;
}

.eng-icon {
  width: 44px;
  height: 44px;
  color: var(--bleu);
  margin-bottom: 1.2rem;
  transition: transform var(--dur-med) var(--ease), color var(--dur-fast);
}

.eng-icon svg {
  width: 100%;
  height: 100%;
}

.engagement-block:hover .eng-icon {
  transform: scale(1.1) rotate(-5deg);
  color: var(--bleu-vif);
}

.eng-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--anthracite);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.eng-desc {
  font-size: 0.88rem;
  color: var(--gris-texte);
  line-height: 1.75;
}

/* Ligne décorative top on hover */
.engagement-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--bleu), var(--bleu-vif));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease);
}

.engagement-block:hover::before {
  transform: scaleX(1);
}


/* ============================================================
   13. TÉMOIGNAGES
   ============================================================ */

#temoignages {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.temoignages-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #0d1220 0%, #1A1A2E 60%, #0d1220 100%);
}

#temoignages .container {
  position: relative;
  z-index: 1;
}

.temoignages-slider-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.temoignages-slider {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.temoignage-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  pointer-events: none;
}

.temoignage-item.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.temoignage-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3.5rem 3rem;
  position: relative;
}

.temoignage-quote {
  position: absolute;
  top: 1.5rem;
  right: 3rem;
  font-family: var(--font-titre);
  font-size: 7rem;
  color: rgba(0,58,204,0.15);
  line-height: 1;
  pointer-events: none;
}

.temoignage-text {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(248,246,242,0.88);
  line-height: 1.75;
  margin-bottom: 2rem;
  quotes: none;
}

.temoignage-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bleu);
  color: var(--blanc-pur);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blanc-pur);
}

.author-role {
  display: block;
  font-size: 0.78rem;
  color: var(--gris-clair);
  margin-top: 0.2rem;
}

/* Contrôles slider */
.temoignages-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.temo-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: all var(--dur-fast) var(--ease);
}

.temo-btn svg {
  width: 18px;
  height: 18px;
}

.temo-btn:hover {
  border-color: var(--bleu);
  color: var(--bleu);
  background: rgba(0,58,204,0.08);
}

.temo-dots {
  display: flex;
  gap: 0.5rem;
}

.temo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all var(--dur-med) var(--ease);
}

.temo-dot.active {
  background: var(--bleu);
  width: 20px;
  border-radius: 3px;
}


/* ============================================================
   14. ACTUALITÉS
   ============================================================ */

#actualites {
  padding: var(--section-pad) 0;
  background: var(--gris-section);
}

.actu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.actu-card {
  background: var(--blanc-pur);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
  display: flex;
  flex-direction: column;
}

.actu-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.actu-img-link {
  display: block;
}

.actu-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.actu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
  /* Fallback */
  background: linear-gradient(135deg, #2a3a4a 0%, #1a2530 100%);
}

.actu-card:hover .actu-img {
  transform: scale(1.05);
}

.actu-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--or);
  color: var(--blanc-pur);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

.actu-body {
  padding: 1.8rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.actu-date {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gris-clair);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.actu-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--anthracite);
  line-height: 1.35;
}

.actu-title a {
  transition: color var(--dur-fast);
}

.actu-title a:hover {
  color: var(--bleu);
}

.actu-excerpt {
  font-size: 0.88rem;
  color: var(--gris-texte);
  line-height: 1.7;
  flex: 1;
}

.actu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--or);
  margin-top: 0.3rem;
  transition: gap var(--dur-fast);
}

.actu-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-fast) var(--ease);
}

.actu-link:hover {
  gap: 0.7rem;
}

.actu-link:hover svg {
  transform: translateX(3px);
}


/* ============================================================
   15. CTA FINAL
   ============================================================ */

#cta-final {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, #060d22 0%, #0d1840 50%, #060d22 100%),
    url('assets/images/cta-bg.jpg') center/cover;
  background-blend-mode: multiply;
}

/* Effet grain subtil */
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 100% 60% at 50% 50%, rgba(0,58,204,0.18) 0%, transparent 70%);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10,10,10,0.5);
}

#cta-final .container {
  position: relative;
  z-index: 2;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 600;
  color: var(--blanc-pur);
  line-height: 1.1;
  max-width: 680px;
  text-align: center;
}

.cta-sub {
  font-size: 1.05rem;
  color: rgba(248,246,242,0.65);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}


/* ============================================================
   16. FOOTER
   ============================================================ */

#footer {
  background: #111111;
  color: rgba(248,246,242,0.7);
}

.footer-top {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
}

/* Colonne brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gris-marque);
  line-height: 1.5;
}

.footer-about {
  font-size: 0.88rem;
  color: rgba(248,246,242,0.55);
  line-height: 1.8;
  max-width: 340px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--dur-fast) var(--ease);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  border-color: var(--bleu);
  color: var(--bleu);
  background: rgba(0,58,204,0.08);
}

/* Colonnes liens */
.footer-col-title {
  font-family: var(--font-corps);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blanc-pur);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(248,246,242,0.55);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}

.footer-links a:hover {
  color: var(--gris-marque);
  padding-left: 4px;
}

/* Colonne contact */
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: rgba(248,246,242,0.55);
}

.contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--bleu);
  margin-top: 2px;
}

.contact-item a {
  transition: color var(--dur-fast);
}

.contact-item a:hover {
  color: var(--gris-marque);
}

/* Footer bottom */
.footer-bottom {
  padding: 1.5rem 0;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(248,246,242,0.3);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy a {
  color: rgba(248,246,242,0.4);
  transition: color var(--dur-fast);
}

.footer-copy a:hover {
  color: var(--gris-marque);
}

.footer-sep {
  color: rgba(255,255,255,0.12);
}


/* ============================================================
   17. ANIMATIONS & UTILITAIRES
   ============================================================ */

/* Classes de révélation au scroll */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lignes hero animées */
.reveal-line {
  opacity: 0;
  transform: translateY(20px);
  animation: revealLine var(--dur-slow) var(--ease-out) forwards;
}

.hero-label.reveal-line    { animation-delay: 0.3s; }
.hero-title .reveal-line:nth-child(1) { animation-delay: 0.55s; }
.hero-title .reveal-line:nth-child(2) { animation-delay: 0.75s; }
.hero-title .reveal-line:nth-child(3) { animation-delay: 0.95s; }
.hero-sub.reveal-line      { animation-delay: 1.15s; }
.hero-cta.reveal-line      { animation-delay: 1.35s; }
.hero-badges.reveal-line   { animation-delay: 1.55s; }

@keyframes revealLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lazy load fade */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Scrollbar discrète */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--anthracite);
}

::-webkit-scrollbar-thumb {
  background: var(--bleu);
  border-radius: 3px;
}

/* Focus visible pour accessibilité */
:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   18. RESPONSIVE
   ============================================================ */

/* Tablette large — 1200px */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-card:nth-child(4),
  .stat-card:nth-child(5) {
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .stat-card:nth-child(3) {
    border-right: none;
  }

  .stat-card:nth-child(4) {
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  .engagements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .engagement-block:nth-child(2) {
    border-right: none;
  }

  .engagement-block:nth-child(3),
  .engagement-block:nth-child(4) {
    border-top: 1px solid var(--gris-doux);
  }
}

/* Tablette — 1024px */
@media (max-width: 1024px) {
  .expertises-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }

  .intro-grid {
    gap: 3rem;
  }

  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    padding: 0;
  }

  .actu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .actu-card:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Tablette portrait — 768px */
@media (max-width: 768px) {
  /* Navbar */
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  /* Hero */
  .hero-sub br {
    display: none;
  }

  .hero-badges {
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 1rem 1.5rem;
  }

  .hero-badge-sep {
    display: none;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Intro */
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-image-block {
    order: -1;
  }

  .intro-image-badge {
    left: 1rem;
    bottom: 1rem;
  }

  .intro-deco-line,
  .intro-deco-dot {
    display: none;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-card {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .stat-card:nth-child(even) {
    border-right: none;
  }

  .stat-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  /* Expertises */
  .expertises-grid {
    grid-template-columns: 1fr;
  }

  /* Projets */
  .projets-grid {
    grid-template-columns: 1fr;
  }

  .projets-filters {
    gap: 0.4rem;
  }

  /* Process — vertical */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-left: 2rem;
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
  }

  .process-step::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 60px;
    bottom: -3rem;
    width: 1px;
    background: rgba(0,58,204,0.25);
  }

  .process-step:last-child::before {
    display: none;
  }

  .step-number {
    position: absolute;
    top: -1rem;
    left: 0;
  }

  .step-icon {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .step-content {
    padding-top: 0.6rem;
  }

  /* Engagements */
  .engagements-grid {
    grid-template-columns: 1fr;
  }

  .engagement-block {
    border-right: none;
    border-bottom: 1px solid var(--gris-doux);
    padding: 2.5rem 1.5rem;
  }

  .engagement-block:last-child {
    border-bottom: none;
  }

  /* Témoignages */
  .temoignage-card {
    padding: 2rem 1.5rem 1.8rem;
  }

  .temoignage-quote {
    font-size: 5rem;
    top: 1rem;
    right: 1.5rem;
  }

  /* Actualités */
  .actu-grid {
    grid-template-columns: 1fr;
  }

  .actu-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-copy {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .footer-sep {
    display: none;
  }

  /* CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  :root {
    --gutter: 1.2rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .temoignage-text {
    font-size: 1.05rem;
  }

  .expertise-card {
    padding: 2rem 1.5rem;
  }

  .engagement-block::before {
    left: 1.5rem;
    right: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .stat-card:last-child {
    border-bottom: none;
  }
}
