/* ============================================================
   GEYACOM v2 — Feuille de styles principale
   ============================================================ */

:root {
  --gm: #5cba2e;
  --gd: #3a7a1e;
  --gl: #7ed957;
  --gp: #eaf6e2;
  --gb: #c6e8b0;
  --wh: #ffffff;
  --bg: #f8fcf6;
  --tx: #2d3b22;
  --ts: #5a6e4a;
  --tm: #8aaa76;
  --sh: rgba(60,120,20,.10);
  --sm: rgba(60,120,20,.16);
  --r:  14px;
  --rs: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: "Open Sans", Arial, sans-serif;
  background: var(--bg);
  color: var(--tx);
  overflow-x: hidden;
}
h1, h2, h3,
.nav-logo-name, .stat-num, .sc-title, .pc-title,
.footer-brand-name, .btn-primary, .form-submit, .contact-form h3 {
  font-family: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
}

/* === NAVIGATION ============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gb);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  box-shadow: 0 2px 16px var(--sh);
  transition: box-shadow .3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 52px; width: 52px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name { font-weight: 900; font-size: 1.25rem; color: var(--gd); letter-spacing: .04em; }
.nav-logo-tagline { font-size: .6rem; color: var(--tm); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: .83rem; font-weight: 600; color: var(--ts); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--gd); }
.nav-cta {
  background: var(--gm) !important; color: #fff !important;
  padding: 9px 20px; border-radius: 100px; font-weight: 700 !important;
  box-shadow: 0 4px 14px var(--sm); transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--gd) !important; transform: translateY(-1px); }
/* ── Réseaux sociaux + sélecteur de langue ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.nav-social {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--ts);
  transition: color .2s, background .2s;
}
.nav-social a:hover { color: var(--gd); background: var(--gp); }
.nav-social svg { width: 17px; height: 17px; flex-shrink: 0; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: .2rem;
  border-left: 1px solid var(--gb);
  padding-left: .9rem;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 4px 9px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ts);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  letter-spacing: .04em;
}
.lang-btn:hover { background: var(--gp); color: var(--gd); }
.lang-btn.active {
  background: var(--gp);
  color: var(--gd);
  border-color: var(--gb);
}
.flag { font-size: .9rem; line-height: 1; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span { display: block; width: 23px; height: 2px; background: var(--gd); border-radius: 2px; transition: all .3s; }

/* === HERO =================================================== */
#hero {
  min-height: 100vh;
  padding: 68px 5vw 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.blob-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(92,186,46,.18) 0%, transparent 70%); top: -100px; right: -100px; }
.blob-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(126,217,87,.12) 0%, transparent 70%); bottom: 0; left: 5vw; }

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gp); border: 1px solid var(--gb); color: var(--gd);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px 6px 10px; border-radius: 100px; margin-bottom: 1.8rem;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gm); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(.65); } }

h1 { font-weight: 900; font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.08; color: var(--tx); letter-spacing: -.02em; margin-bottom: 1.4rem; }
h1 .hl { color: var(--gm); position: relative; display: inline-block; }
h1 .hl::after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 4px; background: var(--gl); border-radius: 2px; opacity: .5; }

.hero-sub { font-size: 1rem; line-height: 1.75; color: var(--ts); max-width: 500px; margin-bottom: 2.2rem; text-align: justify; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--gm); color: #fff; padding: 13px 26px; border-radius: 100px;
  font-weight: 700; font-size: .88rem; text-decoration: none;
  box-shadow: 0 6px 20px var(--sm); transition: background .2s, transform .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: var(--gd); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--gd); padding: 12px 26px; border-radius: 100px;
  border: 2px solid var(--gb); font-weight: 700; font-size: .88rem;
  text-decoration: none; transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--gm); background: var(--gp); }

/* === HERO VISUAL ============================================ */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Conteneur du logo + anneau */
.hero-logo-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Anneau rotatif — déborde de 30px autour du logo */
.gear-ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 2px dashed var(--gb);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Logo flottant */
.hero-logo {
  width: 300px;
  height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(60,120,20,.18));
  animation: float 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Badges sous le logo — margin-top: 50px pour compenser
   le débordement de 30px de l'anneau + respiration visuelle */
.hero-chips-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  width: 100%;
  max-width: 300px;
  margin-top: 50px;
}

.hero-chip {
  background: #fff;
  border: 1px solid var(--gb);
  border-radius: var(--r);
  padding: 10px 16px;
  box-shadow: 0 4px 14px var(--sh);
  font-size: .78rem;
  font-weight: 700;
  color: var(--tx);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hc-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--gp); display: flex; align-items: center; justify-content: center; font-size: .95rem; }

/* === BANDEAU SLOGANS ======================================== */
.band {
  background: var(--gd); padding: 1.2rem 5vw;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.band-item { color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.band-item::before { content: "✦"; color: var(--gl); font-size: .6rem; }

/* === STATS ================================================== */
#stats {
  padding: 5rem 5vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  background: #fff; border: 1px solid var(--gb); border-radius: var(--r);
  padding: 2rem 1.5rem; text-align: center; box-shadow: 0 4px 16px var(--sh);
  transition: transform .3s, box-shadow .3s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--sm); }
.stat-num { font-weight: 900; font-size: 2.8rem; color: var(--gm); line-height: 1; margin-bottom: .5rem; }
.stat-label { font-size: .78rem; color: var(--tm); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* === SECTIONS (headers communs) ============================= */
.section-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gm); font-weight: 700; margin-bottom: .8rem; }
.section-tag::before { content: ""; width: 18px; height: 2px; background: var(--gm); border-radius: 2px; }
h2 { font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--tx); line-height: 1.15; letter-spacing: -.01em; }
.section-sub { margin-top: .8rem; font-size: .95rem; color: var(--ts); line-height: 1.7; max-width: 520px; text-align: justify; }

/* === À PROPOS =============================================== */
#about { padding: 7rem 5vw; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-body p { font-size: .95rem; line-height: 1.8; color: var(--ts); margin-bottom: 1rem; text-align: justify; }
.about-body strong { color: var(--tx); font-weight: 600; }
.about-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.pill { background: var(--gp); border: 1px solid var(--gb); color: var(--gd); font-size: .75rem; font-weight: 700; padding: 5px 13px; border-radius: 100px; }
.about-card { background: #fff; border: 1px solid var(--gb); border-radius: 20px; padding: 2.5rem; box-shadow: 0 8px 32px var(--sh); position: relative; overflow: hidden; }
.about-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gm), var(--gl)); }
.about-card-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--gp); border: 1px solid var(--gb); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.5rem; }
.about-card h3 { font-weight: 800; font-size: 1.2rem; color: var(--tx); margin-bottom: .8rem; }
.about-card p { font-size: .88rem; line-height: 1.7; color: var(--ts); text-align: justify; }
.about-team { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gb); display: flex; align-items: center; gap: 12px; }
.team-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gm), var(--gl)); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .85rem; color: #fff; flex-shrink: 0; }
.team-name { font-size: .85rem; font-weight: 700; color: var(--tx); }
.team-role  { font-size: .75rem; color: var(--tm); }

/* === PRESTATIONS =========================================== */
#prestations { padding: 7rem 5vw; background: var(--gd); position: relative; overflow: hidden; }
#prestations::before { content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(126,217,87,.1) 0%, transparent 70%); pointer-events: none; }
#prestations .section-tag { color: var(--gl); }
#prestations .section-tag::before { background: var(--gl); }
#prestations h2 { color: #fff; }
#prestations .section-sub { color: rgba(255,255,255,.6); }
.services-grid { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.service-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 1.8rem; transition: background .3s, border-color .3s, transform .3s; }
.service-card:hover { background: rgba(255,255,255,.09); border-color: rgba(126,217,87,.35); transform: translateY(-3px); }
.sc-icon { width: 46px; height: 46px; border-radius: 11px; background: rgba(92,186,46,.18); border: 1px solid rgba(92,186,46,.3); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.1rem; }
.sc-title { font-weight: 800; font-size: .95rem; color: #fff; margin-bottom: .6rem; line-height: 1.3; }
.sc-desc  { font-size: .8rem; line-height: 1.65; color: rgba(255,255,255,.55); text-align: justify; }

/* === RÉALISATIONS ========================================== */
#realisations { padding: 7rem 5vw; }
.projects-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.project-card { background: #fff; border: 1px solid var(--gb); border-radius: 20px; overflow: hidden; box-shadow: 0 4px 16px var(--sh); transition: transform .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px var(--sm); }
.pc-thumb { height: 160px; background: linear-gradient(135deg, var(--gp) 0%, #d4f0c0 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pc-thumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(92,186,46,.15) 0%, rgba(126,217,87,.08) 100%); }
.pc-logo-text { font-weight: 900; font-size: 1.6rem; color: var(--gd); position: relative; z-index: 1; letter-spacing: -.02em; }
.pc-logo-text span { color: var(--gm); }
.pc-body { padding: 1.6rem 1.8rem; }
.pc-title { font-weight: 800; font-size: 1.05rem; color: var(--tx); margin-bottom: .5rem; }
.pc-desc  { font-size: .82rem; line-height: 1.65; color: var(--ts); margin-bottom: 1.2rem; text-align: justify; }
.pc-link  { display: inline-flex; align-items: center; gap: 6px; color: var(--gm); font-size: .8rem; font-weight: 700; text-decoration: none; transition: gap .2s, color .2s; }
.pc-link:hover { gap: 10px; color: var(--gd); }

/* === CLIENTS =============================================== */
#clients { padding: 6rem 5vw; background: var(--gp); border-top: 1px solid var(--gb); border-bottom: 1px solid var(--gb); text-align: center; }
.clients-grid { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.client-badge { background: #fff; border: 1px solid var(--gb); border-radius: var(--rs); padding: 14px 24px; font-size: .82rem; font-weight: 700; color: var(--ts); box-shadow: 0 2px 8px var(--sh); transition: border-color .2s, color .2s, transform .2s; }
.client-badge:hover { border-color: var(--gm); color: var(--gd); transform: translateY(-2px); }
.client-badge--link { text-decoration: none; cursor: pointer; }
.client-badge--link:hover { border-color: var(--gm); color: var(--gd); }
.client-badge--logo { padding: 10px 18px; display: inline-flex; align-items: center; justify-content: center; min-width: 120px; }
.client-logo-img { max-height: 52px; max-width: 140px; width: auto; height: auto; object-fit: contain; display: block; }

/* === CONTACT =============================================== */
#contact {
  padding: 7rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Colonne gauche : tag + photo + titre + coordonnées */
.contact-info { display: flex; flex-direction: column; }

.contact-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.contact-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--gb);
  box-shadow: 0 8px 32px var(--sm);
}

/* Colonne droite : carte + formulaire empilés */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Carte Google Maps */
.contact-map {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--sh);
  border: 1px solid var(--gb);
  margin-bottom: 2rem;
}

.contact-info p { font-size: .95rem; line-height: 1.75; color: var(--ts); margin: 1rem 0 2rem; text-align: justify; }
.ci { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--gb); border-radius: var(--rs); padding: 13px 16px; text-decoration: none; margin-bottom: .8rem; transition: border-color .2s, box-shadow .2s; box-shadow: 0 2px 8px var(--sh); }
.ci:hover { border-color: var(--gm); box-shadow: 0 6px 18px var(--sm); }
.ci-icon { width: 38px; height: 38px; border-radius: var(--rs); background: var(--gp); border: 1px solid var(--gb); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ci-text { font-size: .85rem; color: var(--tx); font-weight: 500; }
.contact-form { background: #fff; border: 1px solid var(--gb); border-radius: 20px; padding: 2.5rem; box-shadow: 0 8px 32px var(--sh); position: relative; overflow: hidden; }
.contact-form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gm), var(--gl)); }
.contact-form h3 { font-weight: 800; font-size: 1.15rem; color: var(--tx); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.field-error { display: none; font-size: .78rem; color: #c0392b; margin-top: .3rem; font-weight: 600; }
.field-error.visible { display: block; }
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.10); }
.form-group label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tm); margin-bottom: .45rem; }
.form-group input,
.form-group textarea,
.form-group select { width: 100%; background: var(--bg); border: 1.5px solid var(--gb); border-radius: var(--rs); padding: 11px 14px; color: var(--tx); font-family: "Open Sans", Arial, sans-serif; font-size: .88rem; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gm); box-shadow: 0 0 0 3px rgba(92,186,46,.12); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; background: var(--gm); color: #fff; border: none; border-radius: 100px; padding: 13px; font-weight: 800; font-size: .95rem; cursor: pointer; letter-spacing: .03em; margin-top: .5rem; box-shadow: 0 6px 20px var(--sm); transition: background .2s, transform .2s; }
.form-submit:hover { background: var(--gd); transform: translateY(-2px); }

/* === FOOTER ================================================ */
footer { background: var(--gd); color: rgba(255,255,255,.7); padding: 3.5rem 5vw 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand img { height: 48px; width: 48px; object-fit: contain; }
.footer-brand-name { font-weight: 900; font-size: 1.1rem; color: #fff; }
.footer-desc { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-col h4 { font-weight: 800; font-size: .8rem; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { font-size: .82rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gl); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy   { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-slogan { font-size: .75rem; color: var(--gl); font-weight: 700; letter-spacing: .06em; }

/* === IMAGES DE SECTION ===================================== */

/* Hero — photo executive (colonne gauche uniquement) */
.hero-exec-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-exec-img {
  width: 100%;
  max-width: 480px;   /* +1/3 par rapport à 360px */
  height: auto;       /* proportions conservées, pas de rognage */
  border-radius: var(--r);
  box-shadow: 0 8px 32px var(--sm);
}

/* Sections Prestations & Clients — image 1/3 écran */
.section-img-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.section-img {
  width: 33vw;
  max-width: 520px;
  min-width: 200px;
  height: auto;       /* proportions conservées, pas de rognage */
  border-radius: var(--r);
  box-shadow: 0 8px 32px var(--sm);
}

/* === ANIMATIONS SCROLL ===================================== */
.reveal { opacity: 1; transform: none; }
body.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
body.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE ============================================ */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; text-align: center; padding-top: 68px; min-height: auto; padding-bottom: 4rem; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .hero-exec-img { max-width: 100%; height: auto; }
  .section-img { width: 80vw; height: auto; }
  #stats { grid-template-columns: repeat(2,1fr); }
  #about { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  #contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: #fff; padding: 1.5rem 5vw; border-bottom: 1px solid var(--gb); box-shadow: 0 8px 24px var(--sh); gap: 1.2rem; }
  .nav-social a { width: 28px; height: 28px; }
  .nav-social svg { width: 15px; height: 15px; }
  .lang-btn { padding: 3px 7px; font-size: .68rem; }
  .form-row { grid-template-columns: 1fr; }
  .band { gap: 1.2rem; }
  .legal-wrap { padding: 5rem 5vw 4rem; }
  .legal-block { padding: 1.5rem; }
}

/* === PAGES LÉGALES (mentions légales, propriété intellectuelle) === */
.legal-page { padding-top: 68px; min-height: 100vh; background: var(--bg); }

.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 5vw 6rem;
}

.legal-hero {
  margin-bottom: 3.5rem;
  border-bottom: 2px solid var(--gb);
  padding-bottom: 2rem;
}
.legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--tx);
  margin: .6rem 0 .8rem;
  line-height: 1.15;
}
.legal-updated {
  font-size: .78rem;
  color: var(--tm);
  font-style: italic;
}

.legal-block {
  background: #fff;
  border: 1px solid var(--gb);
  border-radius: var(--r);
  padding: 2rem 2.4rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px var(--sh);
  transition: box-shadow .2s;
}
.legal-block:hover { box-shadow: 0 6px 22px var(--sm); }
.legal-block h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gd);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.legal-block h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--gm);
  border-radius: 2px;
  flex-shrink: 0;
}
.legal-block p {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--ts);
  text-align: justify;
}
.legal-block p + p { margin-top: .8rem; }
.legal-block a { color: var(--gd); font-weight: 600; text-decoration: none; }
.legal-block a:hover { text-decoration: underline; }

/* Bloc CTA (contact) */
.legal-block--cta {
  background: var(--gp);
  border-color: var(--gb);
}
.legal-block--cta h2 { color: var(--gd); }
.legal-block--cta p  { color: var(--tx); }

/* Tableau (éditeur) */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.legal-table th,
.legal-table td {
  padding: .6rem .8rem;
  text-align: left;
  border-bottom: 1px solid var(--gb);
  vertical-align: top;
}
.legal-table th {
  width: 38%;
  font-weight: 700;
  color: var(--gd);
  white-space: nowrap;
}
.legal-table td { color: var(--ts); }
.legal-table tr:last-child th,
.legal-table tr:last-child td { border-bottom: none; }

/* Bouton retour */
.legal-back { margin-top: 2.5rem; }

/* =====================================================
   SECTION VIDÉOS
   ===================================================== */
.videos-section {
  padding: 5rem 5vw;
  background: var(--bg);
}
.videos-section .reveal {
  text-align: center;
}
.videos-section .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.video-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.video-label {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gd);
  text-align: center;
}
.video-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--sh);
  background: #000;
  line-height: 0; /* évite l'espace sous la balise video */
}
.video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: contain;
  background: #000;
}

/* --- Responsive tablette : on réduit le gap --- */
@media (max-width: 1024px) and (min-width: 601px) {
  .videos-grid {
    gap: 1.5rem;
  }
}

/* --- Responsive mobile : une vidéo par ligne --- */
@media (max-width: 600px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .video-wrap video {
    max-height: 260px;
  }
}
