/* ==========================================================================
   GD. Elec — Design system
   Palette : gris anthracite + accent cuivre (premium, sobre, dynamique)
   ========================================================================== */

:root {
  /* Anthracite */
  --anthracite-900: #131517;
  --anthracite-850: #191C1E;
  --anthracite-800: #1F2225;
  --anthracite-750: #26292D;
  --anthracite-700: #2C3034;
  --anthracite-600: #3B4045;
  --anthracite-500: #4C5258;
  --anthracite-400: #6B7278;

  /* Neutres */
  --grey-300: #9AA1A7;
  --grey-200: #C7CCD0;
  --grey-150: #DEE2E5;
  --grey-100: #ECEEF0;
  --grey-50:  #F5F6F7;
  --white:    #FFFFFF;

  /* Accent cuivre */
  --copper-600: #A9662E;
  --copper-500: #C27C3C;
  --copper-400: #D4934E;
  --copper-300: #E4B482;
  --copper-100: #F5E7D8;

  /* Rôles */
  --bg:            var(--white);
  --bg-alt:        var(--grey-50);
  --bg-dark:       var(--anthracite-800);
  --bg-darker:     var(--anthracite-900);
  --text:          var(--anthracite-800);
  --text-muted:    var(--anthracite-500);
  --text-on-dark:  #E9EBED;
  --text-on-dark-muted: #A7ADB2;
  --border:        var(--grey-150);
  --border-dark:   rgba(255, 255, 255, 0.10);
  --accent:        var(--copper-500);
  --accent-hover:  var(--copper-600);
  --accent-soft:   var(--copper-100);

  /* Typo */
  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Mesures */
  --container: 1180px;
  --container-narrow: 880px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(19, 21, 23, 0.06), 0 2px 8px rgba(19, 21, 23, 0.05);
  --shadow-md: 0 6px 20px rgba(19, 21, 23, 0.08), 0 2px 6px rgba(19, 21, 23, 0.05);
  --shadow-lg: 0 24px 60px rgba(19, 21, 23, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { color: var(--text-muted); }

::selection { background: var(--copper-300); color: var(--anthracite-900); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ------------------------------------------------------------------ Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--text-on-dark-muted); }

.stack > * + * { margin-top: 1.1rem; }

/* ------------------------------------------------------------------ Eyebrow / titles */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}
.section--dark .eyebrow { color: var(--copper-300); }
.section--dark .eyebrow::before { background: var(--copper-300); }

.section-head { max-width: 620px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1rem; font-size: 1.05rem; }

/* ------------------------------------------------------------------ Buttons */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  --btn-bg: var(--anthracite-800);
  --btn-fg: var(--white);
  border-color: var(--anthracite-800);
}
.btn--on-dark {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--on-dark:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--anthracite-900);
  border-color: var(--white);
}
.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; }
.brand__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand__text span { color: var(--accent); }

.primary-nav ul { display: flex; align-items: center; gap: 0.35rem; }
.primary-nav a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.primary-nav a:hover { color: var(--text); background: var(--grey-100); }
.primary-nav a.is-active { color: var(--text); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: color 0.2s, border-color 0.2s;
}
.lang-switch__toggle:hover { color: var(--text); border-color: var(--grey-300); }
.lang-switch__toggle svg { width: 12px; height: 12px; transition: transform 0.2s var(--ease); }
.lang-switch.is-open .lang-switch__toggle svg { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__menu button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 4px;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.lang-switch__menu button:hover { background: var(--grey-100); color: var(--text); }
.lang-switch__menu button[aria-current="true"] { color: var(--accent); font-weight: 700; }
.lang-switch__menu .flag { font-size: 1.05rem; line-height: 1; }

/* Burger */
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.burger span { top: 50%; margin-top: -1px; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ------------------------------------------------------------------ Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--anthracite-900);
  color: var(--text-on-dark);
  padding: calc(var(--header-h) + 2rem) clamp(1.5rem, 6vw, 3rem) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn { margin-top: 1.75rem; align-self: flex-start; }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(4rem, 9vw, 7rem);
  background: linear-gradient(160deg, var(--anthracite-850) 0%, var(--anthracite-750) 45%, var(--anthracite-800) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M0 30h20l6-10 8 20 6-10h20'/%3E%3Ccircle cx='0' cy='30' r='2'/%3E%3Ccircle cx='60' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(194, 124, 60, 0.20) 0%, rgba(194, 124, 60, 0) 68%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--copper-300); }
.hero__lead {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-on-dark-muted);
  max-width: 46ch;
}
.hero__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-dark);
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta dt {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--copper-300);
}
.hero__meta dd {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------ Media placeholder */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(145deg, var(--anthracite-700) 0%, var(--anthracite-850) 100%);
  border: 1px solid var(--border-dark);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23ffffff' stroke-opacity='0.045' stroke-width='1'/%3E%3C/svg%3E");
  z-index: -1;
}
.media-frame::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(194, 124, 60, 0.16) 0%, rgba(194, 124, 60, 0) 70%);
  z-index: -1;
}
.media-frame__icon {
  width: clamp(56px, 12vw, 84px);
  height: clamp(56px, 12vw, 84px);
  color: var(--copper-300);
  opacity: 0.9;
}
.media-frame__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  background: rgba(19, 21, 23, 0.55);
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.media-frame__tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--copper-400);
}
.media-frame__label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  z-index: 2;
}
.hero .media-frame { aspect-ratio: 5 / 6; box-shadow: var(--shadow-lg); }

/* Cadre contenant une vraie photo */
.media-frame__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.media-frame.has-photo { background: var(--anthracite-850); }
.media-frame.has-photo .media-frame__icon { display: none; }
.media-frame.has-photo::before,
.media-frame.has-photo::after { display: none; }
.media-frame.has-photo .media-frame__label {
  color: #fff;
  padding-top: 2.5rem;
  background: linear-gradient(to top, rgba(19, 21, 23, 0.78) 0%, rgba(19, 21, 23, 0) 100%);
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 16px 12px;
}
.media-frame.has-photo .media-frame__tag { color: #fff; background: rgba(19, 21, 23, 0.7); }

/* ------------------------------------------------------------------ Cards / grids */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--grey-200);
}
.card:hover::after { transform: scaleX(1); }
.section--alt .card { background: var(--white); }

.card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--copper-600);
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }
.card__link { margin-top: 1.1rem; }

/* Feature list */
.feature {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.feature__num {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.section--dark .feature__num { border-color: var(--border-dark); color: var(--copper-300); }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.feature p { font-size: 0.93rem; }

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

/* ------------------------------------------------------------------ Services detail */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) .service-block__media { order: -1; }
.service-block ul.ticks { margin-top: 1.4rem; }
ul.ticks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
  font-size: 0.97rem;
}
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A9662E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.section--dark ul.ticks li { color: var(--text-on-dark-muted); }

/* ------------------------------------------------------------------ Gallery / réalisations */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.filters button {
  padding: 0.55rem 1.1rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.2s var(--ease);
}
.filters button:hover { border-color: var(--grey-300); color: var(--text); }
.filters button.is-active {
  background: var(--anthracite-800);
  border-color: var(--anthracite-800);
  color: var(--white);
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.3s var(--ease);
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery__item .media-frame { border-radius: 0; border: none; border-bottom: 1px solid var(--border-dark); }
.gallery__body { padding: 1.25rem 1.35rem 1.5rem; }
.gallery__cat {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.gallery__body h3 { font-size: 1.1rem; margin: 0.4rem 0 0.5rem; }
.gallery__body p { font-size: 0.92rem; }
.gallery__item.is-hidden { display: none; }

/* ------------------------------------------------------------------ Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 1.75rem); }
.quote {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.section--dark .quote {
  background: var(--anthracite-750);
  border-color: var(--border-dark);
}
.quote__mark {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--copper-300);
  height: 1.4rem;
}
.quote p {
  font-size: 1.02rem;
  color: var(--text);
  font-style: italic;
}
.section--dark .quote p { color: var(--text-on-dark); }
.quote__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-400), var(--copper-600));
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.quote__meta strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--text);
}
.section--dark .quote__meta strong { color: var(--white); }
.quote__meta span { font-size: 0.85rem; color: var(--text-muted); }

.stars { display: flex; gap: 3px; color: var(--copper-400); }
.stars svg { width: 16px; height: 16px; }

/* Témoignages — état vide + formulaire d'avis */
.review-empty {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}
.review-empty svg {
  width: 52px;
  height: 52px;
  color: var(--accent);
  margin: 0 auto 1.25rem;
}
.review-empty p { margin-top: 1rem; }
.review-form {
  max-width: 620px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border);
}

/* ------------------------------------------------------------------ CTA band */
.cta-band {
  background: linear-gradient(150deg, var(--anthracite-850), var(--anthracite-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(194, 124, 60, 0.22), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--text-on-dark-muted); margin: 1rem auto 2rem; max-width: 52ch; }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}
.contact-info { position: sticky; top: calc(var(--header-h) + 2rem); }
.contact-info__list { margin-top: 2rem; display: grid; gap: 1.35rem; }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info__item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-info__item .label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.15rem;
}
.contact-info__item a, .contact-info__item p { color: var(--text); font-size: 1.02rem; }
.contact-info__item a:hover { color: var(--accent); }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field--check { flex-direction: row; align-items: flex-start; gap: 0.65rem; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.field--check label { font-weight: 400; font-family: var(--font-body); font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }
.form__note { font-size: 0.85rem; color: var(--text-muted); }
.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-family: var(--font-head);
  font-weight: 500;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #E6F4EA; color: #1E6B36; border: 1px solid #B6DFC3; }
.form-status.is-error { background: #FBEAEA; color: #A02A28; border: 1px solid #EEC4C3; }

/* ------------------------------------------------------------------ Footer */
.site-footer {
  background: var(--anthracite-900);
  color: var(--text-on-dark-muted);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-dark);
}
.site-footer .brand__text { color: var(--white); }
.site-footer p { font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }
.site-footer h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 1.1rem;
}
.site-footer ul li { margin-bottom: 0.6rem; }
.site-footer ul a, .site-footer address a { font-size: 0.92rem; transition: color 0.2s; font-style: normal; }
.site-footer ul a:hover, .site-footer address a:hover { color: var(--copper-300); }
.site-footer address { font-style: normal; display: grid; gap: 0.6rem; font-size: 0.92rem; }
.site-footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.site-footer__bottom a:hover { color: var(--copper-300); }

/* ------------------------------------------------------------------ Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ Page hero (interior) */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(160deg, var(--anthracite-850), var(--anthracite-750));
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -30%; right: -5%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(194,124,60,0.18), transparent 68%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-top: 1rem; }
.page-hero p { color: var(--text-on-dark-muted); margin-top: 1rem; font-size: 1.08rem; max-width: 56ch; }
.breadcrumb { font-size: 0.85rem; color: var(--text-on-dark-muted); font-family: var(--font-head); }
.breadcrumb a:hover { color: var(--copper-300); }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .service-block, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media, .service-block:nth-child(even) .service-block__media { order: 0; }
  .contact-info { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .primary-nav, .header-actions .btn { display: none; }
  .burger { display: block; }
  .grid--2, .grid--3, .quote-grid, .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid { gap: 2rem; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.25rem; }
  .hero__meta dt { font-size: 1.35rem; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band .btn { width: auto; }
}
