/* ============================================================
   ARTERE e-Commerce — Accueil
   Reproduction fidèle de la référence visuelle
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --brand: #e1241c;
  --brand-dark: #bf1a14;
  --brand-soft: #fbeae9;
  --ink: #1e2024;
  --ink-soft: #33363b;
  --muted: #6c6f76;
  --muted-2: #9a9da3;
  --line: #e7e8eb;
  --surface: #ffffff;
  --surface-alt: #f3f3f4;
  --footer: #222222;
  --gold: #c9a24a;
  --footer-2: #1a1a1a;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm:
    0 1px 2px rgba(20, 22, 26, 0.04), 0 2px 8px rgba(20, 22, 26, 0.05);
  --shadow-md: 0 12px 34px rgba(20, 22, 26, 0.1);
  --shadow-lg: 0 30px 70px rgba(20, 22, 26, 0.14);
  --container: 1180px;
  --gutter: 28px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.92em 1.4em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(225, 36, 28, 0.25);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ---------- Section heading ---------- */
.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.sec-head h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sec-head .rule {
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  margin: 0.85rem auto 0;
}

.sec-head p {
  margin-top: 1.05rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.sec-head .reg {
  color: var(--brand);
  font-size: 0.62em;
  vertical-align: super;
  font-weight: 700;
}

.sec-head p.nowrap-lead {
  white-space: nowrap;
  max-width: none;
}

@media (max-width: 760px) {
  .sec-head p.nowrap-lead {
    white-space: normal;
  }
}

.section {
  padding: 84px 0;
}

.section--alt {
  background: var(--surface-alt);
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.35rem;
}

.brand .brand-logo {
  height: 54px;
  width: auto;
  display: block;
}

.brand .mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand .brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand .brand-txt small {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--brand);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}

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

.nav-links a.active {
  color: var(--brand);
  font-weight: 600;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.nav-links a.btn-primary {
  color: #fff;
}

.nav-links a.btn-primary:hover {
  color: #fff;
}

.nav .btn {
  margin-left: 8px;
}

.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--ink);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #f3f3f4 0%, #eff0f1 60%, #eaeaec 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  gap: 16px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 70px;
  padding-right: 0;
  padding-left: max(28px, calc((100vw - 1180px) / 2 + 28px));
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.95vw, 2.7rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0.5rem 0 0;
}

.hero .lead {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  gap: 10px;
  margin-top: 1.7rem;
  flex-wrap: wrap;
}

/* Hero dashboard visual (image de reference, debordant a droite, fondu grave dans le PNG) */
.hero-visual {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  margin-top: -76px;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.stat .ic {
  width: 46px;
  height: 46px;
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.stat .ic svg {
  width: 34px;
  height: 34px;
}

.stat .txt {
  text-align: left;
}

.stat .num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.stat .lbl {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 3px;
}

.stat .since {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.stat .num-underline {
  position: relative;
}

.stat .num-underline::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  margin-top: 7px;
}

/* ============================================================
   QUI SOMMES-NOUS (ajout depuis le brief de contenu)
   ============================================================ */
.about-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-top: 54px;
}

.about-row:first-of-type {
  margin-top: 46px;
}

.about-row.reverse {
  grid-template-columns: 1.2fr 0.8fr;
}

.about-row.reverse .about-label {
  order: 2;
}

.about-row.reverse .about-card {
  order: 1;
}

.about-label .eyebrow {
  display: block;
}

.about-label h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}

.about-label .rule {
  width: 46px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  margin-top: 1rem;
}

.about-card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  font-size: 1.06rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.about-card strong {
  color: var(--ink);
  font-weight: 700;
}

.about-card .brand-em {
  color: var(--brand);
  font-weight: 700;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.cards-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

/* sur les sections grises, les cartes repassent en blanc pour garder le contraste */
.section--alt .card {
  background: #fff;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #dcdcdf;
}

.card .badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  color: var(--brand);
  margin-bottom: 20px;
}

.card .badge svg {
  width: 30px;
  height: 30px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.card p {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 0.97rem;
}

.card .chevron {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--brand);
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.tech-chips {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-chips li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  line-height: 1;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease;
}

.tech-chips li:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

/* Un collectif d'experts : cartes centrées */
#carrieres .cards-3 .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#carrieres .cards-3 .tech-chips {
  justify-content: center;
}

#carrieres .card .badge {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

#pourquoi .card .badge {
  background: var(--surface-alt);
}

.card--center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card--center h3 {
  font-size: 1.45rem;
}

.card-note {
  display: block;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}

/* cartes-liens (Nos offres → page détaillée) */
.offer-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.offer-link h3 {
  color: var(--ink);
}

/* Nos offres : icônes centrées et agrandies */
#expertises .cards-3 .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#expertises .cards-3 .card .badge {
  width: 84px;
  height: 84px;
  margin-bottom: 22px;
}

#expertises .cards-3 .card .badge svg {
  width: 44px;
  height: 44px;
}

#expertises .cards-3 .card p {
  margin-top: 0.6rem;
}

/* Nos offres : style icônes en cercles concentriques */
#expertises .cards-3 .card .badge-rings {
  width: 92px;
  height: 92px;
  background: transparent;
  border-radius: 0;
  margin-bottom: 20px;
}

#expertises .cards-3 .card .badge-rings svg {
  width: 92px;
  height: 92px;
}

/* horizontal card variant (Pourquoi / méthode) */
.card-h {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.card-h .badge {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.card-h h3 {
  font-size: 1.12rem;
}

.card-h p {
  font-size: 0.93rem;
  margin-top: 0.35rem;
}

/* Pourquoi section split */
.why-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.why-intro {
  align-self: center;
}

.why-intro h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.why-intro .rule {
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  margin: 1rem 0 1.4rem;
}

.why-intro p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 34ch;
}

/* méthode (conservé, non utilisé) */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.method-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 30px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.method-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.method-card p {
  color: var(--muted);
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

.method-card .chevron {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--brand);
  width: 22px;
  height: 22px;
}

.rings {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ============================================================
   NOS CLIENTS — carrousel défilant de cartes flip
   ============================================================ */
.clients-marquee {
  margin-top: 54px;
  -webkit-mask-image: linear-gradient(90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent);
  mask-image: linear-gradient(90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent);
  overflow: hidden;
}

.clients-track {
  display: flex;
  gap: 26px;
  width: max-content;
  padding: 14px 4px;
  animation: clientsScroll 60s linear infinite;
}

.clients-marquee:hover .clients-track,
.clients-track.paused {
  animation-play-state: paused;
}

@keyframes clientsScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
  }
}

.client-card {
  flex: 0 0 auto;
  width: 218px;
  height: 172px;
  background: transparent;
  border: 0;
  padding: 0;
  /*cursor: pointer;*/
  perspective: 900px;
}

.client-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1.05);
  transform-style: preserve-3d;
}

.client-card.is-flipped .client-inner {
  transform: rotateY(180deg);
}

.client-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.client-front {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.client-card:hover .client-front {
  box-shadow: var(--shadow-md);
}

.client-front img {
  max-width: 100%;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-front .flip-cue {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}

.client-front .flip-cue svg {
  width: 13px;
  height: 13px;
}

.flip-cue {
  display: none !important;
}

.client-back {
  background: #7f7f7f;
  color: #fff;
  transform: rotateY(180deg);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 22px;
  text-align: left;
  gap: 7px;
}

.client-back .ct-name {
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.client-back .ct-type {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.client-back .ct-tag {
  margin-top: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 9px;
  border-radius: 999px;
  align-self: flex-start;
}

/* liste à puces (clients renseignés) */
.client-back .ct-list {
  list-style: none;
  margin: 7px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.client-back .ct-list li {
  position: relative;
  padding-left: 17px;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #fff;
}

.client-back .ct-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.32em;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(255, 255, 255, 0.95);
  border-top: 2px solid rgba(255, 255, 255, 0.95);
  transform: rotate(45deg);
}

.client-back .ct-name {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* champs éditables */
.client-back .ct-type[contenteditable],
.client-back .ct-tag[contenteditable] {
  outline: none;
  border-radius: 6px;
}

.client-back .ct-type[contenteditable]:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
  padding: 1px 4px;
  margin: -1px -4px;
}

.client-back .ct-tag[contenteditable]:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.client-back .ct-type:empty::before,
.client-back .ct-tag:empty::before {
  content: attr(data-ph);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.client-back .ct-tag:empty::before {
  text-transform: none;
  letter-spacing: normal;
}

/* carte à compléter : verso plus sobre */
.client-card.is-todo .client-back {
  background: #7f7f7f;
  border: 1px dashed rgba(255, 255, 255, 0.28);
}

.client-card.is-todo .client-back .ct-name {
  color: #fff;
}

.clients-hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.net-bg {
  position: relative;
  overflow: hidden;
}

.net-bg::before,
.net-bg::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle,
      rgba(225, 36, 28, 0.06) 1px,
      transparent 1.4px) 0 0/22px 22px;
  opacity: 0.7;
  z-index: 0;
}

.net-bg::before {
  top: 30px;
  left: -90px;
}

.net-bg::after {
  bottom: 20px;
  right: -90px;
}

.net-bg .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   CTA BANNER + FOOTER
   ============================================================ */
.footer-wrap {
  background: var(--footer);
  position: relative;
}

.cta-banner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: center;
  padding: 34px 40px;
  transform: translateY(-58px);
  margin-bottom: -30px;
}

.cta-illus {
  position: relative;
  height: 150px;
  display: grid;
  place-items: center;
}

.cta-illus svg {
  width: 100%;
  height: 100%;
}

.cta-copy h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-copy .btn {
  margin-top: 1.4rem;
}

.footer {
  /* Fond noir mat profond identique à l'image */
  padding: 80px 0 40px;
}

/* Grille principale supérieure */
.footer-container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px 60px;
  margin-bottom: 60px;
}

.footer-container .brand {
  grid-column: 1 / -1;
}

.footer-container .footer-logo {
  height: 64px;
  width: auto;
  display: block;
}

/* Bloc Gauche : Logo et Textes */
.footer-main .footer-logo {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 35px;
}

.footer-text p {
  color: #dbdcde;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 780px;
  /* Aligné avec le ratio visuel de l'image */
}

.footer-text p:last-child {
  margin-bottom: 0;
}

/* Bloc Droite : Navigation verticale */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 0;
}

.footer-nav a {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 400;
  transition: color 0.18s ease;
}

.footer-nav a:hover {
  color: var(--brand);
}

/* Section Réseaux (Suivez-nous + LinkedIn Rouge) */
.footer-social-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
  width: fit-content;
}

.footer-social-section span {
  font-size: 1.05rem;
  color: #ffffff;
}

.social-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--brand);
  /* Utilise votre variable rouge --brand */
  border-radius: 50%;
  color: var(--brand);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  background: var(--brand);
  color: #0d0d0d;
  transform: translateY(-2px);
}

/* Barre de contact du bas */
.footer-contact-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
}

/* Barre de mentions legale */
.footer-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #ffffff;
}

.contact-item a {
  color: #ffffff;
  transition: color 0.18s ease;
}

.contact-item a:hover {
  color: var(--brand);
}

/* Gestion de la couleur des petites icônes (Contours rouges comme l'adresse/email) */
.contact-item .icon {
  width: 20px;
  height: 20px;
  stroke: var(--brand);
  /* Utilise le rouge de la marque pour les icônes géoloc & mail */
  flex: 0 0 auto;
}

.footer-bar .divider {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

/* Media Queries pour le Responsive (Déjà adaptées à vos breakpoints de 980px) */
@media (max-width: 980px) {
  .footer {
    padding: 60px 0 30px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }

  .footer-container .brand {
    grid-column: auto;
  }

  .footer-contact-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bar .divider {
    display: none;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand {
  color: #fff;
}

.footer-logo {
  height: 62px;
  width: auto;
  display: block;
}

.footer .brand small {
  color: #ff6a62;
}

.footer-about p {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #a9abb0;
  line-height: 1.65;
  max-width: 30ch;
}

.footer-contact {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: #bcbec2;
}

.footer-contact span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: 0 0 auto;
  margin-top: 2px;
}

.footer-col h5 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #a9abb0;
  margin-bottom: 11px;
}

.footer-col a:hover {
  color: #fff;
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s ease;
}

.social a:hover {
  background: var(--brand);
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer-col:has(.social) {
  text-align: center;
}

.footer-col:has(.social) .social {
  justify-content: center;
}

.footer-bottom {
  margin: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0 26px;
  font-size: 0.85rem;
  color: #8c8e93;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .links {
  display: flex;
  gap: 26px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 54px 28px 70px;
  }

  .hero .lead {
    max-width: 46ch;
  }

  .hero-visual {
    min-height: auto;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cards-2x2 {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-copy .btn {
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-about {
    grid-column: 1/-1;
  }
}

@media (max-width: 1000px) {
  .nav-links {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .btn {
    margin: 12px 0 0;
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-flex;
  }
}

@media (max-width: 760px) {

  .about-row,
  .about-row.reverse {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-row.reverse .about-label {
    order: 0;
  }

  .about-row.reverse .about-card {
    order: 0;
  }

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

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}