/* Site public WOLF — accueil, avis, connexion. */
:root {
  --bg: #0a0a0b;
  --bg-2: #101012;
  --surface: #141416;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f0eb;
  --text-2: #c2bdb6;
  --muted: #9a958e;
  --accent: #f97316;
  --accent-2: #fb8a3c;
  --accent-ink: #1a0b00;
  --ok: #4ade80;
  --danger: #ff8a7d;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Syne", "Poppins", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.hidden, [hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.lead { color: var(--text-2); font-size: clamp(16px, 1.6vw, 18px); max-width: 56ch; }

/* ── boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent);
  font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.3); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }

/* ── en-tête ── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(10, 10, 11, 0.82); backdrop-filter: blur(14px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .1em; }
.logo img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a:not(.btn) { color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; }
.burger span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
html.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
html.nav-open .burger span:nth-child(2) { opacity: 0; }
html.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── hero ── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px 0 110px; overflow: hidden; isolation: isolate; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 10%, transparent 72%);
  opacity: .6;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.blob.b1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; left: 50%; top: 40%; background: radial-gradient(circle, rgba(249, 115, 22, .55), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.blob.b2 { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; left: 30%; top: 70%; background: radial-gradient(circle, rgba(234, 88, 12, .4), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { from { transform: translate(-50%, -50%) scale(1); } to { transform: translate(-38%, -60%) scale(1.15); } }
@keyframes drift2 { from { transform: translate(-50%, -50%) scale(1.1); } to { transform: translate(-64%, -40%) scale(.9); } }
.spot { position: absolute; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 180, 120, .12), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hero:hover .spot { opacity: 1; }
.hero-inner { display: grid; justify-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(20, 20, 22, .6); backdrop-filter: blur(10px); font-size: 13.5px; color: var(--text-2); }
.status-pill .sep { width: 1px; height: 14px; background: var(--line-2); }
.hero-title { font-size: clamp(44px, 7.6vw, 112px); font-weight: 800; letter-spacing: -0.04em; line-height: .96; margin: 30px 0 26px; max-width: 13ch; }
.hero-title em { font-style: normal; background: linear-gradient(100deg, #ffb27a 0%, var(--accent) 45%, #ea580c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; }
.hero .lead { margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.btn-glow { box-shadow: 0 0 0 0 rgba(249, 115, 22, .5), 0 18px 50px -12px rgba(249, 115, 22, .6); }
.btn-glow:hover { box-shadow: 0 0 0 6px rgba(249, 115, 22, .15), 0 22px 60px -12px rgba(249, 115, 22, .7); }
.scroll-cue { position: absolute; left: 50%; bottom: 32px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.open-state { display: inline-flex; align-items: center; gap: 8px; }
.open-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.open-state.is-open { color: var(--text); }
.open-state.is-open::before { background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, .5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* ── bandeau défilant ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--bg-2); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 58px); letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.marquee span.outline { color: transparent; -webkit-text-stroke: 1.2px rgba(243, 240, 235, .55); }
.marquee i { width: 14px; height: 14px; flex: none; background: var(--accent); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── chiffres ── */
.numbers { padding: clamp(56px, 8vw, 90px) 0; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.number { display: grid; gap: 6px; padding: 0 24px; }
.number + .number { border-left: 1px solid var(--line); }
.number:first-child { padding-left: 0; }
.number b { font-family: var(--display); font-size: clamp(44px, 6vw, 80px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.number span { color: var(--muted); font-size: 14.5px; max-width: 22ch; }

.reveal-up { animation: rise .9s var(--ease) both; }
.reveal-up.d1 { animation-delay: .08s; }
.reveal-up.d2 { animation-delay: .16s; }
.reveal-up.d3 { animation-delay: .24s; }
.reveal-up.d4 { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── sections ── */
.section { padding: clamp(80px, 12vw, 140px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head h2 { font-size: clamp(34px, 5vw, 64px); margin-top: 16px; }
.section-head .lead { justify-self: end; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── l'espace ── */
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.space { display: grid; gap: 18px; }
.space-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.space-media img { width: 100%; height: 118%; margin-top: -9%; object-fit: cover; transition: scale 1.2s var(--ease); }
.space:hover .space-media img { scale: 1.04; }
.space-tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 10, 11, .72); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.space h3 { font-size: 24px; }
.space p { color: var(--muted); margin-top: 6px; }

/* ── sur place ── */
.amenities { border-top: 1px solid var(--line); }
.amenity { display: grid; grid-template-columns: 64px minmax(200px, 1fr) 2fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.amenity { transition: background .3s, padding .3s var(--ease); border-radius: 4px; }
.amenity:hover { background: linear-gradient(90deg, rgba(249, 115, 22, .08), transparent 70%); padding-left: 14px; }
.amenity:hover h3 { color: var(--accent); }
.amenity h3 { transition: color .3s; }
.amenity small { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.amenity h3 { font-size: 22px; }
.amenity p { color: var(--text-2); }

/* ── étapes ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: grid; gap: 12px; align-content: start; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--accent); }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); }

/* ── avis ── */
.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: flex; flex-direction: column; gap: 20px; }
.review-quote { font-size: 17px; line-height: 1.6; color: var(--text); flex: 1; }
.review footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.review-name { font-weight: 600; }
.review-stars { color: var(--accent); letter-spacing: 2px; }
.reviews-empty { padding: 40px; border: 1px dashed var(--line-2); border-radius: var(--radius); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.reviews-empty p { color: var(--text-2); font-size: 17px; }
.section-cta { margin-top: 28px; }

/* ── infos ── */
.infos { display: grid; grid-template-columns: 420px 1fr; gap: 20px; }
.info-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: grid; gap: 22px; align-content: start; }
.info-row { display: grid; gap: 4px; }
.info-row span { color: var(--muted); font-size: 13px; }
.info-row strong, .info-row a { font-size: 17px; font-weight: 500; }
.info-row a:hover { color: var(--accent); }
.info-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#wolf-map { min-height: 460px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.wolf-map-pin { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(249, 115, 22, .3); }
.leaflet-container { font-family: var(--font); }

/* ── appel final ── */
.cta-band { padding: clamp(64px, 10vw, 110px) 0; border-top: 1px solid var(--line); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cta-inner h2 { font-size: clamp(38px, 6vw, 80px); max-width: 14ch; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.cta-actions a:not(.btn) { color: var(--text-2); font-size: 15px; }
.cta-actions a:not(.btn):hover { color: var(--text); }

/* ── pied de page ── */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--text); font-family: var(--display); font-size: 14px; margin-bottom: 12px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a:hover { color: var(--text); }
.footer-copy a:hover, .credit a:hover { color: var(--accent); }
.credit a { color: var(--text-2); font-weight: 500; }
.footer-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── page avis ── */
.page-top { padding: 150px 0 60px; }
.page-top h1 { font-size: clamp(40px, 7vw, 88px); margin: 18px 0 18px; }
.avis-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; padding-bottom: 120px; }
.panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.panel h2 { font-size: 26px; margin-bottom: 6px; }
.panel > p { color: var(--muted); margin-bottom: 24px; }
.form-field { display: grid; gap: 8px; margin-bottom: 18px; }
.form-field label, .form-label { font-size: 14px; font-weight: 500; color: var(--text-2); }
.form-field input, .form-field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg);
  transition: border-color .2s;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-hint { color: var(--muted); font-size: 12.5px; justify-self: end; }
.star-picker { display: flex; gap: 6px; }
.star-btn { background: none; border: 0; font-size: 28px; line-height: 1; color: rgba(255, 255, 255, .2); cursor: pointer; transition: color .15s, transform .15s; }
.star-btn.is-on { color: var(--accent); }
.star-btn:hover { transform: scale(1.1); }
.form-msg { margin-top: 14px; font-size: 14px; }
.form-msg.ok { color: var(--ok); }
.form-msg.error { color: var(--danger); }
.avis-feed-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.avis-feed-head p { color: var(--muted); font-size: 14px; }
.avis-list { display: grid; gap: 12px; }
.avis-item { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.avis-item-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-bottom: 8px; }
.avis-item-stars { color: var(--accent); letter-spacing: 2px; }
.avis-item-text { color: var(--text-2); }
.avis-empty { color: var(--muted); padding: 24px; border: 1px dashed var(--line-2); border-radius: 14px; text-align: center; }

/* ── page connexion ── */
.auth-page { position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--gutter) 60px; }
.auth-page::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center;
  mask-image: radial-gradient(ellipse 55% 50% at 50% 45%, #000 15%, transparent 75%);
}
.auth-page::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 40% at 50% 0%, rgba(249, 115, 22, .22), transparent 70%); }
.auth-card { width: min(420px, 100%); padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: rgba(16, 16, 18, .8); backdrop-filter: blur(14px); display: grid; gap: 14px; }
.auth-form input { min-height: 52px; border-radius: 14px; }
.auth-card h1 { font-size: 40px; }
.auth-card p { color: var(--muted); }
.auth-form { display: grid; gap: 4px; margin-top: 8px; }
.auth-form .btn { width: 100%; }

/* ── mobile ── */
@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px;
    padding: 0 var(--gutter); background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  html.nav-open .nav { opacity: 1; visibility: visible; }
  html.nav-open { overflow: hidden; }
  .nav a:not(.btn) { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--text); }
  .nav .btn { margin-top: 18px; }
  .hero { padding: 110px 0 90px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .number:nth-child(odd) { padding-left: 0; border-left: 0; }
  .scroll-cue { display: none; }
  .blob { filter: blur(60px); }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .spaces, .steps, .reviews-list { grid-template-columns: 1fr; }
  .space-media { aspect-ratio: 4 / 3; }
  .amenity { grid-template-columns: 40px 1fr; gap: 6px 16px; }
  .amenity p { grid-column: 2; }
  .infos { grid-template-columns: 1fr; }
  #wolf-map { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .avis-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.site-footer .logo { color: var(--text); }
.hero-title em .w > span { background: linear-gradient(100deg, #ffb27a 0%, var(--accent) 45%, #ea580c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── mot de passe : bouton œil ── */
.pw { position: relative; display: block; }
.pw input { padding-right: 52px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; }
.pw-toggle:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.pw-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pw-toggle .i-hide, .pw.is-shown .pw-toggle .i-show { display: none; }
.pw.is-shown .pw-toggle .i-hide { display: block; }

@media (max-width: 900px) {
  .header-inner { height: 64px; gap: 12px; }
  .logo { font-size: 18px; }
  .nav { padding-top: env(safe-area-inset-top); }
  .hero { padding-top: calc(100px + env(safe-area-inset-top)); }
  .page-top { padding-top: calc(120px + env(safe-area-inset-top)); }
}
input, textarea, select { font-size: 16px; }
