/* ============================================
   EMK TP - Feuille de style principale
   Palette BTP : orange chantier + anthracite
   ============================================ */

:root {
  --color-primary: #EA580C;         /* Orange BTP */
  --color-primary-dark: #C2410C;
  --color-primary-light: #FB923C;
  --color-secondary: #1E293B;       /* Anthracite */
  --color-secondary-light: #334155;
  --color-accent: #F59E0B;          /* Jaune signalisation */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-bg-dark: #0F172A;
  --color-text: #1E293B;
  --color-text-light: #64748B;
  --color-text-inverse: #FFFFFF;
  --color-border: #E2E8F0;

  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --container: 1240px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.18);
  --shadow-orange: 0 10px 30px rgba(234, 88, 12, 0.35);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Menu sticky ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-secondary);
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.05); }

.site-footer .brand-logo {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}

.brand-name { line-height: 1; }
.brand-name small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--color-text-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 22px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: var(--shadow-orange);
}

.header-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-secondary);
  color: #fff;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: var(--transition);
}
.burger span::before,
.burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }

.burger.open span                { background: transparent; }
.burger.open span::before        { transform: rotate(45deg); top: 0; }
.burger.open span::after         { transform: rotate(-45deg); top: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(234, 88, 12, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: #fff;
  color: var(--color-secondary);
  border-color: #fff;
}

.btn-dark {
  background: var(--color-secondary);
  color: #fff;
}
.btn-dark:hover {
  background: var(--color-secondary-light);
  transform: translateY(-3px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.75));
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 1080'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%231E293B'/><stop offset='1' stop-color='%230F172A'/></linearGradient><pattern id='p' width='60' height='60' patternUnits='userSpaceOnUse'><path d='M0 30 L60 30 M30 0 L30 60' stroke='%23334155' stroke-width='0.5' opacity='0.35'/></pattern></defs><rect width='1920' height='1080' fill='url(%23g)'/><rect width='1920' height='1080' fill='url(%23p)'/><circle cx='1500' cy='300' r='400' fill='%23EA580C' opacity='0.12'/><circle cx='300' cy='800' r='300' fill='%23F59E0B' opacity='0.08'/></svg>") center/cover;
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.4);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero h1 {
  color: #fff;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 560px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: floaty 6s ease-in-out infinite;
  overflow: hidden;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-card svg,
.hero-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.badge-floating {
  position: absolute;
  background: #fff;
  color: var(--color-secondary);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}

.badge-floating .badge-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(234, 88, 12, 0.15);
  color: var(--color-primary);
  display: grid; place-items: center;
  font-size: 1.2rem;
}

.badge-1 { top: -20px; left: -30px; animation-delay: 0s; }
.badge-2 { bottom: 30px; right: -30px; animation-delay: 2.5s; }

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

.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-bg-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(234, 88, 12, 0.1);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-head h2 { margin-bottom: 16px; }
.section-head p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

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

.service-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

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

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(245, 158, 11, 0.1));
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  transform: rotate(-6deg);
}

.service-icon svg { width: 30px; height: 30px; }

.service-card h3 { margin-bottom: 12px; }

.service-card p {
  color: var(--color-text-light);
  margin-bottom: 20px;
  font-size: 0.98rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  padding: 5px 12px;
  background: var(--color-bg-alt);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ---------- Split section (À propos preview) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-visual svg,
.split-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.split-content h2 { margin-bottom: 24px; }
.split-content p { color: var(--color-text-light); margin-bottom: 20px; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.1);
  color: var(--color-primary);
  display: grid; place-items: center;
  font-weight: 800;
}

.feature-item strong { display: block; margin-bottom: 4px; }
.feature-item span { color: var(--color-text-light); font-size: 0.95rem; }

/* ---------- Réalisations / Gallerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item svg,
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; display: block; }
.gallery-item:hover svg,
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }

.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }

/* ---------- CTA bandeau ---------- */
.cta-band {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M0 50 L100 50 M50 0 L50 100' stroke='%23fff' stroke-width='0.3' opacity='0.15'/></svg>") repeat;
  background-size: 40px 40px;
  opacity: 0.4;
}

.cta-band .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { opacity: 0.9; margin-top: 12px; }

/* ---------- Bandeau image plein largeur ---------- */
.banner-image {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.banner-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.65) 50%, rgba(15,23,42,0.4) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 24px;
}

.banner-content h2 {
  color: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.banner-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
}

@media (max-width: 768px) {
  .banner-image { min-height: 380px; }
  .banner-content { padding: 60px 20px; }
}

/* ---------- Réalisations page ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

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

.project-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.project-media svg,
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.project-card:hover .project-media svg,
.project-card:hover .project-media img { transform: scale(1.06); }

.project-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-body {
  padding: 24px;
}

.project-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.project-body p { color: var(--color-text-light); font-size: 0.92rem; }

/* ---------- Timeline (À propos) ---------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-item:nth-child(odd)  { margin-left: 0; text-align: right; }
.timeline-item:nth-child(even) { margin-left: 50%; }

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 4px solid #fff;
  box-shadow: var(--shadow-orange);
}

.timeline-item:nth-child(odd)::before  { right: -9px; }
.timeline-item:nth-child(even)::before { left: -9px; }

.timeline-year {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.timeline-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.timeline-item p { color: var(--color-text-light); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info {
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.3), transparent 70%);
  border-radius: 50%;
}

.contact-info h3 { color: #fff; margin-bottom: 8px; }
.contact-info > p { opacity: 0.8; margin-bottom: 30px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(234, 88, 12, 0.2);
  color: var(--color-primary-light);
  display: grid; place-items: center;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-item strong { display: block; margin-bottom: 3px; font-size: 0.85rem; opacity: 0.7; letter-spacing: 0.05em; text-transform: uppercase; }
.contact-item a, .contact-item span { color: #fff; font-size: 1rem; font-weight: 500; }
.contact-item a:hover { color: var(--color-primary-light); }

.socials {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  position: relative;
}

.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  color: #fff;
  transition: var(--transition);
}
.socials a:hover { background: var(--color-primary); transform: translateY(-3px); }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

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

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--color-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: #fff;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: rgba(255, 255, 255, 0.5); }

.site-footer p { font-size: 0.92rem; margin-bottom: 16px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { transition: var(--transition); font-size: 0.92rem; }
.site-footer a:hover { color: var(--color-primary-light); padding-left: 5px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* ---------- Animations au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* ---------- Page header (intérieur) ---------- */
.page-hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-bg-dark));
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M0 50 L100 50' stroke='%23EA580C' stroke-width='0.3' opacity='0.3'/></svg>") repeat;
  background-size: 60px 60px;
  opacity: 0.4;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 24px;
  position: relative;
}

.breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.breadcrumb a:hover { color: var(--color-primary-light); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-inner,
  .split,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero-visual { max-width: 500px; margin: 0 auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gi-wide { grid-column: span 1; }

  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 60px;
    text-align: left;
  }
  .timeline-item::before,
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: 11px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .nav-list, .header-cta { display: none; }
  .burger { display: flex; }
  .site-nav.mobile-open {
    display: flex;
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--color-border);
  }
  .site-nav.mobile-open .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }
  .site-nav.mobile-open .nav-link {
    padding: 14px 20px;
    border-radius: 10px;
  }
  .site-nav.mobile-open .nav-link:hover,
  .site-nav.mobile-open .nav-link.active {
    background: rgba(234, 88, 12, 0.08);
  }
  .site-nav.mobile-open .header-cta {
    display: inline-flex;
    margin-top: 12px;
    justify-content: center;
  }

  .section { padding: 70px 0; }
  .page-hero { padding: 140px 0 70px; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .stat-num { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .badge-floating { display: none; }

  .cta-band .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gi-tall { grid-row: span 1; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
}
