/* ==========================================================
   Energies 38 · DA : vert forêt · vert lime · ambre coucher de soleil
   ========================================================== */
:root {
  --forest-900: #0b1f15;
  --forest-800: #102a1d;
  --forest-700: #163a28;
  --forest-500: #2e6b47;
  --lime: #b8e02f;
  --lime-600: #9cc41a;
  --amber: #f5a524;
  --sunset: #e8711c;
  --cream: #f7f4ec;
  --sand: #ede7d8;
  --ink: #14211a;
  --muted: #5d6b62;
  --white: #fff;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(11, 31, 21, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--forest-500);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker--lime { color: var(--lime); }
.muted { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--forest-900); box-shadow: 0 10px 30px -10px rgba(184, 224, 47, .7); }
.btn--lime:hover { background: #c9ee45; }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .14); }
.btn--dark { background: var(--forest-800); color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0; transition: background .4s, padding .4s, box-shadow .4s;
}
.header.is-scrolled { background: rgba(11, 31, 21, .88); backdrop-filter: blur(14px); padding: 10px 0; box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5); }
.header__inner { display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.logo__mark { width: 30px; height: 40px; flex: none; color: var(--lime); }
.logo__mark svg { display: block; width: 100%; height: 100%; }
.logo__text { letter-spacing: -.03em; }
.logo__text span { color: var(--lime); margin-left: .18em; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--lime); transition: width .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn):hover::after { width: 100%; }
.header__phone { display: none; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: -8% 0 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 31, 21, .92) 0%, rgba(11, 31, 21, .7) 42%, rgba(11, 31, 21, .1) 75%),
    linear-gradient(0deg, rgba(11, 31, 21, .75) 0%, transparent 35%);
}
.hero__content { padding: 140px 0 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(184, 224, 47, .7); animation: pulse 2s infinite; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; margin: 26px 0 22px; max-width: 900px; }
.hero__title em { font-style: normal; color: var(--amber); }
.hero__title em.lime { color: var(--lime); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 600px; color: rgba(255, 255, 255, .85); }
.hero__lead strong { color: var(--white); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 44px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.badges li { padding: 10px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; color: rgba(255, 255, 255, .8); }
.badges b { color: var(--lime); font-family: var(--font-head); margin-right: 4px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--lime); transform: translateX(-50%); animation: scrollDot 1.8s infinite; }

/* ---------- Marquee ---------- */
.marquee { background: var(--lime); color: var(--forest-900); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: -18px; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 30s linear infinite; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--forest-500); }

/* ---------- Stats ---------- */
.stats { padding: 80px 0 30px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 rgba(0, 0, 0, .04); border: 1px solid var(--sand); }
.stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--forest-700); letter-spacing: -.03em; }
.stat__label { color: var(--muted); font-size: .95rem; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--forest-800); color: var(--white); min-height: 360px; display: flex; align-items: flex-end; isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 31, 21, .95) 0%, rgba(11, 31, 21, .55) 50%, rgba(11, 31, 21, .1) 100%); transition: background .5s; }
.card:hover img { transform: scale(1.07); }
.card__body { padding: 28px; }
.card__body p { color: rgba(255, 255, 255, .78); font-size: .96rem; margin: 0; }
.card__tag { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(184, 224, 47, .15); color: var(--lime); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.card--big { grid-row: span 2; min-height: 560px; }
.card--big h3 { font-size: 1.8rem; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; font-size: .95rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--forest-900); font-size: .72rem; display: grid; place-items: center; font-weight: 700; margin-top: 3px; }

/* ---------- Simulateur ---------- */
.simu { color: var(--white); background: var(--forest-900); overflow: hidden; }
.simu__bg { position: absolute; inset: 0; opacity: .28; }
.simu__bg img { width: 100%; height: 100%; object-fit: cover; }
.simu::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(245, 165, 36, .25), transparent 55%), linear-gradient(90deg, var(--forest-900) 25%, rgba(11, 31, 21, .6)); }
.simu__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.simu__intro p { color: rgba(255, 255, 255, .78); font-size: 1.08rem; max-width: 460px; }
.simu__panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.field { border: 0; padding: 0; margin: 0 0 24px; }
.field > label, .field > legend { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 12px; font-size: .96rem; padding: 0; width: 100%; }
.field output { font-family: var(--font-head); font-weight: 700; color: var(--lime); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--lime) var(--p, 30%), rgba(255, 255, 255, .18) var(--p, 30%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 5px solid var(--lime); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 5px solid var(--lime); cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input, .tiles input, .switch input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); font-size: .9rem; cursor: pointer; transition: all .25s; }
.chips input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--forest-900); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .95rem; margin-bottom: 26px; }
.switch__ui { width: 46px; height: 26px; border-radius: 26px; background: rgba(255, 255, 255, .2); position: relative; transition: background .3s; flex-shrink: 0; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .3s var(--ease); }
.switch input:checked + .switch__ui { background: var(--lime); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.result { padding: 16px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .22); }
.result__label { display: block; font-size: .8rem; color: rgba(255, 255, 255, .65); }
.result__val { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; }
.result--hl { background: linear-gradient(135deg, var(--amber), var(--sunset)); }
.result--hl .result__label { color: rgba(255, 255, 255, .9); }
.gauge { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.gauge__bar { height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--lime), var(--amber)); transition: width .8s var(--ease); }
.gauge__legend { font-size: .88rem; color: rgba(255, 255, 255, .75); margin: 10px 0 22px; }
.gauge__legend span { color: var(--lime); font-weight: 700; }
.fine { font-size: .75rem; color: rgba(255, 255, 255, .5); margin: 14px 0 0; }

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about__badge { position: absolute; right: -24px; bottom: 40px; background: var(--lime); color: var(--forest-900); padding: 22px 26px; border-radius: 18px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.about__badge b { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; }
.about__badge span { font-size: .88rem; font-weight: 500; }
.about__text > p { color: var(--muted); font-size: 1.05rem; }
.features { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.features li { display: flex; gap: 14px; }
.features b { display: block; font-family: var(--font-head); margin-bottom: 2px; }
.features div { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.features__ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--forest-800); color: var(--lime); font-weight: 700; }

/* ---------- Méthode ---------- */
.method { background: var(--sand); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--forest-500) 0 8px, transparent 8px 16px); opacity: .35; }
.step { position: relative; background: var(--cream); border-radius: var(--radius); padding: 28px; transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__n { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--forest-800); color: var(--lime); font-family: var(--font-head); font-weight: 700; margin-bottom: 18px; position: relative; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Réalisations ---------- */
.works__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.work { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover img { transform: scale(1.08); }
.work figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(11, 31, 21, .78); backdrop-filter: blur(10px); color: var(--white); transform: translateY(10px); opacity: .92; transition: transform .4s var(--ease), opacity .4s; }
.work:hover figcaption { transform: none; opacity: 1; }
.work figcaption b { display: block; font-family: var(--font-head); font-size: .98rem; }
.work figcaption span { font-size: .82rem; color: var(--lime); }
.work--tall { grid-row: span 2; grid-column: span 2; }
.work--wide { grid-column: span 2; }

/* ---------- Avis ---------- */
.reviews { background: var(--forest-800); color: var(--white); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.review p { color: rgba(255, 255, 255, .8); font-style: italic; }
.review cite { font-style: normal; font-weight: 600; font-size: .9rem; color: var(--lime); }
.stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro p { color: var(--muted); }
.accordion details { border-bottom: 1px solid #d9d2c0; }
.accordion summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--forest-800); color: var(--lime); display: grid; place-items: center; font-size: 1.2rem; transition: transform .35s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { color: var(--muted); padding-right: 40px; animation: fadeDown .4s var(--ease); }

/* ---------- Contact ---------- */
.contact { color: var(--white); background: var(--forest-900); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; opacity: .35; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.contact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 31, 21, .95) 30%, rgba(11, 31, 21, .55)); }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact__info > p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 14px; }
.contact__list span { color: rgba(255, 255, 255, .55); font-size: .9rem; }
.contact__list a:hover { color: var(--lime); }
.form { background: var(--cream); color: var(--ink); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form__progress { height: 5px; border-radius: 5px; background: var(--sand); margin-bottom: 28px; overflow: hidden; }
.form__progress span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--forest-500), var(--lime)); transition: width .5s var(--ease); }
.form__step { display: none; }
.form__step.is-active { display: block; animation: fadeDown .5s var(--ease); }
.form__q { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; margin-bottom: 20px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.tiles span { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; border: 2px solid var(--sand); background: var(--white); cursor: pointer; font-size: 1.4rem; color: var(--forest-500); transition: all .25s; }
.tiles b { font-size: .95rem; color: var(--ink); font-family: var(--font-head); }
.tiles input:checked + span { border-color: var(--forest-700); background: var(--forest-800); color: var(--lime); }
.tiles input:checked + span b { color: var(--white); }
.tiles input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.chips--dark { margin-bottom: 20px; }
.chips--dark span { border-color: #cfc7b3; }
.chips--dark input:checked + span { background: var(--forest-800); border-color: var(--forest-800); color: var(--lime); }
.input { position: relative; margin-bottom: 14px; }
.input input, .input textarea { width: 100%; padding: 22px 16px 8px; border-radius: 14px; border: 2px solid var(--sand); background: var(--white); font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .25s; resize: vertical; }
.input input:focus, .input textarea:focus { outline: none; border-color: var(--forest-500); }
.input label { position: absolute; left: 18px; top: 16px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.input input:focus + label, .input input:not(:placeholder-shown) + label,
.input textarea:focus + label, .input textarea:not(:placeholder-shown) + label { top: 6px; font-size: .74rem; color: var(--forest-500); font-weight: 600; }
.input.is-error input { border-color: var(--sunset); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 6px 0 20px; }
.consent.is-error { color: var(--sunset); }
.form__nav { display: flex; justify-content: space-between; gap: 12px; }
.form__nav .btn--ghost { color: var(--ink); border-color: var(--sand); background: transparent; }
.form__done { text-align: center; padding: 30px 0; animation: fadeDown .5s var(--ease); }
.form__check { width: 76px; height: 76px; border-radius: 50%; background: var(--lime); color: var(--forest-900); font-size: 2.2rem; font-weight: 800; display: grid; place-items: center; margin: 0 auto 18px; animation: pop .5s var(--ease); }

/* ---------- Footer ---------- */
.footer { background: var(--forest-900); color: rgba(255, 255, 255, .7); padding: 70px 0 30px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer__grid a:not(.logo) { display: block; margin-bottom: 8px; transition: color .2s; }
.footer a:hover { color: var(--lime); }
.footer__tag { margin-top: 16px; max-width: 320px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .84rem; }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--forest-900); display: none; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); animation: pulse 2.4s infinite; }
.fab svg { width: 26px; height: 26px; }

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184, 224, 47, .6); } 70% { box-shadow: 0 0 0 14px rgba(184, 224, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 224, 47, 0); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0); } 80% { transform: scale(1.1); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px; background: var(--forest-900); transform: translateX(100%); transition: transform .5s var(--ease); }
  .nav a:not(.btn) { font-size: 1.4rem; font-family: var(--font-head); }
  .nav.is-open { transform: none; }
  .burger { display: block; margin-left: auto; position: relative; z-index: 60; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); cursor: pointer; }
  .burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); transition: transform .35s var(--ease); }
  .burger span:first-child { top: 17px; }
  .burger span:last-child { top: 25px; }
  .burger[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header__phone { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--white); font-weight: 600; font-size: .92rem; }
  .header__phone svg { width: 18px; height: 18px; color: var(--lime); }
  .header__phone + .burger { margin-left: 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .card--big { grid-column: span 2; grid-row: auto; min-height: 460px; }
  .simu__inner, .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .faq__intro { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .about__badge { right: 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .header__phone span { display: none; }
  .hero__content { padding: 120px 0 90px; }
  .hero__actions .btn { width: 100%; }
  .services__grid, .steps, .reviews__grid, .features, .results { grid-template-columns: 1fr; }
  .card--big { grid-column: auto; }
  .works__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .work--tall { grid-column: span 2; }
  .work figcaption { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; }
  .simu__panel, .form { padding: 24px 20px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .contact__list li { grid-template-columns: 90px 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab { display: grid; }
}

/* ---------- Circuit électrique ---------- */
.circuit { position: absolute; top: 0; left: 0; z-index: 30; pointer-events: none; overflow: visible; }
.circuit path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.c-under { stroke: var(--forest-900); stroke-width: 4; opacity: .28; }
.c-base { stroke: var(--lime); stroke-width: 1.5; opacity: .3; stroke-dasharray: 2 6; }
.c-lit { stroke: var(--lime); stroke-width: 2.5; opacity: .85; }
.c-mask { stroke: #fff; stroke-width: 10; }
/* Impulsions rares et lentes : un glissement doux, pas un clignotement */
.c-flow { stroke: #f4ffd0; stroke-width: 3; opacity: .55; stroke-dasharray: 28 372; animation: cFlow 9s linear infinite; }
.c-node__ring { fill: var(--forest-900); stroke: var(--lime); stroke-width: 1.5; opacity: .45; transition: opacity .4s; }
.c-node__dot { fill: var(--forest-500); transition: fill .3s; }
.c-node.is-on .c-node__ring { opacity: 1; }
.c-node.is-on .c-node__dot { fill: var(--lime); filter: url(#cGlow); }
.c-node.is-on .c-node__ring { animation: cRing .9s ease-out 1; transform-box: fill-box; transform-origin: center; }
.c-node--end.is-on .c-node__dot { fill: var(--amber); }
.c-head__core { fill: #fff; }
.c-head__halo { fill: var(--lime); opacity: .22; transform-box: fill-box; transform-origin: center; animation: cBreath 3.5s ease-in-out infinite; }
.c-head.is-off { opacity: 0; }
.c-head { transition: opacity .3s; }
/* Quand le courant atteint la borne finale, le formulaire s'illumine */
body.is-powered .form { box-shadow: 0 0 0 2px var(--lime), 0 0 60px -10px rgba(184, 224, 47, .7), var(--shadow); transition: box-shadow .6s; }

@keyframes cFlow { to { stroke-dashoffset: -800; } }
@keyframes cRing { 0% { transform: scale(1); } 50% { transform: scale(1.3); opacity: .4; } 100% { transform: scale(1); opacity: 1; } }
@keyframes cBreath { 0%, 100% { transform: scale(.85); opacity: .22; } 50% { transform: scale(1.15); opacity: .1; } }
@media (max-width: 640px) { .c-node__ring { display: none; } .c-lit { stroke-width: 2; } }

/* ---------- Marques ---------- */
.brands { padding: 40px 0; background: var(--cream); }
.brands__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brands p { margin: 0; color: var(--muted); font-size: .9rem; }
.brands ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 0; padding: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--forest-700); }

/* ---------- Bouton WhatsApp ---------- */
.fab { display: grid; background: #25d366; color: #fff; animation: none; }
.fab svg { width: 30px; height: 30px; }

/* ---------- Formulaire et FAQ ---------- */
.consent a { text-decoration: underline; }
.fine--dark { color: var(--muted); margin-top: 18px; }

/* ---------- Mentions légales ---------- */
.legal__inner { max-width: 760px; padding: 60px 0 90px; }
.legal__inner h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal__inner h2 { font-size: 1.25rem; margin-top: 34px; }
.legal__inner a { text-decoration: underline; }
.legal__back { display: inline-block; margin-bottom: 26px; color: var(--forest-500); font-weight: 600; }

/* ---------- Bandeau démarches administratives ---------- */
.admin { margin-top: 22px; padding: 36px; border-radius: var(--radius); background: var(--forest-800); color: var(--white); display: grid; grid-template-columns: 1fr 1.7fr; gap: 36px; align-items: center; }
.admin h3 { color: var(--white); font-size: 1.5rem; margin: 0 0 8px; }
.admin__intro p { margin: 0; color: rgba(255, 255, 255, .78); }
.admin__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.admin__list li { padding: 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .82); font-size: .92rem; line-height: 1.45; }
.admin__list b { display: block; margin-bottom: 4px; color: var(--lime); font-family: var(--font-head); font-size: 1.05rem; }
@media (max-width: 1080px) { .admin { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .admin { padding: 26px; } .admin__list { grid-template-columns: 1fr; } }
.card--big::before { background: linear-gradient(0deg, rgba(11, 31, 21, .97) 0%, rgba(11, 31, 21, .86) 62%, rgba(11, 31, 21, .3) 100%); }

/* ---------- Formulaire : champ anti-robot et erreur d'envoi ---------- */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fdecea; color: #8a1f11; font-size: .92rem; }
.form__error a { font-weight: 600; text-decoration: underline; }
