/* =========================================================
   SYSTEMEGC.COM
   STYLE.CSS
   Page d'accueil bilingue FR / EN

   Identité visuelle :
   - Vert GC : identité institutionnelle
   - Noir / bleu nuit : architecture générale
   - Or : Collection GC et éléments structurants
   - Blanc : lisibilité
   ========================================================= */


/* =========================================================
   01 — VARIABLES GLOBALES
   ========================================================= */

:root {

    /* Couleurs principales */

    --gc-green: #4f9222;
    --gc-green-light: #69ad2d;
    --gc-green-dark: #376b17;

    --gc-black: #05080b;
    --gc-black-deep: #020406;

    --gc-navy: #07111b;
    --gc-navy-light: #0d1b28;
    --gc-navy-soft: #101f2c;

    --gc-gold: #d6a143;
    --gc-gold-light: #f0bd64;
    --gc-gold-dark: #9c712d;

    --gc-white: #f5f3ed;
    --gc-white-soft: #e5e3dd;

    --gc-grey: #aab0b5;
    --gc-grey-light: #c7ccd0;
    --gc-grey-dark: #777f84;

    /* Transparences */

    --gc-border: rgba(214, 161, 67, 0.28);
    --gc-border-soft: rgba(214, 161, 67, 0.16);

    /* Dimensions */

    --max-width: 1280px;

    /* Animation */

    --transition: 0.3s ease;
}


/* =========================================================
   02 — RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(79, 146, 34, 0.05),
            transparent 28%
        ),
        radial-gradient(
            circle at 80% 50%,
            rgba(214, 161, 67, 0.05),
            transparent 32%
        ),
        var(--gc-black);

    color: var(--gc-white);

    line-height: 1.65;

    min-height: 100vh;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


::selection {
    background: var(--gc-green);
    color: white;
}


/* =========================================================
   03 — CONTENEUR PRINCIPAL
   ========================================================= */

.container {

    width: min(92%, var(--max-width));

    margin-inline: auto;
}


/* =========================================================
   04 — HEADER
   ========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(5, 8, 11, 0.93);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(214, 161, 67, 0.18);
}


.header-inner {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   05 — LOGO / MARQUE
   ========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 16px;

    flex-shrink: 0;
}


.brand img {

    width: 105px;

    height: auto;

    transition: transform var(--transition);
}


.brand:hover img {

    transform: scale(1.03);
}


.brand-text {

    font-size: 0.82rem;

    letter-spacing: 0.22em;

    color: var(--gc-grey);

    text-transform: uppercase;

    white-space: nowrap;
}


/* =========================================================
   06 — NAVIGATION PRINCIPALE
   ========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;
}


.main-nav a {

    position: relative;

    padding: 30px 0;

    font-size: 0.84rem;

    font-weight: 500;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #d9dde0;

    transition:
        color var(--transition),
        opacity var(--transition);
}


.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 21px;

    height: 1px;

    background: var(--gc-gold);

    transform: scaleX(0);

    transform-origin: center;

    transition: transform var(--transition);
}


.main-nav a:hover {

    color: var(--gc-gold-light);
}


.main-nav a:hover::after {

    transform: scaleX(1);
}


/* =========================================================
   07 — SÉLECTEUR DE LANGUE
   ========================================================= */

.language-switch {

    display: flex;

    align-items: center;

    border: 1px solid var(--gc-border);

    border-radius: 30px;

    overflow: hidden;

    flex-shrink: 0;
}


.language-switch button {

    border: 0;

    outline: none;

    background: transparent;

    color: var(--gc-grey);

    padding: 9px 13px;

    font-size: 0.8rem;

    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition);
}


.language-switch button:hover {

    color: white;
}


.language-switch button.active {

    background: var(--gc-green);

    color: white;
}


/* =========================================================
   08 — MENU MOBILE
   ========================================================= */

.menu-toggle {

    display: none;

    background: transparent;

    border: 1px solid var(--gc-border);

    color: white;

    padding: 8px 12px;

    border-radius: 4px;

    font-size: 1.15rem;
}


/* =========================================================
   09 — HERO
   ========================================================= */

.hero {

    min-height: calc(100vh - 82px);

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    border-bottom: 1px solid rgba(214, 161, 67, 0.18);
}


/* Voile sombre */

.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 11, 0.98) 0%,
            rgba(5, 8, 11, 0.91) 46%,
            rgba(5, 8, 11, 0.62) 100%
        );

    z-index: 1;
}


/* Élément graphique circulaire */

.hero::after {

    content: "";

    position: absolute;

    right: -10%;

    bottom: -35%;

    width: 750px;

    height: 750px;

    border: 1px solid rgba(214, 161, 67, 0.15);

    border-radius: 50%;

    box-shadow:
        0 0 0 80px rgba(214, 161, 67, 0.025),
        0 0 0 160px rgba(214, 161, 67, 0.020);

    pointer-events: none;
}


.hero-inner {

    position: relative;

    z-index: 2;

    padding: 110px 0;

    max-width: 880px;
}


/* =========================================================
   10 — HERO : TEXTE
   ========================================================= */

.eyebrow {

    color: var(--gc-gold);

    text-transform: uppercase;

    letter-spacing: 0.35em;

    font-size: 0.88rem;

    margin-bottom: 22px;
}


.hero h1 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

    font-size: clamp(3.5rem, 8vw, 7rem);

    line-height: 0.95;

    letter-spacing: 0.02em;

    margin-bottom: 28px;
}


.hero h1 span:first-child {

    color: var(--gc-green-light);
}


.hero-tagline {

    color: var(--gc-gold-light);

    font-size: clamp(1.3rem, 2.5vw, 2rem);

    font-weight: 400;

    margin-bottom: 25px;
}


.hero-description {

    max-width: 780px;

    font-size: 1.15rem;

    color: #c8cdd1;

    margin-bottom: 38px;
}


.hero-principles {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-style: italic;

    font-size: 1.25rem;

    line-height: 1.8;

    color: #f0eee8;

    border-left: 2px solid var(--gc-gold);

    padding-left: 22px;

    margin-bottom: 38px;
}


/* =========================================================
   11 — BOUTONS
   ========================================================= */

.button-row {

    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


.btn {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    min-height: 48px;

    padding: 12px 24px;

    border-radius: 4px;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    font-size: 0.78rem;

    font-weight: 700;

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}


.btn:hover {

    transform: translateY(-2px);
}


.btn-primary {

    background: var(--gc-green);

    color: white;

    border: 1px solid var(--gc-green);
}


.btn-primary:hover {

    background: var(--gc-green-light);

    border-color: var(--gc-green-light);

    box-shadow: 0 8px 25px rgba(79, 146, 34, 0.18);
}


.btn-secondary {

    color: var(--gc-gold-light);

    background: transparent;

    border: 1px solid var(--gc-gold);
}


.btn-secondary:hover {

    background: rgba(214, 161, 67, 0.10);

    border-color: var(--gc-gold-light);

    color: white;
}


/* =========================================================
   12 — SECTIONS GÉNÉRALES
   ========================================================= */

section {

    padding: 100px 0;
}


.section-dark {

    background: #05080b;
}


.section-alt {

    background:
        linear-gradient(
            180deg,
            rgba(11, 22, 32, 0.96),
            rgba(5, 8, 11, 1)
        );
}


/* =========================================================
   13 — EN-TÊTES DE SECTIONS
   ========================================================= */

.section-header {

    text-align: center;

    max-width: 900px;

    margin: 0 auto 60px;
}


.section-kicker {

    display: block;

    color: var(--gc-gold);

    text-transform: uppercase;

    letter-spacing: 0.28em;

    font-size: 0.82rem;

    margin-bottom: 13px;
}


.section-header h2 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2.3rem, 5vw, 4.1rem);

    font-weight: 400;

    line-height: 1.08;

    margin-bottom: 22px;
}


.section-header p {

    font-size: 1.12rem;

    color: #bcc2c6;

    max-width: 820px;

    margin-inline: auto;
}


.gold-line {

    width: 80px;

    height: 1px;

    background: var(--gc-gold);

    margin: 24px auto;
}


/* =========================================================
   14 — INTRODUCTION AU SYSTÈME
   ========================================================= */

.system-intro {

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 70px;

    align-items: center;
}


.system-copy h3 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 2.1rem;

    font-weight: 400;

    line-height: 1.25;

    margin-bottom: 25px;
}


.system-copy p {

    color: #c3c8cb;

    margin-bottom: 20px;

    font-size: 1.06rem;
}


/* =========================================================
   15 — FLUX COMPRENDRE → ÉVOLUER
   ========================================================= */

.system-flow {

    display: grid;

    gap: 12px;
}


.flow-step {

    position: relative;

    border-left: 2px solid var(--gc-gold);

    padding: 18px 20px;

    background: rgba(255, 255, 255, 0.025);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}


.flow-step:hover {

    transform: translateX(5px);

    background: rgba(214, 161, 67, 0.055);

    border-color: var(--gc-gold-light);
}


.flow-step strong {

    display: block;

    color: var(--gc-gold-light);

    letter-spacing: 0.1em;

    font-size: 0.83rem;

    margin-bottom: 4px;
}


.flow-step span {

    color: #c8cdd0;

    font-weight: 600;

    letter-spacing: 0.08em;
}


/* =========================================================
   16 — COLLECTION GC
   ========================================================= */

.books-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 42px;
}


.book-card {

    background: #09111a;

    border: 1px solid rgba(214, 161, 67, 0.20);

    overflow: hidden;

    display: grid;

    /*
       Couverture légèrement plus large afin de respecter
       son format vertical et de lui donner plus de présence.
    */

    grid-template-columns:
        minmax(250px, 42%) 1fr;

    min-height: 520px;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}


.book-card:hover {

    transform: translateY(-5px);

    border-color: rgba(214, 161, 67, 0.55);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   17 — COUVERTURES GC
   AFFICHAGE COMPLET — AUCUNE COUPE
   ========================================================= */

.book-cover {

    width: 100%;

    height: 100%;

    background: #020406;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;
}


.book-cover img {

    /*
       IMPORTANT :
       contain affiche toute la couverture.
       Aucun morceau de l'image n'est supprimé.
    */

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    transition:
        filter 0.5s ease;
}


.book-card:hover .book-cover img {

    /*
       Pas de scale / zoom :
       la couverture reste entièrement visible.
    */

    filter: brightness(1.04);
}


/* =========================================================
   18 — CONTENU DES LIVRES
   ========================================================= */

.book-content {

    padding: 38px 32px;

    display: flex;

    flex-direction: column;

    min-width: 0;
}


.book-number {

    color: var(--gc-gold);

    letter-spacing: 0.15em;

    margin-bottom: 14px;

    font-weight: 700;

    font-size: 0.9rem;
}


.book-content h3 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.7rem;

    font-weight: 400;

    line-height: 1.18;

    margin-bottom: 18px;
}


.book-content p {

    color: #b7bec2;

    margin-bottom: 28px;
}


.book-content .btn {

    margin-top: auto;

    align-self: flex-start;
}


/* =========================================================
   19 — PROGRESSION GC-101 À GC-104
   ========================================================= */

.progression {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 0;

    border: 1px solid var(--gc-border);
}


.progression-item {

    position: relative;

    padding: 40px 28px;

    border-right: 1px solid var(--gc-border);

    background: rgba(255, 255, 255, 0.018);

    transition:
        background var(--transition),
        transform var(--transition);
}


.progression-item:last-child {

    border-right: 0;
}


.progression-item:hover {

    background: rgba(214, 161, 67, 0.04);
}


.progression-number {

    color: var(--gc-gold);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 2.4rem;
}


.progression-item h3 {

    font-size: 1rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    margin: 15px 0;
}


.progression-item p {

    color: #afb6ba;

    font-size: 0.96rem;
}


/* =========================================================
   20 — ARCHITECTURE DU RÉSEAU
   ========================================================= */

.architecture-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 18px;
}


.architecture-card {

    position: relative;

    padding: 30px 22px;

    border-top: 2px solid var(--gc-gold);

    background: rgba(255, 255, 255, 0.025);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}


.architecture-card:hover {

    transform: translateY(-4px);

    background: rgba(214, 161, 67, 0.045);

    border-color: var(--gc-gold-light);
}


.architecture-card h3 {

    color: var(--gc-gold-light);

    font-size: 0.92rem;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    margin-bottom: 14px;
}


.architecture-card p {

    color: #b8bec2;

    font-size: 0.95rem;
}


/* =========================================================
   21 — PRINCIPES GC
   ========================================================= */

.principles-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.principle {

    position: relative;

    padding: 32px;

    border: 1px solid rgba(214, 161, 67, 0.18);

    background: rgba(5, 8, 11, 0.45);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}


.principle:hover {

    transform: translateY(-4px);

    border-color: rgba(214, 161, 67, 0.48);

    background: rgba(255, 255, 255, 0.025);
}


.principle span {

    display: block;

    color: var(--gc-green-light);

    font-size: 0.8rem;

    letter-spacing: 0.2em;

    margin-bottom: 14px;
}


.principle h3 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

    font-size: 1.5rem;

    line-height: 1.25;

    margin-bottom: 14px;
}


.principle p {

    color: #b6bdc1;
}


/* =========================================================
   22 — VISION
   ========================================================= */

.vision-block {

    max-width: 960px;

    margin: 0 auto;

    text-align: center;
}


.vision-block p {

    color: #c3c8cc;

    font-size: 1.15rem;

    margin-bottom: 25px;
}


.vision-highlight {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: var(--gc-white);

    font-size: clamp(1.8rem, 4vw, 3rem);

    line-height: 1.25;

    padding: 40px 0;
}


.vision-highlight strong {

    color: var(--gc-green-light);

    font-weight: 400;
}


/* =========================================================
   23 — SECTION FINALE / CTA
   ========================================================= */

.final-cta {

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(79, 146, 34, 0.09),
            transparent 50%
        ),
        #071019;
}


.final-cta h2 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2.2rem, 5vw, 4rem);

    font-weight: 400;

    line-height: 1.12;

    margin-bottom: 20px;
}


.final-cta p {

    max-width: 760px;

    margin: 0 auto 25px;

    color: #bdc3c7;

    font-size: 1.08rem;
}


.final-cta .button-row {

    justify-content: center;

    margin-top: 35px;
}


/* =========================================================
   24 — FOOTER
   ========================================================= */

footer {

    background: var(--gc-black-deep);

    border-top: 1px solid rgba(214, 161, 67, 0.18);

    padding: 55px 0 30px;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 50px;

    margin-bottom: 40px;
}


.footer-logo {

    width: 120px;

    height: auto;

    margin-bottom: 20px;
}


.footer-about {

    color: #90999e;

    max-width: 450px;
}


.footer-title {

    color: var(--gc-gold);

    text-transform: uppercase;

    letter-spacing: 0.12em;

    font-size: 0.82rem;

    margin-bottom: 15px;
}


.footer-links {

    display: grid;

    gap: 8px;
}


.footer-links a {

    color: #aab2b6;

    transition:
        color var(--transition),
        transform var(--transition);
}


.footer-links a:hover {

    color: var(--gc-gold-light);

    transform: translateX(3px);
}


.footer-bottom {

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    color: var(--gc-grey-dark);

    font-size: 0.86rem;
}


/* =========================================================
   25 — ACCESSIBILITÉ
   ========================================================= */

a:focus-visible,
button:focus-visible {

    outline: 2px solid var(--gc-gold-light);

    outline-offset: 4px;
}


/* =========================================================
   26 — RESPONSIVE : ÉCRANS ≤ 1100 PX
   ========================================================= */

@media (max-width: 1100px) {

    .main-nav {

        gap: 15px;
    }


    .main-nav a {

        font-size: 0.72rem;
    }


    /*
       Les livres passent sur une seule colonne.
       Cela permet de conserver une couverture complète
       avec une taille confortable.
    */

    .books-grid {

        grid-template-columns: 1fr;
    }


    .book-card {

        grid-template-columns:
            minmax(280px, 38%) 1fr;
    }


    .architecture-grid {

        grid-template-columns:
            repeat(3, 1fr);
    }


    .progression {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .progression-item:nth-child(2) {

        border-right: 0;
    }


    .progression-item:nth-child(-n + 2) {

        border-bottom: 1px solid var(--gc-border);
    }

}


/* =========================================================
   27 — RESPONSIVE : TABLETTE ≤ 850 PX
   ========================================================= */

@media (max-width: 850px) {

    .header-inner {

        flex-wrap: wrap;

        padding: 12px 0;
    }


    .menu-toggle {

        display: block;

        margin-left: auto;
    }


    .main-nav {

        display: none;

        width: 100%;

        order: 10;

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding: 8px 0 15px;
    }


    .main-nav.open {

        display: flex;
    }


    .main-nav a {

        width: 100%;

        padding: 11px 0;

        font-size: 0.82rem;
    }


    .main-nav a::after {

        display: none;
    }


    .language-switch {

        margin-left: 10px;
    }


    .hero {

        min-height: auto;
    }


    .system-intro {

        grid-template-columns: 1fr;
    }


    .book-card {

        grid-template-columns:
            minmax(250px, 42%) 1fr;
    }


    .architecture-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .principles-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .footer-grid {

        grid-template-columns: 1fr;
    }

}


/* =========================================================
   28 — RESPONSIVE : MOBILE ≤ 650 PX
   ========================================================= */

@media (max-width: 650px) {

    section {

        padding: 75px 0;
    }


    .container {

        width: min(90%, var(--max-width));
    }


    /* Header */

    .brand-text {

        display: none;
    }


    .brand img {

        width: 82px;
    }


    .language-switch button {

        padding: 7px 10px;
    }


    /* Hero */

    .hero-inner {

        padding: 80px 0;
    }


    .eyebrow {

        font-size: 0.72rem;

        letter-spacing: 0.22em;
    }


    .hero h1 {

        font-size: clamp(3rem, 17vw, 5rem);
    }


    .hero-description {

        font-size: 1rem;
    }


    .hero-principles {

        font-size: 1.05rem;
    }


    .button-row {

        flex-direction: column;

        align-items: stretch;
    }


    .btn {

        width: 100%;
    }


    /* =====================================================
       COLLECTION GC MOBILE
       ===================================================== */

    .book-card {

        grid-template-columns: 1fr;

        min-height: 0;
    }


    /*
       Sur téléphone, la couverture conserve
       son ratio naturel et apparaît complètement.
    */

    .book-cover {

        width: 100%;

        height: auto;

        display: block;

        background: #020406;
    }


    .book-cover img {

        width: 100%;

        height: auto;

        max-height: none;

        object-fit: contain;

        object-position: center;
    }


    .book-content {

        padding: 28px 24px;
    }


    .book-content .btn {

        align-self: stretch;
    }


    /* Progression */

    .progression {

        grid-template-columns: 1fr;
    }


    .progression-item {

        border-right: 0;

        border-bottom: 1px solid var(--gc-border);
    }


    .progression-item:last-child {

        border-bottom: 0;
    }


    /* Architecture */

    .architecture-grid {

        grid-template-columns: 1fr;
    }


    /* Principes */

    .principles-grid {

        grid-template-columns: 1fr;
    }


    /* Footer */

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   29 — TRÈS PETITS ÉCRANS ≤ 420 PX
   ========================================================= */

@media (max-width: 420px) {

    .header-inner {

        gap: 10px;
    }


    .brand img {

        width: 72px;
    }


    .menu-toggle {

        padding: 6px 9px;

        font-size: 1rem;
    }


    .language-switch button {

        padding: 6px 8px;

        font-size: 0.72rem;
    }


    .hero-inner {

        padding: 65px 0;
    }


    .hero h1 {

        font-size: 3rem;
    }


    .section-header h2 {

        font-size: 2.15rem;
    }


    .section-header {

        margin-bottom: 45px;
    }


    .principle,
    .architecture-card,
    .progression-item {

        padding-left: 22px;

        padding-right: 22px;
    }

}


/* =========================================================
   30 — RÉDUCTION DES ANIMATIONS
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;
    }

}