@font-face { font-family: "Cormorant"; font-weight: 300; font-style: normal; font-display: swap; src: url("../assets/fonts/cg-300.ttf") format("truetype"); }
@font-face { font-family: "Cormorant"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/cg-400.ttf") format("truetype"); }
@font-face { font-family: "Cormorant"; font-weight: 300; font-style: italic; font-display: swap; src: url("../assets/fonts/cg-300i.ttf") format("truetype"); }

/* Transition native entre pages (Chrome, Edge, Safari récents) : fondu croisé au lieu d'un flash blanc. */
@view-transition { navigation: auto; }

:root {
  /* Noir abyssal strictement neutre (R = G = B), jamais de biais vert ou bleu. */
  --abysse: #000000;
  --abysse-2: #070707;
  --abysse-3: #0d0d0d;
  --givre: #eef0f2;
  --givre-doux: rgba(238,240,242,.66);
  --givre-faible: rgba(238,240,242,.42);
  --or: #c8a55f;
  --or-clair: #e2c98f;
  --emeraude: #1f9e76;
  --trait: rgba(238,240,242,.12);
  --trait-or: rgba(200,165,95,.38);
  --serif: "Cormorant", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --marge: clamp(20px, 5.5vw, 96px);
  --large: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--abysse); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--sans); color: var(--givre); background: var(--abysse); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--or); color: var(--abysse); }
:focus-visible { outline: 1px solid var(--or); outline-offset: 5px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--givre); color: var(--abysse); padding: 10px 14px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

/* Rideau noir : la page se construit dessous, un seul fondu global la révèle d'un bloc.
   Il redescend aussi au clic sur un lien interne, avant le changement de page. */
.rideau { position: fixed; inset: 0; z-index: 150; background: var(--abysse); opacity: 1; pointer-events: none; transition: opacity .9s var(--ease); }
.pret .rideau { opacity: 0; }
.depart .rideau { opacity: 1; transition-duration: .45s; }

/* En-tête commun */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px var(--marge); transition: padding .6s var(--ease), background .6s var(--ease), border-color .6s var(--ease); border-bottom: 1px solid transparent; }
.entete.compact { padding-top: 16px; padding-bottom: 16px; background: rgba(0,0,0,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--trait); }
.marque { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.marque svg { width: 30px; height: 30px; flex: none; }
.marque span { font-family: var(--serif); font-size: 1.32rem; letter-spacing: .34em; text-transform: uppercase; font-weight: 400; white-space: nowrap; }
.menu { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); list-style: none; }
.menu a { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--givre-doux); position: relative; padding: 6px 0; transition: color .4s; }
.menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--or); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--givre); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu .menu-contact { border: 1px solid var(--trait-or); padding: 11px 20px; color: var(--or-clair); }
.menu .menu-contact::after { display: none; }
.menu .menu-contact:hover, .menu .menu-contact[aria-current="page"] { background: var(--or); color: var(--abysse); border-color: var(--or); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; color: var(--givre); }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-ouvert .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Typographie */
.etiquette { display: inline-flex; align-items: center; gap: 14px; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--or); }
.etiquette::before { content: ""; width: 34px; height: 1px; background: var(--or); }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.04; letter-spacing: -.01em; }
h1 { font-size: clamp(3rem, 8.4vw, 8.2rem); }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.8rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.15; }
em { font-style: italic; color: var(--or-clair); }
.chapo { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--givre-doux); max-width: 38em; }
.fin { font-size: .92rem; color: var(--givre-faible); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: 16px; padding: 18px 30px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--or); color: var(--abysse); background: var(--or); position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s; cursor: pointer; font-family: inherit; }
.bouton::before { content: ""; position: absolute; inset: 0; background: var(--givre); transform: translateY(101%); transition: transform .6s var(--ease); z-index: -1; }
.bouton:hover::before { transform: translateY(0); }
.bouton:hover { border-color: var(--givre); }
.bouton .fleche { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .5s var(--ease); }
.bouton .fleche::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.bouton:hover .fleche { width: 28px; }
.bouton.fantome { background: transparent; color: var(--givre); border-color: var(--trait); }
.bouton.fantome::before { background: var(--givre); }
.bouton.fantome:hover { color: var(--abysse); }

/* Sections */
.section { padding: clamp(96px, 14vw, 200px) var(--marge); position: relative; }
.contenu { max-width: var(--large); margin: 0 auto; }
.filet { height: 1px; background: linear-gradient(90deg, transparent, var(--trait-or), transparent); margin: 0 var(--marge); }

/* Héros de l'accueil : champ de lumière animé (canvas) sur noir abyssal */
.heros { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 150px var(--marge) clamp(60px, 9vh, 110px); overflow: hidden; }
.heros canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.heros::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 110%, transparent 40%, rgba(0,0,0,.75) 100%); }
.heros-texte { position: relative; z-index: 2; max-width: var(--large); width: 100%; margin: 0 auto; }
.heros h1 { margin: 26px 0 34px; }
.heros .chapo, .page-tete .chapo { margin-bottom: 44px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.defile { position: absolute; right: var(--marge); bottom: clamp(60px, 9vh, 110px); z-index: 2; writing-mode: vertical-rl; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--givre-faible); display: flex; align-items: center; gap: 16px; }
.defile::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--or), transparent); animation: goutte 2.6s var(--ease) infinite; transform-origin: top; }
@keyframes goutte { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Lignes de titre révélées */
.ligne { display: block; overflow: hidden; padding-bottom: .06em; }
.ligne > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.pret .ligne > span { transform: none; }
.ligne:nth-child(2) > span { transition-delay: .09s; }
.ligne:nth-child(3) > span { transition-delay: .18s; }

/* Manifeste */
.manifeste { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 8vw, 140px); align-items: start; }
.manifeste h2 { font-size: clamp(2rem, 4.2vw, 4rem); }
.manifeste p + p { margin-top: 1.3em; }

/* Fenêtres secteurs */
.fenetres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(48px, 7vw, 90px); }
.fenetre { position: relative; display: block; aspect-ratio: 1 / 1.06; overflow: hidden; text-decoration: none; background: var(--abysse-3); border: 1px solid var(--trait); isolation: isolate; }
.fenetre-media, .fenetre-media video, .fenetre-media img, .fenetre-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fenetre-media { transition: transform 1.6s var(--ease), filter 1.2s var(--ease); filter: saturate(.9) brightness(.62); }
.fenetre:hover .fenetre-media { transform: scale(1.045); filter: saturate(1) brightness(.8); }
.fenetre::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.35) 100%); }
.fenetre-texte { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(24px, 3vw, 44px); }
.fenetre-num { position: absolute; top: clamp(24px, 3vw, 40px); left: clamp(24px, 3vw, 44px); z-index: 2; font-family: var(--serif); font-size: 1rem; letter-spacing: .2em; color: var(--or); }
.fenetre h3 { font-size: clamp(2rem, 3.4vw, 3.3rem); margin: 14px 0 12px; }
.fenetre p { color: var(--givre-doux); max-width: 30em; font-size: .98rem; }
.fenetre .lien { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--or-clair); }
.fenetre .lien i { display: block; width: 28px; height: 1px; background: currentColor; transition: width .6s var(--ease); }
.fenetre:hover .lien i { width: 56px; }
.fenetre-bordure { position: absolute; inset: 14px; z-index: 2; border: 1px solid var(--trait-or); opacity: 0; transition: opacity .8s var(--ease), inset .8s var(--ease); pointer-events: none; }
.fenetre:hover .fenetre-bordure { opacity: 1; inset: 20px; }
.fenetre-a-venir { grid-column: 1 / -1; aspect-ratio: auto; min-height: 220px; display: flex; align-items: center; background: transparent; border-style: dashed; border-color: var(--trait); }
.fenetre-a-venir::after { display: none; }
.fenetre-a-venir .fenetre-texte { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.fenetre-a-venir h3 { margin: 10px 0 0; font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

/* Méthode */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--trait); margin-top: clamp(48px, 7vw, 90px); }
.etapes li { padding: 34px 28px 10px 0; border-right: 1px solid var(--trait); }
.etapes li + li { padding-left: 28px; }
.etapes li:last-child { border-right: 0; }
.etapes b { display: block; font-family: var(--serif); font-weight: 300; font-size: 3rem; line-height: 1; color: var(--or); margin-bottom: 22px; }
.etapes h3 { font-size: 1.5rem; margin-bottom: 12px; }
.etapes p { color: var(--givre-doux); font-size: .95rem; }

/* Engagements */
.engagements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--trait); border: 1px solid var(--trait); margin-top: clamp(48px, 7vw, 90px); }
.engagements div { background: var(--abysse); padding: clamp(28px, 3.4vw, 50px); }
.engagements h3 { font-size: 1.55rem; margin: 18px 0 12px; }
.engagements p { color: var(--givre-doux); font-size: .95rem; }
.pastille { width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--or); display: block; }
.engagements div:nth-child(2) .pastille { border-color: var(--emeraude); }

/* Appel final */
.appel { text-align: center; padding: clamp(110px, 16vw, 230px) var(--marge); position: relative; overflow: hidden; }
.appel::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(200,165,95,.12) 0%, rgba(31,158,118,.05) 38%, transparent 66%); pointer-events: none; }
.appel h2 { max-width: 14em; margin: 26px auto 26px; position: relative; }
.appel .chapo { margin: 0 auto 44px; position: relative; }
.appel .actions { justify-content: center; position: relative; }

/* En-tête des pages intérieures */
.page-tete { position: relative; min-height: 92svh; display: flex; align-items: flex-end; padding: 150px var(--marge) clamp(60px, 9vh, 110px); overflow: hidden; }
.page-tete-media { position: absolute; inset: 0; }
.page-tete-media video, .page-tete-media img, .page-tete-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-tete-media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.page-tete-media video.joue { opacity: 1; }
.page-tete::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.94) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.55) 100%), linear-gradient(90deg, rgba(0,0,0,.6) 0%, transparent 60%); }
.page-tete .heros-texte { z-index: 2; }
.page-tete h1 { font-size: clamp(2.8rem, 7.4vw, 7rem); margin: 24px 0 30px; }
.mention { position: absolute; right: var(--marge); bottom: 22px; z-index: 3; font-size: .68rem; letter-spacing: .04em; color: var(--givre-faible); }

/* Colonnes texte */
.deux-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 140px); align-items: start; }
.liste-fine { list-style: none; border-top: 1px solid var(--trait); }
.liste-fine li { padding: 22px 0; border-bottom: 1px solid var(--trait); display: grid; grid-template-columns: 40px 1fr; gap: 12px; color: var(--givre-doux); }
.liste-fine li b { font-family: var(--serif); font-weight: 400; color: var(--or); font-size: 1.1rem; }
.liste-fine li strong { color: var(--givre); font-weight: 500; display: block; margin-bottom: 2px; }

/* Lecteur vidéo */
.lecteur { position: relative; margin-top: clamp(40px, 6vw, 80px); border: 1px solid var(--trait); background: var(--abysse-3); aspect-ratio: 16 / 9; overflow: hidden; }
.lecteur video { width: 100%; height: 100%; object-fit: cover; }
.legende { margin-top: 18px; font-size: .86rem; color: var(--givre-faible); }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--trait); border: 1px solid var(--trait); margin-top: clamp(48px, 7vw, 90px); }
.tarif { background: var(--abysse); padding: clamp(28px, 2.6vw, 40px); display: flex; flex-direction: column; position: relative; transition: background .6s var(--ease); }
.tarif:hover { background: var(--abysse-2); }
.tarif.phare { background: linear-gradient(180deg, rgba(200,165,95,.09), transparent 60%), var(--abysse); }
.tarif.phare::before { content: "Le plus choisi pour un site"; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--or); font-size: 0; }
.tarif h3 { font-size: 1.9rem; }
.tarif .prix { font-family: var(--serif); font-size: 2.9rem; font-weight: 300; line-height: 1; margin: 22px 0 6px; color: var(--givre); }
.tarif .prix small { font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--givre-faible); margin-left: 6px; }
.tarif .delai { font-size: .78rem; letter-spacing: .08em; color: var(--or); margin-bottom: 24px; }
.tarif ul { list-style: none; border-top: 1px solid var(--trait); padding-top: 18px; display: grid; gap: 10px; font-size: .9rem; color: var(--givre-doux); }
.tarif li { padding-left: 18px; position: relative; }
.tarif li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--or); }
.notes { margin-top: 26px; display: grid; gap: 6px; font-size: .84rem; color: var(--givre-faible); }

/* Scène pour les locations (visuel génératif, pas une vidéo client) */
.scene-locations { background: radial-gradient(80% 60% at 70% 30%, #151515 0%, #000 70%); }

/* Contact */
.formulaire { display: grid; gap: 26px; margin-top: 10px; }
.champ { display: grid; gap: 10px; }
.champ label { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--givre-faible); }
.champ input, .champ select, .champ textarea { font: inherit; color: var(--givre); background: transparent; border: 0; border-bottom: 1px solid var(--trait); padding: 12px 0; border-radius: 0; transition: border-color .4s; width: 100%; }
.champ select option { background: var(--abysse); }
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--or); }
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.statut { font-size: .88rem; color: var(--or-clair); min-height: 1.4em; }

/* Pied de page */
.pied { border-top: 1px solid var(--trait); padding: 70px var(--marge) 34px; }
.pied-haut { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied-haut p { color: var(--givre-faible); font-size: .9rem; max-width: 26em; margin-top: 18px; }
.pied h4 { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--or); font-weight: 500; margin-bottom: 18px; }
.pied ul { list-style: none; display: grid; gap: 10px; }
.pied ul a { text-decoration: none; color: var(--givre-doux); font-size: .92rem; transition: color .4s; }
.pied ul a:hover { color: var(--givre); }
.pied-bas { max-width: var(--large); margin: 60px auto 0; padding-top: 26px; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .76rem; color: var(--givre-faible); }
.pied-geant { font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 17vw, 16rem); line-height: .8; letter-spacing: .06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(200,165,95,.22); margin-top: 60px; user-select: none; white-space: nowrap; overflow: hidden; }

/* Apparition au défilement */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.rv.vu { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .tarifs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes li:nth-child(2) { border-right: 0; }
  .etapes li:nth-child(3) { padding-left: 0; }
}
@media (max-width: 860px) {
  .burger { display: block; z-index: 2; order: 3; margin-left: auto; margin-right: -10px; }
  .entete nav { order: 2; width: 0; }
  .marque { position: relative; z-index: 2; }
  .menu { z-index: 1; }
  .menu { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px; background: var(--abysse); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
  .menu a { font-size: .9rem; }
  .menu-ouvert .menu { opacity: 1; visibility: visible; }
  .menu-ouvert .entete { background: var(--abysse); }
  .manifeste, .deux-cols { grid-template-columns: 1fr; }
  .fenetres { grid-template-columns: 1fr; }
  .fenetre { aspect-ratio: 4 / 4.4; }
  .engagements { grid-template-columns: 1fr; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .pied-haut > div:first-child { grid-column: 1 / -1; }
  .defile { display: none; }
  .mention { left: var(--marge); right: auto; }
}
@media (max-width: 560px) {
  .marque span { font-size: 1.05rem; letter-spacing: .26em; }
  .tarifs, .etapes { grid-template-columns: 1fr; }
  .etapes li, .etapes li + li { padding: 28px 0 10px; border-right: 0; border-bottom: 1px solid var(--trait); }
  .deux-champs { grid-template-columns: 1fr; }
  .bouton { padding: 16px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
  .ligne > span { transform: none; }
}

/* Page contact */
.page-contact { padding-top: clamp(170px, 20vw, 240px); min-height: 100svh; }
.page-contact h1 { font-size: clamp(2.8rem, 6.4vw, 6rem); margin: 24px 0 30px; }
h1, h2, h3, .prix, .etapes b, .fenetre-num { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
