/* Maison Marwil : l'élégance d'une maison de luxe. Papier ivoire, encre, filets fins, typographie Bodoni Moda (titres) et Manrope (texte).
   La teinte de l'iPhone choisi colore le studio où il est posé et réchauffe toute la page (variables réécrites par commun.js). */
:root {
  --papier: #FAF7F2; --papier-2: #F2EDE5; --encre: #17130F; --gris: #6E665D; --gris-2: #A39A8F; --filet: #E3DCD1;
  --fond: #FAF7F2; --pale: #EADCDD; --pale-2: #DCC6C8; --teinte: #4A1C25;
  --f-display: "Bodoni Moda", "Didot", Georgia, serif;
  --f-body: "Manrope", "Helvetica Neue", system-ui, sans-serif;
  --lent: cubic-bezier(.22,.61,.36,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--f-body); font-size: 16px; line-height: 1.65; font-weight: 400; overflow-x: hidden; transition: background-color 1.2s var(--lent); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(42px, 9.5vw, 76px); line-height: 1.04; letter-spacing: -0.012em; }
h2 { font-size: clamp(34px, 6.6vw, 60px); line-height: 1.06; letter-spacing: -0.01em; }
h3 { font-size: clamp(24px, 4.4vw, 30px); line-height: 1.15; }
em, i { font-style: italic; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 1px solid var(--encre); outline-offset: 4px; }
.gris { color: var(--gris); }
.gut { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1240px; margin: 0 auto; }
.eyebrow { font-size: 13px; color: var(--gris); letter-spacing: .02em; }
.lead { font-size: 17px; color: var(--gris); max-width: 44ch; line-height: 1.7; }
.section { padding-block: clamp(80px, 13vw, 150px); position: relative; }
.titre { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(40px, 7vw, 72px); max-width: 760px; }
.titre.centre { margin-inline: auto; text-align: center; align-items: center; }
.filet { height: 1px; background: var(--filet); border: 0; margin: 0; }

/* bandeau de la version d'essai */
.essai { background: var(--encre); color: var(--papier); font-size: 12px; text-align: center; padding: 8px 16px; letter-spacing: .02em; }

/* en-tête : menu à gauche, nom au centre, contact à droite */
body::before { content: ""; position: fixed; top: 0; right: 0; bottom: auto; left: 0; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--fond); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .6s ease, background-color 1.2s var(--lent); }
.top.colle { border-bottom-color: var(--filet); }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; min-height: 64px; }
@media (min-width: 900px) { .top .wrap { min-height: 84px; } }
.logo { font-family: var(--f-display); font-size: 25px; text-decoration: none; letter-spacing: .01em; white-space: nowrap; justify-self: center; }
@media (min-width: 900px) { .logo { font-size: 32px; } }
.nav { display: none; gap: 28px; font-size: 13px; }
.nav a { text-decoration: none; color: var(--gris); transition: color .3s ease; padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--encre); }
.top-g { display: flex; align-items: center; }
.top-d { display: flex; align-items: center; justify-content: flex-end; }
.contact { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13px; min-height: 44px; min-width: 44px; justify-content: center; }
.contact span { display: none; }
.menu-b { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -10px; border: 0; background: transparent; cursor: pointer; }
@media (min-width: 900px) { .nav { display: flex; } .menu-b { display: none; } .contact span { display: inline; } }
.tiroir { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 40; background: var(--fond); display: flex; flex-direction: column; padding: max(10px, env(safe-area-inset-top)) 20px 32px; opacity: 0; visibility: hidden; transition: opacity .5s var(--lent), visibility .5s; }
.tiroir.ouvert { opacity: 1; visibility: visible; }
.tiroir .haut { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; }
.tiroir nav { display: flex; flex-direction: column; margin-top: 48px; border-top: 1px solid var(--filet); }
.tiroir nav a { font-family: var(--f-display); font-size: 34px; line-height: 1.2; text-decoration: none; padding: 18px 0; border-bottom: 1px solid var(--filet); }
.tiroir .bas { margin-top: auto; display: flex; flex-direction: column; gap: 14px; color: var(--gris); font-size: 14px; }

/* boutons : rectangles noirs, sobres */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border: 1px solid var(--encre); border-radius: 1px; cursor: pointer; text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: .03em; background: var(--encre); color: var(--papier); transition: background-color .4s ease, color .4s ease; }
.btn:hover { background: transparent; color: var(--encre); }
.btn.plein { width: 100%; }
.btn.clair { background: transparent; color: var(--encre); }
.btn.clair:hover { background: var(--encre); color: var(--papier); }
.link { font-weight: 500; font-size: 14px; letter-spacing: .02em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; }
.link:hover { text-decoration-color: transparent; }

/* teintes et choix */
.sws { display: flex; gap: 16px; flex-wrap: wrap; }
.sw { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.sw::after { content: ""; position: absolute; top: -6px; right: -6px; bottom: -6px; left: -6px; inset: -6px; border-radius: 50%; border: 1px solid transparent; transition: border-color .3s ease; }
.sw[aria-pressed="true"]::after { border-color: var(--encre); }
.sw::before { content: ""; position: absolute; top: -6px; right: -6px; bottom: -6px; left: -6px; inset: -6px; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg button { font-size: 14px; min-height: 50px; padding: 0 18px; cursor: pointer; background: transparent; border: 1px solid var(--filet); color: var(--gris); border-radius: 1px; transition: border-color .3s ease, color .3s ease; }
.seg button:hover { color: var(--encre); }
.seg button[aria-pressed="true"] { border-color: var(--encre); color: var(--encre); box-shadow: inset 0 0 0 .5px var(--encre); }
.onglets { display: flex; gap: 26px; flex-wrap: wrap; border-bottom: 1px solid var(--filet); }
.onglets button { background: none; border: 0; padding: 12px 0; min-height: 48px; cursor: pointer; font-size: 14px; color: var(--gris); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .3s ease, border-color .3s ease; }
.onglets button[aria-pressed="true"] { color: var(--encre); border-bottom-color: var(--encre); }

/* le studio : fond teinté où l'iPhone est posé */
.studio { position: relative; background: radial-gradient(90% 70% at 50% 42%, var(--pale), var(--pale-2)); transition: background 1.2s var(--lent); overflow: hidden; }
.studio .ombre { position: absolute; left: 50%; bottom: 9%; width: 46%; height: 6%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(20,12,8,.28), transparent); filter: blur(6px); pointer-events: none; }

/* cartes de la collection */
.grille { display: grid; grid-template-columns: 1fr; gap: 56px 24px; }
@media (min-width: 720px) { .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.carte { display: flex; flex-direction: column; gap: 20px; text-decoration: none; }
.carte .vis { position: relative; overflow: hidden; aspect-ratio: 4 / 4.4; background: radial-gradient(90% 70% at 50% 42%, var(--kp), var(--kp2)); }
.carte .vis img { position: absolute; top: 4%; right: 0; bottom: 0; left: 0; inset: 4% 0 0; width: 100%; height: 92%; object-fit: contain; transition: opacity .7s ease, transform 1.4s var(--lent); }
.carte:hover .vis img { transform: scale(1.03); }
.carte .txt { display: flex; flex-direction: column; gap: 6px; }
.carte .ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.carte h3 { font-size: clamp(26px, 4.6vw, 32px); }
.carte .prix { font-size: 14px; color: var(--gris); }
.carte .pts { display: flex; gap: 8px; margin-top: 4px; }
.carte .pts i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.carte .suite { font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; margin-top: 6px; }
.bientots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--filet); margin-top: 72px; }
@media (min-width: 720px) { .bientots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bientots div { padding: 22px 0; border-bottom: 1px solid var(--filet); display: flex; flex-direction: column; gap: 2px; }
.bientots b { font-family: var(--f-display); font-weight: 400; font-size: 22px; }
.bientots span { font-size: 13px; color: var(--gris); }

/* engagements */
.trust { border-block: 1px solid var(--filet); }
.trust .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; padding-block: 36px; }
@media (min-width: 900px) { .trust .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.t { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.t svg { color: var(--encre); }
.t b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 20px; margin-bottom: 4px; }
.t span { color: var(--gris); }

/* questions */
.faq { display: flex; flex-direction: column; 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: 16px; padding: 24px 0; font-family: var(--f-display); font-size: 21px; line-height: 1.3; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--encre), var(--encre)) center / 12px 1px no-repeat, linear-gradient(var(--encre), var(--encre)) center / 1px 12px no-repeat; transition: transform .4s var(--lent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .rep { padding: 0 0 26px; color: var(--gris); max-width: 62ch; }

/* pied de page */
footer.pied { background: var(--papier-2); padding-block: 64px 40px; }
.pied .wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .pied .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.pied .logo { font-size: 34px; justify-self: start; }
.pied ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.pied ul a { text-decoration: none; color: var(--gris); display: inline-flex; min-height: 40px; align-items: center; font-size: 14px; }
.pied ul a:hover { color: var(--encre); }
.pied .legal { grid-column: 1 / -1; font-size: 13px; color: var(--gris); border-top: 1px solid var(--filet); padding-top: 24px; display: flex; flex-direction: column; gap: 6px; }

/* barre de réservation (téléphone) */
.barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; background: color-mix(in srgb, var(--fond) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--filet); padding: 10px max(16px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 14px; transform: translateY(110%); transition: transform .5s var(--lent); }
.barre.vue { transform: none; }
.barre p { font-size: 13px; color: var(--gris); line-height: 1.3; }
.barre p b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 21px; color: var(--encre); }
.barre .btn { min-height: 48px; padding: 0 22px; }
@media (min-width: 960px) { .barre { display: none; } }

/* apparitions lentes */
.rise { animation: rise 1.4s var(--lent) both; }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } }
.reveal { transition: transform 1.4s var(--lent), opacity 1.4s var(--lent); }
.reveal.attente { transform: translateY(28px); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } html { scroll-behavior: auto; } .reveal.attente { transform: none; opacity: 1; } }

/* menu de la collection (ordinateur) */
.nav-col { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 13px; color: var(--gris); transition: color .3s ease; }
.nav-col:hover, .nav-col[aria-expanded="true"], .nav-col[aria-current="page"] { color: var(--encre); }
.nav-col svg { transition: transform .4s var(--lent); }
.nav-col[aria-expanded="true"] svg { transform: rotate(180deg); }
.top.mega-ouvert { border-bottom-color: var(--filet); background: var(--fond); }
.mega { border-top: 1px solid var(--filet); animation: mega .5s var(--lent) both; }
@keyframes mega { from { opacity: 0; transform: translateY(-6px); } }
.mega .wrap { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 48px; padding-block: 36px 44px; align-items: start; min-height: 0; }
.mega-g { display: flex; flex-direction: column; gap: 2px; }
.mega-g .eyebrow { margin-bottom: 10px; }
.mega-g a, .t-col a { display: flex; align-items: baseline; gap: 12px; text-decoration: none; font-family: var(--f-display); font-size: 26px; line-height: 1.25; padding: 6px 0; transition: color .3s ease; }
.mega-g a:hover { color: var(--gris); }
.mega-g small, .t-col small { font-family: var(--f-body); font-size: 12px; color: var(--gris); }
.mega-vedette { display: flex; flex-direction: column; gap: 12px; text-decoration: none; font-size: 14px; }
.mega-vedette .vis, .tuile .vis { position: relative; display: block; aspect-ratio: 16 / 10; background: radial-gradient(90% 70% at 50% 42%, var(--kp), var(--kp2)); overflow: hidden; }
.mega-vedette img, .tuile .vis img { position: absolute; top: 4%; right: 0; bottom: 0; left: 0; inset: 4% 0 0; width: 100%; height: 92%; object-fit: contain; transition: transform 1.4s var(--lent); }
.mega-vedette:hover img, .tuile:hover .vis img { transform: scale(1.04); }
.mega-vedette span:last-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; font-weight: 500; }

/* le tiroir (téléphone) : la collection se déplie */
.t-col summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); font-size: 34px; line-height: 1.2; padding: 18px 0; }
.t-col summary::-webkit-details-marker { display: none; }
.t-col summary::after { content: ""; width: 12px; height: 12px; background: linear-gradient(var(--encre), var(--encre)) center / 12px 1px no-repeat, linear-gradient(var(--encre), var(--encre)) center / 1px 12px no-repeat; transition: transform .4s var(--lent); }
.t-col[open] summary::after { transform: rotate(45deg); }
.t-col { border-bottom: 1px solid var(--filet); }
.t-col > div { display: flex; flex-direction: column; padding: 0 0 18px 2px; }
.t-col .eyebrow { margin: 10px 0 2px; }
.tiroir nav .t-col a { border: 0; padding: 6px 0; font-size: 24px; }
.tiroir { overflow-y: auto; }

/* tuiles des catégories (accueil) */
.tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
@media (min-width: 900px) { .tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; } }
.tuile { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.tuile .vis { aspect-ratio: 1 / 1; }
.tuile.bientot .vis { background: var(--papier-2); display: flex; align-items: center; justify-content: center; }
.tuile.bientot .vis b { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 4.6vw, 34px); color: var(--gris-2); text-align: center; padding: 0 10px; }
.tuile .nom { font-family: var(--f-display); font-size: clamp(21px, 4.4vw, 28px); line-height: 1.15; }
.tuile .etat { font-size: 13px; color: var(--gris); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* monogramme à côté du nom */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo .mono { display: block; height: 30px; color: var(--encre); }
.logo .mono svg { height: 100%; width: auto; display: block; }
@media (min-width: 900px) { .logo .mono { height: 38px; } .logo { gap: 14px; } }
.logo-pied { flex-direction: column; align-items: flex-start; gap: 14px; }
.logo-pied .mono { height: 72px; }
@media (min-width: 900px) { .logo-pied .mono { height: 72px; } }

/* collection complète : deux colonnes sur téléphone, quatre sur grand écran */
.grille.compacte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; }
@media (min-width: 1100px) { .grille.compacte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; } }
@media (max-width: 719px) {
  .grille.compacte .carte { gap: 12px; }
  .grille.compacte .carte h3 { font-size: 21px; }
  .grille.compacte .carte .ligne { flex-direction: column; align-items: flex-start; gap: 2px; }
  .grille.compacte .carte .prix { font-size: 12px; }
  .grille.compacte .carte p.gris { display: none; }
  .grille.compacte .carte .suite { font-size: 13px; }
}
.attente-cat[hidden], [hidden] { display: none !important; }

/* ===== Audit du 25/11 : lisibilité, tailles, contraste, mouvement ===== */
:root { --gris-fonce: #4E4740; }   /* gris lisible sur les fonds teintés (contraste au moins 4,5) */
/* tailles : 14 px minimum pour tout texte utile */
.eyebrow { font-size: 14px; }
.carte .prix { font-size: 14px; }
.tuile .etat { font-size: 14px; line-height: 1.45; }
.legende { font-size: 13px; color: var(--gris-fonce) !important; }
.suivi-bande .eyebrow, .suivi-bande label { color: var(--gris-fonce); }
.studio .astuce { color: var(--gris-fonce); }
/* Bodoni seulement pour les grands titres ; Manrope, plus robuste, pour les petits titres */
.faq summary { font-family: var(--f-body); font-weight: 600; font-size: 17px; line-height: 1.4; }
@media (max-width: 719px) {
  .grille.compacte .carte h3 { font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1.3; letter-spacing: 0; }
  .grille.compacte .carte .prix { font-size: 13.5px; }
  .tuile .nom { font-family: var(--f-body); font-weight: 600; font-size: 17px; }
}
.mega-g small, .t-col small { font-size: 13px; }
/* cibles tactiles : 44 px */
.pied ul a { min-height: 44px; }
.fil a { display: inline-flex; align-items: center; min-height: 44px; }
.sw .rang { font-size: 12px; }
/* mouvement : retour au toucher, fondus */
.btn, .seg button, .carte, .tuile { -webkit-tap-highlight-color: transparent; }
.btn:active, .seg button:active { transform: scale(.98); }
.carte:active .vis img, .tuile:active .vis img { transform: scale(1.02); }
.studio .photo { transition: opacity .35s ease; }
.studio .photo.change { opacity: 0; }
@media (max-width: 719px) { .grille.compacte .carte .suite { font-size: 14px; } }

/* offre du moment, disponible à Douala, avis */
.essai.offre { background: var(--teinte, #4A1C25); color: #FFF; }
.dispo { align-self: flex-start; font-size: 13px; font-weight: 600; color: #2F6B4A; background: #E4EFE7; padding: 3px 10px; border-radius: 99px; }
.avis { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .avis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.avis figure { margin: 0; border-top: 1px solid var(--filet); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.avis blockquote { margin: 0; font-size: 16px; line-height: 1.6; }
.avis figcaption { font-size: 14px; color: var(--gris); }
.reprise { font-size: 14px; color: var(--gris); border-top: 1px solid var(--filet); padding-top: 16px; }
.reprise a { color: var(--encre); font-weight: 500; }

.carte .vis .dispo.sur { position: absolute; left: 10px; top: 10px; z-index: 2; }

/* ===== Refonte du 29/11 : galerie claire, papier et lumière, vivant mais posé ===== */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .08 0 0 0 0 .05 .16 0 0 0 -.06'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --ombre-papier: 0 1px 1px rgba(40,22,12,.05), 0 18px 36px -24px rgba(40,22,12,.3); }
body { background-image: var(--grain); }
::selection { background: var(--teinte); color: #FFF; }
/* passage d'une page à l'autre en fondu (navigateurs qui le permettent) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .32s var(--lent) both vt-sort; }
::view-transition-new(root) { animation: .5s var(--lent) both vt-entre; }
@keyframes vt-sort { to { opacity: 0; } }
@keyframes vt-entre { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
/* boutons : la lumière glisse au survol */
.btn { position: relative; overflow: hidden; transition: transform .25s var(--lent), box-shadow .4s var(--lent), background-color .3s ease, color .3s ease; }
.btn::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%) -120% 0 / 60% 100% no-repeat; transition: background-position .9s var(--lent); pointer-events: none; }
.btn:hover::after { background-position: 220% 0; }
/* tuiles et cartes : posées sur le papier */
.tuile .vis, .carte .vis { transition: box-shadow .6s var(--lent); }
@media (hover: hover) { .tuile:hover .vis, .carte:hover .vis { box-shadow: 0 22px 40px -28px rgba(40,22,12,.45); } }

/* fiche produit : choix tactiles */
.seg button { background: transparent; transition: border-color .3s ease, color .3s ease, background-color .35s ease, box-shadow .45s var(--lent), transform .2s var(--lent); position: relative; }
.seg button[aria-pressed="true"] { background: var(--papier); box-shadow: inset 0 0 0 .5px var(--encre), 0 10px 22px -16px rgba(40,22,12,.55); }
.seg button[aria-pressed="true"]::before { content: ""; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--teinte); animation: point .4s var(--lent) both; }
@keyframes point { from { transform: scale(0); } }
@media (hover: hover) { .seg button:hover { border-color: var(--gris-2); transform: translateY(-1px); } }
.sw { background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.5), rgba(255,255,255,0) 46%), radial-gradient(circle at 70% 78%, rgba(0,0,0,.18), rgba(0,0,0,0) 55%), var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 3px 8px -3px rgba(40,22,12,.35); transition: transform .35s var(--lent); }
@media (hover: hover) { .sw:hover { transform: scale(1.08); } }
.sw::after { transform: scale(.85); transition: border-color .3s ease, transform .45s var(--lent); }
.sw[aria-pressed="true"]::after { transform: scale(1); }
/* le studio de la fiche, encadré de papier */
.fiche .studio { box-shadow: 0 0 0 10px var(--papier), 0 0 0 11px rgba(40,22,12,.05), 0 30px 60px -34px rgba(40,22,12,.45); }
@media (max-width: 959px) { .fiche .studio { margin: 10px 10px 8px !important; } }
.studio .photo { transition: opacity .45s ease, transform .7s var(--lent); animation: flotte-p 7s ease-in-out infinite alternate; }
.studio .photo.change { opacity: 0; transform: translateY(10px) scale(.97); animation: none; }
@keyframes flotte-p { to { translate: 0 -1.4%; } }
.studio .reflet { position: absolute; top: 6%; right: 4%; bottom: 8%; left: 4%; inset: 6% 4% 8%; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; background: linear-gradient(104deg, transparent 38%, rgba(255,255,255,.45) 49%, rgba(255,255,255,.1) 53%, transparent 62%) 0 0 / 260% 100% no-repeat; mix-blend-mode: screen; pointer-events: none; animation: balaye-p 9s ease-in-out infinite alternate, flotte-p 7s ease-in-out infinite alternate; transition: opacity .4s ease; }
.studio .reflet.change { opacity: 0; }
@keyframes balaye-p { from { background-position: 105% 0; } to { background-position: -5% 0; } }
@media (prefers-reduced-motion: reduce) { .studio .photo, .studio .reflet { animation: none; } }
/* le récapitulatif : une carte de papier */
.recap { background: var(--papier) var(--grain); border: 0; box-shadow: inset 0 0 0 1px var(--filet), var(--ombre-papier); position: relative; }
.recap::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: var(--teinte); opacity: .85; }
.recap .total b.neuf { animation: chiffre .55s var(--lent) both; }
@keyframes chiffre { from { opacity: .2; transform: translateY(6px); filter: blur(2px); } }
@media (prefers-reduced-motion: reduce) { .recap .total b.neuf { animation: none; } }

/* ===== Style « Apple » (Marie, 30/11 : « essaie d'avoir le design d'Apple officiel ») : blanc, gris clair, encre, bleu, police système ===== */
:root {
  --fond: #FFFFFF !important; --papier: #FFFFFF; --papier-2: #F5F5F7; --encre: #1D1D1F; --gris: #6E6E73; --gris-fonce: #424245; --gris-2: #86868B; --filet: #D2D2D7;
  --bleu: #0071E3; --bleu-lien: #0066CC; --teinte: #0071E3;
  --f-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Inter", Arial, sans-serif;
  --f-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Inter", Arial, sans-serif;
  --grain: none;
}
body { background: #FFFFFF !important; letter-spacing: -0.01em; }
::selection { background: #B3D7FF; color: var(--encre); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(40px, 10vw, 80px); line-height: 1.05; }
h2 { font-size: clamp(32px, 7vw, 56px); line-height: 1.08; }
h3 { font-size: clamp(21px, 4vw, 24px); line-height: 1.2; letter-spacing: -0.015em; }
h1 i, h2 i { font-style: normal; color: var(--gris); }
.logo { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; }
.eyebrow { color: var(--gris); letter-spacing: 0; font-weight: 500; }
/* boutons en pilule bleue */
.btn { background: var(--bleu); border: 0; color: #FFF; border-radius: 980px; font-size: 16px; font-weight: 500; letter-spacing: 0; min-height: 50px; padding: 0 26px; }
.btn:hover { background: #0077ED; color: #FFF; }
.btn::after { display: none; }
.btn.clair { background: transparent; color: var(--bleu-lien); box-shadow: inset 0 0 0 1px var(--bleu-lien); }
.btn.clair:hover { background: var(--bleu-lien); color: #FFF; }
.link { color: var(--bleu-lien); text-decoration: none; font-size: 16px; letter-spacing: 0; }
.link:hover { text-decoration: underline; }
.essai, .essai.offre { background: #F5F5F7; color: var(--encre); font-size: 13px; letter-spacing: 0; }
/* accueil centré comme une page produit */
.accueil .texte { text-align: center; align-items: center; }
.accueil .lead { color: var(--gris); font-size: 19px; margin-inline: auto; }
.chemins { justify-content: center; }
@media (min-width: 560px) { .chemins { justify-content: center; } }
/* cadres et cartes : coins arrondis, gris clair, sans papier */
.cadre { background: #F5F5F7; border-radius: 28px; padding: 0; box-shadow: none; overflow: visible; }
.cadre .studio { border-radius: 28px 28px 0 0; box-shadow: none; overflow: hidden; }
.cadre .studio::after { display: none; }
.cartel { padding: 10px 20px 14px; }
.cartel .legende { font-family: var(--f-body); font-style: normal; font-weight: 600; font-size: 17px !important; }
.points button::before { width: 8px; height: 8px; border-radius: 50%; background: var(--encre); }
.points button[aria-pressed="true"]::before { width: 8px; }
.studio, .tuile .vis, .carte .vis { border-radius: 22px; }
.fiche .studio { box-shadow: none; border-radius: 28px; }
.recap { background: #F5F5F7; box-shadow: none; border-radius: 18px; }
.recap::before { display: none; }
.recap .total b { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; }
.seg button { border-radius: 12px; border: 1px solid var(--filet); color: var(--encre); font-size: 15px; }
.seg button[aria-pressed="true"] { background: #FFF; box-shadow: inset 0 0 0 2px var(--bleu); border-color: transparent; }
.seg button[aria-pressed="true"]::before { display: none; }
.sw[aria-pressed="true"]::after { border-color: var(--bleu); border-width: 2px; }
.dispo { color: #1D7A35; background: #E8F5EC; }
/* sections sombres comme chez Apple */
.aplat-terre { background: #000 !important; color: #F5F5F7; }
.aplat-terre h2, .aplat-terre h3 { color: #F5F5F7; }
.aplat-terre .tps p { color: #A1A1A6; }
.aplat-terre .tps .n { color: #2997FF; font-family: var(--f-display); font-weight: 600; }
.aplat-terre .tps { border-color: #333336; }
.aplat-terre .link { color: #2997FF; }
.suivi-bande { background: #F5F5F7 !important; border-radius: 28px; }
.suivi-ligne input { border-radius: 12px; border: 1px solid var(--filet); background: #FFF; }
.suivi-ligne input:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(0,113,227,.35); border-color: var(--bleu); }
footer.pied { background: #F5F5F7; color: var(--gris); }
footer.pied ul a { color: var(--gris-fonce); font-size: 13px; }
footer.pied .legal { font-size: 13px; }
.top { background: rgba(255,255,255,.8) !important; }
.top.colle { border-bottom-color: #E8E8ED; }
.resa { border-radius: 22px; background: #FFF !important; }
@media (max-width: 600px) { .resa { border-radius: 22px 22px 0 0; } }
.resa input, .resa select { border-radius: 12px; background: #FFF; }
.resa .sceau { color: var(--bleu); }
.cadre .cartel .legende { font-family: var(--f-body); font-style: normal; font-weight: 600; }
.cadre .points button::before { width: 8px; height: 8px; border-radius: 50%; opacity: .25; }
.cadre .points button[aria-pressed="true"]::before { width: 8px; opacity: .9; transform: none; }
.cadre .points button { width: 28px; }
.resa input, .resa select { min-width: 0; width: 100%; } .resa .deux > *, .resa .tel > * { min-width: 0; }
.resa input, .resa select { border-radius: 12px !important; }

/* ===== Ambiance « Pierre et lumière » (Marie, 01/12 : visuel 1, bouton bordeaux) : sable, pierre, lumière du jour, bordeaux ===== */
:root { --fond: #EFE8DF !important; --papier: #F7F2EB; --papier-2: #E8DFD3; --encre: #1F1A17; --gris: #6B6058; --gris-fonce: #4A403A; --gris-2: #9A8E84; --filet: #DDD2C5; --bordeaux: #5A1E2B; --bordeaux-2: #6E2635; }
body { background: #EFE8DF !important; color: var(--encre); }
::selection { background: #E7CFD3; color: var(--encre); }
h1, h2, h3 { color: var(--encre); font-weight: 600; letter-spacing: -0.03em; }
h1 i, h2 i { color: var(--bordeaux) !important; }
.top { background: rgba(239,232,223,.86) !important; }
.top.colle { border-bottom-color: var(--filet); }
.btn { background: var(--bordeaux) !important; color: #F7F1E8 !important; border-radius: 14px !important; font-weight: 600; box-shadow: 0 12px 26px -14px rgba(90,30,43,.7) !important; transition: transform .2s var(--lent), box-shadow .3s ease, background-color .2s ease !important; }
.btn:hover { background: var(--bordeaux-2) !important; transform: translateY(-1px); }
.btn.clair { background: rgba(247,242,235,.7) !important; color: var(--bordeaux) !important; box-shadow: inset 0 0 0 1.5px var(--bordeaux) !important; backdrop-filter: blur(6px); }
.link { color: var(--bordeaux) !important; }
.essai, .essai.offre { background: var(--bordeaux) !important; color: #F7F1E8 !important; font-weight: 500; overflow: hidden; white-space: nowrap; padding-inline: 0; }
.essai.offre .defile { display: inline-flex; gap: 48px; padding-left: 48px; animation: defile 30s linear infinite; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .essai.offre .defile { animation: none; } }
/* accueil : la photo de studio, pierre et lumière du jour */
.accueil { padding-top: clamp(20px, 4vw, 40px); padding-bottom: 0; }
.accueil .wrap { display: block !important; min-height: 0 !important; }
.accueil .texte { text-align: center; align-items: center; position: relative; z-index: 2; }
.accueil .lead { color: var(--gris-fonce) !important; margin-inline: auto; }
.accueil .chemins { display: none; }
.accueil .cadre { display: none !important; }
.photo-pierre { position: relative; margin: clamp(-90px, -10vw, -40px) calc(-1 * max(20px, env(safe-area-inset-left, 0px))) 0; aspect-ratio: 2 / 3; max-height: 92vh; overflow: hidden; }
@media (min-width: 900px) { .photo-pierre { margin-inline: auto; max-width: 760px; border-radius: 28px; margin-top: 28px; aspect-ratio: 4 / 5; } }
.photo-pierre img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; -webkit-mask: linear-gradient(to bottom, transparent 0, #000 22%); mask: linear-gradient(to bottom, transparent 0, #000 22%); animation: lumiere 1.6s var(--lent) both; }
@media (min-width: 900px) { .photo-pierre img { -webkit-mask: none; mask: none; } }
@keyframes lumiere { from { opacity: 0; transform: scale(1.03); filter: brightness(.92); } }
.photo-pierre .boutons { position: absolute; left: 0; right: 0; bottom: max(22px, env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; align-items: center; padding-inline: 24px; }
.photo-pierre .boutons .btn { width: min(100%, 340px); }
@media (prefers-reduced-motion: reduce) { .photo-pierre img { animation: none; } }
/* cartes produits */
.tuile, .carte { background: var(--papier); border-radius: 22px; padding: 10px; box-shadow: 0 1px 0 rgba(31,26,23,.04), 0 14px 30px -22px rgba(31,26,23,.35); transition: transform .35s var(--lent), box-shadow .35s ease; }
@media (hover: hover) { .tuile:hover, .carte:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(31,26,23,.45); } }
.tuile .vis, .carte .vis { border-radius: 16px; }
.carte .prix { color: var(--bordeaux) !important; font-weight: 600; }
/* sections */
.aplat-terre { background: #1F1A17 !important; color: #F1EAE1 !important; }
.aplat-terre h2, .aplat-terre h3 { color: #F7F1E8 !important; }
.aplat-terre .tps p { color: #BFB3A8 !important; }
.aplat-terre .tps .n { color: #D9A7B2 !important; }
.aplat-terre .tps { border-color: #3A322D !important; }
.aplat-terre .link { color: #F7F1E8 !important; }
.suivi-bande { background: var(--papier) !important; box-shadow: 0 14px 30px -24px rgba(31,26,23,.35); }
.suivi-ligne input { background: #FFF !important; color: var(--encre) !important; border-color: var(--filet) !important; }
footer.pied { background: #E6DCCF !important; }
/* fiche produit et commande */
.seg button[aria-pressed="true"] { background: #FFF; box-shadow: inset 0 0 0 2px var(--bordeaux); color: var(--encre); }
.sw[aria-pressed="true"]::after { border-color: var(--bordeaux); }
.recap { background: var(--papier) !important; box-shadow: 0 14px 30px -24px rgba(31,26,23,.4) !important; }
.dispo { color: #F7F1E8; background: var(--bordeaux); }
.resa { background: var(--papier) !important; }
.resa input, .resa select { background: #FFF !important; }
.resa input:focus-visible, .resa select:focus-visible { border-color: var(--bordeaux) !important; outline: 0 !important; box-shadow: 0 0 0 3px rgba(90,30,43,.18) !important; }
.resa .num b, .resa .sceau { color: var(--bordeaux); }
:focus-visible { outline-color: var(--bordeaux); }
/* l'accueil comme le visuel 1 : titre posé sur le mur, boutons sur le sol, photo plein cadre */
.accueil { padding-top: 0; }
.accueil .wrap { display: grid !important; grid-template-columns: minmax(0,1fr) !important; }
.accueil .texte, .accueil .photo-pierre { grid-area: 1 / 1; }
.accueil .texte { align-self: start; padding-top: clamp(22px, 5vw, 48px); gap: 10px; }
.accueil .texte .eyebrow { display: none; }
.accueil h1 { font-size: clamp(32px, 8.6vw, 60px) !important; line-height: 1.04; max-width: 15ch; margin-inline: auto; text-wrap: balance; }
.accueil .texte .lead { display: none; }
.photo-pierre { margin: 0 calc(-1 * max(20px, env(safe-area-inset-left, 0px))) !important; aspect-ratio: auto !important; height: calc(100svh - var(--hdr, 84px) - 34px); min-height: 560px; max-height: 900px; }
.photo-pierre img { -webkit-mask: none !important; mask: none !important; object-position: 50% 100%; }
.photo-pierre::before { content: ""; position: absolute; top: 0; right: 0; bottom: auto; left: 0; inset: 0 0 auto; height: 38%; background: linear-gradient(to bottom, rgba(239,232,223,.78), rgba(239,232,223,0)); z-index: 1; pointer-events: none; }
.photo-pierre .boutons { z-index: 2; }
.sous-photo { text-align: center; color: var(--gris-fonce); font-size: 16px; max-width: 40ch; margin: 20px auto 0; }
@media (min-width: 900px) { .photo-pierre { margin-inline: auto !important; max-width: 820px; border-radius: 28px; margin-top: 16px !important; height: min(86vh, 900px); } .accueil .texte { padding-top: 72px; } }
.photo-pierre { height: calc(100svh - var(--hdr, 84px) - 96px) !important; min-height: 540px; } .photo-pierre .boutons { gap: 8px; } .photo-pierre .boutons .btn { min-height: 48px; }
body .accueil { padding-top: 0 !important; } .accueil h1 { font-size: clamp(28px, 7.4vw, 56px) !important; max-width: 17ch; } .accueil .texte { padding-top: 18px !important; }

/* ===== Couleurs franches (Marie, 01/12 : « plus de beige ; plus de couleurs, plus de dispositions de coloris, que ça bouge ») ===== */
:root { --f-display: "Outfit", system-ui, sans-serif; --f-body: "Outfit", system-ui, sans-serif; --fond: #FFFFFF !important; --papier: #FFFFFF; --papier-2: #F3F3F1; --encre: #141414; --gris: #5C5C5C; --gris-fonce: #3A3A3A; --filet: #E7E7E7;
  --orange: #FF6A1F; --cobalt: #2F4BF5; --lime: #D4F25A; --rose: #FF8FB8; --sapin: #0F6B4F; --violet: #7A4DFF; --bordeaux: #5A1E2B; }
body { background: #FFFFFF !important; color: var(--encre); font-size: 17px; }
h1, h2, h3 { color: var(--encre); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(36px, 9vw, 72px); line-height: .98; }
.top { background: rgba(255,255,255,.9) !important; }
.essai, .essai.offre { background: var(--lime) !important; color: #141A06 !important; font-weight: 700; }
.btn { border-radius: 999px !important; font-weight: 700; }
.photo-pierre .boutons .btn.clair { background: rgba(255,255,255,.85) !important; }
/* ruban qui file en biais */
.ruban { background: var(--cobalt); color: #fff; transform: rotate(-3deg); margin: -10px -20px 10px; padding: 14px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 3; box-shadow: 0 18px 30px -20px rgba(47,75,245,.7); }
.ruban .file { display: inline-flex; gap: 28px; font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 6vw, 40px); letter-spacing: -0.03em; animation: defile 22s linear infinite; padding-left: 28px; }
.ruban .file span::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: 28px; border-radius: 50%; background: var(--lime); vertical-align: middle; }
.ruban.bis { background: var(--lime); color: #141A06; transform: rotate(2deg); margin-top: -18px; box-shadow: none; }
.ruban.bis .file { animation-direction: reverse; animation-duration: 28s; }
.ruban.bis .file span::after { background: var(--orange); }
@media (prefers-reduced-motion: reduce) { .ruban .file { animation: none; } }
/* catégories : un bloc de couleur par famille, l'appareil déborde et penche */
.tuiles { gap: 14px !important; }
.tuile { border-radius: 26px !important; padding: 16px 16px 18px !important; overflow: visible; box-shadow: none !important; transition: transform .45s var(--lent) !important; }
.tuile .vis { background: transparent !important; overflow: visible !important; }
.tuile .vis img { transform: rotate(-8deg) translateY(-6%) scale(1.08); filter: drop-shadow(0 22px 22px rgba(0,0,0,.28)); transition: transform .6s var(--lent) !important; }
.tuile:nth-child(even) .vis img { transform: rotate(7deg) translateY(-6%) scale(1.08); }
@media (hover: hover) { .tuile:hover { transform: translateY(-4px) rotate(-1deg); } .tuile:hover .vis img { transform: rotate(0) translateY(-10%) scale(1.12); } }
.tuile .nom { font-family: var(--f-display) !important; font-weight: 800 !important; font-size: 26px !important; letter-spacing: -0.03em; }
.tuile[data-cat="iphone"] { background: var(--orange) !important; color: #fff; }
.tuile[data-cat="samsung"] { background: var(--cobalt) !important; color: #fff; }
.tuile[data-cat="ipad"] { background: var(--lime) !important; color: #141A06; }
.tuile[data-cat="macbook"] { background: var(--rose) !important; color: #2A0A16; }
.tuile[data-cat="airpods"] { background: var(--sapin) !important; color: #fff; }
.tuile[data-cat="accessoires"] { background: var(--violet) !important; color: #fff; }
.tuile[data-cat="lenovo"] { background: #141414 !important; color: #fff; }
.tuile .nom, .tuile .etat { color: inherit !important; }
.tuile .etat { opacity: .85; }
/* cartes produits : blanches, en relief, prix en pastille qui penche */
.carte { background: #fff !important; border-radius: 26px !important; padding: 10px !important; box-shadow: 0 0 0 1px #EEE, 0 26px 40px -30px rgba(0,0,0,.5) !important; }
.carte .vis { border-radius: 20px !important; }
.carte .prix { display: inline-block; background: var(--lime); color: #141A06 !important; font-weight: 700; padding: 3px 10px; border-radius: 999px; transform: rotate(-2deg); font-size: 13.5px !important; }
.carte:nth-child(3n+2) .prix { background: var(--orange); color: #fff !important; transform: rotate(2deg); }
.carte:nth-child(3n) .prix { background: var(--cobalt); color: #fff !important; }
/* comment ça marche : trois cartes de couleur qui penchent */
.aplat-terre { background: #141414 !important; }
.aplat-terre .temps { gap: 16px !important; }
.aplat-terre .tps { border: 0 !important; border-radius: 26px; padding: 22px 20px !important; }
.aplat-terre .tps:nth-child(1) { background: var(--orange); transform: rotate(-2deg); }
.aplat-terre .tps:nth-child(2) { background: var(--cobalt); transform: rotate(1.5deg); }
.aplat-terre .tps:nth-child(3) { background: var(--lime); transform: rotate(-1deg); }
.aplat-terre .tps h3, .aplat-terre .tps p, .aplat-terre .tps .n { color: #fff !important; }
.aplat-terre .tps:nth-child(3) h3, .aplat-terre .tps:nth-child(3) p, .aplat-terre .tps:nth-child(3) .n { color: #141A06 !important; }
.aplat-terre .tps .n { font-family: var(--f-display); font-weight: 800; font-size: 40px; }
/* suivi : bloc bordeaux, bouton lime */
.suivi-bande { background: var(--bordeaux) !important; border-radius: 28px; }
.suivi-bande h2, .suivi-bande label, .suivi-bande .eyebrow { color: #FFF4F6 !important; }
.suivi-bande .btn { background: var(--lime) !important; color: #141A06 !important; }
footer.pied { background: #141414 !important; color: #BDBDBD; }
footer.pied ul a, footer.pied .legal, footer.pied p { color: #BDBDBD !important; }
footer.pied .logo, footer.pied .mono { color: #fff !important; }
footer.pied .link { color: var(--lime) !important; }
/* fiche produit : choix bien marqués */
.seg button { border: 1.5px solid #CFCFCF !important; border-radius: 999px !important; color: #141414 !important; background: #fff !important; }
.seg button[aria-pressed="true"] { background: #141414 !important; color: #fff !important; box-shadow: none !important; border-color: #141414 !important; }
.sw { width: 40px !important; height: 40px !important; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.4), 0 5px 12px -4px rgba(0,0,0,.5) !important; }
.sw[aria-pressed="true"]::after { border: 2.5px solid #141414 !important; }
.recap { background: #fff !important; border-radius: 26px !important; box-shadow: 0 0 0 1px #EEE, 0 26px 40px -30px rgba(0,0,0,.5) !important; }
.recap .btn { background: #141414 !important; color: #fff !important; }
.dispo { background: var(--lime) !important; color: #141A06 !important; }
.resa { background: #fff !important; border-radius: 26px 26px 0 0; }
.carte .prix { border-radius: 14px; line-height: 1.25; padding: 4px 10px; font-size: 13px !important; }
.ruban { padding: 7px 0 !important; } .ruban .file { font-size: clamp(16px, 4.4vw, 28px) !important; gap: 22px !important; } .ruban .file span::after { margin-left: 22px !important; } .ruban.bis { margin-top: -10px !important; }

/* ===== Vérification du 01/12 : lisibilité sur l'orange, ordinateur, débordement ===== */
body { overflow-x: clip; }
.tuile[data-cat="iphone"] { color: #2A0F00 !important; }
.aplat-terre .tps:nth-child(1) h3, .aplat-terre .tps:nth-child(1) p, .aplat-terre .tps:nth-child(1) .n { color: #2A0F00 !important; }
.carte:nth-child(3n+2) .prix { color: #2A0F00 !important; }
@media (min-width: 900px) {
  body .accueil .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; align-items: center; gap: 48px; max-width: 1240px; }
  .accueil .texte { grid-area: 1 / 1 !important; text-align: left !important; align-items: flex-start !important; align-self: center !important; padding-top: 0 !important; opacity: 1 !important; }
  .accueil .texte .lead { display: block !important; margin-inline: 0 !important; }
  .accueil h1 { font-size: clamp(44px, 5vw, 76px) !important; margin-inline: 0 !important; max-width: 12ch; }
  .accueil .photo-pierre { grid-area: 1 / 2 !important; margin: 16px 0 !important; max-width: none !important; width: 100%; }
  .photo-pierre::before { display: none; }
}
@media (min-width: 900px) { .accueil .photo-pierre { width: min(100%, calc((100svh - var(--hdr, 84px) - 96px) * 0.7)) !important; justify-self: center; } }
@media (min-width: 900px) { .couv-fin { font-size: 24px !important; bottom: 132px !important; } }
.rubans { overflow: hidden; padding: 26px 0 30px; margin-top: -26px; position: relative; z-index: 3; }

/* anciens Safari (iOS 12 à 14) : sans aspect-ratio, une cale invisible donne leur hauteur aux cadres d'images */
@supports not (aspect-ratio: 1 / 1) {
  .carte .vis::before, .cadre .scene::before { content: ""; display: block; padding-top: 110%; }
  .mega-vedette .vis::before { content: ""; display: block; padding-top: 62.5%; }
  .tuile .vis::before { content: ""; display: block; padding-top: 100%; }
  .photo-pierre { min-height: 560px; }
}
/* tablettes en portrait (600 à 899 px) : la photo garde les proportions du téléphone (sinon elle est rognée en haut et le téléphone 3D monte sur le titre) */
@media (min-width: 600px) and (max-width: 899px) {
  .accueil .photo-pierre { width: min(100%, calc((100svh - var(--hdr, 84px) - 96px) * 0.7)) !important; margin: 16px auto 0 !important; border-radius: 28px; }
}
