/* ===== VARIABLES ===== */
    :root {
      --bg-main: #f6f1e8;
      --bg-card: rgba(255,252,247,0.92);
      --text-main: #1a1a1a;
      --text-muted: #5a554f;
      --ocre: #a67c2e;
      --max: 1040px;
      --radius: 14px;
    }

    /* ===== RESET & BASE ===== */
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    html, body {
      margin: 0;
      background: radial-gradient(circle at 20% 20%, #fdfaf5 0%, #f4eee5 40%, #efe6da 100%);
      color: var(--text-main);
      font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      line-height: 1.6;
    }

    a { color: var(--text-main); text-decoration: none; }
    img { max-width: 100%; display: block; }

    /* ===== LAYOUT ===== */
    .container {
      width: min(calc(100% - 40px), var(--max));
      margin: 0 auto;
    }

    section { padding: 48px 0; }

    /* ===== NAV ===== */
    .nav {
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: blur(8px);
      background: rgba(255,255,255,0.6);
      border-bottom: 1px solid rgba(26,26,26,0.08);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      min-height: 76px;
    }

    .brand {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 12px;
    }

    .brand-logo { height: 34px; width: auto; }

    .brand span {
      font-size: 0.84rem;
      color: var(--text-muted);
    }

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

    .nav-links a {
      color: var(--text-muted);
      font-size: 0.96rem;
    }

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

    /* ===== BUTTONS ===== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 22px;
      border-radius: 999px;
      border: 1px solid rgba(26,26,26,0.15);
      font-weight: 600;
      font-family: inherit;
      transition: 0.25s ease;
      cursor: pointer;
    }

    .btn-primary {
      background: #111;
      color: #fff;
      border: none;
    }

    .btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

    .btn-secondary {
      background: rgba(255,255,255,0.6);
      color: var(--text-main);
    }

    .btn-secondary:hover { background: rgba(255,255,255,0.85); }

    /* ===== HERO ===== */
    .hero { padding: 88px 0 72px; }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 36px;
      align-items: stretch;
    }

    .eyebrow {
      display: inline-flex;
      padding: 8px 14px;
      border: 1px solid rgba(26,26,26,0.15);
      border-radius: 999px;
      font-size: 0.82rem;
      color: var(--text-muted);
      background: rgba(255,255,255,0.5);
      margin-bottom: 18px;
    }

    h1 {
      margin: 0 0 18px;
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      line-height: 1.08;
      letter-spacing: -0.03em;
      max-width: 16ch;
    }

    h2 {
      margin: 0 0 14px;
      font-size: clamp(2rem, 3.6vw, 2.8rem);
      line-height: 1.1;
      letter-spacing: -0.03em;
      max-width: 22ch;
    }

    .hero p.lead {
      font-size: 1.08rem;
      color: var(--text-muted);
      max-width: 62ch;
      margin: 0 0 18px;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin: 28px 0 20px;
    }

    .hero-notes {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(255,255,255,0.5);
      border: 1px solid rgba(26,26,26,0.1);
      color: var(--text-muted);
      font-size: 0.88rem;
    }

    /* ===== CARDS ===== */
    .card,
    .hero-card,
    .quote-card,
    .cta-card,
    .cta-box {
      background: var(--bg-card);
      backdrop-filter: blur(6px);
      border-radius: var(--radius);
      padding: 26px;
    }

    .hero-card {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 100%;
    }

    .hero-card h3, .card h3 {
      margin: 0 0 14px;
      font-size: 1.15rem;
      letter-spacing: -0.02em;
    }

    .hero-card .metric { display: grid; gap: 14px; margin-top: 18px; }

    .metric-item {
      padding: 14px 0;
      border-top: 1px solid rgba(26,26,26,0.08);
    }

    .metric-item strong {
      display: block;
      font-size: 1rem;
      margin-bottom: 4px;
    }

    .metric-item span { color: var(--text-muted); font-size: 0.92rem; }

    /* ===== SECTIONS ===== */
    .section-head { max-width: 760px; margin-bottom: 32px; }

    .section-head .kicker {
      color: var(--ocre);
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-size: 0.75rem;
      margin-bottom: 12px;
      display: inline-block;
    }

    .section-head p {
      margin: 0 0 14px;
      color: var(--text-muted);
      font-size: 1rem;
      max-width: 62ch;
      line-height: 1.65;
    }

    /* ===== GRIDS ===== */
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

    /* ===== TEXT ===== */
    p, li {
      line-height: 1.65;
      max-width: 62ch;
      color: var(--text-main);
    }

    .card p { color: var(--text-muted); margin: 0 0 14px; }

    /* ===== LISTS ===== */
    .list {
      margin: 16px 0 0;
      padding: 0;
      list-style: disc;
      padding-left: 18px;
      display: grid;
      gap: 8px;
    }

    .list li { color: var(--text-muted); }
    .list li::marker { color: var(--ocre); }

    ul li::marker { color: var(--ocre); }

    /* ===== OFFERS ===== */
    .offer {
      display: grid;
      grid-template-columns: 88px 1fr;
      gap: 20px;
      align-items: start;
    }

    .offer-num {
      width: 58px;
      height: 58px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: rgba(166,124,46,0.1);
      border: 1px solid rgba(166,124,46,0.2);
      color: var(--ocre);
      font-weight: 700;
      font-size: 1.3rem;
    }

    .offer blockquote {
      margin: 16px 0 0;
      padding: 14px 16px;
      border-left: 3px solid var(--ocre);
      background: rgba(166,124,46,0.06);
      border-radius: 0 10px 10px 0;
      color: var(--text-muted);
      font-style: italic;
    }

    /* ===== TIMELINE ===== */
    .timeline { display: grid; gap: 14px; }

    .step {
      display: grid;
      grid-template-columns: 54px 1fr;
      gap: 16px;
      align-items: start;
      padding: 16px;
      border-radius: 12px;
      border: 1px solid rgba(26,26,26,0.08);
      background: rgba(255,255,255,0.5);
    }

    .step-index {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: rgba(166,124,46,0.1);
      color: var(--ocre);
      font-weight: 700;
    }

    /* ===== QUOTE CARD ===== */
    .quote-card {
      padding: 34px;
      text-align: center;
    }

    .quote-card p {
      font-size: clamp(1.3rem, 2.5vw, 1.8rem);
      line-height: 1.3;
      letter-spacing: -0.02em;
      margin: 0;
      color: var(--text-main);
      max-width: none;
    }

    .quote-card span {
      display: block;
      margin-top: 16px;
      color: var(--text-muted);
      font-size: 0.92rem;
    }

    /* ===== CTA ===== */
    .cta { padding-bottom: 80px; }

    .cta-card {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 28px;
      align-items: center;
    }

    .cta-card h2 { margin: 0 0 10px; }
    .cta-card > div > p { margin: 0; color: var(--text-muted); max-width: 58ch; }

    .cta-box {
      background: rgba(255,255,255,0.7);
      border: 1px solid rgba(26,26,26,0.1);
    }

    .cta-box strong {
      display: block;
      margin-bottom: 10px;
      font-size: 1rem;
    }

    .cta-box p { margin: 0 0 16px; color: var(--text-muted); max-width: none; }

    /* ===== FOOTER ===== */
    .footer {
      padding: 0 0 34px;
      color: var(--text-muted);
      font-size: 0.88rem;
      background: rgba(255,255,255,0.6);
      backdrop-filter: blur(8px);
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding-top: 20px;
      border-top: 1px solid rgba(26,26,26,0.08);
      flex-wrap: wrap;
    }

    /* ===== INTERVENTION ===== */
    #intervention .grid-2 { align-items: start; }
    #intervention .card p + p { margin-top: 16px; }

    /* ===== GRAIN ===== */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 9999;
      pointer-events: none;
      opacity: 0.032;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 300px 300px;
    }

    /* ===== HERO GEOMETRIC MOTIF ===== */
    .hero { position: relative; overflow: hidden; }
    .hero-motif {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }
    .hero > .container { position: relative; z-index: 1; }

    /* ===== SCROLL REVEAL ===== */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .revealed       { animation: fadeUp 0.6s ease both; }
    .revealed-d1    { animation: fadeUp 0.6s 0.1s ease both; }
    .revealed-d2    { animation: fadeUp 0.6s 0.2s ease both; }
    .revealed-d3    { animation: fadeUp 0.6s 0.3s ease both; }

    /* ===== QUOTE CARD ACCENT ===== */
    .quote-card { position: relative; overflow: hidden; }
    .quote-card::before {
      content: '';
      position: absolute;
      left: 0; top: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--ocre) 30%, var(--ocre) 70%, transparent);
      opacity: 0.5;
    }


    /* ===== MANIFESTO ===== */
    .hero-manifesto {
      font-size: clamp(1.05rem, 1.8vw, 1.3rem);
      line-height: 1.65;
      color: var(--text-main);
      font-weight: 400;
      letter-spacing: 0.01em;
      margin: 0 0 28px;
      padding: 20px 24px;
      border-left: 3px solid var(--ocre);
      background: rgba(166,124,46,0.05);
      border-radius: 0 10px 10px 0;
    }

    .manifesto-brand {
      font-weight: 700;
      color: var(--text-main);
    }

    /* ===== PROFIL ===== */
    .profil-grid {
      display: grid;
      grid-template-columns: 340px 1fr;
      gap: 52px;
      align-items: start;
    }

    .profil-photo-wrap {
      position: sticky;
      top: 96px;
    }

    .profil-photo {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      object-position: center top;
      border-radius: 18px;
      display: block;
      filter: grayscale(8%) contrast(1.02);
    }

    .profil-text p {
      margin: 0 0 18px;
      color: var(--text-muted);
      line-height: 1.75;
      font-size: 1rem;
    }

    .profil-lead {
      font-size: 1.12rem !important;
      color: var(--text-main) !important;
      font-weight: 500;
      margin-bottom: 22px !important;
    }

    .profil-text strong { color: var(--text-main); font-weight: 600; }

    .profil-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 28px;
    }

    @media (max-width: 860px) {
      .profil-grid { grid-template-columns: 1fr; gap: 32px; }
      .profil-photo-wrap { position: static; }
      .profil-photo { max-width: 280px; }
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 980px) {
      .hero-grid,
      .cta-card,
      .grid-3,
      .grid-2 { grid-template-columns: 1fr; }

      .nav-inner {
        min-height: auto;
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (max-width: 640px) {
      .container { width: min(calc(100% - 28px), var(--max)); }
      .hero { padding-top: 56px; }
      .card, .hero-card, .cta-card, .quote-card { padding: 20px; }
      .offer { grid-template-columns: 1fr; }
      .offer-num { width: 52px; height: 52px; }
    }

/* Compatibility */
.reveal { animation: fadeUp 0.6s ease both; }

/* ===== AJOUTS CORRECTIFS ===== */

/* Geo subtitle dans positionnement */
.section-geo {
  margin: -8px 0 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Sous-titres dans les cards */
.card-subhead { margin-top: 28px; }
.card-subhead-h3 { margin-top: 20px; font-size: 1rem; }

/* Grid offres */
.offers-grid { display: grid; gap: 24px; }

/* Logo citation */
.quote-logo {
  height: 28px;
  width: auto;
  display: inline-block;
  margin-top: 10px;
  opacity: 0.75;
}

/* Footer logo */
.footer-logo { height: 24px; width: auto; opacity: 0.6; }

/* Scroll reveal — état initial (invisible avant l'animation) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}
