/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-image: url('images/fond-sable-protege.webp');
    background-size: 100% auto;
    background-attachment: fixed;
    background-position: top center;
    background-repeat: repeat-y;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header et Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    padding: 0.25rem 1rem 0.15rem 1rem;
}

/* Menu burger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    padding: 8px;
    position: relative;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #c2185b;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

/* Mobile menu */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 1rem;
    }

    .logo-link {
        flex: 0 0 auto;
    }

    .hamburger {
        display: flex !important;
        margin-left: auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        gap: 0.5rem;
        margin: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        padding: 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(194, 24, 91, 0.1);
    }

    .logo {
        height: 40px;
    }

    /* Réduire les boutons Jouer/Apprendre sur mobile */
    .btn {
        font-size: 1.06rem !important;
        padding: 0.96rem 2.4rem !important;
        min-width: 192px !important;
    }

    .main-title {
        font-size: 2.88rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }
}

.logo-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    position: relative;
    padding: 0.3rem 1rem;
    border-radius: 12px;
}

.logo-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center,
        rgba(33, 150, 243, 0.1) 0%,
        rgba(33, 150, 243, 0.05) 30%,
        rgba(33, 150, 243, 0.02) 50%,
        rgba(33, 150, 243, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.logo {
    height: 50px;
    width: auto;
    cursor: pointer;
    filter: drop-shadow(0 0 8px rgba(33, 150, 243, 0.8))
            drop-shadow(0 0 16px rgba(33, 150, 243, 0.6))
            drop-shadow(0 0 24px rgba(33, 150, 243, 0.4))
            drop-shadow(0 0 32px rgba(33, 150, 243, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.header-framboise {
    color: #c2185b;
}

.header-bleu {
    color: #0089D4;
}

.logo-title .k-tilt {
    color: #0089D4;
    text-shadow:
        0 0 6px rgba(0, 137, 212, 0.4),
        0 0 12px rgba(0, 137, 212, 0.2);
}

.logo-title sup {
    font-size: 0.4em;
    font-weight: 300;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #c2185b;
    margin-top: 0;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(194, 24, 91, 0.3), 0 0 16px rgba(194, 24, 91, 0.2);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #c2185b;
    color: white;
}

/* Couleurs spécifiques par section */
.nav-link-juniors:hover,
.nav-link-juniors.active {
    background: #C2185B;
    border-color: #C2185B;
    color: white;
}

.nav-link-adultes:hover,
.nav-link-adultes.active {
    background: #0089D4;
    border-color: #0089D4;
    color: white;
}

.nav-link-hygiene:hover,
.nav-link-hygiene.active {
    background: #00897B;
    border-color: #00897B;
    color: white;
}

/* Sélecteur de langue */
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid #c2185b;
    color: #c2185b;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(194, 24, 91, 0.1);
}

.lang-btn.active {
    background: #c2185b;
    color: white;
}

/* Pages */
.page {
    display: none;
    min-height: calc(100vh - 120px);
    padding: 2rem 1rem;
}

.page.active {
    display: block;
}

/* Page À propos avec logo */
.logo-apropos {
    width: 45%;
    max-width: 450px;
    height: 100px;
    margin: 0 auto 0.5rem;
    background-image: url('images/Logo 5 NEONS.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.25;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Page Accueil */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
}

.main-title {
    font-size: 3.6rem;
    font-weight: bold;
    color: #c2185b;
    margin-bottom: 0.375rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.spi-framboise,
.to-framboise {
    color: #c2185b;
}

.k-bleu {
    color: #0089D4;
}

.main-title .k-tilt {
    display: inline-block;
    transform: rotate(-10deg);
    color: #0089D4;
    text-shadow:
        0 0 8px rgba(0, 137, 212, 0.45),
        0 0 16px rgba(0, 137, 212, 0.35),
        0 0 24px rgba(0, 137, 212, 0.25);
}

.copyright-small {
    font-size: 1.2rem;
    font-weight: 300;
}

.main-title .copyright {
    font-size: 1.8rem;
    font-weight: 300;
    vertical-align: super;
}

.subtitle {
    font-size: 1.56rem;
    color: #555;
    margin-bottom: 3rem;
    font-style: italic;
    word-spacing: 0.1em;
}

.play-different {
    color: #c2185b;
    margin-top: 0;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.2em;
    font-size: 1.2rem;
    text-shadow:
        0 0 8px rgba(194, 24, 91, 0.35),
        0 0 16px rgba(194, 24, 91, 0.25),
        0 0 24px rgba(194, 24, 91, 0.175);
}

.space-before-kognitif {
    letter-spacing: 0.1em;
}

.kognitif {
    position: relative;
    display: inline-block;
    isolation: isolate;
}

.k-transparent {
    display: inline-block;
    transform: rotate(-10deg);
    opacity: 0.5;
    position: absolute;
    left: 0.1rem;
    top: 50%;
    transform: rotate(-10deg) translateY(-50%) scale(1.1);
    color: #0089D4;
    font-weight: bold;
    pointer-events: none;
    z-index: 1;
    text-shadow: 0 0 8px rgba(0, 137, 212, 0.6),
                 0 0 16px rgba(0, 137, 212, 0.4),
                 0 0 24px rgba(0, 137, 212, 0.2);
}

.c-overlay {
    position: relative;
    opacity: 0.9;
    color: #555;
    z-index: 2;
}

.subtitle-break {
    display: none;
}

@media (max-width: 500px) {
    .subtitle-break {
        display: block;
    }
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.32rem;
    transition: all 0.3s ease;
    min-width: 240px;
    text-align: center;
}

.btn-primary {
    background: #c2185b;
    color: white;
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.3);
}

.btn-primary:hover {
    background: #ad1457;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 24, 91, 0.4);
}

/* Bouton Juniors - Framboise Magenta Luxe */
.btn-juniors {
    background: linear-gradient(145deg, #C2185B 0%, #880E4F 100%);
    color: white;
    border: 1px solid rgba(255, 192, 203, 0.3);
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-juniors:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(194, 24, 91, 0.5);
}

/* Bouton Adultes - Bleu */
.btn-adultes {
    background: linear-gradient(145deg, #2196F3 0%, #1976D2 100%);
    color: white;
    border: 1px solid rgba(33, 150, 243, 0.3);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-adultes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.5);
}

/* Bouton Hygiène Kognitive - Vert émeraude */
.btn-hygiene {
    background: linear-gradient(145deg, #00897B 0%, #00695C 100%);
    color: white;
    border: 1px solid rgba(0, 137, 123, 0.3);
    box-shadow: 0 4px 15px rgba(0, 137, 123, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-hygiene:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 137, 123, 0.5);
}

/* Pages en développement */
.dev-message {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    padding: 3rem;
    font-style: italic;
}

/* Page Juniors */
.juniors-hero {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
}

.juniors-subtitle {
    font-size: 1.5rem;
    color: #6B5D54;
    font-weight: 300;
    margin-top: -1rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.juniors-motto {
    font-size: 1.5rem;
    color: #6B5D54;
    font-weight: 300;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.apr-bold {
    font-weight: 700;
    color: #6B5D54;
}

.juniors-tagline {
    font-size: 1.2rem;
    color: #6B5D54;
    font-weight: 400;
    margin-top: 0.5rem;
}

.fine {
    font-weight: 300;
}

.juniors-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.juniors-intro p {
    font-size: 1.3rem;
    color: #333;
    line-height: 1.8;
    font-weight: 600;
}

.k-tilt {
    display: inline-block;
    transform: rotate(-10deg);
    color: #C2185B;
    font-weight: bold;
}

.p-magenta {
    font-weight: 700;
    color: #C2185B;
}

.r-black {
    font-weight: 700;
    color: #000;
}

.juniors-features {
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background-color: white;
    position: relative;
    border-radius: 15px;
    border: 3px solid #C2185B;
    min-height: 400px;
    transition: all 0.3s ease;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/fond-sable-protege.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
}

.feature-item > * {
    position: relative;
    z-index: 1;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(194, 24, 91, 0.2);
}

.feature-image-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-image {
    width: 50%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: none;
}

.brain-emoji {
    font-size: 5rem;
    text-align: center;
    padding: 1rem;
}

.feature-carousel-img.active {
    display: block;
}

.carousel-arrow-small {
    background: #C2185B;
    color: white;
    border: none;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(194, 24, 91, 0.3);
}

.carousel-arrow-small:hover {
    background: #880E4F;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background: #C2185B;
    width: 12px;
    height: 12px;
}

.dot-ellipsis {
    color: #999;
    font-size: 1.2rem;
    font-weight: bold;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: -1.5rem 0 -2rem 0;
}

.word-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin: 1.5rem 0;
}

.word {
    font-size: 1rem;
    color: #C2185B;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    background: rgba(194, 24, 91, 0.1);
    border-radius: 20px;
}

.word-ellipsis-wrapper {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
}

.word-ellipsis {
    color: #999;
}

.feature-footer {
    font-size: 0.75rem;
    color: #7A8B9E;
    text-align: center;
    font-style: italic;
    font-weight: 300;
    margin-top: auto;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(122, 139, 158, 0.2);
    hyphens: none;
    word-break: keep-all;
    overflow-wrap: normal;
    opacity: 0.85;
}

.feature-footer sup {
    font-size: 0.6em;
}

.feature-arrow {
    font-size: 2.5rem;
    color: #C2185B;
    font-weight: bold;
    text-align: center;
}

.feature-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
    text-align: center;
}

.juniors-cta {
    text-align: center;
    margin: 3rem 0;
}

.juniors-cta .btn {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    white-space: normal;
    max-width: 600px;
}

.fiches-carousel {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(194, 24, 91, 0.05);
    border-radius: 20px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-images {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.carousel-image {
    width: 100%;
    height: auto;
    display: none;
    transition: opacity 0.5s ease;
}

.carousel-image.active {
    display: block;
}

.carousel-arrow {
    background: #C2185B;
    color: white;
    border: none;
    font-size: 3rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.3);
}

.carousel-arrow:hover {
    background: #880E4F;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(194, 24, 91, 0.5);
}

.juniors-contact {
    text-align: center;
    margin: 3rem 0;
}

.btn-contact {
    background: linear-gradient(145deg, #555 0%, #333 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #666 0%, #444 100%);
}

.contact-embed {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
}

@media (max-width: 768px) {
    .contact-embed {
        padding: 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
    }
}

.contact-embed .contact-title {
    font-size: 1.5rem;
    color: #6B5D54;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
}

.contact-embed iframe {
    border-radius: 10px;
}

.contact-subtitle {
    font-size: 0.9rem;
    color: #6B5D54;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    font-style: italic;
}

/* Page Adultes */
.adultes-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.adultes-subtitle {
    font-size: 1.5rem;
    color: #6B5D54;
    font-weight: 300;
    margin-top: -1rem;
}

.adultes-subtitle .k-tilt {
    color: #0089D4;
    font-weight: 400;
}

.adultes-targets {
    font-size: 1.2rem;
    color: #6B5D54;
    font-weight: 400;
    margin-top: 0.5rem;
}

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

.card-cta-group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.card-cta-group .feature-item {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-cta-group .btn {
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
    line-height: 1.4;
}

.adultes-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #0089D4;
    transition: all 0.3s ease;
    position: relative;
}

.adultes-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/fond-sable-protege.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    border-radius: 13px;
    pointer-events: none;
    z-index: 0;
}

.adultes-card > * {
    position: relative;
    z-index: 1;
}

.adultes-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 137, 212, 0.3);
}

.adultes-card h3 {
    color: #0089D4;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 0;
}

.adultes-card .k-tilt {
    color: #0089D4;
}

.card-subtitle {
    font-size: 0.95rem;
    color: #6B5D54;
    font-style: italic;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-emoji {
    font-size: 4rem;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.card-bullets {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.card-bullets li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.card-bullets-compact li {
    padding: 0.2rem 0;
    padding-left: 2rem;
}

.card-bullets li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #0089D4;
    font-weight: bold;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 1rem;
}

.box-3d {
    object-fit: contain;
    border: none;
    background: transparent;
    box-shadow: 0 0 15px rgba(0, 137, 212, 0.8),
                0 0 30px rgba(0, 137, 212, 0.5),
                0 0 45px rgba(0, 137, 212, 0.3);
}

.app-link {
    color: inherit;
    text-decoration: underline;
}

.card-description {
    text-align: center;
    line-height: 1.6;
    margin: 1.5rem 0;
    width: 100%;
    hyphens: none;
    word-break: keep-all;
}

.card-description sup {
    font-size: 0.5em;
    font-weight: 300;
}

.akor-description {
    margin-top: 1.8rem;
}

.akor-description .k-transparent {
    color: #0089D4;
    text-shadow: 0 0 8px rgba(0, 137, 212, 0.6),
                 0 0 16px rgba(0, 137, 212, 0.4),
                 0 0 24px rgba(0, 137, 212, 0.2);
    opacity: 0.5;
}

.authors-name {
    font-style: italic;
    font-weight: 300;
}

.waouh-glow {
    text-shadow:
        0 0 5px rgba(255, 215, 0, 0.6),
        0 0 10px rgba(255, 215, 0, 0.5),
        0 0 15px rgba(255, 215, 0, 0.4),
        0 0 20px rgba(194, 24, 91, 0.25),
        0 0 25px rgba(33, 150, 243, 0.2),
        0 0 30px rgba(0, 137, 123, 0.15);
    font-weight: 700;
}

.no-break {
    white-space: nowrap;
}

.card-cta {
    margin-top: 2rem;
    text-align: center;
}

.card-info {
    font-size: 0.85rem;
    color: #6B5D54;
    margin-top: 0.5rem;
    font-style: italic;
}

.z-tilt {
    display: inline-block;
    transform: rotate(10deg);
    font-weight: 700;
    color: #0089D4;
}

.cta-info {
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.9;
}

.form-email-mention {
    font-size: 0.8rem;
    font-weight: 300;
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.email-grey {
    color: #7A8B9E;
}

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

/* Page Hygiène Kognitive */
.hygiene-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.hygiene-subtitle {
    font-size: 1.5rem;
    color: #6B5D54;
    font-weight: 300;
    margin-top: -1rem;
    margin-bottom: 0.5rem;
}

.hygiene-targets {
    font-size: 1.2rem;
    color: #6B5D54;
    font-weight: 400;
    margin-top: 0.5rem;
}

.hygiene-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.hygiene-intro p {
    font-size: 1.3rem;
    color: #333;
    line-height: 1.8;
    font-weight: 600;
}

.hygiene-intro .k-tilt {
    color: #00897B;
}

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

.hygiene-card {
    border-color: #00897B;
    background: white;
    position: relative;
}

.hygiene-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/fond-sable-protege.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
}

.hygiene-card > * {
    position: relative;
    z-index: 1;
}

.hygiene-card:hover {
    box-shadow: 0 8px 25px rgba(0, 137, 123, 0.3);
}

.hygiene-card h3 {
    color: #00897B;
    margin-top: 0;
    margin-bottom: 0;
}

.hygiene-card .card-subtitle {
    margin-top: -0.5rem;
}

.hygiene-card .card-bullets li:before {
    color: #00897B;
}

.hygiene-card .k-tilt {
    color: #00897B;
}

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

/* Page À propos */
h2 {
    font-size: 2.5rem;
    color: #c2185b;
    margin-bottom: 2rem;
    text-align: center;
    padding: 0 1rem;
    white-space: nowrap;
}

#apropos h2 {
    margin-bottom: 0;
}

/* Couleurs des titres par section */
#juniors h2 {
    color: #C2185B;
    text-shadow: 2px 2px 4px rgba(194, 24, 91, 0.2);
}

#adultes h2 {
    color: #0089D4;
    text-shadow: 2px 2px 4px rgba(0, 137, 212, 0.2);
}

#hygiene-kognitive h2 {
    color: #00897B;
    text-shadow: 2px 2px 4px rgba(0, 137, 123, 0.2);
}

h3 {
    font-size: 1.8rem;
    color: #c2185b;
    margin: 2rem 0 1rem;
    text-align: center;
}

.about-intro {
    margin-bottom: 2rem;
}

.about-intro p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.vision-item {
    background: linear-gradient(135deg, #fef5f8 0%, #fff 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #c2185b;
    text-align: center;
    transition: all 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(194, 24, 91, 0.2);
}

.vision-item .emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.vision-item .role {
    font-weight: bold;
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hashtag {
    color: #c2185b;
    font-weight: bold;
    font-size: 1rem;
}

.hashtag .light {
    font-weight: 300;
    opacity: 0.6;
}

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


.team-member {
    background: linear-gradient(135deg, #fef5f8 0%, #fff 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(194, 24, 91, 0.15);
}

.team-member .profile-bubble {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c2185b 0%, #E6A8D7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(194, 24, 91, 0.3);
    border: 4px solid white;
}

.team-member h4 {
    color: #c2185b;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.team-member p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.team-member.join {
    background: linear-gradient(135deg, #fff8e1 0%, #fff 100%);
    border: 2px dashed #F4A300;
}

.team-member.join .profile-bubble {
    background: linear-gradient(135deg, #F4A300 0%, #FFD700 100%);
}

.team-member.join h4 {
    color: #F4A300;
}

.team-member a {
    color: #c2185b;
    text-decoration: none;
    font-weight: bold;
}

.team-member a:hover {
    text-decoration: underline;
}

/* Partenaires et Distinctions - Mosaïque */
.partners-distinctions {
    margin: 3rem 0;
}

.partners-distinctions h3 {
    text-align: center;
    color: #6B5D54;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.logos-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    padding: 2rem 0;
}

.logo-item {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.1);
}

.logo-item.concours-lepine,
.logo-item.escaleajeux {
    background: #000;
    padding: 10px;
    border-radius: 8px;
}

/* Responsive - Tablette */
@media (min-width: 600px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo {
        height: 56px;
    }
}

/* Responsive - Desktop */
@media (min-width: 900px) {
    .main-title {
        font-size: 4.8rem;
    }

    .copyright-small {
        font-size: 1.6rem;
    }

    .main-title .copyright {
        font-size: 2.4rem;
    }

    .subtitle {
        font-size: 1.8rem;
    }

    .logo {
        height: 64px;
    }

    .container {
        padding: 3rem;
    }

    .btn {
        font-size: 1.4rem;
        padding: 1.3rem 3.2rem;
    }

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

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 1rem;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    font-weight: 300;
    border-top: 1px solid rgba(194, 24, 91, 0.1);
}

footer p {
    margin: 0 0 1rem 0;
}

.language-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.lang-link {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.lang-link:hover {
    color: #c2185b;
}

.lang-link.active {
    color: #c2185b;
    font-weight: 700;
}

.lang-separator {
    color: #ccc;
}

/* Page Contact */
.contact-alternative {
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
}

.contact-alternative a {
    color: #c2185b;
    text-decoration: none;
    font-weight: bold;
}

.contact-alternative a:hover {
    text-decoration: underline;
}

/* Modal Connexion */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #c2185b;
}

.modal-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.app-url {
    font-weight: normal;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-modal {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-go {
    background: #2196F3;
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.btn-go:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.btn-cancel {
    background: #e0e0e0;
    color: #333;
}

.btn-cancel:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}
