/* ============================================================
   OC Sécurité — style.css v3
   Palette : #f4f7f9 fond clair · #0f3460 bleu acier titres · #021d25 azur foncé emphase · #ff5a5f corail accent · #111827 texte
   ============================================================ */

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

:root {
  /* Backgrounds — fond CLAIR */
  --base:       #f4f7f9;
  --dark:       #e8eef3;
  --dark-2:     #dde6ed;
  --dark-3:     #d0dce6;
  --dark-4:     #c5d3de;

  /* Accent corail */
  --accent:     #ff5a5f;
  --accent-dim: #e04a50;
  --accent-pale: rgba(255, 90, 95, 0.1);

  /* Text */
  --white:      #0f3460;   /* bleu acier — gros titres */
  --white-2:    #021d25;   /* azur foncé — emphase, infos importantes */
  --muted:      #374151;   /* corps de texte */
  --muted-2:    #6b7280;   /* texte atténué */

  /* Borders */
  --border:     rgba(15, 52, 96, 0.12);
  --border-2:   rgba(15, 52, 96, 0.06);

  /* Fonts */
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;

  --container:   1200px;
  --radius:      6px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --transition:  0.35s var(--ease);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--base);
  color: #111827;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  /* overflow-x: clip (et non hidden) : sur Safari iOS, "overflow-x: hidden" sur body
     casse le plein-écran des éléments position:fixed (comme le menu mobile). */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Tous les titres = bleu acier par défaut */
h1, h2, h3, h4, h5, h6 { color: var(--white); }

/* Emphase azur foncé — infos importantes, chiffres clés, mots forts */
strong, b,
.stat__num,
.visual__new-label,
.zone__text strong,
.approach-step__num,
.service-card__num,
.footer__badge {
  color: var(--white-2);
  font-weight: 700;
}

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* Chaque section = une page */
.section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(6rem, 10vw, 9rem);
  position: relative;
}

/* ---------- PROGRESS DOTS (nav latérale) ---------- */
.progress-dots {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  position: relative;
}
.dot::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.dot:hover::after,
.dot.active::after { opacity: 1; }
.dot.active {
  background: var(--accent);
  transform: scale(1.5);
}
.dot:hover:not(.active) { background: var(--muted); }

/* ---------- TYPOGRAPHY HELPERS ---------- */
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.section__eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--white);
}

.section__header .section__eyebrow {
  display: flex;
  justify-content: center;
}
.section__header .section__eyebrow::before { display: none; }

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section__header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.section__intro {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--accent {
  background: var(--accent);
  color: var(--base);
}
.btn--accent:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 90, 95, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white-2);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--full { width: 100%; justify-content: center; }

.btn__loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(244, 247, 249, 0.3);
  border-top-color: var(--base);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn--loading .btn__text { opacity: 0.4; }
.btn--loading .btn__loader { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 0.5rem 0;
  transition: background var(--transition), padding var(--transition);
}
.nav.scrolled {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-2);
}
/* Le flou est posé sur un pseudo-élément (et non sur .nav directement) : un backdrop-filter
   sur .nav créerait un containing block et casserait le plein-écran du menu mobile (.nav__links). */
.nav.scrolled::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244, 247, 249, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav__logo-img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-2);
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav__link:hover,
.nav__link.active { color: var(--accent); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__cta {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--base);
  background: var(--accent);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav__cta:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 110;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--base);
}

/* noise texture */
.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
}

/* radial glow subtil sur fond clair */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 60%, rgba(15, 52, 96, 0.03), transparent),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(255, 90, 95, 0.05), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero__lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
  z-index: 0;
}
.hero__lines span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(15,52,96,0.06) 50%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  padding-top: 4rem;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 10rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2rem;
}
.hero__title-line {
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.hero__title-line--accent { color: var(--accent); }

.hero__sub {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--muted);
  line-height: 1.9;
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll__bar {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--dark);
  border-top: 1px solid var(--border-2);
}
/* subtle gradient top edge */
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

/* Visual left panel */
.about__visual {
  position: relative;
  height: 440px;
}
.visual__block {
  position: absolute;
  border-radius: var(--radius);
}
.visual__block--1 {
  inset: 0 20% 18% 0;
  background: var(--dark-2);
  border: 1px solid var(--border);
  overflow: hidden;
}
/* shield icon centered in the block (masqué quand une photo est présente) */
.visual__block--1::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' fill='none' stroke='%23ff5a5f' stroke-width='1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32 6L8 16v18c0 14 10.7 27 24 30.3C45.3 61 56 48 56 34V16L32 6z' opacity='0.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.visual__block--has-photo::after {
  content: none;
}
.visual__block-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.visual__block--2 {
  right: 0; bottom: 0;
  width: 55%;
  padding: 1.75rem 1.5rem;
  background: var(--dark-3);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.visual__new-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.visual__tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  line-height: 1.4;
}
.visual__accent-line {
  position: absolute;
  top: 32px; left: -1px;
  width: 3px; height: 72px;
  background: var(--accent);
  border-radius: 2px;
}

.about__body {
  color: var(--muted);
  margin-bottom: 1.1rem;
  font-size: 1rem;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-2);
}
.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
}
.value-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  color: var(--accent);
}
.value-icon svg { width: 100%; height: 100%; }
.value-item h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.value-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ---------- SERVICES ---------- */
.services {
  background: var(--base);
  border-top: 1px solid var(--border-2);
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}

.service-card {
  position: relative;
  background: var(--dark);
  padding: 2.75rem 2.25rem;
  transition: background var(--transition);
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 10% 90%, rgba(255,90,95,0.06), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { background: var(--dark-2); }
.service-card:hover::after { opacity: 1; }

.service-card__num {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(255, 90, 95, 0.07);
  line-height: 1;
  pointer-events: none;
  transition: color var(--transition);
}
.service-card:hover .service-card__num { color: rgba(255, 90, 95, 0.13); }

.service-card__icon {
  width: 44px; height: 44px;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: transform var(--transition);
}
.service-card:hover .service-card__icon { transform: scale(1.1); }
.service-card__icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap var(--transition);
}
.service-card:hover .service-card__link { gap: 0.75rem; }

/* ---------- WHY US ---------- */
.why {
  background: var(--dark);
  border-top: 1px solid var(--border-2);
}
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 90% 40%, rgba(255,90,95,0.04), transparent);
  pointer-events: none;
}
.why::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-item {
  padding: 2rem 1.75rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.why-item:hover {
  border-color: rgba(255, 90, 95, 0.35);
  background: var(--dark-3);
  transform: translateY(-4px);
}
.why-item__icon {
  width: 38px; height: 38px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.why-item__icon svg { width: 100%; height: 100%; }
.why-item h3 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.why-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ---------- ZONE ---------- */
.zone {
  background: var(--base);
  border-top: 1px solid var(--border-2);
}
.zone::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.zone__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.zone__text > p { color: var(--muted); margin-bottom: 2rem; }
.zone__text strong { color: var(--white-2); font-weight: 700; }

.zone__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.zone__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--white-2);
}
.zone__list li svg {
  flex-shrink: 0;
  width: 8px; height: 8px;
  color: var(--accent);
}

.map__placeholder {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.map__svg { width: 100%; max-width: 260px; }
.map__label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- CONTACT (ancienne section homepage) ---------- */
.contact {
  background: var(--dark);
  border-top: 1px solid var(--border-2);
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.contact__info > p { color: var(--muted); margin-bottom: 2rem; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--white-2);
}
.contact__detail svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--accent);
}
.contact__detail a:hover { color: var(--accent); }

/* ============================================================
   CONTACT PAGE — design avec bulles
   ============================================================ */

/* Bande réassurance */
.contact-reassure {
  background: var(--dark);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  padding: 1.75rem 0;
}
.contact-reassure__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.contact-reassure__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--border-2);
}
.contact-reassure__item:last-child { border-right: none; }
.contact-reassure__item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.contact-reassure__item strong {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--white-2);
  line-height: 1.3;
}
.contact-reassure__item span {
  font-size: 0.72rem;
  color: var(--muted-2);
}

/* ── Section principale avec bulles ── */
.contact-main {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

/* Bulles flottantes */
.contact-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.cb {
  position: absolute;
  border-radius: 50%;
  animation: cb-float ease-in-out infinite alternate;
}
.cb:nth-child(1) { width:440px;height:440px;left:-8%;top:-15%;background:radial-gradient(circle at 35% 35%, rgba(255,90,95,0.13), rgba(255,90,95,0.04) 60%, transparent);animation-duration:14s;animation-delay:0s; }
.cb:nth-child(2) { width:310px;height:310px;right:-5%;top:8%;background:radial-gradient(circle at 40% 40%, rgba(255,90,95,0.1), rgba(255,90,95,0.03) 60%, transparent);animation-duration:11s;animation-delay:2s; }
.cb:nth-child(3) { width:220px;height:220px;left:38%;bottom:-8%;background:radial-gradient(circle at 35% 35%, rgba(255,90,95,0.09), rgba(255,90,95,0.02) 60%, transparent);animation-duration:13s;animation-delay:1s; }
.cb:nth-child(4) { width:160px;height:160px;right:24%;bottom:10%;background:radial-gradient(circle at 35% 35%, rgba(255,90,95,0.08), transparent);animation-duration:9s;animation-delay:3s; }
.cb:nth-child(5) { width:270px;height:270px;left:50%;top:4%;background:radial-gradient(circle at 35% 35%, rgba(255,90,95,0.07), transparent);animation-duration:16s;animation-delay:0.5s; }
@keyframes cb-float {
  0%   { transform: translateY(0) scale(1); }
  100% { transform: translateY(-55px) scale(1.06); }
}

.contact-main__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

/* ── Info contact (côté gauche, fond transparent) ── */
.cinfo-light .section__title { margin-bottom: 1rem; }

.cil__items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.cil__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
a.cil__item:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,90,95,0.35);
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(255,90,95,0.08);
}
.cil__item--static { cursor: default; }
.cil__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--accent-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cil__icon svg { width: 17px; height: 17px; color: var(--accent); }
.cil__label {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.2rem;
}
.cil__value {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white-2);
}
.cil__arrow {
  width: 15px;
  height: 15px;
  color: var(--muted-2);
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.5;
  transition: color var(--transition), transform var(--transition), opacity var(--transition);
}
a.cil__item:hover .cil__arrow {
  color: var(--accent);
  opacity: 1;
  transform: translateX(3px);
}

/* ── Formulaire (carte élevée) ── */
.cform-elevated {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  padding: clamp(2rem, 3.5vw, 3rem) !important;
  box-shadow: 0 8px 48px rgba(15,52,96,0.1), 0 2px 8px rgba(15,52,96,0.05) !important;
}
.cform__header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-2);
}
.cform__header h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.cform__header p {
  font-size: 0.82rem;
  color: var(--muted-2);
}
.cform__header p span { color: var(--accent); }
.cform__legal {
  font-size: 0.72rem;
  color: var(--muted-2);
  line-height: 1.6;
  margin-top: 0.75rem;
}
.form__network-error {
  font-size: 0.82rem;
  color: #e74c3c;
  text-align: center;
  padding: 0.75rem;
  background: rgba(231,76,60,0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(231,76,60,0.2);
}

.hours__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  background: rgba(255, 90, 95, 0.08);
  border: 1px solid rgba(255, 90, 95, 0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
}
.hours__dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
.hours__badge--prominent {
  padding: 0.85rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  box-shadow: 0 4px 18px rgba(34,197,94,0.12);
  letter-spacing: 0.01em;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  60% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* FORM */
.contact__form-wrap {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form__group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.form__group label span { color: var(--accent); }

.form__group input,
.form__group select,
.form__group textarea {
  background: var(--base);
  border: 1px solid rgba(15, 52, 96, 0.15);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
}
.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23374151' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form__group select option { background: var(--base); }
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--muted-2); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.12);
}
.form__group input.error,
.form__group textarea.error { border-color: #e74c3c; }
.form__group textarea { resize: vertical; min-height: 110px; }

.form__error {
  font-size: 0.72rem;
  color: #e74c3c;
  min-height: 1em;
}

.form__success {
  text-align: center;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.form__success[hidden] { display: none !important; }
.form__success svg { width: 60px; height: 60px; color: var(--accent); }
.form__success h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
}
.form__success p { color: var(--muted); max-width: 340px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--base);
  border-top: 1px solid var(--border-2);
  padding-top: 5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-2);
}
.footer__logo {
  margin-bottom: 1rem;
}
.footer__logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer__brand p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.footer__badge {
  font-size: 0.68rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent) !important;
  opacity: 0.75;
}
.footer__col h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col ul li a {
  font-size: 0.87rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--accent); }
.footer__contact-list li { font-size: 0.87rem; color: var(--muted); }
.footer__contact-list a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted-2);
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a:hover { color: var(--accent); }

/* ---------- STATS STRIP (à propos) ---------- */
.stats-strip {
  background: var(--white);
  padding-block: 3.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.stat-card:last-child { border-right: none; }
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: #fff;
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ---------- SOULIGNEMENT ANIMÉ (titres) ---------- */
.section__title {
  position: relative;
}
.section__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
}
.section__title.visible::after { width: 48px; }
.section__header .section__title::after { display: none; }

/* Barre eyebrow animée */
.section__eyebrow::before {
  width: 0 !important;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s !important;
}
.section__eyebrow.visible::before { width: 30px !important; }

/* ---------- HOVER GLOW VALEURS ---------- */
.why-item:hover {
  border-color: rgba(255, 90, 95, 0.35);
  background: var(--dark-3);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(15, 52, 96, 0.12), 0 0 0 2px rgba(15, 52, 96, 0.08);
}

/* ---------- TIMELINE PROGRESSIVE ---------- */
.approach-steps {
  position: relative;
  padding-left: 0.5rem;
}
.approach-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 1.5rem;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--accent), rgba(255, 90, 95, 0.15));
  border-radius: 2px;
  transition: height 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.approach-steps.tl-animated::before { height: calc(100% - 3rem); }
.approach-step { transition: opacity 0.6s ease, transform 0.6s ease; }
.approach-step.tl-hidden { opacity: 0; transform: translateX(20px); }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal,
.reveal-card,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal       { transform: translateY(22px); }
.reveal-card  { transform: translateY(28px); }
.reveal-right { transform: translateX(28px); }

.reveal.visible,
.reveal-card.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* stagger service cards */
.service-card.reveal-card:nth-child(1) { transition-delay: 0s; }
.service-card.reveal-card:nth-child(2) { transition-delay: 0.1s; }
.service-card.reveal-card:nth-child(3) { transition-delay: 0.2s; }
.service-card.reveal-card:nth-child(4) { transition-delay: 0.3s; }

/* stagger why items */
.why-item.reveal:nth-child(1) { transition-delay: 0s; }
.why-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.why-item.reveal:nth-child(3) { transition-delay: 0.2s; }
.why-item.reveal:nth-child(4) { transition-delay: 0.3s; }

/* stagger value items */
.value-item:nth-child(1) { transition-delay: 0s; }
.value-item:nth-child(2) { transition-delay: 0.12s; }
.value-item:nth-child(3) { transition-delay: 0.24s; }

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, var(--accent), #ff8a8d);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}


/* ---------- BORDURE TOURNANTE IMAGE HERO ---------- */
.hero__image-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--accent) 60deg,
    transparent 120deg,
    var(--white) 180deg,
    transparent 240deg,
    var(--accent) 300deg,
    transparent 360deg
  );
  animation: rotateBorder 4s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s ease 1.2s;
}
.hero__image-wrap.img-visible::before { opacity: 1; }
@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- TYPEWRITER CURSOR ---------- */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--accent);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ---------- ENTRÉE CINÉMATIQUE ---------- */
/* Opacité seule (pas de transform) : Safari iOS peut garder un containing block actif
   sur .body tant qu'une animation référence "transform", même une fois celle-ci terminée
   sur "none" — ce qui cassait le plein-écran du menu mobile. */
@keyframes bodyFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes navSlideDown {
  from { top: -110%; opacity: 0; }
  to   { top: 0;      opacity: 1; }
}
body { animation: bodyFadeIn 0.55s ease both; }
/* Anim en "top" et non "transform" : un transform qui persiste sur .nav (position:fixed)
   créerait un containing block et casserait le plein-écran du menu mobile (.nav__links). */
.nav { animation: navSlideDown 0.6s cubic-bezier(0.4,0,0.2,1) 0.15s both; }

/* ---------- HERO PLEIN ÉCRAN (image en fond) ---------- */
.hero__content {
  display: flex;
  align-items: center;
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  min-height: 100svh;
  padding-top: calc(80px + 3rem);
  padding-bottom: 4rem;
  position: relative;
  z-index: 2;
}
.hero__text {
  display: flex;
  flex-direction: column;
  max-width: 680px;
}

/* Texte en blanc sur le fond sombre */
.hero .hero__title      { color: #ffffff; }
.hero .hero__sub        { color: rgba(255,255,255,0.82); }
.hero .hero__eyebrow    { color: var(--accent); }
.hero__btn-ghost {
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.4) !important;
}
.hero__btn-ghost:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.hero__image-wrap {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1) 0.2s;
  z-index: 1;
}
.hero__image-wrap.img-visible {
  opacity: 1;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenBurns 14s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
.hero__image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(2,29,37,0.88) 0%, rgba(2,29,37,0.6) 55%, rgba(2,29,37,0.25) 100%),
    linear-gradient(to top, rgba(2,29,37,0.55) 0%, transparent 40%);
  pointer-events: none;
}
.hero__img-badge {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  background: rgba(15,52,96,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 1.6s, transform 0.6s ease 1.6s;
}
.hero__img-badge.badge-visible {
  opacity: 1;
  transform: none;
}
.hero__img-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}
.hero__img-badge span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ---------- BANDE VISUELLE (homepage) ---------- */
.visual-band {
  position: relative;
  height: clamp(320px, 45vw, 480px);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.visual-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.visual-band:hover .visual-band__img { transform: scale(1.03); }
.visual-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15,52,96,0.88) 40%, rgba(15,52,96,0.45) 100%);
}
.visual-band__content {
  position: relative;
  z-index: 2;
}
.visual-band__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: #fff;
  max-width: 620px;
  line-height: 1.55;
  margin-bottom: 2rem;
  font-style: italic;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.visual-band__quote.visible { opacity: 1; transform: none; }
.visual-band__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.visual-band__tag.visible { opacity: 1; transform: none; }
.visual-band__actions {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}
.visual-band__actions.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero__text { max-width: 100%; }
}

/* ---------- PAGE HERO (sous-pages) ---------- */
.page-hero {
  min-height: max(52vh, 30rem);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--base);
  padding-bottom: 4.5rem;
  padding-top: 7rem;
}

/* Ligne décorative animée en bas du hero */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--accent), transparent);
  animation: heroLine 1.2s cubic-bezier(0.22,1,0.36,1) 0.6s forwards;
}
@keyframes heroLine {
  to { width: 40%; }
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* Entrée du breadcrumb */
.page-hero .breadcrumb {
  animation: heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.05s both;
}
/* Entrée de l'eyebrow */
.page-hero .section__eyebrow {
  animation: heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}
/* Révélation du titre par clip-path */
.page-hero__title {
  animation: heroReveal 0.85s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}
/* Entrée du sous-titre */
.page-hero__sub {
  animation: heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.55s both;
}

@keyframes heroReveal {
  from {
    clip-path: inset(100% 0 0 0);
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    clip-path: inset(0% 0 0 0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0.75rem 0 1rem;
}
.page-hero__title span { color: var(--white); }
.page-hero__sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

/* breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child { color: var(--accent); }

/* service anchor nav */
.service-nav {
  background: var(--dark);
  border-bottom: 1px solid var(--border-2);
  position: sticky;
  top: 60px;
  z-index: 80;
}
.service-nav ul {
  display: flex;
  gap: 0;
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav ul li a {
  display: block;
  padding: 0.9rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--transition), border-bottom-color var(--transition);
  border-bottom: 2px solid transparent;
}
.service-nav ul li a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* page sections (sous-pages) */
.page-section {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--base);
  position: relative;
}
.page-section--alt { background: var(--dark); }
.page-section--alt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.25;
}

/* service detail (services.html) */
.service-detail {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: var(--base);
  border-top: 1px solid var(--border-2);
  position: relative;
  overflow: hidden;
}
.service-detail--alt { background: var(--dark); }

/* Watermark numéro derrière la section */
.service-detail::before {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(12rem, 20vw, 20rem);
  line-height: 1;
  color: rgba(255, 90, 95, 0.09);
  pointer-events: none;
  user-select: none;
}
.service-detail--alt::before {
  right: auto;
  left: -2rem;
  color: rgba(255, 90, 95, 0.10);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: start;
}
.service-detail__grid--reverse {
  grid-template-columns: 2fr 1fr;
}
.service-detail__grid--reverse .service-detail__icon-wrap {
  order: 2;
}
.service-detail__grid--reverse .service-detail__content {
  order: 1;
}

.service-detail__icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(300px, 50vw, 520px);
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.service-detail__icon-wrap svg {
  width: 100px;
  height: 100px;
  color: var(--accent);
  opacity: 0.7;
}
.service-detail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.service-detail__icon-wrap:hover .service-detail__img {
  transform: scale(1.05);
}
.service-detail__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,90,95,0.08) 0%, transparent 40%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.service-detail__num {
  display: none;
}

/* Trait accent gauche sur le contenu */
.service-detail__content {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(255, 90, 95, 0.25);
}
.service-detail__grid--reverse .service-detail__content {
  padding-left: 0;
  padding-right: 1.5rem;
  border-left: none;
  border-right: 2px solid rgba(255, 90, 95, 0.25);
}

.service-detail__cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-2);
}

.service-detail__subtitle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-detail__subtitle::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.service-detail__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.service-detail__content p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.service-detail__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
  padding: 1.5rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.service-detail__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--white-2);
}
.service-detail__features li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Bouton accent renforcé dans les sections services ── */
.service-detail__cta-group .btn--accent {
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--accent);
  box-shadow: 0 4px 24px rgba(255, 90, 95, 0.45);
  border: none;
}
.service-detail__cta-group .btn--accent:hover {
  background: var(--accent-dim);
  box-shadow: 0 8px 32px rgba(255, 90, 95, 0.65);
  transform: translateY(-3px);
}

/* CTA pulse permanent */
@keyframes ctaPulse {
  0%   { box-shadow: 0 4px 24px rgba(255, 90, 95, 0.45), 0 0 0 0 rgba(255, 90, 95, 0.6); }
  60%  { box-shadow: 0 4px 24px rgba(255, 90, 95, 0.45), 0 0 0 16px rgba(255, 90, 95, 0); }
  100% { box-shadow: 0 4px 24px rgba(255, 90, 95, 0.45), 0 0 0 0 rgba(255, 90, 95, 0); }
}
.btn--pulse {
  animation: ctaPulse 2.2s ease-out infinite;
}
.btn--pulse:hover {
  animation-play-state: paused;
}

/* Service nav active indicator */
.service-nav ul li a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================================================ */

/* liste de prestations détaillées (services.html) */
.prestation-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0 0;
  list-style: none;
}

.prestation-item {
  padding: 1.1rem 1.25rem 1.1rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-left: 3px solid rgba(255, 90, 95, 0.35);
  transition: background var(--transition), border-left-color var(--transition), box-shadow var(--transition);
}
.prestation-item:hover {
  background: rgba(255, 90, 95, 0.05);
  border-left-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.prestation-item__body h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
  text-transform: none;
  letter-spacing: 0;
}
.prestation-item__body p {
  font-size: 0.8rem;
  color: var(--muted-2);
  line-height: 1.6;
  margin-bottom: 0;
}

/* homepage services section */
.home-services {
  background: var(--dark);
  padding-block: clamp(5rem, 9vw, 8rem);
  border-top: 1px solid var(--border-2);
}
.home-services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.home-services { position: relative; }
.home-services__footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* homepage page cards grid */
.home-pages {
  background: var(--base);
  padding-block: clamp(5rem, 9vw, 8rem);
  position: relative;
  border-top: 1px solid var(--border-2);
}
.home-pages::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.page-card {
  display: flex;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  text-decoration: none;
}
.page-card:hover {
  border-color: rgba(255, 90, 95, 0.35);
  background: var(--dark-2);
  transform: translateY(-4px);
}
.page-card--accent { border-color: rgba(255, 90, 95, 0.25); }
.page-card--accent:hover { border-color: var(--accent); }

.page-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-top: 2px;
}
.page-card__icon svg { width: 100%; height: 100%; }
.page-card__body h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.page-card__body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.page-card__link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap var(--transition);
}

/* CTA banner */
.cta-banner {
  background: var(--dark-2);
  padding-block: 4rem;
  border-top: 1px solid var(--border);
  position: relative;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 0.4rem;
}
.cta-banner__text p { color: var(--muted); font-size: 0.95rem; }
.cta-banner__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── CTA Banner Secteurs ─────────────────────────────────── */
.cta-banner--secteurs {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 3vw, 2.8rem);
  background: #021d25;
  text-align: center;
  isolation: isolate;
}

/* Animated aurora background */
.cta-banner--secteurs__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 50%, rgba(255,90,95,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 55% 70% at 85% 25%, rgba(15,52,96,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 50% 105%, rgba(255,90,95,0.06) 0%, transparent 65%);
  animation: auroraDrift 10s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0%   { transform: scale(1) translateX(0); opacity: 0.7; }
  50%  { transform: scale(1.04) translateX(1.5%); opacity: 1; }
  100% { transform: scale(0.98) translateX(-1%); opacity: 0.75; }
}

/* Subtle grid overlay */
.cta-banner--secteurs::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,90,95,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,90,95,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.cta-banner--secteurs .container {
  position: relative;
  z-index: 2;
}

.cta-banner--secteurs__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.cta-banner--secteurs__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,90,95,0.1);
  border: 1px solid rgba(255,90,95,0.35);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
}

.cta-banner--secteurs__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.0;
  color: #f4f7f9;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  display: inline-block;
  animation: titleBreath 1.6s ease-in-out infinite;
}
@keyframes titleBreath {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 2px 30px rgba(0,0,0,0.4), 0 0 0px rgba(255,90,95,0);
  }
  50% {
    transform: scale(1.06);
    text-shadow: 0 2px 30px rgba(0,0,0,0.4), 0 0 60px rgba(255,90,95,0.55), 0 0 120px rgba(255,90,95,0.2);
  }
}

.cta-banner--secteurs__title em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(255,90,95,0.4);
}

.cta-banner--secteurs__sub {
  font-size: 0.95rem;
  color: rgba(244,247,249,0.55);
  max-width: 440px;
  line-height: 1.65;
}

.cta-banner--secteurs__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.4rem;
}

/* Ghost button on dark CTA background */
.cta-banner--secteurs .btn--ghost {
  color: rgba(244,247,249,0.8);
  border-color: rgba(244,247,249,0.25);
}
.cta-banner--secteurs .btn--ghost:hover {
  color: #f4f7f9;
  border-color: rgba(244,247,249,0.7);
  background: rgba(244,247,249,0.06);
}

/* approach steps (a-propos.html) */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}
.approach-steps { display: flex; flex-direction: column; gap: 0; }
.approach-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-2);
}
.approach-step:last-child { border-bottom: none; }
.approach-step__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white-2);
  opacity: 0.4;
  line-height: 1;
  margin-top: 2px;
}
.approach-step h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.approach-step p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ═══ SECTEURS INTRO ═══ */
.secteurs-intro {
  background: var(--dark);
  border-top: 1px solid var(--border-2);
  padding-block: clamp(5rem, 8vw, 8rem);
  position: relative;
  overflow: hidden;
}
.secteurs-intro::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent 60%);
  opacity: 0.4;
}

.secteurs-intro__layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(3rem, 5vw, 6rem);
  align-items: start;
}

.secteurs-intro__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--white-2);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.secteurs-intro__highlight {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.secteurs-intro__highlight-bar {
  display: block;
  width: 3px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 2px;
}
.secteurs-intro__highlight p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.75;
  margin: 0;
}

.secteurs-intro__body {
  padding-top: 2rem;
  border-top: 1px solid var(--border-2);
}
.secteurs-intro__body p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 1rem;
}
.secteurs-intro__body p:last-child { margin: 0; }

/* Colonne visuelle */
.secteurs-intro__col-visual {
  position: sticky;
  top: 100px;
}
.secteurs-intro__img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 280px;
  margin-bottom: 1px;
}
.secteurs-intro__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.secteurs-intro__img-wrap:hover .secteurs-intro__img {
  transform: scale(1.04);
}
.secteurs-intro__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.65) 100%);
}

/* Stats */
.secteurs-intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}
.secteurs-intro__stat {
  background: var(--dark-2);
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background var(--transition);
}
.secteurs-intro__stat:hover { background: var(--dark-3); }
.secteurs-intro__stat-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}
.secteurs-intro__stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Animation states intro */
.si-anim {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1), filter 0.9s ease;
}
.si-anim.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ═══ SECTEURS GRID ═══ */
.secteurs-grid-section {
  background: var(--base);
  border-top: 1px solid var(--border-2);
  padding-block: clamp(5rem, 8vw, 8rem);
}

.secteurs-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.secteur-detail-item {
  position: relative;
  padding: 2.25rem 2rem;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color var(--transition), transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s ease;
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  filter: blur(3px);
}
.secteur-detail-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1), filter 0.75s ease, border-color var(--transition), box-shadow 0.45s ease;
}
.secteur-detail-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.secteur-detail-item:hover {
  border-color: rgba(255,90,95,0.25);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.secteur-detail-item:hover::before {
  transform: scaleX(1);
}

.secteur-detail-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.secteur-detail-item__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 90, 95, 0.07);
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 95, 0.15);
  color: var(--accent);
  transition: background var(--transition), border-color var(--transition), transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.secteur-detail-item__icon svg {
  width: 28px;
  height: 28px;
}
.secteur-detail-item:hover .secteur-detail-item__icon {
  background: rgba(255, 90, 95, 0.14);
  border-color: rgba(255, 90, 95, 0.4);
  transform: scale(1.1) rotate(-3deg);
}
.secteur-detail-item__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(255,90,95,0.1);
  line-height: 1;
  transition: color var(--transition);
}
.secteur-detail-item:hover .secteur-detail-item__num {
  color: rgba(255,90,95,0.2);
}

.secteur-detail-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.secteur-detail-item p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}
.secteur-detail-item p:last-of-type { margin-bottom: 1.5rem; }

.secteur-detail-item__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.7rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(255,90,95,0.4);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), border-color var(--transition), color var(--transition), gap var(--transition), box-shadow var(--transition);
}
.secteur-detail-item__link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  gap: 0.8rem;
  box-shadow: 0 4px 16px rgba(255,90,95,0.35);
}

/* ---------- SECTEURS ---------- */
.secteurs {
  background: var(--base);
  border-top: 1px solid var(--border-2);
}
.secteurs::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.secteurs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.secteur-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.25rem;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  cursor: default;
}
.secteur-item:hover {
  border-color: rgba(255, 90, 95, 0.35);
  background: var(--dark-2);
  transform: translateY(-4px);
}
.secteur-item__icon {
  width: 36px; height: 36px;
  color: var(--accent);
  opacity: 0.85;
}
.secteur-item__icon svg { width: 100%; height: 100%; }
.secteur-item span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-2);
  line-height: 1.4;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--dark);
  border-top: 1px solid var(--border-2);
}
.faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.faq__intro > p { color: var(--muted); margin-bottom: 0.5rem; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: var(--dark-2);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  text-align: left;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.faq-item__q:hover { background: var(--dark-3); color: var(--accent); }
.faq-item__q[aria-expanded="true"] {
  background: var(--dark-3);
  color: var(--accent);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
  position: relative;
  display: inline-block;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.faq-item__icon::before {
  width: 12px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item__icon::after {
  width: 1.5px; height: 12px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item__q[aria-expanded="true"] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding var(--transition);
  background: var(--dark-2);
}
.faq-item__a.open {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-item__a p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .progress-dots { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* services : 2 colonnes (4 cartes en 2×2) */
@media (min-width: 901px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .stat-card           { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-card:nth-child(even) { border-right: none; }
  .about__grid         { grid-template-columns: 1fr; }
  .about__visual       { height: 340px; }
  .services__grid      { grid-template-columns: repeat(2, 1fr); }
  .why__grid           { grid-template-columns: 1fr; }
  .zone__grid          { grid-template-columns: 1fr; }
  .contact__grid       { grid-template-columns: 1fr; }
  .contact-reassure__grid { grid-template-columns: repeat(2, 1fr); }
  .contact-reassure__item:nth-child(2) { border-right: none; }
  .contact-reassure__item:nth-child(3) { border-right: 1px solid var(--border-2); }
  .contact-main__grid { grid-template-columns: 1fr; }
  .faq__grid           { grid-template-columns: 1fr; }
  .secteurs__grid      { grid-template-columns: repeat(2, 1fr); }
  .pages-grid          { grid-template-columns: repeat(2, 1fr); }
  .secteurs-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .secteurs-intro__highlight { gap: 1rem; }
  .secteurs-intro__layout { grid-template-columns: 1fr; }
  .secteurs-intro__col-visual { position: static; }
  .approach-grid       { grid-template-columns: 1fr; }
  .service-detail__grid,
  .service-detail__grid--reverse { grid-template-columns: 1fr; }
  .service-detail__grid--reverse .service-detail__icon-wrap,
  .service-detail__grid--reverse .service-detail__content { order: unset; }
  .service-detail__icon-wrap { height: 240px; }
  .service-detail__content { padding-left: 0; border-left: none; padding-right: 0; border-right: none; border-top: 2px solid rgba(255,90,95,0.25); padding-top: 1.5rem; }
  .prestation-list { grid-template-columns: 1fr; }
  .cta-banner__inner   { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .secteurs__grid       { grid-template-columns: repeat(2, 1fr); }
  .secteurs-detail-grid { grid-template-columns: 1fr; }
  .services__grid       { grid-template-columns: 1fr; }
  .pages-grid           { grid-template-columns: 1fr; }
  .page-card            { flex-direction: column; gap: 0.75rem; }
  /* service-detail--reverse reset handled in 900px breakpoint */
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    /* top/left + largeur/hauteur en unités viewport plutôt que "inset:0" : si un ancêtre
       (même sans transform ni filter) fausse le containing-block, "inset:0" peut se caler
       sur une boîte plus petite que l'écran. vw/dvh, eux, valent toujours la vraie taille
       de l'écran, quel que soit le containing-block. */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    background: rgba(244, 247, 249, 0.98);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 105;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { font-size: 1.1rem; }
  .nav__cta { font-size: 1rem; padding: 0.9rem 2.5rem; }
  .nav__burger { display: flex; }

  .hero__title { font-size: clamp(3.5rem, 16vw, 6rem); }
  .form__row { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 1.5rem; }
  .contact-reassure__grid { grid-template-columns: 1fr 1fr; }
  .contact-reassure__item { border-right: none; border-bottom: 1px solid var(--border-2); }
  .contact-reassure__item:last-child, .contact-reassure__item:nth-child(3) { border-bottom: none; }
  .contact-main__grid { grid-template-columns: 1fr; }
  .cform-elevated { border-radius: 10px !important; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .section { min-height: auto; padding-block: clamp(5rem, 12vw, 7rem); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .section__title { font-size: 1.7rem; }
  .hero__title { font-size: clamp(3rem, 18vw, 5rem); }
  .about__visual { height: 300px; }
  .visual__block--2 { width: 70%; padding: 1.25rem 1.1rem; }
  .visual__tagline { font-size: 0.92rem; }
}
