/* ====================================================
   SIGAO-CAM — Site vitrine
   Une solution developpee par DIGITECH SOFT AND PARTNER TRADING
   ==================================================== */

:root {
  --cacao-50: #faf6f1;
  --cacao-100: #f4ede2;
  --cacao-200: #e6d3bb;
  --cacao-300: #d3b088;
  --cacao-400: #c08c5c;
  --cacao-500: #a06f3f;
  --cacao-600: #845833;
  --cacao-700: #68432a;
  --cacao-800: #553726;
  --cacao-900: #472f22;

  --leaf-50: #f1f8f0;
  --leaf-100: #dcedd8;
  --leaf-500: #4a8c3f;
  --leaf-600: #3a7031;
  --leaf-700: #2f5a29;

  --gold: #e8c468;
  --whatsapp: #25d366;

  --ink: #2b2420;
  --ink-soft: #5c5349;
  --bg: #fffdfa;
  --card: #ffffff;
  --border: #ece3d8;

  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(85, 55, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(85, 55, 38, 0.12);
  --shadow-lg: 0 24px 60px rgba(85, 55, 38, 0.18);

  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf-600);
  background: var(--leaf-50);
  border: 1px solid var(--leaf-100);
  padding: 8px 16px;
  border-radius: 999px;
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; color: var(--cacao-900); }
h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 14px; }
h3 { font-size: 20px; }
.section-lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 18px;
  margin-top: 16px;
}
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: 96px 0; position: relative; }
section.tight { padding: 64px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--leaf-600); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--leaf-700); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35); }
.btn-whatsapp:hover { background: #1fb956; }
.btn-ghost { background: #fff; color: var(--cacao-800); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--cacao-400); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 19px 38px; font-size: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  min-height: 84px;
  padding: 14px 0;
}
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.brand-lockup img.logo-main { width: 48px; height: 48px; border-radius: 12px; }
.brand-text { line-height: 1.15; }
.brand-text .name { font-weight: 800; font-size: 20px; color: var(--cacao-900); }
.brand-text .tag { font-size: 12px; color: var(--ink-soft); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color 0.15s; }
.nav-links a:hover { color: var(--leaf-700); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--cacao-900); border-radius: 2px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 60px;
  background:
    radial-gradient(760px 420px at 85% -10%, rgba(74,140,63,0.14), transparent 60%),
    radial-gradient(600px 400px at -10% 110%, rgba(212,176,136,0.25), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.08;
  margin-top: 20px;
}
.hero h1 .accent { color: var(--leaf-600); }
.hero p.lead { font-size: 19px; color: var(--ink-soft); margin-top: 22px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-trust {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-trust img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); padding: 3px; }
.hero-trust strong { color: var(--cacao-900); }

.hero-visual { position: relative; }
.device-frame {
  background: var(--cacao-900);
  border-radius: 20px;
  padding: 10px 10px 0;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.device-frame .bar { display: flex; gap: 6px; padding: 10px 6px; }
.device-frame .bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.device-frame img { border-radius: 10px 10px 0 0; display: block; }
.floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
}
.floating-card .ic { font-size: 26px; }
.floating-card.card-1 { top: -22px; left: -28px; transform: rotate(-4deg); }
.floating-card.card-2 { bottom: -18px; right: -20px; transform: rotate(3deg); }
.floating-card small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 12px; }

/* ---------- Logos strip ---------- */
.strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.strip .container { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.strip span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.strip strong { color: var(--cacao-800); }

/* ---------- Problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.problem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.problem-card .ic {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: #fbeeea; border-radius: 14px;
  font-size: 26px; margin-bottom: 18px;
}
.problem-card h4 { font-size: 17px; margin-bottom: 8px; color: var(--cacao-900); }
.problem-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Comptoir digital ---------- */
.comptoir {
  background: linear-gradient(160deg, var(--leaf-700), var(--leaf-600) 55%, var(--cacao-600));
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 72px 48px;
}
.comptoir .eyebrow { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: #fff; }
.comptoir h2 { color: #fff; }
.comptoir .section-lead { color: rgba(255,255,255,0.9); }
.filiere-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.filiere-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 26px;
}
.filiere-card .ic { font-size: 34px; margin-bottom: 14px; }
.filiere-card h4 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.filiere-card p { color: rgba(255,255,255,0.85); font-size: 14.5px; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card .ic {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px; font-size: 28px; margin-bottom: 18px;
}
.feature-card.c1 .ic { background: #eaf3e7; }
.feature-card.c2 .ic { background: #f4ede2; }
.feature-card.c3 .ic { background: #e9f1fb; }
.feature-card.c4 .ic { background: #fdf1df; }
.feature-card.c5 .ic { background: #fbeeea; }
.feature-card.c6 .ic { background: #f1e9f7; }
.feature-card h4 { margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; }
.feature-card.flagship {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--cacao-50), #fff);
  border: 1.5px solid var(--cacao-200);
}
.flagship .flagship-text .eyebrow { margin-bottom: 14px; }
.flagship .flagship-text ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.flagship .flagship-text li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.flagship .flagship-text li b { color: var(--cacao-900); }
.flagship img { border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--border); }

/* ---------- Gallery / Screens (dynamique) ---------- */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.gallery-tab:hover { border-color: var(--leaf-500); color: var(--leaf-700); }
.gallery-tab.active { background: var(--leaf-600); border-color: var(--leaf-600); color: #fff; }
.gallery-tab .count {
  background: rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 12px;
}
.gallery-tab.active .count { background: rgba(255,255,255,0.25); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.gallery-item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  padding: 0;
  width: 100%;
  font: inherit;
  color: inherit;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item .shot-wrap { overflow: hidden; aspect-ratio: 16 / 10; position: relative; background: var(--cacao-100); }
.gallery-item .shot-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery-item .shot-wrap .zoom-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(43,36,32,0.0);
  color: #fff; font-size: 30px;
  opacity: 0; transition: all 0.2s ease;
}
.gallery-item:hover .zoom-hint { opacity: 1; background: rgba(43,36,32,0.35); }
.gallery-item .cap { padding: 16px 18px; }
.gallery-item .cap .badge-role {
  display: inline-block;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--leaf-600); margin-bottom: 6px;
}
.gallery-item .cap h4 { font-size: 15.5px; margin-bottom: 4px; }
.gallery-item .cap p { font-size: 13.5px; color: var(--ink-soft); }
.gallery-empty { text-align: center; padding: 40px 0; color: var(--ink-soft); display: none; }

/* ---------- Formulaire "Demande d'adhesion" (bouton Se connecter) ---------- */
.link-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  font: inherit; color: inherit; text-align: left;
}
.mobile-menu button[data-open-adhesion] {
  background: none; border: none; cursor: pointer; padding: 12px 0; width: 100%;
  font: inherit; font-weight: 600; color: inherit; text-align: left;
  border-bottom: 1px solid var(--border);
}

.modal {
  position: fixed; inset: 0;
  z-index: 400;
  background: rgba(20, 16, 14, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; }
.modal-panel {
  position: relative;
  width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
/* Positioned inside .modal-panel (not .modal), same lesson as the gallery
   lightbox: an absolutely-positioned control must sit inside the element
   it should be anchored to, not a fixed full-viewport ancestor. */
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cacao-50); border: 1px solid var(--border); border-radius: 50%;
  font-size: 16px; color: var(--ink); cursor: pointer;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--cacao-100); }

.modal-body h3 { font-size: 24px; color: var(--cacao-900); margin-bottom: 10px; padding-right: 30px; }
.modal-sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 24px; }

.form-row { margin-bottom: 16px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-2 .form-row { margin-bottom: 0; }
.form-row label { display: block; font-weight: 700; font-size: 13.5px; color: var(--cacao-800); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font: inherit; font-size: 14.5px; color: var(--ink);
  background: #fff;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--leaf-600);
}
.form-row textarea { resize: vertical; }

.form-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer;
}
.check-chip input { width: auto; accent-color: var(--leaf-600); }

#adhesion-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

.form-error {
  background: #fdecec; color: #a3342c; border: 1px solid #f3c6c2;
  border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px;
}

[data-adhesion-step="sending"], [data-adhesion-step="success"] { text-align: center; padding: 20px 0; }
.adhesion-spinner {
  width: 44px; height: 44px; margin: 0 auto 18px;
  border: 4px solid var(--cacao-100); border-top-color: var(--leaf-600);
  border-radius: 50%;
  animation: adhesion-spin 0.8s linear infinite;
}
@keyframes adhesion-spin { to { transform: rotate(360deg); } }
.adhesion-icon { font-size: 44px; margin-bottom: 12px; }
[data-adhesion-step="success"] .btn { max-width: 240px; margin: 20px auto 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(20, 16, 14, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-inner { width: 100%; max-width: 1100px; display: flex; flex-direction: column; align-items: center; }
.lightbox-frame { position: relative; width: 100%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.lightbox-frame img { width: 100%; display: block; max-height: 74vh; object-fit: contain; background: var(--cacao-100); }
.lightbox-cap { color: #fff; text-align: center; margin-top: 18px; max-width: 700px; }
.lightbox-cap .badge-role { color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.lightbox-cap h4 { color: #fff; font-size: 19px; margin-top: 6px; }
.lightbox-cap p { color: rgba(255,255,255,0.75); font-size: 14.5px; margin-top: 6px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  /* Opaque dark background (not translucent-light) so the control stays
     readable regardless of what's behind it - most app screenshots have a
     light/white background, where a light translucent button would all
     but disappear. */
  background: rgba(20, 16, 14, 0.75);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  transition: background 0.15s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(20, 16, 14, 0.92); }
/* Positioned inside .lightbox-frame (not .lightbox-inner) so all three
   controls stay anchored to the image itself and remain visible at any
   viewport height, instead of risking landing above the fold. */
.lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; font-size: 17px; }
.lightbox-prev { top: 50%; left: 14px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 14px; transform: translateY(-50%); }
.lightbox-counter { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 10px; }

/* ---------- Roles ---------- */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.role-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.role-card .ic {
  width: 60px; height: 60px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--leaf-50); font-size: 28px;
}
.role-card h4 { font-size: 16px; margin-bottom: 8px; }
.role-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Why / stats ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.why-item { display: flex; gap: 18px; }
.why-item .num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--cacao-900); color: #fff;
  font-weight: 800; font-size: 15px;
}
.why-item h4 { margin-bottom: 4px; }
.why-item p { color: var(--ink-soft); font-size: 14.5px; }
.why-panel {
  background: var(--cacao-900);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: #fff;
}
.why-panel .lang-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.lang-pill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.why-panel .stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.why-panel .stat-row .stat b { font-size: 30px; display: block; color: var(--gold); }
.why-panel .stat-row .stat span { font-size: 13px; color: rgba(255,255,255,0.8); }

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(160deg, var(--cacao-800), var(--cacao-700) 55%, var(--leaf-700));
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 72px 48px;
  text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.88); font-size: 18px; max-width: 560px; margin: 18px auto 0; }
.cta-actions { display: flex; justify-content: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.cta-contact { margin-top: 28px; font-size: 14.5px; color: rgba(255,255,255,0.8); }
.cta-contact a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
footer {
  background: var(--cacao-900);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 12px; }
.footer-brand .name { font-weight: 800; font-size: 19px; color: #fff; }
footer p { font-size: 14px; color: rgba(255,255,255,0.65); max-width: 320px; }
footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
footer ul { display: flex; flex-direction: column; gap: 10px; }
footer ul a { font-size: 14.5px; color: rgba(255,255,255,0.85); }
footer ul a:hover { color: var(--gold); }
.footer-powered {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 14px 18px;
}
.footer-powered img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; background: #fff; padding: 3px; }
.footer-powered .pw-label { font-size: 11.5px; color: rgba(255,255,255,0.6); }
.footer-powered .pw-name { font-size: 13.5px; font-weight: 800; color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 200;
  background: var(--whatsapp);
  color: #fff;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal animation ----------
   Content is visible by default (opacity:1) so it never depends on
   JavaScript running or an IntersectionObserver firing - the .animate-in
   class, added by script.js as an element scrolls into view, only adds a
   cosmetic entrance animation on top of content that was already shown. */
.reveal { opacity: 1; }
.reveal.animate-in { animation: reveal-in 0.6s ease both; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.animate-in { animation: none; }
}

/* ====================================================
   Responsive
   ==================================================== */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.flagship { grid-column: span 2; grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(3, 1fr); }
  .filiere-grid { grid-template-columns: repeat(1, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Entre 860px et 1180px, on resserre l'espacement et on masque le
   sous-titre du logo pour garder le menu complet visible (au lieu de
   basculer sur le menu mobile) sur les fenetres PC pas tout a fait
   plein ecran. */
@media (max-width: 1180px) {
  .brand-text .tag { display: none; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; white-space: nowrap; }
  .nav-cta .btn-ghost { padding: 12px 20px; font-size: 14px; }
  .nav-cta .btn-whatsapp { padding: 12px 20px; font-size: 14px; }
}

/* En dessous de 860px, le menu complet (6 liens + 2 boutons + logo) ne
   tient plus sur une seule ligne meme resserre : on bascule sur le menu
   mobile pour eviter tout chevauchement. */
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 700px) {
  .nav-cta .btn-whatsapp { padding: 10px 16px; font-size: 13px; gap: 6px; }
  section { padding: 64px 0; }
  .modal-panel { padding: 26px 20px; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .form-grid-2 .form-row { margin-bottom: 16px; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.flagship { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .comptoir, .cta-section { margin: 0 14px; padding: 48px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-ctas, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn, .cta-actions .btn { justify-content: center; width: 100%; }
  .floating-card { display: none; }

  /* Long CTA labels (WhatsApp number, email) must wrap instead of forcing
     horizontal overflow of the whole page on narrow screens. */
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  .why-panel .stat-row { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-tabs { gap: 8px; }
  .gallery-tab { padding: 9px 14px; font-size: 13px; }
  .lightbox { padding: 16px; }
  .lightbox-close { width: 36px; height: 36px; font-size: 15px; top: 8px; right: 8px; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 17px; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-frame img { max-height: 54vh; }
}
