/* ==========================================================================
   Debord Antiquaire – Antiquités & Brocante 31
   Direction : cabinet d'antiquaire – vert anglais, laiton, marbre, cadres dorés
   ========================================================================== */

:root {
  --vert: #0f241f;
  --vert-2: #173229;
  --vert-3: #21463a;
  --marbre: #edefea;
  --marbre-2: #dfe4dc;
  --laiton: #b8945a;
  --laiton-clair: #ddc38f;
  --laiton-fonce: #7a5c28;
  --patine: #5e8c7e;
  --texte: #12241f;
  --texte-clair: #d5dcd3;
  --ligne: rgba(15, 36, 31, 0.16);
  --ligne-claire: rgba(221, 195, 143, 0.28);
  --ff-titre: "Bodoni Moda", "Didot", "Bodoni 72", "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-texte: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
  --wrap: min(1280px, 100% - 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font-family: var(--ff-texte);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--texte);
  background: var(--marbre);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; max-width: 64ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-titre);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.2; }

:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--laiton); color: var(--vert); padding: 0.7rem 1.2rem; border-radius: 999px; font-weight: 600; transition: top 0.3s; }
.skip:focus { top: 1rem; }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.dark { background: var(--vert); color: var(--texte-clair); }
.dark-2 { background: var(--vert-2); color: var(--texte-clair); }
.dark h1, .dark h2, .dark h3, .dark-2 h2, .dark-2 h3 { color: var(--marbre); }
.light-2 { background: var(--marbre-2); }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.32rem); line-height: 1.6; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.75rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--ff-texte); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.55) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform 0.9s var(--ease);
}
.btn:hover::before { transform: translateX(130%); }
.btn:hover { transform: translateY(-2px); }
.btn-or { background: var(--laiton); color: var(--vert); box-shadow: 0 10px 30px -12px rgba(184, 148, 90, 0.7); }
.btn-or:hover { background: var(--laiton-clair); box-shadow: 0 16px 34px -12px rgba(184, 148, 90, 0.85); }
.btn-ligne { border-color: rgba(221, 195, 143, 0.6); color: var(--marbre); }
.btn-ligne:hover { background: rgba(221, 195, 143, 0.14); border-color: var(--laiton-clair); }
.btn-vert { background: var(--vert); color: var(--marbre); }
.btn-vert:hover { background: var(--vert-3); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.lien {
  display: inline-block; position: relative; text-decoration: none; font-weight: 600; color: var(--laiton-fonce); padding-bottom: 2px;
}
.dark .lien, .dark-2 .lien { color: var(--laiton-clair); }
.lien::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transform: scaleX(0.35); transition: transform 0.5s var(--ease);
}
.lien:hover::after { transform-origin: left; transform: scaleX(1); }

/* ---------- En-tête ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60; padding: 1.15rem 0;
  color: var(--marbre);
  transition: background 0.45s, padding 0.45s var(--ease), box-shadow 0.45s, transform 0.5s var(--ease);
}
.hdr.scrolled { background: rgba(15, 36, 31, 0.93); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 0.6rem 0; box-shadow: 0 1px 0 var(--ligne-claire); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; flex: none; white-space: nowrap; }
.logo svg { width: 46px; height: 46px; flex: none; transition: transform 0.9s var(--ease); }
.logo:hover svg { transform: rotate(360deg); }
.logo b { display: block; font: 500 1.65rem/1 var(--ff-titre); letter-spacing: 0.01em; }
.logo small { display: block; font-size: 0.78rem; letter-spacing: 0.07em; color: var(--laiton-clair); margin-top: 0.25rem; }
.nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.5vw, 1.6rem); }
.nav-contact { display: none; }
.nav a { position: relative; text-decoration: none; font-size: 0.95rem; padding: 0.35rem 0; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--laiton);
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.hdr-cta { display: flex; align-items: center; gap: 0.8rem; }
.hdr-tel { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 600; white-space: nowrap; }
.hdr-tel svg { width: 1.1rem; height: 1.1rem; color: var(--laiton); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--ligne-claire); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.45s var(--ease), opacity 0.3s, top 0.45s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1320px) {
  .hdr-tel span { display: none; }
}
@media (max-width: 1040px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.4rem;
    padding: 6rem 2rem 3rem; background: var(--vert);
    clip-path: circle(0 at calc(100% - 46px) 40px); transition: clip-path 0.8s var(--ease-in-out);
    visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; }
  .nav-contact { display: block; }
  .nav a { font: 500 clamp(1.7rem, 6vw, 2.4rem)/1.3 var(--ff-titre); opacity: 0; transform: translateY(16px); transition: opacity 0.5s, transform 0.6s var(--ease); }
  .menu-open .nav a { opacity: 1; transform: none; transition-delay: calc(0.25s + var(--i, 0) * 0.06s); }
  .hdr-cta .btn { display: none; }
  .menu-open .hdr { background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .logo, .menu-open .burger, .menu-open .hdr-tel { position: relative; z-index: 2; }
}

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: center;
  padding: 9rem 0 4.5rem; background: var(--vert); color: var(--texte-clair); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(560px circle at var(--mx, 72%) var(--my, 32%), rgba(221, 195, 143, 0.22), transparent 62%),
    radial-gradient(900px circle at 8% 95%, rgba(94, 140, 126, 0.2), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(221, 195, 143, 0.055) 1px, transparent 1px);
  background-size: 110px 100%;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.h-hero { color: var(--marbre); margin-bottom: 0.5em; }
.ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.ln > span { display: block; transform: translateY(108%); animation: monte 1.15s var(--ease) forwards; animation-delay: calc(0.15s + var(--l, 0) * 0.14s); }
@keyframes monte { to { transform: none; } }
.hero .lead { max-width: 33em; color: var(--texte-clair); opacity: 0; animation: apparait 1s var(--ease) 0.75s forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; opacity: 0; animation: apparait 1s var(--ease) 0.95s forwards; }
@keyframes apparait { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.garanties { display: flex; flex-wrap: wrap; gap: 0.8rem 1.6rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--ligne-claire); opacity: 0; animation: apparait 1s var(--ease) 1.15s forwards; }
.garanties li { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.98rem; }
.garanties svg { width: 1.3rem; height: 1.3rem; color: var(--laiton); flex: none; }

.compo { position: relative; width: 100%; max-width: 580px; margin-inline: auto; aspect-ratio: 1 / 1.08; }
.frame {
  position: absolute; padding: 8px;
  background: linear-gradient(140deg, #ecd9aa, #b8945a 38%, #7a5c28 62%, #ddc38f);
  box-shadow: 0 36px 60px -24px rgba(0, 0, 0, 0.7);
  clip-path: inset(100% 0 0 0); animation: rideau 1.4s var(--ease-in-out) forwards;
}
.frame .in { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--vert-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); animation: dezoom 2.2s var(--ease) forwards; }
.frame.arch { left: 20%; top: 0; width: 60%; height: 78%; border-radius: 999px 999px 6px 6px; animation-delay: 0.35s; }
.frame.arch .in { border-radius: 999px 999px 2px 2px; }
.frame.oval { left: 0; bottom: 3%; width: 40%; height: 35%; border-radius: 50%; animation-delay: 0.7s; }
.frame.oval .in { border-radius: 50%; }
.frame.rect { right: 0; bottom: 9%; width: 38%; height: 40%; border-radius: 4px; animation-delay: 0.95s; }
.frame.arch img { animation-delay: 0.35s; } .frame.oval img { animation-delay: 0.7s; } .frame.rect img { animation-delay: 0.95s; }
.frame.arch, .frame.oval, .frame.rect { will-change: transform; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform 0.6s var(--ease); }
@keyframes rideau { to { clip-path: inset(0); } }
@keyframes dezoom { to { transform: scale(1); } }
.seal { position: absolute; left: -3%; top: 9%; width: 31%; z-index: 3; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45)); opacity: 0; animation: apparait 1s var(--ease) 1.4s forwards, flotte 9s ease-in-out 2.5s infinite; }
.seal .tourne { transform-origin: 100px 100px; animation: tourne 38s linear infinite; }
.seal text { font-family: var(--ff-texte); font-weight: 600; font-size: 15.5px; fill: var(--vert); }
.seal .n { font-family: var(--ff-titre); font-size: 56px; font-weight: 500; }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes flotte { 50% { translate: 0 -10px; } }

@media (max-width: 960px) {
  .seal { left: 0; }
  .hero { padding-top: 8rem; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .compo { max-width: 460px; margin-top: 1.5rem; }
}

/* ---------- Bandeau défilant ---------- */
.bande { background: var(--laiton); color: var(--vert); overflow: hidden; padding: 1.05rem 0; border-block: 1px solid rgba(15, 36, 31, 0.25); }
.bande-piste { display: flex; width: max-content; animation: defile 46s linear infinite; }
.bande:hover .bande-piste { animation-play-state: paused; }
.bande ul { display: flex; align-items: center; flex: none; }
.bande li { display: inline-flex; align-items: center; font: 500 clamp(1.15rem, 2vw, 1.5rem)/1 var(--ff-titre); white-space: nowrap; }
.bande li::after { content: ""; width: 9px; height: 9px; background: var(--vert); transform: rotate(45deg); margin-inline: 1.6rem; opacity: 0.85; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Éditorial ---------- */
.edito { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6.5rem); align-items: center; }
.edito + .edito { margin-top: clamp(4rem, 8vw, 7rem); }
.edito.inverse .edito-img { order: 2; }
.edito h2 { margin-bottom: 0.7em; }
.edito .lien { margin-top: 0.4rem; }
@media (max-width: 860px) {
  .edito { grid-template-columns: 1fr; }
  .edito.inverse .edito-img { order: 0; }
}

.photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--marbre-2); cursor: zoom-in; }
.photo.large { aspect-ratio: 5 / 4; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(237, 239, 234, 0.75); pointer-events: none; transition: inset 0.6s var(--ease), border-color 0.6s; }
.photo:hover::after { inset: 8px; border-color: var(--laiton-clair); }
.photo.arche { border-radius: 999px 999px 0 0; }
.photo.arche::after { border-radius: 999px 999px 0 0; }
.lens {
  position: absolute; z-index: 4; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; pointer-events: none;
  border: 5px solid var(--laiton); box-shadow: 0 0 0 1px rgba(15, 36, 31, 0.5), 0 22px 40px -8px rgba(0, 0, 0, 0.55), inset 0 0 22px rgba(0, 0, 0, 0.3);
  background-repeat: no-repeat; opacity: 0; transform: scale(0.5); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.loupe.on .lens { opacity: 1; transform: scale(1); }
.loupe.on { cursor: none; }

/* ---------- Les deux métiers ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 2.2rem; border-top: 1px solid var(--ligne); }
.duo > div { padding: 1.4rem 1.6rem 1rem 0; }
.duo > div + div { padding-left: 1.6rem; border-left: 1px solid var(--ligne); }
.duo h3 { margin-bottom: 0.35em; }
.duo p { font-size: 0.98rem; margin-bottom: 0.4em; }
@media (max-width: 640px) { .duo { grid-template-columns: 1fr; } .duo > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--ligne); } }

/* ---------- Panneaux activités ---------- */
.section-tete { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-tete h2 { margin: 0; max-width: 16ch; }
.section-tete p { max-width: 42ch; margin: 0; }
.panels { display: flex; gap: 12px; height: clamp(520px, 62vw, 640px); }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; text-decoration: none; color: var(--marbre);
  border-radius: 400px 400px 6px 6px; background: var(--vert-3);
  transition: flex 0.9s var(--ease); isolation: isolate;
}
.panels:hover .panel, .panels:focus-within .panel { flex: 0.62; }
.panels .panel:hover, .panels .panel:focus-visible { flex: 3.2; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter 0.8s; filter: saturate(0.85) brightness(0.8); }
.panel:hover img, .panel:focus-visible img { transform: scale(1.06); filter: saturate(1.05) brightness(0.95); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 36, 31, 0) 35%, rgba(15, 36, 31, 0.92)); }
.panel-in { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.4rem 1.8rem; }
.panel h3 { font-size: clamp(1.15rem, 1.6vw, 1.55rem); margin: 0 0 0.4em; }
.panel p, .panel .lien { opacity: 0; max-height: 0; overflow: hidden; margin: 0; transition: opacity 0.6s 0.1s, max-height 0.7s var(--ease); font-size: 0.98rem; color: var(--texte-clair); }
.panel .lien { color: var(--laiton-clair); margin-top: 0.7rem; }
.panels .panel:hover p, .panels .panel:hover .lien, .panels .panel:focus-visible p, .panels .panel:focus-visible .lien { opacity: 1; max-height: 9em; }
@media (max-width: 960px) {
  .panels { flex-direction: column; height: auto; }
  .panel, .panels:hover .panel, .panels .panel:hover { flex: none; min-height: 300px; border-radius: 200px 200px 6px 6px; }
  .panel p, .panel .lien { opacity: 1; max-height: none; }
  .panel-in { padding: 1.4rem 1.6rem 1.6rem; }
}
@media (max-width: 560px) { .panel, .panels:hover .panel, .panels .panel:hover { border-radius: 130px 130px 6px 6px; min-height: 320px; } }

/* ---------- Catalogue des achats ---------- */
.catalogue { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.catalogue-tete { position: sticky; top: 7rem; }
.groupe { padding: 1.6rem 0 1.4rem; border-top: 1px solid var(--ligne); }
.groupe:first-child { border-top: 0; padding-top: 0; }
.groupe h3 { color: var(--laiton-fonce); margin-bottom: 0.7em; }
.groupe ul { columns: 2; column-gap: 2.5rem; }
.groupe li { break-inside: avoid; position: relative; padding: 0.42rem 0 0.42rem 1.5rem; border-bottom: 1px solid rgba(15, 36, 31, 0.08); transition: padding 0.45s var(--ease), color 0.3s; }
.groupe li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; background: var(--laiton); transform: translateY(-50%) rotate(45deg) scale(0.6); opacity: 0.55; transition: transform 0.45s var(--ease), opacity 0.3s; }
.groupe li:hover { padding-left: 2rem; color: var(--laiton-fonce); }
.groupe li:hover::before { transform: translateY(-50%) rotate(45deg) scale(1.25); opacity: 1; }
@media (max-width: 900px) {
  .catalogue { grid-template-columns: 1fr; }
  .catalogue-tete { position: static; }
}
@media (max-width: 520px) { .groupe ul { columns: 1; } }

/* ---------- Étapes ---------- */
.etapes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; margin-top: clamp(2.5rem, 5vw, 4rem); --p: 0; }
.etapes::before, .etapes::after { content: ""; position: absolute; top: 27px; left: 27px; right: 27px; height: 1px; }
.etapes::before { background: var(--ligne-claire); }
.etapes::after { background: var(--laiton); transform: scaleX(var(--p)); transform-origin: left; }
.etapes li { position: relative; padding-top: 5rem; }
.etapes .n {
  position: absolute; top: 0; left: 0; z-index: 1; width: 55px; height: 55px; border-radius: 50%; border: 1px solid var(--laiton);
  display: grid; place-items: center; font: 500 1.35rem/1 var(--ff-titre); color: var(--laiton-clair); background: var(--vert);
  transition: background 0.6s, color 0.6s, transform 0.6s var(--ease);
}
.etapes li.on .n { background: var(--laiton); color: var(--vert); transform: scale(1.08); }
.etapes h3 { margin-bottom: 0.4em; }
.etapes p { font-size: 0.98rem; color: var(--texte-clair); }
@media (max-width: 860px) {
  .etapes { grid-template-columns: 1fr; gap: 0; }
  .etapes::before, .etapes::after { top: 27px; bottom: 27px; left: 27px; right: auto; width: 1px; height: auto; }
  .etapes::after { transform: scaleY(var(--p)); transform-origin: top; }
  .etapes li { padding: 0 0 2.4rem 5rem; min-height: 55px; }
}

/* ---------- Zone (villes) ---------- */
.villes { font: 400 clamp(1.5rem, 3vw, 2.5rem)/1.5 var(--ff-titre); max-width: 26em; }
.villes span { white-space: nowrap; transition: color 0.3s; }
.villes span:hover { color: var(--laiton-fonce); }
.villes .sep { display: inline-block; width: 0.42em; height: 0.42em; margin: 0 0.5em 0.12em 0.7em; background: var(--laiton); transform: rotate(45deg); }
.secteur { padding: 2rem 0; border-top: 1px solid var(--ligne); display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 2rem; align-items: start; }
.secteur h3 { color: var(--laiton-fonce); margin: 0; }
.secteur .villes { font-size: clamp(1.2rem, 2.2vw, 1.75rem); }
@media (max-width: 800px) { .secteur { grid-template-columns: 1fr; gap: 0.8rem; } }

/* ---------- FAQ ---------- */
.faq { width: 100%; }
.faqbloc { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faqbloc h2 { position: sticky; top: 7rem; margin: 0; }
@media (max-width: 860px) { .faqbloc { grid-template-columns: 1fr; gap: 1.5rem; } .faqbloc h2 { position: static; } }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq details:first-child { border-top: 1px solid var(--ligne); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; font: 500 clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--ff-titre); transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--laiton-fonce); }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform 0.5s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .rep { overflow: hidden; transition: height 0.5s var(--ease); }
.faq .rep p { padding: 0 3rem 1.5rem 0; margin: 0; }
.faq.sur-sombre details, .faq.sur-sombre details:first-child { border-color: var(--ligne-claire); }
.faq.sur-sombre summary:hover { color: var(--laiton-clair); }

/* ---------- Hero pages internes ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; background: var(--vert); color: var(--texte-clair); padding: 10rem 0 clamp(4rem, 7vw, 6rem); }
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 75%) var(--my, 40%), rgba(221, 195, 143, 0.2), transparent 62%), radial-gradient(800px circle at 0% 100%, rgba(94, 140, 126, 0.18), transparent 60%);
}
.phero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.phero.sans-image .phero-grid { grid-template-columns: 1fr; }
.phero h1 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); color: var(--marbre); }
.phero .lead { max-width: 36em; }
.crumbs { font-size: 0.9rem; margin-bottom: 1.8rem; color: var(--laiton-clair); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.phero .frame { position: relative; clip-path: inset(100% 0 0 0); width: min(100%, 420px); margin-inline: auto; aspect-ratio: 4 / 5; border-radius: 999px 999px 6px 6px; animation: rideau 1.3s var(--ease-in-out) 0.3s forwards; }
.phero .frame .in { border-radius: 999px 999px 2px 2px; }
.phero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
@media (max-width: 860px) { .phero { padding-top: 8.5rem; } .phero-grid { grid-template-columns: 1fr; } .phero .frame { width: min(100%, 340px); } }

/* ---------- Listes de contenu ---------- */
.puces li { position: relative; padding: 0.5rem 0 0.5rem 1.7rem; }
.puces li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; background: var(--laiton); transform: rotate(45deg); }
.trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ligne); margin-top: 2.5rem; }
.trois > div { padding: 1.8rem 1.8rem 1.4rem 0; }
.trois > div + div { padding-left: 1.8rem; border-left: 1px solid var(--ligne); }
.trois p { font-size: 0.98rem; }
.dark .trois, .dark-2 .trois { border-color: var(--ligne-claire); }
.dark .trois > div + div, .dark-2 .trois > div + div { border-color: var(--ligne-claire); }
@media (max-width: 820px) { .trois { grid-template-columns: 1fr; } .trois > div { padding: 1.4rem 0; } .trois > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--ligne); } }
.note { border-left: 2px solid var(--laiton); padding: 0.4rem 0 0.4rem 1.4rem; margin: 1.8rem 0; font-family: var(--ff-titre); font-size: 1.3rem; line-height: 1.4; max-width: 34em; }
.centre { text-align: center; margin-inline: auto; }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; grid-auto-flow: dense; }
.galerie button { position: relative; padding: 0; border: 0; background: var(--marbre-2); overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.galerie button:nth-child(9n + 1) { grid-column: span 2; grid-row: span 2; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; filter: saturate(0.92); }
.galerie button:hover img { transform: scale(1.07); filter: saturate(1.1); }
.galerie button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 36, 31, 0.55)); opacity: 0; transition: opacity 0.5s; }
.galerie button:hover::after { opacity: 1; }
@media (max-width: 900px) { .galerie { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .galerie { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(8, 20, 17, 0.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.lb.open { opacity: 1; visibility: visible; }
.lb img { max-width: min(92vw, 1200px); max-height: 84vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); transform: scale(0.96); transition: transform 0.6s var(--ease); }
.lb.open img { transform: none; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ligne-claire); background: rgba(15, 36, 31, 0.6); color: var(--marbre); cursor: pointer; display: grid; place-items: center; transition: background 0.3s, border-color 0.3s; }
.lb button:hover { background: var(--laiton); color: var(--vert); border-color: var(--laiton); }
.lb .fermer { top: 1.2rem; right: 1.2rem; } .lb .prec { left: 1.2rem; top: 50%; margin-top: -26px; } .lb .suiv { right: 1.2rem; top: 50%; margin-top: -26px; }
.lb .compteur { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: var(--laiton-clair); font-size: 0.95rem; }
.lb svg { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-infos h2 { color: var(--marbre); }
.grand-tel { display: inline-block; font: 500 clamp(2rem, 4.4vw, 3.4rem)/1.1 var(--ff-titre); color: var(--laiton-clair); text-decoration: none; margin: 0.2em 0 0.3em; transition: color 0.3s; }
.grand-tel:hover { color: var(--marbre); }
.infos-liste { margin-top: 1.8rem; border-top: 1px solid var(--ligne-claire); }
.infos-liste li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ligne-claire); }
.infos-liste svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--laiton); margin-top: 0.2rem; }
.infos-liste a { text-decoration: none; } .infos-liste a:hover { text-decoration: underline; }
.carte-form { background: var(--marbre); color: var(--texte); padding: clamp(1.6rem, 3.5vw, 3rem); border-radius: 240px 240px 8px 8px; padding-top: clamp(3.5rem, 8vw, 6rem); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); position: relative; }
.carte-form::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--laiton); border-radius: 232px 232px 4px 4px; pointer-events: none; opacity: 0.7; }
.dark-2 .carte-form h3, .carte-form h3 { color: var(--vert); text-align: center; margin-bottom: 1.4rem; }
.champ { position: relative; margin-bottom: 1.15rem; }
.champ label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.15rem; color: var(--laiton-fonce); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; color: var(--texte); background: transparent; border: 0; border-bottom: 1px solid rgba(15, 36, 31, 0.35);
  padding: 0.6rem 0; border-radius: 0; transition: border-color 0.3s; appearance: none;
}
.champ select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a5c28' stroke-width='1.5'/%3E%3C/svg%3E") right 0.2rem center no-repeat; padding-right: 1.6rem; }
.champ textarea { min-height: 7.5rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: transparent; }
.champ .barre { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--laiton); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); pointer-events: none; }
.champ:focus-within .barre { transform: scaleX(1); }
.champ-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .champ-2 { grid-template-columns: 1fr; gap: 0; } }
.hp { position: absolute; left: -9999px; }
.rgpd { font-size: 0.82rem; opacity: 0.75; margin: 0.3rem 0 1.3rem; max-width: none; }
.form-msg { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; text-align: center; }
.form-msg.ok { color: #1f6b4b; } .form-msg.err { color: #9a2f2f; }
.carte-form .btn { width: 100%; }
.envoye { display: none; text-align: center; padding: 2rem 0; }
.carte-form.done form { display: none; } .carte-form.done .envoye { display: block; }
.envoye svg { width: 84px; height: 84px; margin: 0 auto 1rem; color: var(--laiton-fonce); }
.envoye circle, .envoye path { stroke-dasharray: 200; stroke-dashoffset: 200; }
.carte-form.done .envoye circle { animation: trace 1s var(--ease) forwards; }
.carte-form.done .envoye path { animation: trace 0.7s var(--ease) 0.7s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.foot { background: var(--vert); color: var(--texte-clair); padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem; border-top: 1px solid var(--ligne-claire); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot h4 { font: 500 1.3rem/1.2 var(--ff-titre); color: var(--marbre); margin-bottom: 0.9rem; }
.foot li { margin-bottom: 0.45rem; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--laiton-clair); text-decoration: underline; }
.foot p { font-size: 0.97rem; }
.plaque { display: inline-block; background: var(--marbre); padding: 0.7rem 1.1rem; border-radius: 6px; margin-bottom: 1.2rem; }
.plaque img { height: 56px; width: auto; max-width: 100%; }
.foot-bas { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--ligne-claire); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.88rem; opacity: 0.85; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Bouton rappel + barre mobile ---------- */
.fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 70; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.3rem; border-radius: 999px; background: var(--laiton); color: var(--vert); font-weight: 700; text-decoration: none; cursor: pointer; border: 0;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.55); transition: transform 0.4s var(--ease), background 0.3s;
}
.fab:hover { transform: translateY(-3px); background: var(--laiton-clair); }
.fab svg { width: 1.2rem; height: 1.2rem; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--laiton); animation: onde 2.8s ease-out infinite; }
@keyframes onde { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.5, 1.9); opacity: 0; } }
.rappel { position: fixed; right: 1.4rem; bottom: 5.2rem; z-index: 75; width: min(360px, 100% - 2.8rem); background: var(--marbre); color: var(--texte); padding: 1.6rem; border-radius: 6px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7); opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.97); transform-origin: bottom right; transition: opacity 0.4s, transform 0.5s var(--ease), visibility 0.4s; }
.rappel.open { opacity: 1; visibility: visible; transform: none; }
.rappel h3 { font-size: 1.4rem; margin-bottom: 0.3em; }
.rappel p { font-size: 0.93rem; margin-bottom: 1rem; }
.rappel .fermer { position: absolute; top: 0.6rem; right: 0.7rem; width: 34px; height: 34px; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; color: var(--texte); line-height: 1; }
.rappel .btn { width: 100%; }
.mbar { display: none; }
@media (max-width: 900px) {
  .fab { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; background: var(--vert); border-top: 1px solid var(--ligne-claire); }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 0.5rem; font: 600 0.98rem var(--ff-texte); color: var(--marbre); background: transparent; border: 0; text-decoration: none; cursor: pointer; }
  .mbar a:first-child { background: var(--laiton); color: var(--vert); }
  .mbar svg { width: 1.1rem; height: 1.1rem; }
  body { padding-bottom: 3.4rem; }
  .rappel { bottom: 4.2rem; right: 1.4rem; }
}

/* ---------- Révélations au défilement ---------- */
.js [data-r] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].in { opacity: 1; transform: none; }
.js h2[data-r] { opacity: 1; transform: none; clip-path: inset(-0.15em 100% -0.3em -0.05em); transition: clip-path 1.2s var(--ease-in-out); transition-delay: var(--d, 0s); }
.js h2[data-r].in { clip-path: inset(-0.15em -0.05em -0.3em -0.05em); }
.js .photo[data-r] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-in-out); }
.js .photo[data-r].in { clip-path: inset(0); }
.js .photo.arche[data-r] { clip-path: inset(100% 0 0 0); }
.js .photo.arche[data-r].in { clip-path: inset(0); }
.js li[data-r] { transform: translateX(-16px); }
.js li[data-r].in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .ln > span, .frame, .frame img, .hero .lead, .hero-cta, .garanties, .seal { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .bande-piste { animation: none; }
  .js [data-r] { opacity: 1; transform: none; clip-path: none !important; }
}

@media print {
  .hdr, .fab, .mbar, .rappel, .bande { display: none !important; }
  .hero, .phero { padding-top: 2rem; min-height: 0; }
}

/* ---------- Bandeau cookies / RGPD ---------- */
.cookies { display: none; }
.js .cookies {
  display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(180deg, var(--vert-2) 0%, var(--vert) 100%);
  color: var(--texte-clair); border-top: 1px solid var(--laiton);
  box-shadow: 0 -26px 60px -26px rgba(0, 0, 0, 0.75);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateY(105%); visibility: hidden;
  transition: transform 0.9s var(--ease), visibility 0s 0.9s;
}
.js .cookies.show { transform: none; visibility: visible; transition: transform 0.9s var(--ease), visibility 0s; }
.cookies::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 38%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--laiton-clair), transparent);
  animation: filet-or 6s var(--ease-in-out) infinite;
}
@keyframes filet-or { from { transform: translateX(-100%); } to { transform: translateX(270%); } }
.cookies-in { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.6rem; padding: 1.35rem 0; }
.cookies-sceau { width: 52px; height: 52px; color: var(--laiton); flex: none; animation: tourne-lent 40s linear infinite; }
@keyframes tourne-lent { to { transform: rotate(360deg); } }
.cookies-txt .cookies-titre { font: 500 1.4rem/1.2 var(--ff-titre); color: var(--marbre); margin: 0 0 0.3rem; }
.cookies-txt p { margin: 0; font-size: 0.95rem; line-height: 1.55; max-width: 62ch; }
.cookies .lien { color: var(--laiton-clair); }
.cookies-btns { display: flex; gap: 0.7rem; }
.cookies .btn { padding: 0.8rem 1.6rem; font-size: 0.95rem; }
.cookies .btn-ligne { background: transparent; color: var(--marbre); }
.cookies .btn-ligne:hover { background: rgba(221, 195, 143, 0.14); }
.cookies-txt, .cookies-btns, .cookies-sceau { opacity: 0; transform: translateY(10px); transition: opacity 0.7s 0.25s, transform 0.8s 0.25s var(--ease); }
.cookies.show .cookies-txt, .cookies.show .cookies-btns, .cookies.show .cookies-sceau { opacity: 1; transform: none; }
.cookies.show .cookies-btns { transition-delay: 0.4s; }
body.cookies-on .fab { bottom: calc(1.4rem + var(--cb-h, 0px)); }
body.cookies-on .rappel { bottom: calc(5.2rem + var(--cb-h, 0px)); }
.lien-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.lien-btn:hover { color: var(--laiton-clair); text-decoration: underline; }
@media (max-width: 860px) {
  .cookies-in { grid-template-columns: 1fr; gap: 1rem; padding: 1.1rem 0 1.2rem; }
  .cookies-sceau { display: none; }
  .cookies-txt .cookies-titre { font-size: 1.2rem; }
  .cookies-txt p { font-size: 0.9rem; }
  .cookies-btns { display: grid; grid-template-columns: 1fr 1fr; }
  .cookies .btn { padding: 0.85rem 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cookies::before, .cookies-sceau { animation: none; }
  .cookies-txt, .cookies-btns, .cookies-sceau { opacity: 1; transform: none; }
}
@media print { .cookies { display: none !important; } }
