        /* Section À propos */
        .about-section {
            background-color: var(--gris-clair);
        }
        
        .about-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 3rem;
            align-items: center;
        }
        
        .about-image {
            text-align: center;
        }
        
        .about-image img {
            max-width: 100%;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        
        .about-text h2 {
            margin-bottom: 1.5rem;
        }
        
        /* Section Tranches d'âge */
        .age-groups {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        
        .age-card {
            background: var(--blanc);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            text-align: center;
            border-left: 5px solid var(--vert-pastel);
        }
        
        .age-card:nth-child(2) {
            border-left-color: var(--bleu);
        }
        
        .age-card:nth-child(3) {
            border-left-color: var(--marron);
        }
        
        .age-card:nth-child(4) {
            border-left-color: var(--bleu-clair);
        }
        
        .age-card:nth-child(5) {
            border-left-color: var(--marron-clair);
        }
        
        .age-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 35px rgba(0,0,0,0.15);
        }
        
        .age-title {
            font-size: 1.5rem;
            color: var(--marron);
            margin-bottom: 1rem;
            font-weight: 500;
        }
        
        .age-description {
            font-style: italic;
            color: var(--gris-fonce);
            line-height: 1.6;
        }
        
        /* Section Livre */
        .book-section {
            background: linear-gradient(135deg, rgba(200, 230, 215, 0.3) 0%, rgba(165, 201, 224, 0.3) 100%);
        }
        
        .book-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            align-items: center;
        }
        
        .book-image {
            text-align: center;
        }
        
        .book-image img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }
        
        .book-details h2 {
            margin-bottom: 1.5rem;
        }
        
        .book-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .feature {
            padding: 1rem;
            background: var(--blanc);
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        }
        
        .feature-title {
            color: var(--bleu);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        /* Section Services */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .service-card {
            background: var(--blanc);
            padding: 2.5rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            text-align: center;
            border-top: 5px solid var(--vert-pastel);
        }
        
        .service-card:nth-child(2) {
            border-top-color: var(--bleu);
        }
        
        .service-card:nth-child(3) {
            border-top-color: var(--marron);
        }
        
        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 35px rgba(0,0,0,0.15);
        }
        
        .service-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        
        .service-card h3 {
            margin-bottom: 1rem;
            color: var(--marron);
        }
        
        /* Section Bonus */
        .bonus-section {
            background: linear-gradient(135deg, var(--marron) 0%, var(--marron-clair) 100%);
            color: var(--blanc);
        }
        
        .bonus-section h2 {
            color: var(--vert-pastel-clair);
        }
        
        .bonus-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }
        
        .bonus-list {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            margin: 2rem 0;
            text-align: left;
        }
        
        .bonus-list h3 {
            color: var(--vert-pastel-clair);
            margin-bottom: 1rem;
        }
        
        .bonus-steps {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin: 2rem 0;
        }
        
        .bonus-step {
            background: rgba(255, 255, 255, 0.1);
            padding: 1.5rem;
            border-radius: 10px;
            text-align: center;
        }
        
        .step-number {
            font-size: 2rem;
            color: var(--vert-pastel-clair);
            font-weight: bold;
            margin-bottom: 1rem;
        }
        
        /* Section CTA */
        .cta-section {
            background-color: var(--gris-clair);
            text-align: center;
        }
        
        .cta-content {
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero .subtitle {
                font-size: 1.1rem;
            }
            
            .about-content,
            .book-content {
                grid-template-columns: 1fr;
            }
            
            .book-features {
                grid-template-columns: 1fr;
            }
            
            .bonus-steps {
                grid-template-columns: 1fr;
            }
        }


        .catalogue-intro {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.2) 0%, rgba(126, 174, 211, 0.2) 100%);
            border-radius: 15px;
            padding: 2rem 2.5rem;
            margin-bottom: 3rem;
        }
        .catalogue-intro h2 {
            margin-top: 0;
            border-bottom: none;
        }
        .catalogue-intro-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 1.5rem;
        }
        .catalogue-group {
            margin-bottom: 3.5rem;
        }
        .catalogue-group-title {
            font-size: 1.3rem;
            color: var(--marron);
            border-left: 5px solid var(--vert-pastel);
            padding: 0.4rem 0 0.4rem 1rem;
            margin-bottom: 1.5rem;
            font-family: 'Helvetica Neue', Arial, sans-serif;
            font-weight: 500;
        }
        .catalogue-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
            gap: 1.25rem;
        }
        .catalogue-card {
            display: block;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            text-decoration: none;
            color: inherit;
            background: white;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .catalogue-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.18);
            color: inherit;
        }
        .catalogue-card img {
            width: 100%;
            height: auto;
            display: block;
        }
        .catalogue-card-info {
            padding: 0.6rem 0.9rem 0.8rem;
        }
        .catalogue-card-num {
            font-size: 0.72rem;
            color: var(--marron-clair);
            font-family: 'Helvetica Neue', Arial, sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .catalogue-card-title {
            font-size: 0.82rem;
            color: var(--gris-fonce);
            font-weight: 600;
            margin-top: 0.2rem;
            line-height: 1.35;
        }
        @media (max-width: 768px) {
            .catalogue-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .catalogue-intro {
                padding: 1.5rem;
            }
        }	

        .contact-email {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.3) 0%, rgba(126, 174, 211, 0.3) 100%);
            padding: 2.5rem;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 3rem;
        }

        .contact-email .email-address {
            font-size: 1.8rem;
            color: var(--marron);
            font-weight: 500;
            font-family: 'Helvetica Neue', Arial, sans-serif;
        }

        .contact-email .email-address a {
            color: var(--marron);
        }

        .contact-email .email-address a:hover {
            color: var(--bleu);
        }

        .age-interest {
            background: var(--gris-clair);
            padding: 2.5rem;
            border-radius: 15px;
            margin: 3rem 0;
        }

        .age-interest h3 {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        @media (max-width: 768px) {
            .contact-email .email-address {
                font-size: 1.3rem;
            }
        }
        /* ═══════════════════════════════════════════════════
           VIEWER PDF — styles locaux (document.html)
           ═══════════════════════════════════════════════════ */

        /* ── CORRECTION SPECIFICITY : hidden doit toujours gagner ── */
        /* Sans cela, display:flex/.pdf-loading écrase [hidden]{display:none} */
        [hidden] { display: none !important; }
		
        .pdf-chemin {
            position: sticky;
            top: 0; /* ajusté dynamiquement par JS en fonction de la hauteur du header */
            z-index: 900;
            background-color:#E8E8E8;
            padding-top:20px;
			padding-bottom:20px;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            flex-wrap: wrap;
            min-height: 2.8rem;
        }		
		

        /* ── TOOLBAR ─────────────────────────────────────── */
        .pdf-toolbar {
            position: sticky;
            top: 0; /* ajusté dynamiquement par JS en fonction de la hauteur du header */
            z-index: 900;
            background: linear-gradient(
                135deg,
                rgba(200, 230, 215, 0.97) 0%,
                rgba(165, 201, 224, 0.97) 100%
            );
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border-bottom: 1px solid var(--gris-moyen);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            padding: 0.45rem 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            flex-wrap: wrap;
            min-height: 2.8rem;
        }

        .pdf-toolbar-group {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }

        .pdf-toolbar-sep {
            width: 1px;
            height: 1.4rem;
            background-color: var(--gris-moyen);
            flex-shrink: 0;
            margin: 0 0.3rem;
        }

        /* ── BOUTONS TOOLBAR ─────────────────────────────── */
        .pdf-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 2rem;
            height: 2rem;
            padding: 0 0.55rem;
            border: 1.5px solid transparent;
            border-radius: 7px;
            background: rgba(255, 255, 255, 0.72);
            color: var(--marron);
            font-family: var(--font-body);
            font-size: 0.88rem;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
            text-decoration: none;
            white-space: nowrap;
            line-height: 1;
            user-select: none;
        }

        .pdf-btn:hover:not(:disabled) {
            background: var(--blanc);
            border-color: var(--bleu);
            color: var(--bleu);
        }

        .pdf-btn:active:not(:disabled) {
            transform: scale(0.95);
        }

        .pdf-btn:disabled {
            opacity: 0.38;
            cursor: not-allowed;
        }

        /* Boutons avec libellé texte plus long */
        .pdf-btn-label {
            font-size: 0.78rem;
            padding: 0 0.7rem;
        }

        /* ── CHAMP NUMÉRO DE PAGE ────────────────────────── */
        .pdf-page-info {
            display: flex;
            align-items: center;
            gap: 0.28rem;
            font-size: 0.88rem;
            color: var(--marron);
        }

        .pdf-page-input {
            width: 3rem;
            height: 2rem;
            padding: 0 0.3rem;
            border: 1.5px solid var(--gris-moyen);
            border-radius: 6px;
            text-align: center;
            font-family: var(--font-body);
            font-size: 0.88rem;
            color: var(--texte);
            background: var(--blanc);
            -moz-appearance: textfield;
        }

        .pdf-page-input::-webkit-outer-spin-button,
        .pdf-page-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .pdf-page-input:focus {
            outline: none;
            border-color: var(--bleu);
            box-shadow: 0 0 0 2px rgba(126, 174, 211, 0.25);
        }

        .pdf-page-sep,
        .pdf-page-total {
            color: var(--gris-fonce);
        }

        /* ── AFFICHAGE NIVEAU DE ZOOM ────────────────────── */
        .pdf-zoom-label {
            min-width: 3.2rem;
            text-align: center;
            font-size: 0.82rem;
            font-weight: 500;
            color: var(--marron);
        }

        /* ── ZONE PRINCIPALE DU VIEWER ───────────────────── */
        .pdf-main {
            min-height: 70vh;
            background-color: #e8e8e8;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1.5rem 1rem 3rem;
        }

        /* ── ÉTAT CHARGEMENT ─────────────────────────────── */
        .pdf-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.2rem;
            padding: 5rem 2rem;
            color: var(--gris-fonce);
        }

        .pdf-loading-spinner {
            width: 2.5rem;
            height: 2.5rem;
            border: 3px solid var(--gris-moyen);
            border-top-color: var(--bleu);
            border-radius: 50%;
            animation: pdf-spin 0.75s linear infinite;
        }

        @keyframes pdf-spin {
            to { transform: rotate(360deg); }
        }

        /* ── ÉTAT ERREUR ─────────────────────────────────── */
        .pdf-error {
            text-align: center;
            padding: 4rem 2rem;
            max-width: 520px;
        }

        .pdf-error p {
            color: var(--marron);
            margin-bottom: 1.5rem;
            font-size: 1.05rem;
        }

        /* ── CANVAS PDF ──────────────────────────────────── */
        .pdf-canvas-wrapper {
            max-width: 100%;
        }

        #pdf-canvas {
            display: block;
            margin: 0 auto;
            box-shadow: 0 6px 28px rgba(0, 0, 0, 0.22);
            border-radius: 3px;
            background: #fff;
            max-width: 100%;
        }

        /* ── MODE PLEIN ÉCRAN ────────────────────────────── */
        .pdf-canvas-wrapper:fullscreen,
        .pdf-canvas-wrapper:-webkit-full-screen {
            background: #1a1a1a;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            overflow: auto;
        }

        .pdf-canvas-wrapper:fullscreen #pdf-canvas,
        .pdf-canvas-wrapper:-webkit-full-screen #pdf-canvas {
            max-height: 100vh;
            max-width: 100vw;
            width: auto !important;
            box-shadow: none;
            border-radius: 0;
        }

        /* ── IMPRESSION ──────────────────────────────────── */
        @media print {
            .pdf-toolbar { display: none !important; }
            header        { display: none !important; }
            footer        { display: none !important; }
            .page-header  { display: none !important; }
            .pdf-main {
                padding: 0;
                background: none;
                min-height: 0;
            }
            #pdf-canvas {
                box-shadow: none;
                max-width: 100% !important;
                width: 100% !important;
            }
        }

        /* ── RECHERCHE ───────────────────────────────────── */
        .pdf-search-input {
            height: 2rem;
            width: 11rem;
            padding: 0 0.55rem;
            border: 1.5px solid var(--gris-moyen);
            border-radius: 7px;
            font-family: var(--font-body);
            font-size: 0.82rem;
            color: var(--texte);
            background: var(--blanc);
            transition: border-color 0.18s ease, box-shadow 0.18s ease;
        }

        .pdf-search-input:focus {
            outline: none;
            border-color: var(--bleu);
            box-shadow: 0 0 0 2px rgba(126, 174, 211, 0.25);
        }

        .pdf-search-input::placeholder {
            color: var(--gris-moyen);
        }

        .pdf-search-count {
            min-width: 5rem;
            font-size: 0.78rem;
            color: var(--gris-fonce);
            text-align: center;
            white-space: nowrap;
        }

        .pdf-search-count.no-result {
            color: #c0392b;
        }

        /* ── CANVAS OVERLAY POUR SURLIGNAGE ─────────────── */
        .pdf-page-container {
            position: relative;
            display: inline-block;
            line-height: 0; /* évite un espace blanc parasite sous le canvas */
        }

        #pdf-highlight-canvas {
            position: absolute;
            top: 0;
            left: 0;
            pointer-events: none; /* transparent aux clics */
        }

        /* ── RESPONSIVE TOOLBAR ──────────────────────────── */
        @media (max-width: 640px) {
            .pdf-toolbar {
                padding: 0.4rem 0.6rem;
                gap: 0.25rem;
            }
            .pdf-toolbar-sep {
                display: none;
            }
            .pdf-btn-label {
                display: none;
            }
            .pdf-zoom-label {
                min-width: 2.5rem;
                font-size: 0.78rem;
            }
            .pdf-page-input {
                width: 2.4rem;
            }
            .pdf-search-input {
                width: 7rem;
            }
            .pdf-search-count {
                min-width: 3rem;
                font-size: 0.72rem;
            }
        }

        @media (max-width: 420px) {
            .pdf-toolbar {
                justify-content: center;
            }
            .pdf-actions-group,
            .pdf-search-group {
                flex-basis: 100%;
                justify-content: center;
                padding-top: 0.2rem;
                border-top: 1px solid var(--gris-moyen);
            }
        }



        /* ═══════════════════════════════════════════════════
           BURGER MENU — NAVIGATION MOBILE
           ═══════════════════════════════════════════════════ */

        .burger-menu {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            z-index: 1150;
        }

        .burger-menu span {
            display: block;
            width: 28px;
            height: 3px;
            background-color: var(--marron);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        /* Animation burger → X quand ouvert */
        .burger-menu.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .burger-menu.active span:nth-child(2) {
            opacity: 0;
        }

        .burger-menu.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        /* Overlay sombre derrière le menu */
        .menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 280px; /* Laisse l'espace du menu (280px à droite) */
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
        }

        .menu-overlay.active {
            display: block;
        }

        /* ── RESPONSIVE MOBILE (< 768px) ── */
        @media (max-width: 899px) {

            /* Afficher le burger */
            .burger-menu {
                display: flex;
            }

            /* Panneau latéral caché par défaut (hors écran à droite) */
            #main-nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: 280px;
                height: 100vh;
                background: var(--blanc);
                box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
                z-index: 1100;
                transition: right 0.3s ease;
                overflow-y: auto;
                padding: 80px 20px 20px;
            }

            /* Panneau ouvert */
            #main-nav.active {
                right: 0;
            }

            /* Menu vertical */
            #main-nav ul {
                flex-direction: column;
                gap: 0 !important;
            }

            #main-nav li {
                border-bottom: 1px solid var(--gris-clair);
            }

            #main-nav a {
                display: block;
                padding: 5px 10px !important;
                border-radius: 0;
                font-size: 1.1rem;
            }

            #main-nav li {
                margin-bottom: 0;
            }

            /* Adapter le header-container */
            .header-container {
                justify-content: space-between;
                padding: 0 1rem;
                position: relative;
            }

            /* Burger en haut à droite */
            .burger-menu {
                position: absolute;
                top: 0;
                right: 15px;
            }
        }

        .book-hero {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            align-items: center;
            /*margin-bottom: 3rem;*/
        }

        .book-hero-image {
            text-align: center;
        }

        .book-hero-image img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }

        .book-hero-text h2 {
            margin-top: 0;
            border-bottom: none;
        }

        @media (max-width: 768px) {
            .book-hero {
                grid-template-columns: 1fr;
            }

            .book-hero-image {
                max-width: 300px;
                margin: 0 auto;
            }
        }		