/* CleanConfo · Carte de contact (version de production, issue du prototype V4)
   Hiérarchie : un seul or plein (Devis), une seule pilule à arête dorée (Appeler, numéro visible),
   des raccourcis graphite à icônes dorées, l'Espace client en or teinté.
   Téléphone : Devis et Appeler côte à côte. Ordinateur : l'un sous l'autre, carte panoramique dès 1180 px. */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.a30ddcd349.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Charte CleanConfo (codes validés par le propriétaire) */
  --cc-or-plein: linear-gradient(315deg, #D2AC47 5%, #F7EF8A 45%, #AE8625 85%);
  --cc-or-contour: linear-gradient(315deg, #AE8625 5%, #F7EF8A 45%, #D2AC47 85%);
  --cc-noir: #231F20;
  /* Teinte unie pour les icônes et petits intitulés : moyenne mesurée du dégradé de référence */
  --cc-or-uni: #DCC663;
  /* Arête éclairée : les couleurs de la charte du haut vers le bas, puis un bronze sombre.
     Aucune transparence : un jaune pâle assombri par transparence vire à l'olive, le bronze non. */
  --cc-arete: linear-gradient(180deg, #F7EF8A 0%, #D2AC47 28%, #AE8625 60%, #3B2F1E 100%);

  --bg: #08080A;
  --surface: #111113;
  --tuile: #141416;
  --edge: rgba(255, 255, 255, .06);
  --line: rgba(220, 198, 99, .22);
  --text: #F0EBE0;
  --muted: #A09A8D;
  --fond-pilule: #0C0B09;
  --erreur: #F0A08E;

  --logo: url("logo.d3126886af.webp");
  --logo-ratio: 800 / 401;
}

/* ---------- Base ---------- */

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

html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Un élément masqué reste masqué, même si sa classe lui donne un affichage (flex, grid…) */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Bibliothèque d'icônes en tête de page : invisible et sans encombrement */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible { outline: 2px solid #F7EF8A; outline-offset: 3px; }

/* Logo : image d'arrière-plan + reflet masqué par la transparence de l'image */
.logo {
  display: block;
  aspect-ratio: var(--logo-ratio);
  background: var(--logo) center / contain no-repeat;
  position: relative;
}
.logo::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: var(--logo) center / contain no-repeat;
          mask: var(--logo) center / contain no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* clip et non hidden : sur mobile, le halo qui déborde élargirait sinon la zone de mise en page */
.page { position: relative; overflow-x: clip; }

/* ---------- Barre haute ---------- */

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 14px 20px 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--cc-or-contour);
}
.client {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  margin-left: auto;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #F7F0DC;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(210, 172, 71, .17), rgba(210, 172, 71, .17)) padding-box,
    linear-gradient(var(--fond-pilule), var(--fond-pilule)) padding-box,
    var(--cc-or-contour) border-box;
}
.client::after { content: ""; position: absolute; inset: -4px; } /* zone tactile de 44 px */
.client .icon { width: 15px; height: 15px; color: var(--cc-or-uni); }

@media (max-width: 399px) {
  .eyebrow { gap: 8px; letter-spacing: .18em; }
}
@media (max-width: 359px) {
  .eyebrow { letter-spacing: .16em; }
  .eyebrow::before { display: none; }
}

/* ---------- Identité ---------- */

.identity {
  position: relative;
  padding: 22px 20px 0;
}
.identity::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -280px;
  width: 640px;
  height: 640px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 232, 170, .16), rgba(255, 232, 170, .05) 55%, transparent);
}
.slab {
  position: absolute;
  top: -8px;
  right: -86px;
  width: 124px;
  height: 250px;
  transform: rotate(16deg);
  transform-origin: top left;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px),
    linear-gradient(100deg, #2C281F 0%, #1C1A16 18%, #121211 55%, #0B0B0C 100%);
  box-shadow: inset 1px 0 0 rgba(247, 239, 138, .6), -18px 0 40px -20px rgba(247, 226, 150, .25);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
  pointer-events: none;
}
.identity .logo {
  width: 170px;
  margin-left: 4px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .75));
}
.identity .logo::after {
  background: radial-gradient(80% 110% at 100% 0, rgba(255, 246, 210, .6), transparent 60%);
}
.claim {
  position: relative;
  margin-top: 18px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.claim em {
  font-style: normal;
  background: var(--cc-or-contour);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.activity {
  position: relative;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Contacts ---------- */

.card {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}
.contacts {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.duo-row { display: grid; gap: 12px; }

.btn {
  display: flex;
  align-items: center;
  border-radius: 999px;
}
.btn:active { filter: brightness(.9); }

/* Devis : seul or plein de la page */
.btn--primary {
  justify-content: space-between;
  min-height: 50px;
  padding: 0 8px 0 22px;
  font-size: 16px;
  font-weight: 650;
  color: var(--cc-noir);
  background:
    radial-gradient(90% 160% at 88% -40%, rgba(255, 253, 235, .55), transparent 50%),
    var(--cc-or-plein);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 -1px 0 rgba(80, 55, 0, .25),
    0 12px 26px -14px rgba(210, 172, 71, .5);
}
.btn__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cc-noir);
  color: #F7EF8A;
}
.btn__arrow .icon { width: 16px; height: 16px; stroke-width: 1.8; }
.devis__short { display: none; }

/* Appeler : la seule pilule à contour doré, en arête éclairée, numéro affiché */
.btn--call {
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  font-size: 15px;
  border: 1px solid transparent;
  background: linear-gradient(var(--fond-pilule), var(--fond-pilule)) padding-box, var(--cc-arete) border-box;
}
.btn--call .icon { color: var(--cc-or-uni); }
.btn--call__label { font-weight: 600; color: var(--text); }
.btn--call__number {
  font-weight: 500;
  color: #CFC7B4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.btn--call__text { display: flex; align-items: baseline; gap: 10px; }
.btn--call__number::before { content: "·"; margin-right: 10px; color: var(--muted); }

/* Téléphone : Devis et Appeler côte à côte (choix du propriétaire).
   Le Devis garde la plus grande largeur ; le numéro passe sous « Appeler », dans le bouton.
   Paliers mesurés : libellé complet à partir de 360 px, « Devis » seul en dessous.
   Sous 300 px (zoom fort), les boutons s'empilent pour rester lisibles. */
@media (min-width: 300px) and (max-width: 959px) {
  .duo-row { grid-template-columns: 1.45fr 1fr; gap: 10px; }
  .duo-row .btn--primary { padding-left: 18px; }
  .duo-row .btn--call { min-height: 50px; padding: 0 12px; gap: 9px; }
  .duo-row .btn--call__text { flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.15; }
  .duo-row .btn--call__number { font-size: 12px; color: var(--muted); }
  .duo-row .btn--call__number::before { content: none; }
}
@media (min-width: 300px) and (max-width: 399px) {
  .duo-row { grid-template-columns: 1.4fr 1fr; gap: 8px; }
  .duo-row .btn--primary { padding: 0 6px 0 12px; font-size: 14px; }
  .duo-row .btn__arrow { width: 30px; height: 30px; }
  .duo-row .btn--call { padding: 0 10px; gap: 7px; }
  .duo-row .btn--call .icon { width: 16px; height: 16px; }
  .duo-row .btn--call__number { font-size: 11.5px; }
}
@media (min-width: 300px) and (max-width: 359px) {
  .duo-row { grid-template-columns: 1fr 1fr; }
  .duo-row .devis__long { display: none; }
  .duo-row .devis__short { display: inline; }
}

/* Raccourcis : tuiles graphite, icône dorée au-dessus du libellé */
.shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  width: 100%;
  min-height: 58px;
  padding: 8px 4px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--tuile);
  border: 1px solid rgba(255, 255, 255, .05);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .1);
}
.tile .icon { color: var(--cc-or-uni); }
.tile span { white-space: nowrap; }

.quiet-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 0 20px;
  margin-top: -4px;
}
.quiet {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}
.quiet span { white-space: nowrap; }
.quiet .icon { width: 17px; height: 17px; color: var(--cc-or-uni); }

/* ---------- Réseaux : cercles graphite sans contour ---------- */

.social {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 16px;
  text-align: center;
}
.social a {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}
.social__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--cc-or-uni);
  background: radial-gradient(circle at 50% 0, rgba(247, 239, 138, .09), transparent 70%), #151517;
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .12), 0 6px 14px -8px rgba(0, 0, 0, .9);
}

/* ---------- Avis ---------- */

.block { margin-top: 30px; }
.block__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cc-or-uni);
}
.block__title::before,
.block__title::after {
  content: "";
  flex: 1;
  min-width: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.block__title::after { background: linear-gradient(90deg, var(--line), transparent); }

.avis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.avis__card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 60px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .07);
}
.avis__logo { width: 24px; height: 24px; flex: none; }
.avis__text { display: grid; min-width: 0; flex: 1; }
.avis__name { font-weight: 650; font-size: 14px; }
.avis__cta { font-size: 12px; color: var(--muted); }
.avis__end { display: none; width: 16px; height: 16px; color: var(--muted); }

/* ---------- Réalisations avant/après : une seule pièce ---------- */

.real {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  padding: 0 20px;
}
.real__title {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.015em;
  text-align: center;
}
.real__frame {
  border-radius: 16px;
  overflow: hidden;
  background: #0E0E10;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .08);
}
.real__stage { display: grid; }
.real__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.real__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease, visibility 0s;
}
/* Le seul or du module : le filet qui sépare l'avant de l'après */
.real__pair { display: grid; grid-template-columns: 1fr 1px 1fr; }
.real__seam { background: var(--cc-or-contour); }
.real__half { position: relative; }
/* Photos verticales : le format 3/4 est celui des fichiers préparés, rien n'est recoupé à l'affichage */
.real__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #141416;
}
.real__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #F7F0DC;
  background: rgba(8, 8, 10, .72);
}

.real__bar {
  display: flex;
  align-items: center;
  margin-top: 6px;
}
.real__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--cc-or-uni);
}
.real__dots { display: flex; gap: 4px; }
.real__dots i {
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .2);
  transition: background-color .4s ease;
}
.real__dots i.is-active { background: var(--cc-or-uni); }
.real__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cc-or-uni);
}
.real__more .icon { width: 14px; height: 14px; }
/* Téléphone : les commandes gardent leurs 44 px, le lien vers la galerie passe sur sa propre ligne */
@media (max-width: 959px) {
  .real__bar { flex-wrap: wrap; justify-content: center; }
  .real__more { flex-basis: 100%; justify-content: center; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .real__slide,
  .real__slide.is-active,
  .real__dots i { transition: none; }
}

/* Lien simple, utilisé par la page introuvable (404.html) */
.realisations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cc-or-uni);
}
.realisations .icon { width: 17px; height: 17px; }
.realisations__out { width: 14px; height: 14px; color: var(--muted); }

/* ---------- Pied de page ---------- */

.foot {
  margin: 30px 20px 0;
  padding: 18px 0 36px;
  border-top: 1px solid var(--edge);
  font-size: 12.5px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}
.foot__legal a {
  display: inline-block;
  padding: 6px 0;
  color: #BDB6A6;
  text-decoration: underline;
  text-decoration-color: rgba(220, 198, 99, .45);
  text-underline-offset: 3px;
}

/* ---------- Panneaux : partage et demande de devis ---------- */

.sheet {
  width: min(340px, calc(100% - 32px));
  padding: 24px 20px 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-align: center;
}
.sheet::backdrop { background: rgba(0, 0, 0, .8); }
.sheet h2 { font-size: 16px; font-weight: 700; }
.sheet__qr { display: block; margin: 18px auto 10px; border-radius: 12px; }
.sheet__url { font-size: 13px; color: var(--muted); }
.sheet__actions { display: grid; gap: 10px; margin-top: 18px; }
.sheet__actions .btn,
.devis__fermer {
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .08);
  background: var(--tuile);
}
.sheet__actions .icon { color: var(--cc-or-uni); }
.sheet__status { min-height: 20px; margin-top: 10px; font-size: 13px; color: var(--cc-or-uni); }
.sheet__close { min-height: 44px; padding: 0 16px; font-size: 14px; color: var(--muted); }

.sheet--devis {
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 20px 18px 18px;
  text-align: left;
  overscroll-behavior: contain;
}
.devis__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.devis__head h2 { font-size: 19px; font-weight: 650; }
.devis__x { display: grid; place-items: center; width: 44px; height: 44px; margin: -10px -10px -10px 0; color: var(--muted); }
.devis__intro { margin: 4px 0 14px; font-size: 13px; color: var(--muted); }

.devis { display: grid; gap: 12px; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.champ { display: grid; align-content: start; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.champ > span,
.champ legend { padding: 0; font-size: 13px; font-weight: 600; }
.champ small { font-weight: 400; color: var(--muted); }
.champ input,
.champ textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px; /* 16 px : évite le zoom automatique d'iOS au focus */
  color: var(--text);
  background: #0C0C0E;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
}
.champ textarea { min-height: 104px; resize: vertical; }
.champ input:focus,
.champ textarea:focus { outline: none; border-color: var(--cc-or-uni); box-shadow: 0 0 0 3px rgba(220, 198, 99, .18); }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.champ__erreur { font-size: 12.5px; color: var(--erreur); }

.choix { display: flex; flex-wrap: wrap; gap: 6px; }
.pastille { position: relative; }
.pastille input { position: absolute; opacity: 0; pointer-events: none; }
.pastille span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  background: var(--tuile);
  border: 1px solid rgba(255, 255, 255, .1);
  cursor: pointer;
}
.pastille input:checked + span {
  color: var(--cc-noir);
  font-weight: 650;
  background: var(--cc-or-plein);
  border-color: transparent;
}
.pastille input:focus-visible + span { outline: 2px solid #F7EF8A; outline-offset: 2px; }

.accord { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.accord input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #D2AC47; }
.devis__rgpd { font-size: 12px; color: var(--muted); }
.devis__rgpd a { text-decoration: underline; text-underline-offset: 3px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.devis__statut { min-height: 0; font-size: 13.5px; }
.devis__statut.est-erreur { color: var(--erreur); }
.devis__envoyer { width: 100%; }
.devis__envoyer[disabled] { opacity: .6; cursor: progress; }

.devis__merci { display: grid; gap: 12px; padding: 8px 0 4px; text-align: center; }
.devis__merci h2 { font-size: 22px; }
.devis__merci p { color: var(--muted); }

/* ---------- Page introuvable (404.html, générée à la construction) ---------- */

.introuvable { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; padding-top: 18vh; text-align: center; }
.introuvable .eyebrow { justify-content: center; }
.introuvable h1 { font-size: 24px; font-weight: 600; }

/* ---------- Tablette ---------- */

@media (min-width: 600px) and (max-width: 959px) {
  .topbar,
  .identity,
  .card,
  .real { max-width: 520px; margin-inline: auto; }
  .foot { max-width: 480px; margin-inline: auto; }
}

/* ---------- Ordinateur, 960–1179 px : composition éditoriale ---------- */

@media (min-width: 960px) {
  body { overflow-x: hidden; }
  body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 47%;
    width: clamp(700px, 85vw, 1500px);
    aspect-ratio: 1;
    transform: translate(-50%, -58%);
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(255, 232, 170, .15), rgba(255, 232, 170, .05) 55%, transparent);
  }
  .slab,
  .identity::before { display: none; }

  .page {
    z-index: 1;
    display: grid;
    grid-template-columns: 46fr 54fr;
    grid-template-rows: auto auto 1fr auto;
    /* Le pied de page occupe le bas de la colonne droite, face aux photos : les deux colonnes finissent ensemble */
    grid-template-areas: "top top" "id card" "real card" "real foot";
    column-gap: 72px;
    max-width: 1080px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 48px;
  }
  .topbar { grid-area: top; padding: 28px 0 0; }
  .identity { grid-area: id; padding: 40px 0 0; }
  .identity .logo { width: 300px; margin-left: 0; }
  .claim { margin-top: 30px; font-size: 30px; line-height: 1.15; }
  .activity { margin-top: 10px; font-size: 15px; }

  /* Photos plafonnées pour ne jamais peser plus lourd que le logo */
  .real { grid-area: real; align-self: start; max-width: 380px; margin-top: 36px; padding: 0; }
  .real__title { text-align: left; font-size: 22px; }
  .real__bar { margin-top: 4px; }
  .real__btn { width: 36px; height: 36px; }
  .real__btn:hover { background: rgba(220, 198, 99, .1); }
  /* Six repères et le lien sur une seule ligne, dans les 380 px de la colonne */
  .real__dots i { width: 10px; }
  .real__more { white-space: nowrap; }

  .card { grid-area: card; align-self: start; padding: 48px 0 0; }
  .contacts { margin-top: 0; }
  .btn--primary { min-height: 52px; }
  .avis__end { display: block; }
  .realisations { justify-content: flex-start; }

  .foot { grid-area: foot; align-self: end; margin: 28px 0 0; padding: 18px 0 28px; }

  .client:hover {
    background:
      linear-gradient(rgba(210, 172, 71, .26), rgba(210, 172, 71, .26)) padding-box,
      linear-gradient(var(--fond-pilule), var(--fond-pilule)) padding-box,
      var(--cc-or-contour) border-box;
  }
  .btn--primary:hover { filter: brightness(1.05); }
  .btn--call:hover { background: linear-gradient(#16130D, #16130D) padding-box, var(--cc-arete) border-box; }
  .tile:hover { background: #1B1B1E; border-color: rgba(220, 198, 99, .3); }
  .quiet:hover span, .avis__card:hover .avis__name, .realisations:hover span, .real__more:hover { color: #F7EF8A; }
  .social a:hover { color: var(--text); }
  .social a:hover .social__icon { box-shadow: inset 0 0 0 1px rgba(220, 198, 99, .55); }
  .foot__legal a:hover { color: var(--text); }
  .pastille span:hover { border-color: rgba(220, 198, 99, .4); }
}

/* ---------- Grand ordinateur, à partir de 1180 px : carte panoramique, hauteur libre ---------- */

@media (min-width: 1180px) {
  body {
    display: grid;
    align-content: center;
    padding: clamp(24px, 5vh, 64px) 32px;
  }
  .page {
    column-gap: 64px;
    width: 100%;
    min-height: 0;
    padding: 30px 56px 0;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .06);
    background:
      radial-gradient(110% 120% at 48% 0, rgba(255, 232, 170, .07), transparent 62%),
      linear-gradient(180deg, #141416, #0E0E10);
    box-shadow:
      inset 0 1px 0 rgba(255, 236, 190, .14),
      0 40px 90px -30px rgba(0, 0, 0, .95);
  }
  .topbar { padding: 0; }
  .identity { padding-top: 36px; }
  .identity .logo { width: 345px; }
  .claim { margin-top: 32px; font-size: 32px; }
  .card { padding-top: 44px; }
  .real { margin-bottom: 36px; }

  /* À l'intérieur de la carte : des lignes à plat, pas de cartes imbriquées */
  .avis { gap: 0 24px; }
  .avis__card {
    padding: 9px 4px;
    border: 0;
    border-bottom: 1px solid var(--edge);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
}
