/* ==========================================================================
   CABINET CLARA DELAUBIER - FEUILLE DE STYLE UNIFIÉE (style.css)
   ========================================================================== */

:root {
    --primary: #004ABD;
    --secondary: #FCFBDC;
    --tertiary: #DDC1A3;
    --tertiary-text: #8C6D4F;
    --font-title: 'Playfair Display', serif;
    --font-text: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    scroll-behavior: smooth;
    font-size: 16px;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #FFFFFF;
    color: var(--primary);
    font-family: var(--font-text);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typographie de base (18px sur la page d'accueil via .page-home) */
html.page-home { font-size: 18px; }

h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.1; overflow-wrap: break-word; }
p { line-height: 1.8; font-size: 1.05rem; text-align: left; }
html.page-home p { font-size: 1.15rem; }
li { text-align: left; }

.subtitle, .news-date, .related-nav-title, .meta-date {
    color: var(--tertiary-text) !important;
}

/* --- NAVIGATION PRINCIPALE (TOP BAR) --- */
.top-bar {
    position: absolute; top: 0; left: 0; width: 100%; padding: 1.8rem 6vw;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100; gap: 1.5rem; flex-wrap: wrap;
}
body.static-header .top-bar {
    position: relative;
    background-color: var(--secondary);
    border-bottom: 1px solid rgba(0, 74, 189, 0.1);
}

.main-nav { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.main-nav a {
    font-family: var(--font-text); font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 2.5px; color: var(--primary); text-decoration: none;
    opacity: 0.75; transition: all 0.3s ease; font-weight: 400; padding-bottom: 3px;
    border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a.active-nav { opacity: 1; border-bottom-color: var(--tertiary); }

.top-right-group { display: flex; align-items: center; gap: 1.8rem; }
.header-urgent-tel {
    font-family: var(--font-text); font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--primary); text-decoration: none;
    font-weight: 500; padding: 8px 14px; border: 1px solid rgba(0, 74, 189, 0.25);
    background-color: rgba(255, 255, 255, 0.65); transition: all 0.3s ease;
    white-space: nowrap;
}
.header-urgent-tel:hover { background-color: var(--primary); color: #FFFFFF; border-color: var(--primary); }

.lang-switch { font-family: var(--font-text); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; }
.lang-switch a { color: var(--primary); text-decoration: none; opacity: 0.5; transition: all 0.3s ease; }
.lang-switch a:hover, .lang-switch a.active { opacity: 1; font-weight: 400; }
.lang-switch .separator { opacity: 0.3; margin: 0 8px; color: var(--primary); }

/* --- BOUTONS --- */
.btn-premium {
    display: inline-flex; align-items: center; justify-content: center; padding: 20px 45px;
    font-family: var(--font-text); text-transform: uppercase; letter-spacing: 4px;
    font-size: 0.75rem; font-weight: 400; color: var(--primary); text-decoration: none;
    border: 1px solid rgba(0, 74, 189, 0.3); background: transparent;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden; text-align: center; cursor: pointer;
}
.btn-premium::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--primary); transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); z-index: -1;
}
.btn-premium:hover::before { transform: translateY(0); }
.btn-premium:hover { color: #FFFFFF; border-color: var(--primary); }

.btn-honoraires {
    display: inline-flex; align-items: center; justify-content: center; padding: 20px 45px;
    font-family: var(--font-text); text-transform: uppercase; letter-spacing: 4px;
    font-size: 0.75rem; font-weight: 400; color: var(--primary); text-decoration: none;
    border: 1px solid rgba(0, 74, 189, 0.3); background-color: transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; text-align: center; width: 100%;
}
.btn-honoraires:hover { background-color: var(--primary); color: #FFFFFF; border-color: var(--primary); }

/* --- PAGE D'ACCUEIL (HERO, SERVICES, PROFIL, ACTUALITÉS, FAQ) --- */
.hero, .services, .profil, .actualites, footer { width: 100%; }

.hero {
    min-height: 100vh; min-height: 100dvh; width: 100%; padding: 8vw 6vw;
    display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center;
    gap: 6vw; background-color: var(--secondary); position: relative; overflow: hidden;
}
.hero-video-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 1; opacity: 0.5; pointer-events: none;
}
.hero-content, .hero-visual { position: relative; z-index: 2; }
.hero-content { display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(3.5rem, 8vw, 7.5rem); letter-spacing: -2px; margin-bottom: 2rem; animation: fadeUp 1.5s ease forwards; opacity: 0; transform: translateY(30px); }
.hero-kicker { display: block; font-family: var(--font-text); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; font-weight: 400; opacity: 0.75; margin-bottom: 1rem; }
.hero p { max-width: 560px; font-size: 1.15rem; margin-bottom: 3.5rem; opacity: 0; animation: fadeUp 1.5s ease 0.3s forwards; }
.hero-actions { display: inline-flex; flex-direction: column; gap: 15px; width: fit-content; }
.hero-actions .btn-premium { width: 100%; }
.hero-visual { display: block; width: 100%; text-align: center; animation: fadeIn 2s ease 0.6s forwards; opacity: 0; margin-top: -6vw; }
.hero-logo { display: inline-block; width: 100%; max-width: 600px; height: auto; object-fit: contain; }

.services { padding: 12vw 6vw; background: #FFFFFF; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; }
.services-header { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; margin-bottom: 6vw; gap: 1.5rem; }
.services-header h2 { font-size: clamp(3.8rem, 7vw, 6.5rem); line-height: 1.1; }
.services-header p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; text-align: center !important; opacity: 0.7; line-height: 1.8; }
.service-item {
    border-top: 1px solid rgba(0, 74, 189, 0.15); padding: 4.5vw 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); text-decoration: none; color: var(--primary); cursor: pointer; text-align: center;
}
.service-item:hover { transform: translateY(-8px); background: linear-gradient(180deg, rgba(252, 251, 220, 0.4) 0%, transparent 100%); }
.service-number { font-size: 1rem; letter-spacing: 4px; margin-bottom: 1.2rem; opacity: 0.5; }
.service-title { font-size: clamp(2.5rem, 4vw, 3.8rem); font-family: var(--font-title); padding: 0 20px; line-height: 1.2; font-weight: 400; }
.service-sub { font-family: var(--font-text); font-size: 0.85rem; opacity: 0.65; margin-top: 0.8rem; max-width: 700px; padding: 0 20px; letter-spacing: 0.5px; line-height: 1.5; }

.profil { padding: 12vw 6vw; background-color: var(--primary); color: #FFFFFF; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 6vw; align-items: center; min-height: 100vh; min-height: 100dvh; }
.profil-img-container { display: block; width: 100%; }
.profil-img { display: block; width: 100%; height: auto; border: 1px solid rgba(255, 255, 255, 0.2); filter: contrast(1.05) brightness(0.95); }
.profil-content { display: flex; flex-direction: column; justify-content: center; }
.profil-content h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 2rem; color: var(--secondary); }
.profil-content p { margin-bottom: 1.5rem; opacity: 0.9; }
.award { margin-top: 3rem; padding-left: 2rem; border-left: 1px solid var(--tertiary); }
.award-title { font-family: var(--font-title); font-size: 1.5rem; color: var(--tertiary); margin-bottom: 0.5rem; }
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.skill-item h3 { font-family: var(--font-title); font-size: 1.2rem; color: var(--tertiary); margin-bottom: 0.5rem; }
.skill-item p { font-size: 0.9rem; line-height: 1.5; opacity: 0.7; margin-bottom: 0; }

.actualites { padding: 12vw 6vw; background-color: var(--secondary); color: var(--primary); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; }
.actualites-header { display: flex; justify-content: center; align-items: center; text-align: center; margin-bottom: 6vw; }
.actualites-header h2 { font-size: clamp(3.8rem, 7vw, 6.5rem); line-height: 1.1; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 4vw; }
.news-card { background: #FFFFFF; padding: 4vw; border: 1px solid rgba(0, 74, 189, 0.05); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.news-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0, 74, 189, 0.08); border-color: rgba(0, 74, 189, 0.2); }
.news-date { font-size: 0.75rem; color: var(--tertiary); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 2rem; display: block; text-align: left; }
.news-title { font-size: 1.8rem; font-family: var(--font-title); margin-bottom: 1.5rem; line-height: 1.3; text-align: left; }
.news-excerpt { font-size: 1rem; opacity: 0.75; margin-bottom: 2.5rem; }
.news-link { display: inline-block; line-height: 1.6; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2.5px; color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--tertiary); padding-bottom: 6px; transition: all 0.3s ease; }
.news-link:hover { border-bottom-color: var(--primary); }

.home-faq-section { padding: 8vw 6vw; background-color: #FFFFFF; border-top: 1px solid rgba(0, 74, 189, 0.1); }
.home-faq-container { max-width: 1000px; margin: 0 auto; }
.home-faq-container h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); text-align: center; margin-bottom: 3.5rem; color: var(--primary); }
.home-faq-item { background-color: var(--secondary); border-left: 3px solid var(--tertiary); padding: 2rem 2.5rem; margin-bottom: 1.5rem; }
.home-faq-item h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--primary); }
.home-faq-item p { font-size: 0.98rem; margin: 0; opacity: 0.9; line-height: 1.8; }

/* --- PAGES EXPERTISES INTERNES --- */
.page-header {
    padding: 12vw 6vw 8vw 6vw; background-color: var(--secondary); text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 40vh;
}
.page-header h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); margin-bottom: 1.5rem; animation: fadeUp 1s ease forwards; }
.page-header p { max-width: 720px; font-size: 1.1rem; opacity: 0; animation: fadeUp 1s ease 0.3s forwards; text-align: center !important; }

.content-section { padding: 8vw 6vw; background: #FFFFFF; }
.section-intro { max-width: 900px; margin: 0 auto 5vw auto; text-align: center !important; font-size: 1.1rem; line-height: 1.9; opacity: 0.9; }
.section-intro a { color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--tertiary); font-weight: 400; }

.content-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4vw; max-width: 1200px; margin: 0 auto;
}
.expertise-card {
    flex: 1 1 380px; max-width: calc(50% - 2vw); background: #FFFFFF; padding: 4vw;
    border: 1px solid rgba(0, 74, 189, 0.1); box-shadow: 0 10px 30px rgba(0, 74, 189, 0.03);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.expertise-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 74, 189, 0.08); border-color: rgba(0, 74, 189, 0.2); }
.expertise-title { font-family: var(--font-title); font-size: clamp(1.8rem, 2.8vw, 2.4rem); color: var(--primary); margin-bottom: 2rem; border-bottom: 1px solid var(--tertiary); padding-bottom: 1.5rem; }
.expertise-list { list-style: none; }
.expertise-list li { position: relative; padding-left: 2rem; margin-bottom: 1.8rem; font-size: 1.02rem; line-height: 1.7; text-align: left; }
.expertise-list li strong { font-weight: 500; display: block; margin-bottom: 0.3rem; color: var(--primary); }
.expertise-list li span { opacity: 0.85; font-size: 0.95rem; }
.expertise-list li::before { content: '//'; position: absolute; left: 0; top: 2px; color: var(--tertiary); font-family: var(--font-title); font-weight: 600; }

/* FAQ & Maillage interne */
.faq-section { max-width: 1000px; margin: 7vw auto 0 auto; padding-top: 5vw; border-top: 1px solid rgba(0, 74, 189, 0.15); }
.faq-section h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); text-align: center; margin-bottom: 3rem; color: var(--primary); }
.faq-item { background-color: var(--secondary); border-left: 3px solid var(--tertiary); padding: 2rem 2.5rem; margin-bottom: 1.5rem; }
.faq-item h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--primary); }
.faq-item p { font-size: 0.98rem; margin: 0; opacity: 0.9; }

.related-nav { max-width: 1200px; margin: 6vw auto 0 auto; padding-top: 4vw; border-top: 1px solid rgba(0, 74, 189, 0.1); text-align: center; }
.related-nav-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: var(--tertiary-text); margin-bottom: 1.5rem; display: block; }
.related-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 3rem; }
.related-links a { font-family: var(--font-title); font-size: 1.25rem; color: var(--primary); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 4px; transition: all 0.3s ease; }
.related-links a:hover { border-bottom-color: var(--tertiary); opacity: 0.8; }


/* --- TABLEAUX COMPARATIFS SEO / GEO (FEATURED SNIPPETS) --- */
.geo-table-section { max-width: 1100px; margin: 6vw auto 0 auto; padding-top: 4vw; border-top: 1px solid rgba(0, 74, 189, 0.12); }
.geo-table-section h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); text-align: center; margin-bottom: 1rem; color: var(--primary); }
.geo-table-intro { text-align: center !important; max-width: 820px; margin: 0 auto 2.5rem auto; font-size: 0.98rem; opacity: 0.85; }
.geo-table-wrapper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 10px 30px rgba(0, 74, 189, 0.04); border: 1px solid rgba(0, 74, 189, 0.15); background: #FFFFFF; }
.geo-table { width: 100%; border-collapse: collapse; min-width: 640px; font-family: var(--font-text); font-size: 0.92rem; color: var(--primary); }
.geo-table thead th { background-color: var(--primary); color: #FFFFFF; font-family: var(--font-title); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.5px; padding: 16px 20px; text-align: left; border-bottom: 2px solid var(--tertiary); }
.geo-table tbody td { padding: 16px 20px; border-bottom: 1px solid rgba(0, 74, 189, 0.1); vertical-align: top; line-height: 1.6; text-align: left; }
.geo-table tbody tr:nth-child(even) { background-color: rgba(252, 251, 220, 0.45); }
.geo-table tbody tr:hover { background-color: var(--secondary); }
.geo-table tbody td strong { font-weight: 500; color: var(--primary); }

/* --- PAGE HONORAIRES --- */
.subpage-hero {
    padding: 12vw 6vw 6vw 6vw; background-color: var(--secondary); text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 45vh;
}
.subpage-hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); color: var(--primary); margin-bottom: 1.5rem; animation: fadeUp 1s ease forwards; opacity: 0; transform: translateY(20px); }
.subpage-hero p { text-align: center !important; text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; animation: fadeIn 1.5s ease 0.3s forwards; opacity: 0; }
.honoraires-content { padding: 8vw 6vw; background: #FFFFFF; max-width: 1000px; margin: 0 auto; }
.honoraires-intro { font-size: 1.15rem; line-height: 1.9; margin-bottom: 4vw; text-align: center !important; opacity: 0.9; }
.rdv-box { background-color: var(--secondary); border-left: 4px solid var(--tertiary); padding: 4vw; margin-bottom: 5vw; transition: transform 0.4s ease; }
.rdv-box:hover { transform: translateX(10px); }
.rdv-box h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.5rem; color: var(--primary); }
.rdv-box p { margin: 0; }
.billing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; margin-bottom: 5vw; }
.billing-card { border: 1px solid rgba(0, 74, 189, 0.15); padding: 4vw; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); background: #FFFFFF; }
.billing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 74, 189, 0.08); border-color: rgba(0, 74, 189, 0.3); background: linear-gradient(180deg, rgba(252, 251, 220, 0.2) 0%, transparent 100%); }
.billing-card h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--primary); margin-bottom: 1.5rem; }
.billing-card p { font-size: 1rem; margin: 0; }
.convention-section { text-align: center; padding-top: 5vw; border-top: 1px solid rgba(0, 74, 189, 0.15); }
.convention-section h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 2rem; color: var(--primary); }
.convention-section p { max-width: 800px; margin: 0 auto 3rem auto; text-align: center !important; }

/* --- PAGES ARTICLES & PUBLICATIONS --- */
.container { max-width: 900px; margin: 0 auto; padding: 6vw 6vw 10vw 6vw; }
.article-header { margin-bottom: 5rem; border-bottom: 1px solid rgba(0, 74, 189, 0.15); padding-bottom: 3rem; }
.meta-date { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; color: var(--tertiary-text); margin-bottom: 1rem; display: block; }
.container h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.2; font-weight: 400; margin-bottom: 1.5rem; }
.author-tag { font-family: var(--font-title); font-size: 1.3rem; font-style: italic; color: var(--primary); opacity: 0.9; }
.article-body { font-size: 1.1rem; line-height: 1.9; }
.article-body a { color: var(--primary); text-decoration: none; font-weight: 500; border-bottom: 2px solid var(--tertiary); transition: border-color 0.3s ease; }
.article-body a:hover { border-color: var(--primary); }
.article-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--primary); margin: 4rem 0 2rem 0; font-weight: 400; border-left: 3px solid var(--tertiary); padding-left: 15px; }
.article-body h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--primary); margin: 3rem 0 1.5rem 0; font-weight: 400; opacity: 0.9; }
.article-body p { margin-bottom: 2rem; opacity: 0.95; }
.article-body ul { margin-bottom: 2rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 1rem; opacity: 0.95; }
.chapeau { font-weight: 400; font-size: 1.2rem; font-style: italic; border-left: 1px solid var(--tertiary); padding-left: 1.5rem; margin-bottom: 3rem; }
.footnote { margin-top: 5rem; padding-top: 2rem; border-top: 1px solid rgba(0, 74, 189, 0.1); font-size: 0.9rem; opacity: 0.7; font-style: italic; line-height: 1.6; }

.article-cta { margin-top: 4rem; padding: 3rem; background-color: var(--secondary); border: 1px solid rgba(0, 74, 189, 0.15); text-align: center; }
.article-cta h3 { margin: 0 0 1rem 0; font-size: 1.8rem; }
.article-cta p { text-align: center !important; margin-bottom: 2rem; font-size: 1rem; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.btn-cta { display: inline-flex; align-items: center; padding: 16px 35px; font-family: var(--font-text); text-transform: uppercase; letter-spacing: 3px; font-size: 0.75rem; font-weight: 400; color: var(--primary); text-decoration: none; border: 1px solid var(--primary); transition: all 0.4s ease; }
.btn-cta:hover { background-color: var(--primary); color: #FFFFFF; }
.btn-cta-primary { display: inline-flex; align-items: center; padding: 16px 35px; font-family: var(--font-text); text-transform: uppercase; letter-spacing: 3px; font-size: 0.75rem; font-weight: 400; color: #FFFFFF; background-color: var(--primary); text-decoration: none; border: 1px solid var(--primary); transition: all 0.4s ease; cursor: pointer; }
.btn-cta-primary:hover { background-color: transparent; color: var(--primary); }

/* --- PAGES MENTIONS LÉGALES --- */
.header-page { padding: 6vw 6vw 5vw 6vw; text-align: center; background-color: var(--secondary); border-bottom: 1px solid rgba(0, 74, 189, 0.1); }
.header-page h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 15px; }
.header-page p { opacity: 0.85; font-size: 1.1rem; max-width: 600px; margin: 0 auto; text-align: center !important; }
.legal-section { padding: 60px 6vw; flex: 1; background-color: #FFFFFF; }
.legal-container { max-width: 900px; margin: 0 auto; background: #FFFFFF; padding: 50px; border: 1px solid rgba(0, 74, 189, 0.1); box-shadow: 0 15px 40px rgba(0, 74, 189, 0.04); }
.legal-container h2 { color: var(--primary); margin-top: 40px; margin-bottom: 15px; font-size: 1.6rem; border-bottom: 1px solid var(--tertiary); padding-bottom: 10px; }
.legal-container h2:first-child { margin-top: 0; }
.legal-container p { margin-bottom: 15px; font-size: 1rem; line-height: 1.8; opacity: 0.9; }
.legal-container strong { font-weight: 500; color: var(--primary); opacity: 1; }
.legal-container a { color: var(--tertiary-text); font-weight: 500; text-decoration: none; transition: 0.3s; border-bottom: 1px solid var(--tertiary); }
.legal-container a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* --- FOOTER & CARTE RGPD --- */
footer { background: #FFFFFF; display: flex; flex-direction: column; }
.footer-map { width: 100%; line-height: 0; }
.map-consent-placeholder {
    width: 100%; min-height: 380px; background-color: var(--secondary);
    border-top: 1px solid rgba(0, 74, 189, 0.12); border-bottom: 1px solid rgba(0, 74, 189, 0.12);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 3rem 6vw; text-align: center; gap: 1.2rem;
}
.map-consent-placeholder h4 { font-family: var(--font-title); font-size: 1.6rem; font-weight: 400; color: var(--primary); margin: 0; }
.map-consent-placeholder p { font-size: 0.95rem; max-width: 620px; text-align: center !important; opacity: 0.85; margin: 0; line-height: 1.6; }
.map-consent-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 0.5rem; }
.btn-map-load { padding: 12px 26px; font-family: var(--font-text); text-transform: uppercase; letter-spacing: 2px; font-size: 0.72rem; font-weight: 500; color: #FFFFFF; background-color: var(--primary); border: 1px solid var(--primary); cursor: pointer; transition: all 0.3s ease; }
.btn-map-load:hover { background-color: transparent; color: var(--primary); }
.btn-map-ext { padding: 12px 26px; font-family: var(--font-text); text-transform: uppercase; letter-spacing: 2px; font-size: 0.72rem; font-weight: 400; color: var(--primary); background-color: transparent; border: 1px solid rgba(0, 74, 189, 0.35); text-decoration: none; transition: all 0.3s ease; }
.btn-map-ext:hover { border-color: var(--primary); background-color: rgba(0, 74, 189, 0.05); }

.footer-content { padding: 5vw 6vw 2vw 6vw; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 4rem; }
.footer-col { display: flex; flex-direction: column; }
.footer-col h3 { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--primary); margin-bottom: 0.5rem; line-height: 1.1; }
.footer-col .subtitle { font-family: var(--font-text); text-transform: uppercase; letter-spacing: 3px; font-size: 0.75rem; color: var(--tertiary-text); margin-bottom: 2rem; font-weight: 400; }
.footer-col p { font-size: 1rem; opacity: 0.8; margin-bottom: 1rem; }
.footer-contact-item { margin-bottom: 1.8rem; }
.footer-contact-item strong { display: block; font-family: var(--font-title); font-size: 1.3rem; font-weight: 400; color: var(--primary); margin-bottom: 0.3rem; }
.footer-contact-item a { color: var(--primary); font-family: var(--font-text); text-decoration: none; opacity: 0.8; transition: all 0.3s ease; }
.footer-contact-item a:hover { opacity: 1; color: var(--tertiary-text); }
.footer-bottom { margin: 0 6vw; padding: 2rem 0; border-top: 1px solid rgba(0, 74, 189, 0.1); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; opacity: 0.6; margin: 0; }
.lang-footer { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; }
.lang-footer a { color: var(--primary); text-decoration: none; font-weight: 400; opacity: 0.5; transition: opacity 0.3s; }
.lang-footer a.active, .lang-footer a:hover { opacity: 1; }
.lang-footer span { opacity: 0.3; margin: 0 8px; color: var(--primary); }

/* --- MODALE DE CONTACT & BANDEAU COOKIES --- */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); }
.modal-content { background-color: var(--secondary); margin: 5vh auto; max-height: 90vh; overflow-y: auto; padding: 40px; border: 1px solid var(--primary); width: 90%; max-width: 500px; position: relative; }
.close-btn { color: var(--primary); position: absolute; top: 15px; right: 25px; font-size: 35px; font-weight: 300; cursor: pointer; transition: opacity 0.3s; }
.close-btn:hover { opacity: 0.5; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--primary); font-family: var(--font-title); font-size: 1.2rem; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid rgba(0, 74, 189, 0.3); background: #FFFFFF; font-family: var(--font-text); color: var(--primary); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.submit-btn { width: 100%; margin-top: 10px; justify-content: center; }
.fs-alert-success { padding: 20px; background: #e8f5e9; color: #2e7d32; border: 1px solid #4caf50; border-radius: 4px; margin-bottom: 20px; text-align: center; }
.fs-alert-error { padding: 15px; background: #ffebee; color: #c62828; border: 1px solid #ef5350; border-radius: 4px; margin-bottom: 20px; text-align: center; }

.cookie-banner {
    position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--primary); color: #FFFFFF;
    padding: 15px 6vw; display: flex; justify-content: space-between; align-items: center;
    z-index: 9999; box-shadow: 0 -5px 20px rgba(0, 74, 189, 0.2); font-family: var(--font-text);
    font-size: 0.9rem; transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { flex: 1; margin-right: 30px; line-height: 1.5; }
.cookie-text a { color: var(--secondary); text-decoration: none; border-bottom: 1px solid var(--secondary); transition: opacity 0.3s ease; }
.cookie-text a:hover { opacity: 0.7; }
.cookie-buttons { display: flex; gap: 15px; }
.btn-cookie { padding: 12px 25px; font-family: var(--font-text); text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; cursor: pointer; border: 1px solid var(--secondary); transition: all 0.3s ease; }
.btn-accept-cookie { background-color: var(--secondary); color: var(--primary); }
.btn-accept-cookie:hover { background-color: transparent; color: var(--secondary); }
.btn-refuse-cookie { background-color: transparent; color: var(--secondary); }
.btn-refuse-cookie:hover { background-color: var(--secondary); color: var(--primary); }

@keyframes fadeUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .top-bar { padding: 1.2rem 20px !important; flex-direction: column !important; align-items: stretch !important; gap: 0.8rem !important; position: relative !important; background-color: var(--secondary); }
    .main-nav { justify-content: center; gap: 0.8rem 1.2rem; }
    .top-right-group { justify-content: space-between; width: 100%; border-top: 1px solid rgba(0, 74, 189, 0.1); padding-top: 0.6rem; }

    .hero { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 60px 20px 40px 20px; text-align: center; gap: 20px; }
    .hero h1 { font-size: clamp(2.8rem, 11vw, 3.8rem); margin-bottom: 1rem; }
    .hero-kicker { font-size: 0.65rem; letter-spacing: 2px; margin-bottom: 0.6rem; }
    .hero p { margin-bottom: 2rem; font-size: 1rem; text-align: center !important; }
    .hero-visual { order: -1; margin-bottom: 5px; margin-top: 0; opacity: 1; animation: none; }
    .hero-logo { max-width: 180px; }
    .hero-content { align-items: center; width: 100%; }
    .hero-actions { width: 100%; align-items: center; }

    .page-header, .subpage-hero { padding: 60px 20px 60px 20px !important; }
    .content-grid, .billing-grid, .news-grid, .skills-grid { display: flex; flex-direction: column; gap: 30px; }
    .expertise-card, .billing-card, .rdv-box, .news-card { padding: 30px 20px; max-width: 100%; width: 100%; flex: 1 1 100%; }
    .section-intro, .honoraires-intro, .convention-section p, .faq-item p { text-align: left !important; }
    .faq-item, .home-faq-item { padding: 25px 20px; }

    .services, .actualites, .home-faq-section, .honoraires-content, .legal-section { padding: 60px 20px; }
    .profil { display: flex; flex-direction: column; padding: 60px 20px; gap: 30px; justify-content: center; }
    .profil-img-container { max-width: 250px; margin: 0 auto; order: -1; }

    .container { padding: 40px 20px 80px 20px; }
    .legal-container { padding: 30px 20px; }
    .cta-buttons { flex-direction: column; }
    .btn-premium, .btn-honoraires, .btn-cta, .btn-cta-primary { width: 100%; justify-content: center; }

    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; padding: 60px 20px 30px 20px; }
    .footer-bottom { margin: 0 20px; flex-direction: column-reverse; gap: 1.5rem; text-align: center; }
    .modal-content { padding: 30px 20px; margin: 5vh auto; }
    .cookie-banner { flex-direction: column; text-align: center; padding: 20px; }
    .cookie-text { margin-right: 0; margin-bottom: 15px; }
    .cookie-buttons { width: 100%; justify-content: center; }
}
