/* =========================================================
   STUDIO VRX / STUDIO L'ALCÔVE — Feuille de style principale
   Système à deux thèmes piloté par une classe sur <body> :
   body.theme-vrx     -> univers Portrait & Famille
   body.theme-alcove  -> univers Boudoir / L'Alcôve
   ========================================================= */

/* ---------- 1. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- 2. VARIABLES : PALETTES DE MARQUE ---------- */
:root {
  /* Palette VRX — extraite du logo (bleu cyan + orange) */
  --vrx-blue: #16B6D9;
  --vrx-blue-dark: #0E93B0;
  --vrx-orange: #F97B1A;
  --vrx-orange-dark: #D9660A;
  --vrx-ink: #1E2A33;
  --vrx-bg: #FFFFFF;
  --vrx-bg-soft: #F0FAFC;
  --vrx-gray: #5C6870;
  --vrx-border: #E1EEF1;

  /* Palette L'Alcôve — extraite du logo (bordeaux + rose poudré) */
  --alc-wine: #72213A;
  --alc-wine-dark: #45111F;
  --alc-rose: #B98A80;
  --alc-rose-light: #F1E3DE;
  --alc-ink: #2A181D;
  --alc-bg: #FBF6F4;
  --alc-bg-deep: #241016;
  --alc-gold: #C6A968;
  --alc-border: #ECDCD6;

  /* Neutres partagés (page d'accueil) */
  --landing-bg: #F6F2ED;
  --landing-ink: #2B2622;

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 25px 60px -25px rgba(20,15,15,0.28);
  --shadow-card: 0 10px 30px -15px rgba(20,15,15,0.18);
  --container: 1180px;
}

/* ---------- 3. THÈMES ---------- */
body.theme-vrx {
  --brand: var(--vrx-blue);
  --brand-dark: var(--vrx-blue-dark);
  --accent: var(--vrx-orange);
  --accent-dark: var(--vrx-orange-dark);
  --ink: var(--vrx-ink);
  --bg: var(--vrx-bg);
  --bg-soft: var(--vrx-bg-soft);
  --muted: var(--vrx-gray);
  --border: var(--vrx-border);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-label: 'Montserrat', sans-serif;
  --tracking-head: -0.01em;
}
body.theme-alcove {
  --brand: var(--alc-wine);
  --brand-dark: var(--alc-wine-dark);
  --accent: var(--alc-rose);
  --accent-dark: var(--alc-gold);
  --ink: var(--alc-ink);
  --bg: var(--alc-bg);
  --bg-soft: var(--alc-rose-light);
  --muted: #8A6B6A;
  --border: var(--alc-border);
  --font-head: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-label: 'Montserrat', sans-serif;
  --tracking-head: 0em;
}
body.theme-landing {
  --brand: var(--vrx-blue);
  --ink: var(--landing-ink);
  --bg: var(--landing-bg);
  --font-head: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-label: 'Montserrat', sans-serif;
}

/* ---------- 4. BASE ---------- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  letter-spacing: var(--tracking-head, 0);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--muted); }
.theme-alcove p { color: #6B5052; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--accent, var(--brand));
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
}
.theme-alcove .eyebrow { color: var(--alc-gold); font-weight: 500; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 56px 0; }
@media (max-width: 640px) {
  .section { padding: 56px 0; }
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }

/* ---------- 5. BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px color-mix(in srgb, var(--brand) 75%, transparent); }
.theme-vrx .btn-primary { background: var(--accent); box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--accent) 65%, transparent); }
.theme-vrx .btn-primary:hover { background: var(--accent-dark); }

.btn-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.theme-alcove .btn-outline { border-color: var(--alc-gold); color: var(--alc-wine); }
.theme-alcove .btn-outline:hover { background: var(--alc-gold); color: #fff; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 0.75rem; }

/* ---------- 6. EN-TÊTE / NAVIGATION ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--container); margin: 0 auto; gap: 20px; }
.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-logo img { height: 42px; width: auto; }
.brand-logo .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }

.nav-links { display: none; align-items: center; gap: 30px; list-style: none; padding: 0; margin: 0; }
.nav-links a { font-family: var(--font-label); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a::after { content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--brand); transform: scaleX(0); transition: transform 0.25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--brand); }
.nav-cta { display:none; }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel { display: none; flex-direction: column; gap: 4px; padding: 10px 24px 22px; border-top: 1px solid var(--border); background: var(--bg); }
.mobile-panel.open { display: flex; }
.mobile-panel a { padding: 12px 4px; font-family: var(--font-label); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border); }
.mobile-panel a:last-child { border-bottom: none; }
.mobile-panel .btn { margin-top: 10px; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-panel { display: none !important; }
}

.universe-switch { font-family: var(--font-label); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display:flex; align-items:center; gap:6px; }
.universe-switch a { color: var(--brand); border-bottom: 1px solid currentColor; }

/* ---------- 7. PIED DE PAGE ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 28px; }
.theme-vrx .site-footer { background: var(--vrx-ink); }
.theme-alcove .site-footer { background: var(--alc-bg-deep); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.3fr 1fr 1fr; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-label); font-size: 0.85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,0.68); font-size: 0.92rem; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 46px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 24px; display:flex; flex-wrap:wrap; gap:12px; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.social-row a:hover { background: var(--accent, var(--alc-gold)); border-color: transparent; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 8. CARTES / GRILLES GÉNÉRIQUES ---------- */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 34px; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.icon-circle { width: 54px; height: 54px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--brand); margin-bottom: 18px; }
.theme-alcove .icon-circle { color: var(--alc-wine); }

/* ---------- 9. PLACEHOLDERS PHOTO / VIDÉO (à remplacer facilement) ---------- */
.media-placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, var(--bg-soft), var(--border));
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  color: var(--muted);
  overflow: hidden;
  border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--border));
}
.media-placeholder.wide { aspect-ratio: 16/10; }
.media-placeholder.square { aspect-ratio: 1/1; }
.media-placeholder svg { width: 34px; height: 34px; opacity: 0.55; }
.media-placeholder span { font-family: var(--font-label); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; text-align:center; padding: 0 12px; }
.media-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 10. GALERIE — LIGNES (shooting / coulisses / recommandation) ---------- */
.gallery-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.gallery-row:last-child { border-bottom: none; }
.gallery-row-label { font-family: var(--font-label); font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 10px; display:block; font-weight:600; }
.theme-alcove .gallery-row-label { color: var(--alc-gold); }
.gallery-item .caption { margin-top: 12px; font-size: 0.85rem; }
.gallery-item .caption strong { color: var(--ink); display:block; margin-bottom:4px; font-family: var(--font-head); font-weight:600; }
.reco-card { background: var(--bg-soft); border-radius: var(--radius-md); padding: 22px; aspect-ratio: 4/5; display:flex; flex-direction:column; }
.reco-card blockquote { font-family: var(--font-head); font-style: italic; font-size: 1.02rem; line-height:1.5; color: var(--ink); flex:1; }
.reco-card cite { margin-top: 14px; font-style: normal; font-size: 0.78rem; color: var(--muted); font-family: var(--font-label); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 860px) { .gallery-row { grid-template-columns: 1fr 1fr; } .gallery-row .reco-card { grid-column: span 2; aspect-ratio: auto; } }
@media (max-width: 560px) { .gallery-row { grid-template-columns: 1fr; } .gallery-row .reco-card { grid-column: span 1; } }

/* ---------- 11. TARIFS ---------- */
.price-card { border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; display:flex; flex-direction:column; background: var(--bg); position: relative; }
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow-card); transform: scale(1.03); }
.theme-alcove .price-card.featured { border-color: var(--alc-gold); }
.price-badge { position:absolute; top:-14px; left: 50%; transform: translateX(-50%); background: var(--brand); color:#fff; font-family: var(--font-label); font-size: 0.68rem; text-transform:uppercase; letter-spacing:.08em; padding: 7px 18px; border-radius: 999px; font-weight:700; white-space:nowrap; }
.theme-alcove .price-badge { background: var(--alc-gold); }
.price-name { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .08em; font-size: 0.8rem; font-weight: 700; color: var(--brand); margin-bottom: 14px; }
.theme-alcove .price-name { color: var(--alc-wine); }
.price-amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; margin-bottom: 4px; }
.price-amount sup { font-size: 1rem; font-weight:600; }
.price-period { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.price-features { display:flex; flex-direction:column; gap: 13px; margin: 8px 0 30px; flex:1; }
.price-features li { display:flex; gap: 10px; align-items:flex-start; font-size: 0.92rem; color: var(--ink); }
.price-features svg { flex-shrink:0; margin-top:3px; color: var(--brand); }
.theme-alcove .price-features svg { color: var(--alc-gold); }
@media (max-width: 900px) { .price-card.featured { transform: none; } }

/* ---------- 12. FORMULAIRES ---------- */
.form-grid { display:grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display:block; font-family: var(--font-label); font-size: 0.75rem; font-weight:600; text-transform:uppercase; letter-spacing:.05em; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--bg-soft); font-size: 0.95rem; color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: var(--bg); outline: none; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 10px; font-size: 0.9rem; display:none; }
.form-status.show { display:block; }
.form-status.ok { background: #E6F6EA; color: #1F7A3D; }
.form-status.err { background: #FBEAEA; color: #B23A3A; }

/* ---------- 13. LIVRE D'OR / AVIS ---------- */
.review-card { background: var(--bg-soft); border-radius: var(--radius-md); padding: 28px; display:flex; flex-direction:column; gap: 12px; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 0.95rem; }
.theme-alcove .stars { color: var(--alc-gold); }
.review-card p { color: var(--ink); font-style: italic; }
.review-meta { font-family: var(--font-label); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight:600; }
.star-input { display:flex; gap:6px; font-size: 1.6rem; color: var(--border); }
.star-input span { cursor:pointer; transition: color .15s ease, transform .15s ease; }
.star-input span:hover, .star-input span.active { color: var(--accent); transform: scale(1.1); }
.theme-alcove .star-input span:hover, .theme-alcove .star-input span.active { color: var(--alc-gold); }

/* ---------- 14. ZONE PROTÉGÉE (mot de passe / âge) ---------- */
.gate-wrap { min-height: 60vh; display:flex; align-items:center; justify-content:center; padding: 60px 24px; }
.gate-box { max-width: 460px; width:100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px 38px; text-align:center; }
.gate-box .icon-circle { margin: 0 auto 20px; }
.gate-box .field { text-align:left; margin: 22px 0 8px; }
.gate-error { color: #B23A3A; font-size: 0.85rem; margin-top: 10px; display:none; }
.gate-error.show { display:block; }
.gate-demo-note { margin-top: 22px; font-size: 0.76rem; color: var(--muted); background: rgba(255,255,255,0.5); border-radius: 8px; padding: 12px 14px; text-align:left; line-height:1.5; }
.theme-alcove .gate-demo-note { background: rgba(255,255,255,0.55); }
.protected-content { display:none; }
.protected-content.unlocked { display:block; }

.age-check { display:flex; align-items:flex-start; gap:10px; text-align:left; background:rgba(255,255,255,0.5); padding:14px 16px; border-radius:10px; margin: 18px 0; }
.age-check input { margin-top:3px; width:18px; height:18px; accent-color: var(--brand); }
.age-check label { font-size: 0.85rem; color: var(--ink); }

/* ---------- 15. BANDEAU / ALERTES ---------- */
.notice-bar { background: var(--brand); color:#fff; text-align:center; padding: 10px 20px; font-size: 0.82rem; font-family: var(--font-label); letter-spacing: .02em; }
.theme-alcove .notice-bar { background: var(--alc-wine); }

/* ---------- 16. UTILITAIRES ---------- */
.text-center { text-align:center; }
.mt-0 { margin-top:0; }
.flex { display:flex; }
.gap-2 { gap: 16px; }
.items-center { align-items:center; }
.justify-center { justify-content:center; }
.hidden { display:none !important; }
.divider-ornament { display:flex; align-items:center; justify-content:center; gap:14px; color: var(--brand); margin: 18px 0; }
.divider-ornament::before, .divider-ornament::after { content:""; height:1px; width:60px; background: currentColor; opacity:.5; }
.theme-alcove .divider-ornament { color: var(--alc-gold); }

/* ---------- 17. APPARITIONS AU SCROLL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
