/* Ringlight · feuille de style unique.
   L'identité : fond noir, anneau doré, typographie Montserrat (gras / fin) comme sur le logo. */

:root {
  color-scheme: dark;
  --fond: #0a0a0b;
  --fond-2: #0f0f11;
  --surface: #151518;
  --surface-2: #1c1c20;
  --ligne: rgba(255, 255, 255, 0.08);
  --ligne-forte: rgba(255, 255, 255, 0.16);
  --texte: #f4f0e8;
  --texte-2: #b2aca2;
  --texte-3: #827d75;
  --or: #d9a24e;
  --or-clair: #f2c47c;
  --or-fonce: #a87632;
  --or-voile: rgba(217, 162, 78, 0.12);
  --succes: #6cc795;
  --erreur: #f07a6a;
  --rayon: 20px;
  --rayon-petit: 10px;
  --titres: 'Montserrat', system-ui, sans-serif;
  --corps: 'Inter', system-ui, sans-serif;
  --largeur: 1200px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --entete: 72px;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 1.0625rem/1.65 var(--corps);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: var(--or);
  color: #140e04;
}

:focus-visible {
  outline: 2px solid var(--or-clair);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
.hero-titre {
  font-family: var(--titres);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1,
.hero-titre {
  font-size: clamp(2.4rem, 6.2vw, 4.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

h1 em,
h2 em,
.hero-titre em {
  font-style: normal;
  font-weight: 200;
  color: var(--or-clair);
}

p {
  margin: 0 0 1em;
}

.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.lien-evitement {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--or);
  color: #140e04;
  padding: 10px 16px;
  border-radius: var(--rayon-petit);
  font-weight: 600;
}

.lien-evitement:focus {
  top: 12px;
}

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 0.76rem/1 var(--titres);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 20px;
}

.surtitre::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ---------- Boutons et liens ---------- */

.boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.boutons-centre {
  justify-content: center;
}

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--titres);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--courbe), box-shadow 0.25s, border-color 0.25s, color 0.25s, background 0.25s;
}

.bouton:active {
  transform: translateY(1px);
}

.bouton-or {
  background: linear-gradient(135deg, var(--or-clair), var(--or) 55%, var(--or-fonce));
  color: #170f04;
  box-shadow: 0 6px 24px rgba(217, 162, 78, 0.18);
}

.bouton-or:hover {
  box-shadow: 0 10px 36px rgba(217, 162, 78, 0.38);
  transform: translateY(-2px);
}

.bouton-contour {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--ligne-forte);
  color: var(--texte);
}

.bouton-contour:hover {
  border-color: var(--or);
  color: var(--or-clair);
}

.bouton-petit {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.bouton-danger:hover {
  border-color: var(--erreur);
  color: var(--erreur);
}

.bouton:disabled {
  opacity: 0.6;
  cursor: wait;
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 0.92rem/1.2 var(--titres);
  color: var(--or);
  text-decoration: none;
}

.lien-fleche .icone,
.bouton .icone {
  transition: transform 0.25s var(--courbe);
}

a:hover > .lien-fleche .icone,
.lien-fleche:hover .icone,
.bouton:hover .icone {
  transform: translateX(3px);
}

.etiquettes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.etiquettes span,
.etiquette {
  font: 600 0.7rem/1 var(--titres);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texte-2);
  border: 1px solid var(--ligne-forte);
  border-radius: 999px;
  padding: 6px 11px;
}

.liste-coches {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.liste-coches li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--texte-2);
  font-size: 0.97rem;
  line-height: 1.5;
}

.liste-coches .icone {
  flex: none;
  color: var(--or);
  margin-top: 3px;
}

.puces {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.puces a,
.puces button {
  font: 500 0.9rem/1 var(--titres);
  color: var(--texte);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ligne-forte);
  border-radius: 999px;
  padding: 11px 18px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.puces a:hover,
.puces button:hover,
.puces button[aria-pressed='true'] {
  border-color: var(--or);
  color: var(--or-clair);
  background: var(--or-voile);
}

/* ---------- Logo ---------- */

.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--texte);
}

.anneau {
  flex: none;
  filter: drop-shadow(0 0 6px rgba(217, 162, 78, 0.45));
}

.marque-nom {
  font: 300 1.05rem/1 var(--titres);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marque-nom b {
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* ---------- En-tête ---------- */

.entete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--entete);
  transition: border-color 0.3s;
  border-bottom: 1px solid transparent;
}

/* Le fond flouté est porté par un pseudo-élément : un backdrop-filter sur .entete
   servirait de repère au menu mobile (position: fixed), qui se retrouverait haut de 0 px. */
.entete::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.3s;
}

.entete-defile,
.menu-ouvert .entete {
  border-color: var(--ligne);
}

.entete-defile::before,
.menu-ouvert .entete::before {
  opacity: 1;
}

.entete-interieur {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.entete .marque {
  margin-right: auto;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.nav a {
  display: block;
  padding: 10px 14px;
  font: 500 0.92rem/1 var(--titres);
  color: var(--texte-2);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--texte);
}

.nav a[aria-current='page'] {
  box-shadow: inset 0 -2px 0 -0px transparent;
  background: rgba(255, 255, 255, 0.05);
}

.nav-telephone {
  display: none !important;
}

.nav-bouton {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ligne-forte);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-bouton span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--texte);
  transition: transform 0.3s var(--courbe), top 0.3s var(--courbe);
}

.nav-bouton span:first-child {
  top: 17px;
}

.nav-bouton span:last-child {
  top: 25px;
}

.menu-ouvert .nav-bouton span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-ouvert .nav-bouton span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 899px) {
  .nav-bouton {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--entete) 0 0;
    background: var(--fond);
    padding: 32px var(--gouttiere);
    display: flex;
    flex-direction: column;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--courbe), visibility 0.25s;
  }

  .menu-ouvert {
    overflow: hidden;
  }

  .menu-ouvert .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav ul a {
    font-size: 1.75rem;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid var(--ligne);
    border-radius: 0;
    color: var(--texte);
    background: none !important;
  }

  .nav ul a[aria-current='page'] {
    color: var(--or-clair);
  }

  .nav-telephone {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    color: var(--or) !important;
    font-size: 1.05rem !important;
    padding: 0 !important;
  }
}

@media (max-width: 380px) {
  .entete-cta {
    display: none;
  }
}

/* ---------- Accueil : l'anneau lumineux ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: grid;
  place-items: center;
  padding: calc(var(--entete) + 48px) 0 72px;
  overflow: hidden;
  text-align: center;
}

/* L'anneau est centré sur le texte (le contenu est décalé de la moitié de la hauteur de l'en-tête) et assez grand
   pour que le cercle blanc entoure le texte sans le couper. */
.hero-anneau {
  position: absolute;
  left: 50%;
  top: calc(50% + 24px);
  width: clamp(600px, 64vw, 900px);
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
}

.hero-halo,
.hero-halo::after,
.hero-anneau::before {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.hero-halo {
  background: radial-gradient(closest-side, transparent 58%, rgba(217, 162, 78, 0.85) 66%, rgba(226, 172, 90, 0.95) 80%, rgba(217, 162, 78, 0.45) 92%, transparent 100%);
  filter: blur(3px);
  opacity: 0.42;
  animation: respirer 7s ease-in-out infinite;
}

.hero-halo::after {
  content: '';
  background: inherit;
  filter: blur(60px);
  opacity: 0.8;
}

.hero-anneau::before {
  content: '';
  z-index: 1;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(255, 236, 200, 0.5) 74%, transparent 86%);
  -webkit-mask: radial-gradient(closest-side, transparent 60%, #000 67%, #000 93%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 60%, #000 67%, #000 93%, transparent 100%);
  opacity: 0.35;
  animation: tourner 16s linear infinite;
}

.hero-cercle {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.18), inset 0 0 30px rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

@keyframes respirer {
  50% {
    opacity: 0.55;
  }
}

@keyframes tourner {
  to {
    rotate: 1turn;
  }
}

.hero-interieur {
  position: relative;
  z-index: 2;
  max-width: 940px;
}

/* Sur l'accueil, le h1 est le surtitre (ce que fait l'agence, pour Google) ; la devise s'affiche en grand dans .hero-titre. */
.hero .hero-titre {
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 28px;
}

.hero-intro {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--texte-2);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero .surtitre::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* Sur téléphone, le texte occupe toute la largeur : l'anneau déborde de l'écran et encadre le texte,
   sans le cercle blanc qui le couperait. */
@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
  }

  .hero-anneau {
    width: 165vw;
  }

  .hero-cercle {
    display: none;
  }

  .hero .surtitre {
    letter-spacing: 0.14em;
  }

  .hero .surtitre::before,
  .hero .surtitre::after {
    display: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
}

.section-serree {
  padding-top: clamp(32px, 5vw, 56px);
}

.section-entete {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-entete h2 {
  margin: 0;
}

.section-entete-ligne {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.section-projets,
.section-temoignages {
  background: var(--fond-2);
  border-block: 1px solid var(--ligne);
}

/* Publics */

.grille-publics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.carte-public {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.3s, translate 0.4s var(--courbe), background 0.3s;
}

.carte-public::before {
  content: '';
  position: absolute;
  width: 240px;
  aspect-ratio: 1;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  border: 18px solid var(--or);
  opacity: 0.05;
  filter: blur(2px);
  transition: opacity 0.4s;
}

.carte-public:hover {
  border-color: rgba(217, 162, 78, 0.45);
  translate: 0 -4px;
  background: var(--surface-2);
}

.carte-public:hover::before {
  opacity: 0.16;
}

.carte-public-numero {
  font: 200 2.6rem/1 var(--titres);
  color: var(--or);
  margin-bottom: 28px;
  display: block;
}

.carte-public-court {
  font: 600 0.72rem/1 var(--titres);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texte-3);
  margin-bottom: 10px;
}

.carte-public h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.carte-public-accroche {
  color: var(--texte-2);
  margin-bottom: 22px;
}

.carte-public .liste-coches {
  margin-bottom: 26px;
}

.carte-public .lien-fleche {
  margin-top: auto;
}

/* Projets */

.grille-projets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 899px) {
  .grille-projets {
    grid-template-columns: minmax(0, 1fr);
  }
}

.carte-projet {
  --teinte: var(--or);
  border-radius: 24px;
  border: 1px solid var(--ligne);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s, translate 0.4s var(--courbe);
}

.carte-projet:hover {
  border-color: color-mix(in srgb, var(--teinte) 55%, transparent);
  translate: 0 -4px;
}

.carte-projet-lien {
  display: block;
  text-decoration: none;
  height: 100%;
}

.carte-projet-visuel {
  position: relative;
  height: clamp(250px, 30vw, 360px);
  padding: 40px 36px 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--teinte) 42%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--teinte) 14%, var(--surface)), var(--surface));
  border-bottom: 1px solid var(--ligne);
}

.carte-projet-visuel .visuel {
  height: 100%;
  transition: transform 0.6s var(--courbe);
}

.carte-projet:hover .carte-projet-visuel .visuel {
  transform: translateY(-8px);
}

.carte-projet-texte {
  padding: 28px 30px 30px;
}

.carte-projet-texte h2,
.carte-projet-texte h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.carte-projet-texte p:not(.etiquettes) {
  color: var(--texte-2);
  margin-bottom: 20px;
}

/* Cadres d'écran */

.visuel {
  position: relative;
}

.cadre-navigateur,
.cadre-telephone {
  margin: 0;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.cadre-navigateur {
  border-radius: 12px;
  background: #1a1a1e;
}

.cadre-barre {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  background: #1f1f24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cadre-barre i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.cadre-barre span {
  margin-left: 12px;
  flex: 1;
  max-width: 260px;
  font: 500 0.68rem/18px var(--corps);
  color: var(--texte-3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cadre-telephone {
  border-radius: clamp(18px, 2.6vw, 30px);
  border: clamp(4px, 0.6vw, 7px) solid #222226;
}

.cadre-telephone img {
  width: 100%;
}

.visuel-site .cadre-navigateur {
  width: 88%;
}

.visuel-site .cadre-telephone {
  position: absolute;
  right: 0;
  top: 16%;
  width: 24%;
}

.visuel-appli {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.visuel-appli .cadre-telephone {
  width: 42%;
  flex: none;
}

.visuel-3 .cadre-telephone {
  width: 34%;
}

.visuel-3 .cadre-telephone:nth-child(1),
.visuel-3 .cadre-telephone:nth-child(3) {
  margin-top: 9%;
}

.visuel-3 .cadre-telephone:nth-child(1) {
  margin-right: -6%;
  rotate: -4deg;
}

.visuel-3 .cadre-telephone:nth-child(3) {
  margin-left: -6%;
  rotate: 4deg;
}

.visuel-3 .cadre-telephone:nth-child(2) {
  position: relative;
  z-index: 1;
}

.carte-projet .visuel-1 .cadre-telephone {
  width: 38%;
}

/* Engagements */

.grille-engagements {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  counter-reset: engagement;
}

.grille-engagements li {
  counter-increment: engagement;
  border-top: 1px solid var(--ligne-forte);
  padding-top: 28px;
}

.grille-engagements li::before {
  content: '0' counter(engagement);
  display: block;
  font: 200 3rem/1 var(--titres);
  color: var(--or);
  margin-bottom: 20px;
}

.grille-engagements h3 {
  font-size: 1.45rem;
}

.grille-engagements p {
  color: var(--texte-2);
  margin: 0;
}

/* Témoignages */

.grille-temoignages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.temoignage {
  margin: 0;
  padding: 32px 30px 28px;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  display: flex;
  flex-direction: column;
}

.temoignage blockquote {
  margin: 0 0 24px;
  flex: 1;
}

.temoignage blockquote::before {
  content: '“';
  display: block;
  font: 700 3.4rem/0.7 var(--titres);
  color: var(--or);
  margin-bottom: 8px;
}

.temoignage blockquote p {
  font: 400 1.08rem/1.6 var(--titres);
  margin: 0;
}

.temoignage figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.92rem;
}

.temoignage figcaption span {
  color: var(--texte-3);
}

/* Appel à l'action */

.appel {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 12vw, 150px) 0;
  text-align: center;
  border-top: 1px solid var(--ligne);
}

.appel-anneau {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(420px, 52vw, 640px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 60%, rgba(217, 162, 78, 0.5) 72%, rgba(217, 162, 78, 0.6) 82%, transparent 100%);
  filter: blur(30px);
  opacity: 0.35;
  pointer-events: none;
}

.appel-interieur {
  position: relative;
  max-width: 760px;
}

.appel p {
  color: var(--texte-2);
  font-size: 1.12rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

.appel .boutons {
  justify-content: center;
}

/* ---------- Pages intérieures ---------- */

.entete-page {
  position: relative;
  overflow: hidden;
  padding: calc(var(--entete) + clamp(56px, 9vw, 112px)) 0 clamp(40px, 6vw, 72px);
}

.entete-page-halo {
  position: absolute;
  width: clamp(420px, 50vw, 700px);
  aspect-ratio: 1;
  right: -12%;
  top: -40%;
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 58%, rgba(217, 162, 78, 0.7) 70%, rgba(217, 162, 78, 0.5) 84%, transparent 100%);
  filter: blur(24px);
  opacity: 0.22;
  pointer-events: none;
}

.entete-page .conteneur {
  position: relative;
}

.entete-page h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  max-width: 880px;
  margin-bottom: 20px;
}

.entete-page-intro {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--texte-2);
  max-width: 660px;
  margin: 0;
}

/* Services */

.bloc-service {
  scroll-margin-top: var(--entete);
  border-top: 1px solid var(--ligne);
}

.bloc-service:nth-of-type(even) {
  background: var(--fond-2);
}

.bloc-service-grille {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.bloc-service-entete {
  position: sticky;
  top: calc(var(--entete) + 32px);
}

.bloc-service-entete .carte-public-numero {
  margin-bottom: 20px;
}

.bloc-service-entete h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.bloc-service-entete p:not(.surtitre) {
  color: var(--texte-2);
  margin-bottom: 28px;
}

.liste-prestations {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ligne-forte);
}

.liste-prestations li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ligne);
}

.liste-prestations h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.liste-prestations p {
  color: var(--texte-2);
  font-size: 0.97rem;
  margin: 0;
}

.liste-prestations p a {
  color: var(--or);
  text-underline-offset: 3px;
  white-space: nowrap;
}

.prix {
  flex: none;
  font: 700 1rem/1.3 var(--titres);
  color: var(--or-clair);
  white-space: nowrap;
  text-align: right;
}

.prix-devis {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--texte-3);
}

@media (max-width: 899px) {
  .bloc-service-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .bloc-service-entete {
    position: static;
  }
}

@media (max-width: 520px) {
  .liste-prestations li {
    flex-direction: column;
    gap: 8px;
  }

  .prix {
    text-align: left;
  }
}

/* Détail d'un projet */

.projet {
  --teinte: var(--or);
}

.projet-entete {
  position: relative;
  overflow: hidden;
  padding: calc(var(--entete) + clamp(40px, 7vw, 88px)) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--ligne);
  background: linear-gradient(180deg, color-mix(in srgb, var(--teinte) 10%, var(--fond)), var(--fond));
}

.projet-halo {
  position: absolute;
  width: clamp(500px, 60vw, 900px);
  aspect-ratio: 1;
  right: -15%;
  top: -30%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--teinte) 60%, transparent), transparent);
  opacity: 0.4;
  filter: blur(40px);
  pointer-events: none;
}

.projet-entete-grille {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.fil {
  font-size: 0.88rem;
  color: var(--texte-3);
  margin-bottom: 24px;
}

.fil a {
  color: var(--texte-2);
  text-decoration: none;
}

.fil a:hover {
  color: var(--or);
}

.projet-entete h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  margin-bottom: 16px;
}

.projet-accroche {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--texte-2);
  margin-bottom: 32px;
}

.projet-entete-visuel .visuel-site {
  padding-bottom: 8%;
}

.projet-entete-visuel .visuel-site .cadre-telephone {
  top: auto;
  bottom: 0;
  width: 26%;
}

.projet-entete-visuel .visuel-1 .cadre-telephone {
  width: min(300px, 56%);
}

.statut {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.85rem/1 var(--titres);
  color: var(--or-clair);
  background: var(--or-voile);
  border: 1px solid rgba(217, 162, 78, 0.35);
  border-radius: 999px;
  padding: 12px 18px;
}

.statut::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 0 0 0 rgba(217, 162, 78, 0.6);
  animation: pulsation 2s infinite;
}

@keyframes pulsation {
  70% {
    box-shadow: 0 0 0 10px rgba(217, 162, 78, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 162, 78, 0);
  }
}

.projet-corps {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.projet-citation {
  margin: 0 0 48px;
  padding-left: 24px;
  border-left: 2px solid var(--teinte);
}

.projet-texte .projet-citation p {
  font: 300 clamp(1.4rem, 2.6vw, 1.9rem)/1.35 var(--titres);
  margin: 0;
}

.projet-texte h2,
.projet-aside h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 14px;
}

.projet-texte p {
  color: var(--texte-2);
  font-size: 1.08rem;
  margin-bottom: 36px;
}

.projet-aside {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: 32px 30px 12px;
}

.chiffre {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--ligne);
}

.chiffre strong {
  font: 800 clamp(2.6rem, 4vw, 3.4rem)/1 var(--titres);
  color: var(--or-clair);
  letter-spacing: -0.02em;
}

.chiffre span {
  color: var(--texte-2);
  margin-top: 6px;
}

.projet-suivant {
  --teinte: var(--or);
  border-top: 1px solid var(--ligne);
}

.projet-suivant a {
  display: block;
  padding-block: clamp(48px, 7vw, 88px);
  text-decoration: none;
}

.projet-suivant .surtitre {
  margin-bottom: 14px;
}

.projet-suivant-nom {
  display: flex;
  align-items: center;
  gap: 18px;
  font: 700 clamp(2rem, 5.4vw, 4rem)/1.1 var(--titres);
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.projet-suivant a:hover .projet-suivant-nom {
  color: var(--teinte);
}

.projet-suivant .icone {
  width: 0.8em;
  height: 0.8em;
  transition: transform 0.3s var(--courbe);
}

.projet-suivant a:hover .icone {
  transform: translateX(8px);
}

@media (max-width: 899px) {
  .projet-entete-grille,
  .projet-corps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Contact ---------- */

.contact-grille {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-coordonnees {
  display: grid;
  gap: 12px;
}

.coordonnee {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-petit);
  text-decoration: none;
  transition: border-color 0.2s;
}

.coordonnee:hover {
  border-color: rgba(217, 162, 78, 0.45);
}

.coordonnee .icone {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: var(--or-voile);
  color: var(--or);
}

.coordonnee span {
  display: flex;
  flex-direction: column;
  font: 600 1rem/1.3 var(--titres);
}

.coordonnee small {
  font: 500 0.75rem/1.4 var(--corps);
  color: var(--texte-3);
  letter-spacing: 0.04em;
}

.reseaux {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
}

.reseaux a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ligne-forte);
  color: var(--texte-2);
  transition: color 0.2s, border-color 0.2s;
}

.reseaux a:hover {
  color: var(--or);
  border-color: var(--or);
}

.formulaire {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 20px;
  position: relative;
}

.champs-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.champ {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.champ label,
.champ legend {
  font: 600 0.88rem/1.3 var(--titres);
  padding: 0;
}

.champ legend {
  margin-bottom: 8px;
}

.champ > label > span,
.champ > legend > span {
  color: var(--or);
}

.champ input,
.champ textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--texte);
  background: var(--fond);
  border: 1px solid var(--ligne-forte);
  border-radius: var(--rayon-petit);
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.champ textarea {
  resize: vertical;
  min-height: 140px;
}

.champ input::placeholder,
.champ textarea::placeholder {
  color: var(--texte-3);
}

.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--or);
  box-shadow: 0 0 0 3px rgba(217, 162, 78, 0.18);
}

.champ .invalide {
  border-color: var(--erreur);
}

.champ-erreur {
  color: var(--erreur);
  font-size: 0.85rem;
  margin: 0;
}

.choix-profil {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choix-profil label {
  position: relative;
  cursor: pointer;
}

.choix-profil input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choix-profil span {
  display: block;
  font: 500 0.9rem/1 var(--titres);
  color: var(--texte-2);
  padding: 12px 16px;
  border: 1px solid var(--ligne-forte);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.choix-profil label:hover span {
  color: var(--texte);
}

.choix-profil input:checked + span {
  border-color: var(--or);
  color: var(--or-clair);
  background: var(--or-voile);
}

.choix-profil input:focus-visible + span {
  outline: 2px solid var(--or-clair);
  outline-offset: 2px;
}

.choix-profil .invalide + span {
  border-color: var(--erreur);
}

.champ-piege {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formulaire .bouton {
  justify-self: start;
}

/* Le badge flottant de reCAPTCHA est masqué : la mention obligatoire est sous le formulaire (autorisé par Google). */
.grecaptcha-badge {
  visibility: hidden;
}

.formulaire-note a {
  color: var(--texte-2);
}

.formulaire-note {
  font-size: 0.85rem;
  color: var(--texte-3);
  margin: -8px 0 0;
}

.statut-envoi {
  padding: 16px 18px;
  border-radius: var(--rayon-petit);
  border: 1px solid;
}

.statut-envoi[data-etat='succes'] {
  border-color: rgba(108, 199, 149, 0.4);
  background: rgba(108, 199, 149, 0.08);
  color: var(--succes);
}

.statut-envoi[data-etat='erreur'] {
  border-color: rgba(240, 122, 106, 0.4);
  background: rgba(240, 122, 106, 0.08);
  color: var(--erreur);
}

.statut-envoi a {
  color: inherit;
}

@media (max-width: 899px) {
  .contact-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Pied de page ---------- */

.pied {
  border-top: 1px solid var(--ligne);
  background: var(--fond-2);
  padding-top: clamp(56px, 7vw, 80px);
  font-size: 0.94rem;
}

.pied-grille {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}

.pied-devise {
  color: var(--texte-2);
  margin: 18px 0 8px;
}

.pied-nav h2 {
  font: 600 0.74rem/1 var(--titres);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texte-3);
  margin-bottom: 18px;
}

.pied-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--texte-2);
}

.pied-nav a {
  text-decoration: none;
}

.pied-nav a:hover {
  color: var(--or);
}

.pied-bas {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid var(--ligne);
  padding-block: 24px;
  font-size: 0.84rem;
  color: var(--texte-3);
}

.pied-bas p {
  margin: 0;
}

@media (max-width: 899px) {
  .pied-grille {
    grid-template-columns: 1fr 1fr;
  }

  .pied-marque {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .pied-grille {
    grid-template-columns: 1fr;
  }
}

/* ---------- Espace agence ---------- */

.page-admin .entete-cta {
  display: none;
}

.admin {
  padding-top: calc(var(--entete) + 32px);
  max-width: 900px;
}

.admin-entete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.admin-entete h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0;
}

.admin-compte {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--texte-2);
  font-size: 0.9rem;
}

.admin-connexion {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
}

.admin-outils {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-outils .puces {
  margin: 0;
}

.admin-etat {
  color: var(--texte-3);
  margin: 20px 0;
}

.admin-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.admin-message {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon-petit);
  padding: 20px 22px;
}

.admin-message.non-lu {
  border-left: 3px solid var(--or);
}

.admin-message header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 6px;
}

.admin-message time {
  margin-left: auto;
  color: var(--texte-3);
  font-size: 0.85rem;
}

.admin-coordonnees {
  font-size: 0.92rem;
  color: var(--texte-2);
}

.admin-coordonnees a {
  color: var(--or);
}

.admin-texte {
  white-space: pre-wrap;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

[hidden] {
  display: none !important;
}

/* ---------- Apparition au défilement ---------- */

.js [data-apparition] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--courbe), transform 0.8s var(--courbe);
}

.js [data-apparition].visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-apparition] {
    opacity: 1;
    transform: none;
  }
}
