/* LQT Rénov — feuille de style commune
   Style : site d'artisan classique, bleu du camion + orange, titres Oswald. */

:root {
  --bleu: #1B3A7A;          /* bleu foncé du lettrage du camion */
  --bleu-fonce: #0F2554;
  --bleu-vif: #2A5BB8;
  --orange: #B8560F;        /* boutons et icônes (texte blanc lisible) */
  --orange-fonce: #9A460A;
  --orange-clair: #F0A25A;  /* icônes sur fond bleu */
  --blanc: #FFFFFF;
  --gris: #F2F4F8;
  --gris-2: #E3E8F0;
  --texte: #1E2733;
  --texte-2: #5B6573;
  --ligne: #D9DFE8;

  --titre: "Oswald", "Arial Narrow", sans-serif;
  --corps: "Poppins", system-ui, sans-serif;

  --rayon: 22px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
::selection { background: var(--bleu); color: var(--blanc); }
input, textarea, select { caret-color: var(--bleu); accent-color: var(--bleu); }

a { color: var(--bleu); text-underline-offset: .18em; }
a:hover { color: var(--orange); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.topbar :focus-visible, .hero-panel :focus-visible, .page-head :focus-visible,
.band :focus-visible, .about-card :focus-visible, .cta-band :focus-visible,

/* L'en-tête fixe ne cache pas le haut des sections visées par un lien */
[id] { scroll-margin-top: 110px; }

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 600;
  line-height: 1.2;
  color: var(--bleu);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--bleu); color: var(--blanc); padding: .5rem 1rem;
}
.skip:focus { left: 0; z-index: 100; }
.skip:hover { color: var(--blanc); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Texte à compléter ---------- */
.ph {
  background: #FDEBD8;
  border-bottom: 2px dashed var(--orange);
  padding: 0 .15em;
  color: var(--texte);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Photo manquante ---------- */
.photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gris-2);
  border-radius: var(--rayon);
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .6rem;
}
.photo::before {
  content: "";
  width: 44px; height: 44px;
  background: #9AA6B8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.photo:has(img)::before { display: none; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--square { aspect-ratio: 1; }
.tape {
  font-size: .85rem;
  font-weight: 400;
  color: var(--texte-2);
  text-align: center;
  padding-inline: 1rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--corps); font-size: 1rem; font-weight: 600;
  padding: .8em 1.5em;
  background: var(--orange); color: var(--blanc);
  border: 2px solid var(--orange);
  border-radius: 6px;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--orange-fonce); border-color: var(--orange-fonce); color: var(--blanc); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn:active { transform: translateY(1px) scale(.98); }
@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a, .tile h3, .tile-icon, .filters button, .footer-social {
    transition: background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out, transform .12s ease-out;
  }
}
.btn--ghost { background: transparent; color: var(--bleu); border-color: var(--bleu); }
.btn--ghost:hover { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.btn--light { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.85); }
.btn--light:hover { background: var(--blanc); color: var(--bleu); border-color: var(--blanc); }

/* ---------- Bandeau du haut ---------- */
.topbar { background: var(--bleu-fonce); color: #D7DEEB; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: var(--blanc); text-decoration: none; padding-block: .6rem; }
.topbar a:hover { color: var(--orange-clair); }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-item .icon { color: var(--orange-clair); width: 1rem; height: 1rem; }
.topbar-links { display: flex; gap: 1.5rem; }
@media (max-width: 700px) { .topbar-zone { display: none; } }

/* ---------- En-tête ---------- */
.site-header {
  background: var(--blanc);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 14px rgba(15, 37, 84, .08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1rem; }

.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--bleu); }
.logo-mark { width: 46px; height: 46px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--titre); font-weight: 700; font-size: 1.75rem; letter-spacing: .01em; white-space: nowrap; }
.logo-sub { font-size: .78rem; color: var(--texte-2); margin-top: .3rem; }
.logo:hover { color: var(--bleu); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .35rem; align-items: center; }
.nav a {
  display: block;
  font-family: var(--titre); font-weight: 600; font-size: 1.02rem;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--texte); text-decoration: none;
  padding: .45rem .85rem; border-radius: 999px;
}
.nav a:hover { color: var(--bleu); background: var(--gris); }
.nav a[aria-current="page"] { background: var(--bleu); color: var(--blanc); }
.nav .btn { margin-left: .6rem; border-radius: 6px; color: var(--blanc); letter-spacing: .04em; }
.nav .btn:hover { background: var(--orange-fonce); color: var(--blanc); }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-call { display: none; }
.nav-toggle {
  display: none;
  font-family: var(--titre); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em;
  background: none; border: 2px solid var(--bleu); color: var(--bleu);
  border-radius: 6px; padding: .45rem .8rem; cursor: pointer;
}

@media (max-width: 1020px) {
  .site-header .wrap { min-height: 70px; }
  .nav-toggle, .header-call { display: inline-flex; }
  .header-call { padding: .5rem .9rem; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--blanc); box-shadow: 0 12px 20px rgba(15, 37, 84, .12);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .25rem; padding: .75rem var(--gutter) 1.25rem; }
  .nav a { border-radius: 8px; padding: .75rem 1rem; }
  .nav .btn { margin: .5rem 0 0; }
}
@media (max-width: 420px) {
  .logo-mark { width: 38px; height: 38px; }
  .logo-name { font-size: 1.45rem; }
  .logo-sub { display: none; }
  .header-call { padding: .45rem .7rem; }
}

/* ---------- Titres de section (style « NOS SERVICES ») ---------- */
.big-title {
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  text-transform: uppercase;
  letter-spacing: .16em;
  text-align: center;
  color: var(--bleu);
  margin: 0 0 2.5rem;
}
.big-title--light { color: var(--blanc); }
.big-title--left { text-align: left; margin-bottom: 1.25rem; }

.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--alt { background: var(--gris); }
.section--flush-top { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.section-head { margin-bottom: 2.25rem; }
.section-head p { color: var(--texte-2); }
.more-link { margin-top: 2rem; }

/* ---------- Accroche ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 520px; }
.hero-panel {
  background: linear-gradient(160deg, var(--bleu-vif) 0%, var(--bleu) 55%, var(--bleu-fonce) 100%);
  color: var(--blanc);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
}
.hero-panel h1 {
  color: var(--blanc);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.22;
}
.hero-trades {
  font-family: var(--titre); font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase;
  color: #E4EAF5; margin-bottom: 1.25rem;
}
.hero-lead { color: #E4EAF5; max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hero-actions .btn { font-size: 1.1rem; }
.hero-facts { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .4rem; font-size: .92rem; color: #E4EAF5; }
.hero-facts li { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.hero-facts .icon { color: var(--orange-clair); }

.hero-photos {
  background: var(--gris);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.25rem; padding: clamp(2rem, 4vw, 3rem) var(--gutter);
}
.ba-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); gap: 1.25rem; }
.ba-pair figure { margin: 0; position: relative; }
.ba-pair img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: 0 10px 24px -12px rgba(15, 37, 84, .45); }
.ba-label {
  position: absolute; left: .75rem; top: .75rem;
  background: var(--bleu); color: var(--blanc);
  font-family: var(--titre); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
  padding: .2rem .7rem; border-radius: 999px;
}
.ba-pair figure:last-child .ba-label { background: var(--orange); }
.ba-caption { font-size: .92rem; color: var(--texte-2); margin: 0; text-align: center; }
.ba-caption a { font-weight: 600; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .ba-pair { gap: .75rem; }
}

/* ---------- Tuiles de services ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.tile { text-align: center; text-decoration: none; color: inherit; display: block; }
.tile .photo { border-radius: 0; aspect-ratio: 16 / 11; }
.tile-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--blanc); color: var(--bleu);
  display: grid; place-items: center;
  margin: -36px auto .75rem; position: relative; z-index: 1;
  box-shadow: 0 4px 14px rgba(15, 37, 84, .18);
}
.tile-icon .icon { width: 34px; height: 34px; stroke-width: 1.6; }
.tile h3 { font-weight: 700; font-size: 1.5rem; margin: 0 0 .3rem; }
.tile p { color: var(--texte-2); font-size: .92rem; margin: 0 auto; max-width: 32ch; }
.tile:hover h3 { color: var(--orange); }
.tile:hover .tile-icon { background: var(--orange); color: var(--blanc); }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .tiles { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .tiles { gap: 2rem 1rem; }
  .tile h3 { font-size: 1.2rem; }
  .tile p, .tile .tape { display: none; }
  .tile-icon { width: 56px; height: 56px; margin-top: -28px; }
  .tile-icon .icon { width: 26px; height: 26px; }
}

/* ---------- Présentation ---------- */
.intro { text-align: center; padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.intro-mark { width: 54px; height: 54px; margin: 0 auto .75rem; }
.intro h2 { font-weight: 700; font-size: clamp(2rem, 4.4vw, 3rem); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.section--tight-top { padding-top: clamp(2rem, 4vw, 3rem); }
.intro p { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 300; color: var(--texte-2); letter-spacing: .02em; margin-inline: auto; max-width: none; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.about-card {
  background: var(--bleu);
  color: #DCE4F2;
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative; z-index: 1;
  margin-right: -3rem;
  box-shadow: 0 16px 36px -12px rgba(15, 37, 84, .45);
}
.about-card h3 { color: var(--orange-clair); font-size: 1.45rem; }
.about-card strong { color: var(--blanc); }
.about-card ul { padding-left: 1.1rem; margin: 0 0 1.5rem; }
.about-card li { margin-bottom: .35rem; }
.about-card li::marker { color: var(--orange-clair); }
.about .photo { border-radius: 28px; aspect-ratio: 4 / 3; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-card { margin: 0 0 -2rem; }
}

/* ---------- Galerie sur fond bleu ---------- */
.band {
  background: linear-gradient(180deg, var(--bleu-fonce), var(--bleu) 70%, var(--bleu-vif));
  color: var(--blanc);
}
.band .more-link { text-align: center; margin: 3.5rem auto 0; max-width: none; }
.pills { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; align-items: center; }
.pills figure { margin: 0; }
.pills img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; border-radius: 34px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.pills figure:nth-child(even) { transform: translateY(1.5rem); }
@media (max-width: 860px) {
  .pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pills figure:nth-child(even) { transform: none; }
  .pills figure:last-child { grid-column: 1 / -1; width: 50%; justify-self: center; }
}

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; text-align: center; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 54px; height: 54px; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--orange); color: var(--blanc);
  font-family: var(--titre); font-weight: 700; font-size: 1.5rem;
}
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--texte-2); font-size: .92rem; margin: 0 auto; max-width: 30ch; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { margin: 0; background: var(--blanc); border-radius: var(--rayon); padding: 1.75rem; box-shadow: 0 6px 20px -10px rgba(15, 37, 84, .25); }
.review blockquote { margin: 0 0 1rem; font-size: 1.02rem; }
.review figcaption { color: var(--texte-2); font-size: .88rem; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.zone ul { columns: 2; padding-left: 1.1rem; margin: 0; }
.zone li::marker { color: var(--orange); }
@media (max-width: 760px) { .zone { grid-template-columns: 1fr; } }

/* ---------- Bandeau d'appel ---------- */
.cta-band { background: var(--bleu); color: var(--blanc); padding-block: clamp(2.75rem, 6vw, 4rem); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--blanc); margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- En-tête des pages internes ---------- */
.page-head {
  background: linear-gradient(160deg, var(--bleu-vif), var(--bleu) 60%, var(--bleu-fonce));
  color: var(--blanc);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.page-head h1 { color: var(--blanc); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: .3rem; }
.page-head .lead { color: #DCE4F2; margin: .75rem auto 0; font-size: 1.08rem; }
.cordeau { width: 64px; height: 4px; background: var(--orange-clair); border-radius: 2px; margin: .6rem auto 0; }

/* ---------- Services ---------- */
.service {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--ligne);
}
.service:last-child { border-bottom: 0; }
.service h2 { text-transform: uppercase; letter-spacing: .04em; }
.service:nth-child(even) .photo { order: -1; }
.service ul { padding-left: 1.1rem; margin: 0 0 1.5rem; }
.service li { margin-bottom: .3rem; }
.service li::marker { color: var(--orange); }
@media (max-width: 760px) {
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .photo { order: 0; }
}

/* ---------- Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.filters button {
  font-family: var(--titre); font-size: 1rem; letter-spacing: .05em; text-transform: uppercase;
  background: var(--blanc); color: var(--bleu);
  border: 2px solid var(--bleu); border-radius: 999px;
  padding: .4em 1.1em; cursor: pointer;
}
.filters button:hover { background: var(--gris); }
.filters button[aria-pressed="true"] { background: var(--bleu); color: var(--blanc); }
.chantiers { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.chantier {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--ligne);
}
.chantier:last-child { border-bottom: 0; padding-bottom: 0; }
.chantier[hidden] { display: none; }
.chantier-cover { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; background: var(--gris-2); box-shadow: 0 14px 30px -16px rgba(15, 37, 84, .5); }
.chantier-cover img { width: 100%; height: 100%; object-fit: cover; }
.chantier-count {
  position: absolute; right: .9rem; bottom: .9rem;
  background: rgba(15, 37, 84, .85); color: var(--blanc);
  font-size: .85rem; font-weight: 600; padding: .35em .9em; border-radius: 999px;
}
.chantier-kind { font-family: var(--titre); text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin: 0 0 .2rem; font-size: .95rem; }
.chantier h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .6rem; }
.chantier-where { font-size: .9rem; color: var(--texte-2); }
.thumbs { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .65rem; }
.thumbs a { display: block; position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--gris-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.chantier-cover img, .thumbs img { transition: transform .35s ease, opacity .2s; }
.chantier-cover:hover img, .thumbs a:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .chantier-cover img, .thumbs img { transition: none; } }
.step-tag {
  position: absolute; left: .35rem; bottom: .35rem;
  font-family: var(--titre); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--bleu); color: var(--blanc); padding: .15em .55em; border-radius: 999px;
}
.step-tag--pendant { background: var(--texte-2); }
.step-tag--apres, .step-tag--ba { background: var(--orange); }
@media (max-width: 760px) {
  .chantier { grid-template-columns: 1fr; }
  .chantier-cover { aspect-ratio: 4 / 3; }
  .thumbs { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
}

/* Visionneuse photo */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #081024; color: var(--blanc);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 16, 36, .6); }
.lightbox figure { margin: 0; padding: 3.5rem 4.5rem 1rem; display: grid; justify-items: center; gap: .9rem; max-height: 100vh; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; border-radius: 8px; }
.lightbox figcaption { text-align: center; max-width: 60ch; font-size: .95rem; color: #DCE4F2; }
.lightbox-label { font-family: var(--titre); text-transform: uppercase; letter-spacing: .06em; color: var(--orange-clair); }
.lightbox-count { white-space: nowrap; color: #9FB0CC; }
.lightbox-btn {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: var(--blanc);
}
.lightbox-btn:hover { background: var(--orange); }
.lightbox-btn .icon { width: 26px; height: 26px; stroke-width: 2.2; }
.lightbox-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-close { right: 1rem; top: 1rem; }
.lightbox :focus-visible { outline-color: var(--orange-clair); }
@media (max-width: 600px) {
  .lightbox figure { padding: 4rem .5rem 5.5rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; translate: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}

/* ---------- À propos ---------- */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.facts--spaced { margin-top: 2rem; }
.facts > div { background: var(--gris); border-radius: 14px; padding: 1rem 1.1rem; }
.facts dt { font-family: var(--titre); color: var(--bleu); font-size: 1.05rem; }
.facts dd { margin: 0; color: var(--texte-2); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

.trades { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trades li { background: var(--blanc); border-radius: var(--rayon); padding: 1.75rem; box-shadow: 0 6px 20px -10px rgba(15, 37, 84, .25); }
.trades h3 { margin-bottom: .4rem; }
.trades p { margin: 0; color: var(--texte-2); }
@media (max-width: 860px) { .trades { grid-template-columns: 1fr; } }

.badges { display: flex; flex-wrap: wrap; gap: 1rem; }
.badge { border: 2px dashed var(--ligne); border-radius: 14px; padding: 1rem 1.25rem; min-width: 170px; text-align: center; font-weight: 400; color: var(--texte-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; margin-bottom: .35rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--texte);
  background: var(--blanc); border: 2px solid #8A95A6; border-radius: 8px;
  padding: .7rem .85rem;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--bleu); outline: none; }
.form [aria-invalid="true"] { border-color: #B42318; }
.field-error { color: #B42318; font-size: .9rem; font-weight: 600; margin: .35rem 0 0; }
.field-error:empty { display: none; }
.optional { font-weight: 400; color: var(--texte-2); }
.call-first {
  margin: 0; padding: 1rem 1.1rem; border-radius: 10px;
  background: var(--gris); font-weight: 600;
}
.call-first a { color: var(--orange); white-space: nowrap; }
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { font-size: .88rem; color: var(--texte-2); margin: .3rem 0 0; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: .9rem 1rem; background: var(--gris); border-radius: 8px; font-weight: 600; }

.coords { background: var(--bleu); color: #DCE4F2; border-radius: 28px; padding: clamp(1.75rem, 4vw, 2.5rem); }
.coords h2 { color: var(--blanc); font-size: 1.7rem; text-transform: uppercase; letter-spacing: .04em; }
.coords dl { margin: 0; display: grid; gap: 1.1rem; }
.coords dt { color: var(--orange-clair); font-size: .88rem; }
.coords dd { margin: 0; font-weight: 600; color: var(--blanc); }
.coords a { color: var(--blanc); }
.coords a:hover { color: var(--orange-clair); }
.coords :focus-visible { outline-color: var(--orange-clair); }

/* ---------- Pied de page ---------- */
.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); font-size: .92rem; border-top: 1px solid var(--ligne); }
.footer-brand {
  background: var(--blanc);
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  text-align: center;
}
.footer-brand p { color: var(--texte-2); margin: 0; }
.footer-social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bleu); color: var(--blanc); }
.footer-social:hover { background: var(--orange); color: var(--blanc); }
.footer-social .icon { fill: currentColor; stroke: none; }
.footer-info {
  background: var(--gris);
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; align-content: center;
}
.footer-item { display: flex; gap: .9rem; align-items: flex-start; }
.footer-item .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: var(--blanc); display: grid; place-items: center; flex: none; }
.footer-item .dot .icon { width: 20px; height: 20px; }
.footer-item a { color: var(--texte); }
.footer-item a { display: inline-block; padding-block: .2rem; }
.footer-item a:hover { color: var(--orange-fonce); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; grid-column: 1 / -1; }
.footer-nav a { display: inline-block; padding-block: .35rem; color: var(--bleu); font-family: var(--titre); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.footer-nav a:hover { color: var(--orange-fonce); }
.footer-legal { grid-column: 1 / -1; color: var(--texte-2); font-size: .85rem; border-top: 1px solid var(--ligne); padding-top: 1rem; }
@media (max-width: 860px) {
  .site-footer { grid-template-columns: 1fr; }
  .footer-info { grid-template-columns: 1fr; }
}

.center-note { text-align: center; margin: -1.5rem auto 2rem; color: var(--texte-2); }
