/* ── TOKENS "TERRE & TECHNOLOGIE" ───────────────────────────── */
    :root {
      --primary:      #E87C2A;  /* Latérite — orange africain chaud */
      --primary-dark: #C5611A;
      --primary-glow: rgba(232,124,42,.3);
      --success:      #2DD4A0;  /* Vert végétal */
      --bg:           #0B0D12;  /* Onyx profond */
      --surface-1:    #13161F;  /* Ardoise */
      --surface-2:    #1C2030;  /* Carte */
      --surface-3:    #242938;  /* Carte hover */
      --border:       rgba(255,255,255,.07);
      --border-warm:  rgba(232,124,42,.25);
      --text:         #F0EDE8;  /* Sable clair */
      --text-muted:   #8892A4;
      --text-warm:    #D4A574;  /* Terre chaude */
      --font:         'Outfit', system-ui, sans-serif;
      --radius:       16px;
      --radius-lg:    24px;
      --radius-full:  999px;
      --maxw:         1200px;
      --transition:   .2s ease;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ── FOND TEXTURE TERRE ─────────────────────────────────────── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 20% -10%, rgba(232,124,42,.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 110%, rgba(45,212,160,.05) 0%, transparent 55%);
      pointer-events: none;
      z-index: 0;
    }

    /* ── UTILITAIRES ────────────────────────────────────────────── */
    a { color: inherit; text-decoration: none; }
    /* Accessibilité : focus clavier visible sur tous les éléments interactifs */
    a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
      outline: 3px solid var(--primary);
      outline-offset: 3px;
      border-radius: 6px;
    }
    .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
    h1,h2,h3 { font-family: var(--font); letter-spacing: -.5px; }
    .accent { color: var(--primary); }
    .accent-green { color: var(--success); }

    /* ── BOUTONS ────────────────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: .55rem;
      font-weight: 700; font-family: var(--font);
      border-radius: var(--radius-full);
      padding: .85rem 1.8rem; font-size: .97rem;
      transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
      cursor: pointer; border: none;
    }
    .btn-primary {
      background: linear-gradient(135deg, #E87C2A, #F5A048);
      color: #0B0D12;
      box-shadow: 0 0 0 1px var(--border-warm), 0 8px 32px -8px rgba(232,124,42,.5);
    }
    .btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 40px -8px rgba(232,124,42,.6); }
    .btn-ghost {
      border: 1.5px solid var(--border-warm);
      color: var(--primary);
      background: rgba(232,124,42,.04);
    }
    .btn-ghost:hover { background: rgba(232,124,42,.1); box-shadow: 0 0 24px -6px rgba(232,124,42,.4); }
    .btn-wa {
      background: linear-gradient(135deg, #25D366, #128C7E);
      color: #fff;
      box-shadow: 0 8px 24px -8px rgba(37,211,102,.4);
    }
    .btn-wa:hover { transform: translateY(-2px); filter: brightness(1.08); }

    /* ── HEADER ─────────────────────────────────────────────────── */
    header {
      position: sticky; top: 0; z-index: 50;
      background: rgba(11,13,18,.82);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
    }
    .nav { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; }
    .brand { display: flex; align-items: center; gap: .7rem; }
    .brand img { width: 38px; height: 38px; filter: drop-shadow(0 0 8px rgba(232,124,42,.5)); }
    .brand-name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.3px; }
    .navlinks { display: flex; gap: 1.6rem; align-items: center; }
    .navlinks a:not(.btn) { color: var(--text-muted); font-weight: 500; font-size: .93rem; transition: color var(--transition); }
    .navlinks a:not(.btn):hover { color: var(--primary); }
    .navlinks .btn { padding: .55rem 1.2rem; font-size: .875rem; }
    /* ── BURGER MOBILE ──────────────────────────────────────────── */
    .nav-burger {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: 1px solid var(--border-warm);
      border-radius: 10px; cursor: pointer;
      width: 44px; height: 44px; align-items: center; justify-content: center;
    }
    .nav-burger span { display: block; width: 20px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
    .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    @media (max-width: 820px) {
      .nav-burger { display: flex; }
      .navlinks {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: .2rem;
        background: rgba(11,13,18,.98); backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: .8rem 24px 1.4rem; display: none;
      }
      .navlinks.open { display: flex; }
      .navlinks a:not(.btn) { display: block; padding: .9rem .2rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
      .navlinks .btn { justify-content: center; margin-top: .6rem; padding: .9rem 1.2rem; }
    }

    /* ── HERO ───────────────────────────────────────────────────── */
    .hero { text-align: center; padding: 6rem 0 5rem; }
    .hero-logo {
      width: 120px; height: 120px; margin: 0 auto 2rem;
      filter: drop-shadow(0 0 20px rgba(232,124,42,.4)) drop-shadow(0 0 40px rgba(232,124,42,.2));
      animation: float 6s ease-in-out infinite;
    }
    @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
    .badge {
      display: inline-block;
      border: 1px solid var(--border-warm);
      border-radius: var(--radius-full);
      padding: .35rem 1.1rem; font-size: .78rem;
      letter-spacing: 1.8px; text-transform: uppercase;
      color: var(--primary); margin-bottom: 1.6rem;
      background: rgba(232,124,42,.05);
    }
    .hero h1 {
      font-size: clamp(2.4rem, 5.5vw, 4.2rem);
      font-weight: 900; line-height: 1.05;
      max-width: 15ch; margin: 0 auto;
    }
    .hero .lead {
      color: var(--text-muted); font-size: 1.15rem;
      max-width: 580px; margin: 1.4rem auto 0;
    }
    .slogan {
      font-weight: 700; font-size: 1.1rem;
      margin: 2rem 0 2.2rem; color: var(--text-warm);
      letter-spacing: .3px;
    }
    .hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

    /* ── STATS BAR ──────────────────────────────────────────────── */
    .stats-bar {
      background: var(--surface-1);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 1.4rem 0;
    }
    .stats-row { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
    .stat { text-align: center; }
    .stat-value { font-size: 1.9rem; font-weight: 800; color: var(--primary); }
    .stat-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: .1rem; }

    /* ── SECTION HEADER ─────────────────────────────────────────── */
    section { padding: 5rem 0; }
    .sec-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
    .kicker {
      display: inline-block; font-weight: 700;
      letter-spacing: 2px; text-transform: uppercase;
      font-size: .78rem; margin-bottom: .7rem;
    }
    .kicker-primary { color: var(--primary); }
    .kicker-green { color: var(--success); }
    .sec-head h2 {
      font-size: clamp(1.8rem, 3.8vw, 2.7rem);
      font-weight: 800; margin-top: .4rem;
    }
    .sec-head p { color: var(--text-muted); margin-top: .7rem; font-size: 1.05rem; }

    /* ── GRILLE SERVICES ────────────────────────────────────────── */
    .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
    .card {
      position: relative;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2rem; overflow: hidden;
      transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    }
    .card::after {
      content: '';
      position: absolute; inset: 0; border-radius: var(--radius-lg);
      background: linear-gradient(135deg, rgba(232,124,42,.06), rgba(45,212,160,.04));
      opacity: 0; transition: opacity var(--transition);
    }
    .card:hover { transform: translateY(-5px); border-color: var(--border-warm); box-shadow: 0 20px 60px -20px rgba(232,124,42,.25); }
    .card:hover::after { opacity: 1; }
    .card-icon {
      font-size: 1.8rem; width: 54px; height: 54px;
      border-radius: 14px; display: grid; place-items: center;
      background: rgba(232,124,42,.1);
      border: 1px solid rgba(232,124,42,.2);
      margin-bottom: 1.2rem; position: relative; z-index: 1;
    }
    .card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .3rem; position: relative; z-index: 1; }
    .card .tag { color: var(--primary); font-size: .8rem; font-weight: 600; letter-spacing: .5px; margin-bottom: .7rem; position: relative; z-index: 1; }
    .card p { color: var(--text-muted); font-size: .96rem; line-height: 1.65; position: relative; z-index: 1; }

    /* ── SECTION TEMOIN ─────────────────────────────────────────── */
    .temoin-wrap {
      border-radius: var(--radius-lg); padding: 3.5rem;
      text-align: center; position: relative; overflow: hidden;
      background: linear-gradient(135deg, rgba(232,124,42,.08), rgba(45,212,160,.06));
      border: 1px solid var(--border-warm);
    }
    .temoin-wrap::before {
      content: '';
      position: absolute; top: -50%; left: -50%;
      width: 200%; height: 200%;
      background: radial-gradient(ellipse at center, rgba(232,124,42,.05) 0%, transparent 60%);
    }
    .temoin-wrap h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; max-width: 20ch; margin: 0 auto; position: relative; }
    .temoin-wrap p { color: var(--text-muted); max-width: 560px; margin: 1rem auto 0; position: relative; }

    /* ── CONTACT ────────────────────────────────────────────────── */
    .contact-grid {
      display: grid; grid-template-columns: 1.2fr 1fr;
      gap: 2.5rem; align-items: center;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg); padding: 3rem;
    }
    @media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; padding: 2rem; } }
    .contact-grid h2 { font-size: 2rem; font-weight: 800; }
    .contact-info { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .7rem; color: var(--text-muted); font-size: 1rem; }
    .contact-info a:hover { color: var(--primary); }
    .contact-actions { display: flex; flex-direction: column; gap: .9rem; }

    /* ── FOOTER ─────────────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 2.5rem 0; text-align: center;
      color: var(--text-muted); font-size: .88rem;
    }
    .footer-brand { display: flex; align-items: center; gap: .7rem; justify-content: center; margin-bottom: .8rem; }
    .footer-brand img { width: 32px; height: 32px; filter: drop-shadow(0 0 6px rgba(232,124,42,.4)); }
    .footer-brand span { font-weight: 800; font-size: 1.05rem; color: var(--text); }
    footer p { margin-top: .4rem; }
    footer .poles { color: #9AA6B8; font-size: .83rem; margin-top: .4rem; }

    /* ── SCROLL REVEAL (animation d'entrée) ─────────────────────── */
    .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* ── SECTION ECOSYSTEME ──────────────────────────────────────── */
    .ecosystem-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
      margin-top: 2rem;
    }
    @media (max-width: 900px) {
      .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
    }
    .ecosystem-visual {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border-warm);
      box-shadow: 0 12px 40px -12px rgba(232,124,42,.3);
    }
    .ecosystem-visual img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform .5s ease;
    }
    .ecosystem-visual:hover img {
      transform: scale(1.03);
    }
    .ecosystem-content {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    .ecosystem-intro h3 {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: .5rem;
    }
    .ecosystem-intro p {
      color: var(--text-muted);
      font-size: 1rem;
      line-height: 1.6;
    }
    .project-links {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }
    .project-link-card {
      display: flex;
      gap: 1.2rem;
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      transition: border-color var(--transition), background var(--transition);
    }
    .project-link-card:hover {
      border-color: var(--border-warm);
      background: var(--surface-3);
    }
    .project-link-icon {
      font-size: 1.5rem;
      width: 44px;
      height: 44px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: rgba(255,255,255,.03);
      border: 1px solid var(--border);
      flex-shrink: 0;
    }
    .project-link-card:hover .project-link-icon {
      background: rgba(232,124,42,.1);
      border-color: rgba(232,124,42,.3);
    }
    .project-link-text {
      display: flex;
      flex-direction: column;
      gap: .3rem;
    }
    .project-link-text h4 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text);
    }
    .project-link-text p {
      color: var(--text-muted);
      font-size: .88rem;
      line-height: 1.5;
    }
    .project-btn {
      display: inline-block;
      color: var(--primary);
      font-size: .88rem;
      font-weight: 700;
      margin-top: .4rem;
      transition: color var(--transition);
    }
    .project-btn:hover {
      color: var(--text);
    }

/* ══════════════════════════════════════════════════════════════════
   PAGES INTERNES (activites, contact) — ajout Lot 3/4
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero de page interne ─────────────────────────────────────── */
.page-hero { text-align: center; padding: 4.5rem 0 2.5rem; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; line-height: 1.08; max-width: 20ch; margin: .6rem auto 0; }
.page-hero .lead { color: var(--text-muted); font-size: 1.1rem; max-width: 620px; margin: 1.2rem auto 0; }

/* ── Fil d'Ariane ─────────────────────────────────────────────── */
.breadcrumb { font-size: .82rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-warm); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 .4rem; opacity: .5; }

/* ── Lignes d'activité (alternées) ────────────────────────────── */
.activity { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
.activity:nth-child(even) .activity-media { order: 2; }
@media (max-width: 860px) { .activity { grid-template-columns: 1fr; gap: 1.6rem; } .activity:nth-child(even) .activity-media { order: 0; } }
.activity-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: .3rem; }
.activity-text .tag { color: var(--primary); font-size: .82rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: .9rem; display: block; }
.activity-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.activity-list { list-style: none; display: grid; gap: .55rem; margin: 1.1rem 0 1.4rem; }
.activity-list li { position: relative; padding-left: 1.7rem; color: var(--text); font-size: .96rem; }
.activity-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* ── Tarifs indicatifs (issus du catalogue prod) ──────────────── */
.tarif { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .55rem; margin: 0 0 1.4rem; }
.tarif .tarif-label {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-warm); margin-right: .2rem;
}
.tarif .price {
  display: inline-flex; align-items: center; font-size: .86rem; font-weight: 600;
  color: var(--text); background: rgba(232,124,42,.10);
  border: 1px solid var(--border-warm); border-radius: var(--radius-full);
  padding: .3rem .7rem; white-space: nowrap;
}
.tarif .price b { color: var(--primary); font-weight: 800; margin-left: .3rem; }
.tarif .tarif-note { font-size: .82rem; color: var(--text-muted); }

/* ── Emplacement photo (avant photos réelles) ─────────────────── */
/* Tuile de marque décorative (accompagne chaque activité). Devient un <img> réel
   quand les photos sont fournies — d'ici là, elle est INTENTIONNELLE, pas un
   emplacement « à venir » (qui donnait une image d'entreprise inachevée). */
.photo-ph {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(232,124,42,.10), transparent 70%),
    linear-gradient(135deg, rgba(232,124,42,.05), rgba(45,212,160,.03)), var(--surface-1);
  display: grid; place-items: center; text-align: center; padding: 1.5rem; overflow: hidden;
}
.photo-ph .ph-emoji { font-size: 4.2rem; opacity: .38; filter: grayscale(.1); }
.photo-ph .ph-label { display: none; }
.activity-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border-warm); display: block; }

/* ── Contact : coordonnées, horaires, carte ───────────────────── */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .contact-cols { grid-template-columns: 1fr; } }
.info-block { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.info-block h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.1rem; }
.info-line { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; color: var(--text); font-size: 1rem; }
.info-line .ic { font-size: 1.2rem; flex-shrink: 0; }
.info-line a:hover { color: var(--primary); }
.info-line small { display: block; color: var(--text-muted); font-size: .82rem; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours-table td { padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.hours-table td:last-child { text-align: right; color: var(--text-warm); font-weight: 600; }
.hours-table tr:last-child td { border-bottom: none; }
.map-embed { margin-top: 2.5rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-warm); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }
.contact-cta { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.4rem; }

/* ── Carte de localisation (remplace l'iframe Maps, rendu garanti) ── */
.map-card {
  display: flex; align-items: center; gap: 1.3rem; margin-top: 2.5rem;
  background: linear-gradient(135deg, rgba(232,124,42,.08), rgba(45,212,160,.05)), var(--surface-2);
  border: 1px solid var(--border-warm); border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem; transition: transform var(--transition), box-shadow var(--transition);
}
.map-card:hover { transform: translateY(-3px); box-shadow: 0 16px 44px -18px rgba(232,124,42,.35); }
.map-card-pin {
  font-size: 1.9rem; width: 60px; height: 60px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 16px;
  background: rgba(232,124,42,.12); border: 1px solid rgba(232,124,42,.25);
}
.map-card-body { display: flex; flex-direction: column; gap: .25rem; }
.map-card-body strong { font-size: 1.1rem; color: var(--text); }
.map-card-body span { color: var(--text-muted); font-size: .95rem; }
.map-card-cta { color: var(--primary) !important; font-weight: 700; margin-top: .35rem; }
