/* =========================
    VARIABLES & BASE
    ========================= */
    :root {
    --bg: #f6f9f7;
    --bg-soft: #ffffff;
    --text: #1f2933;
    --muted: #5f6c76;
    --primary: #3fa86b;      /* vert doux */
    --accent: #9be564;       /* vert luciole */
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    }

    .dark {
    --bg: #0b1f1a;
    --bg-soft: #102924;
    --text: #e5f4ee;
    --muted: #a3c7bb;
    --primary: #6ee7a0;
    --accent: #c7ff5e;       /* jaune-vert luciole */
    --border: #1f4036;
    --shadow: 0 20px 40px rgba(0,0,0,.45);
    }

    * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    }

    body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, var(--bg), #00000000), var(--bg);
    color: var(--text);
    line-height: 1.6;
    }

    img {
    max-width: 100%;
    display: block;
    }

    a {
    color: inherit;
    text-decoration: none;
    }

    .container {
    max-width: 1100px;
    padding: 0 1.5rem;
    margin: auto;
    }

    /* =========================
        TYPOGRAPHIE
        ========================= */
    h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
    }

    h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    }

    h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    }

    h3 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
    }

    .dark h1,
    .dark h2,
    .dark h3 {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(199,255,94,.35);
    }

    .coloraccent{
        color: var(--accent);
        text-shadow: 0 0 12px rgba(199,255,94,.35);
    }

    .slogan{
        margin-left: 1rem;
        font-style: italic;
    }

    p {
    color: var(--muted);
    }

    /* =========================
        HEADER
        ========================= */
    header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
    }

    .dark header {
    background: rgba(16,41,36,.7);
    }

    .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    }

    .nav a {
    margin-left: 1.5rem;
    font-weight: 500;
    }

    .toggle {
    border: 1px solid var(--border);
    background: var(--bg-soft);
    padding: .4rem .8rem;
    margin-left: 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: .9rem;
    }

    /* =========================
        HERO
        ========================= */
    .hero {
    padding: 4rem 0 0;
    }

    .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    }

    .hero-card {
    background: var(--bg-soft);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    }

    .badge {
    display: inline-block;
    background: rgba(155,229,100,.15);
    color: var(--primary);
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: .85rem;
    margin-bottom: 1rem;
    }

    .btn {
    display: inline-block;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #083f2b;
    padding: .8rem 1.4rem;
    border-radius: .9rem;
    font-weight: 600;
    }

    /* =========================
        SECTIONS
        ========================= */
    section {
    padding: 5rem 0 0;
    }

    section#contact{
    padding-bottom: 2rem;
    }

    .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    }

    .card {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    }

    /* =========================
        CONTACT
        ========================= */
    form {
    display: grid;
    gap: 1rem;
    max-width: 500px;
    }

    input, textarea {
    width: 100%;
    padding: .7rem .9rem;
    border-radius: .7rem;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--text);
    font-family: inherit;
    }

    textarea {
    min-height: 120px;
    resize: vertical;
    }

    /* =========================
        FOOTER
        ========================= */
    footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    font-size: .9rem;
    color: var(--muted);
    }

    /* =========================
        RESPONSIVE
        ========================= */
    @media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
    }

/* =========================
   LUCIOLE ORBITALE
   ========================= */

   .luciole-orbite {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 6px;
    height: 6px;
    pointer-events: none;
  
    background: radial-gradient(circle, #f6ff9d 0%, #b6ff5f 45%, transparent 70%);
    border-radius: 50%;
  
    filter: blur(0.3px);
    box-shadow:
      0 0 8px rgba(199,255,94,.8),
      0 0 16px rgba(199,255,94,.5);
  
    animation: luciole-huit 2s linear infinite;
  }
  
  /* traînée */
  .luciole-orbite::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: 50%;
    filter: blur(6px);
    opacity: .35;
    transform: scale(1.8);
  }

  @keyframes luciole-huit {
    0% {
      transform: translate(0, 0);
    }
  
    25% {
      transform: translate(18px, -10px);
    }
  
    50% {
      transform: translate(0, 0);
    }
  
    75% {
      transform: translate(-18px, 10px);
    }
  
    100% {
      transform: translate(0, 0);
    }
  }
  