/* APPEX – styles communs à toutes les pages */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
:root{--teal:#3aada0;--teal-dark:#2a8a7e;--teal-light:#e4f5f3;--teal-pale:#f0faf9;--ink:#1a2e2c;--text:#2d4644;--muted:#5c7e7b;--border:#c5e5e2;--white:#ffffff;--off-white:#f7fbfb;--font-head:"Playfair Display",Georgia,serif;--font-body:"DM Sans",system-ui,sans-serif;--radius:10px;--radius-lg:18px;--shadow-md:0 6px 32px rgba(58,173,160,0.14);}
html{scroll-behavior:smooth;}
body{font-family:var(--font-body);font-size:16px;line-height:1.7;color:var(--text);background:var(--white);}
nav{position:sticky;top:0;z-index:500;background:rgba(255,255,255,0.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);padding:0 2rem;display:flex;align-items:center;justify-content:space-between;height:68px;}
.nav-logo{display:flex;align-items:center;gap:0.75rem;text-decoration:none;}
.nav-logo img{width:42px;height:42px;border-radius:50%;object-fit:cover;}
.nav-logo-text{font-family:var(--font-head);font-size:1.25rem;font-weight:700;color:var(--ink);}
.nav-logo-sub{font-size:11px;color:var(--muted);letter-spacing:0.03em;text-transform:uppercase;}
.nav-links{display:flex;gap:2rem;list-style:none;}
.nav-links a{text-decoration:none;color:var(--text);font-size:15px;transition:color 0.2s;}
.nav-links a:hover,.nav-links a.active{color:var(--teal);}
.nav-links a.nav-cta{background:var(--teal);color:#fff;padding:0.45rem 1.1rem;border-radius:50px;font-weight:500;}
.nav-links a.nav-cta:hover{background:var(--teal-dark);}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:4px;}
.page-hero{background:var(--teal-pale);padding:5rem 2rem 3.5rem;text-align:center;border-bottom:1px solid var(--border);}
.page-hero .eyebrow{display:inline-block;background:var(--teal);color:#fff;font-size:12px;letter-spacing:0.12em;text-transform:uppercase;font-weight:500;padding:0.3rem 0.9rem;border-radius:50px;margin-bottom:1rem;}
.page-hero h1{font-family:var(--font-head);font-size:clamp(2rem,4vw,3rem);font-weight:700;color:var(--ink);margin-bottom:1rem;}
.page-hero h1 em{font-style:normal;color:var(--teal);}
.page-hero p{color:var(--muted);font-size:1.05rem;max-width:600px;margin:0 auto;}
section{padding:4.5rem 2rem;}
section[id]{scroll-margin-top:80px;}
section.alt{background:var(--off-white);}
.section-inner{max-width:1000px;margin:0 auto;}
.section-eyebrow{font-size:12px;letter-spacing:0.14em;text-transform:uppercase;color:var(--teal);font-weight:500;margin-bottom:0.5rem;}
.section-title{font-family:var(--font-head);font-size:clamp(1.6rem,3vw,2.2rem);font-weight:700;color:var(--ink);margin-bottom:1.2rem;line-height:1.2;}
.section-lead{font-size:1rem;color:var(--muted);line-height:1.8;margin-bottom:2rem;}
.histoire-text p{color:var(--text);line-height:1.85;margin-bottom:1.2rem;}
.histoire-text strong{color:var(--teal-dark);}
.missions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.2rem;}
.mission-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.6rem;transition:box-shadow 0.2s,transform 0.2s;}
.mission-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.mission-card h3{font-family:var(--font-head);font-size:1.05rem;color:var(--ink);margin-bottom:0.5rem;font-weight:600;}
.mission-card p{font-size:14px;color:var(--muted);line-height:1.65;}
.mission-icon{width:40px;height:40px;border-radius:10px;background:var(--teal-light);display:flex;align-items:center;justify-content:center;margin-bottom:1rem;}
.mission-icon svg{width:22px;height:22px;stroke:var(--teal);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.stat-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:2rem 1.5rem;text-align:center;}
.stat-num{font-family:var(--font-head);font-size:2.8rem;color:var(--teal);font-weight:700;line-height:1;}
.stat-label{font-size:14px;color:var(--muted);margin-top:0.4rem;line-height:1.4;}
.events-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;}
.event-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.8rem 1.6rem;transition:box-shadow 0.2s,transform 0.2s;}
.event-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.event-card.featured{background:var(--teal);border-color:var(--teal);}
.event-badge{display:inline-block;font-size:11px;letter-spacing:0.08em;text-transform:uppercase;font-weight:600;padding:0.25rem 0.7rem;border-radius:50px;margin-bottom:0.9rem;}
.event-card .event-badge{background:var(--teal-light);color:var(--teal-dark);}
.event-card.featured .event-badge{background:rgba(255,255,255,0.2);color:#fff;}
.event-card h3{font-family:var(--font-head);font-size:1.2rem;color:var(--ink);margin-bottom:0.6rem;font-weight:600;line-height:1.25;}
.event-card.featured h3{color:#fff;}
.event-card p{font-size:14px;color:var(--muted);line-height:1.7;}
.event-card.featured p{color:rgba(255,255,255,0.9);}
.journees-toggle{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;margin-top:2rem;}
.journees-header{padding:1.1rem 1.5rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;user-select:none;}
.journees-header:hover{background:var(--teal-pale);}
.journees-header h3{font-family:var(--font-head);font-size:1rem;color:var(--ink);font-weight:600;}
.journees-header svg{width:20px;height:20px;stroke:var(--teal);fill:none;stroke-width:2;stroke-linecap:round;transition:transform 0.3s;flex-shrink:0;}
.journees-header.open svg{transform:rotate(180deg);}
.journees-body{display:none;padding:1rem 1.5rem 1.5rem;border-top:1px solid var(--border);}
.journees-body.open{display:block;}
.journees-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:0.5rem;margin-top:0.5rem;}
.journee-item{font-size:13px;color:var(--text);padding:0.35rem 0;border-bottom:1px solid var(--teal-light);}
.journee-item strong{color:var(--teal-dark);}
.partners-list{display:flex;flex-wrap:wrap;gap:0.75rem;margin-top:1rem;}
.partner-tag{display:inline-flex;align-items:center;justify-content:center;background:var(--teal-light);border:1px solid var(--border);color:var(--teal-dark);padding:0.45rem 1rem;border-radius:50px;font-size:14px;font-weight:500;text-decoration:none;transition:transform 0.2s ease,box-shadow 0.2s ease;}
.partner-tag:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(13,92,84,0.12);text-decoration:none;}
.fade-in{opacity:0;transform:translateY(20px);transition:opacity 0.6s ease,transform 0.6s ease;}
.fade-in.visible{opacity:1;transform:translateY(0);}
footer{background:var(--ink);color:rgba(255,255,255,0.7);padding:4rem 2rem 2rem;}
.footer-inner{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;}
.footer-brand p{font-size:14px;margin-top:0.8rem;line-height:1.7;max-width:260px;}
.footer-col h4{font-family:var(--font-head);font-size:15px;color:#fff;margin-bottom:1rem;font-weight:600;}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:0.5rem;}
.footer-col ul li a{color:rgba(255,255,255,0.65);text-decoration:none;font-size:14px;transition:color 0.2s;}
.footer-col ul li a:hover{color:var(--teal);}
.footer-divider{border:none;border-top:1px solid rgba(255,255,255,0.1);margin:2.5rem 0 1.5rem;}
.footer-bottom{max-width:1000px;margin:0 auto;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;font-size:13px;color:rgba(255,255,255,0.45);}
.footer-bottom a{color:rgba(255,255,255,0.5);text-decoration:underline;}
.footer-logo-text{font-family:var(--font-head);font-size:1.3rem;font-weight:700;color:#fff;}
.footer-logo-sub{font-size:11px;letter-spacing:0.06em;text-transform:uppercase;opacity:0.5;margin-top:2px;}
.btn-primary{background:var(--teal);color:#fff;padding:0.85rem 1.8rem;border-radius:50px;text-decoration:none;font-weight:500;font-size:15px;border:2px solid transparent;transition:background 0.2s, transform 0.15s;display:inline-block;}
.btn-primary:hover{background:var(--teal-dark);transform:translateY(-1px);}
.nav-links a:hover{color:var(--teal);}
@media(max-width:820px){
  .stats-grid{grid-template-columns:1fr 1fr;}
  .footer-inner{grid-template-columns:1fr 1fr;}
  .nav-links{display:none;flex-direction:column;position:absolute;top:68px;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);padding:1rem 2rem;gap:0.5rem;}
  .nav-links.open{display:flex;}
  .nav-toggle{display:block;}
  nav{padding:0 1rem;}
}
@media(max-width:520px){
  .stats-grid{grid-template-columns:1fr;}
  .footer-inner{grid-template-columns:1fr;gap:2rem;}
}
