/* =========================================================
   GRENIKA PWA 1.2
   STYLE OFFICIEL V2 CSS
   ========================================================= */

/* =========================================================
   GRENIKA CSS STRUCTURE

   01 ROOT
   02 RESET
   03 TYPOGRAPHY
   04 LAYOUT
   05 HEADER
   06 HERO
   07 COMPONENTS
   08 FORMS
   09 FOOTER
   10 RESPONSIVE

   ========================================================= */

/* =========================================================
   01 ROOT
   ========================================================= */
:root {
  /* ===== COULEURS ===== */
  --vert-grenika: #1C3027;
  --dark: #143B2D;
  --grenika-gold: #D4AF37;
  --accent: #155F5B;
  --green: #D7F171;
  --bg: #f5f5f0;
  --white: #ffffff;
  --text: #222222;
  --border: #e2e2dc;
  --card-bg: #FCFCFA;
  /* ===== LAYOUT ===== */
  --header-height: 140px;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(0,0,0,.10);

}

/* =========================================================
   RESET
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
/* =====================================================
   BACK TO TOP
   ===================================================== */

#backToTop {
  /* Positionnement fixe à l'écran */
  position: fixed;
  bottom: 20px;
  right: 18px;
  z-index: 999;
  /* Style du bouton */
  width: 50px;
  height: 50px;
  background: var(--green);
  color: var(--vert-grenika);
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  visibility: hidden;
  box-shadow:
  0 12px 30px rgba(0,0,0,0.20);
  /* Alignement parfait du symbole au centre */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Transition fluide pour le retour à l'état initial */
 transform: translateY(20px);
  transition:
    all .28s ease;
  
}
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 18px;
  z-index: 999;
  width: 50px;
  height: 50px;
  background: var(--green);
  color: var(--vert-grenika);
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  
  /* CORRECTION 1 : Ajout de l'opacité initiale pour la transition */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  
  box-shadow: 0 12px 30px rgba(0,0,0,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .28s ease;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  /* Le bouton grossit légèrement et monte de 3px */
  transform: translateY(-3px) scale(1.05);
  background: var(--accent);
  color: var(--white);
}

/* CORRECTION 2 : L'animation s'applique uniquement sur le texte/symbole au survol */
#backToTop:hover::first-letter,
#backToTop:hover svg {
  display: inline-block;
  animation: flotter 1.5s ease-in-out infinite;
}

/* Votre animation reste inchangée */
@keyframes flotter {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); } /* Légère oscillation interne */
  100% { transform: translateY(0); }
}

/* =========================================================
   REVEAL
   ========================================================= */

  .reveal{
  /* --- Indique au navigateur de réserver un espace de sécurité en haut --- */
  margin-top:   0;
  padding-top:calc(var(--header-height) + 20px); /* 60px de header + 20px d'espace fluide --- */
  opacity:0;
  transform:translateY(40px);
  transition:
    opacity .8s ease,
    transform .8s ease;
  }

  .reveal.visible{
    opacity:1;
    transform:none;
  }

/* =========================================================
   ESPACEMENT DES SECTIONS
   ========================================================= */

    /* --- Base Mobile pour TOUTES les sections --- */


/* =========================================================
   BODY
   ========================================================= */
body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background:var(--bg);
  color: #1C3027;

  line-height: 1.2;

  /* Rendu des polices au top sur tous les navigateurs */
  -webkit-font-smoothing: antialiased; /* Safari / Chrome */
  -moz-osx-font-smoothing: grayscale; /* Firefox Mac */
}

/* =========================================================
   IMAGES
   ========================================================= */
img {
  width: 100%;
  display: block;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 24px;
  padding-top: 0;
}
h1::after {
  content: "";
  display: block;
  width: 160px;
  height: 4px;
  background-color: var(--green); /* Touche d'or */
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  opacity: 0.9;
}

.eyebrow {
  display: block;
  margin-top: 0;
  margin-bottom: 36px;
  font-size:clamp(1rem,1.5vw,1.8rem);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  line-height: 1.35;
  overflow: visible;
}
/* =========================================================
   TAGS
   ========================================================= */

.section-tag{
  display: inline-block;
  align-items:center;
  padding: 10px 18px;
  gap: 14px;
  border-radius:none;
  background:#EAF4EE;
  color:#143B2D;
  font-weight:700;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.7px;
    
}
/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: all .3s ease;
    /* Flexbox pour aligner le logo et le bouton aux extrémités */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--vert-grenika);
  -webkit-backdrop-filter:
    blur(10px);
  backdrop-filter:
    blur(10px);
  transition: padding 0.3s ease; /* Transition fluide si besoin */
  z-index: 9999;
  border-bottom:
  3px solid var(--green);
  /* Padding identique à la base de vos sections mobiles */

  min-height: var(--header-height);
  padding:16px 20px; 
}

/* --- Bouton QR Code sur Mobile --- */

/* CACHE le texte long sur mobile pour éviter les collisions */
.qr-text-desktop {
    display: none;
}

.header-qr-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  color: var(--vert-grenika);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap; /* Empêche le bouton de s'écrire sur 2 lignes */
  background-color: var(--green); /* Votre couleur principale */
  transition: background-color 0.2s, transform 0.2s;

}
.header-qr-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);}
.site-header.scrolled {
  height: 64px;
}

/* Gestion du logo pour qu'il ne s'écrase pas */

.header-logo {
  width: auto;
  height: 80px;
  display: block;
  align-items: center;
  transition: all .3s ease;
}
.site-header.scrolled .header-logo {
  transform: scale(.82);
}

/* =====================================================
   Conteneur officiel GRENIKA
   ===================================================== */


.container {
  width:100%;
  max-width:1200px;
  margin-inline:auto;
  padding-inline:20px;
}

/* =====================================================
   HERO OFFICIEL PIONNIERS GRENIKERS
   ===================================================== */

   
.hero {
  background-color: var(--white); /* Contraste avec le fond général beige */
  align-items: center;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 40px) !important;
  position: relative;
  border-bottom: 1px solid var(--border);

}

.hero-container {
    display: flex;
    flex-direction: column; /* Empilé verticalement sur smartphone */
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.hero-content {
  max-width:  100%;
  min-width: 0;
  z-index: 2;
}

.hero-right{
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:center;
}

.hero-recruitment{
  width:100%;
  max-width:520px;
  padding:28px;
}
.hero-title{
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
}

.hero-description{
  max-width:650px;
  margin-top:24px;
  line-height: 1.55;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -2px;
  font-weight: 800;
  margin-bottom: 24px;

}
.hero h2{
  margin:24px 0;
  font-size:1.5rem;
  line-height:1.4;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.78;
  max-width: 520px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 24px;
  margin-bottom: 30px;
  margin-top: 24;
  width: 100%;
}
.hero-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
  margin-top:32px;
}

@media (max-width:768px){

  .hero-actions{
    align-items:center;
    width:100%;
  }

}
.hero .hero-image img,
.hero .hero-recruitment{
  width:100%;
  max-width:600px;
}
.hero-image {

  margin: 0 auto 20px;     /* AJOUTÉ : "0 auto" centre le conteneur de l'image */
    /* Combinaison de l'entrée (imageEntree) et du mouvement infini (levitationDouce) */
  opacity: 0;
  animation: imageEntree 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             levitationDouce 6s ease-in-out infinite;
  
  /* Décalages : la lévitation s'active à 1.5s, quand l'apparition est finie */
  animation-delay: 0.35s, 1.5s; 
  
  /* Transition fluide pour amortir le survol de la souris */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}


/* 4. BALISE IMAGE ET EFFET HOVER (Survol) */
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,.10);
  transition: box-shadow 0.5s ease; /* Rend le changement d'ombre fluide */
}

/* Micro-interaction : zoom élégant et accentuation de l'ombre au survol */
.hero-image:hover {
  transform: scale(1.02) !important; /* Le !important fige temporairement la lévitation pour un contrôle parfait */
  cursor: pointer;
}

.hero-image:hover img {
  box-shadow: 0 40px 100px rgba(0,0,0,.16); /* L'image semble s'élever vers l'utilisateur */
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  align-items: center;
}

.hero-microcopy {
  margin-top: 14px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--accent);
}
.hero-image,
.hero-recruitment{
    width:100%;
}

/* =========================================================
   RECRUTEMENT PIONNIERS
========================================================= */

.recruitment-card{
  max-width:600px;
  margin:0 auto;
  text-align:center;
  background:white;
  border-radius:24px;
  padding:40px;
  box-shadow:var(--shadow);
}
.recruitment-label{
  font-size:.95rem;
  letter-spacing:2px;
  font-weight:700;
  color:var(--accent);
  margin-bottom:20px;
}
.recruitment-counter{
  font-size:4rem;
  font-weight:800;
  color:var(--vert-grenika);
  margin-bottom:10px;
}
.separator{
  color:var(--grenika-gold);
  padding-inline:8px;
}
.recruitment-text{
  font-size:1.1rem;
  margin-bottom:24px;
}
.progress-bar{
  width:100%;
  height:20px;
  margin-top:24px;
  margin-bottom:24px;
  background:#d5e6cf;
  border-radius:999px;
  overflow:hidden;
  box-shadow:
      inset 0 2px 4px rgba(0,0,0,.08);
}
.progress-fill{
  width:0%;
  height:100%;
    background:linear-gradient(
    90deg,
    #0f6a5f,
    #56c98b
  );
  border-radius:999px;
  transition:width .8s ease;
}

.progress-percent{
  margin-top:12px;
  margin-bottom:24px;
  font-size:1.25rem;
  font-weight:700;
  color:var(--accent);
  text-align:center;
}
/* =========================================================
   RECRUTEMENT - PREUVES DE CONFIANCE
========================================================= */

.recruitment-trust{
  margin-top:24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
}

.trust-item{
  font-size:1rem;
  font-weight:600;
  color:var(--text);
  text-align:left;
}
.trust-check{
  color:var(--text);
  font-weight:800;
  margin-right:8px;
}



/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  gap: 14px;
  margin-top: 34px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  transition:
  all .28s ease;
  box-shadow:
  0 14px 30px rgba(28,48,39,0.20);
}
.btn-primary:hover {
  transform:
    translateY(-3px)
    scale(1.02);
}
.btn-secondary {
  height: 58px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 700;
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--bg);
  transform: translateY(-2px);
}
.btn-gold-pulse {
    background: var(--green);
    color: var(--vert-grenika);
    padding: 10px 24px;
    gap: 14px;
    margin-top: 34px;
    text-decoration: none;
    border-radius: 999px;
    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); 
  background: var(--accent); color: var(--white); }
.hub-link {
    background: var(--vert-grenika);
    color: var(--green);
    padding: 10px 24px;
    gap: 14px;
    margin-top: 34px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: transform 0.3s ease;
    
    border: none;
    cursor: pointer;
}
.hub-link:hover { transform: scale(1.05); filter: brightness(1.1); 
  background: var(--green); color: var(--vert-grenika); }


/* 1. DÉFINITION DES KEYFRAMES (Les mouvements de l'animation) */

/* Apparition fluide du titre du bas vers le haut */
@keyframes titreEntree {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(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); }
}
/* Apparition fluide de l'image avec un léger effet d'échelle */
@keyframes imageEntree {
  from {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Effet de lévitation permanent pour donner de la vie */
@keyframes levitationDouce {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}



/* 5. ACCESSIBILITÉ SYSTÈME */
@media (prefers-reduced-motion: reduce) {
  .h1, .hero-image {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* =====================================================
   BADGE PREMIUM
   ===================================================== */

.section-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:14px 24px;
  margin-bottom:24px;
  margin-top:24px;
  border-radius:14px;
  color:var(--white);
  font-family: 'Poppins', sans-serif;
  font-size:1.15rem;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  border:2px solid var(--green);
  background: var(--vert-grenika);
  box-shadow:var(--shadow);
  transform:scale(1.03);
}

/* =====================================
   AUTRES IMAGES (HORS HERO)
===================================== */

    /* --- 3. Conteneur d'images (Optimisé pour le responsive) --- */
    /* Conteneur d'images .webp */
.autre-image {
      
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    padding:14px 24px;
    margin-bottom:24px;
    margin-top:24px;
    max-width:fit-content;
    flex: 1; /* Permet à l'image de s'adapter à l'espace disponible */
    border-radius: 20px;/* 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 */
}
.autre-image img {
    width: 100%;
    border-radius: 15px;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}
    /* Effet au survol de l'image */
.autre-image:hover img {
    transform: scale(1.05);
}
.autre-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 */
}
/* =========================================================
   COMMENT ÇA MARCHE ?
========================================================= */
.how-it-works{
  max-width:1200px;
}
.how-left{
  text-align:center;
  max-width:1100px;
  margin:0 auto 80px;
}
.how-right{
  max-width:1100px;
  margin:0 auto;
}
.how-left h2{
  font-size:clamp(3rem,5vw,5.8rem);
  line-height:1.05;
  max-width:1100px;
  margin:24px auto;
}.how-intro{
  margin:32px auto 0;
  max-width:1100px;
  font-size:1.4rem;
  line-height:1.5;
}
.timeline-step{
  display:grid;
  grid-template-columns:72px 1fr;
  gap:20px;
  align-items:flex-start;
  margin-top:18px;
}
.timeline-number{
  width:76px;
  height:76px;
  border-radius:50%;
  background:var(--accent);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  font-weight:700;
}
.timeline-marker{
  display:flex;
  flex-direction:column;
  align-items:center;
  height:100%;
}
.timeline-line{
  width:4px;
  flex:1;
  min-height:40px;
  margin-top:12px;
  background:linear-gradient(
    to bottom,
    #143B2D,
    #5EAF4E
  );
  border-radius:999px;
}
.timeline-step:last-child .timeline-line{
  display:none;
}
.timeline-content h3{
  margin:0 0 8px;
  font-size:2rem;
  font-weight:700;
  color:#111;
  display:flex;
  align-items:center;
  gap:12px;
}
.timeline-content p{
  margin:0;
  font-size:1.2rem;
  line-height:1.6;
  color:#444;
}

/*  =====================================================
    WHY GRENIKA ?
    ===================================================== */



.result-banner{
  max-width:1000px;
  margin:80px auto 0;
  padding:48px 50px;
  border-radius:32px;
  background:linear-gradient(
    135deg,
    #143B2D,
    #1C5A42
  );
  text-align:center;
  color:#fff;
}
.result-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#D7F06A;
  font-size:.9rem;
  font-weight:700;
  margin-bottom:22px;
}
.result-title{
  font-size:2.2rem;  
  font-weight:800;
  line-height:1.2;
  margin-bottom:16px;
}
.result-text{
  font-size:1.05rem;
  opacity:.88;
  max-width:800px;
  margin:0 auto 14px;
}
.result-proof{
  color:#D7F06A;
  font-weight:700;
  font-size:1rem;
}

/* =====================================================
   CANDIDATURE GRENIKA
   ===================================================== */
.candidate-hero{
  padding:  120px 24px 80px;
}
.candidate-hero .container{
  max-width:1200px;
  margin:0 auto;
}
.candidate-hero h1{
  font-family: 'Poppins', sans-serif;
  max-width:1100px;
  margin-top:28px;
  margin-bottom:22px;
  font-size:clamp(2.8rem,5vw,5rem);
  line-height:1.05;
  color:#143B2D;
}

.candidate-hero p{
  max-width:820px;
  font-size:1.25rem;
  line-height:1.7;
}
.candidate-form-section{
  width:100%;
  padding:40px 24px 120px;
}

.container{
  width:100%;
  max-width:1200px;
  margin:32px auto;

}
.candidate-form{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  gap:32px;
}



.form-card{
  background:#FCFCFA;
  border:1px solid rgba(20,59,45,.08);
  border-radius:32px;
  padding:36px;
  box-shadow:0 15px 40px rgba(0,0,0,.05);
}

.form-card h2{
  color:#143B2D;
  margin-bottom:24px;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
/* Ajustement des espaces entre les champs du formulaire */
.form-group{
  margin-bottom:22px;
}

.form-group label{
  display:block;
  margin-bottom:10px;
  font-weight:700;
  color:#143B2D;
}

.form-group input,
.form-group select{
  width:100%;
  height:56px;
  border:1px solid rgba(20,59,45,.14);
  border-radius:16px;
  padding:0 18px;
  background:#fff;
  color:#143B2D;
  font-size:1rem;
  font-family:inherit;
}

.form-group input:focus,
.form-group select:focus{
  outline:none;
  border-color:#3D7A54;
  box-shadow:0 0 0 4px rgba(61,122,84,.12);
}

.checkbox-group{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin:18px 0;
  font-weight:600;
  color:#143B2D;
  line-height:1.6;
}

.checkbox-group input{
  margin-top:6px;
  width:18px;
  height:18px;
  accent-color:#1C3027;
  flex-shrink:0;
}

.form-submit{
  display:flex;
  justify-content:center;
  margin-top:12px;
}

.form-submit .btn-primary{
  min-width:320px;
  border:none;
  cursor:pointer;
  font-size:1rem;
}

/* Recommandation automatique Sans LED / Avec LED */

.recommendation-box{
  margin-top:18px;
  padding:18px 20px;
  border-radius:18px;
  background:#EEF6F0;
  color:#143B2D;
  font-weight:700;
  line-height:1.6;
  display:none;
}

.recommendation-box.active{
  display:block;
}

/* Confirmation */

#confirmationMessage{
  max-width:1100px;
  margin:50px auto 24px;
}
.hidden{
  display:none;
}

/* =====================================================
   STARTER KIT
   ===================================================== */

.starter-grid{

  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:32px;
  margin-top:60px;

}

.kit-card{

  background:var(--card-bg);
  border:1px solid rgba(255,255,255,.08);
  border-radius:32px;
  overflow:hidden;
  -webkit-backdrop-filter:
    blur(18px);
  backdrop-filter:blur(18px);
  transition:.35s ease;
}
.kit-card:hover{
  transform:translateY(-6px);
}
.kit-image{
  aspect-ratio:1/1;
  overflow:hidden;
}
.kit-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.kit-content{
  padding:32px;
}
.kit-content h3{
  margin-bottom:16px;
}

/* =====================================================
   PROGRESSION
   ===================================================== */

.progress-main{
  max-width:1200px;
  margin:auto;
}
.progress-bar{
  width:100%;
  height:14px;
  background:
  rgba(255,255,255,.08);
  border-radius:999px;
  overflow:hidden;
  margin-top:18px;
}
.progress-fill{
  height:100%;
  width:0%;
  background:
  linear-gradient(
    90deg,
    var(--accent),
    #53d48f
  );
  border-radius:999px;
  transition:width .6s ease;
}
.progress-grid{
  margin-top:50px;
}

/* =====================================================
   CRM FORM
   ===================================================== */

.crm-form{
  max-width:1200px;
  margin:auto;
  display:grid;
  gap:28px;
}
.crm-form fieldset{
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:32px;
  background:
  rgba(255,255,255,.03);
}
.crm-form legend{
  font-weight:700;
  padding:0 10px;
  color:var(--accent);
}
.crm-form label{
  display:block;
  margin-bottom:10px;
  margin-top:18px;
  font-weight:600;
}
.crm-form input,
.crm-form select{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:
  rgba(255,255,255,.05);
  color:var(--text);
}
.crm-form input:focus,
.crm-form select:focus{
  outline:none;
  border-color:var(--accent);
}
.checkbox-line{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:18px;
}
.checkbox-line input{
  width:auto;
  margin-top:5px;
}

/* =====================================================
   FAQ
   ===================================================== */

.faq-list{
  max-width:1200px;
  margin:auto;
}
.faq-list details{
  margin-bottom:16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  overflow:hidden;
  background:
  rgba(255,255,255,.03);
}
.faq-list summary{
  cursor:pointer;
  padding:22px 24px;
  font-weight:700;
  list-style:none;
}
.faq-list details p{
  padding:
  0 24px 24px;
}

/* =========================================================
   STYLE DU FOOTER COMPACT MONOCHROME
   ========================================================= */
.site-footer {
    background-color: #1C3027; 
    color: #ffffff;
    padding: 60px 24px 30px;
    font-family: sans-serif;
}

/* --- RÈGLE POUR TOUTES LES ICÔNES SVG --- */
.svg-icon {
    width: 22px;
    height: 22px;
    fill: #ffffff; /* Monochrome blanc pur forcé */
    transition: transform 0.2s ease-in-out;
}

/* --- Barre d'actions rapides (WhatsApp, Email, Partager) --- */
/* --- Correctif forçage ligne et cercles du haut --- */
/* =========================================================
   CORRECTIF FINAL ULTIME : BARRE D'ACTIONS DU FOOTER
   ========================================================= */

/* 1. Recréer l'espace et la ligne de séparation */
.footer-action-bar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;            /* Espace généreux entre les 3 cercles */
    width: 336px !important;
    margin: 0 auto 50px auto !important; /* Crée 50px de vide avec les colonnes du bas */
    padding-bottom: 25px !important; /* Espace interne avant le trait */
    padding-top: 25px !important; /* Espace interne avant le trait */
    border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important; /* Trait de séparation blanc subtil */
}

/* 2. Forçage absolu en cercles parfaits monochromes */
.footer-action-bar .footer-action-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Dimensions fixes strictes (Écrase les ovales) */
    width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    max-height: 56px !important;
    
    /* Nettoyage des styles de boutons globaux parasites */
    background-color: none !important;
    background-image: none !important;
    border: none !important;
    border-radius: 50% !important; /* Rond parfait absolu */
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    
    /* Supprime les comportements d'étirement flex */
    flex: 1 !important;
    flex-shrink: 1 !important;
    flex-grow: 1 !important;
}

/* 3. Ajustement de la taille des icônes à l'intérieur */
.footer-action-bar .footer-action-card .svg-icon {
    width: 22px !important;
    height: 22px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Effet au survol (Optionnel mais élégant) */
.footer-action-bar .footer-action-card:hover {
    transform: translateY(-3px) !important;
}
.footer-action-card.whatsapp-action:hover {
    background-color: #25D366;
    border-color: #25D366;
}
.footer-action-card.email-action:hover {
    background-color: #EA4335;
    border-color: #EA4335;
}
.footer-action-card.share-action:hover {
    background-color: #007bff;
    border-color: #007bff;
}

/* =========================================================
   NEUTRALISATION DU COMPORTEMENT FLEX SUR LES SVG DU HAUT
   ========================================================= */
.footer-action-bar .footer-action-card .svg-icon {
    display: block !important;       /* Écrase le 'flex !important' global */
    flex-direction: unset !important; /* Annule la direction de ligne */
    gap: 0 !important;               /* Supprime l'espace interne parasite de 12px */
    margin: 0 !important;            /* Évite les décalages */
    width: 22px !important;
    height: 22px !important;
}

/* --- Structure des colonnes du bas --- */

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: 1fr !important; /* Mobile par défaut */
    gap: 40px;
    width: 100%;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 80px;
    width: auto;
    align-self: flex-start;
}

.footer-slogan {
    color: #D7F171;
    font-size: 1.1rem;
    font-weight: 700;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem; /* Taille du texte de votre lien */
    
    /* Éléments ajoutés pour l'alignement parfait des émojis */
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover { 
    color: #D7F171;
    font-size: 1.15rem; 
}


/* --- Cercles Réseaux Sociaux sous le logo --- */
.footer-socials {
    display: flex !important;
    flex-direction: row !important; /* Force l'alignement horizontal */
    gap: 12px;
    margin-top: 8px;
}

.footer-socials a {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50% !important;
    transition: all 0.2s ease-in-out;
}

/* Assure que les icônes réseaux du bas font la bonne taille */
.footer-socials .svg-icon {
    width: 18px;
    height: 18px;
}

.footer-socials a:hover {
    transform: translateY(-3px);
}
/* Couleurs au survol des réseaux sociaux */
.footer-socials a[aria-label="Facebook"]:hover { background-color: #1877F2; color: #fff; }
.footer-socials a[aria-label="Instagram"]:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; }
.footer-socials a[aria-label="LinkedIn"]:hover { background-color: #0A66C2; color: #fff; }
.footer-socials a[aria-label="TikTok"]:hover { background-color: #010101; color: #fff; }

/* --- Copyright --- */
.footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 2px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p { 
    /* Remplacement du #718296 par un gris plus clair et conforme (Ratio > 4.5:1) */
    color: #94A3B8; 
    font-size: 0.85rem; 
    line-height: 1.5; 
}


.price-card{
    background:var(--vert-grenika);
    color:#fff;
    border-radius: 28px;
    padding:22px 26px;
    max-width:420px;
    margin:32px 0 0;
    text-align:center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}
.price-badge{
    display:inline-block;
    padding:6px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    font-size:.8rem;
    letter-spacing:1px;
    margin-bottom:12px;
}
.price-label{
    font-size:.9rem;
    text-transform:uppercase;
    letter-spacing:1px;
    opacity:.75;
}
.price-value{
    font-size:2.4rem;
    font-weight:800;
    margin:10px 0 18px;
    color:#d7f171;
    line-height:1;
}
.price-benefits{
    display:flex;
    flex-direction:column;
    gap:8px;
    font-size:.95rem;
    opacity:.95;
}
.price-benefits li{
    font-weight:500;
}




/* =====================================
   PILOT ZONE PREMIUM
===================================== */

.pilot-zone{

    max-width:1200px;
    text-align:center;
}

.pilot-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#eef3ef;
    color:#143b2d;
    border:1px solid rgba(20,59,45,.12);
    border-radius:999px;
    padding:10px 18px;
    font-size:.9rem;
    font-weight:600;
    margin-bottom:24px;
}

.pilot-zone h2{

    font-size:clamp(2.2rem,8vw,4rem);
    line-height:.95;
    margin-bottom:24px;
}
.pilot-description{
    max-width:700px;
    margin:0 auto 36px;
    font-size:1.15rem;
    line-height:1.8;
    opacity:.78;
}
.pilot-cities{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
}
.pilot-cities span{
    min-width:120px;
    padding:12px 18px;
    border-radius:999px;
    background:#eef3ef;
    border:1px solid rgba(20,59,45,.10);
    font-weight:600;
    transition:.3s;
}
.pilot-cities span:hover{
    transform:translateY(-2px);
}

/* =========================================================
   SOCIAL PROOF
   ========================================================= */

  .social-proof {
    text-align: center;
    padding-top: 0;
    padding-bottom: 40px;
    opacity: 0.68;
    font-weight: 600;
  }

/* =========================================================
   PRODUCT
   ========================================================= */

  .product-section {

    display: flex;

    flex-direction: column;

    gap: 48px;

  }

  .benefits {

    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 18px;

    margin-top: 32px;

  }

  .benefits li {

    font-size: 1rem;

    font-weight: 500;

  }

  .section-image img {

    border-radius: var(--radius);

    box-shadow: var(--shadow);

  }

/* =========================================================
   APP SECTION
   ========================================================= */

.app-section {

  display: flex;

  flex-direction: column;

  gap: 48px;

  align-items: center;

}

.mock-phone {

  width: 280px;

  background: #111;

  border-radius: 40px;

  padding: 14px;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.2);

}

.mock-screen {

  background: var(--bg);

  border-radius: 28px;

  padding: 24px;

  min-height: 540px;

}

.mock-header {

  font-weight: 800;

  margin-bottom: 24px;

}

.mock-progress,
.mock-card {

  background:
    rgba(255,255,255,0.72);

  padding: 20px;
  -webkit-backdrop-filter:
    blur(14px);
  backdrop-filter:
    blur(14px);

  border:
    1px solid rgba(255,255,255,0.4);

  border-radius: 24px;

  margin-bottom: 18px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06);

}


/* =====================================================
   QR PREMIUM
   ===================================================== */

#qr-reader-container {

  position: fixed;

  inset: 0;

  z-index: 9999;

  display: none;

  align-items: center;

  justify-content: center;

  padding: 20px;

}

#qr-reader {

  border-radius: 20px;

  overflow: hidden;

}

.qr-overlay {

  position: absolute;

  inset: 0;

  background:
    rgba(0,0,0,0.72);
  -webkit-backdrop-filter: blur(8px);

  backdrop-filter: blur(8px);

}

.qr-box {

  position: relative;

  width: 100%;

  max-width: 420px;

  background: white;

  border-radius: 28px;

  padding: 24px;

  z-index: 2;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.25);

  animation:
    qrPop .35s ease;

}

.qr-header {

  text-align: center;

  margin-bottom: 20px;

}

.qr-header h2 {

  font-size: 1.4rem;

  margin-bottom: 8px;

}

.qr-header p {

  opacity: 0.7;

  font-size: 0.95rem;

}

.scanner-frame {

  border-radius: 24px;

  overflow: hidden;

  border:
    3px solid #1C3027;

  margin-bottom: 18px;

}

.qr-status {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  margin-bottom: 18px;

  font-size: 0.92rem;

  opacity: 0.7;

}

.scan-dot {

  width: 10px;

  height: 10px;

  border-radius: 50%;

  background: #3BA55D;

  animation:
    pulse 1.2s infinite;

}

#qr-result {

  text-align: center;

  margin-bottom: 18px;

  font-weight: 600;

  word-break: break-word;

}

@keyframes qrPop {

  from {

    opacity: 0;

    transform:
      scale(0.92)
      translateY(20px);

  }

  to {

    opacity: 1;

    transform:
      scale(1)
      translateY(0);

  }

}

@keyframes pulse {

  0% {

    opacity: 0.4;

    transform: scale(1);

  }

  50% {

    opacity: 1;

    transform: scale(1.2);

  }

  100% {

    opacity: 0.4;

    transform: scale(1);

  }

}

/* =========================================================
   MANIFESTO
   ========================================================= */

.manifesto {

  background: var(--dark);

  color: var(--white);

  border-radius: 40px;

  margin: 24px;

}

.manifesto .section-tag {

  color: var(--green);

}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {

  text-align: center;

}


/* ==========================================================================
   2. ÉCRANS MOYENS ET TABLETTES (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
    
    /* On donne plus de respiration aux sections */
    section, 
    .how-it-works, 
    .why-grenika, 
    .candidate-form-section {
        padding: 70px 40px !important;
    }
/* =========================================================
   STRUCTURE DU HERO - MOBILE D'ABORD
   ========================================================= */
.hero-section {
    padding: 110px 24px 40px !important; /* Espace de sécurité pour le header mobile */
    background-color: var(--white, #ffffff);
}

.hero-container {
    display: flex;
    flex-direction: column; /* Empilé verticalement sur smartphone */
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #1C3027; /* Votre vert forêt */
}

.hero-content h2 {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    color: #4b5563; /* Gris doux */
}

.hero-image img {
    width: 100%;
    max-width: 500px; /* Limite la taille de la photo sur grand écran */
    height: auto;
    border-radius: 16px; /* Ajoute un arrondi élégant comme sur votre maquette */
}

/* =========================================================
   MODE DESKTOP (min-width: 768px)
   ========================================================= */
@media (min-width: 768px) {
    .hero-section {
        padding: 160px 48px 80px !important; /* Dégagement parfait sous le header fixe PC */
    }

    .hero-container {
        display: grid !important;
        grid-template-columns: 1.2fr 0.8fr !important; /* Texte large à gauche, image à droite */
        align-items: center;
        text-align: left; /* Aligné à gauche proprement sur PC */
        gap: 60px;
    }

    .hero-content h1 {
        font-size: 3.5rem; /* Titre plus grand et percutant sur ordinateur */
    }
}

    /* Passage en multi-colonnes pour les grilles */
    .steps-grid, 
    .why-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Le footer passe proprement à 3 colonnes de texte côte à côte */
    .footer-container {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 40px !important;
    }
}


@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  #backToTop{

    width:56px;

    height:56px;

    right:16px;

    bottom:16px;

  }

  .greniker-card{

    padding:30px 20px;

  }
  
  .greniker-card #btn-scan-qr{

    font-size:0.95rem;

    padding:14px 20px;

    margin-top:20px;

    white-space:normal;

  }

  .grenikers-community-logo{
    width:140px;
  }

  .greniker-card h2{

    font-size:2.2rem;

    line-height:1.1;

  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
}
/* ==========================================================================
   3. GRANDS ÉCRANS ET ORDINATEURS (min-width: 1100px)
   ========================================================================== */
@media (min-width: 1100px) {
    
    /* Confort maximal pour les grands moniteurs de bureau */
    .footer-container,
    .steps-grid,
    .why-grid {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 60px !important;
    }
    
    /* Ajustement des grilles à 3 éléments si nécessaire sur PC */
    .why-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .hero-right{
      display:flex;
      flex-direction:column;
      gap:30px;
    }
}
