﻿/* ============================================================
   HARELS SA — Feuille de styles principale
   ============================================================ */

/* ---- Variables ------------------------------------------- */
:root {
  --red:          #C8102E;
  --red-dark:     #A00C24;
  --red-light:    #E8213F;
  --black:        #111111;
  --dark:         #1C1C1C;
  --gray-dark:    #3D3D3D;
  --gray:         #6B6B6B;
  --gray-medium:  #AAAAAA;
  --gray-light:   #E8E8E8;
  --bg-light:     #F6F6F6;
  --white:        #FFFFFF;

  --font-head:    'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-h:        80px;
  --radius:       4px;
  --radius-lg:    8px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow:       0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.16);
  --transition:   .25s ease;
}

/* ---- Reset & base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
section, header, footer, nav, div { max-width: 100%; }
section, header, footer, nav { overflow-x: clip; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ----------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { line-height: 1.75; color: var(--gray-dark); }

/* ---- Layout helpers ------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 120px 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 56px;
}

.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto 56px; }

.text-red { color: var(--red); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }

.bg-dark   { background-color: var(--dark); }
.bg-black  { background-color: var(--black); }
.bg-light  { background-color: var(--bg-light); }
.bg-red    { background-color: var(--red); }

/* ---- Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,16,46,.35);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline-dark {
  border: 2px solid var(--dark);
  color: var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-outline-red {
  border: 2px solid var(--red);
  color: var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}

.btn i { font-size: .875rem; }

/* ---- Navigation ----------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--gray-light);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-dark);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: .02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.nav-cta {
  margin-left: 12px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  padding: 15px 4px;
  border-bottom: 1px solid var(--gray-light);
  transition: color .2s, padding-left .2s;
}
.nav-mobile a:hover { color: var(--red); padding-left: 8px; }
.nav-mobile a.btn { border-bottom: none; color: var(--white); padding-left: 24px; }
.nav-mobile .btn {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: .9rem;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  border: none;
  letter-spacing: .06em;
}

/* ---- Page hero (internal pages) ------------------------- */
.page-hero {
  height: 500px;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background-color: var(--black);
  background-size: cover;
  background-position: center 30%;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 0;
  border-left: 120px solid transparent;
  border-bottom: 60px solid var(--white);
}
.page-hero .container { position: relative; z-index: 1; text-align: left; }
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.page-hero-label::before {
  display: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: var(--gray-medium); max-width: 580px; font-size: 1.05rem; }

/* ---- Breadcrumb ----------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--gray-medium);
  margin-bottom: 24px;
  font-family: var(--font-head);
  font-weight: 500;
}
.breadcrumb a { color: var(--gray-medium); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb i { font-size: .65rem; }

/* ---- Hero (homepage) ------------------------------------ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(200,16,46,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,16,46,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(200,16,46,.08) 100%);
  pointer-events: none;
}

.hero-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-right: 200px solid transparent;
  border-bottom: 100px solid rgba(200,16,46,.15);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,16,46,.15);
  border: 1px solid rgba(200,16,46,.3);
  color: var(--red-light);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.hero-badge i { font-size: .7rem; }

/* Hero inline stats */
.hero-stats-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 24px;
}
.hsi-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 20px 0 0;
}
.hsi-item:first-child { padding-left: 0; }
.hsi-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hsi-label {
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.hsi-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.2);
  margin: 0 20px 0 0;
  flex-shrink: 0;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 800;
}

.hero h1 .accent-line {
  display: block;
  position: relative;
  width: fit-content;
}
.hero h1 .accent-line::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0;
  width: 100%; height: 4px;
  background: var(--red);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-medium);
  max-width: 520px;
  margin: 20px 0 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-medium);
  font-size: .7rem;
  font-family: var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll i { font-size: 1.2rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ---- Stats bar ------------------------------------------ */
.stats-bar {
  background: var(--red);
  padding: 40px 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.qual-icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,.9);
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-item:last-child { border-right: none; }
.stat-item .stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .stat-label {
  display: block;
  font-size: .78rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-bottom: 6px;
}
.stat-item .stat-sub {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  font-weight: 400;
}

/* ---- Service cards -------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}

/* 7-card grid — 3 cols, last card centered */
.services-grid--7 {
  grid-template-columns: repeat(3, 1fr);
}
.services-grid--7 .service-card--center {
  grid-column: 2;
}

/* ============================================================
   SECTION EXPERTISES — redesign dark premium
   ============================================================ */
.exp-section {
  background: var(--white);
  padding: 96px 0;
}

.exp-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.exp-header .section-label { color: var(--red); }
.exp-header .section-title { color: var(--black); }
.exp-header .section-subtitle { color: var(--gray); }
.exp-header-cta { flex-shrink: 0; }

.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

/* Wide card (7th) spans full width */
.exp-card--wide {
  grid-column: 1 / -1;
}

.exp-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #161616;
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.exp-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--red);
  transition: width .4s ease;
}
.exp-card:hover {
  background: #1e1e1e;
  border-color: rgba(200,16,46,.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.exp-card:hover::after { width: 100%; }

/* Background number watermark */
.exp-num {
  position: absolute;
  top: -12px; right: 20px;
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 800;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Icon */
.exp-icon-wrap {
  flex-shrink: 0;
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,16,46,.12);
  border: 1px solid rgba(200,16,46,.2);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition);
}
.exp-icon-wrap svg {
  width: 36px;
  height: 36px;
  stroke: var(--red-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.exp-card:hover .exp-icon-wrap {
  background: var(--red);
  border-color: var(--red);
}
.exp-card:hover .exp-icon-wrap svg {
  stroke: var(--white);
}
.exp-icon-wrap svg .fill {
  fill: rgba(200,16,46,.2);
  stroke: none;
}
.exp-card:hover .exp-icon-wrap svg .fill {
  fill: rgba(255,255,255,.25);
}

/* Body */
.exp-body { flex: 1; }
.exp-body h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.exp-body p {
  color: rgba(255,255,255,.45);
  font-size: .875rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Tags */
.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.exp-tags span {
  font-size: .7rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 3px 9px;
  border-radius: 2px;
}
.exp-card:hover .exp-tags span {
  color: rgba(200,16,46,.8);
  background: rgba(200,16,46,.08);
  border-color: rgba(200,16,46,.2);
}

/* Arrow */
.exp-arrow {
  flex-shrink: 0;
  align-self: center;
  color: rgba(255,255,255,.15);
  font-size: .9rem;
  transition: color var(--transition), transform var(--transition);
}
.exp-card:hover .exp-arrow {
  color: var(--red-light);
  transform: translateX(4px);
}

.service-card {
  background: var(--white);
  padding: 40px 32px;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--red);
  transition: width .35s ease;
}
.service-card:hover { box-shadow: var(--shadow); z-index: 1; }
.service-card:hover::before { width: 100%; }

.service-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,16,46,.08);
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 1.4rem;
  color: var(--red);
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: var(--red);
  color: var(--white);
}

.service-card h3 { margin-bottom: 12px; font-size: 1rem; }
.service-card p  { font-size: .9rem; line-height: 1.7; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .04em;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ---- About services list -------------------------------- */
.about-services-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-svc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
}
.about-svc-item:hover {
  background: rgba(200,16,46,.1);
  border-color: rgba(200,16,46,.25);
}
.about-svc-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,16,46,.12);
  border-radius: 6px;
}
.about-svc-icon svg {
  width: 20px; height: 20px;
  stroke: var(--red-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-svc-item span {
  flex: 1;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
}
.about-svc-item:hover span { color: var(--white); }
.about-svc-arrow {
  color: rgba(255,255,255,.2);
  font-size: .75rem;
  transition: transform var(--transition), color var(--transition);
}
.about-svc-item:hover .about-svc-arrow {
  color: var(--red-light);
  transform: translateX(3px);
}

/* ---- Project cards -------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.video-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

/* Réalisations — custom video player */
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  z-index: 2;
  transition: opacity .3s ease;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
  transition: transform .2s ease, background .2s ease;
  pointer-events: none;
}
.video-play-btn i {
  color: #fff;
  font-size: 1.4rem;
  margin-left: 4px;
}
.video-frame:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--red-dark);
}
.video-frame.playing .video-thumb,
.video-frame.playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  background: #000;
}
.video-frame iframe,
.video-frame video,
.video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.harels-video {
  width: 100%;
  height: 100%;
  display: block;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-img {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.project-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
}
.project-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
}

.project-img-placeholder i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: rgba(255,255,255,.15);
  z-index: 1;
}

.project-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}

.project-body {
  padding: 24px;
}

.project-body h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--gray-medium);
  font-family: var(--font-head);
  font-weight: 500;
}
.project-location i { font-size: .7rem; color: var(--red); }

/* ---- Placeholders couleurs projets ---------------------- */
.ph-1  { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.ph-2  { background: linear-gradient(135deg, #1f2b3a 0%, #2d3e50 100%); }
.ph-3  { background: linear-gradient(135deg, #1e2433 0%, #2a3547 100%); }
.ph-4  { background: linear-gradient(135deg, #1c1c1c 0%, #2e2e2e 100%); }
.ph-5  { background: linear-gradient(135deg, #241717 0%, #3d2020 100%); }
.ph-6  { background: linear-gradient(135deg, #141a20 0%, #1e2836 100%); }
.ph-7  { background: linear-gradient(135deg, #1a1a1a 0%, #282828 100%); }
.ph-8  { background: linear-gradient(135deg, #0f1c14 0%, #1a2e20 100%); }
.ph-9  { background: linear-gradient(135deg, #1e1a10 0%, #2e2a18 100%); }

/* ---- About strip ---------------------------------------- */
.about-strip {
  background: var(--dark);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.about-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
}
.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.about-strip .section-label { color: rgba(200,16,46,.9); }
.about-strip h2, .about-strip h3 { color: var(--white); }
.about-strip p { color: rgba(255,255,255,.65); }

.values-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.value-mini-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.value-mini-item i {
  color: var(--red);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.value-mini-item span {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.4;
}

/* ---- Process steps -------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: var(--gray-light);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.process-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  color: var(--gray-dark);
  transition: all var(--transition);
}
.process-step.active .process-icon-wrap,
.process-step:hover .process-icon-wrap {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.process-num {
  position: absolute;
  top: -4px; right: calc(50% - 32px);
  width: 18px; height: 18px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.process-step p {
  font-size: .78rem;
  color: var(--gray);
}

/* ---- CTA band ------------------------------------------- */
.cta-band {
  background: var(--red);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-top: 80px solid rgba(255,255,255,.08);
  border-left: 200px solid transparent;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p  { color: rgba(255,255,255,.8); max-width: 500px; }
.cta-band .btn-outline { flex-shrink: 0; }

/* ---- Values grid ---------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.value-card {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 3px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: box-shadow var(--transition);
}
.value-card:hover { box-shadow: var(--shadow); }

.value-icon {
  width: 48px; height: 48px;
  background: rgba(200,16,46,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.value-card h3 { font-size: 1rem; margin-bottom: 10px; }
.value-card p  { font-size: .875rem; }

/* ---- Service full list (services page) ------------------ */
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-light);
}
.service-row:last-child { border-bottom: none; }

.service-row-icon {
  width: 80px; height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,16,46,.08);
  border-radius: var(--radius-lg);
  color: var(--red);
  font-size: 2rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.service-row:hover .service-row-icon {
  background: var(--red);
  color: var(--white);
}

.service-row-body h3 { margin-bottom: 10px; }
.service-row-body p  { font-size: .95rem; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--gray-dark);
  background: var(--bg-light);
  border: 1px solid var(--gray-light);
  padding: 4px 12px;
  border-radius: 100px;
}
.service-tag i { font-size: .65rem; color: var(--red); }

/* ---- Portfolio grid ------------------------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-img {
  height: 260px;
  position: relative;
  overflow: hidden;
}
.portfolio-img-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s ease;
}
.portfolio-card:hover .portfolio-img-inner {
  transform: scale(1.04);
}
.portfolio-img-inner i {
  font-size: 3rem;
  color: rgba(255,255,255,.12);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 1;
  transition: opacity var(--transition);
}

.portfolio-info h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.portfolio-info .location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  font-family: var(--font-head);
}
.portfolio-info .location i { font-size: .65rem; color: var(--red); }

.portfolio-cat {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(0,0,0,.7);
  color: var(--white);
  font-size: .7rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* ---- Contact page --------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(200,16,46,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1rem;
}
.contact-detail-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  margin-bottom: 2px;
}
.contact-detail-text span, .contact-detail-text a {
  font-size: .95rem;
  color: var(--dark);
  transition: color var(--transition);
}
.contact-detail-text a:hover { color: var(--red); }

/* ---- Form ----------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid .form-group.full { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.1);
}

.form-submit {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.form-note {
  font-size: .8rem;
  color: var(--gray);
}

/* ---- Map placeholder ------------------------------------ */
.map-placeholder {
  height: 280px;
  background: var(--bg-light);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  color: var(--gray);
  font-family: var(--font-head);
  font-size: .875rem;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}
.map-placeholder:hover { background: var(--gray-light); color: var(--dark); }
.map-placeholder i { font-size: 2rem; color: var(--red); }

/* ---- Contact map pleine largeur (Google Maps embed) ----- */
.contact-map-full {
  width: 100%;
  height: 460px;
  position: relative;
  overflow: hidden;
}
.contact-map-full iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .contact-map-full { height: 300px; }
}

/* ---- Contact grid alignment ----------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: stretch;
}
.contact-col-info {
  display: flex;
  flex-direction: column;
}
.contact-col-info .contact-details {
  margin-bottom: 0;
}
.contact-col-spacer {
  flex: 1;
  min-height: 24px;
}
.form-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ---- Footer --------------------------------------------- */
.footer {
  background: var(--black);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  height: 36px;
  width: auto;
  background: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius);
}

.footer-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  max-width: 280px;
  line-height: 1.75;
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--red);
  color: var(--white);
}

.footer-col h5 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 12px;
}
.footer-contact-item i {
  color: var(--red);
  font-size: .85rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-item a {
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  line-height: 1.8;
}
.footer-bottom a {
  color: rgba(255,255,255,.3);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ---- Real photo backgrounds ----------------------------- */
.portfolio-img-inner,
.project-img-placeholder,
.divers-card-inner {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.portfolio-img-inner i,
.project-img-placeholder i,
.divers-card-inner i {
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-img-inner:not([style*="background-image"]) i,
.project-img-placeholder:not([style*="background-image"]) i,
.divers-card-inner:not([style*="background-image"]) i {
  opacity: 1;
}

/* ---- Hero photo background ------------------------------ */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.18;
  z-index: 0;
}

/* ---- Portfolio description ------------------------------ */
.portfolio-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Project card description --------------------------- */
.project-desc-text {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: 8px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Scroll animation ----------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Utility grids (responsive) ------------------------- */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.grid-2col-sm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-2col-process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .grid-2col         { grid-template-columns: 1fr; gap: 36px; }
  .grid-2col-process { grid-template-columns: 1fr; max-width: 100%; }
  .grid-3col         { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-2col-sm { grid-template-columns: 1fr; }
}

/* ---- Nav logo fix --------------------------------------- */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ---- Back to top ---------------------------------------- */
#back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 900;
  cursor: pointer;
}
#back-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
#back-top:hover { background: var(--red-dark); }

/* ---- Alert/notice --------------------------------------- */
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success i { font-size: 1.1rem; }

/* ---- Responsive ----------------------------------------- */

/* Tablette */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-grid::before { display: none; }
  .about-strip .container { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat-item:nth-child(3n) { border-right: none; }
  .stat-item:nth-child(4), .stat-item:nth-child(5) { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Sections */
  .section     { padding: 56px 0; }
  .section--sm { padding: 40px 0; }
  .section--lg { padding: 72px 0; }
  .section-header { margin-bottom: 36px; }
  .section-subtitle { margin-bottom: 36px; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo img { height: 32px; }

  /* Hero */
  .hero { min-height: 100svh; padding-top: var(--nav-h); padding-bottom: 80px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-sub { font-size: .95rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-scroll { display: none; }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-h) + 48px) 0 48px; }
  .page-hero h1 { font-size: 1.8rem; }

  /* Stats */
  .stats-bar { padding: 0; overflow: hidden; }
  .stats-bar .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
  }
  .stat-item {
    padding: 22px 12px;
    min-width: 0;
    border-right: 1px solid rgba(255,255,255,.2);
    border-bottom: 1px solid rgba(255,255,255,.2);
    text-align: center;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .stat-item .stat-label { white-space: normal; font-size: .70rem; word-break: break-word; }
  .stat-item .stat-sub   { font-size: .68rem; word-break: break-word; }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.2); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4)   { border-bottom: none; }
  .stat-item .stat-num { font-size: 2rem; }

  /* Services cards */
  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card  { padding: 28px 24px; }

  /* Réalisations media mobile */
  .realisations-media { grid-template-columns: 1fr; }

  /* Exp grid mobile */
  .exp-grid { grid-template-columns: 1fr; }
  .exp-card--wide { grid-column: 1; }
  .exp-header { flex-direction: column; align-items: flex-start; }
  .exp-header-cta { width: 100%; justify-content: center; }
  .exp-card { padding: 28px 20px; gap: 16px; }
  .exp-icon-wrap { width: 48px; height: 48px; font-size: 1.2rem; }
  .exp-num { font-size: 5rem; }

  /* Service rows (page services) */
  .service-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 0;
  }
  .service-row-icon { width: 56px; height: 56px; font-size: 1.4rem; }
  .service-row-body h3 { font-size: 1.05rem; }

  /* About strip */
  .about-strip { padding: 56px 0; }
  .about-strip .container { grid-template-columns: 1fr; gap: 40px; }
  .values-mini { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-step { padding: 0; }
  .process-icon-wrap { width: 48px; height: 48px; font-size: 1rem; margin-bottom: 14px; }
  .process-num { right: calc(50% - 28px); }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-img  { height: 220px; }
  .portfolio-img-inner { height: 100%; }

  /* Projets homepage */
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .value-card  { padding: 28px 20px; }

  /* CTA band */
  .cta-band { padding: 56px 0; }
  .cta-band .container { flex-direction: column; text-align: center; gap: 24px; }
  .cta-band .btn-outline { width: 100%; justify-content: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card    { padding: 28px 20px; }
  .form-grid    { grid-template-columns: 1fr; }
  .form-grid .form-group.full { grid-column: 1; }
  .form-submit  { flex-direction: column; align-items: flex-start; }
  .form-submit .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer       { padding: 48px 0 0; }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .footer-desc  { max-width: 100%; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }

  /* Filtres portfolio */
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 7px 12px; font-size: .75rem; }

  /* Divers grid */
  .divers-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .divers-card { height: 160px; }

  /* Map placeholder */
  .map-placeholder { height: 200px; }
}

/* Très petit mobile */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.65rem; }
  .page-hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.5rem; }

  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step h4 { font-size: .72rem; }

  .divers-grid { grid-template-columns: 1fr; }
  .divers-card { height: 200px; }

  .stat-item .stat-num { font-size: 1.75rem; }

  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .filter-btn { flex-shrink: 0; }

  .form-card { padding: 20px 16px; }

  .stats-bar .container { grid-template-columns: 1fr 1fr; }
}

/* ---- Intro services grid (homepage) --------------------- */
.svc-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-intro-card {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
  cursor: default;
}
.svc-intro-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  border-color: rgba(200,16,46,.25);
  transform: translateY(-3px);
}
.svc-intro-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.svc-intro-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,16,46,.08);
  border-radius: 8px;
  color: var(--red);
  font-size: 1.05rem;
  transition: background .25s;
}
.svc-intro-card:hover .svc-intro-icon {
  background: var(--red);
  color: #fff;
}
.svc-intro-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}
.svc-intro-card p {
  font-size: .82rem;
  color: #7a8a9a;
  line-height: 1.75;
  margin: 0;
  flex: 1;
}
.svc-intro-link {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s, transform .25s;
}
.svc-intro-link i { font-size: .7rem; }
.svc-intro-card:hover .svc-intro-link {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 1024px) {
  .svc-intro-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .svc-intro-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-intro-card { padding: 24px 20px; }
}
/* ---- About image column --------------------------------- */
.about-img-col {
  display: flex;
  align-items: stretch;
}
.about-img-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
/* ---- GYB Video player ----------------------------------- */
.gyb-video-wrap {
  margin-top: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaed;
  background: #000;
}
.gyb-video-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: rgba(255,255,255,.7);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-bottom: 2px solid var(--red);
}
.gyb-video-label i { color: var(--red); }
.gyb-video-player {
  position: relative;
}
.gyb-video-player video {
  width: 100%;
  display: block;
  background: #000;
  max-height: 580px;
  object-fit: cover;
}
.gyb-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  transition: transform .2s, background .2s;
  z-index: 2;
}
.gyb-play-btn i { color: #fff; font-size: 1.4rem; margin-left: 4px; }
.gyb-play-btn:hover { background: var(--red-dark); transform: translate(-50%,-50%) scale(1.08); }
.gyb-play-btn.hidden { display: none; }
/* ---- Accordion services (homepage) ---------------------- */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 0;
}
.acc-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .25s;
}
.acc-card.open {
  border-color: rgba(200,16,46,.35);
}
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}
.acc-head:hover { background: rgba(255,255,255,.03); }
.acc-card.open .acc-head { background: rgba(200,16,46,.07); }

.acc-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200,16,46,.1);
  border-radius: 8px;
  color: var(--red);
  font-size: .95rem;
  transition: background .25s, color .25s;
}
.acc-card.open .acc-icon {
  background: var(--red);
  color: #fff;
}
.acc-num {
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  color: rgba(200,16,46,.4);
  letter-spacing: .12em;
  flex-shrink: 0;
}
.acc-title {
  flex: 1;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  line-height: 1.3;
}
.acc-chevron {
  flex-shrink: 0;
  color: rgba(255,255,255,.25);
  font-size: .75rem;
  transition: transform .3s ease, color .25s;
}
.acc-card.open .acc-chevron {
  transform: rotate(180deg);
  color: var(--red);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}
.acc-card.open .acc-body {
  max-height: 320px;
  padding: 0 24px 22px;
}
.acc-body p {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 16px;
}
@media (max-width: 768px) {
  .acc-grid { grid-template-columns: 1fr; }
}
.acc-grid--single {
  grid-template-columns: 1fr !important;
}
/* ---- Protection images & contenu ----------------------- */
img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}
.fa-solid, .fa-brands, .fa-regular {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
/* ---- Nav mobile CTA bouton ----------------------------- */
.nav-mobile-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 16px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 6px !important;
  font-size: .88rem !important;
  font-weight: 700 !important;
  text-align: center;
  border-bottom: none !important;
}
.nav-mobile-cta:hover {
  background: var(--red-dark) !important;
  padding-left: 16px !important;
  color: var(--white) !important;
}
.nav-mobile-cta i {
  pointer-events: auto;
  font-size: .85rem;
}