/* ============================================================
   TON SUPER — Refonte 2026 · One-page premium
   Palette marque : vert #188C45 · rouge #E32726 · lime #B1D234
   ============================================================ */

:root {
  --green: #188c45;
  --green-dark: #11803c;
  --green-deep: #0d5f2d;
  --red: #e32726;
  --red-dark: #b81f1e;
  --lime: #b1d234;

  --ink: #0a0a0a;
  --ink-soft: #111511;
  --text: #232823;
  --muted: #5b635b;
  --line: #e4e8e2;
  --paper: #ffffff;
  --paper-alt: #f6f8f4;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --shadow-1: 0 6px 24px rgba(10, 20, 12, 0.08);
  --shadow-2: 0 18px 48px rgba(10, 20, 12, 0.16);

  --container: 1180px;
  --header-h: 100px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green); color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(17, 128, 60, 0.35);
}
.btn--primary:hover { box-shadow: 0 14px 34px rgba(17, 128, 60, 0.45); }
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(227, 39, 38, 0.32);
}
.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    height 0.35s var(--ease);
}
.site-header.is-scrolled {
  height: 80px;
  background: rgba(8, 12, 9, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-logo {
  width: auto;
  height: 88px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: height 0.3s var(--ease);
}
.is-scrolled .brand-logo { height: 68px; }

.primary-nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-list { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green) 33%, var(--red) 66%, var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bar {
  width: 21px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(105deg, rgba(6, 10, 7, 0.92) 0%, rgba(6, 12, 8, 0.72) 45%, rgba(13, 95, 45, 0.55) 100%),
    url("../img/hero-conseil.jpg");
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42rem 42rem at 85% 15%, rgba(177, 210, 52, 0.16), transparent 60%),
    radial-gradient(50rem 50rem at 8% 90%, rgba(24, 140, 69, 0.28), transparent 62%);
}
.hero-content { position: relative; padding-block: calc(var(--header-h) + 3rem) 5.5rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(3.4rem, 11vw, 8.2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 0.98;
}
.tone--green { color: var(--green); text-shadow: 0 0 60px rgba(24, 140, 69, 0.45); }
.tone--red { color: var(--red); text-shadow: 0 0 60px rgba(227, 39, 38, 0.4); }

.hero-baseline {
  max-width: 40ch;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin: 1.4rem 0 2.2rem;
}
.hero-baseline strong { color: var(--lime); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin: 3.6rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 1.1rem 0.6rem;
  text-align: center;
}
.stat dt {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
}
.stat dd { margin: 0; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: linear-gradient(90deg, var(--green-deep), var(--ink));
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 0.85rem;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}
.ticker-track i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* ---------- Sections génériques ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-services { background: var(--paper-alt) url("../img/services-bg.jpg") center/cover fixed no-repeat; position: relative; }
.section-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 252, 249, 0.94);
}
.section-services > .container { position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.01em; }
.section-lead { font-size: 1.08rem; color: var(--muted); margin: 1.1rem 0 0; }

.text-green { color: var(--green-dark); }
.text-red { color: var(--red); }
.text-lime { color: #86a41c; }

/* ---------- Cartes médias ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
}
.media-grid > :nth-child(1) { grid-column: span 3; }
.media-grid > :nth-child(2) { grid-column: span 3; }
.media-grid > :nth-child(n + 3):nth-child(-n + 5) { grid-column: span 2; }

.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.media-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.media-card:hover::before { opacity: 1; }

.card-light { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.card-dark {
  background: linear-gradient(160deg, #12160f 0%, #0a0a0a 70%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.card-feature { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.card-feature::before { background: linear-gradient(90deg, var(--red), var(--lime)); }

.media-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.media-card-head--wide { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.media-icon { height: 58px; width: auto; }
.media-icon--wide { height: 64px; }
.card-dark .media-icon { filter: brightness(1.05); }
.media-name {
  font-size: 1.22rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card-dark .media-name { color: var(--lime); }

.media-photo {
  margin: 0 0 1.2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  align-self: center;
}
.media-photo img { object-fit: cover; }
.media-photo--top { margin: -0.5rem 0 1.3rem; }

.media-desc { margin: 0 0 1rem; font-size: 0.97rem; color: var(--text); }
.card-dark .media-desc { color: rgba(255, 255, 255, 0.88); }
.media-sub { margin: 0.4rem 0 0.8rem; font-weight: 600; font-size: 0.95rem; }

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.75rem;
  font-size: 0.93rem;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: var(--green)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round" d="M5 12.5l4.5 4.5L19 7.5"/></svg>')
    center/68% no-repeat;
}
.check-list--lime li::before { background-color: var(--lime); }
.check-list--lime li::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="%230a0a0a" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round" d="M5 12.5l4.5 4.5L19 7.5"/></svg>');
}

.sat-list li {
  position: relative;
  padding: 0.8rem 1rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  background: var(--paper-alt);
  border: 1px dashed var(--green);
  border-radius: var(--radius-sm);
}

/* Autres services */
.others { margin-top: clamp(2.8rem, 6vw, 4.2rem); }
.others-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.others-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.others-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.9rem;
}
.others-grid li {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem 1rem 2.9rem;
  font-size: 0.94rem;
  font-weight: 500;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.others-grid li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  translate: 0 -50%;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--lime)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="%230a0a0a" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round" d="M5 12.5l4.5 4.5L19 7.5"/></svg>')
    center/66% no-repeat;
}
.others-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-left-color: var(--red); }

/* ---------- À propos ---------- */
.section-about { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.section-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38rem 38rem at 110% 10%, rgba(227, 39, 38, 0.14), transparent 60%),
    radial-gradient(44rem 44rem at -10% 95%, rgba(24, 140, 69, 0.22), transparent 62%);
}
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.about-head .eyebrow { color: var(--lime); }
.about-body p { color: rgba(255, 255, 255, 0.88); margin: 0 0 1.2rem; font-size: 1.03rem; }
.about-strong {
  font-family: var(--font-display);
  font-weight: 600 !important;
  color: var(--lime) !important;
  border-left: 3px solid var(--red);
  padding-left: 1.1rem;
}
.about-cta { margin-top: 1.6rem; }

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.6rem 0;
}
.pill {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(177, 210, 52, 0.5);
  background: rgba(177, 210, 52, 0.1);
  color: var(--lime);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.pill:hover { background: rgba(177, 210, 52, 0.22); transform: translateY(-2px); }

/* ---------- Témoignages ---------- */
.section-testimonial { background: var(--paper); }
.t-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 1rem;
  max-width: 900px;
  margin-inline: auto;
}
.t-viewport { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.t-slide {
  margin: 0;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  display: none;
}
.t-slide.is-active { display: block; animation: slide-in 0.45s var(--ease); }
@keyframes slide-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}
.t-slide blockquote {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  color: var(--text);
  position: relative;
}
.t-slide blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.t-author { display: flex; align-items: center; gap: 0.9rem; }
.t-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lime);
}
.t-id { display: flex; flex-direction: column; }
.t-id strong { font-family: var(--font-display); font-size: 0.98rem; }
.t-id small { color: var(--muted); font-size: 0.84rem; }

.t-arrow {
  align-self: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.t-arrow:hover { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.06); }

.t-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.t-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #cdd6cc;
  cursor: pointer;
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}
.t-dot.is-active { width: 30px; background: var(--green); }

/* ---------- Contact ---------- */
.section-contact { background: var(--paper-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-lead { color: var(--muted); margin: 1rem 0 2rem; max-width: 42ch; }

.contact-list { display: grid; gap: 1.1rem; margin: 0 0 1.8rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.9rem; font-size: 0.98rem; }
.ci-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}
.ci-icon svg { fill: currentColor; }
.contact-list a { color: var(--green-dark); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--red); }

.socials { display: flex; gap: 0.7rem; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1.5px solid var(--line);
  color: var(--ink);
  transition: all 0.25s var(--ease);
}
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--lime); transform: translateY(-3px); }

.card-dark-form {
  background: linear-gradient(165deg, #131810 0%, #0a0a0a 75%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-2);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lime);
}
.field label span { color: var(--red); }
.field input, .field textarea {
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.1);
}
.field.has-error input { border-color: var(--red); }
.field-error { margin: 0; font-size: 0.82rem; color: #ff8f8e; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-status { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--lime); min-height: 1.2em; }
.cf-status.is-error { color: #ff8f8e; }
.cf-note { margin: 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: #050705;
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 2.2rem;
  flex-wrap: wrap;
}
.brand-logo--footer { height: 120px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s var(--ease);
}
.footer-nav a:hover { color: var(--lime); }
.copyright { margin: 0; font-size: 0.84rem; color: rgba(255, 255, 255, 0.5); }

/* ---------- Animations reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .media-grid > * { grid-column: span 3 !important; }
  .about-grid { grid-template-columns: 1fr; }
  .about-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  :root { --header-h: 88px; }
  .brand-logo { height: 80px; }
  .is-scrolled .brand-logo { height: 66px; }

  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: 88px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 12, 9, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.4rem 1.6rem;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
  }
  .primary-nav.is-open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-link { display: block; padding: 1rem 0.2rem; font-size: 1.05rem; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 1.2rem; justify-self: center; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .media-grid > * { grid-column: 1 / -1 !important; }
  .t-slider { grid-template-columns: 1fr; }
  .t-arrow { display: none; }
  .section-services { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .hero-stats { margin-inline: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .nav-toggle, .ticker, .hero-actions, .t-arrow, .t-dots,
  .contact-form, .socials, .skip-link { display: none !important; }
  .hero, .section-about { background: #fff; color: #000; min-height: auto; }
  body { color: #000; }
}
