:root {
    --bg-color: #fdfbf7;
    --bg-soft: #f4eee8;
    --text-color: #4a3f35;
    --text-muted: #736b66;
    --accient-color: #d4af7a; 
    --accent-hover: #c29d68;
    --primary-color: #4a3b32; 
    --white: #ffffff;
    --glass-border: rgba(255, 255, 255, 0.8);
    --shadow-soft: 0 12px 40px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,1);
    --shadow-hover: 0 20px 50px rgba(212, 175, 122, 0.15), inset 0 1px 0 rgba(255,255,255,1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
}

/* Base & Typography */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif { font-family: 'Cinzel', serif; color: var(--primary-color); }
h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 1rem; font-weight: 600; line-height: 1.2; }
h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); margin-bottom: 0.75rem; font-weight: 600; line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
p { margin-bottom: 1.2rem; }
strong { font-weight: 600; color: var(--primary-color); }

/* Utilities */
.container { width: 90%; max-width: 1140px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accient-color); }
.m-0 { margin: 0 !important; }
.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; }
.p-0 { padding: 0 !important; } .p-5 { padding: 3rem !important; }
.w-100 { width: 100%; }
.d-block { display: block; }
.justify-content-center { justify-content: center !important; }
.bg-soft { background-color: var(--bg-soft); border-top: 1px solid rgba(0,0,0,0.02); border-bottom: 1px solid rgba(0,0,0,0.02); }
section[id], .ui-card[id] { scroll-margin-top: 120px; }

/* Separators & Quotes */
.separator { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 15px auto 25px; }
.separator::before, .separator::after { content: ""; height: 1px; width: 40px; background: var(--accient-color); opacity: 0.5; }
.separator i { color: var(--accient-color); font-size: 0.9rem; }
.separator-left { display: flex; align-items: center; gap: 15px; margin: 15px 0 25px; }
.separator-left::after { content: ""; height: 1px; width: 60px; background: var(--accient-color); opacity: 0.5; }
.separator-left i { color: var(--accient-color); font-size: 0.9rem; }

.intro-quote { font-size: 1.2rem; font-style: italic; color: var(--primary-color); border-left: 3px solid var(--accient-color); padding-left: 20px; margin-bottom: 25px; }
.intro-quote-center { font-size: 1.3rem; font-style: italic; color: var(--accient-color); max-width: 800px; margin: 0 auto; }
.quote-box { background: rgba(212, 175, 122, 0.08); padding: 25px 30px; border-radius: var(--border-radius-md); border-left: 4px solid var(--accient-color); font-style: italic; font-size: 1.1rem; color: var(--primary-color); }
.highlight-box { display: flex; gap: 15px; align-items: center; background: rgba(255,255,255,0.8); padding: 15px 20px; border-radius: var(--border-radius-md); font-weight: 500; border: 1px solid rgba(212, 175, 122, 0.2); }
.highlight-box.align-start { align-items: flex-start; }

/* Buttons */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: 50px;
    font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1rem;
    cursor: pointer; transition: var(--transition); text-align: center; border: none;
}
.btn-primary {
    background: var(--primary-color); color: var(--white);
    box-shadow: 0 8px 20px rgba(74, 59, 50, 0.2);
}
.btn-primary:hover {
    background: var(--accient-color); transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(212, 175, 122, 0.3); color: white;
}
.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(74, 59, 50, 0.2);
    box-shadow: none;
}
.btn-secondary:hover {
    background: rgba(212, 175, 122, 0.12);
    border-color: rgba(212, 175, 122, 0.4);
    color: var(--primary-color);
    transform: translateY(-3px);
}
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* -------------------------------------------------------------------------- */
/* UI CARDS : DESIGN PREMIUM & MICRO-INTERACTIONS                             */
/* -------------------------------------------------------------------------- */
.ui-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 1) 0%, rgba(253, 248, 241, 0.85) 100%);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    position: relative; 
    z-index: 1;
}

.ui-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--accient-color), #fdf4e3);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    opacity: 0; transition: opacity 0.4s ease;
}

.ui-card.hover-lift { transition: var(--transition); padding: 2.5rem; }
.ui-card.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 122, 0.3);
    background: rgba(255, 255, 255, 1);
}
.ui-card.hover-lift:hover::before { opacity: 1; }

.icon-box {
    width: 65px; height: 65px; border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #fdf4e3 100%);
    color: var(--accient-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 122, 0.3);
    box-shadow: 0 8px 16px rgba(212, 175, 122, 0.12);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.icon-box.sm { width: 55px; height: 55px; font-size: 1.3rem; margin-bottom: 0; }

.ui-card.hover-lift:hover .icon-box {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 12px 20px rgba(212, 175, 122, 0.2);
}

.featured-card { 
    border: 1px solid var(--accient-color); 
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(253, 248, 241, 0.95)); 
}
.featured-card::before { opacity: 1; }

/* Typographie spécifique à l'intérieur des cartes pour casser l'effet "pavé de texte" */
.card-separator {
    width: 40px; height: 3px; background: var(--accient-color);
    margin: 15px 0 20px 0; border-radius: 2px; opacity: 0.7;
}
.card-body-text p {
    font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 12px;
}
.card-body-text p:last-child { margin-bottom: 0; }
.card-body-text .lead-text {
    font-size: 1.05rem; color: var(--text-color); font-weight: 500; line-height: 1.6; margin-bottom: 15px;
}

/* Grid Layouts */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.content-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.content-split-lg { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.about-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }

/* -------------------------------------------------------------------------- */
/* HEADER & NAV                                                               */
/* -------------------------------------------------------------------------- */
header { position: absolute; top: 0; width: 100%; z-index: 1000; padding: 25px 0; transition: var(--transition); }

.logo-wrapper {
    display: inline-flex; align-items: center; justify-content: center;
    width: 105px; height: 105px; border-radius: 50%;
    background: rgba(30, 20, 10, 0.45);
    border: 1px solid rgba(212, 175, 122, 0.5);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    margin-bottom: 15px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}
.header-main-logo { width: 75px; margin-bottom: 0; transition: var(--transition); }

header .top-nav a, header .nav-contact, header .header-site-name, header h1, header p {
    color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
header .nav-separator { color: rgba(255,255,255,0.5); }
header .header-ornament i { color: var(--accient-color); text-shadow: 0 2px 8px rgba(0,0,0,0.7); }

.top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    row-gap: 8px;
    width: min(96%, 1320px);
    margin: 0 auto 25px;
    padding: 0 20px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.top-nav a, .nav-contact { white-space: nowrap; }
.nav-contact { margin-left: 6px; }
.top-nav a:hover { color: var(--accient-color); }
.header-logo-area { text-align: center; }
.header-site-name { font-family: 'Great Vibes', cursive; font-size: 2.3rem; color: var(--accient-color); margin: 0; }
.header-logo-area h1 { font-size: 2.2rem; margin-top: 5px; letter-spacing: 1px; }

/* Header au scroll - Style principal */
header.scrolled {
    position: fixed; background: rgba(253, 251, 247, 0.95); backdrop-filter: blur(15px); box-shadow: 0 5px 20px rgba(0,0,0,0.05); padding: 10px 0;
}
header.scrolled .top-nav a, header.scrolled .nav-contact { color: var(--text-color); text-shadow: none; }
header.scrolled .header-site-name, header.scrolled h1, header.scrolled p { color: var(--primary-color); text-shadow: none; }
header.scrolled .nav-separator { color: var(--text-muted); }
header.scrolled .header-ornament i { text-shadow: none; }

/* On retire le fond fumé du logo au scroll */
header.scrolled .logo-wrapper {
    width: 45px; height: 45px; margin-bottom: 0;
    background: transparent; border: none; box-shadow: none; backdrop-filter: none;
}
header.scrolled .header-main-logo { width: 45px; }

@media(min-width:1201px){
    header.scrolled .header-logo-area { position: absolute; left: 40px; top: 12px; display: flex; align-items: center; gap: 15px; }
    header.scrolled .header-logo-area h1 { font-size: 1.1rem; margin: 0; }
    header.scrolled .header-site-name, header.scrolled .header-ornament, header.scrolled .header-logo-area p { display: none; }
    header.scrolled .top-nav {
        margin-bottom: 0;
        padding-top: 10px;
        padding-right: 28px;
        padding-left: 220px;
        justify-content: flex-end;
        width: 100%;
        gap: 8px;
        row-gap: 4px;
        font-size: 0.74rem;
    }
}

/* SECTION HERO */
#hero { min-height: 100vh; width: 100%; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; object-position: top center; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, rgba(30,20,10,0.3) 0%, rgba(30,20,10,0.05) 40%, rgba(30,20,10,0.4) 100%);
}
.hero-content { position: relative; z-index: 3; text-align: center; margin-top: 50px; }
.hero-phrase {
    margin: 0; padding: 16px 45px; display: inline-block;
    font-family: 'Great Vibes', cursive; font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #ffffff; text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 60px; backdrop-filter: blur(8px);
}

/* About Section */
.portrait-frame { position: relative; border-radius: 500px 500px 0 0; padding: 15px; background: white; box-shadow: var(--shadow-soft); border: 1px solid var(--glass-border); }
.about-portrait { border-radius: 500px 500px 0 0; width: 100%; object-fit: cover; }
.floating-badge { position: absolute; bottom: 30px; left: -20px; background: white; padding: 14px 26px; border-radius: 40px; box-shadow: var(--shadow-hover); font-weight: 600; color: var(--primary-color); display: flex; gap: 12px; align-items: center; border: 1px solid rgba(212, 175, 122, 0.2); }
.floating-badge i { color: var(--accient-color); font-size: 1.2rem; }

/* Formations / Lists */
.clean-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.clean-list li { display: flex; gap: 15px; align-items: flex-start; background: white; padding: 18px 25px; border-radius: var(--border-radius-md); box-shadow: 0 4px 15px rgba(0,0,0,0.02); border: 1px solid var(--glass-border); line-height: 1.6; }
.clean-list li i { margin-top: 4px; font-size: 1.1rem; }
.price-list .price-row { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px dashed rgba(212, 175, 122, 0.3); }
.price-list .price-row:last-child { border-bottom: none; }
.sticky-panel { position: sticky; top: 120px; }
.sticky-top-lg { position: sticky; top: 120px; }
.tarifs-grid .ui-card { height: 100%; }
.tarif-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(212, 175, 122, 0.12);
    border: 1px solid rgba(212, 175, 122, 0.28);
    color: var(--primary-color);
    font-size: 0.92rem;
    font-weight: 500;
}
.pricing-cta { overflow: hidden; }
.pricing-cta-layout { align-items: center; }
.pricing-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 20px; align-items: center; padding: 20px; background: rgba(255,255,255,0.7); border-radius: var(--border-radius-md); transition: var(--transition); border: 1px solid var(--glass-border); }
.contact-item:hover { background: white; box-shadow: var(--shadow-soft); transform: translateX(5px); }
.contact-item .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); display: block; margin-bottom: 2px; }
.contact-item strong { font-size: 1.1rem; color: var(--primary-color); }
.social-links { display: flex; gap: 15px; }
.social-btn { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: white; border-radius: 50%; box-shadow: var(--shadow-soft); color: var(--primary-color); font-size: 1.2rem; transition: var(--transition); border: 1px solid rgba(212, 175, 122, 0.15); }
.social-btn:hover { background: var(--accient-color); color: white; transform: translateY(-3px); box-shadow: var(--shadow-hover); }

/* Footer */
.site-footer { background: var(--primary-color); color: rgba(255,255,255,0.7); padding: 70px 0 30px; position: relative; }
.site-footer h3 { color: white; }
.footer-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; font-family: 'Cinzel', serif; margin-top: 20px; }
.footer-links a:hover { color: var(--accient-color); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; margin-top: 30px; font-size: 0.9rem; }
.footer-bottom p { margin-bottom: 0.35rem; }
.cms-mention { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.cms-mention a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cms-mention a:hover { color: rgba(255,255,255,0.78); }
.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 0.9rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}
.legal-links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-links a:hover { color: rgba(255,255,255,0.82); }

/* Legal Pages */
.legal-page {
    padding: 170px 0 80px;
    min-height: calc(100vh - 280px);
}
.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}
.breadcrumb a:hover { color: var(--accient-color); }
.legal-shell {
    background: rgba(255,255,255,0.96);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(212, 175, 122, 0.18);
    box-shadow: var(--shadow-soft);
    padding: 3rem;
    max-width: 980px;
    margin: 0 auto;
}
.legal-header {
    text-align: center;
    padding-bottom: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 122, 0.22);
}
.legal-shell h1 {
    margin-bottom: 0.8rem;
    text-align: center;
}
.legal-header p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.legal-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(252,247,241,0.88));
    border: 1px solid rgba(212, 175, 122, 0.14);
    border-radius: var(--border-radius-md);
    padding: 1.6rem 1.8rem;
}
.legal-section + .legal-section {
    margin-top: 1.25rem;
}
.legal-shell h2 {
    margin-top: 0;
    margin-bottom: 0.9rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(212, 175, 122, 0.3);
    font-size: clamp(1.35rem, 2vw, 1.6rem);
}
.legal-shell p,
.legal-shell ul {
    color: var(--text-color);
    line-height: 1.75;
}
.legal-shell ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1.3rem;
}
.legal-shell li {
    margin-bottom: 0.7rem;
}
.legal-facts {
    list-style: none !important;
    padding-left: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.8rem;
}
.legal-facts li {
    margin-bottom: 0;
    padding: 0.95rem 1rem;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(212, 175, 122, 0.2);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(74, 59, 50, 0.04);
}
.legal-shell strong { color: var(--primary-color); }
.legal-note {
    background: rgba(212, 175, 122, 0.08);
    border-left: 4px solid var(--accient-color);
    border-radius: var(--border-radius-md);
    padding: 1rem 1.2rem;
    color: var(--text-muted);
}
.legal-note p:last-child { margin-bottom: 0; }
.legal-note-plain {
    background: rgba(255,255,255,0.88);
    color: var(--text-color);
    border: 1px solid rgba(212, 175, 122, 0.22);
    border-left: 4px solid var(--accient-color);
}

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; } 

/* Hamburger Menu Base */
.hamburger { display: none; cursor: pointer; position: absolute; top: 22px; right: 20px; z-index: 1001; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); border: none; box-shadow: var(--shadow-soft); transition: var(--transition); }
.bar { display: block; width: 22px; height: 2px; margin: 5px auto; background-color: var(--primary-color); transition: var(--transition); }
.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 0; left: -100%; width: min(82%, 380px); height: 100vh; background: var(--bg-color); box-shadow: 10px 0 30px rgba(0,0,0,0.1); flex-direction: column; justify-content: center; align-items: center; gap: 25px; transition: 0.35s ease; z-index: 1000; }
.mobile-menu.active { left: 0; }
.mobile-link { font-family: 'Cinzel', serif; font-size: 1.2rem; text-transform: uppercase; font-weight: 600; }

/* Responsive adjustments - Tablettes */
@media (max-width: 992px) {
    .content-split, .content-split-lg, .about-content, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .floating-badge { bottom: -20px; left: 50%; transform: translateX(-50%); width: 85%; justify-content: center; }
    .contact-map iframe { min-height: 350px; }
    .sticky-top-lg { position: static; }
    .ui-card { padding: 2rem; }
    .pricing-cta-actions { justify-content: flex-start; }
    .button-row .btn { width: 100%; }
    .legal-page { padding-top: 145px; }
    .legal-shell { padding: 2rem; }
    .legal-header { padding-bottom: 1.4rem; margin-bottom: 1.5rem; }
    .legal-section { padding: 1.25rem 1.15rem; }
    .legal-facts { grid-template-columns: 1fr; }
    .legal-links { gap: 10px 16px; }
}

/* ========================================================================== */
/* CORRECTION EXACTE DU MENU MOBILE (MAX 1200px)                              */
/* ========================================================================== */
@media (max-width: 1200px) {
    .top-nav { display: none; }
    .hamburger { display: block; }
    .mobile-menu { display: flex; }

    /* Le header au scroll devient une fine barre pour libérer l'écran */
    header.scrolled {
        padding: 5px 0;
        height: 65px;
        display: flex;
        align-items: center;
    }

    /* On CACHE les gros textes quand on scrolle sur mobile */
    header.scrolled .header-site-name,
    header.scrolled .header-ornament,
    header.scrolled .header-logo-area h1,
    header.scrolled .header-logo-area p {
        display: none !important;
    }

    /* On garde uniquement le logo à gauche */
    header.scrolled .header-logo-area {
        padding: 0 0 0 20px;
        margin: 0;
        display: flex;
        align-items: center;
        height: 100%;
    }

    header.scrolled .logo-wrapper {
        width: 45px; 
        height: 45px; 
        margin: 0;
        background: transparent; 
        border: none; 
        box-shadow: none; 
        backdrop-filter: none;
    }

    header.scrolled .header-main-logo {
        width: 45px;
        height: 45px;
        margin: 0;
    }

    /* On recentre parfaitement le bouton du menu à droite */
    header.scrolled .hamburger {
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.6);
    }
}
