/* ==========================================================================
   Ultron Construction — feuille de style principale
   Palette or / bleu nuit. Aucune dépendance externe.
   Sommaire :
     1. Tokens
     2. Reset & base
     3. Utilitaires (container, boutons, titres de section)
     4. Header & navigation
     5. Hero
     6. Services
     7. Durable / photovoltaïque
     8. Contact
     9. Footer
    10. Révélation au scroll
    11. Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Bleus nuit */
  --navy-900: #061225;
  --navy-800: #08172b;
  --navy-700: #0a1a2f;
  --navy-600: #0e2138;
  --navy-500: #142c48;

  /* Ors */
  --gold-300: #f0d79a;
  --gold-400: #e8c87a;
  --gold-500: #d4a44b;
  --gold-600: #c9932f;
  --gold-700: #a97c20;
  --gold-ink:  #8a5f14;           /* or assombri : lisible sur fond clair (AA) */
  --gold-grad: linear-gradient(135deg, #e8c87a 0%, #c9932f 48%, #a97c20 100%);

  /* Neutres */
  --paper:    #f2f2f0;
  --white:    #ffffff;
  --ink:      #16202e;
  --ink-soft: #55617180;
  --muted:    #5b6674;
  --line:     #e2e0da;

  /* Typographie
     Pour retrouver exactement les polices de la maquette, décommenter la ligne
     @import en bas de fichier et remplacer les deux piles ci-dessous par
     "Barlow Condensed" (titres) et "Inter" (texte). */
  --font-display: "Segoe UI Semibold", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Rythme */
  --header-h: 86px;
  --container: 1320px;
  --gutter: 32px;
  --radius: 10px;

  --shadow-card: 0 1px 2px rgba(10, 26, 47, .06), 0 8px 24px rgba(10, 26, 47, .07);
  --shadow-lift: 0 4px 10px rgba(10, 26, 47, .10), 0 18px 40px rgba(10, 26, 47, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-700);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

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

.svg-sprite { display: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Cibles d'ancre : décalées de la hauteur du header collant */
section[id], [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* --------------------------------------------------------------------------
   3. Utilitaires
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Bouton or ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 26px;
  border: 0;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}

.btn--gold {
  background: var(--gold-grad);
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(201, 147, 47, .28);
}
.btn--gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 26px rgba(201, 147, 47, .38);
}
.btn--gold:active { transform: translateY(0); }

.btn__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  flex: 0 0 auto;
}
.btn__icon svg { width: 15px; height: 15px; }

.btn--sm {
  padding: 11px 20px;
  gap: 10px;
  font-size: .78rem;
}
.btn__arrow { width: 15px; height: 15px; }

/* En-tête de section ----------------------------------------------------- */
.section-head { text-align: center; }

.overline {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 10px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 0 0 clamp(26px, 5vw, 64px);
  height: 2px;
  background: var(--gold-500);
}

/* --------------------------------------------------------------------------
   4. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-700);
  border-bottom: 1px solid rgba(201, 147, 47, .22);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(8, 23, 43, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* Marque ------------------------------------------------------------------ */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.brand__mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 3px 9px rgba(0, 0, 0, .45));
}
.brand__text { display: block; line-height: 1; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: .01em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__tag {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: #dfe5ee;
}

/* Liens ------------------------------------------------------------------- */
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
}
.nav__link {
  position: relative;
  display: block;
  padding: 6px 2px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #e7ebf2;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--gold-300); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--gold-400); }

/* Burger ------------------------------------------------------------------ */
.burger {
  display: none;
  width: 46px;
  height: 40px;
  padding: 9px 6px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.burger__bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-500);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger.is-open .burger__bar:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger.is-open .burger__bar:nth-child(2) { opacity: 0; }
.burger.is-open .burger__bar:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy-700);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--navy-700) 0%, rgba(10, 26, 47, .92) 27%, rgba(10, 26, 47, .42) 57%, rgba(10, 26, 47, .04) 100%),
    linear-gradient(180deg, rgba(6, 18, 37, .40) 0%, transparent 22%, transparent 64%, rgba(6, 18, 37, .52) 100%);
}

.hero__inner { padding-block: clamp(52px, 8vw, 96px) clamp(96px, 12vw, 150px); }

.hero__content { max-width: 41rem; color: #fff; }

.hero__kicker {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.15;
}

.hero__title {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #f2dda8 0%, #e0b862 42%, #c9932f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 6px 26px rgba(0, 0, 0, .35);
}

.hero__baseline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(232, 200, 122, .32);
  font-family: var(--font-display);
  font-size: clamp(.9rem, 1.4vw, 1.12rem);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero__baseline i { color: var(--gold-500); font-style: normal; }

.hero__lead {
  max-width: 34rem;
  margin-top: 20px;
  font-size: 1rem;
  color: #cfd8e4;
}

.hero__content .btn { margin-top: 28px; }

/* Bandeau d'atouts -------------------------------------------------------- */
.hero__strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-block: 18px;
  background: linear-gradient(180deg, transparent, rgba(6, 18, 37, .55));
}
.atouts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 0 clamp(18px, 3vw, 44px);
  justify-content: start;
}
.atouts__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  padding-right: clamp(18px, 3vw, 44px);
  border-right: 1px solid rgba(232, 200, 122, .28);
}
.atouts__item:last-child { border-right: 0; padding-right: 0; }
.atouts__icon {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  color: var(--gold-400);
}
.atouts__label {
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
  line-height: 1.3;
}
.atouts__value {
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #eef2f8;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   6. Services
   -------------------------------------------------------------------------- */
.services {
  background: var(--paper);
  padding-block: clamp(48px, 6vw, 76px);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(30px, 4vw, 46px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: var(--shadow-card);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 16px;
}
.card__badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy-700);
  border: 2px solid var(--gold-500);
  color: var(--gold-400);
  box-shadow: 0 4px 12px rgba(10, 26, 47, .25);
}
.card__badge svg { width: 22px; height: 22px; }

.card__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--navy-700);
}

/* `min-height: 0` neutralise le minimum automatique des éléments flex : sans lui
   une image plus haute que le ratio 4/3 gonfle la tuile et désaligne les cartes. */
.card__media {
  flex: 0 0 auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: var(--navy-600);
}
/* `contain` : les visuels détourés sur fond transparent restent entiers sur la
   tuile bleu nuit. Les illustrations SVG sont en 4/3 exact et la remplissent. */
.card__media img { width: 100%; height: 100%; object-fit: contain; }

.card__list {
  display: grid;
  gap: 9px;
  padding: 18px 20px 4px;
  font-size: .88rem;
  color: var(--muted);
}
.card__list li { display: flex; align-items: flex-start; gap: 10px; }
.card__list svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: 0 0 auto;
  color: var(--gold-600);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 18px 20px 20px;
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.card__link svg { width: 15px; height: 15px; color: var(--gold-ink); transition: transform .25s var(--ease); }
.card__link:hover { color: var(--gold-ink); }
.card__link:hover svg { transform: translateX(4px); }

.card__chevron { display: none; }

/* --------------------------------------------------------------------------
   7. Durable / photovoltaïque
   -------------------------------------------------------------------------- */
.durable {
  position: relative;
  isolation: isolate;
  background: var(--navy-700);
  padding-block: clamp(44px, 5.5vw, 68px);
  overflow: hidden;
}
.durable__blueprint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/img/blueprint.svg") right center / auto 118% no-repeat;
  opacity: .5;
}
.durable::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--navy-700) 18%, rgba(10, 26, 47, .82) 60%, rgba(10, 26, 47, .7) 100%);
}

.durable__inner {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1.16fr;
  gap: clamp(22px, 2.6vw, 40px);
  align-items: stretch;
}

.durable__intro { position: relative; align-self: center; color: #fff; }
.durable__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  color: var(--gold-500);
}
.durable__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.9vw, 2.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.durable__lead {
  max-width: 22rem;
  margin-top: 16px;
  color: #cdd7e4;
}
.durable__rule {
  display: block;
  width: 84px;
  height: 2px;
  margin-top: 22px;
  background: var(--gold-500);
}

/* Panneaux ---------------------------------------------------------------- */
.panel {
  position: relative;
  padding: 26px 28px 28px;
  border: 1px solid rgba(232, 200, 122, .34);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  color: #e9eef5;
}

.panel__title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.panel__list { display: grid; gap: 15px; font-size: .93rem; }
.panel__list li { display: flex; align-items: center; gap: 14px; }
.panel__list svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: var(--gold-400);
}

.panel--solar {
  background:
    linear-gradient(90deg, rgba(10, 26, 47, .96) 0%, rgba(10, 26, 47, .92) 42%, rgba(10, 26, 47, .38) 78%, rgba(10, 26, 47, .28) 100%),
    url("../assets/img/photovoltaique.svg") right center / cover no-repeat;
}
.panel--solar .btn { margin-top: 24px; }

/* --------------------------------------------------------------------------
   8. Contact
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  background: var(--navy-800);
  border-top: 1px solid rgba(232, 200, 122, .18);
  padding-block: clamp(30px, 3.4vw, 42px);
  overflow: hidden;
}
.contact__bevel {
  position: absolute;
  top: 0;
  left: 0;
  width: 78px;
  height: 100%;
  background: var(--gold-grad);
  clip-path: polygon(0 0, 100% 0, 44% 100%, 0 100%);
}

/* Sous 1420px le contenu n'est plus centré : on l'écarte du biseau. */
@media (min-width: 761px) and (max-width: 1420px) {
  .contact__inner { padding-left: 102px; }
}

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

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.contact__sub {
  margin-top: 4px;
  font-size: 1.08rem;
  color: #e6ebf3;
}

.contact__ways {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px clamp(18px, 2.5vw, 34px);
}
.contact__way {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  transition: color .2s var(--ease);
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  color: var(--gold-400);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.contact__icon svg { width: 24px; height: 24px; }
.contact__value { font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.contact__way:hover { color: var(--gold-300); }
.contact__way:hover .contact__icon { background: var(--gold-500); color: var(--navy-900); }

.contact__sep {
  width: 1px;
  height: 40px;
  background: rgba(232, 200, 122, .34);
}

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(232, 200, 122, .16);
  padding-block: clamp(28px, 3.2vw, 40px);
  color: #c4cedd;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pillar {
  padding-inline: clamp(12px, 2vw, 28px);
  text-align: center;
  border-right: 1px solid rgba(232, 200, 122, .18);
}
.pillar:last-child { border-right: 0; }

.pillar__emblem {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2px solid var(--gold-600);
  color: var(--gold-400);
  background: rgba(232, 200, 122, .06);
}
.pillar__emblem svg { width: 26px; height: 26px; }

.pillar__title {
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 6px;
}
.pillar__text { font-size: .84rem; line-height: 1.5; color: #b7c2d2; }

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin-top: clamp(24px, 3vw, 34px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: .8rem;
  color: #7e8b9c;
}
.colophon a:hover { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   10. Révélation au scroll
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */

/* ≤ 1200px : services sur 2 colonnes, bloc durable sur 2 rangées ------------ */
@media (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .durable__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .durable__intro { grid-column: 1 / -1; }
  .durable__lead { max-width: none; }
}

/* ≤ 980px : passage au menu burger ---------------------------------------- */
@media (max-width: 980px) {
  :root { --header-h: 74px; --gutter: 22px; }

  .burger { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 90;
    padding: 8px 22px 40px;
    background: rgba(6, 18, 37, .98);
    backdrop-filter: blur(6px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid rgba(232, 200, 122, .14); }
  .nav__link { padding: 18px 4px; font-size: 1rem; }
  .nav__link::after { bottom: 10px; }

  body.is-locked { overflow: hidden; }

  .brand__mark { width: 54px; height: 54px; }
  .brand__name { font-size: 1.65rem; }
  .brand__tag { font-size: .64rem; letter-spacing: .3em; }

  /* Le bandeau d'atouts n'existe pas sur la maquette mobile */
  .hero__strip { display: none; }
  .hero__inner { padding-block: clamp(40px, 8vw, 72px); }
  .hero__media img { object-position: 70% 50%; }
}

/* ≤ 760px : cartes services en format horizontal --------------------------- */
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero__scrim {
    background:
      linear-gradient(90deg, var(--navy-700) 0%, rgba(10, 26, 47, .88) 46%, rgba(10, 26, 47, .5) 100%),
      linear-gradient(180deg, rgba(6, 18, 37, .6), rgba(6, 18, 37, .35));
  }
  .hero__content { max-width: none; }
  .hero__baseline { gap: 6px 12px; }
  .hero__lead { font-size: .95rem; }

  .services__grid { grid-template-columns: 1fr; gap: 14px; }

  .card {
    display: grid;
    grid-template-columns: 40% 1fr;
    grid-template-areas:
      "media head"
      "media list"
      "media foot";
    align-items: start;
  }
  .card:hover { transform: none; }

  .card__head  { grid-area: head; padding: 16px 40px 8px 34px; }
  .card__media { grid-area: media; aspect-ratio: auto; height: 100%; min-height: 150px; }
  .card__list  { grid-area: list; padding: 0 40px 16px 34px; }
  .card__link  { grid-area: foot; display: none; }

  /* Le badge chevauche la césure photo / contenu */
  .card__badge {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    z-index: 2;
  }
  .card__badge svg { width: 25px; height: 25px; }

  .card__title { font-size: .95rem; }
  .card__list { font-size: .82rem; gap: 7px; }

  .card__chevron {
    display: block;
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--gold-600);
  }

  /* Bloc durable : une carte arrondie qui contient l'intro et les panneaux */
  .durable { padding-inline: 0; }
  .durable__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
    margin-inline: var(--gutter);
    width: auto;
    border: 1px solid rgba(232, 200, 122, .34);
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
  }
  .durable__intro {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: center;
  }
  .durable__icon { grid-row: 1 / 3; width: 52px; height: 52px; margin: 0; }
  .durable__title { font-size: 1.35rem; line-height: 1.1; }
  .durable__lead { margin-top: 6px; font-size: .92rem; }
  .durable__rule { display: none; }

  .panel { padding: 18px 18px 20px; }
  .panel__title { font-size: .97rem; margin-bottom: 14px; }
  .panel__list { gap: 11px; font-size: .85rem; }
  .panel__list svg { width: 22px; height: 22px; }
  .panel--solar {
    background:
      linear-gradient(90deg, rgba(10, 26, 47, .96) 0%, rgba(10, 26, 47, .9) 40%, rgba(10, 26, 47, .35) 85%),
      url("../assets/img/photovoltaique.svg") right center / cover no-repeat;
  }

  /* Contact centré */
  .contact__inner { flex-direction: column; text-align: center; }
  .contact__bevel { display: none; }
  .contact__ways { justify-content: center; }
  .contact__icon { width: 46px; height: 46px; }
  .contact__icon svg { width: 21px; height: 21px; }

  /* Piliers : 4 colonnes serrées, comme la maquette mobile */
  .pillar { padding-inline: 6px; }
  .pillar__emblem { width: 42px; height: 42px; margin-bottom: 8px; }
  .pillar__emblem svg { width: 20px; height: 20px; }
  .pillar__title { font-size: .62rem; letter-spacing: .1em; }
  .pillar__text { font-size: .61rem; line-height: 1.4; }
}

/* ≤ 460px ------------------------------------------------------------------ */
@media (max-width: 460px) {
  :root { --gutter: 16px; }

  .brand__mark { width: 46px; height: 46px; }
  .brand__name { font-size: 1.4rem; }
  .brand__tag { font-size: .58rem; letter-spacing: .26em; }

  .hero__title { font-size: 2.15rem; }
  .hero__kicker { font-size: 1.05rem; }
  .btn { padding: 12px 12px 12px 20px; font-size: .8rem; }

  .card { grid-template-columns: 38% 1fr; }
  .card__head { padding: 14px 30px 6px 30px; }
  .card__list { padding: 0 30px 14px 30px; }
  .card__badge { width: 46px; height: 46px; }
  .card__badge svg { width: 21px; height: 21px; }

  .contact__sep { display: none; }
  .contact__ways { flex-direction: column; align-items: center; gap: 14px; }

  .pillars { gap: 4px; }
  .pillar__text br { display: none; }
}

/* --------------------------------------------------------------------------
   Accessibilité : mouvement réduit
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Impression
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .burger, .hero__strip, .card__chevron { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Polices de la maquette (optionnel, ajoute une dépendance réseau) :
   @import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600&display=swap");
   puis --font-display: "Barlow Condensed", …  /  --font-body: "Inter", …        */
