@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --cream: #F6F4EF;
  --green: #3A7D44;
  --green-light: #5A9E63;
  --green-dark: #2B5E33;
  --green-pale: #E8F0E4;
  --dark: #1A2118;
  --warm-gray: #6B7266;
  --sand: #EBE8DF;
  --orange: #D4812A;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--cream); color: var(--dark); overflow-x: hidden; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 3rem; display: flex; justify-content: space-between; align-items: center; transition: all 0.4s; }
nav.scrolled { background: rgba(246,244,239,0.92); backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.nav-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-logo img { height: 46px; width: 46px; border-radius: 50%; }
.nav-logo span { font-family: 'DM Serif Display', serif; font-size: 1.35rem; color: var(--dark); letter-spacing: 2px; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; position: relative; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--green); transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--green) !important; color: var(--cream) !important; padding: 0.55rem 1.3rem; border-radius: 100px; transition: transform 0.3s, box-shadow 0.3s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(58,125,68,0.3); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.mobile-menu-btn span { display: block; width: 100%; height: 2px; background: var(--dark); position: absolute; left: 0; transition: all 0.3s; }
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

/* ── COMMON ── */
section { padding: 6rem 3rem; }
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--green); margin-bottom: 1.2rem; }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.15; margin-bottom: 1.2rem; }
.section-desc { font-size: 1rem; line-height: 1.7; color: var(--warm-gray); max-width: 550px; font-weight: 300; }
.container { max-width: 1200px; margin: 0 auto; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.8rem; border-radius: 100px; font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.5px; text-decoration: none; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(58,125,68,0.3); }
.btn-secondary { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-secondary:hover { background: var(--dark); color: var(--cream); }
.btn-white { background: var(--cream); color: var(--green-dark); }
.btn-white:hover { background: white; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { padding: 9rem 3rem 4rem; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(58,125,68,0.06) 0%, transparent 50%), radial-gradient(ellipse at 30% 70%, rgba(212,129,42,0.04) 0%, transparent 50%); }
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 1.2rem; }
.page-hero h1 em { font-style: italic; color: var(--green); }
.page-hero .hero-desc { font-size: 1.08rem; line-height: 1.7; color: var(--warm-gray); font-weight: 300; }

/* ── CARDS ── */
.card { background: white; border-radius: 20px; padding: 2.2rem 1.8rem; border: 1px solid rgba(0,0,0,0.04); transition: all 0.4s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 50px rgba(0,0,0,0.07); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.85rem; color: var(--warm-gray); line-height: 1.65; font-weight: 300; }

.card-dark { background: rgba(246,244,239,0.04); border: 1px solid rgba(246,244,239,0.08); }
.card-dark:hover { background: rgba(246,244,239,0.08); }
.card-dark h3 { color: var(--cream); }
.card-dark p { color: rgba(246,244,239,0.45); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── NIVEAU CARDS ── */
.niveau-card { background: white; border-radius: 20px; padding: 2.5rem 2rem; border: 1px solid rgba(0,0,0,0.04); transition: all 0.4s; }
.niveau-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.niveau-badge { display: inline-block; padding: 0.35rem 1rem; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.2rem; }
.badge-1 { background: #E8F5E9; color: #2E7D32; }
.badge-2 { background: #FFF3E0; color: #E65100; }
.badge-3 { background: #FFEBEE; color: #C62828; }
.niveau-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-bottom: 0.8rem; }
.niveau-card .niveau-desc { font-size: 0.85rem; color: var(--warm-gray); line-height: 1.6; font-weight: 300; margin-bottom: 1.2rem; }
.niveau-list { list-style: none; }
.niveau-list li { font-size: 0.82rem; color: var(--warm-gray); padding: 0.4rem 0; border-bottom: 1px solid rgba(0,0,0,0.04); display: flex; gap: 0.5rem; align-items: baseline; }
.niveau-list li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 0.75rem; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--green), var(--orange)); opacity: 0.2; }
.step { text-align: center; position: relative; }
.step-number { width: 80px; height: 80px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--green); box-shadow: 0 4px 20px rgba(0,0,0,0.06); position: relative; z-index: 2; }
.step h3 { font-family: 'DM Serif Display', serif; font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.82rem; color: var(--warm-gray); line-height: 1.6; font-weight: 300; }

/* ── DARK SECTIONS ── */
.bg-dark { background: var(--dark); color: var(--cream); }
.bg-dark .section-label { color: var(--green-light); }
.bg-dark .section-desc { color: rgba(246,244,239,0.5); }
.bg-green { background: var(--green-dark); color: var(--cream); }
.bg-green .section-label { color: rgba(246,244,239,0.5); }
.bg-green .section-desc { color: rgba(246,244,239,0.55); }
.bg-sand { background: var(--sand); }
.bg-pale { background: var(--green-pale); }

/* ── CTA BENEFITS ── */
.cta-benefits { display: flex; flex-direction: column; gap: 1.2rem; }
.cta-benefit { display: flex; gap: 1rem; align-items: flex-start; }
.cta-benefit-icon { width: 38px; height: 38px; min-width: 38px; border-radius: 10px; background: rgba(246,244,239,0.1); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.cta-benefit h4 { font-size: 0.92rem; margin-bottom: 0.15rem; }
.cta-benefit p { font-size: 0.8rem; color: rgba(246,244,239,0.5); line-height: 1.5; font-weight: 300; }

/* ── CITY CARDS ── */
.city-card { background: white; border-radius: 16px; padding: 2rem; border: 1px solid rgba(0,0,0,0.04); transition: all 0.3s; text-align: center; }
.city-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.city-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-bottom: 0.4rem; }
.city-card .city-region { font-size: 0.78rem; color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.8rem; }
.city-card p { font-size: 0.85rem; color: var(--warm-gray); line-height: 1.6; font-weight: 300; }
.city-status { display: inline-block; margin-top: 1rem; padding: 0.3rem 0.8rem; border-radius: 100px; font-size: 0.72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; background: rgba(58,125,68,0.08); color: var(--green); }

/* ── CONTACT FORM AREA ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; max-width: 1000px; margin: 0 auto; }
.contact-info h3 { font-family: 'DM Serif Display', serif; font-size: 1.2rem; margin-bottom: 0.6rem; margin-top: 1.5rem; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 0.9rem; color: var(--warm-gray); line-height: 1.7; font-weight: 300; }
.contact-info a { color: var(--green); text-decoration: none; font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }
.contact-box { background: white; border-radius: 20px; padding: 2.5rem; border: 1px solid rgba(0,0,0,0.04); }
.contact-box h3 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-bottom: 1rem; }
.contact-box p { font-size: 0.9rem; color: var(--warm-gray); line-height: 1.7; margin-bottom: 1.5rem; font-weight: 300; }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(246,244,239,0.4); padding: 3.5rem 3rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-brand .nav-logo span { color: var(--cream); }
.footer-brand p { margin-top: 0.8rem; font-size: 0.82rem; line-height: 1.6; max-width: 280px; }
.footer-links h4 { color: var(--cream); font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.8rem; font-weight: 600; }
.footer-links a { display: block; color: rgba(246,244,239,0.4); text-decoration: none; font-size: 0.85rem; margin-bottom: 0.5rem; transition: color 0.3s; font-weight: 300; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(246,244,239,0.06); display: flex; justify-content: space-between; font-size: 0.78rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0}to{opacity:1} }
@keyframes floaty { 0%,100%{transform:translateY(0)}50%{transform:translateY(-15px)} }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.4} }
.reveal { opacity:0; transform:translateY(40px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity:1; transform:translateY(0); }
.anim-up { animation: fadeUp 0.8s ease both; }
.anim-up-1 { animation: fadeUp 0.8s 0.1s ease both; }
.anim-up-2 { animation: fadeUp 0.8s 0.2s ease both; }
.anim-up-3 { animation: fadeUp 0.8s 0.3s ease both; }
.anim-up-4 { animation: fadeUp 0.8s 0.4s ease both; }

/* ── RESPONSIVE ── */
@media(max-width:1000px) { .grid-4{grid-template-columns:repeat(2,1fr)} }
@media(max-width:900px) {
  nav{padding:1rem 1.5rem} .nav-links a:not(.nav-cta){display:none} .mobile-menu-btn{display:block}
  section{padding:4rem 1.5rem} .page-hero{padding:7rem 1.5rem 3rem}
  .grid-2{grid-template-columns:1fr;gap:3rem} .grid-3{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr} .steps::before{display:none}
  .contact-grid{grid-template-columns:1fr}
  .footer-inner{flex-direction:column}
}
@media(max-width:600px) { .grid-4{grid-template-columns:1fr} .steps{grid-template-columns:1fr} }
