/* ============================================
   BNS LOGISTIC - Feuille de style
   Version claire (inspiration Dachser)
   ============================================ */

/* ===== Variables globales ===== */
:root {
  --noir: #0d0d0d;
  --texte: #1a1a1a;
  --texte-clair: #5b6470;
  --texte-meta: #8a93a0;

  --orange: #fa9600;
  --orange-clair: #ffb340;
  --orange-fonce: #d97f00;

  --blanc: #ffffff;
  --fond: #ffffff;
  --fond-alt: #f5f7fa;
  --fond-accent: #fef6e9;
  --bordure: #e6eaf0;
  --bordure-claire: #f0f2f5;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  -webkit-font-smoothing: antialiased;
}


/* ============================================
   HEADER — Fond blanc (style Dachser)
   ============================================ */

header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--bordure-claire);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(13, 13, 13, 0.06);
}

nav {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: auto;
  padding: 0 32px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
  border-radius: 12px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  color: var(--texte);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  position: relative;
  padding: 6px 0;
}

nav a:hover {
  color: var(--orange);
}

nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}

nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--orange);
  color: var(--blanc) !important;
  padding: 10px 22px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(250, 150, 0, 0.25);
}

.nav-cta:hover {
  background: var(--orange-fonce);
  color: var(--blanc) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(250, 150, 0, 0.35);
}

.nav-cta::after {
  display: none !important;
}


/* ============================================
   HERO VIDÉO — VERSION CORRIGÉE
   (overlay sombre + texte lisible + cadrage)
   ============================================ */

.hero {
  position: relative;
  height: calc(100vh - 72px);
  min-height: 560px;
  max-height: 760px;            /* ✅ Empêche la vidéo d'être trop grande */
  overflow: hidden;
  background: var(--noir);
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ✅ OVERLAY RENFORCÉ : sombre à gauche (texte), transparent à droite (vidéo) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(13, 13, 13, 0.92) 0%,
      rgba(13, 13, 13, 0.80) 40%,
      rgba(13, 13, 13, 0.45) 75%,
      rgba(13, 13, 13, 0.25) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;                   /* ✅ Au-dessus de l'overlay et de la vidéo */
  padding: 0 28px;
  max-width: 720px;
  margin-left: max(28px, calc((100vw - 1280px) / 2 + 28px));
  color: white;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  padding: 8px 16px;
  border: 1px solid rgba(250, 150, 0, 0.5);
  border-radius: 50px;
  margin-bottom: 28px;
  background: rgba(250, 150, 0, 0.12);
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -1.5px;
  max-width: 14ch;
  color: #ffffff;               /* ✅ Blanc pur */
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);  /* ✅ Lisibilité garantie */
}

.hero-content h1 em {
  color: var(--orange);
  font-style: italic;
  font-weight: 700;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin: 0 0 36px;
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* ============================================
   INDICATEUR DE SCROLL
   ============================================ */

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.25s ease;
}

.scroll-indicator:hover {
  color: var(--orange);
}

.scroll-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite ease-in-out;
}

.scroll-arrow svg {
  width: 14px;
  height: 14px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}


/* ============================================
   BOUTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--blanc);
  box-shadow: 0 6px 18px rgba(250, 150, 0, 0.25);
}

.btn-primary:hover {
  background: var(--orange-fonce);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(250, 150, 0, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--blanc);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--blanc);
  color: var(--noir);
  border-color: var(--blanc);
}

.btn-ghost-light {
  background: rgba(13, 13, 13, 0.05);
  color: var(--noir);
  border-color: rgba(13, 13, 13, 0.15);
}

.btn-ghost-light:hover {
  background: var(--noir);
  color: white;
  border-color: var(--noir);
}

.btn span {
  transition: transform 0.25s;
}

.btn:hover span {
  transform: translateX(4px);
}

.btn-link {
  background: none;
  border: none;
  color: var(--texte-clair);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 12px;
  transition: color 0.2s;
}

.btn-link:hover {
  color: var(--orange);
}


/* ============================================
   SECTIONS CLASSIQUES
   ============================================ */

.section {
  max-width: 1280px;
  margin: auto;
  padding: 110px 32px;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--noir);
}

.section h2 em {
  color: var(--orange);
  font-style: italic;
  font-weight: 700;
}


/* ============================================
   ANIMATIONS AU SCROLL
   ============================================ */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }


/* ============================================
   SECTION SERVICES
   ============================================ */

.services-section {
  position: relative;
  background: var(--fond-alt);
  max-width: 100%;
  padding: 110px 32px;
}

.services-section > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--texte-clair);
  margin: 0;
}

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

.card {
  background: var(--blanc);
  padding: 40px 28px 32px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(13, 13, 13, 0.04);
  border: 1px solid var(--bordure-claire);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(13, 13, 13, 0.12);
  border-color: rgba(250, 150, 0, 0.25);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 800;
  color: rgba(13, 13, 13, 0.05);
  line-height: 1;
  pointer-events: none;
  transition: color 0.4s ease;
}

.card:hover .card-number {
  color: rgba(250, 150, 0, 0.15);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--fond-accent);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card:hover .card-icon {
  background: var(--orange);
  color: var(--blanc);
  transform: scale(1.05) rotate(-3deg);
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--noir);
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.card p {
  color: var(--texte-clair);
  line-height: 1.65;
  font-size: 15px;
  margin: 0 0 24px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--noir);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s ease;
  margin-top: auto;
}

.card-link span {
  transition: transform 0.25s ease;
  display: inline-block;
}

.card-link:hover {
  color: var(--orange);
}

.card-link:hover span {
  transform: translateX(5px);
}


/* ============================================
   SECTION À PROPOS
   ============================================ */

.apropos-section {
  position: relative;
  background: var(--blanc);
}

.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.apropos-content h2 {
  text-align: left;
  margin-bottom: 20px;
}

.apropos-lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--noir);
  font-weight: 500;
  margin: 0 0 24px;
}

.apropos-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--texte-clair);
  margin: 0 0 16px;
}

.apropos-content strong {
  color: var(--orange);
  font-weight: 600;
}

.apropos-visual {
  position: relative;
}

.apropos-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.apropos-image-wrap::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80%;
  height: 80%;
  background: var(--orange);
  border-radius: 16px;
  z-index: 0;
  opacity: 0.9;
}

.apropos-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(13, 13, 13, 0.12);
  display: block;
}

.apropos-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  z-index: 2;
  background: var(--blanc);
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(13, 13, 13, 0.12);
  border: 1px solid var(--bordure-claire);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 240px;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--fond-accent);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon svg {
  width: 22px;
  height: 22px;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--noir);
  line-height: 1.2;
}

.badge-text span {
  font-size: 12px;
  color: var(--texte-clair);
  margin-top: 2px;
}


/* ============================================
   SECTION CONTACT — Version claire
   ============================================ */

.contact-section {
  background: var(--fond-alt);
  color: var(--texte);
  max-width: 100%;
  padding: 110px 32px;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(250, 150, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.contact-header h2 {
  margin: 0 0 20px;
}

.contact-intro {
  color: var(--texte-clair);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--blanc);
  border: 1px solid var(--bordure-claire);
  border-radius: 14px;
  text-decoration: none;
  color: var(--texte);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(13, 13, 13, 0.03);
}

.contact-card:not(.contact-card-static):hover {
  background: var(--blanc);
  border-color: rgba(250, 150, 0, 0.4);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(13, 13, 13, 0.08);
}

.contact-card:not(.contact-card-static):hover .contact-card-icon {
  background: var(--orange);
  color: var(--blanc);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--fond-accent);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
}

.contact-card-content strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--noir);
  line-height: 1.3;
  word-break: break-word;
}

.contact-card-sub {
  font-size: 13px;
  color: var(--texte-meta);
  line-height: 1.4;
}

.contact-form-wrap {
  background: var(--blanc);
  border: 1px solid var(--bordure-claire);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(13, 13, 13, 0.06);
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--noir);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--texte-clair);
  margin: 0 0 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--texte);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--fond-alt);
  border: 1px solid var(--bordure);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--texte);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.25s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--texte-meta);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background: var(--blanc);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(250, 150, 0, 0.15);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fa9600' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--blanc);
  color: var(--texte);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-rgpd {
  margin: 4px 0 22px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
  color: var(--texte-clair);
  user-select: none;
}

.checkbox-container input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  background: var(--blanc);
  border: 2px solid var(--bordure);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.2s ease;
  position: relative;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
  background: var(--orange);
  border-color: var(--orange);
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--blanc);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container a {
  color: var(--orange);
  text-decoration: underline;
}

.checkbox-container a:hover {
  color: var(--orange-fonce);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--blanc);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

/* ✅ Le spinner reste caché tant qu'il a l'attribut hidden (pas d'envoi en cours) */
.btn-spinner[hidden] {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-result {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  animation: resultFadeIn 0.4s ease;
}

@keyframes resultFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-result-success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-result-error {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}


/* ============================================
   FOOTER — Sombre
   ============================================ */

.site-footer {
  background: var(--noir);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 32px 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand .footer-logo img {
  height: 50px;
  width: auto;
  border-radius: 12px;
  display: block;
}

.footer-pitch {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s ease;
}

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

.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--blanc);
  transform: translateY(-3px);
}

.footer-title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blanc);
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 3px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.3) !important;
  font-style: italic;
}


/* ============================================
   BOUTON RETOUR EN HAUT
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--blanc);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(250, 150, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--orange-fonce);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(250, 150, 0, 0.5);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}


/* ============================================
   BANDEAU COOKIES (overlay bloquant)
   ============================================ */

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cookie-overlay.visible {
  opacity: 1;
}

.cookie-modal {
  background: white;
  max-width: 540px;
  width: 100%;
  border-radius: 20px;
  padding: 44px 40px 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-overlay.visible .cookie-modal {
  transform: translateY(0) scale(1);
}

.cookie-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(250, 150, 0, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.cookie-icon svg {
  width: 30px;
  height: 30px;
}

.cookie-modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--noir);
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.cookie-modal p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--texte-clair);
  margin: 0 0 28px;
}

.cookie-modal a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-modal a:hover {
  color: var(--orange-fonce);
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.cookie-actions .btn {
  justify-content: center;
  width: 100%;
}


/* ============================================
   PAGES LÉGALES
   ============================================ */

.legal-hero {
  background: var(--noir);
  color: white;
  padding: 100px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(250, 150, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.legal-hero-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin: 20px 0 20px;
  letter-spacing: -1.5px;
}

.legal-hero h1 em {
  color: var(--orange);
  font-style: italic;
}

.legal-hero p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}

.legal-page {
  background: var(--fond-alt);
  padding: 70px 32px 100px;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
}

.legal-block {
  background: white;
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(13, 13, 13, 0.05);
  border: 1px solid rgba(13, 13, 13, 0.04);
}

.legal-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--noir);
  margin: 0 0 20px;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 14px;
}

.legal-block h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.legal-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--noir);
  margin: 0 0 8px;
}

.legal-block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--texte-clair);
  margin: 0 0 14px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block strong {
  color: var(--noir);
  font-weight: 600;
}

.legal-block a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.legal-block a:hover {
  color: var(--orange-fonce);
}

.legal-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(13, 13, 13, 0.06);
}

.legal-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  padding: 14px 18px;
  background: var(--fond-alt);
  border-bottom: 1px solid rgba(13, 13, 13, 0.04);
  font-size: 14px;
}

.legal-row:last-child {
  border-bottom: 0;
}

.legal-row:nth-child(even) {
  background: white;
}

.legal-row span:first-child {
  color: var(--texte-clair);
  font-weight: 500;
}

.legal-row strong {
  color: var(--noir);
  font-weight: 600;
}

.legal-list {
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.legal-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--texte-clair);
  border-bottom: 1px dashed rgba(13, 13, 13, 0.08);
}

.legal-list li:last-child {
  border-bottom: 0;
}

.legal-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--orange);
  font-weight: bold;
}

.legal-list li strong {
  color: var(--noir);
  font-weight: 600;
}

.legal-address {
  background: var(--fond-alt);
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 3px solid var(--orange);
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0;
}

.legal-note {
  font-size: 13px;
  color: var(--texte-clair);
  font-style: italic;
  background: rgba(250, 150, 0, 0.06);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--orange);
  margin: 14px 0 !important;
}

.legal-update {
  text-align: center;
  font-size: 13px;
  color: var(--texte-clair);
  margin-top: 30px;
  padding: 20px;
}

.legal-update strong {
  color: var(--orange);
}

.cookie-category {
  background: var(--fond-alt);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 18px 0;
  border: 1px solid rgba(13, 13, 13, 0.06);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-category-header h3 {
  margin: 0;
  font-size: 16px;
}

.cookie-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

.cookie-status.mandatory {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.cookie-status.optional {
  background: rgba(250, 150, 0, 0.12);
  color: var(--orange-fonce);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 13px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.cookie-table thead {
  background: var(--noir);
  color: white;
}

.cookie-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cookie-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(13, 13, 13, 0.05);
  color: var(--texte-clair);
}

.cookie-table tr:last-child td {
  border-bottom: 0;
}

.cookie-table code {
  background: rgba(250, 150, 0, 0.08);
  color: var(--orange-fonce);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 600;
}


/* ============================================
   ACCESSIBILITÉ
   ============================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline-offset: 4px;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .logo-img { height: 44px; }
  nav { height: 64px; }

  .hero {
    height: auto;
    min-height: 600px;
    max-height: none;
    padding: 100px 0 80px;
  }

  .hero-content {
    margin-left: 28px;
    padding-right: 28px;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 13, 13, 0.85) 0%,
      rgba(13, 13, 13, 0.7) 100%
    );
  }

  .scroll-indicator { display: none; }

  .section { padding: 80px 28px; }
  .services-section,
  .contact-section { padding: 80px 28px; }

  .section-header { margin-bottom: 48px; }

  .apropos-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .apropos-image-wrap img {
    height: 400px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

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

  .site-footer {
    padding: 60px 28px 0;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .legal-block { padding: 28px 24px; }
  .legal-row { grid-template-columns: 1fr; gap: 4px; }
  .cookie-table { font-size: 12px; }
  .cookie-table th, .cookie-table td { padding: 10px 12px; }
}

@media (max-width: 600px) {
  .logo-img { height: 38px; }
  nav ul { gap: 16px; }
  nav ul li:not(:last-child) { display: none; }

  .hero-content p { font-size: 16px; }
  .slide-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }

  .services { grid-template-columns: 1fr; }
  .card { padding: 32px 24px 28px; }
  .card-number { font-size: 48px; }

  .apropos-image-wrap img { height: 320px; }
  .apropos-badge {
    left: 0;
    bottom: 20px;
    padding: 12px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .contact-card {
    padding: 18px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .cookie-modal {
    padding: 32px 24px 24px;
  }

  .cookie-modal h2 { font-size: 22px; }
  .cookie-modal p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .scroll-arrow { animation: none; }
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ============================================
   FAQ — Accordéons
   ============================================ */

.faq-item {
  border-bottom: 1px solid var(--bordure-claire);
  margin: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--noir);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--orange);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fond-accent);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--orange);
  color: var(--blanc);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p,
.faq-answer ul {
  padding-bottom: 8px;
}

.faq-answer p:first-child {
  padding-top: 0;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 800px;
  padding-bottom: 20px;
}

/* ============================================
   Fix : boutons à l'intérieur des pages légales/FAQ
   (sinon le texte du bouton devient orange invisible)
   ============================================ */

.legal-block a.btn-primary {
  color: var(--blanc) !important;
  text-decoration: none;
}

.legal-block a.btn-primary:hover {
  color: var(--blanc) !important;
  text-decoration: none;
}