/* ==========================================================================
   SLM Sophro — feuille de style du site
   Partie 1 : charte reprise telle quelle de ../prod/index.html (lignes 14→1303).
   Ne pas réécrire cette partie. Les composants du site multi-pages sont
   ajoutés en partie 2, à la fin du fichier.
   ========================================================================== */

        /* ========================================
           CSS Variables & Reset
           ======================================== */
        :root {
            --sage: #7C8C6E;
            --sage-light: #A8B89C;
            --sage-pale: #C5D1BC;
            --cream: #F8F5EF;
            --cream-warm: #F0EBE1;
            --terracotta: #C4A882;
            --terracotta-light: #D4C4A8;
            --forest: #2D3B2D;
            --forest-soft: #3D4F3D;
            --orange: #E8842C;
            --orange-light: #F4A95B;
            --orange-pale: #FFF3E8;
            --text-dark: #2A2A28;
            --text-body: #4A4A46;
            --text-light: #7A7A74;
            --white: #FDFCFA;
            --shadow-soft: 0 4px 30px rgba(45, 59, 45, 0.08);
            --shadow-card: 0 8px 40px rgba(45, 59, 45, 0.10);
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 40px;
        }

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

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        body {
            font-family: 'DM Sans', sans-serif;
            color: var(--text-body);
            background-color: var(--cream);
            line-height: 1.7;
            font-size: 16px;
            overflow-x: hidden;
        }

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

        a {
            color: inherit;
            text-decoration: none;
        }

        /* ========================================
           Typography
           ======================================== */
        h1, h2, h3, h4 {
            font-family: 'Cormorant Garamond', serif;
            color: var(--forest);
            line-height: 1.2;
            font-weight: 600;
        }

        h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
        h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
        h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

        .section-label {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--orange);
            margin-bottom: 0.75rem;
            display: block;
        }

        .section-title {
            margin-bottom: 1.5rem;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 2px;
            background: var(--orange);
            margin-top: 1rem;
        }

        /* ========================================
           Layout
           ======================================== */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        section {
            padding: 100px 0;
        }

        /* ========================================
           Grain Overlay
           ======================================== */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
            opacity: 0.03;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
            background-repeat: repeat;
            background-size: 256px 256px;
        }

        /* ========================================
           Navigation
           ======================================== */
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(248, 245, 239, 0.85);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(124, 140, 110, 0.1);
            transition: all 0.4s ease;
            overflow: visible;
        }

        .nav.scrolled {
            background: rgba(248, 245, 239, 0.95);
            box-shadow: 0 2px 20px rgba(45, 59, 45, 0.06);
        }

        .nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
            overflow: visible;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            position: relative;
            z-index: 10;
            width: 130px;
        }

        .nav-logo img {
            height: 130px;
            width: auto;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
            position: absolute;
            top: -10px;
            left: 0;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--text-body);
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1.5px;
            background: var(--sage);
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--forest);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-cta {
            background: var(--orange);
            color: var(--white) !important;
            padding: 10px 24px;
            border-radius: var(--radius-xl);
            font-size: 0.85rem !important;
            font-weight: 500;
            transition: all 0.3s ease !important;
        }

        .nav-cta::after { display: none !important; }

        .nav-cta:hover {
            background: var(--orange-light) !important;
            color: var(--white) !important;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(232, 132, 44, 0.3);
        }

        /* Mobile menu */
        .nav-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 8px;
            background: none;
            border: none;
        }

        .nav-toggle span {
            width: 24px;
            height: 2px;
            background: var(--forest);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .nav-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .nav-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ========================================
           Hero Section
           ======================================== */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding-top: 72px;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
        }

        /* Organic shapes */
        .hero-bg-image {
            position: absolute;
            top: 0;
            right: 0;
            width: 55%;
            height: 100%;
            object-fit: cover;
            object-position: right center;
            opacity: 0.4;
            mask-image: linear-gradient(to left, rgba(0,0,0,0.6) 0%, transparent 100%);
            -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.6) 0%, transparent 100%);
        }

        .hero-bg::before {
            content: '';
            position: absolute;
            top: -20%;
            right: -10%;
            width: 70%;
            height: 120%;
            background: radial-gradient(ellipse at center, rgba(168, 184, 156, 0.25) 0%, rgba(168, 184, 156, 0.08) 50%, transparent 70%);
            border-radius: 50%;
            animation: breathe 8s ease-in-out infinite;
        }

        .hero-bg::after {
            content: '';
            position: absolute;
            bottom: -10%;
            left: -5%;
            width: 50%;
            height: 80%;
            background: radial-gradient(ellipse at center, rgba(196, 168, 130, 0.15) 0%, transparent 60%);
            border-radius: 50%;
            animation: breathe 8s ease-in-out infinite 4s;
        }

        @keyframes breathe {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.05); opacity: 0.8; }
        }

        .hero-decoration {
            position: absolute;
            top: 15%;
            right: 8%;
            width: 300px;
            height: 300px;
            opacity: 0.06;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 700px;
        }

        .hero-eyebrow {
            font-family: 'DM Sans', sans-serif;
            font-size: 0.8rem;
            font-weight: 500;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--sage);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .hero-eyebrow::before {
            content: '';
            width: 40px;
            height: 1.5px;
            background: var(--orange);
        }

        .hero h1 {
            font-family: 'EB Garamond', serif;
            margin-bottom: 1.5rem;
            font-weight: 500;
            color: var(--forest);
        }

        .hero h1 em {
            font-style: italic;
            color: var(--sage);
        }

        .hero-subtitle {
            font-size: 1.1rem;
            color: var(--text-light);
            margin-bottom: 2.5rem;
            max-width: 520px;
            line-height: 1.8;
        }

        .hero-actions {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--orange);
            color: var(--white);
            padding: 16px 36px;
            border-radius: var(--radius-xl);
            font-family: 'DM Sans', sans-serif;
            font-size: 0.95rem;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background: var(--orange-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(232, 132, 44, 0.3);
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--forest);
            font-size: 0.95rem;
            font-weight: 500;
            padding: 16px 4px;
            transition: all 0.3s ease;
            border-bottom: 1.5px solid var(--sage-light);
        }

        .btn-secondary:hover {
            color: var(--sage);
            border-color: var(--sage);
        }

        .btn-secondary svg {
            transition: transform 0.3s ease;
        }

        .btn-secondary:hover svg {
            transform: translateX(3px);
        }

        /* Scroll indicator */
        .hero-scroll {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: var(--text-light);
            font-size: 0.7rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
        }

        .hero-scroll-line {
            width: 1px;
            height: 40px;
            background: linear-gradient(to bottom, var(--sage-light), transparent);
            animation: scrollPulse 2s ease-in-out infinite;
        }

        @keyframes scrollPulse {
            0%, 100% { opacity: 1; transform: scaleY(1); }
            50% { opacity: 0.4; transform: scaleY(0.6); }
        }

        /* ========================================
           About Section
           ======================================== */
        .about {
            background: var(--white);
            position: relative;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1.4fr;
            gap: 80px;
            align-items: start;
        }

        .about-image-wrapper {
            position: sticky;
            top: 100px;
            align-self: start;
        }

        .about-image {
            width: 100%;
            aspect-ratio: 3/4;
            background: linear-gradient(135deg, var(--sage-pale) 0%, var(--cream-warm) 100%);
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .about-image-placeholder {
            font-family: 'Cormorant Garamond', serif;
            font-size: 5rem;
            font-weight: 600;
            color: var(--sage);
            opacity: 0.3;
        }

        .about-image-wrapper::after {
            content: '';
            position: absolute;
            top: -20px;
            right: -20px;
            width: 120px;
            height: 120px;
            border: 2px solid var(--sage-pale);
            border-radius: var(--radius-lg);
            z-index: -1;
        }

        .about-quote {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.25rem;
            font-style: italic;
            color: var(--forest);
            line-height: 1.6;
            padding: 1.5rem 0 1.5rem 1.5rem;
            border-left: 3px solid var(--sage-light);
            margin: 2rem 0;
        }

        .about-text p {
            margin-bottom: 1rem;
            color: var(--text-body);
        }

        .about-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 2rem;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: var(--cream);
            border: 1px solid rgba(124, 140, 110, 0.2);
            border-radius: var(--radius-xl);
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--forest);
        }

        .badge svg {
            width: 14px;
            height: 14px;
            color: var(--orange);
        }

        /* ========================================
           Formations (dans section About)
           ======================================== */
        .about-formations ul {
            list-style: none;
            padding: 0;
        }

        .about-formations li {
            padding-left: 1.5rem;
            position: relative;
            margin-bottom: 0.6rem;
            color: var(--text-body);
            font-size: 0.95rem;
        }

        .about-formations li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.55em;
            width: 8px;
            height: 8px;
            background: var(--orange);
            border-radius: 50%;
        }

        /* ========================================
           Sophrology Section
           ======================================== */
        .sophrology {
            position: relative;
        }

        .sophrology-intro {
            max-width: 800px;
            margin-bottom: 3.5rem;
        }

        .sophrology-intro p {
            font-size: 1.05rem;
            color: var(--text-body);
        }

        .benefit-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .benefit-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 2rem 1.5rem;
            transition: all 0.4s ease;
            border: 1px solid rgba(124, 140, 110, 0.08);
            position: relative;
            overflow: hidden;
        }

        .benefit-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(to right, var(--orange), var(--orange-light));
            opacity: 0;
            transition: opacity 0.4s ease;
        }

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

        .benefit-card:hover::before {
            opacity: 1;
        }

        .benefit-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--sage-pale), var(--cream-warm));
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.25rem;
        }

        .benefit-icon svg {
            width: 24px;
            height: 24px;
            color: var(--forest);
        }

        .benefit-card h3 {
            margin-bottom: 0.75rem;
            font-weight: 600;
        }

        .benefit-card p {
            font-size: 0.9rem;
            color: var(--text-light);
            line-height: 1.6;
        }

        /* ========================================
           Specialties Section
           ======================================== */
        .specialties {
            background: var(--white);
            position: relative;
        }

        .specialties-layout {
            display: grid;
            grid-template-columns: 1fr 1.4fr;
            gap: 60px;
            align-items: start;
        }

        .audience-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .audience-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.25rem 1.5rem;
            background: var(--cream);
            border-radius: var(--radius-md);
            transition: all 0.3s ease;
        }

        .audience-item:hover {
            transform: translateX(4px);
            box-shadow: var(--shadow-soft);
        }

        .audience-icon {
            width: 44px;
            height: 44px;
            min-width: 44px;
            background: linear-gradient(135deg, var(--sage-pale), var(--cream-warm));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
        }

        .audience-item h3 {
            font-size: 1.1rem;
            margin-bottom: 2px;
        }

        .audience-item p {
            font-size: 0.85rem;
            color: var(--text-light);
        }

        .specialty-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .specialty-tag {
            padding: 12px 24px;
            background: var(--cream);
            border: 1px solid rgba(124, 140, 110, 0.15);
            border-radius: var(--radius-xl);
            font-size: 0.9rem;
            color: var(--text-body);
            transition: all 0.3s ease;
        }

        .specialty-tag:hover {
            background: var(--sage-pale);
            border-color: var(--sage-light);
            color: var(--forest);
        }

        .specialty-tag.highlight {
            background: var(--orange);
            color: var(--white);
            border-color: var(--orange);
        }

        .specialty-tag.highlight:hover {
            background: var(--orange-light);
            border-color: var(--orange-light);
        }

        /* ========================================
           Pricing Section
           ======================================== */
        .pricing {
            position: relative;
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            margin-bottom: 4rem;
        }

        .price-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            border: 1px solid rgba(124, 140, 110, 0.08);
            transition: all 0.3s ease;
            position: relative;
        }

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

        .price-card.featured {
            border-color: var(--sage-light);
            background: linear-gradient(135deg, var(--white) 0%, rgba(168, 184, 156, 0.08) 100%);
        }

        .price-card-label {
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--sage);
            margin-bottom: 0.5rem;
        }

        .price-card h3 {
            margin-bottom: 1rem;
            font-size: 1.4rem;
        }

        .price-card p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .price-amount {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--forest);
        }

        .price-amount span {
            font-size: 1rem;
            font-weight: 400;
            color: var(--text-light);
        }

        .price-detail {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-top: 0.25rem;
        }

        /* Schedule */
        .schedule-title {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .schedule-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .schedule-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 1.75rem;
            border: 1px solid rgba(124, 140, 110, 0.08);
        }

        .schedule-card h4 {
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }

        .schedule-card .location {
            font-size: 0.8rem;
            color: var(--sage);
            font-weight: 500;
            margin-bottom: 0.75rem;
        }

        .schedule-card .time {
            font-size: 0.9rem;
            color: var(--text-body);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .schedule-card .time svg {
            width: 16px;
            height: 16px;
            color: var(--sage);
        }

        .schedule-card .time + .time {
            margin-top: 0.4rem;
        }

        /* ========================================
           Contact Section
           ======================================== */
        .contact {
            background: var(--forest);
            color: var(--cream);
            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 60%;
            height: 200%;
            background: radial-gradient(ellipse at center, rgba(168, 184, 156, 0.08) 0%, transparent 60%);
            border-radius: 50%;
        }

        .contact .section-label {
            color: var(--sage-light);
        }

        .contact .section-title {
            color: var(--cream);
        }

        .contact .section-title::after {
            background: var(--sage);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            position: relative;
            z-index: 1;
        }

        .contact-info-text {
            color: rgba(248, 245, 239, 0.7);
            font-size: 1.05rem;
            margin-bottom: 2.5rem;
            line-height: 1.8;
        }

        .contact-links {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }

        .contact-link {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.5rem;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: var(--radius-md);
            transition: all 0.3s ease;
            color: var(--cream);
        }

        .contact-link:hover {
            background: rgba(255, 255, 255, 0.12);
            transform: translateX(4px);
        }

        .contact-link-icon {
            width: 44px;
            height: 44px;
            min-width: 44px;
            background: rgba(168, 184, 156, 0.15);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .contact-link-icon svg {
            width: 20px;
            height: 20px;
            color: var(--sage-light);
        }

        .contact-link-label {
            font-size: 0.75rem;
            color: rgba(248, 245, 239, 0.5);
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .contact-link-value {
            font-size: 1rem;
            font-weight: 500;
        }

        .contact-zone {
            margin-top: 2rem;
        }

        .contact-zone h3 {
            color: var(--cream);
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }

        .zone-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .zone-tag {
            padding: 6px 14px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-xl);
            font-size: 0.8rem;
            color: rgba(248, 245, 239, 0.7);
        }

        /* Map placeholder */
        .contact-map {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: var(--radius-lg);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 400px;
            padding: 2rem;
        }

        .contact-map-cta {
            margin-top: 2rem;
        }

        .btn-primary-light {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--orange);
            color: var(--white);
            padding: 16px 36px;
            border-radius: var(--radius-xl);
            font-family: 'DM Sans', sans-serif;
            font-size: 0.95rem;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-primary-light:hover {
            background: var(--orange-light);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(232, 132, 44, 0.3);
        }

        /* ========================================
           Footer
           ======================================== */
        .footer {
            background: var(--forest);
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding: 2rem 0;
        }

        .footer-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .footer-copy {
            font-size: 0.8rem;
            color: rgba(248, 245, 239, 0.4);
        }

        .footer-socials {
            display: flex;
            gap: 1rem;
        }

        .footer-social {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            color: rgba(248, 245, 239, 0.5);
        }

        .footer-social:hover {
            background: rgba(255, 255, 255, 0.12);
            color: var(--cream);
        }

        .footer-social svg {
            width: 18px;
            height: 18px;
        }

        /* ========================================
           Testimonials Section
           ======================================== */
        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .testimonial-card {
            background: var(--white);
            padding: 2rem;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-soft);
        }

        .testimonial-stars {
            color: var(--orange);
            margin-bottom: 1rem;
            font-size: 1.1rem;
            letter-spacing: 2px;
        }

        .testimonial-text {
            font-style: italic;
            color: var(--text-body);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .testimonial-author {
            font-weight: 600;
            color: var(--forest);
        }

        .testimonial-footer {
            text-align: center;
            margin-top: 3rem;
        }

        .testimonial-footer a {
            color: var(--orange);
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s ease;
        }

        .testimonial-footer a:hover {
            color: var(--orange-light);
        }

        /* ========================================
           Scroll Animations
           ======================================== */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
        .reveal-delay-4 { transition-delay: 0.4s; }

        /* ========================================
           Responsive
           ======================================== */
        @media (max-width: 1024px) {
            .testimonial-grid {
                grid-template-columns: repeat(2, 1fr);
            }

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

            .specialties-layout {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .about-grid {
                gap: 40px;
            }
        }

        @media (max-width: 768px) {
            .hero-bg-image {
                width: 100%;
                opacity: 0.4;
                object-position: 80%;
                mask-image: linear-gradient(to top, rgba(0,0,0,0.4) 50%, transparent 95%);
                -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.4) 50%, transparent 95%);
            }

            .sophrology-images {
                grid-template-columns: 1fr !important;
            }

            section {
                padding: 70px 0;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: 72px;
                left: 0;
                right: 0;
                background: rgba(248, 245, 239, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 2rem;
                gap: 1.25rem;
                border-bottom: 1px solid rgba(124, 140, 110, 0.1);
            }

            .nav-links.open {
                display: flex;
            }

            .nav-toggle {
                display: flex;
            }

            .hero-content {
                padding: 0;
            }

            .hero h1 {
                font-size: clamp(2rem, 8vw, 2.8rem);
            }

            .hero-actions {
                flex-direction: column;
                align-items: flex-start;
            }

            .hero-scroll {
                display: none;
            }

            .hero-decoration {
                display: none;
            }

            .about-grid {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }

            .about-image-wrapper {
                position: static;
            }

            .about-image {
                aspect-ratio: 4/3;
                max-height: 300px;
            }

            .testimonial-grid {
                grid-template-columns: 1fr;
            }

            .benefit-grid {
                grid-template-columns: 1fr;
            }

            .pricing-grid {
                grid-template-columns: 1fr;
            }

            .schedule-grid {
                grid-template-columns: 1fr;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .footer-inner {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
        }

        @media (max-width: 390px) {
            .nav-logo img {
                height: 90px;
            }

            .hero-content {
                margin-top: 50px;
            }
        }

/* ==========================================================================
   Partie 2 — Composants du site multi-pages
   Ajoutés au socle repris de l'ancien site mono-page. Mêmes variables, même
   charte : sauge #7C8C6E, crème #F8F5EF, forêt #2D3B2D, orange #E8842C.
   Chaque composant est documenté dans CONTRACT.md avec son HTML d'exemple.
   ========================================================================== */

/* --- Accessibilité -------------------------------------------------------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--forest);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 0 0 var(--radius-sm) 0;
    font-size: 0.9rem;
}

.skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}

main {
    display: block;
}

/* --- En-tête multi-pages : lien de la page courante ----------------------- */
.nav-links a.is-active {
    color: var(--forest);
    font-weight: 600;
}

.nav-links a.is-active::after {
    width: 100%;
    background: var(--orange);
}

.nav-links a.nav-cta.is-active {
    background: var(--orange-light);
}

/* --- Hero de page intérieure ---------------------------------------------- */
.page-hero {
    position: relative;
    padding: 150px 0 70px;
    background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -8%;
    width: 55%;
    height: 130%;
    background: radial-gradient(ellipse at center, rgba(168, 184, 156, 0.28) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    max-width: 18ch;
    margin-bottom: 1.25rem;
}

.page-hero .lead {
    max-width: 62ch;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.page-hero-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* --- Fil d'Ariane ---------------------------------------------------------- */
.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.8rem;
    color: var(--text-light);
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--text-light);
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--sage);
    border-bottom-color: var(--sage);
}

.breadcrumb-sep {
    color: var(--sage-light);
}

.breadcrumb [aria-current="page"] {
    color: var(--forest);
    font-weight: 500;
}

/* --- Rythme des sections --------------------------------------------------- */
.section--alt {
    background: var(--cream-warm);
}

.section--white {
    background: var(--white);
}

.section--tight {
    padding: 60px 0;
}

.section-center {
    text-align: center;
}

.section-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* --- Texte long (contenu rédigé) ------------------------------------------- */
.prose {
    max-width: 72ch;
}

.prose > * + * {
    margin-top: 1.1rem;
}

.prose h2 {
    margin-top: 2.6rem;
}

.prose h3 {
    margin-top: 2rem;
}

.prose ul,
.prose ol {
    padding-left: 1.3rem;
}

.prose li + li {
    margin-top: 0.4rem;
}

.prose ul {
    list-style: none;
    padding-left: 0;
}

.prose ul li {
    position: relative;
    padding-left: 1.5rem;
}

.prose ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.prose a {
    color: var(--sage);
    border-bottom: 1px solid var(--sage-pale);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.prose a:hover {
    color: var(--forest);
    border-bottom-color: var(--forest);
}

.prose strong {
    color: var(--forest);
}

/* --- Deux colonnes texte + image ------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split--reverse .split-media {
    order: 2;
}

.split-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

/* --- Cartes de hub ---------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(124, 140, 110, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.card-media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.card-body h3 {
    margin: 0;
}

.card-body p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

.card-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sage);
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap 0.3s ease, color 0.3s ease;
}

.card:hover .card-link {
    gap: 0.85rem;
    color: var(--forest);
}

/* --- Encadré « à compléter » ------------------------------------------------ */
.todo-box {
    background: var(--orange-pale);
    border: 2px dashed var(--orange-light);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 1.75rem 0;
}

.todo-box-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #B3600F;
    margin-bottom: 0.5rem;
}

.todo-box-label svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.todo-box p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* --- Encadré d'information / précaution ------------------------------------- */
.callout {
    background: var(--white);
    border-left: 3px solid var(--sage);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-soft);
    margin: 1.75rem 0;
    font-size: 0.95rem;
}

.callout p {
    margin: 0;
}

.callout p + p {
    margin-top: 0.7rem;
}

.callout--medical {
    border-left-color: var(--orange);
    background: var(--cream-warm);
    box-shadow: none;
    font-style: italic;
}

/* --- Étapes numérotées (déroulé d'une séance) -------------------------------- */
.steps {
    display: grid;
    gap: 20px;
    counter-reset: etape;
    list-style: none;
    padding: 0;
}

.steps li {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 22px 26px 22px 72px;
    box-shadow: var(--shadow-soft);
}

.steps li::before {
    counter-increment: etape;
    content: counter(etape);
    position: absolute;
    left: 24px;
    top: 22px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sage-pale);
    color: var(--forest);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.steps li h3 {
    margin-bottom: 0.35rem;
}

.steps li p {
    margin: 0;
    font-size: 0.95rem;
}

/* --- Étiquettes ------------------------------------------------------------- */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 7px 16px;
    border-radius: var(--radius-xl);
    background: var(--white);
    border: 1px solid rgba(124, 140, 110, 0.25);
    color: var(--text-body);
    font-size: 0.85rem;
}

.tag--accent {
    background: var(--orange-pale);
    border-color: var(--orange-light);
    color: #B3600F;
}

/* --- Planning des séances collectives ---------------------------------------- */
.planning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.planning-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(124, 140, 110, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.planning-card.is-new {
    border-color: var(--orange-light);
}

.planning-card h3 {
    margin-bottom: 0.35rem;
    padding-right: 90px;
}

.planning-flag {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--orange);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-xl);
}

.planning-where {
    color: var(--sage);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 1.1rem;
}

.planning-slots {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
}

.planning-slots li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.92rem;
    color: var(--text-body);
}

.planning-slots svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--sage);
}

.planning-slots strong {
    color: var(--forest);
    font-weight: 600;
}

.planning-note {
    display: block;
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
}

/* --- Lecteur audio ------------------------------------------------------------ */
.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.audio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(124, 140, 110, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.audio-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-card-head h3 {
    margin: 0;
}

.audio-card-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sage-pale);
    color: var(--forest);
}

.audio-card-icon svg {
    width: 22px;
    height: 22px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.audio-card-duration {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.audio-card-text {
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}

.audio-card audio {
    width: 100%;
    height: 40px;
}

/* --- FAQ ----------------------------------------------------------------------- */
.faq {
    max-width: 800px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(124, 140, 110, 0.12);
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 20px 56px 20px 24px;
    position: relative;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--forest);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--orange);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 24px 22px;
    font-size: 0.96rem;
}

.faq-answer p + p {
    margin-top: 0.8rem;
}

/* --- Formulaire ------------------------------------------------------------------ */
.form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(124, 140, 110, 0.12);
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--forest);
}

.form-field input,
.form-field textarea,
.form-field select {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid rgba(124, 140, 110, 0.3);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(124, 140, 110, 0.15);
}

.form-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-light);
    font-size: 0.78rem;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.55;
}

.form-consent input[type="checkbox"] {
    margin-top: 4px;
    width: 17px;
    height: 17px;
    accent-color: var(--sage);
    flex-shrink: 0;
}

.form-hp {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0;
    height: 0;
    width: 0;
}

.form button[type="submit"] {
    justify-self: start;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}

.form-note {
    font-size: 0.82rem;
    color: var(--text-light);
    margin: 0;
}

/* --- Bandeau d'appel à l'action ---------------------------------------------------- */
.cta-band {
    background: var(--forest);
    color: var(--cream);
    text-align: center;
    padding: 80px 0;
}

.cta-band h2 {
    color: var(--cream);
    margin-bottom: 1rem;
}

.cta-band p {
    max-width: 58ch;
    margin: 0 auto 2rem;
    color: rgba(248, 245, 239, 0.85);
}

/* --- Pied de page 4 colonnes -------------------------------------------------------- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 44px;
}

.footer-col {
    min-width: 0;
}

.footer-brand img {
    width: 110px;
    height: auto;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.footer-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage-light);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.88rem;
}

.footer-links a {
    color: rgba(248, 245, 239, 0.78);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links li.is-sub {
    padding-left: 0.9rem;
    position: relative;
}

.footer-links li.is-sub::before {
    content: '↳';
    position: absolute;
    left: 0;
    color: var(--sage);
    font-size: 0.78rem;
}

.footer-note {
    font-size: 0.78rem;
    color: rgba(248, 245, 239, 0.55);
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.footer-discreet {
    color: rgba(248, 245, 239, 0.45);
    text-decoration: underline;
}

.footer-discreet:hover {
    color: rgba(248, 245, 239, 0.8);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 26px;
    border-top: 1px solid rgba(248, 245, 239, 0.12);
    font-size: 0.8rem;
    color: rgba(248, 245, 239, 0.6);
}

/* --- Adaptations mobiles ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 50px;
    }

    .page-hero-grid,
    .split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .split--reverse .split-media {
        order: 0;
    }

    .card-grid,
    .planning-grid,
    .audio-grid {
        grid-template-columns: 1fr;
    }

    .form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-band {
        padding: 60px 0;
    }

    .nav-links a.is-active::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Partie 3 — Passe de mise en page du 13/09/2026
   Objectif : images 3:2 jamais recadrées (toutes les photos v2 et crayonnées
   sont en 1536×1024), moins de blanc, hero photo franc, illustrations crayon
   posées à même le fond crème. Les règles ci-dessous priment sur les parties
   1 et 2 par l'ordre de la cascade.
   ========================================================================== */

section {
    padding: 72px 0;
}

.section--tight {
    padding: 48px 0;
}

/* L'apparition progressive ne cache plus rien : le contenu est visible sans
   JavaScript et sans attendre l'observer, l'animation n'est qu'un léger glissement. */
.reveal {
    opacity: 1;
    transform: none;
}

.reveal.visible {
    animation: revealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes revealUp {
    from { opacity: 0.3; transform: translateY(14px); }
    to   { opacity: 1;   transform: translateY(0); }
}

/* --- Hero d'accueil : texte + photo pleine, plus d'image délavée en fond --- */
.hero--photo {
    min-height: 0;
    padding: 150px 0 64px;
    background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
}

.hero--photo .hero-bg-image,
.hero--photo .hero-scroll {
    display: none;
}

.hero--photo .hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.hero--photo .hero-content {
    max-width: none;
}

.hero--photo h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.hero-media {
    position: relative;
}

.hero-media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1.5px solid var(--sage-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-badge {
    position: absolute;
    left: 24px;
    bottom: -18px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 12px 18px;
    font-size: 0.85rem;
    color: var(--forest);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-badge strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--orange);
}

/* --- Ratios : 3:2 partout, jamais de recadrage sur les photos v2 ------------- */
.page-hero-media img,
.split-media img,
.card-media img {
    aspect-ratio: 3 / 2;
}

.page-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.page-hero {
    padding: 150px 0 56px;
}

.split {
    gap: 48px;
}

/* --- Illustration crayonnée : posée sur le fond, sans cadre ni ombre --------- */
.split-media.is-illustration img,
.page-hero-media.is-illustration img,
.illustration img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    mix-blend-mode: multiply;
}

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

.illustration figcaption {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--forest);
    margin-top: 0.75rem;
}

/* --- Bande de trois photos : respiration visuelle entre deux blocs de texte --- */
.photo-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.photo-band img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

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

/* --- Section titre + texte en deux colonnes (moins de blanc à droite) ---------- */
.two-col {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.two-col .section-title {
    margin-bottom: 0.5rem;
}

/* --- Bloc légende-photo dans le fil du texte -------------------------------------- */
.prose-figure {
    margin: 1.5rem 0;
}

.prose-figure img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.prose-figure figcaption {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

@media (max-width: 1024px) {
    .photo-band {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .two-col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 56px 0;
    }
    .hero--photo {
        padding: 110px 0 48px;
    }
    .hero--photo .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-media::before {
        display: none;
    }
    .hero-badge {
        position: static;
        margin-top: 14px;
        display: inline-flex;
    }
    .photo-band,
    .photo-band--2 {
        grid-template-columns: 1fr 1fr;
    }
    .photo-band img:nth-child(3) {
        grid-column: 1 / -1;
    }
}

/* Étiquettes de communes sur fond clair (accueil) */
section:not(.contact) .zone-tag {
    background: var(--white);
    border-color: rgba(124, 140, 110, 0.3);
    color: var(--forest);
}

.split .zone-tags {
    margin-top: 0.5rem;
}

/* L'attribut height="1024" des <img> devenait une hauteur fixe : on le neutralise,
   l'aspect-ratio CSS reprend la main. */
.hero-media img,
.page-hero-media img,
.split-media img,
.card-media img,
.photo-band img,
.illustration img,
.prose-figure img {
    height: auto;
}

/* --- Photos réelles en 4:3 et 3:4 : on suit le ratio du fichier, pas de recadrage --- */
.ratio-43 img { aspect-ratio: 4 / 3; }
.ratio-34 img { aspect-ratio: 3 / 4; }
.split-media.ratio-34 { max-width: 440px; justify-self: center; }

/* --- Bloc application : QR code + lien app.slm-sophro.fr -------------------- */
.app-block {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(124, 140, 110, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 40px;
}

.app-block-qr img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(124, 140, 110, 0.2);
    background: var(--white);
}

.app-block-url {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    margin: 0.5rem 0 1rem;
}

.app-block-url a {
    color: var(--forest);
    border-bottom: 2px solid var(--orange);
}

.app-block-actions {
    margin-bottom: 1.25rem;
}

.app-block-list {
    list-style: none;
    padding: 0;
    font-size: 0.92rem;
    display: grid;
    gap: 0.35rem;
}

.app-block-list li::before {
    content: '•';
    color: var(--orange);
    font-weight: 700;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .app-block {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }
    .app-block-qr {
        max-width: 240px;
        margin: 0 auto;
    }
}


/* Fiches enfants (ressources) : vignettes portrait, haut de la fiche visible */
#fiches .card-media img{aspect-ratio:4/5;object-position:top}
