/*
Theme Name: Les Explorateurs du Coin
Theme URI: https://explorateursducoin.fr
Author: Les Explorateurs du Coin
Description: Thème sur mesure pour l'association Les Explorateurs du Coin.
Version: 1.0.0
Text Domain: explorateurs
*/
/* ========================================
   BASE
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #1f2933;
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    border-bottom: 1px solid #e5e7eb;
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    width: 300px;
    height: 72px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.site-logo a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.site-logo img {
    position: absolute;

    width: 300px;
    height: auto;

    left: 0;
    top: -42px;

    display: block;
}

.site-navigation ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation a {
    font-weight: 600;
}

.site-main {
    min-height: 70vh;
}

.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.site-footer {
    border-top: 1px solid #e5e7eb;
    padding: 30px 20px;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   ACCUEIL
======================================== */

:root {
    --color-navy: #17324d;
    --color-green: #5f7f45;
    --color-green-light: #e9f0e3;
    --color-cream: #f7f5ed;
    --color-text: #263238;
    --color-muted: #66736d;
}

/* HERO
======================================== */

.hero-home {
    background: var(--color-cream);
    padding: 90px 20px;
}

.hero-home-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-eyebrow,
.section-eyebrow {
    margin: 0 0 15px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;

    color: var(--color-green);
}

.hero-home h1 {
    margin: 0;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;

    color: var(--color-navy);
}

.hero-home h1 span {
    color: var(--color-green);
}

.hero-text {
    max-width: 600px;
    margin: 25px 0 30px;

    font-size: 19px;
    line-height: 1.7;

    color: var(--color-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.button {
    display: inline-block;

    padding: 14px 24px;

    border-radius: 8px;

    font-weight: 700;

    transition: 0.2s ease;
}

.button-primary {
    background: var(--color-green);
    color: #ffffff;
}

.button-primary:hover {
    transform: translateY(-2px);
}

.button-secondary {
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
}

.button-light {
    background: #ffffff;
    color: var(--color-navy);
}

.hero-home-visual {
    display: flex;
    justify-content: center;
}

.hero-illustration {
    width: 360px;
    height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--color-green-light);

    font-size: 120px;
}


/* SECTIONS
======================================== */

.section-home {
    padding: 90px 20px;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px;

    text-align: center;
}

.section-header h2 {
    margin: 0 0 15px;

    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;

    color: var(--color-navy);
}

.section-header > p:last-child {
    margin: 0;

    font-size: 18px;
    line-height: 1.7;

    color: var(--color-muted);
}


/* EXPLORER
======================================== */

.section-explorer {
    background: #ffffff;
}

.explorer-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.explorer-card {
    padding: 30px;

    border: 1px solid #e4e8e2;
    border-radius: 16px;

    background: #ffffff;

    transition: 0.2s ease;
}

.explorer-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(23, 50, 77, 0.08);
}

.explorer-card-icon {
    margin-bottom: 20px;

    font-size: 48px;
}

.explorer-card h3 {
    margin: 0 0 10px;

    color: var(--color-navy);

    font-size: 22px;
}

.explorer-card p {
    min-height: 75px;

    margin: 0 0 20px;

    line-height: 1.6;

    color: var(--color-muted);
}

.explorer-card span {
    font-weight: 700;
    color: var(--color-green);
}


/* PHILOSOPHY
======================================== */

.section-philosophy {
    background: var(--color-cream);
}

.philosophy-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}

.philosophy-content h2 {
    margin: 0 0 25px;

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;

    color: var(--color-navy);
}

.philosophy-content p {
    max-width: 560px;

    line-height: 1.8;

    color: var(--color-muted);
}

.text-link {
    display: inline-block;

    margin-top: 15px;

    font-weight: 700;

    color: var(--color-green);
}

.philosophy-visual {
    display: flex;
    justify-content: center;
}

.philosophy-placeholder {
    width: 400px;
    height: 400px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 30px;

    background: var(--color-green-light);

    text-align: center;

    color: var(--color-navy);
}

.philosophy-placeholder span {
    margin-bottom: 20px;

    font-size: 90px;
}

.philosophy-placeholder strong {
    font-size: 25px;
    line-height: 1.3;
}


/* COMPRENDRE
======================================== */

.section-learn {
    background: #ffffff;
}

.learning-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.learning-card {
    overflow: hidden;

    border: 1px solid #e4e8e2;
    border-radius: 16px;

    background: #ffffff;
}

.learning-card-image {
    height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--color-green-light);

    font-size: 70px;
}

.learning-card-content {
    padding: 25px;
}

.learning-card-content > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;

    color: var(--color-green);
}

.learning-card h3 {
    margin: 10px 0;

    color: var(--color-navy);
}

.learning-card p {
    line-height: 1.6;

    color: var(--color-muted);
}

.learning-card a {
    font-weight: 700;

    color: var(--color-green);
}


/* EVENTS
======================================== */

.section-events {
    background: var(--color-cream);
}

.events-placeholder-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-placeholder {
    padding: 30px;

    border-radius: 16px;

    background: #ffffff;
}

.event-date {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;

    color: var(--color-green);
}

.event-placeholder h3 {
    margin: 0 0 15px;

    color: var(--color-navy);
}

.event-placeholder p {
    margin-bottom: 25px;

    color: var(--color-muted);
}

.event-placeholder a {
    font-weight: 700;

    color: var(--color-green);
}

.section-button {
    margin-top: 40px;

    text-align: center;
}


/* CTA
======================================== */

.section-cta {
    background: var(--color-navy);

    text-align: center;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.section-cta .section-eyebrow {
    color: #a9c68f;
}

.section-cta h2 {
    margin: 0 0 20px;

    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;

    color: #ffffff;
}

.section-cta p {
    margin: 0 auto 30px;

    font-size: 18px;
    line-height: 1.7;

    color: #d7e0e8;
}


/* RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .explorer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-home-inner,
    .philosophy-inner {
        grid-template-columns: 1fr;
    }

    .hero-home-content {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .learning-grid,
    .events-placeholder-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-content {
        text-align: center;
    }

    .philosophy-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .text-link {
        margin-top: 15px;
    }
}


@media (max-width: 600px) {

    .hero-home {
        padding: 60px 20px;
    }

    .section-home {
        padding: 60px 20px;
    }

    .explorer-grid {
        grid-template-columns: 1fr;
    }

    .hero-illustration {
        width: 260px;
        height: 260px;

        font-size: 90px;
    }

    .philosophy-placeholder {
        width: 100%;
        height: 300px;
    }

}