/* Piano Event — feuille de style */
:root {
  --laque: #000;
  --blanc: #fff;
  --feutre: #f5f5f7;
  --graphite: #6e6e73;
  --encre: #1d1d1f;
  --laiton: #b08d57;
  --laiton-clair: #d9bd8c;
  --filet: #d2d2d7;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --menu: "Red Hat Text", -apple-system, "Helvetica Neue", sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page: min(1180px, 100% - 44px);
  --nav-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font: 17px/1.5 var(--ui);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; border-radius: 4px; }
.wrap { width: var(--page); margin-inline: auto; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie ---------- */
.display, h1, h2 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.06;
  margin: 0;
}
h1 { font-size: clamp(48px, 8.4vw, 112px); }
h2 { font-size: clamp(36px, 5.2vw, 64px); }
h3 { font: 600 21px/1.25 var(--ui); margin: 0; letter-spacing: -0.015em; }
.lead { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.38; color: var(--graphite); max-width: 34ch; margin: 18px 0 0; }
.muted { color: var(--graphite); }
.small { font-size: 14px; }
p { max-width: 66ch; }

.marque { font: italic 400 22px/1 var(--display); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border-radius: 980px; border: 1px solid transparent;
  font-size: 17px; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-noir { background: var(--laque); color: var(--blanc); }
.btn-noir:hover { background: #333; }
.btn-blanc { background: var(--blanc); color: var(--laque); }
.btn-blanc:hover { background: var(--feutre); }
.btn-contour { border-color: currentColor; background: transparent; }
.btn-contour:hover { background: rgba(127,127,127,.12); }
.lien { color: var(--laiton); text-decoration: none; font-size: 17px; }
.lien:hover { text-decoration: underline; }
.lien::after { content: " ›"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: background .5s, border-color .5s, color .5s;
}
.nav.sombre { background: rgba(0,0,0,.78); color: var(--blanc); border-color: rgba(255,255,255,.08); }
.nav-grille { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-cote { display: flex; align-items: center; gap: 36px; font-size: 13px; letter-spacing: .01em; }
.nav-droite { justify-content: flex-end; }
.nav-cote a { text-decoration: none; opacity: .78; transition: opacity .2s; }
.nav-cote a:hover, .nav-cote a[aria-current="page"] { opacity: 1; }
.nav-logo { display: block; justify-self: center; }
.nav-logo img { height: 38px; width: auto; }
.nav-cta { opacity: 1 !important; padding: 7px 16px; border: 1px solid currentColor; border-radius: 980px; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--encre); color: var(--blanc); border-color: var(--encre); }
.sombre .nav-cta:hover, .nav[data-transparente]:not([data-posee]) .nav-cta:hover { background: var(--blanc); color: var(--laque); border-color: var(--blanc); }
.nav-mobile-gauche { display: none; }
.nav-retour { display: inline-flex; align-items: center; gap: 2px; margin-left: -6px; font-size: 16px; text-decoration: none; color: var(--laiton); }
.nav-retour svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Accueil : barre transparente posée sur la photo */
.nav[data-transparente] { position: fixed; inset: 0 0 auto 0; height: 76px; color: var(--blanc); }
.nav[data-transparente]:not([data-posee]):not([data-ouvert]) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav[data-transparente] .nav-logo img { height: 46px; transition: height .4s, opacity .6s; }
.nav[data-transparente][data-posee], .nav[data-transparente][data-ouvert] { height: var(--nav-h); background: rgba(0,0,0,.8); border-color: rgba(255,255,255,.08); }
.nav[data-transparente][data-posee] .nav-logo img { height: 36px; }
/* Le logo de la barre n'apparaît qu'une fois le grand logo du hero dépassé */

@media (max-width: 760px) {
  .nav-grille { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .nav-mobile-gauche { display: block; justify-self: start; }
  .nav-gauche { display: none; }
  .nav-droite a:not(.nav-icone) { display: none; }
  .nav-cta { padding: 5px 12px; font-size: 12px; }
  .nav-droite { justify-self: end; }
}

/* ---------- Hero d'accueil ---------- */
.hero {
  position: relative; isolation: isolate;
  height: 100svh; min-height: 680px;
  display: flex; flex-direction: column; align-items: center;
  background: var(--laque); color: var(--blanc);
  overflow: hidden; text-align: center;
}
.hero-photo {
  position: absolute; inset: 38% 0 0 0; z-index: -2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 46% 30% at 50% 44%, rgba(0,0,0,.55), rgba(0,0,0,0)),
    linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,.85) 100%);
}
.hero-centre { display: flex; flex-direction: column; align-items: center; padding: clamp(150px, 21vh, 210px) 22px 0; }
.hero-logo { width: min(400px, 70vw); height: auto; }
.hero h1 {
  font-size: clamp(15px, 1.3vw, 18px); font-family: var(--ui); font-weight: 400;
  letter-spacing: .01em; line-height: 1.5;
  color: rgba(255,255,255,.72); margin-top: 22px; max-width: 44ch;
}
.hero .actions { justify-content: center; margin-top: 28px; }
.hero .btn-or { background: linear-gradient(180deg, #e4cb98, #b08d57); color: var(--laque); font-weight: 500; }
.hero .btn-or:hover { background: linear-gradient(180deg, #edd8ad, #c29d64); }

.hero-modeles {
  position: absolute; inset: auto 0 0 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-modeles .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.hero-modeles a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 18px 8px 22px; text-decoration: none; color: rgba(255,255,255,.62);
  transition: color .25s;
}
.hero-modeles a + a { border-left: 1px solid rgba(255,255,255,.1); }
.hero-modeles a:hover { color: var(--blanc); }
.hero-modeles b { font: 400 22px/1.1 var(--display); color: var(--blanc); }
.hero-modeles span { font-size: 12px; }
@media (max-width: 760px) {
  .hero-modeles .wrap { width: 100%; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 31%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .hero-modeles .wrap::-webkit-scrollbar { display: none; }
  .hero-modeles a { scroll-snap-align: start; }
  .hero-modeles b { font-size: 19px; }
}

/* Ouverture : la photo sort du noir, le texte suit. Uniquement opacité et transform, calculés par la carte graphique */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: rideau 1.8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-centre > *, .hero-modeles { animation: lever .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-centre > :nth-child(1) { animation-delay: .15s; }
  .hero-centre > :nth-child(2) { animation-delay: .3s; }
  .hero-centre > :nth-child(3) { animation-delay: .45s; }
  .hero-modeles { animation-delay: .65s; }
}
@keyframes rideau { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lever { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.bloc { padding-block: clamp(80px, 12vw, 160px); }
.bloc-feutre { background: var(--feutre); }
.bloc-noir { background: var(--laque); color: var(--blanc); }
.bloc-noir .lead, .bloc-noir .muted { color: rgba(255,255,255,.66); }
.bloc-noir .lien { color: var(--laiton-clair); }
.entete { margin-bottom: clamp(40px, 6vw, 72px); }
.entete-centre { text-align: center; }
.entete-centre .lead { margin-inline: auto; }

/* Citation */
.citation { text-align: center; }
.bloc-noir.citation blockquote { color: var(--blanc); }
.bloc-noir.citation figcaption { color: var(--laiton-clair); }
.citation blockquote { margin: 0 auto; max-width: 20ch; font: italic 400 clamp(30px, 4.4vw, 54px)/1.18 var(--display); letter-spacing: -0.015em; }
.citation figcaption { margin-top: 28px; color: var(--graphite); font-size: 15px; }

/* ---------- Gamme (tuiles produits) ---------- */
.gamme { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tuile {
  position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center; text-decoration: none;
  background: var(--feutre); border-radius: 28px; overflow: hidden;
  padding: 48px 28px 0;
}
.bloc-feutre .tuile { background: var(--blanc); }
.tuile-grande { grid-column: span 2; background: var(--laque) !important; color: var(--blanc); }
.tuile .type { font-size: 15px; color: var(--graphite); margin: 0 0 6px; }
.tuile-grande .type { color: var(--laiton-clair); }
.tuile h3 { font: 400 clamp(34px, 4vw, 48px)/1.05 var(--display); letter-spacing: -0.02em; }
.tuile .accroche { margin: 10px auto 0; font-size: 19px; max-width: 28ch; }
.tuile .prix { margin: 12px 0 0; font-size: 15px; color: var(--graphite); }
.tuile-grande .prix { color: rgba(255,255,255,.66); }
.tuile .actions { margin-top: 20px; justify-content: center; }
.tuile figure { margin: 36px -28px 0; width: calc(100% + 56px); aspect-ratio: 4 / 3; overflow: hidden; }
.tuile-grande figure { aspect-ratio: 21 / 9; }
.tuile figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tuile:hover figure img { transform: scale(1.03); }
.tuile .etendre::before { content: ""; position: absolute; inset: 0; }
.tuile .actions .btn { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .gamme { grid-template-columns: 1fr; }
  .tuile-grande { grid-column: auto; }
  .tuile-grande figure { aspect-ratio: 4 / 3; }
}

/* ---------- Bande éditoriale photo + texte ---------- */
.edito { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.edito-inverse .edito-photo { order: 2; }
.edito-photo { border-radius: 4px; overflow: hidden; }
.edito-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.edito ul { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--filet); }
.bloc-noir .edito ul { border-color: rgba(255,255,255,.18); }
.edito li { padding: 18px 0; border-bottom: 1px solid var(--filet); }
.bloc-noir .edito li { border-color: rgba(255,255,255,.18); }
.edito li strong { display: block; font-weight: 600; }
.edito li span { color: var(--graphite); font-size: 15px; }
.bloc-noir .edito li span { color: rgba(255,255,255,.6); }
@media (max-width: 860px) {
  .edito { grid-template-columns: 1fr; }
  .edito-inverse .edito-photo { order: 0; }
  .edito-photo img { aspect-ratio: 4 / 3; }
}

/* Photo plein cadre */
.plein-cadre { position: relative; background: var(--laque); color: var(--blanc); }
.plein-cadre img { width: 100%; height: min(86vh, 900px); object-fit: cover; opacity: .9; }
.plein-cadre .legende { position: absolute; inset: auto 0 0 0; padding-block: 0 clamp(36px, 7vw, 80px); }
.plein-cadre .legende h2 { max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.5); }

/* ---------- Étapes de réservation (vraie séquence) ---------- */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; counter-reset: etape; }
.etapes li { counter-increment: etape; background: var(--blanc); border-radius: 22px; padding: 32px 28px 36px; }
.etapes li::before { content: counter(etape); display: block; font: 400 56px/1 var(--display); color: var(--laiton); margin-bottom: 28px; }
.etapes p { margin: 8px 0 0; color: var(--graphite); font-size: 16px; }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr; } }

/* ---------- Comparatif ---------- */
.comparatif { width: 100%; border-collapse: collapse; text-align: center; font-size: 15px; }
.comparatif-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: -22px; padding-inline: 22px; }
.comparatif th, .comparatif td { padding: 16px 10px; border-bottom: 1px solid var(--filet); }
.comparatif thead th { vertical-align: bottom; border-bottom: 0; padding-bottom: 24px; }
.comparatif thead img { width: 120px; height: 120px; object-fit: cover; border-radius: 16px; margin: 0 auto 16px; }
.comparatif thead strong { display: block; font: 400 26px/1.1 var(--display); }
.comparatif thead span { display: block; color: var(--graphite); font-weight: 400; margin-top: 4px; }
.comparatif tbody th { text-align: left; font-weight: 400; color: var(--graphite); white-space: nowrap; }
.comparatif td { font-weight: 600; min-width: 128px; }
.comparatif tfoot td { border: 0; padding-top: 24px; }

/* ---------- Partenaire / avis ---------- */
.note-google { display: flex; align-items: baseline; gap: 16px; margin-top: 36px; }
.note-google b { font: 400 88px/0.9 var(--display); letter-spacing: -0.03em; }
.note-google span { color: var(--graphite); font-size: 15px; }
.bloc-noir .note-google span { color: rgba(255,255,255,.6); }
.etoiles { color: var(--laiton); letter-spacing: 2px; font-size: 18px; display: block; }

/* ---------- Page produit ---------- */
.produit-entete { padding-block: clamp(36px, 6vw, 72px) 28px; }
.produit-entete .type { color: var(--laiton); margin: 0 0 8px; font-size: 17px; }
.produit-entete h1 { font-size: clamp(44px, 6.6vw, 88px); }
.produit-grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: 120px; }
.galerie { position: sticky; top: calc(var(--nav-h) + 24px); }
.galerie-principale { border-radius: 24px; overflow: hidden; background: var(--laque); aspect-ratio: 1; }
.galerie-principale img { width: 100%; height: 100%; object-fit: cover; }
.galerie-vignettes { display: flex; gap: 10px; margin-top: 12px; justify-content: center; }
.galerie-vignettes button { width: 64px; height: 64px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: none; }
.galerie-vignettes button[aria-pressed="true"] { border-color: var(--laiton); }
.galerie-vignettes img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .produit-grille { grid-template-columns: 1fr; }
  .galerie { position: static; }
}

.config fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.config legend { font: 600 24px/1.2 var(--ui); letter-spacing: -0.02em; padding: 0; margin-bottom: 6px; }
.config legend span { color: var(--graphite); font-weight: 600; }
.config .aide { font-size: 14px; color: var(--graphite); margin: 0 0 16px; }
.choix { display: grid; gap: 10px; }
.choix-2 { grid-template-columns: repeat(2, 1fr); }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix .carte {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 64px; padding: 14px 18px;
  border: 1px solid #86868b; border-radius: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.choix .carte b { font-weight: 600; font-size: 16px; }
.choix .carte small { display: block; color: var(--graphite); font-size: 13px; margin-top: 2px; }
.choix .carte em { font-style: normal; font-size: 13px; color: var(--graphite); white-space: nowrap; }
.choix-2 .carte { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.choix-2 .carte b { white-space: nowrap; }
.choix label:hover .carte { border-color: var(--encre); }
.choix input:checked + .carte { border-color: var(--laiton); box-shadow: inset 0 0 0 1px var(--laiton); }
.choix input:focus-visible + .carte { outline: 2px solid var(--laiton); outline-offset: 3px; }

.champ { display: block; margin-top: 12px; }
.champ span { display: block; font-size: 14px; color: var(--graphite); margin-bottom: 6px; }
.champ input, .champ textarea {
  width: 100%; border: 1px solid #86868b; border-radius: 12px;
  padding: 14px 16px; background: var(--blanc); font-size: 17px;
}
.champ textarea { min-height: 96px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--laiton); box-shadow: 0 0 0 3px rgba(176,141,87,.22); }
.case { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; cursor: pointer; font-size: 16px; }
.case input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--laiton); flex: none; }

.recap { background: var(--feutre); border-radius: 22px; padding: 26px 24px; margin-bottom: 28px; }
.recap dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.recap dt { color: var(--graphite); }
.recap dd { margin: 0; text-align: right; }
.recap .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--filet); margin-top: 18px; padding-top: 18px; }
.recap .total strong { font: 400 40px/1 var(--display); letter-spacing: -0.02em; }

/* Barre de réservation collante */
.barre {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0,0,0,.08);
  transform: translateY(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.barre[data-visible] { transform: none; }
.barre .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding-block: 12px; }
.barre p { margin: 0; font-size: 14px; color: var(--graphite); }
.barre strong { display: block; font-size: 22px; color: var(--encre); font-weight: 600; letter-spacing: -0.02em; }

/* Détails produit */
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.details > div { background: var(--blanc); border-radius: 22px; padding: 30px 28px; }
.details h3 { margin-bottom: 14px; }
.details ul { list-style: none; padding: 0; margin: 0; }
.details li { padding: 9px 0; border-bottom: 1px solid var(--filet); display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.details li:last-child { border-bottom: 0; }
.details li span { color: var(--graphite); }
.details p { color: var(--graphite); font-size: 16px; margin: 0 0 12px; }
@media (max-width: 900px) { .details { grid-template-columns: 1fr; } }

.avertissement { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--filet); border-radius: 16px; padding: 18px 20px; font-size: 15px; color: var(--graphite); margin-top: 8px; }
.avertissement b { color: var(--encre); font-weight: 600; }

/* ---------- Contact ---------- */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contacts a, .contacts div { display: block; text-decoration: none; background: var(--feutre); border-radius: 22px; padding: 30px 28px; }
.contacts a:hover { background: #ebebef; }
.contacts span { display: block; color: var(--graphite); font-size: 15px; margin-bottom: 8px; }
.contacts strong { font: 400 clamp(24px, 2.6vw, 32px)/1.15 var(--display); letter-spacing: -0.01em; word-break: break-word; }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--ui); color: var(--graphite); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--graphite); }

/* ---------- Pied de page ---------- */
.pied { background: var(--feutre); color: var(--graphite); font-size: 13px; padding-block: 56px 40px; }
.pied-haut { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--filet); }
.pied .marque { color: var(--encre); font-size: 28px; display: inline-block; margin-bottom: 12px; }
.pied h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--encre); }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 10px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; color: var(--encre); }
.pied-bas { padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.pied form { display: flex; margin-top: 16px; max-width: 320px; }
.pied form input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--filet); border-right: 0; border-radius: 10px 0 0 10px; padding: 0 12px; background: var(--blanc); font-size: 14px; }
.pied form button { height: 40px; border: 0; border-radius: 0 10px 10px 0; padding: 0 14px; background: var(--laque); color: var(--blanc); font-size: 14px; cursor: pointer; }
@media (max-width: 760px) { .pied-haut { grid-template-columns: 1fr 1fr; } .pied-haut > :first-child { grid-column: span 2; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Cordes derrière la citation ---------- */
[data-cordes] { position: relative; isolation: isolate; touch-action: pan-y; }
.cordes { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; cursor: crosshair; }
.cordes path { fill: none; stroke: var(--laiton-clair); stroke-linecap: round; opacity: .3; }
[data-cordes] figure { position: relative; pointer-events: none; }
.citation-indice { margin: 18px auto 0; font-size: 13px; color: rgba(255,255,255,.4); }

/* ---------- Logo fixe dans l'en-tête de l'accueil ---------- */
.nav[data-logo-fixe] { height: 104px; }
.nav[data-logo-fixe] .nav-logo img { height: 72px; transition: height .35s cubic-bezier(.2,.7,.2,1); }
.nav[data-logo-fixe][data-posee] { height: var(--nav-h); }
.nav[data-logo-fixe][data-posee] .nav-logo img { height: 36px; }
@media (max-width: 760px) {
  .nav[data-logo-fixe] { height: 80px; }
  .nav[data-logo-fixe] .nav-logo img { height: 52px; }
}
.hero-titre {
  font: 200 clamp(44px, 5.9vw, 80px)/1.1 var(--display) !important;
  letter-spacing: -0.01em !important; color: var(--blanc) !important;
  margin: 0 !important; max-width: none !important; text-align: center;
}
.hero .lead { margin: 20px auto 0; color: rgba(255,255,255,.74); max-width: 38ch; }

/* ---------- Fluidité ---------- */
/* Transition en fondu entre les pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
/* Les sections hors écran ne sont calculées qu'à l'approche */
main > section:not(:first-child) { content-visibility: auto; contain-intrinsic-size: auto 800px; }
.galerie-principale img { transition: opacity .16s ease; }
.tuile figure img { will-change: transform; }

/* ---------- Configurateur ---------- */
.config { min-width: 0; }
.etapes-config { list-style: none; margin: 0; padding: 0; }
.etape { padding: 0 0 36px 52px; position: relative; }
.etape::before { content: ""; position: absolute; left: 15px; top: 40px; bottom: 6px; width: 1px; background: var(--filet); }
.etape:last-child::before { display: none; }
.etape-tete { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 16px -52px; }
.etape-tete h3 { font-size: 22px; letter-spacing: -0.02em; padding-top: 3px; }
.etape-tete p { margin: 6px 0 0; color: var(--graphite); font-size: 15px; }
.etape-num {
  flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--filet); display: grid; place-items: center;
  font-size: 14px; color: var(--graphite); background: var(--blanc);
  transition: background .25s, border-color .25s, color .25s;
}
.etape-num svg { position: absolute; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s; }
.etape.faite .etape-num { background: var(--laiton); border-color: var(--laiton); color: var(--blanc); }
.etape.faite .etape-num b { opacity: 0; }
.etape.faite .etape-num svg { opacity: 1; transform: none; }
.etape-num b { font-weight: 500; transition: opacity .2s; }

.champ-xl { display: block; }
.champ-xl input {
  width: 100%; height: 60px; padding: 0 18px;
  border: 1px solid #c7c7cc; border-radius: 14px; background: var(--blanc);
  font-size: 19px; letter-spacing: -0.01em;
  transition: border-color .15s, box-shadow .15s;
}
.champ-xl input::placeholder { color: #a1a1a6; }
.champ-xl input:focus { outline: none; border-color: var(--laiton); box-shadow: 0 0 0 4px rgba(176,141,87,.18); }
.champ-cp input { font-variant-numeric: tabular-nums; }
.etape-info { margin: 12px 0 0; font-size: 15px; color: var(--graphite); }
.etape-info::first-letter { text-transform: uppercase; }

.zone-resultat {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  margin-top: 12px; padding: 14px 16px; border-radius: 14px;
  background: #f4efe6; color: var(--encre); font-size: 15px;
  animation: apparaitre .25s ease both;
}
.zone-resultat svg { grid-row: span 2; width: 22px; height: 22px; fill: none; stroke: var(--laiton); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.zone-resultat b { font-weight: 600; }
.zone-resultat span { color: var(--graphite); grid-column: 2; }
.zone-resultat.hors { display: block; background: var(--feutre); }
.zone-resultat.hors span { display: block; margin-top: 2px; }
.zone-resultat a { color: var(--laiton); }
@keyframes apparaitre { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.zones-detail { margin-top: 12px; font-size: 14px; }
.zones-detail summary { cursor: pointer; color: var(--laiton); list-style: none; }
.zones-detail summary::-webkit-details-marker { display: none; }
.zones-detail summary::after { content: " ›"; display: inline-block; transition: transform .2s; }
.zones-detail[open] summary::after { transform: rotate(90deg); }
.zones-detail ul { list-style: none; padding: 0; margin: 10px 0 0; }
.zones-detail li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--filet); color: var(--graphite); }
.zones-detail li b { color: var(--encre); font-weight: 600; white-space: nowrap; }

/* Cartes d'options */
.options { display: grid; gap: 10px; }
.options-3 { grid-template-columns: repeat(3, 1fr); }
.options-2 { grid-template-columns: repeat(2, 1fr); transition: opacity .2s; }
.options.inactif { opacity: .4; pointer-events: none; }
.option { position: relative; cursor: pointer; display: block; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option-carte {
  position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%;
  padding: 16px 16px 14px; border-radius: 16px; background: var(--blanc);
  border: 1px solid #d2d2d7;
  transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
}
.option:hover .option-carte { border-color: #86868b; }
.option:active .option-carte { transform: scale(.98); }
.option-icone { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--feutre); transition: background .18s; }
.option-icone svg { width: 20px; height: 20px; fill: none; stroke: var(--encre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.option-texte b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.option-texte small { display: block; font-size: 13px; color: var(--graphite); margin-top: 2px; }
.option-carte em { font-style: normal; font-size: 13px; color: var(--graphite); min-height: 1.2em; }
.option input:checked + .option-carte { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.option input:checked + .option-carte .option-icone { background: var(--laiton); }
.option input:checked + .option-carte .option-icone svg { stroke: var(--blanc); }
.option input:focus-visible + .option-carte { outline: 2px solid var(--laiton); outline-offset: 3px; }
@media (max-width: 480px) {
  .options-3 { grid-template-columns: 1fr; }
  .options-3 .option-carte { flex-direction: row; align-items: center; gap: 14px; }
  .options-3 .option-texte { flex: 1; }
}

/* Compteur d'étages */
.compteur {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px;
  margin-top: 10px; padding: 12px 12px 12px 18px; border-radius: 16px; background: var(--feutre);
  animation: apparaitre .25s ease both;
}
.compteur > span { flex: 1; font-size: 15px; }
.compteur em { width: 100%; font-style: normal; font-size: 13px; color: var(--graphite); order: 3; }
.compteur-ctrl { display: flex; align-items: center; gap: 4px; background: var(--blanc); border-radius: 980px; padding: 4px; }
.compteur-ctrl button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--feutre); font-size: 20px; line-height: 1; cursor: pointer; transition: background .15s; }
.compteur-ctrl button:hover:not(:disabled) { background: #e5e5ea; }
.compteur-ctrl button:disabled { opacity: .35; cursor: default; }
.compteur-ctrl output { min-width: 32px; text-align: center; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Récapitulatif */
.recap { position: relative; background: var(--feutre); border-radius: 24px; padding: 28px 26px 22px; margin: 4px 0 0; }
.recap h3 { margin-bottom: 14px; }
.recap dl { display: block; margin: 0; }
.recap dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15px; }
.recap dt { color: var(--graphite); }
.recap dd { margin: 0; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.recap .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--filet); margin: 12px 0 20px; padding-top: 16px; }
.recap .total strong { font: 400 40px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.btn-large { width: 100%; min-height: 54px; font-size: 17px; }
.btn[aria-disabled="true"] { background: #c7c7cc; color: var(--blanc); }
.recap-aide { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--graphite); min-height: 1.4em; }
.recap-pied { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--filet); text-align: center; font-size: 13px; color: var(--graphite); line-height: 1.6; max-width: none; }

/* Page livraison : vérification du code postal */
.verif-cp { margin-bottom: 24px; }
.verif-cp .zone-resultat { background: var(--blanc); }

/* ---------- Expérience « app » sur téléphone ---------- */
html { -webkit-tap-highlight-color: transparent; }
.onglets { display: none; }
.galerie-points { display: none; }
.btn, .tuile, .option-carte, .onglets a, .hero-modeles a, .contacts a { touch-action: manipulation; }
.btn:active { transform: scale(.97); }
.btn { transition: background .2s, color .2s, border-color .2s, transform .12s; }
@media (hover: none) {
  .tuile:hover figure img { transform: none; }
  .tuile:active { transform: scale(.985); }
  .tuile { transition: transform .15s; }
}

/* Galerie : glisser d'une photo à l'autre */
.galerie-principale { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.galerie-principale::-webkit-scrollbar { display: none; }
.galerie-principale img { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }

@media (max-width: 760px) {
  :root { --onglets-h: calc(58px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--onglets-h); overscroll-behavior-y: none; }
  body[data-detail] { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 40px); }

  /* Barre d'onglets */
  .onglets {
    position: fixed; inset: auto 0 0 0; z-index: 60;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    padding: 6px 4px env(safe-area-inset-bottom);
    background: rgba(12,12,12,.86); color: rgba(255,255,255,.55);
    backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .onglets a {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 4px 0 6px; font-size: 10.5px; letter-spacing: .01em; text-decoration: none; color: inherit;
    user-select: none; -webkit-user-select: none;
  }
  .onglets svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
  .onglets a:active svg { transform: scale(.86); }
  .onglets a[aria-current] { color: var(--laiton-clair); }
  body[data-detail] .onglets { display: none; }

  /* Accueil : le hero tient pile au-dessus de la barre d'onglets */
  .hero { height: calc(100svh - var(--onglets-h)); min-height: 560px; }
  .hero-centre { padding-top: max(120px, 17svh); }

  /* La gamme de l'accueil devient un carrousel */
  [data-carrousel] {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -20px; padding: 4px 20px 8px; scroll-padding-inline: 20px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  [data-carrousel]::-webkit-scrollbar { display: none; }
  [data-carrousel] .tuile { flex: 0 0 84%; scroll-snap-align: start; padding-top: 36px; }
  [data-carrousel] .tuile figure { aspect-ratio: 4 / 3.4; margin-top: auto; }
  [data-carrousel] .tuile .actions { margin-bottom: 32px; }

  /* Fiche piano : photo bord à bord, points de pagination, barre de réservation fixe */
  .produit-entete { padding-block: 20px 18px; }
  .galerie { margin-inline: -20px; }
  .galerie-principale { border-radius: 0; aspect-ratio: 1 / 1; }
  .galerie-vignettes { display: none; }
  .galerie-points { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
  .galerie-points i { width: 7px; height: 7px; border-radius: 50%; background: #d2d2d7; transition: background .2s, width .2s; }
  .galerie-points i.actif { width: 20px; border-radius: 4px; background: var(--encre); }
  .barre { padding-bottom: env(safe-area-inset-bottom); }
  .barre .wrap { min-height: 72px; }
  .etape { padding-left: 0; }
  .etape::before { display: none; }
  .etape-tete { margin-left: 0; }
  .recap { margin-inline: -20px; border-radius: 24px 24px 0 0; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  /* Passage d'une page à l'autre : léger glissement, comme dans une app */
  ::view-transition-old(root) { animation: .22s ease both sortie-app; }
  ::view-transition-new(root) { animation: .28s cubic-bezier(.2,.7,.2,1) both entree-app; }
}
@keyframes sortie-app { to { opacity: 0; transform: scale(.985); } }
@keyframes entree-app { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Champ d'adresse et suggestions ---------- */
.adresse { position: relative; scroll-margin-top: calc(var(--nav-h) + 16px); }
.adresse-champ { position: relative; display: flex; align-items: center; }
.adresse-champ > svg { position: absolute; left: 18px; width: 20px; height: 20px; fill: none; stroke: var(--graphite); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.adresse-champ input {
  width: 100%; height: 60px; padding: 0 52px 0 50px;
  border: 1px solid #c7c7cc; border-radius: 14px; background: var(--blanc);
  font-size: 17px; letter-spacing: -0.01em; text-overflow: ellipsis;
  transition: border-color .15s, box-shadow .15s, border-radius .15s;
}
.adresse-champ input::placeholder { color: #a1a1a6; }
.adresse-champ input:focus { outline: none; border-color: var(--laiton); box-shadow: 0 0 0 4px rgba(176,141,87,.18); }
.adresse.ouvert .adresse-champ input { border-radius: 14px 14px 0 0; box-shadow: none; }
.adresse-effacer { position: absolute; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--feutre); display: grid; place-items: center; cursor: pointer; }
.adresse-effacer svg { width: 16px; height: 16px; fill: none; stroke: var(--graphite); stroke-width: 2.2; stroke-linecap: round; }
.adresse-chargement { position: absolute; right: 54px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--filet); border-top-color: var(--laiton); animation: tourner .7s linear infinite; }
@keyframes tourner { to { transform: rotate(360deg); } }

.adresse-panneau {
  position: absolute; z-index: 30; left: 0; right: 0; top: 100%;
  background: var(--blanc); border: 1px solid var(--laiton); border-top: 0;
  border-radius: 0 0 16px 16px; overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.18);
  animation: deplier .16s ease-out both;
}
@keyframes deplier { from { opacity: 0; transform: translateY(-6px); } }
.adresse-liste { list-style: none; margin: 0; padding: 6px; max-height: min(360px, 52vh); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--filet); }
.adresse-liste [role=option] {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px;
  min-height: 58px; padding: 8px 10px; border-radius: 12px; cursor: pointer;
  transition: background .1s;
}
.adresse-liste [aria-selected="true"] { background: var(--feutre); }
.adresse-liste [role=option]:active { background: #ebebef; }
.adresse-icone { width: 36px; height: 36px; border-radius: 10px; background: var(--feutre); display: grid; place-items: center; }
.adresse-liste [aria-selected="true"] .adresse-icone { background: var(--blanc); }
.adresse-icone svg { width: 19px; height: 19px; fill: none; stroke: var(--encre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.adresse-texte { min-width: 0; }
.adresse-texte b { display: block; font-weight: 400; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adresse-texte mark { background: none; color: inherit; font-weight: 650; }
.adresse-texte small { display: block; font-size: 13px; color: var(--graphite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.adresse-badge { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 980px; background: var(--feutre); color: var(--encre); white-space: nowrap; font-variant-numeric: tabular-nums; }
.adresse-badge.inclus { background: #f4efe6; color: #7a5f33; }
.adresse-badge.hors { background: transparent; color: var(--graphite); border: 1px solid var(--filet); }
.adresse-vide { padding: 16px 12px; font-size: 14px; color: var(--graphite); }
.adresse-source { margin: 0; padding: 8px 16px 10px; font-size: 11px; color: #a1a1a6; border-top: 1px solid var(--filet); max-width: none; }
@media (max-width: 760px) {
  .adresse-liste [role=option] { min-height: 62px; }
}

/* ---------- En-tête du site d'origine ---------- */
.nav { height: 66px; }
.nav[data-transparente] { height: 66px; }
.nav[data-transparente][data-posee] { height: 58px; }
.nav-cote { gap: 30px; }
.nav-gauche a {
  font: 400 14px/1 var(--menu); text-transform: uppercase; letter-spacing: .02em;
  opacity: .9; padding: 14px 0; position: relative;
}
.nav-gauche a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-gauche a:hover::after, .nav-gauche a[aria-current="page"]::after { transform: scaleX(1); }
.nav-gauche a:hover, .nav-gauche a[aria-current="page"] { opacity: 1; }
.nav-logo img, .nav[data-transparente] .nav-logo img, .nav[data-transparente][data-posee] .nav-logo img { height: 36px; opacity: 1; }
.nav-droite { gap: 6px; }
.nav-icone {
  display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: none; color: inherit; cursor: pointer; opacity: 1 !important; transition: background .2s;
}
.nav-icone:hover { background: rgba(127,127,127,.14); }
.nav-icone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .nav, .nav[data-transparente], .nav[data-transparente][data-posee] { height: 56px; }
  .nav-bureau { display: none; }
  .nav-mobile-gauche .nav-icone { margin-left: -9px; }
  .nav-droite .nav-icone { margin-right: -9px; }
  .nav-logo img, .nav[data-transparente] .nav-logo img { height: 32px; }
}

/* ---------- Vitrine d'accueil du site d'origine ---------- */
.hero-vitrine { display: grid; place-items: center; height: 100svh; min-height: 520px; }
.hero-vitrine .hero-photo { inset: 0; -webkit-mask-image: none; mask-image: none; }
.hero-vitrine .hero-photo img { object-position: 50% 50%; }
.hero-vitrine::before { background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(0,0,0,.28), rgba(0,0,0,0) 70%), linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,0) 18%); }
.hero-vitrine .hero-titre { padding: 0 20px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: no-preference) {
  .hero-vitrine .hero-titre { animation: lever 1s cubic-bezier(.2,.7,.2,1) .25s both; }
}
@media (max-width: 760px) {
  .hero-vitrine { height: calc(100svh - var(--onglets-h)); }
}

/* ---------- Recherche ---------- */
.recherche {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  padding-top: max(18px, env(safe-area-inset-top)); overflow-y: auto;
  animation: apparaitre .2s ease both;
}
body.recherche-ouverte { overflow: hidden; }
.recherche-barre { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.recherche-barre svg { width: 24px; height: 24px; fill: none; stroke: var(--graphite); stroke-width: 1.6; stroke-linecap: round; flex: none; }
.recherche-barre input { flex: 1; min-width: 0; border: 0; background: none; font: 300 clamp(24px, 3.4vw, 34px)/1.2 var(--display); padding: 6px 0; }
.recherche-barre input:focus { outline: none; }
.recherche-barre input::-webkit-search-cancel-button { display: none; }
.recherche-fermer { border: 0; background: none; color: var(--laiton); font-size: 16px; cursor: pointer; padding: 8px 0 8px 8px; }
.recherche-liste { list-style: none; margin: 0; padding: 12px 0 40px; }
.recherche-liste a { display: flex; align-items: center; gap: 16px; padding: 10px; margin: 0 -10px; border-radius: 14px; text-decoration: none; transition: background .15s; }
.recherche-liste a:hover, .recherche-liste a:focus-visible { background: var(--feutre); }
.recherche-liste img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.recherche-liste b { display: block; font: 400 22px/1.2 var(--display); }
.recherche-liste small { display: block; color: var(--graphite); font-size: 14px; margin-top: 2px; }
.recherche-vide { padding: 20px 0; color: var(--graphite); }

/* ---------- Bouton « Réserver » au centre de la barre du bas ---------- */
.onglet-reserver {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 0 0 6px; font-size: 10.5px; letter-spacing: .01em; color: var(--laiton-clair);
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.onglet-plus {
  display: grid; place-items: center; width: 52px; height: 52px; margin-top: -22px; border-radius: 50%;
  background: linear-gradient(180deg, #ecd5a6, #b08d57);
  box-shadow: 0 6px 18px rgba(176,141,87,.45), 0 0 0 4px rgba(12,12,12,.86);
  transition: transform .15s;
}
.onglet-plus svg { width: 24px; height: 24px; fill: none; stroke: var(--laque); stroke-width: 2.2; stroke-linecap: round; }
.onglet-reserver:active .onglet-plus { transform: scale(.9); }
.onglet-reserver:focus-visible .onglet-plus { outline: 2px solid var(--blanc); outline-offset: 3px; }
#configurer { scroll-margin-top: 76px; }

/* ---------- Feuille de réservation (monte depuis le bas) ---------- */
.feuille-fond {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,0); transition: background .28s;
}
.feuille-fond.visible { background: rgba(0,0,0,.45); }
body.feuille-ouverte { overflow: hidden; }
.feuille {
  width: 100%; max-width: 560px; max-height: 88svh; display: flex; flex-direction: column;
  background: var(--blanc); border-radius: 22px 22px 0 0;
  padding: 8px 20px calc(14px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 -10px 40px rgba(0,0,0,.2);
}
.feuille-fond.visible .feuille { transform: none; }
.feuille-poignee { width: 38px; height: 5px; border-radius: 3px; background: #d2d2d7; margin: 0 auto 10px; }
.feuille-tete { display: flex; align-items: center; justify-content: space-between; }
.feuille-tete h2 { font-size: 28px; }
.feuille-fermer { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--feutre); display: grid; place-items: center; cursor: pointer; }
.feuille-fermer svg { width: 16px; height: 16px; fill: none; stroke: var(--graphite); stroke-width: 2.2; stroke-linecap: round; }
.feuille-aide { margin: 4px 0 12px; font-size: 15px; color: var(--graphite); }
.feuille-liste { list-style: none; margin: 0 -8px; padding: 0; overflow-y: auto; overscroll-behavior: contain; }
.feuille-liste a {
  display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 14px;
  padding: 8px; border-radius: 14px; text-decoration: none; transition: background .12s;
}
.feuille-liste a:active, .feuille-liste a:focus-visible { background: var(--feutre); }
.feuille-liste img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.feuille-liste b { display: block; font: 400 21px/1.15 var(--display); }
.feuille-liste small { display: block; font-size: 13px; color: var(--graphite); margin-top: 2px; }
.feuille-liste em { font-style: normal; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 980px; background: var(--feutre); white-space: nowrap; }
.feuille-pied { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--filet); font-size: 14px; }
.feuille-pied a { color: var(--laiton); text-decoration: none; }

/* Étape à compléter avant de réserver : un halo doré attire l'œil */
.etape.a-completer .etape-num { animation: appel 1.2s ease 2; border-color: var(--laiton); color: var(--laiton); }
.etape.a-completer input { border-color: var(--laiton) !important; box-shadow: 0 0 0 4px rgba(176,141,87,.22) !important; }
@keyframes appel { 0%, 100% { box-shadow: 0 0 0 0 rgba(176,141,87,.5); } 50% { box-shadow: 0 0 0 10px rgba(176,141,87,0); } }

/* ---------- Vitrine B : barre de réservation sur la photo ---------- */
.hero-vitrine::before { background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.3) 65%, rgba(0,0,0,.8) 100%); }
.vitrine-contenu { position: relative; z-index: 2; width: min(1060px, 100% - 40px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.vitrine-sous-titre { margin: 18px 0 0; font-size: 19px; color: rgba(255,255,255,.86); }
.vitrine-note { margin: 18px 0 0; font-size: 14px; color: rgba(255,255,255,.78); max-width: 62ch; }

.resa {
  width: 100%; margin-top: 44px; display: flex; align-items: stretch; text-align: left;
  background: var(--blanc); color: var(--encre); border-radius: 22px; padding: 8px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.resa-champ { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 22px; border-radius: 16px; transition: background .15s, box-shadow .15s; }
.resa-champ + .resa-champ::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--filet); }
.resa-champ:hover { background: var(--feutre); }
.resa-champ:focus-within { background: var(--blanc); box-shadow: inset 0 0 0 2px var(--laiton); }
.resa-champ:focus-within::before, .resa-champ:focus-within + .resa-champ::before { opacity: 0; }
.resa-label { font-size: 12px; font-weight: 600; color: var(--graphite); }
.resa-piano { flex: 1.15; padding: 0; }
.resa-declencheur { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 12px 22px; height: 100%; justify-content: center; border-radius: 16px; }
.resa-valeur { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 17px; white-space: nowrap; }
.resa-valeur > span { overflow: hidden; text-overflow: ellipsis; }
.resa-valeur svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--graphite); stroke-width: 2; transition: transform .2s; }
.resa-declencheur[aria-expanded="true"] svg { transform: rotate(180deg); stroke: var(--laiton); }
.resa-date { border: 0; padding: 0; font: inherit; font-size: 17px; background: none; color: var(--encre); min-height: 24px; }
.resa-date:focus { outline: none; }
.resa-date::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; }

/* Champ d'adresse intégré à la barre */
.resa-adresse { flex: 1.2; }
.resa .adresse-champ > svg { display: none; }
.resa .adresse-champ input, .resa .adresse.ouvert .adresse-champ input { height: 24px; padding: 0 34px 0 0; border: 0; border-radius: 0; box-shadow: none; background: none; font-size: 17px; }
.resa .adresse-effacer { right: -10px; width: 30px; height: 30px; }
.resa .adresse-chargement { right: 26px; }
.resa .adresse-panneau { top: calc(100% + 26px); left: -22px; width: 460px; border: 1px solid var(--filet); border-radius: 18px; }
.resa .adresse-liste { border-top: 0; }

/* Liste des pianos */
.resa-pianos {
  position: absolute; z-index: 40; top: calc(100% + 18px); left: -8px; width: 620px;
  background: var(--blanc); border-radius: 20px; padding: 10px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45); animation: deplier .18s ease-out both;
}
.resa-pianos-titre { margin: 6px 12px 8px; font-size: 13px; color: var(--graphite); }
.resa-pianos ul { list-style: none; margin: 0; padding: 0; }
.resa-pianos [role=option] {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 22px; gap: 16px; align-items: center;
  padding: 8px 12px; border-radius: 14px; cursor: pointer; outline: none; transition: background .12s;
}
.resa-pianos [role=option]:hover, .resa-pianos [role=option]:focus-visible { background: var(--feutre); }
.resa-pianos [aria-selected="true"] { background: #f4efe6 !important; }
.resa-pianos img { width: 72px; height: 56px; border-radius: 10px; object-fit: cover; }
.resa-option-texte b { font: 400 21px/1.2 var(--display); }
.resa-option-texte small { display: block; font-size: 13px; color: var(--graphite); }
.resa-option-texte b + small { display: inline; }
.resa-option-prix { font-size: 13px; color: var(--graphite); text-align: right; }
.resa-option-prix b { display: block; font: 400 20px/1.1 var(--display); color: var(--encre); }
.resa-coche { width: 22px; height: 22px; fill: none; stroke: #8a6a3a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
[aria-selected="true"] .resa-coche { visibility: visible; }
.resa-pianos-pied { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 12px 12px 6px; border-top: 1px solid var(--filet); font-size: 14px; color: var(--graphite); }
.resa-pianos-pied a { color: #8a6a3a; text-decoration: none; }

/* Prix et bouton */
.resa-action { display: flex; align-items: center; gap: 18px; padding: 0 0 0 18px; margin-left: 4px; }
.resa-prix { margin: 0; display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.resa-prix span { font-size: 12px; font-weight: 600; color: var(--graphite); }
.resa-prix strong { font: 400 30px/1.05 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.resa-prix strong.change { animation: prix-change .45s cubic-bezier(.2,.7,.2,1); }
@keyframes prix-change { from { opacity: .2; transform: translateY(6px); } }

/* Bouton « laque noire » : filet doré, l'or remplit le bouton au survol comme un couvercle qu'on ouvre */
.btn-laque {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 10px 0 26px; border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, #2c2c2c 0%, #0b0b0b 52%, #000 100%);
  color: var(--blanc); font: 600 16px/1 var(--ui); letter-spacing: .01em; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(217,189,140,.6), inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px rgba(0,0,0,.28);
  transition: color .35s, transform .12s;
}
.btn-laque::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #f0dcb1 0%, #c9a46a 60%, #b08d57 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.btn-laque::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent);
  transform: skewX(-18deg);
}
.btn-laque:hover, .btn-laque:focus-visible { color: var(--laque); }
.btn-laque:hover::before, .btn-laque:focus-visible::before { transform: scaleX(1); }
.btn-laque:active { transform: scale(.97); }
.btn-laque-fleche {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(180deg, #f0dcb1, #b08d57); color: var(--laque);
  transition: background .35s, color .35s, transform .35s;
}
.btn-laque-fleche svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-laque:hover .btn-laque-fleche, .btn-laque:focus-visible .btn-laque-fleche { background: var(--laque); color: var(--laiton-clair); transform: translateX(3px); }
@media (prefers-reduced-motion: no-preference) {
  .btn-laque::after { animation: reflet 5s ease-in-out 2.2s infinite; }
}
@keyframes reflet { 0%, 70% { left: -40%; } 100% { left: 130%; } }

/* Téléphone : la barre devient une carte, champs empilés */
@media (max-width: 900px) {
  .hero-vitrine { height: auto; min-height: calc(100svh - var(--onglets-h, 0px)); padding: 96px 0 28px; }
  .vitrine-contenu { width: calc(100% - 28px); }
  .vitrine-sous-titre { font-size: 16px; margin-top: 12px; }
  .resa { flex-direction: column; margin-top: 26px; padding: 6px; border-radius: 20px; }
  .resa-champ { padding: 12px 14px; }
  .resa-piano { padding: 0; }
  .resa-declencheur { padding: 12px 14px; }
  .resa-champ + .resa-champ::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }
  .resa-action { justify-content: space-between; padding: 12px 6px 6px 14px; margin: 6px 0 0; border-top: 1px solid var(--filet); }
  .resa-prix { align-items: flex-start; }
  .resa-pianos, .resa .adresse-panneau { left: 0; right: 0; width: auto; top: calc(100% + 8px); }
  .resa-pianos [role=option] { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; }
  .resa-pianos img { width: 56px; height: 48px; }
  .resa-coche { display: none; }
  .resa-option-texte small:last-child { display: none; }
  .btn-laque { height: 54px; padding-left: 20px; }
  .vitrine-note { font-size: 13px; margin-top: 14px; }
}
/* Les listes (pianos, adresses) peuvent dépasser de la vitrine ; seule la photo est recadrée */
.hero-vitrine { overflow: visible; z-index: 5; }
.hero-vitrine .hero-photo { overflow: hidden; }

/* ---------- Accueil : éléments propres au téléphone (masqués sur ordinateur) ---------- */
.section-gamme { padding-top: clamp(64px, 8vw, 112px); }
.gamme-comparer { text-align: center; margin: 40px auto 0; }
.raccourcis, .entete-lien { display: none; }
.nav { transition: background .5s, border-color .5s, color .5s, transform .3s cubic-bezier(.2,.7,.2,1); }

/* ---------- Accueil sur téléphone : écran d'app ---------- */
@media (max-width: 760px) {
  body[data-page="accueil"] { background: var(--feutre); }
  .nav[data-cache] { transform: translateY(-100%); }

  /* Vitrine : bandeau photo arrondi, carte de réservation qui le chevauche */
  .hero-vitrine { display: block; height: auto; min-height: 0; padding: 92px 0 6px; background: var(--feutre); color: var(--encre); }
  .hero-vitrine .hero-photo, .hero-vitrine::before { inset: 0 0 auto 0; height: 340px; border-radius: 0 0 30px 30px; }
  .hero-vitrine .hero-photo img { object-position: 50% 40%; }
  .hero-vitrine::before { background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.55) 100%); }
  .vitrine-contenu { width: calc(100% - 24px); margin: 0 auto; }
  .hero-vitrine .hero-titre { font-size: 42px !important; color: var(--blanc) !important; }
  .vitrine-sous-titre { color: rgba(255,255,255,.9); font-size: 15px; max-width: 30ch; }
  .resa { margin-top: 30px; box-shadow: 0 18px 40px rgba(0,0,0,.16); }
  .vitrine-note { color: var(--graphite); font-size: 12.5px; margin: 12px 8px 0; }

  /* Raccourcis à faire glisser */
  .raccourcis {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 18px 12px 6px; scroll-padding-inline: 12px; overscroll-behavior-x: contain;
  }
  .raccourcis::-webkit-scrollbar { display: none; }
  .raccourcis a {
    flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: 10px;
    padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--blanc); text-decoration: none; color: var(--encre);
    box-shadow: 0 1px 0 rgba(0,0,0,.04); transition: transform .12s;
  }
  .raccourcis a:active { transform: scale(.96); }
  .raccourcis svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #f4efe6; fill: none; stroke: #8a6a3a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .raccourcis img.i3d { width: 40px; height: 40px; object-fit: contain; flex: none; }
  .raccourcis span { display: flex; flex-direction: column; font-size: 12.5px; color: var(--graphite); white-space: nowrap; }
  .raccourcis b { font-size: 14px; font-weight: 600; color: var(--encre); }

  /* Rythme général : sections serrées, titres de section façon app */
  body[data-page="accueil"] main > .bloc { padding-block: 34px; }
  body[data-page="accueil"] .bloc h2 { font-size: 28px; }
  body[data-page="accueil"] .entete { margin-bottom: 18px; }
  body[data-page="accueil"] .entete .lead { font-size: 15px; margin-top: 8px; }
  body[data-page="accueil"] .bloc-feutre { background: var(--feutre); }

  /* Citation : une carte noire compacte */
  .citation { margin: 22px 12px 0; border-radius: 24px; padding-block: 36px !important; overflow: hidden; }
  .citation blockquote { font-size: 24px; max-width: 18ch; }
  .citation figcaption { margin-top: 14px; font-size: 13px; }

  /* Gamme : en-tête « Nos pianos  Tout voir » */
  .section-gamme .entete { display: grid; grid-template-columns: 1fr auto; align-items: end; text-align: left; }
  .section-gamme .entete h2 br { display: none; }
  .section-gamme .entete .lead { grid-column: 1 / -1; grid-row: 2; margin-inline: 0; }
  .entete-lien { display: block; grid-column: 2; grid-row: 1; font-size: 15px; color: #8a6a3a; text-decoration: none; padding-bottom: 4px; }
  .section-gamme [data-carrousel] .tuile { flex-basis: 78%; padding-top: 26px; }
  .section-gamme .tuile h3 { font-size: 30px; }
  .section-gamme .tuile .accroche { font-size: 15px; }
  .gamme-comparer { margin-top: 18px; }

  /* Photos plein cadre : cartes arrondies */
  body[data-page="accueil"] .plein-cadre { margin: 0 12px; border-radius: 24px; overflow: hidden; }
  body[data-page="accueil"] .plein-cadre img { height: 300px; }
  body[data-page="accueil"] .plein-cadre .legende h2 { font-size: 26px; }
  body[data-page="accueil"] .plein-cadre .actions { margin-top: 16px; gap: 10px; }
  body[data-page="accueil"] .plein-cadre .btn { min-height: 40px; font-size: 15px; padding: 0 16px; }

  /* Blocs photo + texte : cartes */
  body[data-page="accueil"] .edito { background: var(--blanc); border-radius: 24px; padding: 12px 12px 20px; gap: 18px; }
  body[data-page="accueil"] .bloc-noir .edito { background: #111; }
  body[data-page="accueil"] .bloc-noir:not(.citation) { background: var(--feutre); }
  body[data-page="accueil"] .edito > div:not(.edito-photo) { padding: 0 8px; }
  body[data-page="accueil"] .edito-photo { border-radius: 16px; }
  body[data-page="accueil"] .edito-photo img { aspect-ratio: 16 / 10; }
  body[data-page="accueil"] .edito ul { margin-top: 16px; }
  body[data-page="accueil"] .edito li { padding: 12px 0; }

  /* Étapes : liste compacte numérotée */
  .section-etapes .etapes { gap: 0; background: var(--blanc); border-radius: 20px; overflow: hidden; }
  .section-etapes .etapes li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 16px; border-radius: 0; }
  .section-etapes .etapes li + li { border-top: 1px solid var(--filet); }
  .section-etapes .etapes li::before { grid-row: span 2; width: 34px; height: 34px; margin: 0; border-radius: 50%; background: #f4efe6; display: grid; place-items: center; font-size: 18px; color: #8a6a3a; }
  .section-etapes .etapes h3 { font-size: 16px; }
  .section-etapes .etapes p { font-size: 14px; margin-top: 2px; }

  /* Questions : liste groupée, façon réglages */
  body[data-page="accueil"] .faq { background: var(--blanc); border-radius: 20px; border-top: 0; padding: 0 16px; }
  body[data-page="accueil"] .faq details:last-child { border-bottom: 0; }
  body[data-page="accueil"] .faq summary { font-size: 16px; padding: 16px 0; }
  body[data-page="accueil"] .faq details p { font-size: 15px; margin-bottom: 16px; }
  body[data-page="accueil"] #questions .entete { text-align: left; }

  /* Pied de page allégé */
  body[data-page="accueil"] .pied { padding-block: 32px 24px; }
}
/* Sur téléphone, le défilement rapide laissait voir des sections pas encore dessinées : on les garde toujours prêtes */
@media (max-width: 760px) { main > section:not(:first-child) { content-visibility: visible; contain-intrinsic-size: none; } }
@media (max-width: 760px) {
  /* Cartes de pianos plus compactes dans le carrousel */
  .section-gamme [data-carrousel] .tuile { padding: 22px 18px 0; }
  .section-gamme .tuile .type { font-size: 13px; margin-bottom: 2px; }
  .section-gamme .tuile h3 { font-size: 28px; }
  .section-gamme .tuile .accroche { margin-top: 6px; }
  .section-gamme .tuile .prix { margin-top: 6px; font-size: 13px; }
  .section-gamme [data-carrousel] .tuile .actions { margin: 14px 0 22px; }
  .section-gamme .tuile .btn { min-height: 38px; font-size: 15px; padding: 0 18px; }
  .section-gamme [data-carrousel] .tuile figure { margin: 0 -18px; width: calc(100% + 36px); aspect-ratio: 16 / 10; }
  body[data-page="accueil"] .edito .lead { font-size: 16px; margin-top: 8px; }
}

/* Comparatif : photos alignées en haut quel que soit le nombre de lignes du nom,
   et sur téléphone la colonne des intitulés reste visible pendant qu'on fait glisser */
.comparatif thead th { vertical-align: top; }
.comparatif thead strong { min-height: 2.2em; display: flex; align-items: flex-start; justify-content: center; }
@media (max-width: 760px) {
  .comparatif { font-size: 14px; }
  .comparatif thead img { width: 104px; height: 104px; margin-bottom: 12px; }
  .comparatif thead strong { font-size: 22px; }
  .comparatif td { min-width: 118px; scroll-snap-align: start; scroll-margin-left: 96px; }
  /* La zone qui défile part du bord de l'écran : la colonne des intitulés s'y colle sans laisser passer les autres */
  .comparatif-scroll { padding-inline: 0; scroll-snap-type: x proximity; scroll-padding-left: 96px; }
  .comparatif tbody th, .comparatif thead td:first-child, .comparatif tfoot td:first-child {
    position: sticky; left: 0; z-index: 2; background: var(--feutre);
    width: 96px; min-width: 96px; max-width: 96px; padding-left: 22px;
    box-shadow: 10px 0 14px -12px rgba(0,0,0,.28);
  }
  .comparatif tbody th { font-size: 13px; padding-right: 10px; white-space: normal; }
  .comparatif tr > :last-child { padding-right: 22px; }
  /* Un dégradé à droite indique qu'il reste des pianos à voir */
  .comparatif-cadre { position: relative; }
  .comparatif-cadre::after { content: ""; position: absolute; top: 0; right: -22px; bottom: 0; width: 34px; pointer-events: none; background: linear-gradient(90deg, rgba(245,245,247,0), var(--feutre)); transition: opacity .3s; }
  .comparatif-cadre.au-bout::after { opacity: 0; }
}

/* ---------- Particulier / Professionnel ---------- */
.mode { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 12px; background: #e8e8ed; margin-bottom: 26px; }
.mode button { border: 0; background: none; font: inherit; font-size: 14px; color: var(--encre); padding: 8px 18px; border-radius: 10px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.mode button[aria-checked="true"] { background: var(--blanc); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.mode button:focus-visible { outline: 2px solid var(--laiton); outline-offset: 2px; }
.total-autre { margin: -12px 0 18px; text-align: right; font-size: 13px; color: var(--graphite); }
.total-autre:empty { display: none; }

/* ---------- Options au récapitulatif ---------- */
.options-sup { margin: 14px 0 18px; padding-top: 14px; border-top: 1px solid var(--filet); display: flex; flex-direction: column; gap: 10px; }
.options-sup-titre { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--graphite); }
.opt-sup { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 10px 10px 10px; border-radius: 16px; background: var(--blanc); transition: box-shadow .2s; }
.opt-sup img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.opt-sup-texte b { display: block; font-size: 15px; font-weight: 600; }
.opt-sup-texte small { display: block; font-size: 12.5px; color: var(--graphite); line-height: 1.35; }
.opt-sup-btn { border: 1px solid var(--laiton); background: var(--blanc); color: #7a5f33; border-radius: 980px; padding: 9px 14px; font: 600 13px/1 var(--ui); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, transform .12s; min-height: 38px; }
.opt-sup-btn:active { transform: scale(.95); }
.opt-sup-btn .opt-ok { display: none; align-items: center; gap: 4px; }
.opt-sup-btn .opt-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.opt-sup.actif { box-shadow: inset 0 0 0 1.5px var(--laiton); }
.opt-sup.actif .opt-sup-btn { background: var(--laiton); color: var(--blanc); }
.opt-sup.actif .opt-plus { display: none; }
.opt-sup.actif .opt-ok { display: inline-flex; }
.opt-sup-champ { grid-column: 1 / -1; margin: 0; }
.opt-sup-champ span { font-size: 12px; }
.opt-sup-champ input { padding: 11px 14px; font-size: 16px; }

/* ---------- Devis : champs côte à côte, confirmation ---------- */
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .deux-champs { grid-template-columns: 1fr; } }
.envoi-ok { text-align: center; padding: 48px 20px; background: var(--feutre); border-radius: 24px; }
.envoi-ok .rond-or { width: 60px; height: 60px; border-radius: 50%; background: var(--laiton); color: var(--blanc); display: inline-grid; place-items: center; }
.envoi-ok .rond-or svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.envoi-ok h3 { margin: 14px 0 6px; font: 400 28px/1.2 var(--display); }
.envoi-ok p { margin: 0 auto; color: var(--graphite); }

/* ---------- Panneau « Vos coordonnées » ---------- */
.coord-fond { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0); transition: background .28s; }
.coord-fond.visible { background: rgba(0,0,0,.5); }
.coord {
  width: min(600px, 100% - 32px); max-height: min(92vh, 900px); display: flex; flex-direction: column;
  background: var(--feutre); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(24px) scale(.98); opacity: 0; transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .25s;
}
.coord-fond.visible .coord { transform: none; opacity: 1; }
.coord-tete { display: grid; grid-template-columns: 96px 1fr 96px; align-items: center; height: 56px; padding: 0 12px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--filet); flex: none; }
.coord-tete h2 { margin: 0; text-align: center; font: 600 16px/1 var(--ui); letter-spacing: -0.01em; }
.coord-retour { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; color: #8a6a3a; font: inherit; font-size: 16px; cursor: pointer; padding: 8px 0; }
.coord-retour svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.coord-etape { text-align: right; font-size: 12px; color: var(--graphite); }
.coord-corps { overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 24px; display: flex; flex-direction: column; gap: 22px; -webkit-overflow-scrolling: touch; }
.groupe h3 { margin: 0 4px 8px; font: 600 13px/1.2 var(--ui); color: var(--graphite); text-transform: none; }
.groupe h3 small { font-weight: 400; }
.groupe-aide { margin: -4px 4px 10px; font-size: 13px; color: var(--graphite); }
.groupe-carte { display: block; background: var(--blanc); border-radius: 16px; padding: 0 16px; }
.info { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; font-size: 15px; }
.info + .info { border-top: 1px solid #ececf0; }
.info span { color: var(--graphite); flex: none; }
.info b { font-weight: 500; text-align: right; }
.champ-c { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid #ececf0; }
.groupe-carte > .champ-c:last-child, .groupe-carte.champ-c { border-bottom: 0; }
.champ-c > span { font-size: 12px; color: var(--graphite); }
.champ-c input, .champ-c textarea { border: 0; padding: 2px 0; background: none; font: inherit; font-size: 17px; color: var(--encre); width: 100%; resize: vertical; }
.champ-c input:focus, .champ-c textarea:focus { outline: none; }
.champ-c:focus-within > span { color: #8a6a3a; }
.champ-c.erreur > span { color: #b3261e; }
.champ-c.erreur input { color: #b3261e; }
.groupe-carte .deux { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; border-bottom: 1px solid #ececf0; }
.groupe-carte .deux .champ-c { border-bottom: 0; }
.erreur-c { margin: 8px 4px 0; font-size: 13px; color: #b3261e; }

/* Créneaux de livraison en cartes */
.creneaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.creneau { position: relative; cursor: pointer; }
.creneau input { position: absolute; opacity: 0; pointer-events: none; }
.creneau span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 14px; background: var(--blanc); text-align: center; box-shadow: inset 0 0 0 1px #e0e0e5; transition: box-shadow .15s, background .15s, transform .12s; }
.creneau b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.creneau small { font-size: 12px; color: var(--graphite); }
.creneau:active span { transform: scale(.96); }
.creneau input:checked + span { background: var(--laque); color: var(--blanc); box-shadow: inset 0 0 0 1px var(--laque), 0 0 0 3px rgba(176,141,87,.35); }
.creneau input:checked + span small { color: var(--laiton-clair); }
.creneau input:focus-visible + span { outline: 2px solid var(--laiton); outline-offset: 2px; }
[data-c-autre] { margin-top: 8px; }

.coord-pied { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--filet); }
.coord-total { margin: 0; display: flex; flex-direction: column; }
.coord-total b { font: 400 26px/1.05 var(--display); font-variant-numeric: tabular-nums; }
.coord-total small { font-size: 12px; color: var(--graphite); }

@media (max-width: 760px) {
  .coord-fond { align-items: stretch; }
  .coord { width: 100%; max-height: none; height: 100%; border-radius: 0; transform: translateY(100%); opacity: 1; }
  .coord-fond.visible .coord { transform: none; }
  .coord-tete { padding-top: env(safe-area-inset-top); height: calc(56px + env(safe-area-inset-top)); }
  .creneaux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .config .mode { width: 100%; }
}
.champ-c input::placeholder, .champ-c textarea::placeholder { color: #b4b4ba; }
/* Choix du profil sur la vitrine : discret, sur la photo */
.mode-vitrine { margin: 22px 0 0; background: rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mode-vitrine button { color: var(--blanc); font-size: 13px; padding: 7px 16px; }
.mode-vitrine button[aria-checked="true"] { background: var(--blanc); color: var(--laque); }
.mode-vitrine + .resa { margin-top: 16px; }
@media (max-width: 760px) { .mode-vitrine { margin-top: 16px; } .mode-vitrine + .resa { margin-top: 18px; } }

/* ---------- Partenaires ---------- */
.part-sur { display: block; margin: 0 0 10px; font-size: 15px; color: #8a6a3a; }
.part-hero h1 { font-size: clamp(40px, 5.4vw, 68px); }
.part-hero .actions { margin-top: 28px; }
.btn-laque { text-decoration: none; }
.part-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.part-carte { background: var(--blanc); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.part-carte svg { width: 32px; height: 32px; fill: none; stroke: var(--laiton); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.part-carte h2 { font-size: 28px; }
.part-carte p { margin: 0; color: var(--graphite); font-size: 15px; }
.part-carte ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.part-carte li { padding-left: 22px; position: relative; }
.part-carte li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--laiton); border-bottom: 2px solid var(--laiton); transform: rotate(-45deg); }
.part-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.part-etapes h2 { margin-bottom: 18px; }
.part-etapes .etapes { grid-template-columns: 1fr; }
.part-etapes .etapes li { background: var(--feutre); padding: 20px 22px; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
.part-etapes .etapes li::before { grid-row: span 2; margin: 0; font-size: 36px; }
.part-form { background: var(--laque); color: var(--blanc); border-radius: 26px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.part-form h2 { font-size: 34px; }
.part-profils { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.part-profils legend { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 8px; padding: 0; }
.part-profils label { position: relative; cursor: pointer; }
.part-profils input { position: absolute; opacity: 0; pointer-events: none; }
.part-profils span { display: inline-block; padding: 9px 15px; border-radius: 980px; border: 1px solid rgba(255,255,255,.3); font-size: 14px; transition: background .15s, color .15s; }
.part-profils input:checked + span { background: linear-gradient(180deg, #f0dcb1, #b08d57); color: var(--laque); border-color: transparent; font-weight: 600; }
.part-profils input:focus-visible + span { outline: 2px solid var(--laiton-clair); outline-offset: 2px; }
.part-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.part-champ { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 14px; background: #1c1c1e; transition: box-shadow .15s; }
.part-champ:focus-within { box-shadow: inset 0 0 0 1.5px var(--laiton); }
.part-champ.erreur { box-shadow: inset 0 0 0 1.5px #ff6b5e; }
.part-champ > span { font-size: 12px; color: rgba(255,255,255,.6); }
.part-champ input, .part-champ select, .part-champ textarea { border: 0; background: none; color: var(--blanc); font: inherit; font-size: 16px; padding: 2px 0; width: 100%; resize: vertical; }
.part-champ input:focus, .part-champ select:focus, .part-champ textarea:focus { outline: none; }
.part-champ select option { color: var(--encre); }
.part-champ textarea::placeholder { color: rgba(255,255,255,.4); }
.btn-or-plein { border: 0; cursor: pointer; height: 54px; border-radius: 14px; background: linear-gradient(180deg, #f0dcb1, #b08d57); color: var(--laque); font: 600 16px/1 var(--ui); transition: transform .12s, filter .2s; }
.btn-or-plein:hover { filter: brightness(1.05); }
.btn-or-plein:active { transform: scale(.98); }
.btn-or-plein:disabled { opacity: .6; cursor: default; }
.part-aide { margin: 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.7); min-height: 1.2em; }
.part-aide a { color: var(--laiton-clair); }
.envoi-ok-sombre { background: transparent; color: var(--blanc); }
.envoi-ok-sombre p { color: rgba(255,255,255,.75); }
@media (max-width: 860px) {
  .part-cartes, .part-grille { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .part-champs { grid-template-columns: 1fr; } }

/* Encart Partenaires sur l'accueil */
.encart-pro { padding-block: clamp(20px, 3vw, 40px); background: var(--feutre); }
.encart-pro-carte { display: grid; grid-template-columns: 1fr minmax(0, 340px); align-items: stretch; border-radius: 24px; overflow: hidden; background: var(--laque); color: var(--blanc); text-decoration: none; transition: transform .2s; }
.encart-pro-carte:active { transform: scale(.99); }
.encart-pro-texte { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.encart-pro-texte .part-sur { color: var(--laiton-clair); margin-bottom: 8px; font-size: 14px; }
.encart-pro-texte b { font: 300 clamp(24px, 2.6vw, 34px)/1.15 var(--display); }
.encart-pro-lien { margin-top: 14px; color: var(--laiton-clair); font-size: 15px; }
.encart-pro-lien::after { content: " ›"; }
.encart-pro-carte img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
@media (max-width: 760px) {
  .encart-pro { padding: 6px 0 22px; }
  .encart-pro-carte { grid-template-columns: 1fr 110px; border-radius: 22px; margin-inline: -8px; }
  .encart-pro-texte { padding: 20px; }
  .encart-pro-texte b { font-size: 21px; }
  .encart-pro-carte img { min-height: 0; }
}
.contacts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .contacts-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contacts-4 { grid-template-columns: 1fr; } }
/* Menu à cinq liens : plus serré sur les écrans moyens */
@media (min-width: 761px) and (max-width: 1180px) { .nav-gauche { gap: 18px; } .nav-gauche a { font-size: 12.5px; } }

/* ---------- Pages mariage et entreprise ---------- */
.seo-hero h1 { font-size: clamp(38px, 5vw, 64px); }
.seo-hero .actions { margin-top: 26px; }
.seo-pianos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.seo-piano { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: 20px; background: var(--blanc); color: var(--encre); text-decoration: none; transition: transform .15s, box-shadow .2s; }
.seo-piano:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.seo-piano:active { transform: scale(.985); }
.seo-piano img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
.seo-piano-texte b { display: block; font: 400 23px/1.15 var(--display); }
.seo-piano-texte small { display: block; font-size: 13px; color: var(--graphite); }
.seo-piano-prix { text-align: right; font-size: 12.5px; color: var(--graphite); white-space: nowrap; }
.seo-piano-prix b { display: block; font: 400 21px/1.1 var(--display); color: var(--encre); }
.seo-etapes { grid-template-columns: 1fr; margin-top: 18px; }
.seo-etapes li { background: var(--feutre); display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 20px 22px; }
.seo-etapes li::before { grid-row: span 2; margin: 0; font-size: 36px; }
.seo-infos { list-style: none; padding: 0; margin: 0; background: var(--blanc); border-radius: 22px; padding: 6px 22px; }
.seo-infos li { padding: 16px 0; border-bottom: 1px solid var(--filet); display: flex; flex-direction: column; gap: 2px; }
.seo-infos li:last-child { border-bottom: 0; }
.seo-infos strong { font-weight: 600; }
.seo-infos span { color: var(--graphite); font-size: 15px; }
@media (max-width: 560px) {
  .seo-pianos { grid-template-columns: 1fr; }
  .seo-piano { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 10px 14px 10px 10px; }
  .seo-piano img { width: 64px; height: 64px; }
  .seo-piano-texte b { font-size: 19px; }
}

/* Pages de texte (mentions légales) et paiement */
.texte-legal .etroit { max-width: 720px; }
.texte-legal h1 { font-family: var(--serif, "Newsreader", serif); font-weight: 300; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 1.5rem; }
.texte-legal h2 { font-size: 1.05rem; font-weight: 500; margin: 2rem 0 .5rem; }
.texte-legal p { line-height: 1.65; color: var(--gris, #555); }
.erreur-paiement { margin: 0 1.25rem .75rem; }
.lettre-aide { font-size: .85rem; margin: .5rem 0 0; min-height: 1.2em; }

/* ---------- Navigation fluide entre les pages : fondu, en-tête et barre du bas immobiles ---------- */
@view-transition { navigation: auto; }
.nav { view-transition-name: entete; }
.onglets { view-transition-name: onglets; }
::view-transition-old(root) { animation: 160ms cubic-bezier(.32,.72,0,1) both vt-sort; }
::view-transition-new(root) { animation: 220ms cubic-bezier(.32,.72,0,1) both vt-entre; }
::view-transition-old(entete), ::view-transition-new(entete), ::view-transition-old(onglets), ::view-transition-new(onglets) { animation: none; mix-blend-mode: normal; }
@keyframes vt-sort { to { opacity: 0; } }
@keyframes vt-entre { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* ---------- Règle de livraison : la même partout (A : pastilles, B : lignes) ---------- */
.rl { --rl-fond: var(--feutre); }
.rl-a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rl-a .rl-i { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--rl-fond); }
.rl-a .rl-t { font-size: 12.5px; color: var(--graphite); line-height: 1.25; }
.rl-a .rl-v { font: 400 22px/1.1 var(--display); color: var(--encre); display: flex; align-items: center; gap: 6px; }
.rl-a .rl-i.ok .rl-v { color: #1f7a4d; }
.rl-a .rl-v svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rl-b { border-radius: 16px; background: var(--rl-fond); padding: 2px 14px; }
.rl-b .rl-i { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.rl-b .rl-i + .rl-i { box-shadow: inset 0 1px 0 rgba(0,0,0,.07); }
.rl-b .rl-ic { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: #fff; color: var(--laiton); }
.rl-b .rl-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rl-b .rl-t { flex: 1; font-size: 14.5px; color: var(--encre); }
.rl-b .rl-v { font-weight: 700; font-size: 15px; white-space: nowrap; }
.rl-b .rl-i.ok .rl-v { color: #1f7a4d; }
.rl-pied { margin: 8px 2px 0; font-size: 12.5px; color: var(--graphite); }
.savoir .savoir-liv { grid-column: span 2; }
.savoir .savoir-liv .rl { margin-top: 10px; }
@media (max-width: 760px) { .savoir .savoir-liv { grid-column: auto; } }

/* Fiche préparée par le serveur (pour Google et les IA) : remplacée par la page habituelle dès que le JavaScript s'exécute.
   Sans JavaScript, elle reste lisible ; si le script tarde, elle s'affiche au bout de 3 s. */
.js main[data-ssr] { visibility: hidden; animation: pe-ssr 0s 3s forwards; }
@keyframes pe-ssr { to { visibility: visible; } }
.ssr-ariane { padding-top: 24px; font-size: 14px; color: var(--graphite); }
.ssr-fiche { padding-block: 24px 80px; max-width: 860px; }
.ssr-fiche img { width: 100%; height: auto; border-radius: var(--rayon); }
.ssr-fiche table { width: 100%; border-collapse: collapse; }
.ssr-fiche th, .ssr-fiche td { padding: 8px; border-top: 1px solid #ececf0; text-align: right; }
.ssr-fiche tbody th { text-align: left; font-weight: 400; }

/* Demande de devis (piano d'exception) */
.options-compactes .option-carte { padding: 14px; gap: 8px; }
.options-compactes .option-icone svg { width: 22px; height: 22px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce input { position: absolute; opacity: 0; pointer-events: none; }
.puce span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #e3e3e8; background: var(--blanc); font-size: 14.5px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.puce input:checked + span { border-color: var(--encre); background: var(--laque); color: var(--blanc); }
.puce input:focus-visible + span { box-shadow: 0 0 0 3px rgba(176,141,87,.35); }
.case { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14.5px; color: var(--graphite); cursor: pointer; }
.case input { width: 18px; height: 18px; accent-color: var(--laiton); }
.devis-ok { text-align: left; padding: 36px; }
.devis-ok h3 { margin: 16px 0 6px; font: 300 34px/1.1 var(--display); }
.devis-ok > p { color: var(--graphite); margin: 0; }
.devis-recap { margin: 22px 0; padding: 4px 18px; border-radius: 18px; background: var(--blanc); }
.devis-recap div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #ececf0; font-size: 15px; }
.devis-recap div:last-child { border-bottom: 0; }
.devis-recap dt { color: var(--graphite); }
.devis-recap dd { margin: 0; font-weight: 600; text-align: right; }
.devis-date { align-items: end; }
.devis-date .case { margin: 0 0 14px; }
.devis-config .champ > .puces { margin-top: 6px; }

/* ---------- Clavier du téléphone (voir « Clavier du téléphone » dans assets/app.js) ---------- */
@media (max-width: 760px) {
  /* Safari zoome sur tout champ écrit en moins de 16 px : on ne descend jamais en dessous */
  html input, html select, html textarea { font-size: 16px; }
  .pied form input { font-size: 16px; }
  /* Clavier ouvert : les fenêtres plein écran se calent sur la partie visible, les barres du bas s'effacent */
  html.clavier .recherche, html.clavier .coord-fond, html.clavier.part-ouvert .part3-demande .etapes-form { top: var(--vv-top); bottom: auto; height: var(--vv-h); }
  html.clavier .coord { max-height: calc(var(--vv-h) - 24px); }
  html.clavier.part-ouvert .ef-tete { top: var(--vv-top); }
  html.clavier.part-ouvert .ef-bas { top: calc(var(--vv-top) + var(--vv-h)); bottom: auto; transform: translateY(-100%); }
  html.clavier .onglets, html.clavier .fiche-barre, html.clavier .part3-barre, html.clavier .reprendre { visibility: hidden; }
  /* Quand Safari replie sa barre du bas, l'écran visible dépasse un peu les fenêtres plein écran : on prolonge leur fond blanc */
  html.part-ouvert .part3-demande .etapes-form, .tn { box-shadow: 0 40vh 0 var(--blanc); }
}

/* Icônes 3D dans les cases de choix (ordinateur) */
.option-icone:has(img.i3d) { background: none !important; width: 44px; height: 44px; }
.option-icone img.i3d { width: 44px; height: 44px; object-fit: contain; }
.option input:checked + .option-carte .option-icone:has(img.i3d) { background: none !important; }

/* ===== Boutons pilule dorée (maquette 24, style B) — l'accueil garde son bouton laqué ===== */
body:not([data-page="accueil"]) .btn-laque::after, body:not([data-page="accueil"]) .btn-laque::before { display: none; }
body:not([data-page="accueil"]) .btn-laque { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s; }
body:not([data-page="accueil"]) .btn-laque:hover { transform: translateY(-1px); }
body:not([data-page="accueil"]) .btn-laque:active { transform: scale(.97); }


/* Pilule or champagne, flèche dans un rond noir */
body:not([data-page="accueil"]) .btn-laque { border-radius: 999px; padding: 0 8px 0 26px; gap: 14px; background: linear-gradient(180deg, #e9d3a6 0%, #c9a46a 100%); color: #111; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 20px rgba(176,141,87,.35); }
body:not([data-page="accueil"]) .btn-laque:hover { color: #111; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 12px 26px rgba(176,141,87,.45); }
body:not([data-page="accueil"]) .btn-laque-fleche { border-radius: 50%; background: #111; color: var(--laiton-clair); }
body:not([data-page="accueil"]) .btn-laque:hover .btn-laque-fleche { background: #111; color: var(--laiton-clair); transform: translateX(2px); }
body:not([data-page="accueil"]) .btn-laque[aria-disabled="true"] { opacity: .45; }
body:not([data-page="accueil"]) .btn-clair { border-radius: 999px; }

/* Boutons à leur taille (plus de bouton pleine largeur) sur téléphone, hors barres fixes */
body:not([data-page="accueil"]) .btn-laque { height: 54px; }
body:not([data-page="accueil"]) .btn-laque.compact { height: 44px; }
@media (max-width: 760px) {
  body:not([data-page="accueil"]) .v2-hero .actions { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 10px; }
  body:not([data-page="accueil"]) .v2-hero .actions .btn-laque,
  body:not([data-page="accueil"]) .p2-actions .btn-laque,
  body:not([data-page="accueil"]) .comp-ligne.actions .btn-laque { flex: none; justify-content: flex-start; }
  body:not([data-page="accueil"]) .liv3-ticket .btn-laque { align-self: flex-start; justify-content: flex-start; }
  /* « Appeler le 06… » devient un rond avec l'icône téléphone */
  body:not([data-page="accueil"]) .v2-hero .actions .btn-clair[href^="tel:"] { flex: none; width: 54px; height: 54px; padding: 0; border-radius: 50%; font-size: 0; justify-content: center; }
  body:not([data-page="accueil"]) .v2-hero .actions .btn-clair[href^="tel:"]::before { content: ""; width: 22px; height: 22px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") center / contain no-repeat; }
}
