/*
Theme Name: Tous dans le même cartable
Theme URI: http://informatikmans.org
Description: Thème inclusif pour enfants DYS, TDAH, TSA - Projet JCEF Le Mans
Author: Informatikmans
Author URI: http://informatikmans.org
Version: 1.0.0
Tested up to: 7.4
Requires PHP: 7.4
*/

@font-face {
    font-family: 'OpenDyslexic';
    src: URL('assets/fonts/opendyslexic-latin-400-normal.woff2') format('woff2'),
    URL('assets/fonts/opendyslexic-latin-400-normal.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: 'OpenDyslexic', Arial, sans-serif !important;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER / NAV ===== */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 13px;
}

.logo {
    width: 80px;
    height: 80px;
    margin-right: 50px;
    max-width: unset;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

/* Hover par défaut */
nav a:hover { color: #b8dbb2; }
nav a.active { color: #b8dbb2; }

/* Hover par page */
#menu-item-33:hover,
#menu-item-33:hover a {
    color: #f2cf91 !important;
}
#menu-item-66:hover,
#menu-item-66:hover a {
    color: #f4bcbc !important;
}
#menu-item-35:hover,
#menu-item-35:hover a {
    color: #b4d4d8 !important;
}

/* ===== COULEUR ACTIVE DU MENU PAR PAGE ===== */
nav ul li.current-menu-item a {
    position: relative;
    transition: all 0.3s ease;
}

body.home nav ul li.current-menu-item a,
body.page-id-7 nav ul li.current-menu-item a {
    color: #4CBFBF !important;
    border-bottom: 3px solid #4CBFBF;
    padding-bottom: 4px;
}

body.page-id-27 nav ul li.current-menu-item a {
    color: #f2cf91 !important;
    border-bottom: 3px solid #f2cf91;
    padding-bottom: 4px;
}

body.page-id-28 nav ul li.current-menu-item a {
    color: #b4d4d8 !important;
    border-bottom: 3px solid #b4d4d8;
    padding-bottom: 4px;
}

body.page-id-30 nav ul li.current-menu-item a {
    color: #f4bcbc !important;
    border-bottom: 3px solid #f4bcbc;
    padding-bottom: 4px;
}

/* ===== BURGER MENU ===== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
    margin-left: auto;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    max-width: unset;
}

/* Animation burger → croix */
.burger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Menu overlay */
.nav-menu {
    display: flex;
    align-items: center;
    z-index: 150;
}

/* Overlay sombre */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 500px);
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 140;
}

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

/* ===== HERO ===== */
.hero {
    background-color: #4CBFBF;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 4rem 4rem 0 4rem;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    padding-bottom: 4rem;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-image img {
    max-height: 565px;
    object-fit: contain;
    display: block;
    max-width: 100%;
}

.hero-wave {
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    text-align: center;
    margin-bottom: 4rem;
}

.about-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1rem auto;
    color: #666;
}

.search-icon {
    font-size: 2rem;
    margin: 2rem 0;
}

/* ===== PROFILS ===== */
.profile-section {
    margin-bottom: 4rem;
}

.profile-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.profile-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-card {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #333;
    display: block;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.profile-card.enseignant { border-top: 8px solid #f2cf91; }
.profile-card.parent     { border-top: 8px solid #b4d4d8; }
.profile-card.enfant     { border-top: 8px solid #f4bcbc; }

.profile-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.profile-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.profile-card p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.profile-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    color: white;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.profile-card.enseignant .profile-button { background-color: #f2cf91; }
.profile-card.parent     .profile-button { background-color: #b4d4d8; }
.profile-card.enfant     .profile-button { background-color: #f4bcbc; }
.profile-button:hover { opacity: 0.9; }

/* ===== TROUBLES ===== */
.troubles-section {
    background: linear-gradient(135deg, #f4bcbc 0%, #f2cf91 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 4rem;
}

.troubles-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.troubles-intro {
    text-align: center;
    font-size: 1.2rem;
    color: white;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.troubles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.trouble-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.trouble-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.trouble-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.trouble-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: #b8dbb2;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.trouble-link:hover { background-color: #a0c89c; }

/* ===== OBJECTIFS ===== */
.objectives-section {
    text-align: center;
    margin-bottom: 4rem;
}

.objectives-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.objective-card {
    background-color: #b4d4d8;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.objective-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.objective-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
    word-wrap: break-word;
}

.objective-card p {
    color: white;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-wrap: break-word;
}

/* ===== FOOTER CTA ===== */
.footer-cta {
    background: linear-gradient(135deg, #b8dbb2 0%, #b4d4d8 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.footer-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.footer-cta a {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.footer-cta a:hover { transform: scale(1.05); }

/* ===== FOOTER ===== */
.footer {
    background-color: #4CBFBF;
    color: white;
    padding: 50px 60px 30px;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.footer-contact p {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 14px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-contact a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.footer-links h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 14px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-links ul li a:hover { opacity: 0.75; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
}

.footer-legal a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-legal a:hover { opacity: 0.75; }

.footer-legal .separator {
    margin: 0 8px;
    opacity: 0.7;
}

.copyright {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 6px;
}

/* ===== BURGER MEDIA QUERY ===== */
@media (max-width: 1590px) {

    .burger {
        display: flex;
        z-index: 200;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 500px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        padding: 100px 2rem 2rem;
        z-index: 160;
        flex-direction: column;
        align-items: center;
		overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
		padding: 0;
		align-items: center;
    }
	
    .nav-menu ul li:last-child {
        border-bottom: none;
    }

    .nav-menu ul li a {
        font-size: 1rem;
        display: block;
        width: 100%;
        white-space: normal;
        word-break: break-word;
        line-height: 1.4;
        text-align: center; /* ← Centre le texte du lien */
    }
}

/* ===== RESPONSIVE 768px ===== */
@media (max-width: 768px) {

    .hero-content {
        flex-direction: column;
        padding: 3rem 2rem 0 2rem;
        align-items: center;
        text-align: center;
    }

    .hero-text { padding-bottom: 0; }
    .hero-text h1 { font-size: 2.5rem; }

    .hero-image { justify-content: center; }
    .hero-image img { max-height: 380px; }

    .profile-section h2,
    .about-section h2,
    .troubles-section h2,
    .objectives-section h2 { font-size: 1.8rem; }

    .objectives-grid { grid-template-columns: 1fr; }
    .profile-cards { grid-template-columns: 1fr; }

    .footer { padding: 40px 20px 20px; }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

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



/* ===== PAGE ENSEIGNANT ===== */

.hero-enseignant { background-color: #f2cf91; }
.hero-enseignant .hero-wave path { fill: #fff; }

.section-title {
    font-size: 2rem;
    margin: 3rem 0 2rem 0;
    color: #333;
    text-align: center;
}

/* Détection */
.detection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.detection-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 5px solid #b8dbb2;
}

.detection-card.tdah { border-top-color: #f2cf91; }
.detection-card.tsa  { border-top-color: #b4d4d8; }
.detection-card.dys  { border-top-color: #b8dbb2; }

.detection-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.detection-card h4 {
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem 0;
    color: #666;
}

.detection-card ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: #333;
}

.detection-card li { margin-bottom: 0.5rem; }

/* Toolbox */
.toolbox {
    background-color: #f2cf91;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.toolbox h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.tool-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tool-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.tool-card ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.tool-card li { margin-bottom: 0.5rem; font-size: 0.95rem; }

/* Activities */
.activities {
    background-color: #b4d4d8;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.activities h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.activity-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.activity-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.activity-card p { font-size: 0.95rem; color: #666; }

/* Témoignages */
.testimonials-section {
    background-color: #f4bcbc;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.testimonials-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonial-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 0.5rem;
}

.testimonial-author {
    font-weight: bold;
    color: #f4bcbc;
    font-style: normal !important;
}

/* Banner inclusion */
.inclusion-banner {
    background: linear-gradient(135deg, #b8dbb2 0%, #f2cf91 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .detection-grid,
    .tool-sections,
    .activities-grid { grid-template-columns: 1fr; }
}


/* ===== PAGE PARENTS ===== */
.hero-parents { background-color: #b4d4d8; }
.hero-parents .hero-wave path { fill: #fff; }

/* Info cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background-color: #f2cf91;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.info-card p {
    font-size: 0.95rem;
    color: #333;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.timeline-item {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 5px solid #b4d4d8;
}

.timeline-item h3 {
    font-size: 1.3rem;
    color: #b4d4d8;
    margin-bottom: 0.8rem;
}

.timeline-step {
    font-weight: bold;
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Tips grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tip-card {
    background-color: #b4d4d8;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tip-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
}

.tip-card ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: white;
}

.tip-card li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Key message */
.key-message {
    background: linear-gradient(135deg, #b8dbb2 0%, #b4d4d8 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    margin: 2rem 0 3rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .info-cards,
    .tips-grid { grid-template-columns: 1fr; }
}


/* ===== PAGE JEUNES-ENFANTS ===== */
.hero-jeunes { background-color: #f4bcbc; }
.hero-jeunes .hero-wave path { fill: #fff; }

/* Brain ok */
.brain-ok-section {
    background-color: #b4d4d8;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
}

.brain-ok-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.brain-statements {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.statement {
    background-color: white;
    padding: 1.5rem;
    border-radius: 15px;
    max-width: 260px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.statement-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

/* Books */
.books-section {
    margin-bottom: 3rem;
}

.books-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}

.book-card {
    background-color: #f2cf91;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.book-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.book-age {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.8rem;
}

.book-description {
    font-size: 0.95rem;
    color: #333;
}

/* Myths */
.myths-section {
    background-color: #b8dbb2;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.myths-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.myths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.myth-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.myth-false {
    font-size: 1.1rem;
    color: #e74c3c;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.arrow { font-size: 1.5rem; margin: 0.5rem 0; }

.myth-true {
    font-size: 1.1rem;
    color: #27ae60;
    font-weight: bold;
}

/* Super-pouvoirs */
.superpowers-section {
    margin-bottom: 3rem;
}

.superpowers-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.powers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.power-card {
    background-color: #f4bcbc;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.power-card:hover { transform: scale(1.05); }

.power-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.power-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.power-description {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.8rem;
    display: none;
}

/* Footer message enfant */
.footer-message-enfant {
    background: linear-gradient(135deg, #b4d4d8 0%, #b8dbb2 100%);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.footer-message-enfant h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-message-enfant a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s;
    max-width: fit-content;
}

.footer-message-enfant a:hover { transform: scale(1.05); }

/* Responsive */
@media (max-width: 768px) {
    .brain-statements { flex-direction: column; align-items: center; }
    .books-grid,
    .myths-grid,
    .powers-grid { grid-template-columns: 1fr; }
}

