/* ============================================================
   SUTECA — Stylesheet
   ============================================================ */

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:   #6BBF3C;
  --green2:  #5aab2e;
  --bg:      #0A0A0A;
  --bg2:     #111111;
  --bg3:     #161616;
  --card:    #131313;
  --border:  #1e1e1e;
  --border2: #2a2a2a;
  --muted:   #888888;
  --white:   #FFFFFF;
  --radius:  10px;
  --shadow:  0 8px 40px rgba(0,0,0,0.6);
  --trans:   0.25s ease;
  --max-w:   1200px;
  --font-h:  'Syne', sans-serif;
  --font-b:  'Inter', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: #E0E0E0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--green); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--white); }
ul  { list-style: none; }
::selection { background: var(--green); color: #0a0a0a; }
* { scrollbar-width: thin; scrollbar-color: var(--border2) var(--bg); }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 {
  font-family: var(--font-h);
  color: var(--white);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1rem, 1.8vw, 1.15rem); }
h4 { font-size: 0.95rem; }
p  { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
em { font-style: normal; color: var(--green); }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 6rem 0; }
.section-alt  { background: var(--bg2); }

/* ---- SECTION HEADER ---- */
.section-header         { margin-bottom: 3.5rem; }
.section-header.center  { text-align: center; }
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.7rem;
}
.section-header h2 { margin-bottom: 0.8rem; }
.section-header p  { max-width: 560px; }
.section-header.center p { margin: 0 auto; }
.divider {
  width: 44px; height: 3px;
  background: linear-gradient(90deg, var(--green), rgba(107,191,60,0.3));
  border-radius: 2px;
  margin-top: 0.9rem;
}
.section-header.center .divider { margin-left: auto; margin-right: auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green2);
  border-color: var(--green2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,191,60,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background var(--trans), padding var(--trans), border-color var(--trans);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-color: var(--border);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: inline-flex;
  align-items: center;
}
.site-logo:hover { opacity: 0.85; }
.logo-img {
  height: 58px;
  width: auto;
  min-width: 0;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-list a {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: color var(--trans), background var(--trans);
}
.nav-list a:hover, .nav-list a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 200;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.75) 50%,
    rgba(10,10,10,0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  padding-bottom: 4rem;
  display: flex;
  justify-content: center;
}
.hero-inner { max-width: 680px; text-align: center; }
.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.2rem;
}
.hero h1 { margin-bottom: 1.4rem; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(224,224,224,0.75);
  margin: 0 auto 2.2rem;
  line-height: 1.75;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================================
   PAGE HERO (pages intérieures)
   ============================================================ */
.page-hero {
  padding: 9rem 0 4rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.page-hero .label { margin-bottom: 0.5rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; max-width: 600px; color: var(--muted); }

/* ============================================================
   ICON CARDS (expertises)
   ============================================================ */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.icon-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.icon-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(107,191,60,0.2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.icon-card:hover {
  border-color: rgba(107,191,60,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}
.icon-card:hover::after { transform: scaleX(1); }
.icon-box {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(107,191,60,0.08);
  border: 1px solid rgba(107,191,60,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--green);
  flex-shrink: 0;
}
.icon-box svg { width: 22px; height: 22px; }
.icon-card h3 { color: var(--white); margin-bottom: 0.6rem; }
.icon-card p  { font-size: 0.875rem; flex: 1; margin-bottom: 1.4rem; }
.card-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  display: flex; align-items: center; gap: 0.4rem;
  transition: gap var(--trans);
}
.icon-card:hover .card-link { gap: 0.75rem; }

/* ============================================================
   DOMAIN CARDS (secteurs — homepage)
   ============================================================ */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.domain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.domain-card:hover {
  border-color: rgba(107,191,60,0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.domain-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(107,191,60,0.08);
  border: 1px solid rgba(107,191,60,0.18);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--green);
  transition: background var(--trans), border-color var(--trans);
}
.domain-card:hover .domain-icon {
  background: rgba(107,191,60,0.15);
  border-color: rgba(107,191,60,0.4);
}
.domain-icon svg { width: 22px; height: 22px; }
.domain-card h3 { color: var(--white); margin-bottom: 0.5rem; }
.domain-card p  { font-size: 0.875rem; line-height: 1.6; }
.tags {
  display: flex; flex-wrap: wrap; gap: 0.3rem;
  justify-content: center; margin-top: 0.8rem;
}
.tag {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(107,191,60,0.75);
  background: rgba(107,191,60,0.07);
  border: 1px solid rgba(107,191,60,0.15);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
}

/* ============================================================
   REFS MARQUEE
   ============================================================ */
.refs-marquee {
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}
.refs-marquee::before,
.refs-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.refs-marquee::before { left: 0; background: linear-gradient(to right, var(--bg2), transparent); }
.refs-marquee::after  { right: 0; background: linear-gradient(to left, var(--bg2), transparent); }
.refs-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.refs-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ref-logo {
  display: flex; align-items: center; justify-content: center;
  opacity: 0.5;
  transition: opacity var(--trans);
  flex-shrink: 0;
}
.ref-logo:hover { opacity: 1; }
.ref-logo img { height: 60px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.ref-logo-wide img { max-width: 260px; }
.ref-logo-invert img { filter: brightness(0) invert(1); }
.ref-logo.ref-logo-lg img { height: 174px; }

/* Grille statique mobile — masquée sur desktop */
.refs-grid {
  display: none;
}

/* ============================================================
   ABOUT GRID
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { margin: 0.5rem 0 1.2rem; }
.about-content p  { margin-bottom: 1rem; }

/* ============================================================
   ZONE MAP
   ============================================================ */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.zone-info h2 { margin: 0.5rem 0 1rem; }
.zone-info p  { margin-bottom: 1.5rem; }
.zone-items   { display: flex; flex-direction: column; gap: 1rem; }
.zone-item    { display: flex; align-items: flex-start; gap: 0.75rem; }
.zone-item svg { color: var(--green); flex-shrink: 0; margin-top: 0.2rem; }
.zone-item strong { font-size: 0.9rem; color: var(--white); display: block; }
.zone-item span   { font-size: 0.82rem; color: var(--muted); }
.zone-map-wrap { display: flex; justify-content: center; }
.zone-svg-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  height: 380px;
}
.zone-svg-box iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(0.9) hue-rotate(170deg) saturate(0.4); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-detail {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.service-inner.reverse { direction: rtl; }
.service-inner.reverse > * { direction: ltr; }
.service-photo {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { margin-top: 0.6rem; font-size: 0.75rem; color: rgba(136,136,136,0.55); font-style: italic; text-align: center; line-height: 1.4; }
.service-text .label { margin-bottom: 0.5rem; }
.service-text h2 { margin-bottom: 1rem; }
.proj-partners { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(200,200,200,0.7); margin: 0 0 0.6rem; font-weight: 600; }
.service-text h2.proj-title { font-size: clamp(1.1rem, 2vw, 1.55rem); margin-bottom: 0.6rem; line-height: 1.3; }
.proj-title .proj-name { display: block; }
.proj-title .proj-sub { display: block; font-size: 0.88em; font-weight: 600; opacity: 0.7; margin-top: 0.15em; }
.proj-role { display: inline-block; font-size: 0.88rem; font-weight: 600; color: var(--green); background: rgba(107,191,60,0.08); border: 1px solid rgba(107,191,60,0.2); border-radius: 4px; padding: 0.3rem 0.75rem; margin: 0.6rem 0 1.25rem; }
.footer-sig { text-align: center; font-size: 0.72rem; color: rgba(136,136,136,0.28); padding: 0 1.5rem 1rem; }
.service-text p  { margin-bottom: 1rem; }
.service-list {
  margin-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.service-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem; color: var(--muted);
}
.service-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.compl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.compl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.compl-card h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 0.5rem; }
.compl-card p  { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   SECTEURS PAGE
   ============================================================ */
.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.secteur-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.secteur-card:hover {
  border-color: rgba(107,191,60,0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.secteur-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg3);
}
.secteur-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.secteur-card:hover .secteur-photo img { transform: scale(1.04); }
.secteur-icon-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(10,10,10,0.8);
  border: 1px solid rgba(107,191,60,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  backdrop-filter: blur(4px);
}
.secteur-icon-badge svg { width: 16px; height: 16px; }
.secteur-body { padding: 1.4rem 1.6rem 1.8rem; }
.secteur-body h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.5rem; }
.secteur-body p  { font-size: 0.875rem; margin-bottom: 0.7rem; }
.secteur-body .tags { justify-content: flex-start; }

/* ============================================================
   À PROPOS — values grid
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--trans);
}
.value-card:hover { border-color: rgba(107,191,60,0.3); }
.value-num {
  font-family: var(--font-h);
  font-size: 2rem; font-weight: 800;
  color: rgba(107,191,60,0.18);
  margin-bottom: 0.8rem;
  line-height: 1;
}
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p  { font-size: 0.875rem; }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-solo {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-coords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.coord-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.coord-item svg { color: var(--green); flex-shrink: 0; }
.coord-item a { color: var(--green); }
.contact-info h2  { margin: 0.5rem 0 1rem; }
.contact-info p   { margin-bottom: 1.5rem; }
.contact-items    { display: flex; flex-direction: column; gap: 1rem; }
.contact-item     { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-item svg { color: var(--green); flex-shrink: 0; margin-top: 0.2rem; }
.contact-item strong { font-size: 0.9rem; color: var(--white); display: block; margin-bottom: 0.15rem; }
.contact-item span, .contact-item a { font-size: 0.875rem; color: var(--muted); }

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1/-1; }
label { font-size: 0.8rem; font-weight: 500; color: var(--muted); letter-spacing: 0.03em; }
.req  { color: var(--green); }
input, select, textarea {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-b);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  transition: border-color var(--trans);
  width: 100%;
}
input::placeholder, textarea::placeholder { color: rgba(136,136,136,0.5); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(107,191,60,0.03);
}
textarea { min-height: 120px; resize: vertical; }
select option { background: var(--bg2); }
.form-submit { margin-top: 1.2rem; display: flex; justify-content: center; text-align: center; }
.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  display: none;
}
.form-feedback.success { background: rgba(107,191,60,0.1); color: var(--green); border: 1px solid rgba(107,191,60,0.2); display: block; }
.form-feedback.error   { background: rgba(220,50,50,0.1); color: #e05555; border: 1px solid rgba(220,50,50,0.2); display: block; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  background: var(--bg3);
}
.cta-section h2  { margin-bottom: 1rem; }
.cta-section p   { margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-actions     { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo { opacity: 0.65; transition: opacity var(--trans); }
.footer-logo:hover { opacity: 1; }
.footer-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(136,136,136,0.6);
  text-decoration: none;
  transition: color var(--trans);
}
.footer-nav a:hover { color: var(--green); }
.footer-linkedin-logo { width: 20px; height: 20px; display: block; filter: brightness(0) invert(1); opacity: 0.6; transition: opacity var(--trans); }
.footer-nav a:hover .footer-linkedin-logo { opacity: 1; }
.footer-copy {
  font-size: 0.8rem;
  color: rgba(136,136,136,0.4);
}

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.3rem; margin: 2.5rem 0 0.8rem; color: var(--white); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p  { margin-bottom: 0.8rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.875rem; }
.legal-table th { background: var(--card); color: var(--green); font-weight: 600; padding: 0.7rem 1rem; text-align: left; border: 1px solid var(--border2); }
.legal-table td { padding: 0.65rem 1rem; border: 1px solid var(--border); vertical-align: top; line-height: 1.55; color: var(--muted); }

/* ============================================================
   FOCUS ACCESSIBILITY
   ============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ============================================================
   RESPONSIVE — TABLET ≤ 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid, .zone-grid, .contact-grid, .service-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-inner.reverse { direction: ltr; }
  .icon-grid    { grid-template-columns: repeat(2, 1fr); }
  .compl-grid   { grid-template-columns: repeat(2, 1fr); }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
  /* layout */
  .section      { padding: 4rem 0; }
  .page-hero    { padding: 6.5rem 0 2.5rem; }
  .logo-img     { height: 44px; }
  /* nav */
  .nav-list {
    display: none;
    position: fixed; inset: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 150;
  }
  .nav-list.open  { display: flex; }
  .nav-list a     { font-size: 1.1rem; padding: 0.75rem 2rem; }
  .burger         { display: flex; }
  /* grids */
  .icon-grid     { grid-template-columns: 1fr; }
  .secteurs-grid { grid-template-columns: 1fr 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .icon-grid, .domains-grid, .secteurs-grid, .values-grid { gap: 1rem; }
  /* cards & icons */
  .icon-card, .domain-card, .value-card, .compl-card { padding: 1.4rem; }
  .icon-box, .domain-icon { width: 42px; height: 42px; }
  .icon-box svg, .domain-icon svg { width: 18px; height: 18px; }
  /* misc */
  .service-detail { padding: 4rem 0; }
  .zone-svg-box   { height: 280px; }
  .contact-coords { flex-direction: column; align-items: center; gap: 0.75rem; }
  .footer-inner   { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav     { justify-content: center; gap: 1rem 1.8rem; }
  /* buttons: centrer les boutons isolés */
  .about-content .btn,
  .service-text .btn { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
  /* Logos : carousel conservé sur mobile, tailles réduites */
  .refs-marquee::before, .refs-marquee::after { width: 40px; }
  .refs-track { gap: 2.5rem; }
  .ref-logo img { height: 40px; max-width: 130px; }
  .ref-logo.ref-logo-lg img { height: 110px; }
  .ref-logo-wide img { max-width: 170px; }
  /* Bouton Envoyer : pleine largeur sur mobile */
  .form-submit { justify-content: stretch; }
  .form-submit .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE ≤ 560px
   ============================================================ */
@media (max-width: 560px) {
  .section    { padding: 3rem 0; }
  .page-hero  { padding: 6rem 0 2rem; }
  .logo-img   { height: 38px; }
  .domains-grid  { grid-template-columns: 1fr; }
  .secteurs-grid { grid-template-columns: 1fr; }
  .form-grid     { grid-template-columns: 1fr; }
  .compl-grid    { grid-template-columns: 1fr; }
  .hero-actions  { flex-direction: column; align-items: center; }
  .form-card     { padding: 1.5rem; }
  .zone-svg-box  { height: 240px; }
  .footer-nav { gap: 0.8rem 1.4rem; }
  .refs-track { gap: 2rem; }
  .ref-logo img { height: 32px; max-width: 110px; }
  .ref-logo.ref-logo-lg img { height: 90px; }
  .ref-logo-wide img { max-width: 140px; }
}
