/* =====================================================================
   PROPOSITION 1 — « GALERIE »  (version retenue par Melvin le 18/11/2026)
   Blanc ivoire, encre, une touche de laiton. Esprit galerie / magazine.

   UN SEUL fichier de style pour toute la page (moins de requêtes) :
     1) la police Montserrat
     2) les styles de base (copie de commun/base.css, adaptée à Galerie)
     3) les styles propres à Galerie
   ⚠️ commun/base.css sert encore à Nocturne et Sable : un changement fait
   là-bas n'arrive PAS ici (et inversement).
   ===================================================================== */

/* ---------- 1) Police : Montserrat (la plus proche du mot STATUS du logo) ----------
   Police variable = un seul fichier pour toutes les graisses (200 à 500). */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url(/commun/polices/Montserrat-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --fond: #F5F1EA;
  --fond-2: #ECE5D9;
  --texte: #1E1A17;
  --doux: #6E655B;
  --accent: #7A5E38;   /* laiton, assez foncé pour être lisible en petit (contraste 5,3 sur ivoire) */
  --trait: rgba(30, 26, 23, .16);
  /* Vert d'eau du logo, en petites touches : --vert = couleur exacte du logo (décor),
     --vert-texte = même teinte plus foncée, lisible en petit texte (contraste 5,5 sur ivoire) */
  --vert: #24AA9E;
  --vert-texte: #176D66;
  --titre: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --corps: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --marge: clamp(16px, 5vw, 72px);
  --entete-h: 89px;   /* hauteur de l'en-tête ivoire (mesurée) : la photo d'accueil commence dessous */
}

/* ---------- 2) Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--texte); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

/* Lien « aller au contenu » pour la navigation au clavier */
.saut { position: absolute; left: -999px; top: 0; z-index: 100; padding: 12px 16px; background: var(--texte); color: var(--fond); }
.saut:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Ancres : on laisse la place de l'en-tête fixe */
section[id] { scroll-margin-top: 72px; }

/* Case « À compléter » : visible, mais discrète */
.vide { display: inline-block; padding: .15em .6em; border: 1px dashed currentColor; border-radius: 2px; font-size: .78em; letter-spacing: .04em; opacity: .55; white-space: nowrap; }

/* Léger glissement au défilement (le texte reste toujours visible) */
.apparait { transform: translateY(14px); transition: transform .9s ease; }
.apparait.visible { transform: none; }

/* Bandeau « Maquette de travail » : À RETIRER avant la vraie mise en ligne */
.bandeau-maquette { position: fixed; left: 16px; bottom: 24px; z-index: 45; padding: 8px 14px; border-radius: 40px; font-size: 12px; letter-spacing: .04em; background: var(--texte); color: var(--fond); opacity: .9; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apparait { transform: none; transition: none; }
}

/* Boutons de langue FR / EN */
.langues { display: inline-flex; gap: 2px; align-items: center; }
.langues button { background: none; border: 0; padding: 6px 4px; cursor: pointer; font-size: 12px; letter-spacing: .14em; opacity: .7; }
.langues button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--vert); text-underline-offset: 5px; }
.langues span { opacity: .35; font-size: 12px; }

/* Visionneuse photo */
#visionneuse { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #f3efe8; }
#visionneuse::backdrop { background: rgba(12, 11, 10, .92); }
#visionneuse figure { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 64px 16px 32px; }
#visionneuse img { max-height: calc(100vh - 150px); max-width: min(92vw, 1100px); object-fit: contain; }
#visionneuse figcaption { font-size: 14px; letter-spacing: .06em; opacity: .85; text-align: center; }
#visionneuse button { position: absolute; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
#visionneuse [data-fermer] { top: 16px; right: 16px; }
#visionneuse [data-prec] { left: 16px; top: 50%; transform: translateY(-50%); }
#visionneuse [data-suiv] { right: 16px; top: 50%; transform: translateY(-50%); }

/* Questions fréquentes (balises <details>) */
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; opacity: .8; }

/* Formulaire */
.formulaire label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 8px; }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--trait); padding: 10px 0 12px; font-size: 16px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.formulaire select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.formulaire select option { color: #1b1a18; }
.formulaire textarea { resize: vertical; min-height: 90px; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-bottom-color: var(--accent); }
.message-formulaire { font-size: 14px; padding: 12px 14px; border: 1px dashed var(--trait); margin-top: 16px; }

/* Bouton WhatsApp flottant (ordinateur) : couleur encre, plus discret que le vert vif */
.wa-flottant { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--texte); color: var(--fond); box-shadow: 0 8px 24px rgba(0,0,0,.14); transition: transform .3s, background .3s; }
.wa-flottant:hover { transform: translateY(-3px); background: var(--accent); }
.wa-flottant svg { width: 24px; height: 24px; }
/* Sur l'accueil, tant qu'on n'a pas défilé, le bouton WhatsApp reste caché : il chevaucherait le nom de l'univers (en bas à droite).
   Il apparaît dès le premier défilement ; en haut de page, « Prendre rendez-vous » est dans l'en-tête (23/11/2026). */
body:has(.hero):has(.entete:not(.defile)) .wa-flottant { opacity: 0; visibility: hidden; transform: translateY(8px); }
.wa-flottant { transition: transform .3s, background .3s, opacity .4s, visibility .4s; }

/* Barre fixe en bas d'écran (téléphone uniquement) */
.barre-mobile { display: none; }

/* ---------- 3) Galerie ---------- */
body { font-family: var(--corps); font-weight: 300; font-size: 16px; line-height: 1.7; }
h1, h2 { font-family: var(--titre); font-weight: 200; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-family: var(--corps); font-weight: 400; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.surtitre { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--vert-texte); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.surtitre::before { content: ""; width: 28px; height: 1px; background: var(--vert); }
.intro, .chapo { color: var(--doux); max-width: 46ch; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 30px; text-decoration: none; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; transition: background .3s, color .3s, border-color .3s; cursor: pointer; border: 1px solid var(--texte); }
.bouton-plein { background: var(--texte); color: var(--fond); }
.bouton-plein:hover { background: var(--accent); border-color: var(--accent); }
.bouton-contour { background: transparent; }
.bouton-contour:hover { background: var(--texte); color: var(--fond); }
.boutons { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; }
.lien-fleche { text-decoration: none; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid var(--trait); padding-bottom: 6px; }
.lien-fleche::after { content: "  →"; }
.lien-fleche:hover { border-color: var(--vert); }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--marge); transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.entete.defile { background: rgba(245, 241, 234, .94); backdrop-filter: blur(10px); padding-top: 14px; padding-bottom: 14px; border-color: var(--trait); }
/* Mot-logo « S TATUS » comme sur l'Instagram : le logo remplace le S, lettres fines et très espacées.
   Écarts mesurés sur la photo Instagram (essais/comparer-logo.html) : logo → T = 1 × hauteur des lettres,
   une lettre tous les 2 × hauteur des lettres.
   Le logo est dessiné directement dans la page (pas de fichier à télécharger en plus). */
.marque, .pied-marque { display: inline-flex; align-items: center; gap: .7em; text-decoration: none; font-size: 21px; }
/* Logo plus en avant (22/11/2026), placé comme chez Archea et Mobalpa : en haut à gauche, toujours visible.
   Le grand logo sur la photo a été retiré (demande de Melvin). */
.entete .marque { font-size: 30px; transition: font-size .4s; } /* tablette : 25 → 30 px (24/11/2026) */
/* En-tête sur 2 lignes comme Archea (ordinateur) : logo STATUS à gauche, en grand (choix de Melvin le 24/11/2026, après essai du logo centré) ;
   FR/EN et bouton à droite, menu centré dessous */
@media (min-width: 1081px) {
  :root { --entete-h: 145px; } /* mesuré le 24/11/2026 */
  .entete { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo droite" "menu menu"; row-gap: 16px; padding-top: 26px; padding-bottom: 0; }
  .entete .marque { grid-area: logo; justify-self: start; font-size: 48px; } /* logo à gauche, nettement plus grand : 35 → 48 px (24/11/2026) */
  .entete-droite { grid-area: droite; }
  .entete .menu { grid-area: menu; justify-content: center; gap: clamp(28px, 3vw, 52px); padding: 13px 0 12px; border-top: 1px solid var(--trait); transition: border-color .4s, padding .4s; }
  .entete.defile { padding-top: 14px; padding-bottom: 0; row-gap: 10px; }
  .entete.defile .marque { font-size: 30px; }
  .entete.defile .menu { border-color: var(--trait); padding: 9px 0 8px; }
  section[id] { scroll-margin-top: 140px; } /* en-tête plus haut sur 2 lignes : les titres ne passent pas dessous */
}
/* Proportions mesurées sur Instagram : le logo fait 1,06 × la hauteur des majuscules
   (Montserrat : majuscules = 0,70em → 0,742em) et dépasse un peu au-dessus des lettres. */
.logo { height: .742em; width: auto; aspect-ratio: 416 / 542; flex: none; }
.mot-marque { font-family: "Montserrat", sans-serif; font-weight: 300; letter-spacing: .75em; line-height: 1; display: inline-flex; align-items: baseline; }
/* Lettres dessinées (aucune police ne les a) : le A sans barre (Λ) et le PREMIER T à double barre (comme sur Instagram) */
.lettre-a { width: .70em; height: .71em; margin-right: .73em; fill: none; stroke: currentColor; stroke-width: 7.2; stroke-linejoin: miter; stroke-linecap: round; overflow: visible; }
.lettre-t { width: .602em; height: .707em; margin-right: .69em; fill: none; stroke: currentColor; stroke-width: 7.2; stroke-linecap: round; overflow: visible; }
/* 2e T, U et S dessinés d'après la photo Instagram (repère = pixels de la photo, majuscules = 99,8 px) */
.lettre-t2 { width: .5659em; height: .70em; margin-right: .75em; fill: none; stroke: currentColor; stroke-width: 6.82; stroke-linecap: butt; overflow: visible; }
.lettre-u, .lettre-s { height: .70em; margin-right: .75em; fill: none; stroke: currentColor; stroke-width: 7.4; stroke-linecap: butt; overflow: visible; }
.lettre-u { width: .5827em; stroke-width: 7.53; margin-left: .119em; margin-right: .876em; }
.lettre-s { width: .5275em; stroke-width: 7.34; margin-right: 0; }
.menu { display: flex; gap: clamp(16px, 1.6vw, 28px); }
.menu a { white-space: nowrap; text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--vert); transition: right .35s; }
.menu a:hover::after { right: 0; }
.entete-droite { display: flex; align-items: center; gap: 22px; }
.cta-entete { white-space: nowrap; min-height: 42px; padding: 0 20px; font-size: 12px; }
.bouton-menu { display: none; }

/* ---------- Accueil : grande photo plein écran ---------- */
.hero { position: relative; margin-top: var(--entete-h); min-height: calc(100vh - var(--entete-h)); min-height: calc(100svh - var(--entete-h)); display: flex; align-items: flex-end; padding: 48px var(--marge) 56px; color: #fff; overflow: hidden; background: #2a2420; }
.hero-fond { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
/* Diaporama de l'accueil (proposition C, 23/11/2026) : 4 photos en fondu, piloté par commun/textes.js (6 s chacune) */
.hero-diapos { position: absolute; inset: 0; }
.hero-diapo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-diapo.actif { opacity: 1; }
.hero-diapo:first-child .hero-fond { animation: hero-zoom 9s ease-out both; }
/* Accueil (23/11/2026, accord de Melvin) : l'accroche en grand, empilée à gauche (voir plus bas) ;
   en bas à droite, comme une légende de photo : le nom de l'univers puis la petite phrase. */
/* 23/11/2026 : accroche EMPILÉE à gauche (un groupe de mots par ligne), au milieu de la hauteur de l'écran ;
   la largeur en em fait les coupures : « L’art / d’aménager / les espaces / intérieurs. » (espace insécable dans « les espaces ») */
.hero h1.hero-signature { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 32px); white-space: pre-line;
  margin: 0; text-align: left; /* 2 lignes qui commencent au même endroit, bloc centré sur la photo (24/11/2026) : le retour à la ligne est écrit dans le texte (\n), la boîte fait pile la largeur de la phrase */ font-size: clamp(34px, 4.4vw, 64px); font-weight: 200; line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; text-shadow: 0 2px 24px rgba(20, 17, 14, .45); }
/* une barre vert d'eau avant et après (elles suivent le premier et le dernier mot) */
.hero h1.hero-signature::before, .hero h1.hero-signature::after { content: ""; display: inline-block; vertical-align: middle; width: .7em; height: 1px; background: #7FD0C6; }
.hero h1.hero-signature::before { margin-right: .35em; }
.hero h1.hero-signature::after { margin-left: .35em; }
.hero-texte { position: relative; width: 100%; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
/* nom de l'univers : lettres fines, majuscules, très espacées comme le mot-logo ; les 4 noms empilés, celui de la photo en fondu */
.hero-nom { display: grid; justify-items: end; margin: 0 -.34em 0 0; text-shadow: 0 1px 14px rgba(20, 17, 14, .45); font-family: var(--titre); font-weight: 200; text-transform: uppercase; line-height: 1;
  letter-spacing: .34em; font-size: min(16px, calc((100vw - 2 * var(--marge)) / 48)); white-space: nowrap; } /* 26 → 20 → 16 px (24/11/2026) */
.hero-nom span { grid-area: 1 / 1; opacity: 0; transition: opacity 1.4s ease; }
.hero-nom span.actif { opacity: 1; }
.hero .chapo { color: rgba(255,255,255,.9); font-size: 16px; max-width: 40ch; margin: 12px 0 0; text-shadow: 0 1px 12px rgba(20, 17, 14, .5); }
/* l'accroche est maintenant la petite ligne sous le nom de l'univers (titre principal de la page, même style que l'ancienne petite phrase) */
.hero h1.chapo { font-family: var(--corps); font-weight: 300; line-height: 1.4; letter-spacing: normal; text-wrap: wrap; font-size: clamp(19px, 1.7vw, 24px); max-width: none; } /* 16 → 24 px (24/11/2026, plus lisible) */
/* voiles : bas (légende) et haut (logo, menu) plus sombres + léger voile au centre pour l'accroche */
.hero-voile { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to top, rgba(20,17,14,.62) 0%, rgba(20,17,14,.18) 30%, rgba(20,17,14,.06) 64%, rgba(20,17,14,.06) 85%, rgba(20,17,14,.18) 100%); }
.hero-suite { position: absolute; left: 50%; margin-left: -25px; bottom: 28px; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .3s, border-color .3s; }
.hero-suite:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hero-suite svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; animation: hero-fleche 2.4s ease-in-out infinite; }
@keyframes hero-zoom { from { transform: scale(1.07); } to { transform: none; } }
@keyframes hero-fleche { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .hero-fond, .hero-suite svg { animation: none !important; } .hero-diapo { transition: none; } }
/* En-tête IVOIRE en permanence (24/11/2026, choix de Melvin) : le logo garde ses vraies couleurs (noir + vert d'eau),
   comme Poliform et Archea ; la grande photo commence juste en dessous (voir --entete-h et .hero) */
.entete { background: var(--fond); border-color: var(--trait); }
.menu-ouvert .entete { color: var(--texte); }

/* ---------- Titres de section ---------- */
/* Titres de section centrés, avec une courte phrase dessous (mise en page d'Archea et Mobalpa, 22/11/2026) */
.titre-section { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.titre-section .surtitre { justify-content: center; }
.titre-section .intro { margin-left: auto; margin-right: auto; }
.titre-section h2 { margin-bottom: 22px; }

/* ---------- Projets (grille unique, légende sous chaque photo) ---------- */
.projets { padding: 120px var(--marge); background: var(--fond-2); }
.galerie { columns: 3; column-gap: 32px; }
.projet { all: unset; display: block; cursor: zoom-in; margin-bottom: 40px; break-inside: avoid; width: 100%; }
.projet:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cadre { display: block; overflow: hidden; }
.projet img { width: 100%; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.projet:hover img { transform: scale(1.035); }
.legende { display: block; padding-top: 14px; font-size: 14px; color: var(--doux); line-height: 1.5; }
.legende .categorie { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--texte); margin-bottom: 4px; }
.lien-instagram { margin-top: 24px; text-align: center; }

/* ---------- Catalogue : couverture + téléchargement ---------- */
/* Catalogue façon Mobalpa : couverture posée sur un panneau vert d'eau (couleur du logo), texte dans une carte claire à côté */
.catalogue { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; padding: 120px var(--marge); }
.catalogue-panneau { background: var(--vert-texte); display: grid; place-items: center; padding: clamp(40px, 6vw, 90px); }
.catalogue-panneau .catalogue-couv { width: min(100%, 320px); }
.catalogue-texte { background: var(--fond-2); padding: clamp(36px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.catalogue-couv { display: block; box-shadow: 0 24px 60px rgba(30,26,23,.18); transition: transform .5s, box-shadow .5s; }
.catalogue-couv:hover { transform: translateY(-6px); box-shadow: 0 32px 70px rgba(30,26,23,.22); }
.catalogue-couv img { width: 100%; }
.catalogue-texte h2 { margin-bottom: 22px; }
.catalogue-texte > p { color: var(--doux); max-width: 46ch; }
.catalogue-infos { margin-top: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.catalogue .boutons { margin-top: 36px; }
.contact-pro { margin-top: -26px; margin-bottom: 44px; font-size: 14px; color: var(--doux); max-width: 44ch; }

/* ---------- Savoir-faire et matières ---------- */
/* Bandeau d'engagements (réassurance, comme Archea et Mobalpa) : 4 icônes fines + 2 lignes de texte */
.engagements { background: var(--fond-2); padding: 44px var(--marge); }
.engagements ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.engagements li { display: flex; align-items: center; gap: 16px; }
.engagements svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--vert-texte); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.engagements h3 { font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 4px; }
.engagements p { margin: 0; font-size: 14px; color: var(--doux); }

/* Nos univers : 4 cartes (photo + nom + lien vers la page du catalogue), comme « Nos espaces » (Archea) / « Nos collections » (Mobalpa) */
.univers { padding: 120px var(--marge) 60px; }
.univers-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.univers-carte { display: block; text-decoration: none; text-align: center; }
.univers-carte .cadre { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--fond-2); }
.univers-carte img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.univers-carte:hover img { transform: scale(1.04); }
.univers-carte .porte { width: 100%; height: 100%; padding: 14% 22%; transition: transform .9s ease; }
.univers-carte:hover .porte { transform: scale(1.04); }
.univers-nom { display: block; margin-top: 20px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; }
.univers-voir { display: inline-block; margin-top: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--vert-texte); border-bottom: 1px solid transparent; padding-bottom: 3px; transition: border-color .3s; }
.univers-carte:hover .univers-voir { border-color: var(--vert); }

/* Bandeau showroom (comme « Venir en magasin » de Mobalpa) : texte sur fond encre à gauche, photo à droite */
.bandeau-showroom { padding: 60px var(--marge) 120px; }
.bandeau-showroom .boite { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--texte); color: var(--fond); min-height: 460px; }
.boite-texte { padding: clamp(36px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.boite-texte .surtitre { color: #7FD0C6; }
.boite-texte .surtitre::before { background: #7FD0C6; }
.boite-texte h2 { margin-bottom: 20px; }
.boite-texte > p { color: rgba(245, 241, 234, .75); max-width: 44ch; }
.boite-infos { display: flex; flex-wrap: wrap; gap: 18px 48px; margin: 30px 0 34px; }
.boite-infos dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7FD0C6; margin-bottom: 6px; }
.boite-infos dd { margin: 0; font-size: 16px; }
.boite-texte .lien-fleche { color: var(--fond); border-color: rgba(245, 241, 234, .4); }
.boite-photo { margin: 0; overflow: hidden; position: relative; } /* la photo remplit sa moitié sans agrandir le bloc */
.boite-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* La signature Status : texte seul, en deux colonnes (titre-citation à gauche, texte à droite) */
.signature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); padding: 140px var(--marge) 40px; align-items: start; }
.signature-titre h2 { max-width: 16ch; }
.signature-texte p { color: var(--doux); max-width: 50ch; }
.signature-texte p + p { margin-top: 18px; }
.signature-texte .grand { color: var(--texte); font-size: 1.15em; }
.signature-texte .devise { color: var(--texte); font-size: 1.25em; font-weight: 300; line-height: 1.5; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--vert); }
.savoir { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: center; padding: 140px var(--marge); }
.savoir-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.savoir-texte h2 { margin-bottom: 26px; }
.savoir-texte p { color: var(--doux); max-width: 48ch; }
.savoir-texte p + p { margin-top: 18px; }

/* ---------- Méthode ---------- */
.methode { padding: 120px var(--marge); border-top: 1px solid var(--trait); }
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--trait); }
.etapes li { padding: 36px 32px 0 0; position: relative; }
.etapes li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--vert); }
.chiffre { font-family: var(--titre); font-weight: 200; font-size: 64px; line-height: 1; display: block; margin-bottom: 18px; color: var(--accent); }
.etapes h3 { margin-bottom: 12px; }
.etapes p { color: var(--doux); font-size: 15px; }
.delai { margin-top: 64px; font-size: 15px; color: var(--doux); }

/* ---------- Partout au Sénégal ---------- */
.senegal { background: var(--texte); color: var(--fond); padding: 130px var(--marge); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.senegal h2 { font-size: clamp(38px, 5vw, 72px); margin-bottom: 26px; }
.senegal p { opacity: .75; max-width: 44ch; }
.senegal .surtitre { color: #7FD0C6; }
.senegal .surtitre::before { background: #7FD0C6; }
.regions { display: flex; flex-wrap: wrap; gap: 14px 0; justify-content: flex-end; }
.regions li { font-family: var(--titre); font-size: clamp(18px, 2vw, 28px); font-weight: 200; letter-spacing: .04em; }
.regions li:not(:last-child)::after { content: "·"; margin: 0 18px; opacity: .4; }

/* ---------- Le studio ---------- */
.studio { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 7vw, 120px); align-items: center; padding: 140px var(--marge); }
/* Showroom sans photo : texte à gauche, fiche adresse à droite */
.studio-sans-photo { grid-template-columns: 1.2fr 1fr; background: var(--fond-2); }
.fiche-showroom { margin: 0; padding: 40px; background: var(--fond); border: 1px solid var(--trait); display: grid; gap: 24px; }
.fiche-showroom dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--vert-texte); margin-bottom: 6px; }
.fiche-showroom dd { margin: 0; font-size: 17px; }
.fiche-bouton { padding-top: 6px; }
.portrait { aspect-ratio: 4/5; background: var(--fond-2); display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--doux); }
.studio-texte h2 { margin-bottom: 26px; }
.studio-texte p { color: var(--doux); }

/* ---------- Questions ---------- */
.faq { padding: 40px var(--marge) 140px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.faq summary { font-family: var(--titre); font-size: 19px; font-weight: 300; }
.faq-liste { border-top: 1px solid var(--trait); }

/* ---------- Contact ---------- */
.contact { background: var(--fond-2); padding: 130px var(--marge); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.contact-texte h2 { margin-bottom: 24px; }
.contact-texte > p { color: var(--doux); max-width: 44ch; margin-bottom: 44px; }
.coordonnees { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin: 0; }
.coordonnees dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--vert-texte); margin-bottom: 6px; }
.coordonnees dd { margin: 0; font-size: 16px; }
/* Carte du showroom : bouton sobre, puis carte Google Maps au clic */
.carte { margin-top: 40px; }
.carte-bouton { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; aspect-ratio: 16 / 7; background: var(--fond); border: 1px solid var(--trait); cursor: pointer; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; transition: border-color .3s, background .3s; }
.carte-bouton:hover { border-color: var(--texte); background: #fff; }
.carte-bouton svg { width: 22px; height: 22px; fill: none; stroke: var(--vert-texte); stroke-width: 1.4; }
.carte-cadre { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
/* Image de carte (OpenStreetMap) avec le point du showroom au centre ; clic = ouvrir Google Maps */
.carte-image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--trait); }
.carte-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.carte-image:hover img { transform: scale(1.03); }
.carte-point { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.carte-point svg { width: 34px; height: 34px; fill: var(--vert-texte); stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 3px 6px rgba(30, 26, 23, .35)); order: 2; }
.carte-point span { order: 1; background: var(--texte); color: var(--fond); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; white-space: nowrap; }
.carte-note { margin-top: 12px; font-size: 12.5px; color: var(--doux); }
.carte-note a { color: var(--texte); text-underline-offset: 3px; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; align-content: start; }
.champ-large, .formulaire .bouton, .note-formulaire, .message-formulaire { grid-column: 1 / -1; }
.formulaire .bouton { justify-self: start; }
.note-formulaire { margin-top: -18px; font-size: 13px; color: var(--doux); }

/* ---------- Pied de page ---------- */
.pied { padding: 90px var(--marge) 40px; border-top: 1px solid var(--trait); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; align-items: start; }
.pied-marque { font-size: 24px; margin-bottom: 18px; }
.pied p { color: var(--doux); font-size: 14px; max-width: 36ch; }
.pied h3 { font-size: 11px; color: var(--vert-texte); margin-bottom: 16px; }
.pied-liens li + li { margin-top: 8px; }
.pied-liens a { text-decoration: none; font-size: 14px; }
.pied-liens a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pied .bouton { margin-top: 26px; }
.pied .langues { margin-top: 18px; }
.pied-bas { grid-column: 1 / -1; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--trait); font-size: 12px !important; letter-spacing: .06em; max-width: none !important; }

/* =====================================================================
   TABLETTE ET TÉLÉPHONE
   ===================================================================== */
/* Menu « hamburger » sous 1080 px (au-dessus, le menu a sa propre ligne sous le logo) */
@media (max-width: 1080px) {
  .menu { display: none; }
  .bouton-menu { display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0 8px; }
  .bouton-menu span { display: block; height: 1px; background: currentColor; transition: transform .3s; }
  .menu-ouvert .bouton-menu span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-ouvert .bouton-menu span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu-ouvert .menu { display: flex; position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 0 var(--marge); background: var(--fond); }
  .menu-ouvert .menu a { font-family: var(--titre); font-size: 30px; font-weight: 200; text-transform: none; letter-spacing: 0; }
  /* le flou d'arrière-plan empêcherait le menu de couvrir tout l'écran : on le coupe quand le menu est ouvert */
  .menu-ouvert .entete { background: var(--fond); backdrop-filter: none; }
}

/* Mise en page tablette (inchangée) */
@media (max-width: 1080px) {
  .hero { padding-bottom: clamp(64px, 11vh, 120px); } /* tablette : place pour la flèche sous la légende */
  .hero-nom { font-size: min(16px, calc((100vw - 2 * var(--marge)) / 30)); }
  .engagements ul { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .univers-grille { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .bandeau-showroom .boite { grid-template-columns: 1fr; }
  .boite-photo { aspect-ratio: 16 / 10; order: -1; }
  .catalogue { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pied { grid-template-columns: 1fr 1fr; }
  .pied > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .cta-entete { display: none; }
  .entete { padding: 14px 16px; }
  .marque, .entete .marque, .entete.defile .marque { font-size: 26px; } /* 23 → 26 px (24/11/2026) */
  .engagements { padding: 36px 16px; }
  .engagements ul { grid-template-columns: 1fr; row-gap: 20px; }
  /* Accueil plein écran sur téléphone : la photo occupe l'écran (moins la barre du bas) */
  :root { --entete-h: 73px; }
  .hero { min-height: calc(100svh - 72px - var(--entete-h)); padding: 40px 16px 78px; } /* 78 px en bas : le nom de l'univers reste au-dessus du bandeau « Maquette » */
  .hero-fond { object-position: var(--pos-m, 50% 45%); }
  /* téléphone : légende (nom + accroche) en bas à DROITE, comme sur ordinateur (24/11/2026, demande de Melvin) */
  .hero h1.hero-signature { font-size: 26px; top: 46%; }
  .hero-nom { letter-spacing: .3em; margin-right: -.3em; font-size: calc((100vw - 32px) / 28); }
  .hero .chapo { font-size: 15px; }
  .hero h1.chapo { font-size: min(18px, calc((100vw - 32px) / 20)); white-space: nowrap; } /* téléphone : UNE seule ligne (demande de Melvin), la plus grande taille qui tient dans l'écran */
  .hero-suite { display: none; }
  .projets, .methode, .senegal, .studio, .contact, .savoir, .catalogue { padding: 80px 16px; }
  .univers { padding: 80px 16px 30px; }
  .univers-grille { gap: 14px; row-gap: 30px; }
  .univers-nom { margin-top: 12px; }
  .univers-voir { font-size: 10px; letter-spacing: .14em; }
  .bandeau-showroom { padding: 30px 0 0; }
  .boite-texte { padding: 44px 16px 52px; }
  .catalogue-panneau { padding: 44px; }
  .catalogue-texte { padding: 36px 20px; }
  .catalogue { grid-template-columns: 1fr; gap: 0; }
  .catalogue-panneau .catalogue-couv { width: min(100%, 210px); }
  .titre-section { margin-bottom: 40px; }
  .galerie { columns: 2; column-gap: 12px; }
  .projet { margin-bottom: 26px; }
  .legende { font-size: 12.5px; padding-top: 10px; }
  .legende .categorie { font-size: 10.5px; letter-spacing: .16em; }
  .savoir { grid-template-columns: 1fr; gap: 36px; }
  .signature { grid-template-columns: 1fr; gap: 28px; padding: 80px 16px 16px; }
  .etapes { grid-template-columns: 1fr; }
  .chiffre { font-size: 48px; }
  .senegal { grid-template-columns: 1fr; gap: 36px; }
  .regions { justify-content: flex-start; }
  .studio, .studio-sans-photo { grid-template-columns: 1fr; }
  .fiche-showroom { padding: 26px; }
  .faq { grid-template-columns: 1fr; gap: 24px; padding: 20px 16px 80px; }
  .faq summary { font-size: 17px; }
  .contact { grid-template-columns: 1fr; }
  .coordonnees, .formulaire { grid-template-columns: 1fr; }
  .carte-bouton { aspect-ratio: 4 / 3; }
  .carte-cadre { aspect-ratio: 4 / 3; }
  .carte-image { aspect-ratio: 4 / 3; }
  .pied { grid-template-columns: 1fr; padding: 64px 16px 32px; gap: 36px; }
  /* Bandeau maquette au-dessus de la barre du bas */
  .bandeau-maquette { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); left: 12px; font-size: 11px; }
  /* Téléphone : pas de bouton flottant, une barre fixe en bas (rendez-vous + WhatsApp) */
  .wa-flottant { display: none; }
  .barre-mobile { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--fond); border-top: 1px solid var(--trait); }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
  .barre-mobile .rdv { background: var(--texte); color: var(--fond); }
  .barre-mobile .wa { padding: 0 18px; border: 1px solid var(--trait); }
  .barre-mobile svg { width: 20px; height: 20px; }
  body { padding-bottom: 72px; }
}

/* ---------- Ajouts du 24/11/2026 (étude des sites haut de gamme) ---------- */
/* Formulaire « en clics » : groupes de choix (Vous êtes / Rendez-vous / Plutôt), cases carrées comme les boutons du site */
.choix { border: 0; padding: 0; margin: 0; min-width: 0; }
.choix legend { padding: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 12px; }
.formulaire .choix label { display: inline-flex; margin: 0 8px 8px 0; font-size: 14px; letter-spacing: normal; text-transform: none; opacity: 1; cursor: pointer; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choix span { display: inline-block; padding: 10px 16px; border: 1px solid var(--trait); transition: background .25s, color .25s, border-color .25s; }
.choix label:hover span { border-color: var(--texte); }
.choix input:checked + span { background: var(--texte); border-color: var(--texte); color: var(--fond); }
.choix input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
/* « Prendre rendez-vous » arrive juste au-dessus du formulaire, sous l'en-tête fixe */
#formulaire { scroll-margin-top: calc(var(--entete-h) + 28px); }

/* FAQ : réponse avec un bouton (question « architecte, promoteur ou hôtel ») */
.faq-reponse { padding: 0 40px 24px 0; }
.faq-reponse p { padding: 0 0 14px; opacity: .8; }

/* Fenêtre « univers » : photos + devis WhatsApp + catalogue, sans quitter le site */
#fenetre-univers { border: 0; padding: 0; background: transparent; width: min(980px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px); color: var(--texte); }
#fenetre-univers::backdrop { background: rgba(12, 11, 10, .72); }
.fu-boite { position: relative; background: var(--fond); padding: clamp(28px, 4vw, 52px); max-height: calc(100dvh - 48px); overflow-y: auto; }
.fu-boite h2 { font-family: var(--titre); font-weight: 300; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: .04em; margin-bottom: 28px; }
.fu-fermer { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 1px solid var(--trait); background: var(--fond); color: var(--texte); font-size: 16px; cursor: pointer; }
.fu-fermer:hover { border-color: var(--texte); }
.fu-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.fu-photos.fu-seul { grid-template-columns: minmax(0, 340px); }
.fu-photos figure { min-width: 0; }
.fu-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--fond-2); }
.fu-photos figcaption { font-size: 13px; color: var(--doux); margin-top: 8px; line-height: 1.4; }
.fu-dessin { display: block; aspect-ratio: 4 / 5; background: var(--fond-2); }
.fu-dessin .porte { width: 100%; height: 100%; padding: 14% 22%; }
.fu-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }
@media (max-width: 760px) {
  #fenetre-univers { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .fu-boite { height: 100dvh; max-height: 100dvh; padding: 24px 16px 32px; }
  .fu-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fu-photos.fu-seul { grid-template-columns: minmax(0, 260px); }
  .fu-boite .bouton { width: 100%; padding: 0 16px; text-align: center; }
}
