:root {
  --bg: #0A1128;
  --bg-alt: #080D1F;
  --card: #121b3d;
  --accent: #FF5A1F;
  --accent-light: #FF7A45;
  --accent-soft: #FF9A6B;
  --text: #ffffff;
  --text-muted: #A9B4D0;
  --text-dim: #6E7A9E;
  --placeholder: #5B6690;
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-input: rgba(255, 255, 255, 0.1);
  --whatsapp: #25D366;
  --success: #4ADE80;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text-muted);
}

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; }

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  margin: 0;
}

input::placeholder, textarea::placeholder { color: var(--placeholder); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16,.8,.24,1), transform 0.7s cubic-bezier(.16,.8,.24,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(10, 17, 40, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-header .brand img { width: 36px; height: 36px; display: block; }
.site-header .brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.site-header .brand span em { color: var(--accent); font-style: normal; }
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  flex-wrap: wrap;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); font-weight: 600; }
.btn-primary {
  margin-left: 4px;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { background: var(--accent-light); }
.btn-primary:active { transform: scale(0.97); }

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 64px) 32px;
}
.site-footer .footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .footer-brand img { width: 30px; height: 30px; }
.site-footer .footer-brand span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); }
.site-footer p { font-size: 14px; line-height: 1.6; max-width: 280px; margin: 0 0 4px; }
/* Réseaux sociaux : gris au repos, couleur officielle de la plateforme au survol. */
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social-link:hover { transform: translateY(-3px); }
.social-link.facebook:hover { color: #1877F2; border-color: rgba(24, 119, 242, 0.5); background: rgba(24, 119, 242, 0.1); }
.social-link.instagram:hover { color: #E4405F; border-color: rgba(228, 64, 95, 0.5); background: rgba(228, 64, 95, 0.1); }
.social-link.tiktok:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.08); }

.site-footer .footer-heading { color: var(--text); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.site-footer .footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer .footer-links a { color: var(--text-muted); text-decoration: none; }
.site-footer .footer-links a:hover { color: var(--accent); }
.site-footer .footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

/* Contact page */
.contact-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 110px) clamp(20px, 4vw, 64px) clamp(40px, 6vw, 56px);
  text-align: center;
}
.contact-hero .eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255, 90, 31, 0.4);
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s cubic-bezier(.16,.8,.24,1) 0.05s both;
}
.contact-hero h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 20px;
  animation: fadeInUp 0.75s cubic-bezier(.16,.8,.24,1) 0.15s both;
}
.contact-hero p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeInUp 0.75s cubic-bezier(.16,.8,.24,1) 0.28s both;
}

.contact-section {
  padding: 0 clamp(20px, 4vw, 64px) clamp(64px, 8vw, 100px);
}
.contact-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-card.whatsapp:hover { border-color: var(--whatsapp); }
.contact-card svg { flex-shrink: 0; }
.contact-card .label { color: var(--text); font-weight: 600; font-size: 14.5px; }
.contact-card .value { color: var(--text-muted); font-size: 14px; }

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
}
.contact-form-card h2 { font-size: 20px; margin: 0 0 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { color: var(--text-muted); font-size: 13px; }
.form-field input, .form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--border-input);
  border-radius: 10px;
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14.5px;
}
.form-field textarea { resize: vertical; }
.form-field .optional { color: var(--text-dim); font-size: 12px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }

/* Piège à robots : invisible pour l'utilisateur, rempli par les spambots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.form-or { color: var(--text-dim); font-size: 13.5px; }
.submit-btn {
  padding: 15px 28px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.submit-btn:hover { background: var(--accent-light); transform: translateY(-2px); }
.submit-btn:active { transform: scale(0.97); }
.submit-btn:disabled { opacity: 0.55; cursor: wait; transform: none; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border: 1px solid rgba(37, 211, 102, 0.45);
  border-radius: 10px;
  color: var(--whatsapp);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.btn-whatsapp:hover { background: rgba(37, 211, 102, 0.12); border-color: var(--whatsapp); transform: translateY(-2px); }
.btn-whatsapp svg { flex-shrink: 0; }

.form-status { font-size: 14px; line-height: 1.6; margin: 0; }
.form-status:empty { display: none; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--accent-light); }

/* Shared building blocks (Accueil, A-Propos, Services, Réalisations) */
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(255, 90, 31, 0.4);
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s cubic-bezier(.16,.8,.24,1) 0.05s both;
}
.page-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 110px) clamp(20px, 4vw, 64px) clamp(48px, 6vw, 72px);
  text-align: center;
}
.page-hero h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 24px;
  animation: fadeInUp 0.75s cubic-bezier(.16,.8,.24,1) 0.15s both;
}
.page-hero p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
  animation: fadeInUp 0.75s cubic-bezier(.16,.8,.24,1) 0.28s both;
}

.wave-divider { display: block; width: 100%; height: 48px; }
.wave-divider path {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: drawLine 1.6s ease 0.3s forwards;
}
@keyframes drawLine { from { stroke-dashoffset: 1500; } to { stroke-dashoffset: 0; } }

.section { padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 64px); }
.section-alt { background: #0E1730; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-inner.narrow { max-width: 1100px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 14px; }
.section-title.centered { text-align: center; margin-bottom: 12px; }
.section-lead { font-size: 1rem; line-height: 1.7; max-width: 620px; margin: 0 0 44px; }
.section-lead.centered { margin: 0 auto 56px; text-align: center; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,0.35); border-color: rgba(255,90,31,0.3); }
.info-card svg { margin-bottom: 16px; }

/* Style commun des icônes métier : tracé fin orange, sans remplissage.
   Chaque activité a son propre dessin, seule la mise en forme est partagée. */
.svc-icon {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.value-card .svc-icon { margin: 0 auto 16px; }
.contact-card .svc-icon { width: 30px; height: 30px; flex-shrink: 0; }
.cta-card .svc-icon { margin-bottom: 14px; }
.info-card h3 { font-size: 17px; margin: 0 0 8px; }
.info-card p { font-size: 14px; line-height: 1.6; margin: 0; }

.link-arrow {
  display: inline-block;
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.link-arrow:hover { color: var(--accent); transform: translateX(4px); }

.hero-split {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 10vw, 120px) clamp(20px, 4vw, 64px) clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(240px, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 760px) { .hero-split { grid-template-columns: 1fr; } }
.hero-split h1 {
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin: 0 0 20px;
  animation: fadeInUp 0.75s cubic-bezier(.16,.8,.24,1) 0.15s both;
}
.hero-split p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 0 36px;
  animation: fadeInUp 0.75s cubic-bezier(.16,.8,.24,1) 0.28s both;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.75s cubic-bezier(.16,.8,.24,1) 0.4s both; }
.btn-outline {
  padding: 14px 30px;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateY(-2px); }
.hero-visual {
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--card), var(--bg));
  border: 1px solid rgba(255, 90, 31, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.9s cubic-bezier(.16,.8,.24,1) 0.35s both;
}
.hero-visual img { width: 44%; opacity: 0.92; animation: floatGlow 4.5s ease-in-out 1.2s infinite; }
@keyframes floatGlow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(255,90,31,0.28)); transform: translateY(0); }
  50% { filter: drop-shadow(0 0 26px rgba(255,90,31,0.5)); transform: translateY(-8px); }
}

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.team-grid.wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.team-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card.large { border-radius: 20px; padding: 36px; text-align: left; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,0.35); }
.avatar-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: #16204a; border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; color: var(--accent);
  margin: 0 auto 14px;
}
.team-card.large .avatar-circle { width: 76px; height: 76px; font-size: 22px; margin: 0 0 22px; }
.team-card h3 { font-size: 16px; margin: 0 0 4px; }
.team-card.large h3 { font-size: 20px; }
.team-card .role { color: var(--text-muted); font-size: 13px; margin: 0; }
.team-card.large .role { color: var(--accent-soft); font-size: 14px; font-weight: 600; margin: 0 0 18px; }
.team-card.large .bio { color: var(--text-muted); font-size: 14.5px; line-height: 1.75; margin: 0; }

.split-block {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 760px) { .split-block { grid-template-columns: 1fr; } }

.cta-section { padding: clamp(64px, 9vw, 110px) clamp(20px, 4vw, 64px); text-align: center; }
.cta-section .cta-inner { max-width: 680px; margin: 0 auto; }
.cta-section h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 0 0 16px; }
.cta-section p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin: 0 0 32px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.portfolio-grid.compact { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.portfolio-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,0.35); }
/* Aligné sur le format natif des captures d'écran (environ 2,18/1) pour réduire
   le recadrage au strict minimum. Aucun enfant n'est laissé dans le flux normal :
   la hauteur découle donc uniquement de aspect-ratio et ne peut pas être étirée
   par le contenu. */
.portfolio-thumb {
  position: relative;
  aspect-ratio: 2 / 1;
  min-height: 0;
  background: repeating-linear-gradient(135deg, rgba(255,90,31,0.14) 0 12px, rgba(255,90,31,0.05) 12px 24px);
  border-bottom: 1px solid rgba(255,90,31,0.2);
  overflow: hidden;
}
.portfolio-thumb span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 12px;
  color: var(--accent-soft);
  text-align: center;
  padding: 0 16px;
}

/* La capture recouvre le motif de remplissage. Si le fichier image est absent,
   main.js retire la balise et le texte de repérage réapparaît. */
.portfolio-thumb .thumb-shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .thumb-shot { transform: scale(1.04); }

.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.badge-row .portfolio-badge { margin-bottom: 0; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--success);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
}
.status-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
}
.portfolio-card .body { padding: 22px; }
.portfolio-card.compact .body { padding: 24px; }
.portfolio-card h3 { font-size: 16px; margin: 0 0 8px; }
.portfolio-card.compact h3 { font-size: 17px; }
.portfolio-card p { font-size: 14px; line-height: 1.65; margin: 0; }
.portfolio-badge {
  display: inline-block;
  font-size: 11.5px;
  color: var(--accent-soft);
  border: 1px solid rgba(255,90,31,0.35);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.portfolio-card.cta-card {
  background: linear-gradient(160deg, #1a1030, var(--card));
  border-color: rgba(255,90,31,0.35);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.portfolio-card.cta-card h3 { font-size: 18px; margin: 0 0 10px; }
.portfolio-card.cta-card p { font-size: 14px; line-height: 1.7; margin: 0 0 20px; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.process-step { text-align: center; transition: transform 0.25s ease; }
.process-step:hover { transform: translateY(-6px); }
.step-number {
  width: 44px; height: 44px; border-radius: 50%;
  background: #16204a; border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--accent);
  margin: 0 auto 16px;
}
.process-step h3 { font-size: 15.5px; margin: 0 0 8px; }
.process-step p { font-size: 13.5px; line-height: 1.6; margin: 0; }

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.value-card { text-align: center; padding: 24px; transition: transform 0.25s ease; }
.value-card:hover { transform: translateY(-6px); }
.value-card svg { margin: 0 auto 16px; display: block; }
.value-card h3 { font-size: 16px; margin: 0 0 10px; }
.value-card p { font-size: 14px; line-height: 1.65; margin: 0; }

.prose-block { max-width: 900px; margin: 0 auto; text-align: center; }
.prose-block h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 18px; }
.prose-block p { font-size: 1rem; line-height: 1.8; margin: 0; }
