@charset "UTF-8";
/* ==========================================================================
   Kennel Stevens — verdun-couverture.fr
   Feuille de styles unique (aucune dépendance externe : CSP stricte + CWV).
   Structure inspirée du site sœur arboria29.fr (même agence), rhabillée dans
   la palette rouge / blanc / noir du brief client.
   ========================================================================== */

:root {
  --rouge:        #8f171b;
  --rouge-dark:   #6e1216;
  --rouge-deep:   #2b0a0c;
  --rouge-light:  #fbeae7;
  --rouge-accent: #cf2a26;
  --rose:         #f0aca6;
  --sand:         #f7f3ee;
  --ink:          #1c1918;
  --muted:        #6b615d;
  --bg:           #ffffff;
  --bg-soft:      #f7f4f2;
  --line:         #e9e1dc;

  --radius:       14px;
  --radius-lg:    22px;
  --radius-pill:  999px;
  --shadow-sm:    0 4px 16px rgba(43, 10, 12, .07);
  --shadow:       0 14px 40px rgba(43, 10, 12, .12);
  --shadow-lg:    0 28px 70px rgba(43, 10, 12, .2);

  --maxw:  1180px;
  --ease:  cubic-bezier(.22, .61, .36, 1);
  --police: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6.5rem; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--police);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { flex: 1 0 auto; }

img { max-width: 100%; display: block; height: auto; }

a { color: var(--rouge-dark); text-decoration: none; }
a:hover { text-decoration: none; color: var(--rouge); }

ul { list-style: none; }

h1, h2, h3 { color: var(--rouge-dark); line-height: 1.18; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 14px; letter-spacing: -.3px; }
h3 { font-size: 1.25rem; margin: 22px 0 8px; }

p { margin: 0 0 1.1em; }

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

.conteneur { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 22px); }

.lecteur-ecran {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: transform .15s ease;
}
.lien-evitement:focus { transform: translate(-50%, 0); color: #fff; }

/* ----------------------------------------------------------- Bandeau utilitaire */
.entete-barre { background: var(--rouge-deep); color: #e7d3d0; font-size: .82rem; letter-spacing: .2px; line-height: 1; }
.entete-barre__interieur {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: 42px; flex-wrap: wrap; padding-top: 7px;
}
.entete-barre__zone { display: flex; align-items: center; gap: 8px; font-weight: 500; line-height: 1; }
.entete-barre__zone strong { color: #fff; font-weight: 700; }
.entete-barre__icone { width: 14px; height: 14px; fill: currentColor; flex: 0 0 auto; }
.entete-barre a { color: #fff; text-decoration: none; }
.entete-barre a:hover { color: #e7d3d0; }
@media (max-width: 720px) {
  .entete-barre__interieur { justify-content: center; }
  .entete-barre__zone span:not(strong) { display: none; }
}

/* ------------------------------------------------------------------ Entête */
.entete { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .3s ease; }
.entete__interieur { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }

.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--ink); min-width: 0; flex: 1 1 auto; }
.logo__texte { min-width: 0; overflow: hidden; }
.logo__texte strong { display: block; font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; text-overflow: ellipsis; overflow: hidden; }
.logo__baseline { display: block; font-weight: 700; font-size: .68rem; color: var(--rouge); letter-spacing: .16em; text-transform: uppercase; margin-top: 2px; }

.navigation { display: flex; align-items: center; gap: clamp(2px, 1vw, 8px); }
.navigation__liste { display: flex; align-items: center; gap: 2px; }
.navigation__liste a {
  display: block; padding: 8px 15px; border-radius: var(--radius-pill);
  color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.navigation__liste a:hover { background: var(--rouge-light); color: var(--rouge-dark); }
.navigation__liste a[aria-current="page"] { background: var(--rouge); color: #fff; }

.navigation__cta {
  background: var(--rouge-dark); color: #fff; padding: 9px 22px; margin-left: 6px;
  box-shadow: 0 8px 18px rgba(110, 18, 22, .3);
}
.navigation__cta:hover { background: var(--rouge); color: #fff; transform: translateY(-1px); }

.bascule-menu {
  display: none; align-items: center; gap: .5rem; padding: .5rem .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
  color: var(--ink); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer;
}
.bascule-menu__barres, .bascule-menu__barres::before, .bascule-menu__barres::after {
  display: block; width: 20px; height: 2px; background: currentColor; content: "";
}
.bascule-menu__barres { position: relative; }
.bascule-menu__barres::before { position: absolute; top: -6px; }
.bascule-menu__barres::after { position: absolute; top: 6px; }

/* --------------------------------------------------------------------- Boutons */
.bouton {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1.75rem; border: 2px solid transparent; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .14);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease;
}
.bouton:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, .2); }

.bouton--principal { background: var(--rouge); color: #fff; border-color: var(--rouge); }
.bouton--principal:hover { background: var(--rouge-dark); border-color: var(--rouge-dark); color: #fff; }

.bouton--secondaire { background: #fff; color: var(--rouge-dark); border-color: #fff; }
.bouton--secondaire:hover { background: var(--sand); color: var(--rouge-dark); }

.bouton--contour-clair { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); box-shadow: none; }
.bouton--contour-clair:hover { background: #fff; color: var(--rouge-dark); }

.bouton--fantome { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.bouton--fantome:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.bouton--tel { background: var(--rouge); color: #fff; padding: .4rem 1.2rem; font-size: .85rem; box-shadow: 0 6px 16px rgba(143, 23, 27, .3); }
.bouton--tel:hover { background: var(--rouge-dark); color: #fff; }

/* --------------------------------------------------------------------- Héros */
.heros {
  position: relative; color: #fff; overflow: hidden;
  min-height: 86vh; display: flex; align-items: center;
  padding: 90px 0 70px; background: var(--rouge-deep);
}
.diaporama, .diaporama__pistes { position: absolute; inset: 0; z-index: 0; height: 100%; }
.diaporama__vue { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.diaporama__vue.est-actif { opacity: 1; }
.diaporama__vue img { width: 100%; height: 100%; object-fit: cover; }

.diaporama__commandes { position: absolute; z-index: 2; right: 18px; bottom: 18px; }
.diaporama__bouton {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  background: rgba(255,255,255,.14); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
  color: #fff; font-size: 1rem; cursor: pointer;
}
.diaporama__bouton:hover { background: rgba(255,255,255,.28); }
.diaporama__bouton[aria-pressed="true"] { background: var(--rouge); border-color: var(--rouge); }

.heros::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(20,8,8,.86) 0%, rgba(20,8,8,.55) 45%, rgba(20,8,8,.18) 75%);
}

.heros .conteneur {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.heros__titre, .heros__chapeau, .etiquette-oeil { text-shadow: 0 2px 16px rgba(0,0,0,.5); }

.etiquette-oeil {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.24);
  padding: 8px 18px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 22px; color: #fff;
}
.etiquette-oeil::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }

.heros__titre {
  color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.12;
  width: 100%; margin: 0 0 18px; letter-spacing: -.01em; font-weight: 800;
}
.heros__chapeau { width: 100%; max-width: 80ch; margin: 0 auto 28px; color: #f2e6e5; font-size: clamp(1.02rem, 1.6vw, 1.18rem); opacity: .96; }

.heros__reperes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 26px; }
.heros__reperes span {
  padding: 7px 16px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  font-size: .8rem; font-weight: 600; text-transform: none; color: #fff;
}

.heros__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.heros__segments {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 44px 0 0; width: 100%;
}
.segment {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px); border-radius: var(--radius); padding: 16px 12px;
  text-align: center; text-decoration: none; color: #fff; transition: .25s ease;
}
.segment:hover { background: rgba(255,255,255,.2); transform: translateY(-4px); color: #fff; }
.segment__titre { display: block; font-weight: 700; font-size: .85rem; }
.segment__texte { display: block; margin-top: 4px; font-size: .76rem; font-weight: 500; color: #f2e0de; }
.segment__lien { display: block; margin-top: 10px; font-size: .78rem; font-weight: 700; color: var(--rose); }
@media (max-width: 760px) { .heros__segments { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------ En-tête de page intérieure */
.entete-page { position: relative; isolation: isolate; overflow: hidden; background: var(--rouge-deep); color: #fff; min-height: 40vh; display: flex; align-items: center; padding: 64px 0 56px; }
.entete-page__fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.entete-page--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20,8,8,.9) 0%, rgba(20,8,8,.65) 50%, rgba(20,8,8,.28) 100%);
}
.entete-page__interieur { position: relative; width: 100%; }

.fil-ariane__liste {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 14px;
  padding-left: 0; list-style: none;
  font-size: .85rem; color: #f2e0de;
}
.fil-ariane__liste li + li::before { content: "/"; margin-right: .5rem; color: var(--rose); }
.fil-ariane__liste a { color: #fff; text-decoration: underline; }
.fil-ariane__liste a:hover { color: var(--rose); }
.fil-ariane__liste [aria-current="page"] { color: var(--rose); }

.titre-page { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 26ch; margin-bottom: 0; }
.entete-page__chapeau { max-width: 60ch; margin: 16px 0 0; color: #f2e0de; font-size: 1.05em; }

/* ---------------------------------------------------------------- Contenu */
.contenu-redactionnel { padding-block: clamp(2.5rem, 6vw, 4.5rem); max-width: calc(60ch + 8rem); }
.page-contact .contenu-redactionnel { max-width: var(--maxw); }

.chapeau { font-size: 1.15em; color: var(--ink); font-weight: 500; margin-bottom: 24px; }

section.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--doux { background: var(--bg-soft); }
.section__entete { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section__kicker {
  display: inline-block; color: var(--rouge); font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px; font-size: .8rem; margin-bottom: 8px;
}
.section__titre { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: 0; }
.section__texte { color: var(--muted); font-size: 1.05rem; margin-top: 10px; }

/* Ancien identifiant conservé pour compat., non utilisé côté gabarit */
.section__titre.avec-filet { border: 0; padding: 0; }

/* ------------------------------------------------------------ Bloc scindé */
.scinde { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
@media (min-width: 920px) { .scinde { grid-template-columns: 1fr 1fr; } }
.scinde.inverse .scinde__media { order: 2; }

.scinde__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 320px; }
.scinde__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; aspect-ratio: 4/3; }
.scinde__badge {
  position: absolute; left: 20px; bottom: 20px; background: #fff;
  border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow);
  font-weight: 800; color: var(--rouge-dark); line-height: 1.15;
}
.scinde__badge small { display: block; font-weight: 600; color: var(--muted); font-size: .76rem; margin-top: 3px; }

.scinde__texte > p:last-child { margin-bottom: 0; }
.scinde__actions { margin-top: 8px; }

/* -------------------------------------------------------- Bloc sombre plein écran */
.bande-sombre { position: relative; isolation: isolate; overflow: hidden; color: #f2e0de; text-align: center; }
.bande-sombre__fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bande-sombre::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(20,8,8,.94) 0%, rgba(20,8,8,.86) 60%, rgba(107,18,22,.6) 100%);
}
.bande-sombre__interieur { max-width: 780px; margin: 0 auto; }
.bande-sombre h2 { color: #fff; }

/* -------------------------------------------------------- Grille de prestations */
.grille-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.tuile-service {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); transition: .3s var(--ease); display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
}
.tuile-service:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tuile-service__image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tuile-service__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.tuile-service:hover .tuile-service__image img { transform: scale(1.08); }
.tuile-service__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,10,12,.5), transparent 55%); }
.tuile-service__corps { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.tuile-service__corps h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--rouge-dark); }
.tuile-service__corps p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; flex: 1; }
.tuile-service__plus { font-weight: 700; color: var(--rouge); display: inline-flex; align-items: center; gap: 6px; }
.tuile-service:hover .tuile-service__plus { gap: 11px; }

/* -------------------------------------------------------------------- Atouts */
.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.atout { text-align: center; padding: 14px; }
.atout__icone {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--rouge-accent), var(--rouge-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(110, 18, 22, .3);
}
.atout__icone svg { width: 30px; height: 30px; fill: #fff; }
.atout h3 { margin: 0 0 6px; font-size: 1.08rem; color: var(--rouge-dark); }
.atout p { color: var(--muted); font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------------- Stats */
.bande-stats { background: linear-gradient(135deg, var(--rouge), var(--rouge-deep)); padding-block: 60px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat .stat__nombre { font-size: clamp(2.75rem, 6vw, 3.75rem); font-weight: 800; color: #fff; line-height: 1; }
.stat .stat__libelle { color: #f2e0de; font-size: .9rem; margin-top: 6px; font-weight: 500; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 26px; } }

/* -------------------------------------------------------------------- Galerie */
.galerie-large { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.galerie__liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 1rem; }
.galerie-large .galerie__liste { margin-top: 0; }
.galerie__element { flex: 0 1 calc(50% - 7px); }
@media (min-width: 52rem) { .galerie__element { flex-basis: calc(33.3333% - 9.34px); } }
@media (min-width: 64rem) { .galerie-large--quatre .galerie__element { flex-basis: calc(25% - 10.5px); } }

.galerie__element img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.galerie__lien {
  display: block; position: relative; overflow: hidden; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.galerie__lien img { transition: transform .5s var(--ease); }
.galerie__lien:hover, .galerie__lien:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.galerie__lien:hover img, .galerie__lien:focus-visible img { transform: scale(1.08); }

.galerie__legende {
  position: absolute; inset-inline: 0; bottom: 0; transform: translateY(100%);
  padding: .55rem .7rem; background: linear-gradient(0deg, rgba(43,10,12,.92), rgba(43,10,12,.2));
  color: #fff; font-size: .72rem; font-weight: 600; line-height: 1.3;
  transition: transform .25s ease;
}
.galerie__lien:hover .galerie__legende, .galerie__lien:focus-visible .galerie__legende { transform: translateY(0); }

.galerie-large__plus { margin: 2rem 0 0; text-align: center; }

/* -------------------------------------------------------------- Visionneuse */
.visionneuse {
  position: fixed; inset: 0; margin: auto;
  width: min(100% - 1.5rem, 68rem); max-width: none; max-height: calc(100dvh - 1.5rem);
  padding: 0; background: transparent; border: 0; color: #fff; overflow: hidden; overscroll-behavior: contain;
}
.visionneuse::backdrop { background: rgba(20, 8, 8, .94); }
.visionneuse__cadre { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(.35rem, 1.5vw, 1rem); }
.visionneuse__figure { margin: 0; min-width: 0; text-align: center; }
.visionneuse__image {
  width: auto; max-width: 100%; max-height: min(78vh, calc(100dvh - 9rem)); margin-inline: auto;
  object-fit: contain; border-radius: var(--radius); background: rgba(255,255,255,.06); box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.visionneuse__legende { margin: .9rem auto 0; max-width: 62ch; color: #f2e0de; font-size: .92rem; line-height: 1.5; }
.visionneuse__compteur { margin: .35rem 0 0; color: var(--rose); font-size: .78rem; font-weight: 700; letter-spacing: .14em; }
.visionneuse__bouton {
  display: grid; place-items: center; width: 2.8rem; height: 2.8rem; flex: 0 0 auto;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 50%;
  color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.visionneuse__bouton:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.6); }
.visionneuse__bouton[hidden] { display: none; }
.visionneuse__fermer { position: fixed; top: clamp(.6rem, 2vw, 1.25rem); right: clamp(.6rem, 2vw, 1.25rem); z-index: 2; }
@media (max-width: 34rem) {
  .visionneuse__cadre { grid-template-columns: minmax(0, 1fr); }
  .visionneuse__prec { grid-row: 2; justify-self: start; }
  .visionneuse__suiv { grid-row: 2; justify-self: end; }
  .visionneuse__figure { grid-row: 1; }
  .visionneuse__image { max-height: 62vh; }
}

/* --------------------------------------------------------------- Bande CTA */
.bande-cta { position: relative; color: #fff; text-align: center; overflow: hidden; isolation: isolate; padding-block: 60px; }
.bande-cta__fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bande-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(143,23,27,.72), rgba(43,10,12,.86));
}
.bande-cta .conteneur { position: relative; }
.bande-cta h2 { color: #fff; }
.bande-cta p { max-width: 640px; margin: 0 auto 24px; color: #f2e0de; }
.bande-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* -------------------------------------------------------------- Zones/Étiquettes */
.zones-liste { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.zones-liste span {
  background: #fff; color: var(--rouge-dark); padding: 8px 18px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm);
}
.bande-cta .zones-liste span, .bande-sombre .zones-liste span, .carte-visite .zones-liste span { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }

/* ------------------------------------------------------- Carte de visite / Contact */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 62rem) {
  .contact-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .contact-grille .formulaire-bloc { order: 2; margin-top: 0; }
  .contact-grille .carte-visite { order: 1; position: sticky; top: 6.5rem; }
}

.carte-visite {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(155deg, var(--rouge-deep) 0%, #1c0a0b 62%, #120708 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-lg);
}
.carte-visite__fond {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; opacity: .1;
}
.carte-visite::before {
  content: ""; position: absolute; z-index: -1; top: -35%; right: -25%;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.09), transparent 70%);
  pointer-events: none;
}
.carte-visite__kicker {
  color: var(--rose); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .74rem; margin-bottom: 10px;
}
.carte-visite__nom { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.carte-visite__metier { color: #f2e0de; font-size: .92rem; margin: 0; }
.carte-visite__label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--rose); margin-bottom: .7rem;
}

.info-liste { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); }
.info-liste li {
  display: flex; gap: 14px; align-items: flex-start; padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.info-liste li:last-child { border-bottom: 0; }
.info-liste__icone {
  width: 38px; height: 38px; padding: 8px; box-sizing: border-box; flex-shrink: 0;
  border-radius: 50%; background: rgba(255,255,255,.1); fill: var(--rose);
}
.info-liste__label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--rose); margin-bottom: .2rem; }
.info-liste dd, .info-liste address { font-style: normal; font-weight: 600; overflow-wrap: anywhere; }
.info-liste a { color: #fff; }
.info-liste a:hover { color: var(--rose); }

.carte-visite__zones { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); }
.carte-visite .zones-liste { justify-content: flex-start; margin-top: 0; }

/* ------------------------------------------------------- Formulaire de contact */
.formulaire-bloc {
  margin-top: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem); box-shadow: var(--shadow-sm);
}
.formulaire-bloc .section__titre { margin-bottom: 1.25rem; }
.formulaire { display: grid; gap: 1.1rem; margin-top: 0; }
.formulaire__ligne { display: grid; gap: 1.1rem; }
@media (min-width: 34rem) { .formulaire__ligne { grid-template-columns: 1fr 1fr; } }
.formulaire__champ { display: grid; gap: .4rem; margin: 0; }
.formulaire__champ label { font-weight: 700; color: var(--ink); }
.formulaire__requis { color: var(--rouge); }
.formulaire__facultatif { font-weight: 400; color: var(--muted); font-size: .9em; }

.formulaire input[type="text"], .formulaire input[type="email"], .formulaire input[type="tel"], .formulaire textarea {
  width: 100%; padding: .8rem .95rem; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--ink); font: inherit; font-size: max(1rem, 1em);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.formulaire textarea { resize: vertical; min-height: 9rem; }
.formulaire input:focus-visible, .formulaire textarea:focus-visible {
  outline: none; border-color: var(--rouge); background: #fff; box-shadow: 0 0 0 3px rgba(207, 42, 38, .16);
}
.formulaire [aria-invalid="true"] { border-color: #a3231f; border-width: 2px; }
.formulaire__erreur { color: #a3231f; font-size: .9rem; font-weight: 600; }

.formulaire__champ--case { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .35rem .7rem; }
.formulaire__champ--case input { width: 1.15rem; height: 1.15rem; margin-top: .3rem; }
.formulaire__champ--case label { font-weight: 400; font-size: .95rem; }
.formulaire__champ--case .formulaire__erreur { grid-column: 1 / -1; }

.formulaire__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: .5rem 0 0; }
.formulaire__mention { margin: 0; color: var(--muted); font-size: .875rem; }

.formulaire__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formulaire__alerte {
  margin-top: 1.5rem; padding: 1rem 1.25rem; background: #fdf2f2; border: 1px solid #e7b9b7;
  border-radius: var(--radius); border-left: 5px solid #a3231f; color: #6d1815;
}
.formulaire__alerte p { margin-bottom: .5rem; }
.formulaire__alerte ul { padding-left: 1.25rem; list-style: disc; }
.formulaire__alerte a { color: #6d1815; }

/* ------------------------------------------------------------- Pages légales */
.liste-infos { display: grid; gap: .9rem; margin: 0 0 1.15em; }
@media (min-width: 34rem) { .liste-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.liste-infos dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--rouge); font-weight: 700; margin-bottom: .15rem; }
.liste-infos dd { margin: 0; overflow-wrap: anywhere; }
.liste-infos address { font-style: normal; }

.sous-titre { margin: 1.5rem 0 .6rem; font-size: 1.05rem; font-weight: 700; color: var(--rouge-dark); }

.devoiler { display: inline-flex; align-items: baseline; }
.devoiler__bouton {
  display: inline-flex; align-items: center; gap: .35rem; padding: 0;
  background: none; border: 0;
  color: var(--rouge); font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer;
  text-decoration: underline; text-underline-offset: .2em;
  transition: color .15s ease;
}
.devoiler__bouton:hover { color: var(--rouge-dark); }
.carte-visite .devoiler__bouton, .bande-cta .devoiler__bouton { color: #fff; }
.carte-visite .devoiler__bouton:hover, .bande-cta .devoiler__bouton:hover { color: var(--rose); }
.devoiler__valeur:focus:not(:focus-visible) { outline: none; }

/* ------------------------------------------------------------ Appel contact (legacy) */
.appel-contact { display: none; }

/* ---------------------------------------------------------------- Erreur 404 */
.erreur { text-align: center; }
.erreur .chapeau { margin-bottom: 0; }
.erreur__code { font-size: clamp(4rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--rouge-light); letter-spacing: -.03em; }
.erreur__liens { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-block: 1.5rem; }
.erreur__liens a {
  display: inline-block; padding: .6rem 1.3rem; border-radius: var(--radius-pill);
  background: var(--rouge-light); color: var(--rouge-dark); font-weight: 700; text-decoration: none;
}
.erreur__liens a:hover { background: var(--rouge); color: #fff; }

/* ------------------------------------------------------------------- Pied */
.pied { background: #121010; color: #d7bcb9; }

.pied__cta { text-align: center; max-width: 760px; margin: 0 auto; padding: 64px 0 42px; border-bottom: 1px solid rgba(255,255,255,.12); }
.pied__cta h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 12px; }
.pied__cta p { color: #d7bcb9; margin-bottom: 22px; }
.pied__cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.pied__grille { display: grid; gap: 34px; grid-template-columns: 1fr; padding: 46px 0; }
@media (max-width: 679px) { .pied__grille { text-align: center; } }
@media (min-width: 680px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .pied__grille { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }

.pied__titre { color: #fff; font-size: 1.02rem; margin-bottom: 16px; font-weight: 700; }
.pied__adresse { font-style: normal; line-height: 1.9; overflow-wrap: anywhere; color: #d7bcb9; }
.pied__liste { line-height: 1.9; }
.pied a { color: #d7bcb9; }
.pied a:hover { color: #fff; }
.pied .bouton--secondaire,
.pied .bouton--secondaire:hover { color: var(--rouge); }

.pied__actions { display: grid; gap: .6rem; justify-items: start; margin: 1rem 0 0; }
.pied__action {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem 1.1rem;
  background: rgba(255,255,255,.08); border-radius: var(--radius-pill); color: #fff;
  font-size: .88rem; font-weight: 600; text-decoration: none;
}
.pied__action:hover { background: var(--rouge); }
@media (max-width: 679px) { .pied__actions { justify-items: center; } }

/* ------------------------------------------------- Recherches associées */
.recherches { border-top: 1px solid rgba(255,255,255,.12); padding: 32px 0; }
.recherches__titre { margin-bottom: 1rem; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.recherches__liste { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.recherches__lien {
  display: inline-block; padding: .4rem 1rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.06); color: #d7bcb9; font-size: .82rem; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.recherches__lien:hover { background: var(--rouge); color: #fff; }

/* ------------------------------------------------------------- Bas de pied */
.pied__bas {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #d7bcb9; font-size: .85rem; text-align: center;
}
.pied__bas > span { width: 100%; }
@media (min-width: 640px) { .pied__bas > span { white-space: nowrap; } }
.pied__signature-logo { display: inline-block; height: 22px; width: auto; vertical-align: -5px; margin: 0 4px; }
.pied__legal-liste { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .4rem .8rem; }
.pied__legal-liste li + li::before { content: "|"; margin-right: .8rem; color: rgba(255,255,255,.3); }

/* ------------------------------------------------------ Bouton d'appel flottant */
.bouton-flottant {
  position: fixed; right: 18px; bottom: 18px; z-index: 1200; display: none;
  width: 58px; height: 58px; border-radius: 50%; background: var(--rouge);
  align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(143, 23, 27, .45);
  animation: pulsation 2.4s infinite; color: #fff; text-decoration: none;
}
.bouton-flottant svg { width: 26px; height: 26px; fill: #fff; }
@keyframes pulsation {
  0% { box-shadow: 0 0 0 0 rgba(143, 23, 27, .5); }
  70% { box-shadow: 0 0 0 16px rgba(143, 23, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 23, 27, 0); }
}
@media (max-width: 760px) { .bouton-flottant { display: flex; } }

/* ------------------------------------------------------------- Révélation au défilement */
/* Amélioration progressive : un bloc n'est masqué en attente de révélation
   QUE si le script a pu poser la classe .pre-revelation (cf. main.js) — donc
   seulement quand il est sûr de pouvoir le révéler ensuite. Sans JavaScript,
   ou si le script échoue, le contenu reste pleinement visible d'emblée. */
[data-reveal].pre-revelation { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].pre-revelation.est-visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------- Responsive */
@media (max-width: 60rem) {
  .bascule-menu { display: inline-flex; }
  .navigation {
    position: absolute; inset-inline: 0; top: 100%; display: none; flex-direction: column;
    align-items: stretch; gap: .4rem; padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
    background: #fff; box-shadow: var(--shadow);
  }
  .navigation.est-ouvert { display: flex; }
  .navigation__liste { flex-direction: column; align-items: stretch; gap: .3rem; }
  .navigation__liste a { padding: .85rem 1rem; text-align: center; }
  .navigation__cta { margin: .5rem 0 0; text-align: center; justify-content: center; }
  .entete__interieur { position: relative; }
  .heros { min-height: auto; padding: 70px 0 56px; }
  .entete-page { padding: 48px 0 40px; min-height: auto; }
}

@media (max-width: 30rem) {
  .heros__actions .bouton { width: 100%; justify-content: center; }
  .logo__texte strong { font-size: 1.05rem; white-space: nowrap; }
  .logo__baseline { display: none; }
}

/* ----------------------------------------------- Préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .bouton:hover, .bouton-flottant { transform: none; animation: none; }
  .galerie__lien:hover img, .galerie__lien:focus-visible img { transform: none; }
}

@media (forced-colors: active) {
  .bouton { border-color: currentColor; }
  .heros::after, .entete-page--photo::before, .bande-sombre::before, .bande-cta::before { display: none; }
  .diaporama__vue img, .entete-page__fond, .bande-sombre__fond, .bande-cta__fond { display: none; }
}

/* --------------------------------------------------------------- Impression */
@media print {
  .entete, .entete-barre, .bouton-flottant, .lien-evitement, .recherches, .pied__cta { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .heros { color: #000; background: none; min-height: auto; padding: 20px 0; }
  .heros::after, .diaporama { display: none; }
  .heros__titre, .heros__chapeau, .etiquette-oeil { color: #000; text-shadow: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .entete-page, .bande-sombre, .bande-cta { background: none !important; color: #000; }
  .entete-page__fond, .entete-page--photo::before, .bande-sombre__fond, .bande-sombre::before,
  .bande-cta__fond, .bande-cta::before { display: none !important; }
  .titre-page, .entete-page__chapeau, .fil-ariane__liste, .bande-sombre h2, .bande-sombre p { color: #000; }
  .scinde { display: block; }
  .scinde__media { display: none; }
}
