/* ============================================================
   CRAPH — Feuille de style principale
   style.css
   ============================================================ */

/* ------------------------------------------------------------
   VARIABLES & RESET
   ------------------------------------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary:       #1a4a6b;
    --primary-light: #2563a8;
    --accent:        #16a37a;
    --accent-light:  #d1fae5;
    --surface:       #f8fafc;
    --text:          #0f172a;
    --text-muted:    #64748b;
    --border:        #e2e8f0;
    --white:         #ffffff;
    --serif:         'Syne', sans-serif;
    --sans:          'Inter', sans-serif;
    --shadow-sm:     0 2px 8px rgba(26,74,107,0.08);
    --shadow-md:     0 8px 32px rgba(26,74,107,0.14);
    --shadow-lg:     0 20px 60px rgba(26,74,107,0.18);
    --shadow-card:   0 4px 6px rgba(0,0,0,0.04), 0 10px 40px rgba(26,74,107,0.10);
    --tr:            all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--sans); color: var(--text); background: var(--white); overflow-x: hidden; }
.hidden { display: none !important; }

/* ------------------------------------------------------------
   ANIMATIONS
   ------------------------------------------------------------ */
.page { animation: fadeUp 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible      { opacity: 1; transform: translateY(0); }
.reveal-delay-1      { transition-delay: 0.1s; }
.reveal-delay-2      { transition-delay: 0.2s; }
.reveal-delay-3      { transition-delay: 0.3s; }
.reveal-delay-4      { transition-delay: 0.4s; }

/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
nav {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226,232,240,0.8);
    padding: 0 2rem; display: flex; align-items: center; justify-content: space-between;
    height: 64px; gap: 1rem;
    box-shadow: 0 1px 0 rgba(26,74,107,0.06), 0 4px 24px rgba(26,74,107,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; flex-shrink: 0; }
.logo-zone {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--surface); border: 1.5px dashed var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; color: var(--text-muted); text-align: center; line-height: 1.4;
    cursor: pointer; transition: var(--tr); overflow: hidden; flex-shrink: 0;
}
.logo-zone:hover { border-color: var(--accent); background: var(--accent-light); transform: scale(1.05); }
.nav-brand { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--primary); letter-spacing: 0.5px; }
.nav-brand span { display: block; font-family: var(--sans); font-size: 10px; color: var(--text-muted); font-weight: 400; letter-spacing: 1.2px; text-transform: uppercase; }
.nav-links { display: flex; gap: 2px; }
.nav-link { padding: 7px 13px; font-size: 13px; font-weight: 500; color: var(--text-muted); cursor: pointer; border-radius: 7px; transition: var(--tr); white-space: nowrap; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--accent); border-radius: 2px; transition: width 0.3s ease; }
.nav-link:hover { color: var(--primary); background: var(--surface); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-link.active { color: var(--primary); }
.nav-cta { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; transition: var(--tr); border: none; font-family: var(--sans); white-space: nowrap; flex-shrink: 0; box-shadow: 0 4px 14px rgba(26,74,107,0.3); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,74,107,0.4); }

/* Hamburger — masqué sur desktop */
.hamburger-btn { display: none; }
.nav-mobile-menu { display: none; }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero { background: linear-gradient(135deg, #0a1f3d 0%, #1a4a6b 45%, #1a6b5a 100%); min-height: 560px; display: flex; align-items: center; padding: 4rem 2rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(22,163,122,0.15) 0%, transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(37,99,168,0.2) 0%, transparent 50%); pointer-events: none; }
.hero-grid { position: absolute; inset: 0; opacity: 0.04; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px); background-size: 40px 40px; }
.hero-inner { max-width: 800px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(22,163,122,0.15); border: 1px solid rgba(22,163,122,0.35); color: #6ee7b7; padding: 5px 14px; border-radius: 20px; font-size: 11px; font-weight: 500; margin-bottom: 1.4rem; letter-spacing: 0.8px; text-transform: uppercase; }
.hero h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.3rem); color: white; line-height: 1.08; margin-bottom: 1.2rem; font-weight: 800; letter-spacing: -1.5px; }
.hero h1 em { color: transparent; font-style: normal; background: linear-gradient(135deg, #6ee7b7, #34d399); -webkit-background-clip: text; background-clip: text; }
.hero-sub { font-size: 15px; color: rgba(255,255,255,0.68); max-width: 520px; line-height: 1.85; margin-bottom: 2rem; font-weight: 300; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-green { background: linear-gradient(135deg, #16a37a, #0d8a68); color: white; padding: 13px 24px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--tr); border: none; font-family: var(--sans); box-shadow: 0 4px 20px rgba(22,163,122,0.4); }
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(22,163,122,0.5); }
.btn-ghost { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.2); padding: 13px 24px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--tr); font-family: var(--sans); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

/* ------------------------------------------------------------
   SECTIONS COMMUNES
   ------------------------------------------------------------ */
.sec { padding: 5rem 2rem; max-width: 960px; margin: 0 auto; }
.stag { font-size: 11px; font-weight: 500; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.stitle { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--primary); margin-bottom: 8px; font-weight: 700; letter-spacing: -0.5px; }
.ssub { font-size: 14px; color: var(--text-muted); max-width: 540px; line-height: 1.85; margin-bottom: 2.5rem; }

/* ------------------------------------------------------------
   EXPERTISES
   ------------------------------------------------------------ */
.exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.exp-card { background: var(--white); border: 1px solid rgba(226,232,240,0.8); border-radius: 16px; padding: 1.6rem; transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease, border-color 0.35s ease; cursor: pointer; box-shadow: var(--shadow-card); }
.exp-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(26,74,107,0.15); border-color: rgba(22,163,122,0.3); }
.exp-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #d1fae5, #a7f3d0); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 1rem; box-shadow: 0 4px 12px rgba(22,163,122,0.2); }
.exp-card h3 { font-family: var(--serif); font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.exp-card p { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.exp-card .lnk { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 12px; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s ease; }
.exp-card:hover .lnk { gap: 8px; }

/* ------------------------------------------------------------
   BENTO PHOTOS
   ------------------------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 200px 200px; gap: 14px; margin-bottom: 2rem; }
.bento-cell { border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; position: relative; overflow: hidden; cursor: pointer; transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease; }
.bento-cell:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.bento-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.bento-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 1rem; }
.bc-icon  { font-size: 28px; }
.bc-label { font-size: 11px; font-weight: 500; letter-spacing: 0.5px; text-align: center; padding: 0 12px; line-height: 1.5; }
.bc-sub   { font-size: 10px; opacity: 0.6; text-align: center; }
.bc1 { background: linear-gradient(160deg, #1a4a6b, #0f6e56); color: #6ee7b7; grid-column: 1/2; grid-row: 1/3; box-shadow: var(--shadow-md); }
.bc2 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; grid-column: 2/3; grid-row: 1/2; box-shadow: var(--shadow-sm); }
.bc3 { background: linear-gradient(135deg, #0f2744, #1a4a6b); color: #93c5fd; grid-column: 3/4; grid-row: 1/2; box-shadow: var(--shadow-md); }
.bc4 { background: linear-gradient(135deg, #f0fdf4, #dcfce7); color: #065f46; border: 1px solid #bbf7d0; grid-column: 2/3; grid-row: 2/3; box-shadow: var(--shadow-sm); }
.bc5 { background: linear-gradient(135deg, #16a37a, #1a4a6b); color: white; grid-column: 3/4; grid-row: 2/3; box-shadow: var(--shadow-md); }

/* ------------------------------------------------------------
   PARTENAIRES MÉDIAS — carrousel défilant
   ------------------------------------------------------------ */
#partenaires-medias { overflow: hidden; width: 100%; padding: 2.5rem 0; background: linear-gradient(160deg, #f8fafc, #f0fdf4); border-top: 1px solid rgba(226,232,240,0.6); border-bottom: 1px solid rgba(226,232,240,0.6); }
.medias-track { display: flex; gap: 3.5rem; align-items: center; width: max-content; animation: scrollMedias 30s linear infinite; }
.medias-track:hover { animation-play-state: paused; }
@keyframes scrollMedias { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
.media-item { display: flex; align-items: center; justify-content: center; flex-shrink: 0; height: 52px; min-width: 110px; opacity: 0.55; transition: opacity 0.3s ease, transform 0.3s ease; text-decoration: none; }
.media-item:hover { opacity: 1; transform: scale(1.08); }
.media-item img { height: 44px; width: auto; object-fit: contain; filter: grayscale(100%); transition: filter 0.3s ease; }
.media-item:hover img { filter: grayscale(0%); }
.media-fallback { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--primary); white-space: nowrap; letter-spacing: 0.5px; }

/* ------------------------------------------------------------
   PARCOURS PATIENT
   ------------------------------------------------------------ */
.parcours-wrap { background: linear-gradient(135deg, var(--surface), #f0fdf4); border-radius: 16px; padding: 2.5rem; border: 1px solid rgba(226,232,240,0.8); box-shadow: var(--shadow-card); }
.step { display: flex; gap: 1.5rem; padding: 1.2rem 0 1.2rem 2rem; border-left: 2px solid var(--border); position: relative; }
.step:last-child { border-left-color: transparent; }
.step-dot { position: absolute; left: -13px; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(26,74,107,0.3); }
.step h4 { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 4px; font-family: var(--serif); }
.step p  { font-size: 12px; color: var(--text-muted); line-height: 1.7; }

/* ------------------------------------------------------------
   SECTION IMMERSIVE
   ------------------------------------------------------------ */
.immersive { background: linear-gradient(135deg, #071726 0%, #0f2744 50%, #0a3326 100%); padding: 5rem 2rem; position: relative; overflow: hidden; }
.immersive::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(22,163,122,0.12) 0%, transparent 60%); pointer-events: none; }
.immersive-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.immersive-text h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); color: white; font-weight: 700; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.5px; }
.immersive-text h2 span { color: transparent; background: linear-gradient(135deg, #6ee7b7, #34d399); -webkit-background-clip: text; background-clip: text; }
.immersive-text p { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.85; margin-bottom: 1.8rem; }
.immersive-photo { height: 300px; border-radius: 20px; background: linear-gradient(135deg, rgba(22,163,122,0.12), rgba(26,74,107,0.2)); border: 1px solid rgba(22,163,122,0.2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; position: relative; overflow: hidden; cursor: pointer; box-shadow: 0 20px 60px rgba(0,0,0,0.3); transition: transform 0.35s ease; }
.immersive-photo:hover { transform: scale(1.02); }
.immersive-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }

/* ------------------------------------------------------------
   IMPACT
   ------------------------------------------------------------ */
.impact-band { padding: 5rem 2rem; background: linear-gradient(160deg, #f0fdf4, #ecfdf5 50%, #f8fafc 100%); }
.impact-inner { max-width: 960px; margin: 0 auto; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.impact-cell { background: white; padding: 2.5rem 2rem; text-align: center; border-right: 1px solid var(--border); position: relative; overflow: hidden; transition: background 0.3s ease; }
.impact-cell:hover { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); }
.impact-cell:last-child { border-right: none; }
.impact-num  { font-family: var(--serif); font-size: 2.8rem; color: var(--primary); font-weight: 800; line-height: 1; }
.impact-unit { font-size: 13px; font-weight: 600; margin-top: 2px; color: transparent; background: linear-gradient(135deg, var(--accent), #0d8a68); -webkit-background-clip: text; background-clip: text; }
.impact-label { font-size: 12px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }

/* ------------------------------------------------------------
   ACTUALITÉS — cards dépliables
   ------------------------------------------------------------ */
.actu-list { display: flex; flex-direction: column; gap: 14px; }
.actu-card { background: var(--white); border: 1px solid rgba(226,232,240,0.8); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow 0.35s ease, border-color 0.35s ease; }
.actu-card:hover { box-shadow: var(--shadow-md); border-color: rgba(22,163,122,0.25); }
.actu-card.open  { border-color: rgba(22,163,122,0.4); }
.actu-header { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem; cursor: pointer; gap: 1rem; }
.actu-header-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.actu-meta   { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.actu-cat    { font-size: 10px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.8px; background: linear-gradient(135deg, #d1fae5, #a7f3d0); padding: 3px 10px; border-radius: 20px; }
.actu-date   { font-size: 11px; color: var(--text-muted); }
.actu-card h3 { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--primary); line-height: 1.4; flex: 1; min-width: 0; }
.actu-chevron { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; color: var(--text-muted); transition: var(--tr); background: var(--surface); }
.actu-card.open .actu-chevron { transform: rotate(45deg); background: var(--accent-light); border-color: var(--accent); color: var(--accent); }
.actu-body { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1); }
.actu-card.open .actu-body { max-height: 2000px; }
.actu-body-inner { padding: 0 1.6rem 1.6rem; }
.actu-body-inner p { font-size: 13px; color: var(--text-muted); line-height: 1.85; margin-bottom: 1.2rem; }

/* Grille médias (photos + vidéos) */
.actu-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 1.2rem; }
.actu-photo-cell { border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; background: var(--surface); border: 1px solid var(--border); }
.actu-photo-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.actu-photo-cell:hover img { transform: scale(1.04); }
.actu-video-cell { border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; }
.yt-wrap { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; }
.yt-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; border-radius: 10px; }

/* ------------------------------------------------------------
   CTA BAND
   ------------------------------------------------------------ */
.cta-band { background: linear-gradient(135deg, #0f2744, #1a4a6b 50%, #2563a8 100%); padding: 4rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -60%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(22,163,122,0.1) 0%, transparent 70%); }
.cta-band h2 { font-family: var(--serif); font-size: 2rem; color: white; margin-bottom: .8rem; font-weight: 700; position: relative; z-index: 1; }
.cta-band p  { font-size: 13px; color: rgba(255,255,255,0.58); margin-bottom: 1.8rem; position: relative; z-index: 1; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #16a37a, #0d8a68); color: white; padding: 14px 32px; border-radius: 12px; font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--tr); border: none; font-family: var(--sans); box-shadow: 0 4px 24px rgba(22,163,122,0.4); position: relative; z-index: 1; }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(22,163,122,0.55); }

/* ------------------------------------------------------------
   PAGE HERO SM (en-têtes pages internes)
   ------------------------------------------------------------ */
.phsm { background: linear-gradient(135deg, var(--surface), #f0fdf4 100%); padding: 3.5rem 2rem; border-bottom: 1px solid var(--border); }
.phsm .inn { max-width: 960px; margin: 0 auto; }

/* ------------------------------------------------------------
   SERVICES
   ------------------------------------------------------------ */
.svc { background: var(--white); border: 1px solid rgba(226,232,240,0.8); border-radius: 16px; padding: 2rem; margin-bottom: 1.2rem; box-shadow: var(--shadow-card); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(26,74,107,0.12); }
.svc-hdr { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.svc h3  { font-family: var(--serif); font-size: 1.25rem; color: var(--primary); font-weight: 700; }
.svc p   { font-size: 13px; color: var(--text-muted); line-height: 1.85; margin-bottom: 8px; }
.tag { display: inline-block; background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin: 3px 3px 3px 0; transition: transform 0.2s ease; }
.tag:hover { transform: scale(1.05); }

/* ------------------------------------------------------------
   À PROPOS — équipe simplifiée
   ------------------------------------------------------------ */
.team-simple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2rem; }
.team-simple-card { background: var(--white); border: 1px solid rgba(226,232,240,0.8); border-radius: 16px; padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow-card); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease; }
.team-simple-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-simple-icon { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 1.2rem; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 8px 24px rgba(26,74,107,0.2); }
.team-simple-card h4 { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.team-simple-card p  { font-size: 12px; color: var(--text-muted); line-height: 1.7; }

/* ------------------------------------------------------------
   VALEURS
   ------------------------------------------------------------ */
.val-item { border-bottom: 1px solid var(--border); padding: 1.1rem 0; display: flex; gap: 14px; transition: transform 0.25s ease; }
.val-item:hover { transform: translateX(4px); }
.val-item:last-child { border-bottom: none; }
.val-dot { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #d1fae5, #a7f3d0); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; box-shadow: 0 4px 12px rgba(22,163,122,0.15); }
.val-title { font-family: var(--serif); font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 3px; }

/* ------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------ */
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.iitem { display: flex; align-items: flex-start; gap: 12px; padding: 1rem 1.2rem; border-radius: 12px; background: var(--surface); margin-bottom: 10px; border: 1px solid rgba(226,232,240,0.8); box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.iitem:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.iicon { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #d1fae5, #a7f3d0); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; box-shadow: 0 3px 10px rgba(22,163,122,0.15); }
.iitem h4 { font-size: 11px; font-weight: 500; color: var(--text-muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .8px; }
.iitem p  { font-size: 13px; color: var(--text); }
.mail-box { background: linear-gradient(135deg, #0f2744, #1a4a6b); border-radius: 14px; padding: 1.8rem; text-align: center; margin-top: 1rem; box-shadow: var(--shadow-md); }
.mail-box p { color: rgba(255,255,255,0.68); font-size: 13px; margin-bottom: 1.2rem; line-height: 1.7; }
.mail-btn2 { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #16a37a, #0d8a68); color: white; padding: 11px 22px; border-radius: 9px; font-size: 13px; font-weight: 500; cursor: pointer; transition: var(--tr); border: none; font-family: var(--sans); box-shadow: 0 4px 16px rgba(22,163,122,0.35); }
.mail-btn2:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(22,163,122,0.5); }

/* Iframe Google Maps — toujours fluide */
iframe#map-canvas, .map_part {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px;
    display: block;
}

/* ------------------------------------------------------------
   PARTENAIRES INSTITUTIONNELS
   ------------------------------------------------------------ */
.instit-section { background: linear-gradient(135deg, #0f2744, #1a4a6b); padding: 4rem 2rem; }
.instit-inner   { max-width: 960px; margin: 0 auto; }
.instit-grid    { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 2rem; }
.instit-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: background 0.3s ease, transform 0.3s ease; }
.instit-card:hover { background: rgba(255,255,255,0.10); transform: translateY(-3px); }
.instit-logo { width: 52px; height: 52px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.instit-logo img { width: 100%; height: 100%; object-fit: contain; }
.instit-body h4  { font-family: var(--serif); font-size: 14px; font-weight: 600; color: white; margin-bottom: 4px; }
.instit-ville    { font-size: 11px; color: #6ee7b7; font-weight: 500; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.instit-desc     { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
footer { background: linear-gradient(160deg, #07111f, #0a1628 100%); color: rgba(255,255,255,0.5); padding: 3rem 2rem; }
.footer-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.footer-col h5 { font-family: var(--serif); font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.footer-col p  { font-size: 12px; line-height: 2; }
.footer-col a  { color: rgba(255,255,255,0.45); text-decoration: none; display: block; font-size: 12px; margin-bottom: 6px; cursor: pointer; transition: var(--tr); }
.footer-col a:hover { color: #6ee7b7; transform: translateX(3px); }
.footer-bottom { max-width: 960px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 11px; }

/* ============================================================
   RESPONSIVE — TABLETTE  ≤ 860px
   ============================================================ */
@media (max-width: 860px) {
    nav { padding: 0 1.2rem; }
    .nav-links { display: none; }

    /* À propos — 2 col → 1 col (style inline nécessite !important) */
    #page-about .sec > div {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
    }

    .cgrid          { grid-template-columns: 1fr; }
    .immersive-inner { grid-template-columns: 1fr; gap: 2rem; }
    .immersive-photo { height: 220px; }
    .team-simple    { grid-template-columns: 1fr 1fr; gap: 14px; }

    .impact-grid { grid-template-columns: 1fr; border-radius: 16px; }
    .impact-cell { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem; }
    .impact-cell:last-child { border-bottom: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE  ≤ 640px
   ============================================================ */
@media (max-width: 640px) {

    /* ── Navigation ─────────────────────────────────────────── */
    nav { height: 56px; padding: 0 1rem; gap: .5rem; }
    .nav-logo img { width: 34px !important; height: 34px !important; }
    .nav-brand { font-size: 14px !important; }
    .nav-brand span { display: none; }
    .nav-links { display: none; }
    .nav-cta { font-size: 11px; padding: 7px 11px; }

    /* ── Hamburger ──────────────────────────────────────────── */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        flex-shrink: 0;
    }
    .hamburger-btn span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--primary);
        border-radius: 2px;
        transition: all .3s ease;
    }
    .hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── Menu déroulant mobile ──────────────────────────────── */
    .nav-mobile-menu {
        position: fixed;
        top: 56px;
        left: 0; right: 0;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(226,232,240,0.9);
        box-shadow: 0 12px 32px rgba(26,74,107,0.12);
        z-index: 199;
        flex-direction: column;
        padding: 8px 0 16px;
        /* caché par défaut */
        display: none;
    }
    .nav-mobile-menu.open { display: flex; }
    .nav-mobile-menu .nav-link {
        display: block;
        padding: 14px 24px;
        font-size: 15px;
        font-weight: 500;
        color: var(--primary);
        border-bottom: 1px solid rgba(226,232,240,0.5);
        border-radius: 0;
        white-space: normal;
    }
    .nav-mobile-menu .nav-link::after { display: none; }
    .nav-mobile-menu .nav-link:last-child { border-bottom: none; }
    .nav-mobile-menu .nav-link:hover { background: var(--surface); color: var(--accent); }

    /* ── Sections padding ───────────────────────────────────── */
    .sec  { padding: 3rem 1.1rem; }
    .phsm { padding: 2.2rem 1.1rem 1.8rem; }
    .stitle { font-size: 1.45rem !important; }

    /* ── Hero ───────────────────────────────────────────────── */
    .hero { padding: 2.5rem 1.1rem 3rem; min-height: auto; }
    .hero h1 { font-size: clamp(1.8rem, 9vw, 2.8rem) !important; letter-spacing: -.5px; }
    .hero-sub { font-size: 13px; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .btn-green, .btn-ghost { width: 100%; text-align: center; justify-content: center; }

    /* ── Expertises ─────────────────────────────────────────── */
    .exp-grid { grid-template-columns: 1fr !important; gap: 10px; }
    .exp-card { padding: 1.3rem; }

    /* ── Bento : 2 col + grande dernière ────────────────────── */
    .bento {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 140px 140px 140px !important;
        gap: 8px;
    }
    .bc1 { grid-column: 1/2 !important; grid-row: 1/2 !important; }
    .bc2 { grid-column: 2/3 !important; grid-row: 1/2 !important; }
    .bc3 { grid-column: 1/2 !important; grid-row: 2/3 !important; }
    .bc4 { grid-column: 2/3 !important; grid-row: 2/3 !important; }
    .bc5 { grid-column: 1/3 !important; grid-row: 3/4 !important; }

    /* ── Parcours ───────────────────────────────────────────── */
    .parcours-wrap { padding: 1.5rem 1rem; }
    .step { padding: 1rem 0 1rem 1.6rem; gap: 1rem; }

    /* ── Immersive ──────────────────────────────────────────── */
    .immersive { padding: 3rem 1.1rem; }
    .immersive-inner { grid-template-columns: 1fr; gap: 1.8rem; }
    .immersive-text h2 { font-size: 1.6rem !important; }
    .immersive-photo { height: 200px; order: -1; }

    /* ── Impact ─────────────────────────────────────────────── */
    .impact-band { padding: 3rem 1.1rem; }
    .impact-grid { grid-template-columns: 1fr; border-radius: 16px; }
    .impact-cell { border-right: none; border-bottom: 1px solid var(--border); padding: 1.8rem 1.5rem; }
    .impact-cell:last-child { border-bottom: none; }
    .impact-num { font-size: 2.3rem; }

    /* ── Actualités ─────────────────────────────────────────── */
    .actu-header { padding: 1rem 1.1rem; gap: .6rem; }
    .actu-header-left { flex-wrap: wrap; gap: 6px; }
    .actu-meta { flex-wrap: wrap; gap: 4px; }
    .actu-card h3 { font-size: 14px; width: 100%; }
    .actu-body-inner { padding: 0 1.1rem 1.2rem; }
    .actu-media { grid-template-columns: 1fr 1fr; gap: 8px; }

    /* ── CTA Band ───────────────────────────────────────────── */
    .cta-band { padding: 3rem 1.1rem; }
    .cta-band h2 { font-size: 1.5rem; }
    .cta-btn { width: 100%; justify-content: center; font-size: 12px; padding: 13px 16px; }

    /* ── Services ───────────────────────────────────────────── */
    .svc { padding: 1.4rem 1.1rem; }
    .svc h3 { font-size: 1.05rem; }

    /* ── À propos ───────────────────────────────────────────── */
    #page-about .sec > div {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    .team-simple { grid-template-columns: 1fr !important; gap: 12px; }
    .team-simple-card { padding: 1.4rem 1.1rem; }

    /* ── Contact ────────────────────────────────────────────── */
    .cgrid { grid-template-columns: 1fr; gap: 2rem; }
    .mail-btn2 { width: 100%; justify-content: center; font-size: 12px; }

    /* ── Partenaires instit ─────────────────────────────────── */
    .instit-section { padding: 3rem 1.1rem; }
    .instit-grid { grid-template-columns: 1fr; gap: 10px; }
    .instit-card { padding: 1.2rem; }

    /* ── Footer ─────────────────────────────────────────────── */
    footer { padding: 2.5rem 1.1rem; }
    .footer-inner { flex-direction: column; gap: 1.8rem; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 4px; }

    /* ── Médias carrousel ───────────────────────────────────── */
    .medias-track { gap: 2rem; }
    .media-item { min-width: 80px; height: 40px; }
    .media-item img { height: 30px; }
}

/* ============================================================
   TRÈS PETIT  ≤ 380px  (petits Android, vieux iPhones)
   ============================================================ */
@media (max-width: 380px) {
    .hero h1 { font-size: 1.6rem !important; }
    .nav-cta { display: none; }  /* trop serré, le hamburger suffit */

    .bento {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(5, 130px) !important;
    }
    .bc1, .bc2, .bc3, .bc4 {
        grid-column: 1/2 !important;
        grid-row: auto !important;
    }
    .bc5 { grid-column: 1/2 !important; grid-row: auto !important; }
    .actu-media { grid-template-columns: 1fr; }
}