/* ================================================
   PleinPlex — style.css
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --vert:       #0B6B4E;
  --vert-vif:   #16A373;
  --vert-pale:  #E0F5ED;
  --creme:      #F8F5F0;
  --brun:       #1E1610;
  --brun-mid:   #5C4A38;
  --brun-light: #9E8A78;
  --blanc:      #FDFCFB;
  --gris:       #EAE6DF;
  --gris-mid:   #D4CFC7;
  --or:         #C47F1A;
  --or-pale:    #FBF0DC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--blanc);
  color: var(--brun);
  overflow-x: hidden;
}

/* ================================================
   NAVIGATION
   ================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 52px;
  background: rgba(253,252,251,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gris);
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 2px 24px rgba(30,22,16,0.07); }

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  color: var(--brun);
  letter-spacing: -0.4px;
  text-decoration: none;
}

.nav-logo span { color: var(--vert-vif); }

.nav-links {
  display: flex; gap: 28px; align-items: center;
}

.nav-links a {
  font-size: 13px; font-weight: 400;
  color: var(--brun-mid);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.1px;
}

.nav-links a:hover { color: var(--brun); }

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.6;
}

.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: var(--blanc);
  border: 1px solid var(--gris);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(30,22,16,0.1);
  z-index: 300;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--brun-mid);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--creme);
  color: var(--brun);
}

.nav-dropdown-menu .drop-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.nav-cta {
  background: var(--brun) !important;
  color: var(--blanc) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.2px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--vert) !important; }

/* ================================================
   HÉRO
   ================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  padding-top: 80px;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 56px 80px 72px;
  background: var(--creme);
  position: relative;
  overflow: hidden;
}

.hero-left::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,115,0.07) 0%, transparent 65%);
  bottom: -150px; right: -150px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  display: block; width: 32px; height: 1.5px;
  background: var(--vert-vif);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.08;
  color: var(--brun);
  margin-bottom: 28px;
  letter-spacing: -1.5px;
}

.hero-title em {
  font-style: italic;
  color: var(--vert-vif);
}

.hero-desc {
  font-size: 16px; font-weight: 300;
  color: var(--brun-mid);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 44px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--vert);
  color: var(--blanc);
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  letter-spacing: 0.2px;
}

.btn-primary:hover { background: var(--vert-vif); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--brun);
  padding: 15px 30px;
  border-radius: 8px;
  border: 1.5px solid var(--brun);
  font-size: 14px; font-weight: 400;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover { background: var(--brun); color: var(--blanc); }

.hero-stats {
  display: flex; gap: 44px;
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--gris-mid);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 34px; color: var(--brun);
  display: block; line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 11px; color: var(--brun-light);
  font-weight: 400; letter-spacing: 0.2px;
}

/* HÉRO DROITE */
.hero-right {
  background: var(--brun);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 48px,
    rgba(255,255,255,0.015) 48px, rgba(255,255,255,0.015) 49px
  );
}

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 32px;
  width: 100%; max-width: 370px;
  position: relative; z-index: 1;
}

.hero-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}

.hero-card-title {
  font-size: 12px; color: rgba(255,255,255,0.45);
  font-weight: 400; letter-spacing: 0.3px;
}

.hero-card-badge {
  font-size: 10px; padding: 4px 10px;
  background: rgba(22,163,115,0.18);
  color: #5DCAA5; border-radius: 20px;
}

.hero-metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 18px;
  margin-bottom: 12px;
}

.hero-metric-label {
  font-size: 11px; color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.hero-metric-val {
  font-family: 'Playfair Display', serif;
  font-size: 28px; color: white; line-height: 1;
}

.hero-metric-val span {
  font-family: 'Sora', sans-serif;
  font-size: 13px; color: #5DCAA5;
  margin-left: 8px;
}

.hero-mini-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 12px;
}

.hero-mini {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 14px;
}

.hero-mini-label { font-size: 10px; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.hero-mini-val { font-size: 18px; font-weight: 500; color: white; }

.hero-modules {
  background: rgba(22,163,115,0.1);
  border: 1px solid rgba(22,163,115,0.2);
  border-radius: 10px; padding: 14px;
  display: flex; align-items: center; gap: 12px;
}

.hero-modules-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(22,163,115,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}

.hero-modules-text { font-size: 11px; color: #9FE1CB; line-height: 1.5; }
.hero-modules-text strong { display: block; color: white; font-size: 12px; font-weight: 500; margin-bottom: 2px; }

/* ================================================
   SECTIONS COMMUNES
   ================================================ */
.section { padding: 100px 72px; }
.section-creme { background: var(--creme); }
.section-brun { background: var(--brun); }

.section-tag {
  display: inline-block;
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--vert); margin-bottom: 18px;
}

.section-tag-white { color: rgba(255,255,255,0.5); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.12; letter-spacing: -0.8px;
  color: var(--brun); margin-bottom: 64px;
  max-width: 580px;
}

.section-title-white { color: white; }

/* ================================================
   GRILLE MODULES — 3 PILIERS
   ================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gris);
  border: 1px solid var(--gris);
  border-radius: 16px;
  overflow: hidden;
}

.pillar-col {
  background: var(--blanc);
  padding: 0;
}

.pillar-header {
  padding: 32px 28px 24px;
  border-bottom: 1px solid var(--gris);
}

.pillar-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.pillar-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--brun);
  margin-bottom: 6px;
}

.pillar-desc { font-size: 13px; color: var(--brun-light); line-height: 1.6; }

.pillar-modules { padding: 8px 0; }

.pillar-module {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--gris);
  transition: background 0.15s;
  cursor: default;
}

.pillar-module:last-child { border-bottom: none; }
.pillar-module:hover { background: var(--creme); }

.pillar-module-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pillar-module-info { flex: 1; }
.pillar-module-name { font-size: 13px; font-weight: 500; color: var(--brun); margin-bottom: 2px; }
.pillar-module-sub { font-size: 11px; color: var(--brun-light); }

.pillar-badge {
  font-size: 10px; padding: 2px 8px;
  border-radius: 10px; flex-shrink: 0;
  font-weight: 500;
}

.badge-gratuit { background: var(--vert-pale); color: var(--vert); }
.badge-membre { background: #E6F1FB; color: #185FA5; }
.badge-nouveau { background: var(--or-pale); color: var(--or); }

/* ================================================
   SECTION : POUR QUI
   ================================================ */
.users-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.user-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 24px;
  transition: background 0.2s;
}

.user-card:hover { background: rgba(255,255,255,0.07); }

.user-icon {
  font-size: 28px; margin-bottom: 16px; display: block;
}

.user-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px; color: white;
  margin-bottom: 10px;
}

.user-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ================================================
   SECTION : PRIX
   ================================================ */
.prix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prix-card {
  background: var(--blanc);
  border: 1px solid var(--gris);
  border-radius: 16px;
  padding: 36px;
  transition: transform 0.2s;
  position: relative;
}

.prix-card:hover { transform: translateY(-4px); }

.prix-card.featured {
  background: var(--brun);
  border-color: var(--brun);
}

.prix-tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 18px; display: block;
}

.prix-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px; margin-bottom: 6px;
}

.prix-who { font-size: 12px; margin-bottom: 24px; }
.prix-amount { font-family: 'Playfair Display', serif; font-size: 50px; line-height: 1; margin-bottom: 4px; }
.prix-period { font-size: 12px; margin-bottom: 28px; }
.prix-sep { border: none; border-top: 1px solid; margin-bottom: 24px; }

.prix-feat { display: flex; gap: 10px; font-size: 13px; padding: 6px 0; align-items: flex-start; }
.prix-check { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 9px; margin-top: 1px; }

.prix-card:not(.featured) .prix-tag { color: var(--vert); }
.prix-card:not(.featured) .prix-name { color: var(--brun); }
.prix-card:not(.featured) .prix-who { color: var(--brun-light); }
.prix-card:not(.featured) .prix-amount { color: var(--brun); }
.prix-card:not(.featured) .prix-period { color: var(--brun-light); }
.prix-card:not(.featured) .prix-sep { border-color: var(--gris); }
.prix-card:not(.featured) .prix-feat { color: var(--brun-mid); }
.prix-card:not(.featured) .prix-check { background: var(--vert-pale); color: var(--vert); }
.prix-card:not(.featured) .feat-non { color: var(--gris-mid); }
.prix-card:not(.featured) .check-non { background: var(--creme); color: var(--gris-mid); }

.prix-card.featured .prix-tag { color: #5DCAA5; }
.prix-card.featured .prix-name { color: white; }
.prix-card.featured .prix-who { color: rgba(255,255,255,0.45); }
.prix-card.featured .prix-amount { color: white; }
.prix-card.featured .prix-period { color: rgba(255,255,255,0.45); }
.prix-card.featured .prix-sep { border-color: rgba(255,255,255,0.1); }
.prix-card.featured .prix-feat { color: rgba(255,255,255,0.75); }
.prix-card.featured .prix-check { background: rgba(22,163,115,0.25); color: #5DCAA5; }

.prix-btn {
  display: block; width: 100%; padding: 14px;
  border-radius: 8px; font-size: 13px; font-weight: 500;
  text-align: center; text-decoration: none;
  margin-top: 28px; cursor: pointer; border: none;
  transition: all 0.2s; font-family: 'Sora', sans-serif;
}

.btn-sombre { background: var(--brun); color: white; }
.btn-sombre:hover { background: var(--vert); }
.btn-clair { background: white; color: var(--brun); }
.btn-clair:hover { background: var(--vert-pale); }
.btn-bord { background: transparent; color: var(--brun); border: 1.5px solid var(--gris); }
.btn-bord:hover { background: var(--creme); }

/* ================================================
   SECTION : PROFESSIONNELS
   ================================================ */
.pros-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.pros-left .section-tag { color: #5DCAA5; }
.pros-left .section-title { color: white; margin-bottom: 20px; }
.pros-left p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 32px; }

.pros-list { display: flex; flex-direction: column; gap: 10px; }

.pro-row {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  transition: background 0.2s;
}

.pro-row:hover { background: rgba(255,255,255,0.07); }

.pro-avatar {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}

.pro-info { flex: 1; }
.pro-info strong { display: block; font-size: 13px; color: white; font-weight: 500; margin-bottom: 2px; }
.pro-info span { font-size: 11px; color: rgba(255,255,255,0.4); }

.pro-prix {
  font-size: 10px; padding: 3px 10px;
  border-radius: 20px; flex-shrink: 0;
}

/* ================================================
   CTA FINAL
   ================================================ */
.cta-section {
  padding: 120px 72px;
  text-align: center;
  background: var(--creme);
  position: relative; overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,115,0.05) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 54px);
  color: var(--brun); line-height: 1.12;
  letter-spacing: -0.8px; margin-bottom: 20px;
  position: relative;
}

.cta-sub {
  font-size: 16px; color: var(--brun-mid);
  max-width: 480px; margin: 0 auto 44px;
  line-height: 1.7; position: relative;
}

.cta-btns { display: flex; gap: 14px; justify-content: center; position: relative; }

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: var(--brun);
  padding: 60px 72px 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: white;
  margin-bottom: 12px; display: block;
}

.footer-brand-desc {
  font-size: 13px; color: rgba(255,255,255,0.4);
  line-height: 1.7; max-width: 220px;
}

.footer-col-title {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px; display: block;
}

.footer-col a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.anim-reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.anim-reveal.visible {
  opacity: 1; transform: translateY(0);
}
