/* 
   SITE WEB AMANDINE FICHON - PSYCHOLOGUE
   Style: Japandi / Organic Modern
   Approach: Mobile First
*/

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

/* --- Root Variables --- */
:root {
    /* Palette - Refined Japandi */
    --bg-primary: #E8E2D9;
    --bg-accent: #F9F7F2;
    --text-main: #6B5E55;
    --text-dark: #2d2d2d;
    --accent-nature: #210f01;
    --accent-nature-light: #4B382A;
    --glass-bg: rgba(232, 226, 217, 0.75);
    --glass-border: rgba(107, 94, 85, 0.08);

    /* Typography */
    --font-serif: 'Cormorant Garamond',
        serif;
    --font-sans: 'Lato',
        sans-serif;

    /* Spacing & Borders */
    --section-padding: 4rem 1.5rem;
    --container-width: 1100px;
    --radius-sm: 8px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 40px -10px rgba(107, 94, 85, 0.15);
    --shadow-hover: 0 20px 60px -12px rgba(107, 94, 85, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* --- Layout Components --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Section Styles --- */
.section {
    padding: var(--section-padding);
}

/* --- Section Alternation --- */
.section:nth-of-type(odd) {
    background-color: var(--bg-primary);
}

.section:nth-of-type(even) {
    background-color: var(--bg-accent);
}

/* Override for specific sections if needed */
.bg-accent {
    background-color: var(--bg-accent) !important;
}

.bg-secondary {
    background-color: #C8BAB0 !important;
}

/* Fix for fixed navbar transparency */
main>.section:first-child {
    padding-top: 100px;
    /* Navbar height (80px) + some breath */
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

.btn-primary {
    background-color: #210f01 !important;
    /* Force dark walnut */
    color: #F9F7F2 !important;
    /* Force cream text */
}

.btn-primary:hover {
    background-color: #4B382A !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 28, 21, 0.3);
}

.btn-outline {
    background-color: transparent !important;
    border: 2px solid #210f01 !important;
    /* Darker border */
    color: #210f01 !important;
}

.btn-outline:hover {
    background-color: #210f01 !important;
    color: #F9F7F2 !important;
}

/* --- Header & Navbar --- */
.navbar {
    background-color: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

/* Scrolled state: Floating Pill */
.navbar.scrolled {
    top: 1rem;
    left: 2.5%;
    width: 95%;
    height: 70px;
    background-color: rgba(232, 226, 217, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(37, 28, 21, 0.08);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: none;
    padding: 0 2rem;
    gap: 2rem;
    transition: var(--transition);
}

.navbar.scrolled .navbar-container {
    padding: 0 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-dark);
    line-height: 1;
}

.logo-sub {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-main);
    margin-top: 4px;
}

.logo-img {
    height: 42px;
    width: auto;
    transition: var(--transition);
}

.nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: calc(100% - 3rem);
    margin: 0 1.5rem;
    height: auto;
    max-height: 80vh;
    background-color: rgba(249, 247, 242, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(37, 28, 21, 0.1);
    padding: 3rem 1.5rem;
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.nav-menu.active {
    left: 0;
}

.nav-menu ul {
    flex-direction: column;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 300;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-nature);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--accent-nature);
    font-weight: 500;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.nav-cta {
    display: none;
}

/* --- Common UI Elements --- */
.text-center {
    text-align: center;
}

.italic {
    font-style: italic;
}

.mt-3 {
    margin-top: 3rem;
}

.bg-accent {
    background-color: var(--bg-accent);
}

.max-600 {
    max-width: 600px;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--accent-nature);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* --- Adaptive Navbar Themes --- */
.navbar.nav-dark-bg:not(.scrolled) .nav-menu a,
.navbar.nav-dark-bg:not(.scrolled) .logo-name,
.navbar.nav-dark-bg:not(.scrolled) .menu-toggle .bar {
    color: var(--text-dark);
}

/* For sections with dark backgrounds, we might want the navbar to be light-colored */
.navbar.nav-dark-bg.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- About Section --- */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    /* Fallback for mobile */
    gap: 3rem;
    align-items: center;
}

.about-image {
    flex: 0 0 320px;
    /* Fixed width base for desktop */
    max-width: 100%;
}

.about-text {
    flex: 1;
}

@media (max-width: 991px) {
    .about-grid {
        flex-direction: column;
    }

    .about-image {
        order: -1;
    }
}

.portrait-container {
    background-color: var(--bg-accent);
    padding: 1rem;
    border-radius: var(--radius-md);
    position: relative;
    max-width: 320px;
    /* Optimisé pour affichage écran unique */
    margin: 0 auto;
    overflow: hidden;
    /* Ensure softness */
}

.portrait-container img {
    border-radius: calc(var(--radius-md) - 4px);
    width: 100%;
    height: auto;
}

.about-text .highlight {
    font-size: 1.2rem;
    color: var(--accent-nature);
    font-weight: 400;
}

/* --- Approach Section --- */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
    align-items: stretch;
}

.approach-item {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(107, 94, 85, 0.03);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.approach-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.approach-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--accent-nature);
}

.approach-item h3 {
    margin-bottom: 0.75rem;
}

.approach-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
    align-items: stretch;
}

.testimonial-card {
    background-color: white;
    border: 1px solid rgba(107, 94, 85, 0.08);
    padding: 2.5rem 2rem 2rem;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 15px rgba(107, 94, 85, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-serif);
    font-size: 9rem;
    color: rgba(107, 94, 85, 0.06);
    position: absolute;
    top: -2rem;
    left: 0.75rem;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    flex: 1;
    font-style: italic;
    margin-bottom: 0;
}

.stars {
    color: #946B00; /* WCAG AA: 4.73:1 sur blanc — était #D4AF37 (2.1:1, non conforme) */
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.author {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.google-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-main);
    border-bottom: 1px solid transparent;
}

.google-trust:hover {
    border-bottom-color: var(--text-main);
}

/* --- Scroll Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer --- */
.footer {
    padding: 5rem 0 2.5rem;
    border-top: 1px solid rgba(107, 94, 85, 0.1);
    background-color: var(--bg-primary);
}

.footer-container {
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 4rem;
    }
}

.footer-logo {
    height: 38px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-main); /* WCAG AA: 4.86:1 — suppression opacity: 0.7 (2.76:1, non conforme) */
    margin-bottom: 0;
    font-weight: 300;
}

.footer-heading {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-weight: 700;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-main); /* WCAG AA: 4.86:1 — suppression opacity: 0.8 (3.33:1, non conforme) */
    transition: var(--transition);
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--accent-nature);
}

.footer-contact p {
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-contact a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 300;
    display: block;
    margin-bottom: 1.25rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-contact a:not(.btn):hover {
    opacity: 1;
    color: var(--accent-nature);
}

.footer-bottom {
    border-top: 1px solid rgba(107, 94, 85, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-main); /* WCAG AA: 4.86:1 — suppression opacity: 0.55 (2.17:1, non conforme) */
    margin-bottom: 0;
}

/* --- Hero Section --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-container {
    padding-top: 8rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
        padding-top: 10rem;
    }
}

.hero-content {
    max-width: 100%;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: block;
    /* Visible on all devices with flex gap */
}

.hero-image img {
    width: 100%;
    height: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* --- Difficulties Grid --- */
.difficulties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

.diff-card {
    background-color: white;
    padding: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(107, 94, 85, 0.06);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 15px rgba(107, 94, 85, 0.05);
    display: flex;
    flex-direction: column;
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.diff-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 2rem 1.5rem;
    background: var(--bg-accent);
    border-bottom: 1px solid rgba(107, 94, 85, 0.08);
}

.diff-card-header h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.diff-icon {
    font-size: 1.3rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(107, 94, 85, 0.08);
    color: var(--accent-nature);
}

.diff-card-body {
    padding: 1.75rem 2rem;
    flex: 1;
}

.diff-card ul {
    list-style: none;
    padding-left: 0;
    color: var(--text-main);
    margin-bottom: 0;
}

.diff-card li {
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
    font-weight: 300;
    padding-left: 1.2rem;
    position: relative;
}

.diff-card li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--accent-nature);
    opacity: 0.5;
}

.diff-card li:last-child {
    margin-bottom: 0;
}

/* WCAG AA: texte courant sur bg-secondary (#C8BAB0) → text-main donne 3.31:1 (❌), text-dark donne 7.28:1 (✅) */
.bg-secondary p {
    color: var(--text-dark);
}

/* --- Steps Container --- */
.steps-container {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Numéros décoratifs — aria-hidden="true" dans le HTML, exemptés WCAG 1.4.3 */
.step-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: rgba(107, 94, 85, 0.3);
    line-height: 1;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step h3 {
    margin-bottom: 0.5rem;
}

/* --- Infos Grid --- */
.infos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* --- Location (infos-pratiques) --- */
.location-item {
    margin-bottom: 1.5rem;
}

.location-item strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
    font-weight: 600;
}

.location-item p {
    margin-bottom: 0.5rem;
}

.hours-grid {
    display: flex;
    flex-direction: column;
}

.info-card {
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(107, 94, 85, 0.05);
    display: flex;
    flex-direction: column;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(107, 94, 85, 0.1);
}

.price-label {
    font-weight: 300;
}

.price-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-nature);
    white-space: nowrap;
}

.hour-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px dotted rgba(107, 94, 85, 0.2);
}

.small-text {
    font-size: 0.85rem;
    color: var(--text-main);
    opacity: 0.8;
}

.contact-box {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 4rem 2rem;
    border-radius: var(--radius-md);
}

/* --- Déontologie --- */
.deontologie-content {
    margin-top: 2rem;
}

.deontologie-intro {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid rgba(107, 94, 85, 0.2);
    box-shadow: 0 2px 15px rgba(107, 94, 85, 0.05);
}

.deontologie-intro p {
    font-style: italic;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* --- PSY Cards --- */
.psy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

.psy-card {
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(107, 94, 85, 0.07);
    transition: var(--transition);
}

.psy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.psy-card-header {
    background-color: var(--bg-accent);
    padding: 2rem 2.5rem 1.75rem;
    border-bottom: 1px solid rgba(107, 94, 85, 0.08);
}

.psy-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--accent-nature);
    opacity: 0.8; /* WCAG AA: ~6.83:1 — était 0.55 (3.45:1, non conforme) */
    margin-bottom: 0.5rem;
}

.psy-card-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.psy-subtitle {
    font-size: 0.8rem;
    color: var(--text-main);
    opacity: 0.65;
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.psy-card-body {
    padding: 2rem 2.5rem;
    flex: 1;
}

.psy-card-body p:last-child {
    margin-bottom: 0;
}

.psy-card-footer {
    padding: 1.25rem 2.5rem;
    border-top: 1px solid rgba(107, 94, 85, 0.07);
    background: rgba(107, 94, 85, 0.025);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.psy-tag {
    font-size: 0.72rem;
    background: var(--bg-primary);
    color: var(--text-main);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-weight: 400;
    letter-spacing: 0.02em;
    border: 1px solid rgba(107, 94, 85, 0.12);
}

/* Legacy badge (used elsewhere) */
.badge {
    display: inline-block;
    background: var(--bg-accent);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 20px;
    margin-top: 1rem;
}

.max-800 {
    max-width: 800px;
    margin: 0 auto;
}

.principle {
    display: flex;
    align-items: stretch;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 15px rgba(107, 94, 85, 0.06);
    transition: var(--transition);
    border: none;
    padding: 0;
}

.principle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.principle-num {
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-nature);
    opacity: 0.6;
    width: 64px;
    flex-shrink: 0;
    border-right: 1px solid rgba(107, 94, 85, 0.08);
}

.principle-content {
    flex: 1;
    padding: 1.75rem 2rem;
}

.principle-content strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.principle-content p {
    margin-bottom: 0;
    font-size: 0.92rem;
}

/* --- Responsive Adjustments (Desktop) --- */
@media (min-width: 768px) {
    :root {
        --section-padding: 7rem 2rem;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border: none;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu ul {
        flex-direction: row;
        gap: 2.5rem;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 0.95rem;
        letter-spacing: 0.05em;
        white-space: nowrap;
    }

    .nav-cta {
        display: block;
        flex-shrink: 0;
    }

    .hero-actions {
        flex-direction: row;
    }

    .btn {
        padding: 0.8rem 1.8rem;
    }

    /* --- Desktop Grid Layouts --- */
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .difficulties-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .psy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .infos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reduce padding on about section (right after hero) */
    .section.about {
        padding-top: 4rem;
    }
}

/* --- Section Intro (subpage hero headers) --- */
.section-intro {
    padding: 3.5rem 1.5rem 1.5rem;
}

@media (min-width: 768px) {
    .section-intro {
        padding: 5rem 2rem 2rem;
    }
}

/* Tighten gap between intro and the section below */
.section-intro + .section {
    padding-top: 4rem;
}

@media (min-width: 768px) {
    .section-intro + .section {
        padding-top: 5rem;
    }
}

/* --- Hero-actions centering when inside text-center context --- */
.hero-actions.center {
    justify-content: center;
}

/* --- Mobile Button Hierarchy --- */
@media (max-width: 767px) {
    .hero-actions {
        align-items: stretch;
    }
    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }
}

/* --- Small screen H1 size --- */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
}

/* --- Focus Visible Accessibility --- */
.btn:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-nature);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* --- CTA Section (Homepage end) --- */
.cta-section {
    background-color: var(--accent-nature);
    padding: 6rem 2rem;
    text-align: center;
}

.cta-section h2 {
    color: var(--bg-accent);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .cta-section h2 {
        font-size: 3.5rem;
    }
}

.cta-section p {
    color: rgba(249, 247, 242, 0.75);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.cta-section .btn-primary {
    background-color: var(--bg-accent) !important;
    color: var(--accent-nature) !important;
}

.cta-section .btn-primary:hover {
    background-color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-outline {
    border-color: rgba(249, 247, 242, 0.5) !important;
    color: var(--bg-accent) !important;
}

.cta-section .btn-outline:hover {
    background-color: rgba(249, 247, 242, 0.1) !important;
    border-color: var(--bg-accent) !important;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE FIXES — à ajouter à la fin de style.css
   Toutes les corrections restent sous @media (max-width: 767px)
   afin de ne pas affecter le rendu desktop.
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* 1. Zone tactile hamburger (toutes les pages) */
  .menu-toggle {
    padding: 13px 10px;
    margin: -13px -10px;
    min-height: 44px;
    justify-content: center;
  }

  /* 2. Horaires en colonne (infos-pratiques) */
  .hour-line {
    flex-direction: column;
    gap: 2px;
  }
  .hour-line span:first-child {
    font-weight: 400;
    color: var(--text-dark);
  }
  .hour-line span:last-child {
    font-size: 0.82rem;
    opacity: 0.75;
  }

  /* 3. Bouton email sans débordement (infos-pratiques) */
  .hero-actions .btn {
    word-break: break-all;
    hyphens: auto;
  }

  /* 4. Padding info-card réduit (infos-pratiques, consulter) */
  .info-card {
    padding: 1.75rem 1.25rem;
  }

  /* 5. Tarifs sur deux lignes si nécessaire (infos-pratiques) */
  .price-item {
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .price-label {
    flex: 1 1 100%;
    font-size: 0.85rem;
  }
  .price-value {
    font-size: 1.3rem;
  }

  /* 6. Navbar pill sans débordement (toutes les pages) */
  .navbar.scrolled {
    left: 8px;
    right: 8px;
    width: calc(100% - 16px);
  }

  /* 7. Numéros d'étapes plus compacts (consulter) */
  .step {
    gap: 1rem;
  }
  .step-num {
    font-size: 2rem;
    min-width: 2rem;
  }

  /* 8. Min-height boutons pour cible tactile (toutes les pages) */
  .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

}

/* Fin des corrections mobile */