/* ============ home.css — styles spécifiques à la homepage ============
   Override d'als.css pour la zone hero (header transparent, hero sombre,
   citation, contact). Chargé en plus d'als.css dans index.php. */

/* Header en mode overlay sur hero (override du sticky/solide d'als.css) */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 20px 48px;
    transition: background 0.5s, padding 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(148,116,54,0.1);
    padding: 12px 48px;
}
.site-header .logo {
    height: 50px;
    filter: brightness(0) invert(1); /* blanc sur hero sombre */
    transition: height 0.4s, filter 0.4s;
}
.site-header.scrolled .logo {
    height: 40px;
    filter: none;
}
.site-header .cta {
    border: 1px solid rgba(255,255,255,0.6);
    color: var(--blanc);
    padding: 10px 24px; border-radius: 999px;
    font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.site-header .cta:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.9); }
.site-header.scrolled .cta {
    border-color: var(--or); color: var(--or);
    background: transparent;
}
.site-header.scrolled .cta:hover { background: var(--or); color: var(--blanc); }

/* Header — paire de CTA "Mon espace" + "Réserver" */
.site-header .header-actions { display: flex; align-items: center; gap: 22px; }
/* Mon espace : reprend exactement le style de .hero-btn-ghost (underline subtil) */
.site-header .cta-ghost {
    color: rgba(240,235,224,0.65);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    padding: 6px 0;
    border: none;
    border-bottom: 1px solid rgba(240,235,224,0.25);
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.site-header .cta-ghost:hover {
    background: transparent;
    color: rgba(240,235,224,0.95);
    border-bottom-color: rgba(240,235,224,0.6);
}
/* Sur fond clair (scrolled) : passe en or */
.site-header.scrolled .cta-ghost {
    color: var(--or);
    border-bottom-color: rgba(148,116,54,0.35);
}
.site-header.scrolled .cta-ghost:hover {
    background: transparent;
    color: var(--or-light);
    border-bottom-color: var(--or);
}

/* « Déconnexion » : picto power/off (action destructive → rouge annulation).
   Tonalité tamisée sur fond hero dark, plus marquée sur fond clair scrolled. */
.site-header .header-logout-link {
    background: transparent;
    cursor: pointer;
    color: rgba(208,90,90,0.8);
    padding: 7px;
    border: none;
    border-radius: 50%;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}
.site-header .header-logout-link svg { width: 20px; height: 20px; display: block; }
.site-header .header-logout-link:hover {
    color: rgba(232,120,120,1);
    background: rgba(232,120,120,0.14);
}
/* Sur fond clair (scrolled) : rouge annulation plein ALS (#a0282a) */
.site-header.scrolled .header-logout-link { color: #a0282a; }
.site-header.scrolled .header-logout-link:hover {
    color: #c5333a;
    background: rgba(160,40,42,0.10);
}

@media (max-width: 600px) {
    .site-header .header-actions { gap: 14px; }
    .site-header .cta-ghost { font-size: 10px; letter-spacing: 1.5px; padding: 5px 0; }
    .site-header .header-logout-link svg { width: 19px; height: 19px; }
}

/* ============ HERO ============ */
.hero {
    position: relative;
    height: min(90vh, 820px);
    min-height: 540px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 30%;
    filter: brightness(0.32) saturate(0.65);
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 80px 32px 60px;
    display: flex; flex-direction: column; align-items: center;
}
.hero-eyebrow {
    font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
    color: rgba(255,255,255,0.65); font-weight: 600; margin-bottom: 24px;
}
.hero-logo {
    max-width: min(240px, 50vw);
    margin-bottom: 36px;
    filter: drop-shadow(0 0px 32px rgba(0,0,0,0.7)) drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(13px, 1.3vw, 16px);
    font-style: italic; font-weight: 300;
    color: rgba(240,235,224,0.75); line-height: 1.9;
    max-width: 460px; margin-bottom: 48px;
    letter-spacing: 0.3px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; }
.hero-btn-primary {
    background: rgba(148,116,54,0.9); color: var(--blanc);
    padding: 13px 36px; border-radius: 999px;
    font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    transition: background 0.2s;
}
.hero-btn-primary:hover { background: var(--or-light); }

/* Override de .hero-btn-ghost pour le mode hero (sur fond sombre) */
.hero .hero-btn-ghost {
    color: rgba(240,235,224,0.65);
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 400; padding: 13px 0;
    border-bottom: 1px solid rgba(240,235,224,0.25);
    transition: color 0.2s, border-color 0.2s;
    background: transparent; border-top: none; border-left: none; border-right: none;
    border-radius: 0; cursor: pointer;
}
.hero .hero-btn-ghost:hover { color: rgba(240,235,224,0.95); border-color: rgba(240,235,224,0.6); }

/* ============ CITATION ============ */
.citation {
    background: var(--beige);
    padding: 72px 24px;
    text-align: center;
}
.citation blockquote {
    max-width: 640px; margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(15px, 1.5vw, 18px); font-style: italic; font-weight: 300;
    line-height: 1; color: var(--texte); letter-spacing: 0.2px;
}
.citation .script {
    font-family: 'Dancing Script', cursive; font-weight: 700;
    color: var(--or); font-size: clamp(34px, 4vw, 50px); line-height: 1.1;
}
.citation cite {
    display: block; margin-top: 28px;
    font-size: 15px; letter-spacing: 1.5px;
    color: var(--texte-light); font-style: normal; font-weight: 400;
}

/* ============ PRESTAS (wrapper homepage) ============ */
.prestas {
    padding: 96px 48px 112px;
    background: var(--blanc);
}
.prestas .inner { max-width: 860px; margin: 0 auto; }
.prestas .section-header { margin-bottom: 72px; }

/* Overrides menu-carte spécifiques homepage (padding-top sur titres de cat) */
.prestas .menu-cat-title { padding-top: 48px; }
.prestas .menu-cat:first-child .menu-cat-title { padding-top: 48px; }

/* ============ CONTACT ============ */
.contact {
    background: var(--beige);
    padding: 96px 48px 112px;
}
.contact .inner { max-width: 960px; margin: 0 auto; text-align: center; }

.contact-infos {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    gap: 0;
    margin-top: 64px;
    margin-bottom: 64px;
}
.contact-divider {
    background: rgba(148,116,54,0.2);
    align-self: stretch;
}
.contact-bloc { padding: 0 48px; }
.contact-bloc h4 {
    font-family: 'Dancing Script', cursive; font-weight: 700;
    color: var(--or); font-size: 24px; margin-bottom: 20px;
}
.contact-bloc p,
.contact-bloc a {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    font-size: 14px; line-height: 1.9; color: var(--texte);
    transition: color 0.2s;
}
.contact-bloc a:hover { color: var(--or); }
.contact-bloc .icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--or); }
.contact-bloc .horaires { font-style: italic; color: var(--texte-light); font-size: 13px; line-height: 1.8; }
.contact-bloc .paiements {
    margin-top: 14px;
    font-size: 11px; line-height: 1.7;
    color: var(--texte-light);
    letter-spacing: 0.3px; font-style: italic;
    opacity: 0.8;
}

.contact .cta-big {
    display: inline-block;
    background: var(--or); color: var(--blanc);
    padding: 16px 52px; border-radius: 999px;
    font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(148,116,54,0.28);
}
.contact .cta-big:hover { background: var(--or-light); box-shadow: 0 6px 28px rgba(148,116,54,0.4); }

.cat-mention {
    margin-top: 20px;
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--texte-light); font-weight: 400; text-align: right;
}
.brand-name {
    font-family: 'Dancing Script', cursive; font-weight: 700;
    color: var(--or); font-size: 18px; text-transform: none;
}
.formation-mention {
    margin-top: 72px;
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--texte-light); font-weight: 400;
}
.paiements-cta {
    margin-top: 20px;
    font-size: 12px; letter-spacing: 0.5px;
    color: var(--texte-light); font-style: italic;
    opacity: 0.8;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .contact-infos {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-divider { display: none; }
    .contact-bloc { padding: 0; }
}
@media (max-width: 768px) {
    .site-header { padding: 14px 20px; }
    .site-header.scrolled { padding: 10px 20px; }
    .hero { height: min(88vh, 680px); }
    .hero-actions { flex-direction: column; gap: 16px; }
    .prestas { padding: 64px 20px 80px; }
    .contact { padding: 64px 20px 80px; }
}
