/* LLP Perspective, page de présentation.
   Noir et blanc, gris seulement pour les textes secondaires. Les images portent la page, le texte reste court.
   Police : Geist partout, titres en 600 comme dans l'espace client. Aucun filet décoratif. */
:root {
  --noir: #0a0a0a; --noir-2: #161616; --blanc: #ffffff; --gris: #8c8c8c; --gris-clair: #c8c8c8; --gris-fonce: #5a5a5a;
  --titre: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --texte: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --marge: clamp(20px, 5vw, 80px);
  --lent: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--noir); color: var(--blanc); font: 400 16px/1.7 var(--texte); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--blanc); outline-offset: 4px; }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--blanc); color: var(--noir); padding: 8px 14px; z-index: 50; }
.evitement:focus { left: 8px; }

h1, h2 { font-family: var(--titre); font-weight: 600; margin: 0; letter-spacing: -.025em; }
h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1.05; }
.sur, figcaption, .legende-image { font: 400 11px/1.5 var(--texte); letter-spacing: .03em; text-transform: uppercase; color: var(--gris); }

/* boutons */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 26px; border: 1px solid currentColor; text-decoration: none;
  font: 400 11px/1 var(--texte); letter-spacing: .03em; text-transform: uppercase; transition: background .4s var(--lent), color .4s var(--lent); }
.btn:hover { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn.plein { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn.plein:hover { background: transparent; color: var(--blanc); }

/* en-tête */
.entete { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 40px; padding: 26px var(--marge); transition: background .5s var(--lent), padding .5s var(--lent); }
.entete.defile { background: rgba(10, 10, 10, .9); padding-top: 16px; padding-bottom: 16px; backdrop-filter: blur(8px); }
.marque { display: block; line-height: 0; text-decoration: none; }
.marque img { width: clamp(118px, 11vw, 150px); height: auto; transition: width .5s var(--lent); }
.entete.defile .marque img { width: clamp(100px, 9vw, 124px); }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { font: 400 11px/1 var(--texte); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; opacity: .8; transition: opacity .3s; }
.nav a:hover { opacity: 1; }
.entete .btn { min-height: 40px; padding: 0 20px; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .5s var(--lent); }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }

/* bouton menu et menu plein écran */
.menu-bouton { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 2px; background: none; border: 0; color: inherit; cursor: pointer; font: 400 11px/1 var(--texte); letter-spacing: .03em; text-transform: uppercase; }
.menu-bouton .trait { position: relative; width: 26px; height: 1px; background: currentColor; transition: background .3s; }
.menu-bouton .trait::before, .menu-bouton .trait::after { content: ''; position: absolute; left: 0; width: 26px; height: 1px; background: currentColor; transition: transform .5s var(--lent); }
.menu-bouton .trait::before { transform: translateY(-5px); } .menu-bouton .trait::after { transform: translateY(5px); }
.menu-ouvert .menu-bouton .trait { background: transparent; }
.menu-ouvert .menu-bouton .trait::before { transform: rotate(45deg); } .menu-ouvert .menu-bouton .trait::after { transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 15; background: var(--noir); display: flex; flex-direction: column; justify-content: center; padding: 120px var(--marge) 40px; opacity: 0; transition: opacity .6s var(--lent); }
.menu.ouvert { opacity: 1; }
.menu[hidden] { display: none; }
.menu ol { list-style: none; margin: 0; padding: 0; }
.menu li { overflow: hidden; }
.menu li a { display: inline-block; font: 600 clamp(40px, 6.4vw, 92px)/1.12 var(--titre); letter-spacing: -.025em; text-decoration: none; color: var(--gris); transform: translateY(100%); transition: transform .9s var(--lent), color .3s; }
.menu.ouvert li a { transform: none; }
.menu li:nth-child(2) a { transition-delay: .05s; } .menu li:nth-child(3) a { transition-delay: .1s; } .menu li:nth-child(4) a { transition-delay: .15s; } .menu li:nth-child(5) a { transition-delay: .2s; } .menu li:nth-child(6) a { transition-delay: .25s; }
.menu li a:hover, .menu li a:focus-visible { color: var(--blanc); }
.menu-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; margin-top: clamp(40px, 7vh, 80px); font-size: 15px; letter-spacing: .06em; }
.menu-pied a:not(.btn) { text-decoration: none; color: var(--gris-clair); } .menu-pied a:not(.btn):hover { color: var(--blanc); }
.menu-ouvert { overflow: hidden; }
.menu-ouvert .entete { background: transparent; backdrop-filter: none; }
.menu-ouvert .entete .nav, .menu-ouvert .entete .espace { visibility: hidden; }

/* ouverture */
.ouverture { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.ouverture .fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.05); animation: approche 2.8s var(--lent) forwards; }
.ouverture::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.2) 50%, rgba(10,10,10,0) 80%), linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,0) 28%, rgba(10,10,10,.35) 55%, rgba(10,10,10,.9) 100%); }
.ouverture-texte { padding: 0 var(--marge) clamp(60px, 9vh, 110px); }
.ouverture .sur { color: rgba(255,255,255,.85); margin: 0 0 18px; animation: monte 1.2s .5s var(--lent) both; }
h1 { font-size: clamp(48px, 8.4vw, 136px); line-height: .98; max-width: 14ch; margin-bottom: 40px; animation: monte 1.4s .7s var(--lent) both; }
.ouverture .btns { animation: monte 1.4s 1s var(--lent) both; }
.descendre { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: var(--blanc); opacity: .85; animation: flotte 2.4s ease-in-out infinite; }
.descendre:hover { opacity: 1; }
.descendre:focus-visible { outline: 1px solid var(--blanc); outline-offset: 4px; }
@keyframes flotte { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@keyframes approche { to { transform: scale(1); } }
@keyframes monte { from { opacity: 0; transform: translateY(20px); } }

/* une phrase */
.phrase { padding: clamp(110px, 16vw, 230px) var(--marge); text-align: center; }
.phrase p { margin: 0 auto; font: 500 clamp(26px, 3.4vw, 50px)/1.3 var(--titre); letter-spacing: -.02em; }

/* images */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); padding: 0 var(--marge); }
.duo img, .galerie img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--noir-2); }
figure { margin: 0; }
figcaption { margin-top: 14px; }
.plein img { width: 100%; height: auto; max-height: 100svh; object-fit: cover; margin-top: clamp(80px, 10vw, 150px); }
.legende-image { margin: 14px var(--marge) 0; }

/* ossature / rendu */
.comparaison { padding: clamp(80px, 10vw, 150px) 0 0; }
.comparer { position: relative; aspect-ratio: 16 / 9; max-height: 100svh; width: 100%; overflow: hidden; --x: 50%; background: var(--noir-2); }
.comparer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparer .dessus { clip-path: inset(0 0 0 var(--x)); }
.comparer input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.poignee { position: absolute; top: 50%; left: var(--x); width: 60px; height: 60px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255,255,255,.92); z-index: 2; pointer-events: none; }
.poignee::before, .poignee::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.poignee::before { left: 13px; border-right-color: var(--noir); } .poignee::after { right: 13px; border-left-color: var(--noir); }
.comparer:has(input:focus-visible) .poignee { outline: 1px solid var(--blanc); outline-offset: 5px; }

/* dossier */
.dossier { padding: clamp(120px, 14vw, 210px) var(--marge) 0; }
.dossier h2 { margin-bottom: clamp(40px, 5vw, 70px); }
.galerie { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(10px, 1.4vw, 20px); }
.g-plan { grid-row: 1 / span 2; display: flex; flex-direction: column; }
.galerie .g-plan img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; object-fit: contain; background: #fcfcfa; padding: clamp(14px, 2vw, 30px); }
.g-aerien { grid-column: 2 / span 2; }
.contenu-dossier { max-width: 760px; margin: clamp(50px, 6vw, 80px) 0 0; font: 400 clamp(20px, 2vw, 28px)/1.45 var(--titre); color: var(--gris-clair); }

/* visite */
.visite { padding-top: clamp(120px, 14vw, 210px); }
.visite video { width: 100%; max-height: 100svh; aspect-ratio: 16 / 9; object-fit: cover; background: var(--noir-2); }
.visite-texte { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: end; padding: clamp(40px, 5vw, 70px) var(--marge) 0; }
.visite-texte p { margin: 0; color: var(--gris-clair); max-width: 520px; }

/* engagements */
.engagements { padding: clamp(120px, 14vw, 210px) var(--marge); display: grid; gap: clamp(18px, 2.4vw, 34px); }
.engagements p { margin: 0; font: 500 clamp(26px, 3.6vw, 54px)/1.15 var(--titre); letter-spacing: -.02em; }
.engagements p:nth-child(2) { color: var(--gris-clair); }
.engagements p:nth-child(3) { color: var(--gris); }

/* tarifs */
.tarifs { padding: clamp(120px, 14vw, 210px) var(--marge) 0; }
.tarifs .tete { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.tarifs .tete p { margin: 0; color: var(--gris-clair); max-width: 520px; }
.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.formule { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); background: var(--noir-2); }
.formule.mise { background: var(--blanc); color: var(--noir); }
.formule .nom { font: 400 11px/1 var(--texte); letter-spacing: .03em; text-transform: uppercase; color: var(--gris); margin: 0 0 26px; }
.formule .prix { font: 600 clamp(54px, 5.6vw, 84px)/1 var(--titre); letter-spacing: -.03em; margin: 0; }
.formule .prix small { font: 400 12px/1 var(--texte); letter-spacing: .03em; margin-left: 8px; color: var(--gris); }
.formule .annuel { margin: 10px 0 30px; color: var(--gris); font-size: 14px; }
.formule ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.formule li { padding-left: 22px; position: relative; } .formule li::before { content: ''; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: currentColor; }
.formule li.non { color: var(--gris); text-decoration: line-through; text-decoration-color: rgba(140,140,140,.6); }
.formule .btn { margin-top: auto; justify-content: center; }
.formule.mise .btn { background: var(--noir); color: var(--blanc); border-color: var(--noir); } .formule.mise .btn:hover { background: transparent; color: var(--noir); }
.tarifs .note a { color: var(--blanc); }
.tarifs .note { margin: 22px 0 0; color: var(--gris); font-size: 13px; max-width: 900px; }
.doux { color: var(--gris); }

/* à propos */
.apropos { padding: clamp(120px, 14vw, 210px) var(--marge) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.apropos h2 { margin: 18px 0 34px; font-size: clamp(34px, 4vw, 60px); }
.apropos-texte p:not(.sur) { color: var(--gris-clair); max-width: 520px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; text-decoration: none; font: 400 11px/1 var(--texte); letter-spacing: .03em; text-transform: uppercase; }
.lien-fleche::after { content: ''; width: 34px; height: 1px; background: currentColor; transition: width .5s var(--lent); }
.lien-fleche:hover::after { width: 54px; }
.realisations .sur { margin: 0 0 18px; }
.bande { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: clamp(10px, 1.4vw, 20px); }
.bande figure:first-child { grid-row: 1 / span 2; }
.bande figure { display: flex; flex-direction: column; }
.bande img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3; background: var(--noir-2); }
.bande figure:first-child img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
.realisations .legende-image { margin: 18px 0 0; }

/* support */
.support { padding: clamp(120px, 14vw, 210px) var(--marge); }
.support h2 { margin-bottom: clamp(40px, 5vw, 70px); }
.colonnes { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(30px, 4vw, 70px); }
.colonnes h3 { font: 400 11px/1.4 var(--texte); letter-spacing: .03em; text-transform: uppercase; color: var(--gris); margin: 0 0 16px; }
.colonnes p { margin: 0; color: var(--gris-clair); max-width: 520px; }
.colonnes p a { font: 400 clamp(20px, 1.8vw, 26px)/1.3 var(--titre); color: var(--blanc); text-decoration: none; }
.colonnes p a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* rendez-vous */
.rdv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; max-width: 980px; }
.rdv .ligne { display: flex; flex-direction: column; gap: 10px; }
.rdv .large, .rdv .btns, .rdv .aide, .rdv .erreur { grid-column: 1 / -1; }
.rdv label { font: 400 11px/1.4 var(--texte); letter-spacing: .03em; text-transform: uppercase; color: var(--gris-fonce); }
.rdv .opt { text-transform: none; letter-spacing: .04em; }
.rdv input, .rdv select, .rdv textarea { font: 400 17px/1.4 var(--texte); color: var(--noir); background: transparent; border: 0; border-bottom: 1px solid #bdbdbd; padding: 10px 0; border-radius: 0; appearance: none; }
.rdv select { background: linear-gradient(45deg, transparent 50%, var(--noir) 50%) right 6px center / 6px 6px no-repeat, linear-gradient(-45deg, transparent 50%, var(--noir) 50%) right 0 center / 6px 6px no-repeat; padding-right: 24px; }
.rdv input:focus, .rdv select:focus, .rdv textarea:focus { outline: none; border-bottom-color: var(--noir); }
.rdv textarea { resize: vertical; }
.rdv .aide { margin: 0; color: var(--gris-fonce); font-size: 13px; }
.rdv .erreur { margin: 0; font-size: 14px; color: var(--noir); }
.contact :focus-visible { outline-color: var(--noir); }

/* contact : la seule section blanche */
.contact { background: var(--blanc); color: var(--noir); padding: clamp(110px, 13vw, 200px) var(--marge); }
.contact h2 { margin-bottom: 50px; }
.coordonnees { display: flex; flex-wrap: wrap; gap: 10px 50px; margin: 0 0 40px; font: 400 18px/1.4 var(--texte); letter-spacing: .06em; }
.coordonnees a { text-decoration: none; }
.coordonnees a:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact .btn:hover { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.contact .btn.plein { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.contact .btn.plein:hover { background: transparent; color: var(--noir); }

/* pied */
.pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 36px var(--marge); font: 400 11px/1.6 var(--texte); letter-spacing: .03em; text-transform: uppercase; color: var(--gris); }
.pied .liens { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.pied a { text-decoration: none; } .pied a:hover { color: var(--blanc); }
.marque-pied { line-height: 0; } .marque-pied img { width: 120px; height: auto; }

/* apparition au défilement (accueil.js ajoute .vu) */
.apparait { opacity: 0; transform: translateY(24px); transition: opacity 1.2s var(--lent), transform 1.2s var(--lent); }
.apparait.vu { opacity: 1; transform: none; }

/* mentions légales */
.texte { max-width: 820px; margin: 0 auto; padding: 160px var(--marge) 110px; }
.texte h1 { font-size: clamp(40px, 5vw, 64px); max-width: none; animation: none; margin-bottom: 30px; }
.texte h2 { font-size: 30px; margin: 46px 0 10px; }
.texte p, .texte li { color: var(--gris-clair); }
.texte mark { background: var(--blanc); color: var(--noir); padding: 0 4px; }
.entete.fixe { background: var(--noir); }

@media (min-width: 1101px) { .menu-bouton { display: none; } }
@media (max-width: 1100px) { .nav { display: none; } .entete .espace { margin-left: auto; } }
@media (max-width: 900px) {
  .tarifs .tete, .apropos, .colonnes { grid-template-columns: 1fr; }
  .formules { grid-template-columns: 1fr; }
  .duo, .visite-texte { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr 1fr; }
  .g-plan { grid-row: auto; grid-column: 1 / -1; } .galerie .g-plan img { flex: none; max-height: 80vh; }
  .g-aerien { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .entete { gap: 14px; padding-top: 18px; padding-bottom: 18px; }
  .marque img { width: 108px; }
  .entete .btn { padding: 0 14px; letter-spacing: .03em; }
  .entete .espace { display: none; }
  .menu-bouton { margin-left: auto; }
  .bande figure:first-child img { flex: none; aspect-ratio: 4 / 3; }
  .menu-bouton .mot { display: none; }
  .rdv { grid-template-columns: 1fr; }
  .bande { grid-template-columns: 1fr; } .bande figure:first-child { grid-row: auto; }
  .galerie { grid-template-columns: 1fr; }
  .ouverture .fond { object-position: 62% center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .apparait { opacity: 1; transform: none; }
}
