/* ==========================================================================
   1. VARIABLES OFFICIELLES GRENIKA
   ========================================================================== */
:root {
    /* Couleurs d'accentuation */
    --vert-grenika: #1C3027;      /* Vert sombre profond */
    --grenika-gold: #D4AF37;      /* Or prestige */
    --grenika-litegold: #DDCDAA;  /* Or doux (logo) */

    /* Couleurs de base & UI */
    --off-white: #F8F9FA;
    --secondary-green: #2E4B3C;    /* Nuance de vert vive */
    --gris-ui: #8E9A9A;           /* Gris technique */
    --anthracite: #2C3E50;        /* Texte principal */
    --white: #FFFFFF;

    --container-width: 1100px;
    /* Le padding devient fluide : 20px sur mobile, 80px sur desktop */
    --section-padding: clamp(20px, 8vw, 80px) clamp(15px, 5vw, 50px);
    --radius-sm: 10px;   /* Petits éléments (icônes) */
    --radius-md: 20px;  /* Tes cartes / wrappers */
    --radius-lg: 30px;  /* Le grand conteneur CTA */
    --radius-full: 50px; /* Boutons pilules */

    /* 1. FORCE TOUS LES ÉLÉMENTS DU SITE À BIEN CALCULER LEUR LARGEUR */
*, ::before, ::after {
    box-sizing: border-box !important;
}

}
body {
    background-color: var(--white);
    color: var(--anthracite);
    font-family: 'Inter', sans-serif;
    margin: 0; 
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    html, body {
    width: 100%;
    max-width: 100%;
    
    /* Élimine les rebonds et les scrolls horizontaux parasites */
    overflow-x: hidden !important; 
    position: relative;
    }

    /* Élimine le scroll horizontal sur le bloc principal s'il y a un composant fixe */
    main {
        overflow-x: hidden !important;
        width: 100%;
    }

    
    /* Structure de page parfaite (Sticky Footer) */
    display: flex; 
    flex-direction: column;
    min-height: 100vh;

    /* Rendu des polices au top sur tous les navigateurs */
    -webkit-font-smoothing: antialiased; /* Safari / Chrome */
    -moz-osx-font-smoothing: grayscale; /* Firefox Mac */

}

/* ==========================================================================
2. PAGE D'ACCUEIL (ONBOARDING) - STRUCTURE & STYLE
========================================================================== */
/* 
A. Header & introduction animée
========================================================================== */

/* --- 1. Header & Centrage --- */
.header-transition {
    width: 100%;
    min-height: 30vh;
    background-color: var(--vert-grenika);
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); /* Plus doux pour mobile */
    position: relative;
    padding: 40px 20px;
}

/* --- 2. L'Axe Doré (2px Constant) --- */

.line-axis {
    position: relative;
    padding-left: clamp(5px, 5vw, 25px);
    text-align: left;
    width: fit-content; /* Le conteneur s'adapte à l'élément le plus large */
}
.line-axis::before {
    content: "";
    position: absolute;
    left: 0; top: 0; width: 1px; height: 100%;
    background-color: var(--grenika-gold);
    transform: scaleY(0);
    transform-origin: top;
    animation: growLine 1.2s cubic-bezier(0.43, 0.19, 0.02, 1) forwards;
}

/* --- 3. Logo & Baseline --- */

.logo-site {
    display: block;
    width: 320px; /* Largeur fixe souhaitée */
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
}

.baseline-grenika {
    color: var(--grenika-litegold);
    font-family: 'Inter', sans-serif;
    font-size: clamp(8px, 1.5vw, 14px); /* Légère réduction pour aider le maintien sur une ligne */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px; 
    margin: 0;
    white-space: nowrap; /* GARANTIT une seule ligne */
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis; /* Ajoute "..." si vraiment ça ne rentre pas, plutôt que de casser le design */
 
}
/* 
B. Section 1 : Le Manifeste du Grenier Vert (mise en page & rythme)
============================================================= */
/* --- 1. Conteneur & Alternance --- */
.manifeste-section {
    width: 100%;
    background-color: var(--white);
    justify-content: center;
    max-width: 1100px;/* Un peu plus large pour l'alternance */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 40px 20px;
    border-radius: var(--radius-sm);
}

    /* Structure en lignes alternées */
.manifeste-row {
    display: flex;
    align-items: center;
    gap: clamp(30px, 6vw, 60px);
    margin-bottom: clamp(50px, 10vw, 100px);
}
    /* Inversion une ligne sur deux */
.manifeste-row.reverse {
    flex-direction: row-reverse;
}
    /* --- 2. Contenu & Style --- */
    /* Texte du manifeste */
.manifeste-text {
    flex: 1.2;
    border-left: 2px solid var(--grenika-gold);
    padding-left: clamp(20px, 4vw, 40px);
    text-align: left;
    padding: 40px 20px;
    }  
.manifeste-titre h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    /* Fluide entre 1.8rem (mobile) et 2.5rem (desktop) */
    font-size: clamp(1.5rem, 5vw, 2.2rem); 
    color: var(--vert-grenika);
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: left;
}
.manifeste-titre h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    color: var(--grenika-gold);
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
}
.manifeste-titre h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 3vw, 1.4rem);
    color: var(--vert-grenika);
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
}
.manifeste-text p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--anthracite);
    margin: 0;
    text-align: left;
}
.manifeste-text ul {
    list-style: disc;
    padding-left: 20px;
    margin: 15px 0;
    text-align: left;
    font:bold 1.1rem 'Inter', sans-serif;
}
.manifeste-quote {
    /* Utilisation de la police Inter */
    font-family: 'Inter', sans-serif;
    font-style: normal; /* "Inter" est souvent plus élégante en style droit */
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;

    /* Mise en page */
    padding: 15px 25px;
    margin: 20px 0;
    background-color: #e6ffed; /* Un fond très légèrement rosé */
    
    /* La bordure rouge demandée */
    border-left: 10px solid #0b6726; /* Rouge vif moderne */
}

    /* --- 3. Conteneur d'images (Optimisé pour le responsive) --- */
    /* Conteneur d'images .webp */
.manifeste-image {
    flex: 0.8;
    border-radius: var(--radius-md);/* 20px Pour garder l'aspect "Prestige" avec des bords arrondis */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    width: 100%; /* Important pour le responsive */
    height: auto; /* Garde les proportions de l'image */
    max-height: none; /* On retire la limite de hauteur qui coupait l'image */
    object-fit: cover; /* Assure que l'image remplit bien son conteneur sans déformation */
}
.manifeste-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}
    /* Effet au survol de l'image */
.manifeste-image:hover img {
    transform: scale(1.05);
}
    /* --- Signature Finale Harmonisée --- */
.manifeste-final-block {
    margin-top: 100px;
    padding-bottom: 80px; /* Plus d'espace en bas de page */
    display: flex;
    justify-content: center;
}
.signature-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
    padding-bottom: 80px;
}
    /* --- L'icône devenue circulaire --- */
.final-brand-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* FORCE LA FORME CIRCULAIRE */
    background-color: transparent; /* ASSURE LA TRANSPARENCE */
    object-fit: contain;
    border: 1px solid var(--grenika-gold); /* Liseré doré de 1px très fin */
    padding: 1px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}
    /* --- GRENIKA en Poppins Bold --- */
.grenika-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* BOLD */
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    color: var(--vert-grenika);
    /* Letter-spacing fluide pour éviter le débordement mobile */
    letter-spacing: clamp(2px, 1vw, 5px);
    text-transform: uppercase;
}
    /* --- Baseline en Poppins Bold --- */
.baseline-footer {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* BOLD */
    color: var(--grenika-gold);
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    text-transform: uppercase;
    letter-spacing: clamp(1.5px, 0.5vw, 2px);
}

/* 
    C. Section 2 : La Charte des GRENIKERS
    ============================================================= */
    /* --- 1. Ombre portée sur la section entière --- */

.charte-section {
    width: 100%;
    background-color: var(--off-white);
    justify-content: center;
    max-width: 1100px;/* Un peu plus large pour l'alternance */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 40px 20px;
    border-radius: var(--radius-sm);
}

.charte-container {
    max-width: 100%;
    margin: 0 auto;
    background: var(--white);
    /* Padding parfaitement symétrique : 60px partout en desktop, 25px en mobile */
    padding: clamp(25px, 6vw, 60px); 
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(28, 48, 39, 0.08);
    
    /* Centre le contenu dans la page */
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/* On force tout le texte à avoir une largeur max de lecture confortable */
.charte-container > h1, 
.charte-container > h2,
.charte-container > h3, 
.charte-container > p, 
.charte-container > div:not(.charte-grid) {
    width: 100%;
    max-width: 850px; /* Largeur idéale pour éviter le vide immense à droite */
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* Garde la lecture naturelle à gauche */
}

/* Style spécifique pour les titres pour bien les ancrer au centre */
.charte-container h1, 
.charte-container .header-section {
    text-align: center; /* Tes titres principaux restent centrés */
    margin-bottom: 40px;
}
.charte-container h2 {
    margin-top: 40px;
    color: var(--vert-grenika);
    font-weight: 700;
    border-bottom: 1px solid var(--off-white);
    padding-bottom: 10px;
}
.charte-container h3 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.4rem); /* Fluide selon l'écran */
    color: var(--vert-grenika);
    font-weight: 600;
    margin-top: 30px;      /* Espace avec le paragraphe précédent */
    margin-bottom: 12px;    /* Espace avec le texte qui suit */
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;             /* Pour une future icône ou puce */
}

/* Correction des paragraphes pour éviter l'effet "tiré" */
.charte-container p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--anthracite);
}
  
    /* --- 2. Style des Cartes (Icônes en bas) --- */
    /* --- LE CONTENEUR (Ta grille d'origine optimisée) --- */
.charte-grid {
    display: grid;
    /* Garde tes réglages : 240px minimum par carte */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 50px;
    
    /* IMPORTANT : Aligne les cartes pour qu'elles aient toutes la même hauteur */
    align-items: stretch; 
}
    /* Surlignement doré entre le titre et le texte */
.divider-gold {
    width: 50px;          /* Largeur de la ligne */
    height: 3px;          /* Épaisseur de la ligne */
    background-color: var(--grenika-gold); /* Ta variable ou le code hex d'origine */
    margin: 15px auto;    /* 15px d'espace haut/bas et centrage horizontal */
    border-radius: 2px;   /* Pour adoucir les angles de la ligne */
}
 
    /* --- L'ICÔNE --- */
.charte-icon-img {
    width: 150px;
    height: auto;
    margin-top: auto; /* <--- MAGIQUE : Pousse l'icône tout en bas de la carte */
    padding-top: 20px;
    transition: transform 0.4s ease;
}
.card-content-top:hover .charte-icon-img {
    transform: scale(1.1);
}
.charte-list {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Espace entre chaque ligne */
    margin-top: 50px;
    width: 100%;
    max-width: 900px; /* On reste sur une largeur de lecture optimale */
    margin-left: auto;
    margin-right: auto;
}

.charte-row {
    display: flex;
    align-items: center; /* Aligne l'icône et le texte verticalement */
    gap: clamp(20px, 5vw, 40px);
    background: var(--off-white);
    padding: 30px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    border-left: 4px solid transparent; /* Prêt pour l'effet hover */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.charte-row:hover {
    background: var(--white);
    transform: translateX(10px); /* Petit décalage vers la droite au lieu de monter */
    border-left: 4px solid var(--grenika-gold);
    box-shadow: 0 15px 35px rgba(28, 48, 39, 0.1);
}

.row-icon {
    flex: 0 0 80px; /* L'icône garde une taille fixe de 80px */
    display: flex;
    justify-content: center;
}

.row-content {
    flex: 1;
    text-align: left;
}

.divider-gold-left {
    width: 40px;
    height: 2px;
    background: var(--grenika-gold);
    margin: 10px 0 15px 0; /* Aligné à gauche sous le titre */
}

    /* --- Frise des Niveaux --- */
    /* --- Ajustement Frise pour mobile --- */
.levels-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 30px;
    padding: 20px 0;
    /* Empêche la frise de casser la largeur sur petit écran */
    overflow-x: auto; 

}
.levels-track::-webkit-scrollbar { display: none; } /* Cache sur Chrome/Safari/Android */
.levels-track::before {
    content: "";
    position: absolute;
    top: 50%; left: 0; width: 100%; height: 2px;
    background: var(--grenika-litegold);
    z-index: 1;
}
.level-item {
    min-width: 80px; /* Garantit que chaque étape reste lisible */
    position: relative;
    z-index: 2;
    background: var(--off-white);
    padding: 0 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.level-dot {
    width: 20px; height: 20px;
    background: var(--white);
    border: 3px solid var(--grenika-gold);
    border-radius: 50%;
    margin-bottom: 10px;
}
.level-dot.midlelight {
    background: var(--vert-grenika);
    box-shadow: 0 0 15px var(--grenika-gold);
}
.level-dot.highlight {
    background: var(--grenika-gold);
    box-shadow: 0 0 15px var(--grenika-gold);
}
.level-name {
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--vert-grenika);
}

.charte-quote {
    /* Utilisation de la police Inter */
    font-family: 'Inter', sans-serif;
    font-style: normal; /* "Inter" est souvent plus élégante en style droit */
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;

    /* Mise en page */
    padding: 15px 25px;
    margin: 20px 0;
    background-color: #e6ffed; /* Un fond très légèrement vert pistache */
    
    /* La bordure verte demandée */
    border-left: 10px solid #0b6726; /* vert vif moderne */
}

    /* --- Téléchargement de la Charte --- */
.charte-download-container {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}
.btn-download {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--vert-grenika);
    color: var(--white);
    padding: 18px 35px;
    border-radius: var(--radius-md);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(28, 48, 39, 0.2);
}
.btn-download .icon {
    font-size: 1.8rem;
    color: var(--grenika-gold);
}
.btn-download .btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.btn-download .btn-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gris-ui);
    margin-bottom: 2px;
}
.btn-download .btn-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}
    /* --- Effet Hover Prestige --- */
.btn-download:hover {
    background-color: var(--white);
    color: var(--vert-grenika);
    border-color: var(--grenika-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}
.btn-download:hover .btn-label {
    color: var(--vert-grenika);
    opacity: 0.6;
}

/* 
    D. Section 3 : CTA FINAL
    ============================================================= */
   /* =============================================================
   SECTION 3 : CTA FINAL (Version Optimisée)
   ============================================================= */

/* --- 1. Structure & Conteneurs --- */

.cta-final-section {
    width: 100%;
    padding: clamp(40px, 10vw, 80px) 20px;
    background-color: var(--white);
    max-width: var(--container-width); 
}
.cta-wrapper {
    display: block;      /* Force le comportement de bloc */
    margin-left: auto;   /* Magique pour le centrage */
    margin-right: auto;  /* Magique pour le centrage */
    width: 80%;          /* Donne un peu d'air sur les côtés */
    max-width: var(--container-width);   /* Ta limite habituelle */
    background: var(--vert-grenika);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    padding: 35px 35px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(28, 48, 39, 0.1);
} 
.cta-content { 
    position: relative; z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;   /* Alignement des textes et boutons */ 
}
/* --- 2. Typographie & Textes --- */
.cta-surtitre {
    color: var(--grenika-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 60px;
}

.cta-titre {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 60px;
    margin-left: 20px;
    margin-right: 20px;
}
.cta-titre span { color: var(--grenika-litegold); }

/* FUSION : Labels gras (Anciennement btn-label-bold et share-btn span) */
.btn-label-bold, 
.share-btn span {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--white);
    font-size: clamp(0.75rem, 2vw, 1rem);
    letter-spacing: 1px;
    opacity: 0.9;
    display: block;
   
}
/* --- 3. Boutons & Actions Principales --- */
.cta-actions-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.btn-gold-pulse {
    background: var(--grenika-gold);
    color: var(--vert-grenika);
    padding: 30px 60px;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.25rem;
    letter-spacing: 0.7px;
    display: inline-block;
    transition: transform 0.3s ease;
    animation: pulse-gold 3s infinite;
    border: none;
    cursor: pointer;
}
.btn-gold-pulse:hover { transform: scale(1.05); filter: brightness(1.1); }

.btn-outline {
    padding: 16px 35px;
    min-width: 220px;
    border: 1px solid var(--grenika-litegold);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background-color: var(--grenika-litegold);
    color: var(--vert-grenika);
}
.btn-subtext {
    font-size: 0.75rem;
    color: var(--grenika-litegold);
    opacity: 0.8;
    margin-top: 20px;
}
/* --- 4. Grille Secondaire & Mini Boutons --- */
.cta-secondary-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 5vw, 60px);
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(221, 205, 170, 0.1);
    flex-wrap: wrap;
}
.cta-mini-btn, .share-btn {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cta-mini-btn:hover, .share-btn:hover { transform: translateY(-5px) scale(1.1); }

/* --- 5. Gestion des Icônes (.webp et Wrappers) --- */
.cta-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: sepia(1) saturate(5) hue-rotate(10deg) brightness(0.9);
    transition: all 0.3s ease;
}

.scan-surtitre {
    color: var(--grenika-gold);
    letter-spacing: 1px;
    font-size: 1.25rem;
    font-weight: 600;
}

/* FUSION : L'écrin de l'icône QR / App */
.icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--grenika-gold);
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.05);
    transition: all 0.3s ease;
    animation: qrPulse 3s infinite ease-in-out;
    margin: 0 auto 15px auto;
}

.icon-wrapper .cta-icon-img { width: 80px; height: 80px; }

/* États de survol des icônes */
.cta-mini-btn:hover .cta-icon-img {
    filter: sepia(1) saturate(8) hue-rotate(10deg) brightness(1.2);
}

.cta-app-container:hover .icon-wrapper {
    animation-play-state: paused;
    background: var(--grenika-gold);
    border-color: var(--white);
}

.cta-app-container:hover .icon-wrapper .cta-icon-img {
    filter: brightness(0.2);
}

/* --- 6. Éléments Décoratifs & Feedback --- */
.cta-watermark {
    position: absolute;
    right: -20px;
    bottom: -20px;
    opacity: 0.08;
    transform: rotate(-15deg);
    width: clamp(200px, 40vw, 400px);
    pointer-events: none;
}

#toast-notification {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--vert-grenika);
    color: var(--white);
    text-align: center;
    border-radius: 50px;
    padding: 12px 24px;
    position: fixed; z-index: 1000; left: 50%; bottom: 30px;
    transform: translateX(-50%);
    border: 1px solid var(--grenika-gold);
}

#toast-notification.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }

/* Bouton Retour en Haut */
#backToTop {
    display: none; position: fixed; bottom: 30px; right: 25px; z-index: 999;
    background-color: var(--grenika-gold); color: var(--vert-grenika);
    border: none; width: 45px; height: 45px; border-radius: 50%;
    font-size: 20px; font-weight: bold; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: fixed;
    bottom: 70px; /* On le monte un peu pour le détacher du footer fixe */
    right: 15px;
}
#backToTop:hover { background-color: var(--grenika-litegold); color: var(--vert-grenika); transform: translateY(-3px); }
    
/* Footer */
.site-footer {
    width: 100%;
    background-color: var(--white); /* Ou la couleur de fond souhaitée */
    padding: 10px;
    border-top: 2px solid var(--grenika-gold)/* Ligne de séparation légère */
}

.footer-content {
    display: flex;
    align-items: center; /* Aligne verticalement le logo et le texte au centre */
    justify-content: center; /* Centre le tout horizontalement dans la page */
    gap: 15px; /* Espace constant entre le symbole et le texte */
    max-width: 1100px;
    margin: 0 auto;
}

/* Ajustez la taille de votre symbole ici */
.footer-logo {
    height: 10px; /* Réduit la taille pour qu'il s'aligne bien avec le texte */
    width: auto;
    display: block;
}

.footer-text {
    font-size: 14px;
    color: var(--anthracite);
    margin: 0; /* Supprime les marges par défaut qui décalent le texte */
    line-height: 1.4;
}


.footer-symbol {
    display: inline-block;
    width: 60px;
    animation: heartBeat 3s infinite ease-in-out;
    transition: transform 0.6s ease-in-out;
}
.footer-symbol:hover {
    animation-play-state: paused;
    transform: scale(1.2);
}


/* ==========================================================================
   5. KEYFRAMES (ANIMATIONS)
   ========================================================================== */

@keyframes growLine { to { transform: scaleY(1); } }
@keyframes fadeIn { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); transform: scale(1); }
}
@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
@keyframes fadein { from { bottom: 0; opacity: 0; transform: translateX(-50%); } to { bottom: 30px; opacity: 1; transform: translateX(-50%); } }
@keyframes fadeout { from { bottom: 30px; opacity: 1; transform: translateX(-50%); } to { bottom: 0; opacity: 0; transform: translateX(-50%); } }
/* --- 3. Animation de la lueur (Pulse) --- */
@keyframes qrPulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
        transform: scale(1);
    }
    70% { 
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
        transform: scale(1);
    }
}
/* ==========================================================================
   1. ZONE IPAD & MOBILES (Écrans inférieurs à 850px)
   ========================================================================== */
@media (max-width: 850px) {
    /* --- Manifeste --- */
    .manifeste-row, 
    .manifeste-row.reverse {
        flex-direction: column !important;
        text-align: center;
        gap: 40px;
    }

    .manifeste-text {
        border-left: none;
        border-top: 2px solid var(--grenika-gold);
        padding: 20px 0 0 0;
        text-align: center;
    }

    /* --- Footer (Intégration du bloc 768px ici) --- */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-text {
        font-size: 13px;
    }
}

/* ==========================================================================
   2. ZONE MOBILE ÉTROIT & IPHONE SE (Écrans inférieurs à 480px)
   ========================================================================== */
@media (max-width: 480px) {
    /* --- Charte --- */
    .charte-container h3 {
        font-size: 1.15rem;
        margin-top: 25px;
    }

    .charte-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .charte-row {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    /* --- CTA Final --- */
    .cta-wrapper {
        padding: 40px 15px;
        border-radius: 15px;
    }

    .cta-titre {
        font-size: 1.6rem;
    }

    .cta-secondary-grid {
        gap: 20px;
    }
    
    .divider-gold-left {
        margin: 10px auto 15px auto;
    }

    /* --- Éléments de l'ancienne zone 360px (Optimisés pour l'iPhone SE) --- */
    .baseline-grenika {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .line-axis {
        padding-left: 15px;
    }

    .level-item {
        min-width: 100px; /* Conserve le scroll horizontal fluide */
    }

    .btn-download {
        padding: 15px 20px;
        gap: 10px;
    }
    
    .btn-title {
        font-size: 0.9rem;
    }

    /* Débogueur visuel universel (Optionnel pour vos tests) */
    * { outline: 1px solid transparent; }
}
