/* ========================================
   REFONTE 2026 : design A Éditorial, Noir & Argent, Sora, logo Élan
   (choix d'Anthony du 2026-10-26). Chargée après styles.css, qui garde
   les composants (formulaires, modale, forfaits) et porte la palette.
   ======================================== */

body { font-family: var(--font); }

/* ---------- Boutons : pilules ---------- */
.btn-filled, .btn-outline, .btn-submit, .nav-links .nav-cta, .nav-links a.nav-cta, .mobile-menu-cta { border-radius: 999px; }
.btn-filled, .btn-outline { gap: 10px; min-height: 52px; padding: 14px 28px; font-size: .92rem; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.btn-filled .fl { display: inline-block; transition: transform .2s; }
.btn-filled:hover .fl { transform: translateX(3px); }
.btn-outline { color: var(--text-primary); border-color: rgba(255, 255, 255, .28); }
.btn-outline:hover { background: rgba(255, 255, 255, .08); color: var(--text-primary); border-color: var(--text-primary); }
.mobile-menu-cta { text-transform: none; letter-spacing: .01em; font-weight: 600; font-size: .95rem; }

/* ---------- Navigation ---------- */
.nav { background: rgba(14, 15, 17, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border-subtle); }
.nav.scrolled { background: rgba(14, 15, 17, .92); border-bottom-color: var(--border-subtle); }
.nav-inner { height: 80px; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-logo:hover { opacity: .85; }
/* Comme la démo : liens au centre, langue et pastille « Réserver » à droite */
.nav-links { flex: 1; gap: 32px; margin-left: 40px; }
.nav-links a:first-child { margin-left: auto; }
.nav-links .nav-lang { margin-left: auto; }
.nav-links a { font-size: .9rem; }
.nav-links a.active { color: var(--text-primary); }
.nav-cta, a.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 9px 18px; border-radius: 999px;
    background: var(--accent); color: var(--bg-primary); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: none; cursor: pointer; }
.nav-links .nav-cta, .nav-links a.nav-cta { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: none; padding: 9px 18px; color: var(--bg-primary); background: var(--accent); }
.nav-cta:hover, .nav-links .nav-cta:hover, .nav-links a.nav-cta:hover { background: var(--accent-light); color: var(--bg-primary); }
.nav-mobile { display: none; }
.mobile-menu-links { gap: 22px; }
.mobile-menu-links a { font-size: 1.6rem; font-weight: 500; }
.mobile-menu-links a:nth-child(4) { transition-delay: .2s; }
.mobile-menu-links a:nth-child(5) { transition-delay: .25s; }
.mobile-menu-links a:nth-child(6) { transition-delay: .3s; }

/* ---------- Titres ---------- */
.section-label { color: #AEB4BC; font-size: .72rem; font-weight: 600; letter-spacing: .22em; margin-bottom: 14px; }
.section-title, .page-hero-title, .hero-title { letter-spacing: -.02em; }
.section-title { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; }
.ethique-intro, .intro-video-text > p, .apercu-plans-intro, .cta-final p, .page-hero-desc { line-height: 1.6; font-weight: 400; }
.page-hero { padding: 170px 0 80px; }
.page-hero-title .accent, .section-title .accent { color: var(--text-primary); }

/* ---------- Accueil : deux colonnes, la photo à droite ---------- */
.hero.hero-edito { min-height: 0; display: block; padding: 152px 0 84px; }
.hero-edito-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-edito .hero-content { padding-top: 0; }
.hero-edito .hero-title { font-size: clamp(2.8rem, 5.6vw, 4.6rem); font-weight: 600; line-height: 1.08; margin-bottom: 20px; }
.hero-edito .hero-title em { font-style: normal; color: #AEB4BC; }
.hero-edito .hero-description { font-weight: 400; font-size: 1rem; max-width: 460px; margin-bottom: 30px; }
.hero-edito .hero-buttons { gap: 14px; flex-wrap: wrap; }
.hero-chiffres { display: flex; gap: 36px; list-style: none; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.hero-chiffres b { display: block; font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--text-primary); }
.hero-chiffres span { font-size: .78rem; color: var(--text-muted); }
.hero-photo { display: block; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 20%; }

/* ---------- Piliers (« Notre éthique »), comme la démo : numéros en italique, filet au-dessus ---------- */
.feature-strip-image img, .feature-strip-image { border-radius: 26px; }
.ethique { padding: 88px 0; }
.ethique .section-title { margin-bottom: 14px; }
.ethique-intro { max-width: 600px; margin-bottom: 0; color: var(--text-secondary); text-wrap: pretty; }
.ethique-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.ethique-pillar, .ethique-pillar--wide { grid-column: auto; text-align: left; padding: 26px 0 0; border: 0; border-top: 1px solid var(--border-subtle); }
.ethique-pillar::before, .ethique-pillar::after { display: none; }
.ethique-pillar:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
.pillar-num { display: block; font-style: italic; font-size: 1.1rem; color: #AEB4BC; margin-bottom: 10px; }
.ethique-pillar h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; }
.ethique-pillar p { font-size: .94rem; line-height: 1.6; font-weight: 400; color: var(--text-secondary); }

/* ---------- Vidéo d'Anthony ---------- */
.intro-video { padding: 110px 0; background: var(--bg-secondary); }
.intro-video-grid { display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: center; }
.intro-video-grid .video { order: -1; }
.intro-video .section-title { margin-bottom: 16px; }
.intro-video-text > p { color: var(--text-secondary); max-width: 620px; }
.intro-video-points { list-style: none; margin: 30px 0 34px; max-width: 620px; }
.intro-video-points li { display: grid; grid-template-columns: 46px 1fr; padding: 16px 0; border-top: 1px solid var(--border-subtle); color: var(--text-secondary); }
.intro-video-points li:last-child { border-bottom: 1px solid var(--border-subtle); }
.intro-video-points b { color: var(--accent); font-weight: 600; font-size: .82rem; letter-spacing: .1em; padding-top: 3px; }
.video { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #000; border-radius: 22px; width: 100%; }
.video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-son { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(10, 10, 11, .78); color: #fff;
    font-size: .86rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.video-son:hover { background: rgba(10, 10, 11, .92); }
.video-son svg { width: 18px; height: 18px; }

/* ---------- Aperçu des forfaits ---------- */
.apercu-plans { padding: 110px 0; }
.apercu-plans .section-title { margin-bottom: 14px; }
.apercu-plans-intro { color: var(--text-secondary); max-width: 560px; margin-bottom: 52px; }
.apercu-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.apercu-plan { position: relative; display: flex; flex-direction: column; padding: 36px 30px 30px; border-radius: 22px; background: var(--bg-secondary);
    border: 1px solid var(--border-subtle); transition: border-color .3s, transform .3s; }
.apercu-plan:hover { border-color: rgba(255, 255, 255, .3); transform: translateY(-3px); }
.apercu-plan--vedette { border: 1.5px solid var(--accent); }
.apercu-plan-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 14px; border-radius: 999px; background: var(--accent);
    color: var(--bg-primary); font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.apercu-plan-niveau { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-mid); margin-bottom: 10px; }
.apercu-plan h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; color: var(--text-primary); }
.apercu-plan p { color: var(--text-secondary); font-size: .92rem; margin-bottom: 26px; }
.apercu-plan-prix { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: .82rem; }
.apercu-plan-prix strong { font-size: 2.1rem; font-weight: 600; color: var(--text-primary); line-height: 1; }
.apercu-plan-lien { margin-top: 18px; font-size: .86rem; font-weight: 600; color: var(--text-primary); }
.apercu-plan-lien span { display: inline-block; transition: transform .2s; }
.apercu-plan:hover .apercu-plan-lien span { transform: translateX(3px); }

/* ---------- Forfaits de l'accueil, comme la démo ---------- */
.plans-demo { padding: 88px 0; background: var(--bg-secondary); }
.plans-demo .section-title { margin-bottom: 0; }
.plans-demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 28px 28px; border-radius: 22px; background: var(--bg-primary);
    border: 1px solid var(--border-subtle); box-shadow: 0 14px 40px rgba(0, 0, 0, .25); }
.plan--vedette { background: var(--bg-secondary); border: 1.5px solid var(--accent); }
.plan-tag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 12px; border-radius: 999px; background: #AEB4BC;
    color: var(--bg-primary); font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.plan--vedette .plan-tag { background: var(--accent); }
.plan h3 { font-size: 1.6rem; font-weight: 600; color: var(--text-primary); }
.plan-desc { color: var(--text-secondary); font-size: .9rem; margin: 8px 0 18px; }
.plan ul { list-style: none; display: grid; gap: 9px; font-size: .88rem; color: var(--text-secondary); margin-bottom: 24px; }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: #8A929C; }
.plan--vedette li::before { background: var(--accent); }
.plan-prix { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border-subtle); }
.plan-prix small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.plan-prix strong { font-size: 2.3rem; font-weight: 600; line-height: 1.1; color: var(--text-primary); }
.plan-prix span { font-size: .82rem; color: var(--text-secondary); }
.plan-prix em { display: block; font-style: normal; font-size: .76rem; color: var(--text-muted); margin: 2px 0 18px; }
.plan-prix button { width: 100%; }
.plans-demo-lien { margin-top: 34px; text-align: center; }
.plans-demo-lien a { font-size: .9rem; font-weight: 500; color: var(--text-primary); border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 3px; }
.plans-demo-lien a:hover { border-bottom-color: var(--text-primary); }

/* ---------- Témoignages de l'accueil, comme la démo : trois citations fixes ---------- */
.avis-demo { padding: 0 0 88px; background: var(--bg-secondary); }
.avis-note { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.avis-note strong { font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--text-primary); }
.avis-etoiles { color: var(--accent); letter-spacing: .1em; }
.avis-note span:last-child { color: var(--text-secondary); font-size: .9rem; }
/* Avis de l'accueil : défilement de la production (styles.css, reviews.js), texte à la taille du site en ligne */
.avis-demo { overflow: hidden; }
.avis-demo .reviews-marquee { margin: 0 calc(50% - 50vw); --reviews-fade: clamp(72px, 10vw, 160px); }
.avis-demo .reviews-marquee::before { background: linear-gradient(to right, var(--bg-secondary) 0%, rgba(23, 25, 28, 0) 100%); }
.avis-demo .reviews-marquee::after { background: linear-gradient(to left, var(--bg-secondary) 0%, rgba(23, 25, 28, 0) 100%); }
.avis-demo .review-card { background: var(--bg-primary); border: 1px solid var(--border-subtle); border-radius: 22px; }
.avis-demo .review-card:hover { background: var(--bg-primary); }
.avis-demo .review-author { font-family: var(--font); font-size: .95rem; }

/* ---------- Page Témoignages : tous les avis en grille, sans carrousel ---------- */
.reviews-page .reviews-marquee { margin: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.reviews-page .reviews-marquee::before, .reviews-page .reviews-marquee::after { display: none; }
.reviews-page .reviews-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: auto; animation: none; -webkit-animation: none; }
.reviews-page .review-card { width: auto; margin: 0; }
.reviews-page .review-card[aria-hidden="true"] { display: none; }

/* ---------- Avis ---------- */
.reviews { background: var(--bg-secondary); }
.review-card { border-radius: 22px; }
.reviews-more { text-align: center; margin-top: 40px; }

/* ---------- Appel final ---------- */
.cta-final { padding: 110px 0; text-align: center; }
.cta-final .section-title { margin-bottom: 14px; }
.cta-final p { color: var(--text-secondary); max-width: 540px; margin: 0 auto 32px; }

/* ---------- Pied de page : aligné sur la marge de la page ---------- */
.footer-inner { justify-content: space-between; text-align: left; }
.footer-brand { text-align: left; }
.footer-logo img { height: 44px; width: auto; display: block; }

/* ---------- Contact : le formulaire sur la marge de la page ---------- */
.contact-grid { margin: 0; max-width: 920px; }

/* ---------- Formulaire de réservation : les trois questions d'Anthony ---------- */
.form-question { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.form-question legend { padding: 0; margin-bottom: 12px; font-size: .95rem; font-weight: 600; color: var(--text-primary); }
.choix-liste { display: grid; gap: 8px; }
.choix { position: relative; display: block; padding: 13px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
    background: rgba(255, 255, 255, .02); color: var(--text-secondary); font-size: .92rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.choix:hover { border-color: rgba(255, 255, 255, .28); }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
/* Rond et texte en deux colonnes : une ligne qui passe à la suivante reste alignée sur le texte */
.choix span { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; }
.choix span::before { content: ""; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .55); box-sizing: border-box; transition: border .2s, background .2s; }
.choix:has(input:checked) { border-color: var(--accent); background: rgba(230, 231, 233, .06); color: var(--text-primary); }
.choix input:checked + span::before { border: 5px solid var(--accent); }
.choix:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.reserve-choice-plan { font-weight: 600; }
.reserve-choice-price { font-weight: 400; }
@media (max-width: 600px) {
    .reserve-choice-rows { flex-direction: column; align-items: flex-start; gap: 2px; }
    .reserve-choice-sep { display: none; }
}
.form-sous-titre { margin: 6px 0 14px; padding-top: 22px; border-top: 1px solid var(--border-subtle); font-size: .95rem; font-weight: 600; color: var(--text-primary); }

/* ---------- Cartes et champs : coins arrondis du design A ---------- */
.plan-card, .reserve-modal-panel, .contact-form, .gallery img { border-radius: 22px; }
input, textarea, .custom-select-trigger, .measure { border-radius: 12px; }

@media (max-width: 1080px) {
    .nav-links { gap: 22px; }
    .nav-links a { font-size: .8rem; }
}

@media (max-width: 900px) {
    .hero.hero-edito { padding: 112px 0 64px; }
    .hero-edito-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-photo { aspect-ratio: 4 / 5; }
    .intro-video { padding: 80px 0; }
    .intro-video-grid { grid-template-columns: 1fr; gap: 40px; }
    .video { max-width: 380px; margin: 0; }
    .intro-video-grid .video { order: 0; margin: 0 auto; }
    .apercu-plans, .cta-final { padding: 80px 0; }
    .apercu-plans-grid, .plans-demo-grid { grid-template-columns: 1fr; gap: 30px; }
    .plans-demo { padding: 72px 0; }
    .avis-demo { padding: 0 0 72px; }
    .reviews-page .reviews-track { grid-template-columns: 1fr; }
    .section-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .ethique-grid { grid-template-columns: 1fr; }
    .footer-inner { justify-content: center; text-align: center; }
    .footer-brand { text-align: center; }
    .footer-logo { display: flex; justify-content: center; }
}

/* Téléphone, comme la démo : logo à gauche ; langue, pastille « Réserver » et menu à droite ; boutons à leur largeur */
@media (max-width: 768px) {
    .nav-logo { order: 0; margin-right: auto; }
    .nav-mobile { display: flex; align-items: center; gap: 14px; margin-right: 6px; }
    .nav-mobile .nav-lang { font-size: .74rem; letter-spacing: .16em; color: var(--text-muted); padding: 8px 2px; }
    .menu-toggle { order: 2; }
    .hero-buttons { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
    .hero-buttons a, .hero-buttons button { width: auto; text-align: left; }
    .hero-edito .hero-buttons { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .nav-logo img { height: 32px; }
    .hero-chiffres { gap: 26px; }
    .hero-chiffres b { font-size: 1.9rem; }
    /* « accompagnements » doit tenir sur un téléphone de 360 px */
    .page-hero-title { font-size: clamp(1.9rem, 8.6vw, 2.5rem); overflow-wrap: break-word; }
    /* bande de photos bord à bord, sans glissement latéral sur les petits écrans */
    .gallery-strip { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
}

/* À propos sur ordinateur : la photo suit la lecture, plus de vide sous elle */
@media (min-width: 901px) {
    .about-photo { position: sticky; top: 120px; }
}

/* Paragraphes d'introduction : pas de mot seul sur la dernière ligne */
.plan-step-desc, .page-hero-desc { text-wrap: pretty; }
