/* Vanguard Protection Group · V4 « nuit »
   Fond quasi noir, halos bleu nuit, cartes en verre, titres fins.
   Le sable (#C8AE86, l'écusson brodé) reste le seul accent de marque. */

@font-face {
  font-family: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-standard-normal.woff2) format('woff2-variations');
  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;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* courbes : sortie douce pour les entrées, aller-retour pour ce qui se déplace (pas de ressort) */
  --entree: cubic-bezier(.22, 1, .36, 1);
  --deplace: cubic-bezier(.65, 0, .35, 1);
  --fond: #030507;
  --fond-pied: #0A0A0B;
  --nuit: #17181A;
  --texte: #F1F2EF;
  --texte-2: rgba(241, 242, 239, .66);
  --texte-3: rgba(241, 242, 239, .54); /* 4,5:1 minimum (WCAG AA) */
  --gris-titre: #B3AFA8;
  --filet: rgba(255, 255, 255, .10);
  --verre: rgba(255, 255, 255, .035);
  --verre-bord: rgba(255, 255, 255, .12);
  --sable: #C8AE86;
  --sable-clair: #E2D3B6;
  --erreur: #FF8A7A;
  --rayon: 22px;
  --wrap: 1320px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 400 17px/1.6 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -.03em; line-height: 1.04; }
p { margin: 0; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--sable); outline-offset: 3px; border-radius: 6px; }
.evite { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--sable-clair); color: #0B0D10; border-radius: 999px; }
.evite:focus { top: 16px; }

/* ---------- Verre : cartes translucides à filet clair ---------- */
.verre {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid var(--verre-bord); border-radius: var(--rayon);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

/* ---------- Bandeau défilant ---------- */
.ticker { overflow: hidden; border-bottom: 1px solid var(--filet); height: 40px; display: flex; align-items: center; }
.ticker-piste, .defile-piste { display: flex; align-items: center; width: max-content; animation: defile 48s linear infinite; }
.ticker span { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(241,242,239,.78); padding: 0 34px; white-space: nowrap; }
.ticker i { font-style: normal; font-size: 12px; color: var(--sable); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- En-tête ---------- */
.tete { position: relative; z-index: 5; }
.tete .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 30px; width: auto; }
.tete nav { display: flex; align-items: center; gap: 28px; }
.nl { text-decoration: none; font-size: 15px; color: var(--texte-2); transition: color .2s; }
.nl:hover { color: var(--texte); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--filet); border-radius: 999px; }
.lang a { text-decoration: none; font-size: 12px; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; color: var(--texte-3); }
.lang a[aria-current] { background: rgba(255,255,255,.1); color: var(--texte); }
.pastille {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--verre-bord); text-decoration: none; font-size: 14px; color: var(--texte);
  background: rgba(255,255,255,.04); transition: background .2s, border-color .2s, transform .16s var(--entree);
}
.pastille:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 72px; isolation: isolate; min-height: min(calc(100svh - 92px), 980px); display: flex; flex-direction: column; justify-content: center; }
.halo {
  position: absolute; inset: -136px 0 auto; height: 1100px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 46% at 74% 46%, rgba(168,150,120,.42), transparent 70%),
    radial-gradient(140% 42% at 50% 0%, var(--nuit), transparent 75%),
    radial-gradient(60% 50% at 10% 30%, rgba(60,55,48,.16), transparent 70%);
}
.halo.bas { inset: auto 0 -200px; height: 900px; background: radial-gradient(50% 50% at 30% 60%, rgba(168,150,120,.22), transparent 70%), radial-gradient(40% 40% at 85% 40%, rgba(200,174,134,.08), transparent 70%); }
.hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.sur { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 28px; }
.sur b { font-weight: 400; color: var(--texte-3); }
.dispo { display: inline-flex; align-items: center; gap: 8px; color: var(--texte-2); }
.dispo i { width: 7px; height: 7px; border-radius: 50%; background: var(--sable); box-shadow: 0 0 0 0 rgba(200,174,134,.6); animation: pouls 2.4s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 8px rgba(200,174,134,0); } 100% { box-shadow: 0 0 0 0 rgba(200,174,134,0); } }
h1 { font-size: clamp(46px, 5.8vw, 96px); line-height: .98; letter-spacing: -.045em; font-weight: 300; text-wrap: balance; }
h1 span { color: var(--gris-titre); display: block; }
.chapo { margin-top: 30px; max-width: 44ch; font-size: 18px; color: var(--texte-2); }

.carte { margin-top: 40px; max-width: 450px; padding: 26px 24px 20px; }
.carte-t { font-size: 18px; letter-spacing: -.01em; }
.carte-p { font-size: 13.5px; color: var(--texte-2); margin: 4px 0 20px; }
.mini { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); margin: 0 0 8px 18px; }
.carte input, .champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--texte);
  background: rgba(0,0,0,.35); border: 1px solid var(--verre-bord); border-radius: 999px;
  padding: 13px 18px; transition: border-color .2s, background .2s;
}
.carte input::placeholder, .champ textarea::placeholder { color: var(--texte-3); }
.carte input:focus, .champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--sable); background: rgba(0,0,0,.5); }
.bouton {
  margin-top: 12px; width: 100%; min-height: 52px; border: 0; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--sable-clair); color: #0B0D10; font: 600 12.5px/1 'Archivo', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  transition: background .16s, transform .16s var(--entree);
}
.bouton:hover { background: #EFE3CC; transition-duration: .2s; }
/* appui : le bouton s'enfonce à 97 % */
.bouton:active, .pastille:active { transform: scale(.97); transition-duration: .1s; }
.bouton svg { width: 15px; height: 15px; }
.carte-note { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12.5px; color: var(--texte-2); }
.carte-note svg { width: 17px; height: 17px; flex: none; color: var(--sable); }

.hero-vis { position: relative; }
.atouts { list-style: none; margin: 0 0 8px; padding: 0; display: flex; justify-content: flex-end; flex-wrap: wrap; }
.atouts li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--texte-2); padding: 4px 22px; }
.atouts li + li { border-left: 1px solid var(--filet); }
.atouts li:last-child { padding-right: 0; }
.atouts svg { width: 19px; height: 19px; color: var(--texte); }
.equipe { margin: 36px 0 0 auto; width: min(100%, 620px); position: relative; }
/* photo fondue dans le halo : même masque sur l'image et sur son voile bleu nuit */
.equipe img, .equipe::after {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(180deg, transparent, #000 14%, #000 66%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(180deg, transparent, #000 14%, #000 66%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.equipe img { width: 100%; filter: saturate(.7) contrast(1.08) brightness(.8); }
.equipe::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,36,30,.35), rgba(26,24,22,.25) 60%, rgba(3,5,7,.5)); mix-blend-mode: multiply; pointer-events: none; }

/* ---------- Défilement des terrains ---------- */
.defile { overflow: hidden; border-block: 1px solid var(--filet); padding: 26px 0; }
.defile-piste { animation-duration: 60s; }
.defile span { font-size: clamp(22px, 2.4vw, 32px); font-weight: 300; letter-spacing: -.02em; color: rgba(241,242,239,.5); padding: 0 32px; white-space: nowrap; }
.defile i { font-style: normal; color: var(--sable); font-size: 14px; }

/* ---------- Sections ---------- */
.bloc { padding: clamp(88px, 11vw, 148px) 0 0; position: relative; }
.entete { max-width: 860px; margin-bottom: 52px; }
.oeil { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sable); margin-bottom: 20px; }
.oeil::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.entete h2, .titre-contact { font-size: clamp(34px, 4.4vw, 60px); text-wrap: balance; }
.sous { margin-top: 20px; color: var(--texte-2); max-width: 46ch; }

/* ---------- Bento des prestations ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tuile { position: relative; border-radius: var(--rayon); overflow: hidden; min-height: 540px; }
.t-a, .t-b, .t-d { grid-column: span 4; }
.tuile.photo { border: 1px solid var(--filet); display: flex; align-items: flex-end; }
.tuile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tuile.photo:hover img { transform: scale(1.035); }
.tuile.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,5,7,0) 35%, rgba(3,5,7,.7) 60%, rgba(3,5,7,.96)); }
.tuile-txt { position: relative; z-index: 1; padding: 32px; }
.tuile h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.025em; max-width: 20ch; }
.tuile-txt p { margin-top: 12px; color: var(--texte-2); font-size: 15.5px; max-width: 52ch; }
.puces { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.puces li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--verre-bord); background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tuile.verre { padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.tuile .grand { font-size: clamp(22px, 2vw, 28px); font-weight: 300; line-height: 1.3; letter-spacing: -.015em; }
.zones li { color: var(--sable-clair); }
.lien { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; color: var(--sable-clair); align-self: flex-start; border-bottom: 1px solid rgba(226,211,182,.35); padding-bottom: 4px; }
.lien svg { width: 15px; height: 15px; transition: transform .2s; }
.lien:hover svg { transform: translateX(3px); }

/* ---------- Étapes ---------- */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.etapes li { padding: 30px 28px 34px; min-height: 280px; display: flex; flex-direction: column; }
.num { font-size: 56px; font-weight: 200; letter-spacing: -.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(200,174,134,.8); padding-bottom: 48px; }
.etapes h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 400; }
.etapes p { margin-top: 10px; font-size: 15px; color: var(--texte-2); }

/* ---------- Citation ---------- */
.pause { position: relative; margin-top: clamp(88px, 11vw, 148px); min-height: 72vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.pause img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.45) sepia(.18) brightness(.55); }
.pause::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--fond) 0%, rgba(3,5,7,.35) 22%, rgba(26,24,22,.45) 60%, var(--fond) 100%); }
.pause blockquote { margin: 0 auto; }
.pause p { font-size: clamp(32px, 4.6vw, 64px); font-weight: 300; line-height: 1.08; letter-spacing: -.035em; max-width: 22ch; }
.pause span { color: var(--gris-titre); }

/* ---------- Valeurs ---------- */
.valeurs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.valeurs > div { padding: 30px 28px; }
.valeurs svg { width: 30px; height: 30px; color: var(--sable); margin-bottom: 48px; }
.valeurs h3 { font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.valeurs p { margin-top: 10px; font-size: 15px; color: var(--texte-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.faq .entete { position: sticky; top: 32px; margin-bottom: 0; }
.faq .pastille { margin-top: 28px; }
.questions { border-top: 1px solid var(--filet); }
.questions details { border-bottom: 1px solid var(--filet); }
.questions summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -.01em; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--verre-bord); display: grid; place-items: center; font-weight: 300; font-size: 20px; color: var(--sable); transition: transform .18s var(--deplace); }
.questions details[open]:not(.ferme) summary::after { transform: rotate(45deg); transition-duration: .22s; }
.questions details p { padding: 0 56px 26px 0; color: var(--texte-2); }

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(88px, 11vw, 148px); overflow: hidden; isolation: isolate; }
.contact .halo { z-index: -1; }
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.coord { margin: 44px 0 0; display: grid; gap: 0; }
.coord div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--filet); }
.coord dt { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); padding-top: 3px; }
.coord dd { margin: 0; }
.coord a { text-decoration-color: rgba(226,211,182,.4); text-underline-offset: 4px; }
.formulaire { padding: 32px 28px 26px; }
.formulaire .carte-t { font-size: 22px; margin-bottom: 22px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); }
.champ.large { grid-column: 1 / -1; }
.champ input, .champ select, .champ textarea { letter-spacing: 0; text-transform: none; }
.champ select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C8AE86' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px; }
.champ select option { background: #0E0E0F; }
.champ textarea { border-radius: 18px; resize: vertical; min-height: 120px; }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.formulaire .bouton { margin-top: 20px; }
.statut { margin-top: 12px; font-size: 14px; color: var(--sable-clair); min-height: 1em; }
.statut.erreur { color: var(--erreur); }

/* ---------- Pied de page ---------- */
.pied { background: var(--fond-pied); border-top: 1px solid var(--filet); padding: 72px 0 28px; font-size: 15px; }
.pied .haut { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.logo-pied { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.logo-pied img { height: 26px; width: auto; }
.pied p { color: var(--texte-2); max-width: 36ch; }
.pied .titre-col { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-3); margin-bottom: 14px; }
.pied nav { display: flex; flex-direction: column; }
.pied nav a { text-decoration: none; color: var(--texte-2); padding: 6px 0; }
.pied nav a:hover { color: var(--texte); }
.pied .bas { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--filet); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--texte-3); }
.pied .bas a { color: var(--texte-2); text-decoration: none; }

/* ---------- Apparitions au défilement (contenu visible sans JS) ---------- */
.js .rv { opacity: 0; transform: translateY(18px); filter: blur(6px);
  transition: opacity .7s var(--entree), transform .7s var(--entree), filter .7s var(--entree); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* ---------- Pulsation de réussite (champ rempli, demande prête) ---------- */
@keyframes reussite {
  0% { box-shadow: 0 0 0 0 rgba(200,174,134,.55); }
  100% { box-shadow: 0 0 0 12px rgba(200,174,134,0); }
}
.pulse { animation: reussite .6s var(--entree); border-color: var(--sable) !important; }
.statut.pulse { animation: none; }
.statut.ok { animation: apparait .4s var(--entree); }
@keyframes apparait { from { opacity: 0; transform: translateY(4px); filter: blur(3px); } }

/* ---------- E-mail qui voyage de la carte du hero jusqu'au formulaire (même objet) ---------- */
.puce { position: fixed; z-index: 60; margin: 0; pointer-events: none; display: flex; align-items: center;
  font-size: 16px; color: var(--texte); background: rgba(26,24,22,.92); border: 1px solid var(--sable); border-radius: 999px;
  padding: 0 18px; white-space: nowrap; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.45); transform-origin: left center; }

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .hero-grille { grid-template-columns: 1fr; }
  .hero-vis { order: -1; }
  .atouts { justify-content: flex-start; }
  .atouts li:first-child { padding-left: 0; }
  .equipe { margin: 24px auto 0; width: min(100%, 520px); }
  .t-a, .t-b, .t-c, .t-d { grid-column: span 12; }
  .tuile { min-height: 480px; }
  .etapes, .valeurs { grid-template-columns: 1fr 1fr; }
  .faq, .contact-grille { grid-template-columns: 1fr; gap: 40px; }
  .faq .entete { position: static; }
  .nl { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .tete .wrap { height: 76px; }
  .logo .wm { display: none; }
  .tete nav { gap: 10px; }
  .pastille { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .hero { padding-top: 8px; }
  .hero-vis { order: 0; }
  .atouts { margin-top: 36px; flex-direction: column; gap: 10px; }
  .atouts li { padding: 0; border: 0 !important; }
  .equipe { display: none; }
  .carte { padding: 22px 18px 18px; }
  .tuile { min-height: 520px; }
  .tuile-txt, .tuile.verre { padding: 24px 22px; }
  .etapes, .valeurs { grid-template-columns: 1fr; }
  .etapes li { min-height: 0; }
  .num { padding-bottom: 28px; font-size: 48px; }
  .valeurs svg { margin-bottom: 28px; }
  .pause { min-height: 60vh; }
  .champs { grid-template-columns: 1fr; }
  .coord div { grid-template-columns: 1fr; gap: 4px; }
  .questions details p { padding-right: 0; }
  .pied .haut { grid-template-columns: 1fr 1fr; }
  .pied .haut > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-piste, .defile-piste, .dispo i { animation: none; }
  .js .rv { opacity: 1; transform: none; filter: none; transition: none; }
  .pulse, .statut.ok { animation: none; }
  .tuile.photo img { transition: none; }
}

/* ---------- Plan d'accès (carte OpenStreetMap chargée au clic) ---------- */
.acces { margin-top: 28px; }
.carte-acces { position: relative; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; aspect-ratio: 16 / 10; overflow: hidden; padding: 20px; margin-bottom: 6px;
  background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.04) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,.04) 31px 32px); }
.carte-acces p { margin: 0; font-size: 13px; color: var(--texte-2); max-width: 34ch; }
.carte-acces .pastille { cursor: pointer; font: inherit; font-size: 14px; }
/* carte claire d'OpenStreetMap assombrie pour rester dans l'ambiance nuit */
.carte-acces iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9); }

/* ---------- Pastille claire (appel à l'action sur les scènes) ---------- */
.pastille.clair { gap: 10px; min-height: 48px; padding: 0 22px; background: var(--sable-clair); border-color: transparent; color: #0B0D10; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pastille.clair:hover { background: #EFE3CC; }
.pastille svg { width: 14px; height: 14px; }

/* ---------- Scène au défilement : le mot-symbole s'ouvre (variables --p, --o, --q posées par le JS) ---------- */
.manifeste { position: relative; height: 320vh; --p: 0; --o: 0; --q: 0; }
.scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.brume { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 55% at 50% 100%, rgba(168,150,120,.55), rgba(26,24,22,.35) 45%, transparent 75%), radial-gradient(40% 30% at 20% 85%, rgba(200,174,134,.10), transparent 70%);
  opacity: calc(.25 + var(--p) * .75); transform: translateY(calc((1 - var(--p)) * 18%)); }
.scene::after { content: ''; position: absolute; inset: auto 0 0; height: 18vh; background: linear-gradient(transparent, var(--fond)); pointer-events: none; }
.mini-ey { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--texte-3); margin-bottom: 22px; }
.man-t { font-size: clamp(34px, 4.2vw, 60px); text-wrap: balance; }
.mot { width: max-content; flex: none; transform: scale(var(--s, 1)); transform-origin: center; display: flex; align-items: center; justify-content: center; margin: clamp(40px, 6vh, 72px) 0 clamp(36px, 5vh, 64px); font-size: clamp(40px, 5.2vw, 88px); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.mot-g { font-weight: 300; }
.mot-d { font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; }
/* l'espace entre les deux mots s'ouvre : largeur mesurée par le JS (--w) */
.entre { flex: none; display: inline-flex; overflow: hidden; max-width: calc(var(--o) * var(--w, 900px)); }
.entre-in { flex: none; display: inline-flex; align-items: center; gap: 12px; padding: 0 clamp(14px, 1.6vw, 28px); font-size: 15px; letter-spacing: 0; line-height: 1.2; }
.entre-in > * { --a: clamp(0, calc((var(--o) - .15) * 2), 1); opacity: var(--a); transform: scale(calc(.8 + var(--a) * .2)) rotate(calc((1 - var(--a)) * -12deg)); flex: none; }
.entre-in > :nth-child(2) { --k: .1; } .entre-in > :nth-child(3) { --k: .2; } .entre-in > :nth-child(4) { --k: .3; } .entre-in > :nth-child(5) { --k: .4; } .entre-in > :nth-child(6) { --k: .5; }
.pil { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.03); color: var(--texte); }
.pil-ico { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: var(--texte); }
.pil-ico svg { width: 18px; height: 18px; }
.mot-v { height: clamp(36px, 4.6vw, 78px); width: auto; }
.man-bas { display: flex; flex-direction: column; align-items: center; gap: 28px; opacity: var(--q); transform: translateY(calc((1 - var(--q)) * 24px)); filter: blur(calc((1 - var(--q)) * 6px)); }
.man-p { color: var(--texte-2); max-width: 72ch; }
.jauge { width: 140px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.jauge i { display: block; height: 100%; width: calc(var(--p) * 100%); background: rgba(241,242,239,.75); }

/* ---------- Final de page : horizon qui se lève (--h posé par le JS) ---------- */
.horizon { position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; text-align: center; padding-top: clamp(110px, 16vh, 180px); --h: 0;
  background: linear-gradient(180deg, var(--fond) 0%, #080809 55%, #0B0B0C 100%); }
.ciel { position: absolute; inset: 0; z-index: -2; opacity: .55;
  background-image: radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 68% 14%, #fff, transparent), radial-gradient(1px 1px at 84% 38%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 32% 48%, rgba(255,255,255,.6), transparent), radial-gradient(1.5px 1.5px at 52% 30%, rgba(255,255,255,.8), transparent), radial-gradient(1px 1px at 92% 8%, rgba(255,255,255,.6), transparent), radial-gradient(60% 50% at 50% 70%, rgba(168,150,120,.28), transparent 70%); }
.fin-txt { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.fin-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.fin-logo img { height: 30px; width: auto; }
.horizon h2 { font-size: clamp(44px, 6.6vw, 100px); line-height: 1; text-wrap: balance;
  background: linear-gradient(180deg, #fff 35%, #B5AC9C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fin-note { margin: 28px 0 26px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); }
/* la planète : un très grand disque dont on ne voit que le bord éclairé */
.planete { position: absolute; z-index: -1; left: 50%; top: 66%; width: max(240vw, 1800px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, calc((1 - var(--h)) * 160px));
  background: radial-gradient(1px 1px at 50% 1.2%, rgba(255,255,255,.7), transparent), radial-gradient(circle at 50% 0%, #8C7B5E 0%, #3A3329 1.6%, #17140F 5%, #0A0A0B 14%);
  background-size: 9px 9px, 100% 100%;
  box-shadow: 0 -1px 0 rgba(240,232,215,.75), 0 -10px 40px rgba(226,211,182,.45), 0 -40px 140px rgba(168,150,120,.45), 0 -120px 260px rgba(168,150,120,.25); }
.fin-liens { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); margin-top: clamp(140px, 30vh, 320px); }
.fin-liens a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 84px; text-decoration: none; color: var(--texte); font-size: 16px; transition: background .2s, color .2s; }
.fin-liens a + a { border-left: 1px solid rgba(255,255,255,.12); }
.fin-liens a span { font-size: 12px; color: var(--texte-3); }
.fin-liens a svg { width: 14px; height: 14px; transition: transform .2s var(--entree); }
.fin-liens a:hover { background: rgba(255,255,255,.04); }
.fin-liens a:hover svg { transform: translate(2px, -2px); }
.horizon + .pied { border-top: 0; }

@media (max-width: 760px) {
  .mot { flex-direction: column; gap: 4px; white-space: normal; transform: none; width: auto; }
  .entre { max-width: none; max-height: calc(var(--o) * var(--hgt, 400px)); }
  .entre-in { flex-wrap: wrap; justify-content: center; padding: 16px 0; max-width: 340px; }
  .mot-v { height: 38px; }
  .man-p br, .man-t br { display: none; }
  .fin-liens { grid-template-columns: 1fr 1fr; }
  .fin-liens a:nth-child(3) { border-left: 0; }
  .fin-liens a:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}
@media (prefers-reduced-motion: reduce) {
  .manifeste { height: auto; --p: 1; --o: 1; --q: 1; }
  .scene { position: relative; height: auto; min-height: 100vh; padding: 120px 24px; }
  .entre { max-width: none; max-height: none; }
  .horizon { --h: 1; }
}

/* ---------- Hero : grande photo d'équipe à droite ---------- */
.hero-fond { position: absolute; z-index: -1; top: 110px; right: 0; bottom: 0; width: min(70vw, 1240px); margin: 0; pointer-events: none;
  transform: translateY(calc(var(--y, 0) * 1px)); }
.hero-fond img, .hero-fond::after {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%), linear-gradient(180deg, transparent, #000 14%, #000 62%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 30%), linear-gradient(180deg, transparent, #000 14%, #000 62%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero-fond img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; animation: arrivee 1.6s var(--entree) both; }
/* reflet qui traverse l'image une fois, comme la lumière sur la lame de verre */
.hero-fond::after { content: ''; position: absolute; inset: 0; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 38%, rgba(240,230,210,.22) 47%, rgba(226,211,182,.16) 51%, transparent 60%);
  background-size: 260% 100%; background-position: 120% 0; animation: reflet 2.4s .9s var(--deplace) both; }
@keyframes arrivee { from { opacity: .3; transform: scale(1.07); filter: blur(14px) brightness(1.5); } }
@keyframes reflet { to { background-position: -40% 0; } }
.hero-txt { position: relative; }
.hero .carte { background: linear-gradient(180deg, rgba(14,14,15,.72), rgba(14,14,15,.5)); }

@media (max-width: 1080px) {
  .hero { min-height: 0; }
  .hero-fond { position: relative; top: auto; width: 100%; height: min(70vw, 560px); margin: -24px 0 -14vw; }
  .hero-fond img, .hero-fond::after {
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 60%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 12%, #000 60%, transparent); }
  .hero-fond img { object-position: 78% 20%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fond img, .hero-fond::after { animation: none; }
  .hero-fond { transform: none; }
}

/* ---------- Tuiles de prestation : bouton d'offre qui pré-remplit le formulaire ---------- */
.tuile-txt { display: flex; flex-direction: column; align-items: flex-start; }
.tuile-cta { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--sable-clair); color: #0B0D10; font: 600 12px/1 'Archivo', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  transform: translateY(6px); opacity: .92; transition: transform .25s var(--entree), opacity .25s, background .2s; }
.tuile-cta svg { width: 14px; height: 14px; transition: transform .2s var(--entree); }
.tuile:hover .tuile-cta, .tuile-cta:focus-visible { transform: none; opacity: 1; }
.tuile-cta:hover { background: #EFE3CC; }
.tuile-cta:hover svg { transform: translateX(3px); }
.tuile-cta:active { transform: scale(.97); }

/* ---------- Bouton d'offre flottant ---------- */
.cta-flottant { position: fixed; z-index: 40; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; text-decoration: none;
  background: var(--sable-clair); color: #0B0D10; font: 600 12.5px/1 'Archivo', sans-serif; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 0 0 rgba(226,211,182,.5);
  opacity: 0; transform: translateY(20px) scale(.95); filter: blur(4px); pointer-events: none;
  transition: opacity .3s var(--entree), transform .3s var(--entree), filter .3s var(--entree); }
.cta-flottant svg { width: 15px; height: 15px; }
.cta-flottant.vu { opacity: 1; transform: none; filter: none; pointer-events: auto; animation: appel 2.8s 1s infinite; }
.cta-flottant:active { transform: scale(.97); }
@keyframes appel { 0%, 70% { box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 0 0 rgba(226,211,182,.45); } 100% { box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 0 14px rgba(226,211,182,0); } }
.pied .bas { margin-top: 0; }
.pied { padding-top: 0; }
@media (max-width: 1080px) { .t-a, .t-b, .t-d { grid-column: span 12; } }
@media (max-width: 640px) {
  .cta-flottant { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
  .tuile-cta { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .cta-flottant.vu { animation: none; } }

/* titres longs (allemand) : coupure propre plutôt que débordement */
h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ---------- Liens légaux du pied de page ---------- */
.pied .liens-legaux { display: flex; flex-direction: row; flex-wrap: wrap; gap: 4px 24px; }
.liens-legaux a { display: inline-flex; align-items: center; min-height: 44px; }
.liens-legaux a:hover { color: var(--texte); }
.carte-note a { color: var(--sable-clair); text-underline-offset: 3px; }


/* ---------- Éléments communs (menu, langue, intro, pied de page) en thème sombre, sans bleu ---------- */
:root {
  --c-graphite: #17181a; --c-encre: #F1F2EF; --c-doux: rgba(241,242,239,.66); --c-pale: rgba(241,242,239,.54);
  --c-accent: #E2D3B6; --c-carte: #0f1011; --c-fond: var(--fond); --c-bord: rgba(255,255,255,.12); --c-champ: rgba(0,0,0,.35);
  --c-bouton: #E2D3B6; --c-bouton-txt: #0B0D10; --c-filigrane: rgba(255,255,255,.035);
  --c-menu-fond: #0c0c0d; --c-menu-texte: #F1F2EF; --c-menu-filet: rgba(255,255,255,.1);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-ouvert .tete { position: relative; z-index: 60; }
.fin-droite { border: 1px solid var(--c-bord); box-shadow: none; }
.fin-cube { background: linear-gradient(135deg, #2a2b2d 0%, #1b1c1e 55%, #0d0d0e 100%); border: 1px solid rgba(255,255,255,.08); }
.horizon + .fin { padding-top: 24px; }
/* le hero attend la fin de l'animation du logo */
.intro-on .hero .rv { transition-delay: calc(var(--d, 0ms) + 1.7s); }
.intro-on .hero-fond img, .intro-on .hero-fond::after { animation-delay: 1.7s; }
@media (max-width: 640px) { .nav-actions { gap: 6px; } .nav-actions .pastille { display: none; } }

/* pas de bleu : couleurs adoucies et réchauffées sur la vidéo du pied de page */
.fin-video { filter: saturate(.45) sepia(.2); }

/* ---------- Titre du hero : toujours 2 lignes (FR, DE, EN) ---------- */
.hero h1 { font-size: min(4.7vw, 92px); white-space: nowrap; hyphens: none; }
.hero h1 span { display: block; }
/* colonnes élargies pour le titre : grand écran seulement (sur mobile, une seule colonne) */
@media (min-width: 1081px) { .hero-grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
@media (max-width: 1080px) { .hero h1 { font-size: min(7.4vw, 72px); } }
@media (max-width: 640px) { .hero h1 { font-size: 9.4vw; } }

/* ---------- Bouton d'offre de l'en-tête : sable plein, flèche dans un rond, reflet au survol ---------- */
.cta-tete { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 6px; border-radius: 999px;
  background: linear-gradient(180deg, #EBDFC6, #D9C6A3); color: #0B0D10; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 10px 30px -10px rgba(226, 211, 182, .45), inset 0 1px 0 rgba(255, 255, 255, .6); transition: transform .16s var(--entree), box-shadow .3s; }
.cta-tete i { position: absolute; left: 6px; top: 6px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #0B0D10; color: #E2D3B6; transition: transform .5s cubic-bezier(.7, 0, .2, 1); z-index: 1; }
.cta-tete span { margin-left: 46px; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.cta-tete svg { transition: transform .3s var(--entree); }
.cta-tete svg { width: 15px; height: 15px; }
.cta-tete::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--entree); }
.cta-tete:hover { box-shadow: 0 14px 36px -10px rgba(226, 211, 182, .6), inset 0 1px 0 rgba(255, 255, 255, .6); }
.cta-tete:hover::after { transform: translateX(120%); }
.cta-tete:hover i svg { transform: rotate(-45deg); }
/* au clic : la pastille noire file de gauche à droite, le texte glisse à sa place, puis on descend au formulaire */
.cta-tete.part i { transform: translateX(var(--dx, 0px)); }
.cta-tete.part i svg { transform: none; }
.cta-tete.part span { transform: translateX(-30px); }
.cta-tete:active { transform: scale(.97); }
@media (max-width: 640px) { .cta-tete { display: none; } }

/* ---------- Citation qui se lit au défilement ---------- */
.pause.lecture { min-height: 0; height: 260vh; display: block; overflow: visible; isolation: auto; margin-top: clamp(88px, 11vw, 148px); }
.pause.lecture::before { content: none; }
.pause-scene { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.pause-scene::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--fond) 0%, rgba(3,5,7,.35) 22%, rgba(26,24,22,.45) 60%, var(--fond) 100%); }
.pause-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.45) sepia(.18) brightness(.5); }
.a-lire .ml { opacity: .16; transition: opacity .35s ease-out; }
.a-lire .ml.lu { opacity: 1; }
.a-lire span .ml.lu { opacity: .62; }
@media (prefers-reduced-motion: reduce) { .pause.lecture { height: auto; } .pause-scene { position: relative; } .a-lire .ml { opacity: 1; transition: none; } }

/* ---------- Hero : séparateurs en barres et indicateurs clés ---------- */
.dispo .sep { display: inline-block; width: 1px; height: 12px; margin: 0 12px; background: currentColor; opacity: .45; vertical-align: middle; }
.kpi { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 0; }
.kpi li { display: flex; align-items: center; gap: 14px; padding: 0 28px; }
.kpi li:first-child { padding-left: 0; }
.kpi li + li { border-left: 1px solid var(--filet); }
.kpi b { font-size: 46px; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--sable-clair, #E2D3B6); font-variant-numeric: tabular-nums; }
.kpi span { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.3; color: var(--texte-3); max-width: 15ch; }
.kpi em { font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--texte); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1080px) { .hero { min-height: 0; } }
@media (max-width: 640px) {
  .kpi { flex-direction: column; gap: 16px; margin-top: 32px; }
  .kpi li { padding: 0; border: 0 !important; }
  .kpi b { font-size: 38px; min-width: 1.4em; }
}
