/*
 * Label'Gaïa — Landing page
 * style.css
 *
 * Structure :
 *  1. Reset & variables
 *  2. Typographie
 *  3. Navigation
 *  4. Hero
 *  5. Sections communes
 *  6. Besoins
 *  7. Méthode
 *  8. Confiance & chiffres
 *  9. Partenaires
 * 10. CTA final
 * 11. Footer
 * 12. Responsive
 */


/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --noir:      #1C1C1A;
  --vert:      #2B4A2E;
  --vert-h:    #3A6640;
  --gris-f:    #4A4845;
  --gris-m:    #8A8780;
  --gris-c:    #D8D5CE;
  --gris-p:    #F0EDE8;
  --fond:      #F7F5F2;
  --blanc:     #FFFFFF;
  --trait:     #DEDAD4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--fond);
  color: var(--noir);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHIE ── */
.serif { font-family: 'EB Garamond', serif; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--blanc);
  border-bottom: 1px solid var(--trait);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-texte {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-titre {
  font-family: 'EB Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--noir);
  letter-spacing: 0.01em;
}

.nav-logo-sub {
  font-size: 0.68rem;
  color: var(--gris-m);
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  color: var(--gris-f);
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--noir); background: var(--gris-p); }

.nav-links .nav-active { color: var(--noir); font-weight: 500; }

.nav-links .nav-cta {
  background: var(--vert);
  color: var(--blanc) !important;
  padding: 0.4rem 1rem;
  font-weight: 500;
}

.nav-links .nav-cta:hover { background: var(--vert-h); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding-top: 58px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-left: 10vw;
  padding-right: 6vw;
  gap: 5vw;
  background: var(--blanc);
}

.hero-gauche {
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--trait);
  padding: 0.35rem 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris-m);
  font-weight: 400;
  margin-bottom: 2rem;
  width: fit-content;
}

.hero-titre {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 600;
  color: var(--noir);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-sous {
  font-size: 0.97rem;
  color: var(--gris-f);
  line-height: 1.75;
  max-width: 40ch;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-plein {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vert);
  color: var(--blanc);
  padding: 0.8rem 1.5rem;
  font-size: 0.87rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s;
}

.btn-plein:hover { background: var(--vert-h); }

.btn-vide {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--noir);
  padding: 0.8rem 1.5rem;
  font-size: 0.87rem;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--gris-c);
  transition: border-color 0.15s, color 0.15s;
  font-family: 'DM Sans', sans-serif;
}

.btn-vide:hover { border-color: var(--noir); }

.hero-pillules {
  display: flex;
  gap: 1.75rem;
}

.pillule {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gris-m);
}

.pillule-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gris-c);
  flex-shrink: 0;
}

/* Hero droite — illustration sketch */
.hero-droite {
  position: relative;
}

.hero-sketch {
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid var(--trait);
  background: var(--gris-p);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sketch svg {
  width: 90%;
  height: 90%;
  opacity: 0.75;
}

.hero-legende {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--blanc);
  border: 1px solid var(--trait);
  padding: 0.6rem 0.9rem;
}

.hero-legende-titre {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--noir);
}

.hero-legende-lieu {
  font-size: 0.72rem;
  color: var(--gris-m);
}

/* ── SECTIONS COMMUNES ── */
.sec {
  padding: 6rem 10vw;
}

.sec-titre {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--noir);
  text-align: center;
  margin-bottom: 0.75rem;
}

.sec-trait {
  width: 32px;
  height: 1px;
  background: var(--vert);
  margin: 0 auto 3.5rem;
}

/* ── BESOINS ── */
.besoins { background: var(--fond); }

.besoins-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--trait);
  border: 1px solid var(--trait);
}

.besoin-card {
  background: var(--blanc);
  padding: 2.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-align: left;
  position: relative;
}

.besoin-card:hover { background: var(--gris-p); }

.besoin-card:hover .besoin-arrow { transform: translateX(4px); }

.besoin-icone {
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.besoin-titre {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--noir);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.besoin-desc {
  font-size: 0.82rem;
  color: var(--gris-m);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.75rem;
}

.besoin-arrow {
  font-size: 1rem;
  color: var(--gris-f);
  transition: transform 0.2s;
  display: block;
}

/* ── METHODE ── */
.methode { background: var(--blanc); }

.methode-frise {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.methode-frise::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 1px;
  background: var(--trait);
  z-index: 0;
}

/* Tirets entre les cercles */
.methode-frise::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--gris-c) 0,
    var(--gris-c) 6px,
    transparent 6px,
    transparent 14px
  );
  z-index: 0;
}

.methode-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.75rem;
  position: relative;
  z-index: 1;
}

.methode-cercle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gris-c);
  background: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.methode-cercle svg {
  width: 22px;
  height: 22px;
  stroke: var(--gris-f);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.methode-num {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--noir);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.methode-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--noir);
  margin-bottom: 0.5rem;
}

.methode-opt {
  font-size: 0.75rem;
  color: var(--gris-m);
  font-style: italic;
}

.methode-texte {
  font-size: 0.8rem;
  color: var(--gris-m);
  line-height: 1.6;
  margin-top: 0.35rem;
}

/* ── CONFIANCE ── */
.confiance { background: var(--fond); }

.confiance-corps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Chiffres */
.chiffres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--trait);
  border: 1px solid var(--trait);
}

.chiffre {
  background: var(--blanc);
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.chiffre-icone svg {
  width: 26px;
  height: 26px;
  stroke: var(--gris-m);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.25rem;
}

.chiffre-num {
  font-family: 'EB Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--noir);
  line-height: 1;
}

.chiffre-label {
  font-size: 0.78rem;
  color: var(--gris-m);
  line-height: 1.4;
  text-align: center;
}

/* Partenaires */
.partenaires-col h3 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris-m);
  font-weight: 400;
  margin-bottom: 2rem;
  font-family: 'DM Sans', sans-serif;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--trait);
  border: 1px solid var(--trait);
}

.logo-case {
  background: var(--blanc);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

.logo-case span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gris-f);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ── CTA FINAL ── */
.cta-final {
  background: var(--blanc);
  border-top: 1px solid var(--trait);
  padding: 4rem 10vw;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.cta-final-visuel {
  width: 80px;
  height: 80px;
  border: 1px solid var(--trait);
  background: var(--gris-p);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 2rem;
}

.cta-final-gauche {
  display: flex;
  align-items: center;
  gap: 0;
}

.cta-final-texte h2 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  color: var(--noir);
  margin-bottom: 0.35rem;
}

.cta-final-texte p {
  font-size: 0.88rem;
  color: var(--gris-m);
}

/* ── FOOTER ── */
footer {
  background: var(--noir);
  padding: 3rem 10vw 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}

.footer-logo-area { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-logo {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  color: var(--blanc);
  text-decoration: none;
}

.footer-baseline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  font-style: italic;
  font-family: 'EB Garamond', serif;
}

.footer-col h5 {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  font-weight: 400;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }

.footer-col a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.2); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .besoins-grid { grid-template-columns: repeat(2, 1fr); }
  .methode-frise { grid-template-columns: repeat(3, 1fr); }
  .methode-frise::before, .methode-frise::after { display: none; }
  .confiance-corps { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding: 6rem 6vw 4rem; }
  .hero-droite { display: none; }
  .besoins-grid { grid-template-columns: 1fr; }
  .methode-frise { grid-template-columns: 1fr; }
  .chiffres-grid { grid-template-columns: 1fr 1fr; }
  .nav-links li:not(:last-child):not(:nth-last-child(2)) { display: none; }
  .cta-final { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}
