/* ===========================================
   STE TECHNOLOGIES — style.css
   Aesthetic: Éco-Industriel Premium
   Fonts: Barlow Condensed (display) + Barlow (body)
=========================================== */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --green:        #7CB342;
  --green-dark:   #558B2F;
  --green-deep:   #0B1D0E;
  --anthracite:   #1C1C1C;
  --blue:         #1E88E5;
  --blue-light:   #E3F2FD;
  --orange:       #FF8F00;
  --orange-light: #FFF3E0;
  --cream:        #F7F6F3;
  --white:        #FFFFFF;
  --text:         #1A1A1A;
  --text-muted:   #666;
  --border:       #E2E2E2;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --container:    1280px;
  --px:           1.5rem;
  --section-py:   5rem;

  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;

  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.12);
  --shadow-xl:    0 24px 80px rgba(0,0,0,0.18);

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .animate-fade-up { animation: none; opacity: 1; transform: none; }
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }
blockquote { quotes: none; }
::selection { background: var(--green); color: white; }

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section { padding: var(--section-py) 0; }

/* ===== TYPOGRAPHY ===== */
.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(124,179,66,0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(124,179,66,0.2);
}
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.section__title em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.22s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn--xl { font-size: 1.1rem; padding: 0.9rem 2rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 16px rgba(124,179,66,0.35);
}
.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,179,66,0.4);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  color: white;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.85; }
}

.animate-fade-up {
  animation: fadeUp 0.7s var(--ease-out) both;
  animation-delay: var(--delay, 0s);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================
   HEADER
========================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
}
.header__logo { flex-shrink: 0; }
.logo-img { height: 64px; width: auto; display: block; }

.header__nav { margin-left: auto; }
.nav__list {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--green); background: rgba(124,179,66,0.08); }
.nav__link.active { color: var(--green); }

.header__tel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  background: var(--green);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.header__tel:hover { background: var(--green-dark); transform: translateY(-1px); }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: 0.5rem;
}
.burger__bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.header__burger.open .burger__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__burger.open .burger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__burger.open .burger__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ==========================================
   HERO
========================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--green-deep);
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center 35%;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 22, 10, 0.93) 0%,
    rgba(8, 22, 10, 0.88) 40%,
    rgba(8, 22, 10, 0.55) 70%,
    rgba(8, 22, 10, 0.35) 100%
  );
}
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__deco {
  position: absolute;
  right: -60px;
  top: 0;
  height: 100%;
  width: 55%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(124,179,66,0.12);
  border: 1px solid rgba(124,179,66,0.3);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.5rem;
}
.hero__title-accent {
  color: var(--green);
  display: block;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  font-weight: 300;
}
.hero__subtitle strong { color: rgba(255,255,255,0.95); font-weight: 600; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}
.trust-item svg { color: var(--green); flex-shrink: 0; }
.trust-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.hero__scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.scroll-line {
  width: 1.5px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}


/* ==========================================
   SERVICES
========================================== */
.services { background: var(--white); }

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

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background 0.25s;
}
.service-card:hover {
  border-color: rgba(124,179,66,0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { background: var(--green); }

.service-card--featured {
  border-color: var(--green);
  background: linear-gradient(135deg, rgba(124,179,66,0.03) 0%, var(--white) 100%);
}
.service-card--featured::before { background: var(--green); }

.service-card__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--green);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.service-card__icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(124,179,66,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card__icon-wrap--green { background: rgba(124,179,66,0.12); }
.service-card__icon-wrap--blue  { background: rgba(30,136,229,0.1); }
.service-card__icon-wrap--orange { background: rgba(255,143,0,0.1); }

.service-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.1;
}
.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.25rem;
  flex: 1;
}
.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.service-card__list li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--green);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  transition: gap 0.2s;
}
.service-card__link:hover { gap: 0.7rem; }


/* ==========================================
   STATS
========================================== */
.stats {
  background: var(--anthracite);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='white' fill-opacity='0.03'/%3E%3C/svg%3E");
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.stat-item__label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ==========================================
   AIDES FINANCIÈRES
========================================== */
.aides { background: var(--cream); }

.aides__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.aide-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border-left: 4px solid transparent;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  cursor: default;
  transition: transform 0.25s, box-shadow 0.25s;
}
.aide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.aide-card--orange { border-left-color: var(--orange); }
.aide-card--blue   { border-left-color: var(--blue); }
.aide-card--green  { border-left-color: var(--green); }

.aide-card__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.aide-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aide-card--orange .aide-card__icon { background: var(--orange-light); color: var(--orange); }
.aide-card--blue   .aide-card__icon { background: var(--blue-light);   color: var(--blue); }
.aide-card--green  .aide-card__icon { background: rgba(124,179,66,0.1); color: var(--green); }

.aide-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}
.aide-card__amount {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
}
.aide-card--orange .aide-card__amount strong { color: var(--orange); font-size: 1.4rem; }
.aide-card--blue   .aide-card__amount strong { color: var(--blue);   font-size: 1.4rem; }
.aide-card--green  .aide-card__amount strong { color: var(--green);  font-size: 1.4rem; }

.aide-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.aide-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.aide-card__tags span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--cream);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.aide-card__official {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.aide-card__official svg {
  display: block;
  height: 38px;
  width: auto;
  max-width: 155px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.aide-card__official:hover { opacity: 0.82; transform: translateY(-2px); }
.aide-card__official:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.aides__cta {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px dashed rgba(124,179,66,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.aides__cta p {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}


/* ==========================================
   CERTIFICATIONS
========================================== */
.certifs {
  background: var(--white);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.certifs__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.certifs__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.certifs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  flex: 1;
}
.certif-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  flex: 1;
  min-width: 200px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.certif-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.certif-badge__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.certif-badge__icon--green  { background: rgba(124,179,66,0.12); color: var(--green); }
.certif-badge__icon--blue   { background: rgba(30,136,229,0.1);  color: var(--blue); }
.certif-badge__icon--orange { background: rgba(255,143,0,0.1);   color: var(--orange); }

.certif-badge__text { display: flex; flex-direction: column; gap: 0.1rem; }
.certif-badge__text strong { font-size: 1rem; font-weight: 700; color: var(--text); }
.certif-badge__text span   { font-size: 0.8rem; color: var(--text-muted); }


/* ==========================================
   PARTENAIRES
========================================== */
.partenaires {
  background: var(--anthracite);
  padding: 1.8rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.partenaires__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.partenaires__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  flex-shrink: 0;
}
.partenaires__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  flex: 1;
}
.marque-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.marque-badge:hover {
  color: var(--green);
  background: rgba(124,179,66,0.08);
  border-color: rgba(124,179,66,0.25);
}


/* ==========================================
   RÉALISATIONS
========================================== */
.realisations { background: var(--cream); }

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

.real-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.real-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.real-card:hover .real-card__img { transform: scale(1.04); }

.real-card__img {
  height: 230px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--anthracite);
  transition: transform 0.5s var(--ease-out);
}
.real-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  z-index: 1;
}
.real-card__type {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  background: var(--green);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}
.real-card__type--orange { background: var(--orange); }
.real-card__body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.real-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.real-card__stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.real-card__stat {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.real-card__stat strong { color: var(--green); }


/* ==========================================
   TÉMOIGNAGES
========================================== */
.temoignages { background: var(--white); }

.carousel { position: relative; }

.carousel__track {
  display: flex;
  transition: transform 0.45s var(--ease-out);
  will-change: transform;
}

.temo-card {
  min-width: 100%;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1.5px solid var(--border);
  max-width: 780px;
  margin: 0 auto;
}
.temo-card__stars {
  color: #FFB300;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}
.temo-card__quote {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  font-weight: 300;
}
.temo-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.temo-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.temo-card__author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.temo-card__author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}
.carousel__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.carousel__btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(124,179,66,0.05);
}
.carousel__dots { display: flex; gap: 0.5rem; align-items: center; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.25s, width 0.25s;
  border: none;
  cursor: pointer;
}
.dot--active {
  background: var(--green);
  width: 24px;
  border-radius: 999px;
}


/* ==========================================
   CONTACT
========================================== */
.contact {
  background: linear-gradient(135deg, rgba(124,179,66,0.05) 0%, var(--cream) 100%);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact__info .section__title { text-align: left; }
.contact__info .section__tag { align-self: flex-start; }
.contact__intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact__intro strong { color: var(--text); }

.contact__coords { display: flex; flex-direction: column; gap: 0.75rem; }
.contact__coord {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact__coord svg { color: var(--green); flex-shrink: 0; }
.contact__coord a { color: var(--text); font-weight: 500; }
.contact__coord a:hover { color: var(--green); }

.contact__zone-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
  margin-top: 0.5rem;
}
.contact__zone-map svg { width: 100%; height: auto; display: block; }

/* Form */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}
.contact__form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { display: flex; flex-direction: column; gap: 0.35rem; }
.form__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form__input,
.form__select,
.form__textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(124,179,66,0.15);
}
.form__input::placeholder,
.form__textarea::placeholder { color: #bbb; }
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form__textarea { resize: vertical; min-height: 110px; }
.form__note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}


/* ==========================================
   FOOTER
========================================== */
.footer {
  background: var(--anthracite);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__col--brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__logo .logo-img { height: 90px; width: auto; display: block; }
.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer__socials { display: flex; gap: 0.6rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--green); color: white; }

.footer__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--green); }

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer__address p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}
.footer__address p svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.footer__address a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer__address a:hover { color: var(--green); }

.footer__certif-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.certif-mini {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid;
}
.certif-mini--green  { color: var(--green);  border-color: rgba(124,179,66,0.4); }
.certif-mini--blue   { color: var(--blue);   border-color: rgba(30,136,229,0.4); }
.certif-mini--orange { color: var(--orange); border-color: rgba(255,143,0,0.4); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer__bottom nav { display: flex; gap: 1.5rem; }
.footer__bottom nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer__bottom nav a:hover { color: rgba(255,255,255,0.7); }


/* ==========================================
   FLOATING PHONE CTA
========================================== */
.float-tel {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(124,179,66,0.5);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
  animation: pulse 3s ease-in-out infinite;
}
.float-tel:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(124,179,66,0.6);
  animation: none;
}


/* ==========================================
   RESPONSIVE — TABLET (768px)
========================================== */
@media (max-width: 1024px) {
  .stats__grid        { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .contact__inner     { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__top        { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .services__grid     { grid-template-columns: 1fr 1fr; }
  .realisations__grid { grid-template-columns: 1fr 1fr; }
  .aides__grid        { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }

  /* Header */
  .header__nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    flex-direction: column;
  }
  .header__nav.open {
    display: flex;
  }
  .nav__list { flex-direction: column; gap: 0.25rem; }
  .nav__link { padding: 0.6rem 1rem; display: block; font-size: 1rem; }

  .header__tel span { display: none; }
  .header__tel { padding: 0.5rem; border-radius: 50%; width: 40px; height: 40px; justify-content: center; }

  .header__burger { display: flex; }

  /* Hero */
  .hero { padding: 90px 0 50px; min-height: 100svh; }
  .hero__title { font-size: clamp(2.8rem, 10vw, 4rem); }
  .hero__deco { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .trust-sep { display: none; }
  .hero__trust { flex-direction: column; align-items: flex-start; gap: 0.6rem; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  /* Form */
  .form__row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* Certifs */
  .certifs__inner { flex-direction: column; align-items: flex-start; }
  .certif-badge { min-width: unset; }
}

@media (max-width: 480px) {
  :root { --px: 1rem; }
  .hero__title { font-size: 2.6rem; }
  .stat-item__num { font-size: 2.6rem; }
  .aides__grid { grid-template-columns: 1fr; }
  .realisations__grid { grid-template-columns: 1fr; }
  .partenaires__inner { flex-direction: column; align-items: flex-start; }
  .partenaires__list { gap: 0.5rem; }
}
