/* Maquette Autodetails — atelier d'esthétique automobile.
   Direction « luxe » (beaucoup d'air, fonds profonds, photos qui grandissent lentement), kit « minuit » :
   noir profond, titres en capitales (Abril Fatface), texte en Work Sans, angles droits, boutons en capitales.
   L'accent vert du kit est remplacé par un rouge « étrier », réservé à l'action principale : demander un devis. */
:root {
  --noir: #0a0a0c;
  --noir-2: #141417;
  --encre: #121215;
  --fond: #f6f5f2;
  --pierre: #eceae5;
  --blanc: #ffffff;
  --g100: #eeece8;
  --g200: #e2e0da;
  --g300: #cfccc5;
  --g400: #a09c94;
  --g500: #716d66;
  --g600: #504d47;
  --rouge: #d0102a;
  --rouge-fonce: #a90d22;
  --rouge-clair: #ff5c6c;
  --titres: "Abril Fatface", Georgia, serif;
  --texte: "Work Sans", system-ui, sans-serif;
  --large: 1280px;
  --gouttiere: clamp(16px, 4vw, 48px);
  --entete: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex: none; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--rouge); color: var(--blanc); }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--titres); font-weight: 400; text-transform: uppercase; color: inherit; margin: 0 0 .5em; letter-spacing: .01em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.1rem, 5.6vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.9rem); line-height: 1.1; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: .02em; }
h4 { font-family: var(--texte); font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 .5em; }
h1 em, h2 em { font-style: normal; color: var(--g500); }
h1 em { display: block; }
.section--sombre h2 em, .hero h1 em, .page-hero h1 em, .appel-photo h2 em, .appel-ligne h2 em { color: rgba(255,255,255,.55); }
p { margin: 0 0 1em; max-width: 64ch; }
.muted { color: var(--g500); }
.grand { font-size: 1.1rem; line-height: 1.7; }
.mono { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--rouge); }
.etiquette { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--g600); margin-bottom: 22px; }
.etiquette::before { content: ""; width: 28px; height: 2px; background: var(--rouge); }
.section--sombre .etiquette, .hero .etiquette, .page-hero .etiquette, .appel-photo .etiquette { color: var(--g300); }
.a-completer { background: #fff3c4; color: #6b4e00; padding: 1px 6px; font-size: .92em; }
.illustration { font-size: 12.5px; color: var(--g400); text-align: center; margin: 28px auto 0; }
.note { font-size: 13px; color: var(--g500); margin-top: 18px; }
.note.centre { text-align: center; margin-inline: auto; }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--large)); margin-inline: auto; }
.section { padding: clamp(84px, 11vw, 144px) 0; }
.section--blanc { background: var(--blanc); }
.section--pierre { background: var(--pierre); }
.section--sombre { background: var(--noir); color: var(--g300); }
.section--sombre h2, .section--sombre h3 { color: var(--blanc); }
.section--sombre .muted { color: var(--g400); }
.entete-centre { text-align: center; max-width: 780px; margin: 0 auto clamp(44px, 6vw, 68px); }
.entete-centre p { margin-inline: auto; }
.entete-gauche { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }

/* Boutons : angles droits, capitales espacées, remplissage au survol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 26px; border-radius: 0; font: 600 12px/1.2 var(--texte); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .3s; }
.btn:hover .fl { transform: translateX(4px); }
.btn--rouge { background: var(--rouge); color: var(--blanc); border-color: var(--rouge); }
.btn--rouge:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); }
.btn--blanc { background: var(--blanc); color: var(--noir); }
.btn--noir { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.btn--noir:hover { background: #2a2a2e; }
.btn--ligne { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn--ligne:hover { background: var(--encre); color: var(--blanc); }
.btn--ligne-clair { border-color: rgba(255,255,255,.4); color: var(--blanc); background: transparent; }
.btn--ligne-clair:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.boutons--centre { justify-content: center; }
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; letter-spacing: .12em; padding: 16px 18px; }
  .boutons .btn { width: 100%; }
  .barre-mobile .btn, .entete-actions .btn { width: auto; }
}
.suite { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--encre); }
.suite svg { width: 16px; height: 16px; color: var(--rouge); transition: transform .3s; }

/* ── entete.logo-centre ── */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(10,10,12,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.08); color: var(--blanc); transition: background .3s; }
.entete.defile { background: rgba(10,10,12,.96); }
.entete-barre { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--entete); width: min(100% - 2 * var(--gouttiere), 1440px); margin-inline: auto; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.logo b { font: 400 25px/1 var(--titres); text-transform: uppercase; letter-spacing: .06em; }
.logo small { font-size: 9px; color: var(--g400); letter-spacing: .34em; text-transform: uppercase; margin-top: 7px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--g300); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blanc); }
.nav > a[aria-current="page"], .deroulant > a[aria-current="page"] { box-shadow: 0 2px 0 var(--rouge); padding-bottom: 6px; }
.deroulant { position: relative; }
.deroulant > a::after { content: ""; display: inline-block; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 9px; }
.sous-menu { position: absolute; top: calc(100% + 29px); left: -24px; width: 560px; background: var(--noir); border: 1px solid rgba(255,255,255,.1); padding: 10px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.sous-menu::before { content: ""; position: absolute; inset: -30px 0 auto; height: 30px; }
.deroulant:hover .sous-menu, .deroulant:focus-within .sous-menu { display: grid; }
.sous-menu a { padding: 16px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; text-transform: none; letter-spacing: 0; }
.sous-menu a:hover { background: rgba(255,255,255,.05); }
.sous-menu .ico { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: var(--rouge-clair); }
.sous-menu .ico svg { width: 18px; height: 18px; }
.sous-menu b { font: 600 14.5px/1.3 var(--texte); display: block; color: var(--blanc); }
.sous-menu small { color: var(--g400); font-size: 12.5px; line-height: 1.4; display: block; margin-top: 3px; font-weight: 400; }
.entete-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.entete-actions .btn { padding: 13px 18px; font-size: 11px; }
.burger { display: none; background: transparent; border: 1px solid rgba(255,255,255,.3); color: var(--blanc); width: 44px; height: 44px; cursor: pointer; place-items: center; }
@media (max-width: 1180px) {
  .entete-barre { display: flex; justify-content: space-between; }
  .logo { align-items: flex-start; }
  .nav { display: none; }
  .burger { display: grid; }
  .entete.ouvert .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: var(--entete); left: 0; right: 0; background: var(--noir); border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px var(--gouttiere) 24px; max-height: calc(100vh - var(--entete)); overflow: auto; }
  .entete.ouvert .nav > a, .entete.ouvert .deroulant > a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: var(--blanc); box-shadow: none; }
  .entete.ouvert .sous-menu { display: grid; position: static; width: auto; grid-template-columns: 1fr; background: transparent; border: 0; box-shadow: none; padding: 4px 0 10px; }
  .entete.ouvert .sous-menu a { padding: 10px 0; grid-template-columns: 1fr; }
  .entete.ouvert .sous-menu .ico, .entete.ouvert .sous-menu small { display: none; }
  .entete.ouvert .sous-menu b { font-size: 14px; font-weight: 500; color: var(--g300); }
}
@media (max-width: 767px) { .entete-tel { display: none; } }
@media (max-width: 520px) { .entete-actions .btn { display: none; } .logo b { font-size: 21px; } :root { --entete: 66px; } }

/* ── hero.image-centre ── */
.hero { position: relative; min-height: max(100svh, 700px); display: grid; place-items: center; background: var(--noir); color: var(--blanc); overflow: hidden; padding: calc(var(--entete) + 70px) 0 80px; }
.hero-fond { position: absolute; inset: 0; }
.hero-fond img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: respire 18s ease-out forwards; }
@keyframes respire { to { transform: scale(1); } }
.hero .hero-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.72) 0%, rgba(10,10,12,.5) 45%, rgba(10,10,12,.88) 100%); }
.hero .conteneur { position: relative; z-index: 2; }
.hero-centre { max-width: 980px; margin-inline: auto; text-align: center; }
.hero-centre .etiquette::after { content: ""; width: 28px; height: 2px; background: var(--rouge); }
.hero h1 { font-size: clamp(2.1rem, 5.1vw, 4.2rem); margin-bottom: 28px; }
.hero .chapo { color: var(--g300); font-size: clamp(1.02rem, 1.4vw, 1.18rem); margin: 0 auto 38px; max-width: 58ch; }
.points { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--g300); }
.points li { display: inline-flex; align-items: center; gap: 10px; }
.points svg { width: 15px; height: 15px; color: var(--rouge-clair); }

/* ── entete-page (photo-centre, photo-gauche, photo-colonnes) ── */
.page-hero { position: relative; background: var(--noir); color: var(--blanc); padding: calc(var(--entete) + clamp(80px, 12vw, 150px)) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.page-hero .hero-fond img { width: 100%; height: 100%; object-fit: cover; animation: respire 18s ease-out forwards; transform: scale(1.06); }
.page-hero .hero-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.74) 55%, rgba(10,10,12,.5) 100%); }
.page-hero .conteneur { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.9rem); max-width: 20ch; margin-bottom: 24px; }
.page-hero .chapo { color: var(--g300); font-size: 1.1rem; max-width: 58ch; margin-bottom: 34px; }
.page-hero--photo-centre { text-align: center; }
.page-hero--photo-centre .hero-fond::after { background: rgba(10,10,12,.74); }
.page-hero--photo-centre h1, .page-hero--photo-centre .chapo { margin-inline: auto; }
.page-hero--photo-centre .fil { justify-content: center; }
.page-hero-colonnes { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-hero-colonnes h1 { margin-bottom: 0; }
.page-hero-colonnes .chapo { margin-bottom: 30px; }
@media (max-width: 860px) { .page-hero-colonnes { grid-template-columns: 1fr; } }
.fil { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--g400); margin-bottom: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.fil a { color: var(--g300); text-decoration: none; }
.fil a:hover { color: var(--blanc); }

/* ── entete-page (centre, gauche) : texte seul ── */
.page-texte { background: var(--pierre); padding: calc(var(--entete) + clamp(80px, 11vw, 140px)) 0 clamp(60px, 8vw, 96px); border-bottom: 1px solid var(--g200); }
.page-texte h1 { font-size: clamp(2rem, 4.6vw, 3.9rem); max-width: 20ch; margin-bottom: 24px; }
.page-texte .chapo { font-size: 1.1rem; color: var(--g600); max-width: 58ch; margin-bottom: 32px; }
.page-texte .fil { color: var(--g500); }
.page-texte .fil a { color: var(--g600); }
.page-texte .fil a:hover { color: var(--encre); }
.page-texte--centre { text-align: center; }
.page-texte--centre h1, .page-texte--centre .chapo { margin-inline: auto; }
.page-texte--centre .fil { justify-content: center; }

/* ── bento.b399 : quatre cartes, texte puis photo ── */
.bento-399 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--g200); border: 1px solid var(--g200); }
.bento-carte { background: var(--blanc); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; }
.bento-texte { padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; flex: 1; }
.bento-texte h3 { margin: 14px 0 12px; }
.bento-texte p { color: var(--g500); font-size: 15px; }
.bento-texte .suite { margin-top: auto; padding-top: 8px; }
.bento-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.bento-carte:hover .bento-photo img { transform: scale(1.06); }
.bento-carte:hover .suite svg { transform: translateX(4px); }
@media (max-width: 1100px) { .bento-399 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento-399 { grid-template-columns: 1fr; } .bento-photo { aspect-ratio: 16 / 10; } }

/* ── galerie.carrousel-3-debord-centre ── */
.carrousel { position: relative; }
.car-piste { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gouttiere), (100% - var(--large)) / 2); padding-inline: max(var(--gouttiere), (100% - var(--large)) / 2); scrollbar-width: none; }
.car-piste::-webkit-scrollbar { display: none; }
.car-item { flex: 0 0 calc((min(100% - 2 * var(--gouttiere), var(--large)) - 32px) / 3.25); scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.car-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.car-item:hover img { transform: scale(1.04); }
.car-fleche { position: absolute; top: calc(50% - 22px); transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; background: var(--blanc); color: var(--noir); border: 0; cursor: pointer; transition: background .3s, color .3s; }
.car-fleche:hover { background: var(--rouge); color: var(--blanc); }
.car-prec { left: max(8px, (100% - var(--large)) / 2 - 26px); }
.car-suiv { right: max(8px, (100% - var(--large)) / 2 - 26px); }
.car-points { display: flex; justify-content: center; gap: 8px; margin-top: 30px; height: 8px; }
.car-points span { width: 26px; height: 2px; background: rgba(255,255,255,.25); transition: background .3s; }
.car-points span.actif { background: var(--rouge-clair); }
@media (max-width: 900px) { .car-item { flex-basis: calc((100% - 2 * var(--gouttiere) - 16px) / 2.2); } }
@media (max-width: 560px) { .car-item { flex-basis: 78%; } .car-fleche { width: 44px; height: 44px; } }

/* ── colonnes.photo-centrale ── */
.photo-centrale { display: grid; grid-template-columns: 1fr minmax(260px, 1.15fr) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pc-col { display: grid; gap: clamp(40px, 6vw, 72px); }
.pc-atout { text-align: center; }
.pc-atout .ico, .liste-icones .ico, .colonne-icone .ico { width: 52px; height: 52px; border: 1px solid var(--encre); color: var(--rouge); display: grid; place-items: center; }
.pc-atout .ico { margin: 0 auto 20px; }
.pc-atout p { color: var(--g500); margin: 0 auto; max-width: 30ch; }
.pc-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .photo-centrale { grid-template-columns: 1fr 1fr; } .pc-photo { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 10; } .pc-col { display: contents; } }
@media (max-width: 520px) { .photo-centrale { grid-template-columns: 1fr; } }

/* ── etapes.laterale, tarifs.lateral, faq.scinde : titre sur le côté ── */
.scinde { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.colle { position: sticky; top: calc(var(--entete) + 50px); }
.colle .boutons { margin-top: 28px; }
.frise-lat { list-style: none; padding: 0; margin: 0; position: relative; }
.frise-lat::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 6px; width: 1px; background: var(--g300); }
.frise-lat li { position: relative; padding: 0 0 48px 48px; }
.frise-lat li:last-child { padding-bottom: 0; }
.frise-lat li::before { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; background: var(--rouge); }
.frise-lat h3 { margin: 10px 0 8px; font-size: 1.35rem; }
.frise-lat p { color: var(--g500); margin: 0; }
.liste-prix { border-top: 1px solid var(--g200); }
.ligne-prix { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--g200); }
.ligne-prix span { font-weight: 500; font-size: 1.05rem; }
.ligne-prix b { font-weight: 600; white-space: nowrap; color: var(--rouge); }
@media (max-width: 860px) { .scinde { grid-template-columns: 1fr; } .colle { position: static; } .ligne-prix { flex-direction: column; gap: 6px; } }

/* ── faq ── */
details { border-bottom: 1px solid var(--g300); }
details summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font: 600 1.08rem/1.4 var(--texte); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--rouge); border-bottom: 2px solid var(--rouge); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--g500); padding-bottom: 24px; margin: 0; }
.faq-large { border-top: 1px solid var(--g300); }
.faq-colonne { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--g300); }
.faq-suite { text-align: center; margin-top: 56px; }
.faq-suite h3 { margin-bottom: 6px; }
.faq-suite p { margin: 0 auto 22px; }

/* ── contact.coordonnees-plan ── */
.acces { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.acces-liste { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 26px; }
.acces-liste li { display: grid; grid-template-columns: 22px 1fr; gap: 18px; }
.acces-liste svg { color: var(--rouge); margin-top: 3px; }
.acces-liste b { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.acces-liste span { display: block; color: var(--g600); }
.acces-liste a { font-weight: 600; text-underline-offset: 4px; }
.acces-liste a[href^="tel"] { font-size: 1.3rem; text-decoration: none; }
.plan { position: relative; background: #e8e6e0; border: 1px solid var(--g300); }
.plan-svg { width: 100%; height: auto; display: block; }
.plan .btn { position: absolute; left: 20px; bottom: 20px; }
@media (max-width: 900px) { .acces { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .plan .btn { position: static; width: 100%; } }

/* ── appel.centre-fond-photo ── */
.appel-photo { position: relative; color: var(--blanc); text-align: center; overflow: hidden; background: var(--noir); }
.appel-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.appel-photo .conteneur { position: relative; }
.appel-photo h2 { max-width: 20ch; margin-inline: auto; }
.appel-photo p { color: var(--g300); margin: 0 auto 36px; }

/* ── appel.ligne-carte-photo et appel.centre-carte-photo ── */
.appel { position: relative; overflow: hidden; background: var(--noir); }
.appel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.appel-ligne { position: relative; margin: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 64px); padding: clamp(30px, 4vw, 52px); background: rgba(10,10,12,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); color: var(--g300); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.appel-ligne h2 { color: var(--blanc); margin-bottom: 10px; }
.appel-ligne p { margin: 0; }
.appel--carte { display: grid; place-items: center; padding: clamp(64px, 9vw, 130px) clamp(16px, 4vw, 48px); }
.appel-carte { position: relative; max-width: 760px; text-align: center; background: var(--fond); padding: clamp(36px, 5vw, 64px) clamp(22px, 5vw, 64px); }
.appel-carte h2 { margin-inline: auto; }
.appel-carte p { margin: 0 auto 32px; }

/* ── colonnes.seules-2-photo-centre ── */
.colonnes-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px); }
.colonne { text-decoration: none; display: flex; flex-direction: column; align-items: center; text-align: center; }
.colonne-photo { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 28px; }
.colonne-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.colonne:hover .colonne-photo img { transform: scale(1.05); }
.colonne h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 12px 0 12px; }
.colonne p { color: var(--g500); max-width: 46ch; }
.colonne .suite { margin-top: 6px; }
.colonne:hover .suite svg { transform: translateX(4px); }
@media (max-width: 700px) { .colonnes-2 { grid-template-columns: 1fr; } }

/* ── tarifs.tableau ── */
.tableau-cadre { max-width: 920px; margin: 0 auto; }
table.prix { width: 100%; border-collapse: collapse; background: var(--blanc); border: 1px solid var(--g200); }
.prix .cat th { text-align: left; padding: 26px 28px 12px; font: 400 1.15rem/1.25 var(--titres); text-transform: uppercase; letter-spacing: .02em; border-top: 1px solid var(--g200); }
.prix tbody:first-child .cat th { border-top: 0; }
.prix td { padding: 12px 28px; border-top: 1px solid var(--g100); }
.prix td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.prix tbody tr:last-child td { padding-bottom: 24px; }
.tableau-cadre .note { text-align: center; margin-inline: auto; }
@media (max-width: 560px) { .prix td, .prix .cat th { padding-inline: 16px; } .prix td { font-size: 14.5px; } .prix td:last-child { white-space: normal; } }

/* ── atouts (photo à gauche ou à droite) ── */
.atouts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.atouts-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.atouts-photo img { width: 100%; height: 100%; object-fit: cover; }
.liste-icones { list-style: none; padding: 0; margin: 34px 0 40px; display: grid; gap: 26px; }
.liste-icones li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.liste-icones b { font: 600 1.05rem/1.3 var(--texte); display: block; margin-bottom: 4px; }
.liste-icones span:not(.ico) { color: var(--g500); }
.puces { list-style: none; padding: 0; margin: 30px 0 40px; display: grid; gap: 14px; }
.puces li { position: relative; padding-left: 34px; }
.puces li::before { content: ""; position: absolute; left: 0; top: .8em; width: 18px; height: 2px; background: var(--rouge); }
@media (max-width: 900px) { .atouts { grid-template-columns: 1fr; } .atouts-photo { aspect-ratio: 16 / 11; } .atouts--inverse .atouts-photo { order: -1; } }

/* ── atouts.deux-colonnes-simple ── */
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.deux-colonnes h2 { margin: 0; }
.deux-colonnes .boutons { margin-top: 30px; }
@media (max-width: 860px) { .deux-colonnes { grid-template-columns: 1fr; } }

/* ── galerie.grande-deux et galerie.grande-quatre ── */
.grande-deux, .grande-quatre { display: grid; gap: 14px; }
.grande-deux { grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 9; }
.grande-quatre { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 8; }
.grande-deux button, .grande-quatre button { padding: 0; border: 0; background: var(--g200); cursor: zoom-in; overflow: hidden; min-height: 0; }
.grande-deux button:first-child, .grande-quatre button:first-child { grid-row: 1 / 3; }
.grande-deux img, .grande-quatre img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.grande-deux button:hover img, .grande-quatre button:hover img { transform: scale(1.04); }
.section--sombre .illustration { color: var(--g500); }
@media (max-width: 760px) {
  .grande-deux, .grande-quatre { grid-template-columns: 1fr 1fr; grid-template-rows: none; aspect-ratio: auto; }
  .grande-deux button:first-child, .grande-quatre button:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .grande-deux button:not(:first-child), .grande-quatre button:not(:first-child) { aspect-ratio: 1; }
}
dialog.visionneuse { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1400px); }
dialog.visionneuse::backdrop { background: rgba(10,10,12,.92); }
dialog.visionneuse img { max-height: 84vh; width: auto; margin: 0 auto; }
dialog.visionneuse .btn { position: fixed; top: 20px; right: 20px; }

/* ── liste-elements.grille : la collection « Réalisations » ── */
.filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto clamp(36px, 5vw, 56px); }
.filtres button { background: transparent; border: 1px solid var(--g400); padding: 12px 20px; font: 600 11.5px/1.2 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--g600); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filtres button:hover { border-color: var(--encre); color: var(--encre); }
.filtres button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.elements-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.6vw, 36px); }
.element-photo { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; background: var(--g200); }
.element-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.element:hover .element-photo img { transform: scale(1.05); }
.element h3 { margin: 10px 0 8px; }
.element p { color: var(--g500); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .elements-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .elements-grille { grid-template-columns: 1fr; } }

/* ── appel.centre-mur-photos ── */
.mur { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: clamp(48px, 6vw, 80px); }
.mur img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.mur img:nth-child(even) { transform: translateY(28px); }
.section--sombre .entete-centre p { color: var(--g300); }
@media (max-width: 760px) { .mur { grid-template-columns: repeat(3, 1fr); } .mur img:nth-child(even) { transform: none; } }

/* ── colonnes.centre-3-icone ── */
.colonnes-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); text-align: center; }
.colonne-icone .ico { margin: 0 auto 24px; }
.colonne-icone p { color: var(--g500); margin-inline: auto; max-width: 32ch; }
@media (max-width: 760px) { .colonnes-3 { grid-template-columns: 1fr; } }

/* ── contact.formulaire-coordonnees-detaille ── */
.contact-grille { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ--plein { grid-column: 1 / -1; }
.champ label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--g600); }
.champ small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--g400); }
.champ input, .champ select, .champ textarea { font: 400 16px/1.4 var(--texte); padding: 15px 16px; border: 1px solid var(--g300); border-radius: 0; background: var(--fond); color: var(--encre); width: 100%; }
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--encre); background: var(--blanc); }
.consentement { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--g500); margin: 24px 0; }
.consentement input { margin-top: 4px; accent-color: var(--rouge); }
.merci { display: none; margin-top: 20px; padding: 18px 20px; border: 1px solid var(--encre); background: var(--pierre); }
.merci.visible { display: block; }
.coordonnees { display: grid; gap: 28px; padding: clamp(26px, 3vw, 40px); background: var(--noir); color: var(--g300); }
.coordonnees > div { display: grid; grid-template-columns: 22px 1fr; gap: 16px; }
.coordonnees svg { color: var(--rouge-clair); margin-top: 3px; }
.coordonnees b { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--blanc); margin-bottom: 6px; }
.coordonnees a { color: var(--blanc); font-size: 1.3rem; font-weight: 600; text-decoration: none; display: block; }
.coordonnees a.petit { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; margin-top: 6px; }
.coordonnees span { display: block; font-size: 14.5px; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .champs { grid-template-columns: 1fr; } }

/* ── zone.colonnes ── */
.communes-colonnes { list-style: none; padding: 0; margin: 0 auto; max-width: 960px; columns: 3; column-gap: 40px; }
.communes-colonnes li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--g300); break-inside: avoid; font-size: 15.5px; }
.communes-colonnes svg { width: 16px; height: 16px; color: var(--rouge); }
@media (max-width: 760px) { .communes-colonnes { columns: 2; } }
@media (max-width: 440px) { .communes-colonnes { columns: 1; } }

/* ── pied.nom-geant ── */
.pied { background: var(--noir); color: var(--g400); padding: clamp(72px, 9vw, 120px) 0 0; overflow: hidden; }
.pied-colonnes { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 40px; padding-bottom: clamp(48px, 6vw, 80px); }
.pied .logo { align-items: flex-start; color: var(--blanc); margin-bottom: 34px; }
.pied h4 { color: var(--blanc); margin: 0 0 12px; }
.pied p { font-size: 14.5px; margin-bottom: 26px; }
.pied ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; font-size: 14.5px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--blanc); }
.pied .tel { font-size: 1.35rem; font-weight: 600; color: var(--blanc); display: block; margin-bottom: 8px; }
.nom-geant { font: 400 11.4vw/.86 var(--titres); text-transform: uppercase; color: var(--fond); white-space: nowrap; text-align: center; letter-spacing: .01em; margin: 0 calc(-1 * var(--gouttiere)); padding: clamp(20px, 3vw, 44px) 0; border-top: 1px solid rgba(255,255,255,.1); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) { .pied-colonnes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pied-colonnes { grid-template-columns: 1fr; } }

/* ── barre-appel.appel-et-devis (mobile) ── */
.barre-mobile { display: none; }
@media (max-width: 767px) {
  .barre-mobile { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,12,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.1); }
  .barre-mobile .btn { padding: 15px 10px; }
  body { padding-bottom: 76px; }
}

/* Apparitions douces */
.js .apparait.attente { opacity: 0; transform: translateY(24px); }
.apparait { transition: opacity 1s ease, transform 1s ease; }
