/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  z-index: 1001;
  transition: width 0.1s linear;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   - Transparent at scroll = 0 (no borders, blends into Hero)
   - Transforms into a floating rounded navigation container when scrolled
   - Zero layout shift or element repositioning during transition
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-bottom: none;
  border-radius: 0;
  box-shadow: none;
  transition: background-color 0.3s ease,
    border-color 0.3s ease,
    border-radius 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease,
    -webkit-backdrop-filter 0.3s ease;
}

body.menu-open .site-header {
  z-index: 1005;
}

.site-header.scrolled {
  background: rgba(8, 8, 8, 0.311);
  background-color: rgba(8, 8, 8, 0.311);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 121, 0, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  z-index: 1005;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: translateY(-1px);
  filter: brightness(1.08) drop-shadow(0 2px 10px rgba(255, 121, 0, 0.25));
}

@media (max-width: 640px) {
  .brand-logo-img {
    height: 34px;
    max-width: 155px;
  }
}

@media (max-width: 380px) {
  .brand-logo-img {
    height: 30px;
    max-width: 135px;
  }
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--bg-primary);
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: 0 4px 12px rgba(255, 121, 0, 0.35);
  flex-shrink: 0;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-logo-text strong {
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.brand-logo-text span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 500;
}

/* Desktop Navigation Center Pill */
.nav-center {
  display: none;
}

@media (min-width: 960px) {
  .nav-center {
    display: flex;
    align-items: center;
    position: absolute;
    left: 43%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(17, 17, 17, 0.33);
    border: 1px solid var(--border-medium);
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
    z-index: 1000;
  }

  .nav-center-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
  }

  .nav-center-links a {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    transition: all var(--transition-fast);
    white-space: nowrap;
  }

  .nav-center-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-center-links a.active,
  .nav-center-links a[aria-current="page"] {
    color: var(--bg-primary);
    background: var(--text-primary);
    font-weight: 600;
  }
}

/* Desktop Header Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-actions .btn-quote {
  display: none;
}

@media (min-width: 768px) {
  .nav-actions .btn-quote {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .nav-actions {
    gap: 0.5rem;
  }

  /* Sur smartphone, on masque le bouton inline dans le header pour donner une respiration
     parfaite au logo et au bouton de menu hamburger, garantissant une disposition équilibrée et fluide */
  .nav-actions .btn-primary {
    display: none;
  }
}

/* Mobile Toggle Hamburger - Épuré et fluide sans aucun cadre */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  z-index: 1010;
  padding: 0;
  gap: 5px;
  transition: transform var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast), background-color var(--transition-fast);
}

.nav-toggle:hover span {
  background-color: var(--accent-hover);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .nav-toggle {
  background: transparent;
  border: none;
  box-shadow: none;
}

body.menu-open .nav-toggle span {
  background-color: var(--accent);
}

body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Fullscreen Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-height) + 1.75rem) clamp(1.5rem, 6vw, 3rem) 2.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow-y: auto;
}

body.menu-open .mobile-nav-drawer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.4rem 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.6rem 0;
  letter-spacing: -0.02em;
}

.mobile-nav-links a span.nav-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.mobile-nav-links a.active,
.mobile-nav-links a[aria-current="page"] {
  color: var(--accent);
}

.mobile-nav-links a:hover {
  color: var(--accent);
  transform: translateX(6px);
}

.mobile-drawer-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ==========================================================================
   BUTTONS & LINKS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

/* Primary Orange Glowing Button */
.btn-primary {
  background: var(--accent);
  color: #080808;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(255, 121, 0, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 121, 0, 0.5);
  color: #000000;
}

/* Secondary Dark/Outline Button */
.btn-outline {
  background: rgba(17, 17, 17, 0.33);
  color: var(--text-primary);
  border-color: var(--border-medium);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Light / White Button (as in reference cards) */
.btn-light {
  background: #0D0D0D;
  color: #FFFFFF;
  border-color: #0D0D0D;
  font-size: 0.78rem;
  padding: 0.5rem 1.1rem;
}

.btn-light:hover {
  background: var(--accent);
  color: #080808;
  border-color: var(--accent);
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.link-arrow svg,
.link-arrow span.arrow {
  color: var(--accent);
  transition: transform var(--transition-fast);
}

.link-arrow:hover {
  color: var(--accent);
}

.link-arrow:hover svg,
.link-arrow:hover span.arrow {
  transform: translateX(4px);
}

/* Circular Arrow Icon Button (from reference) */
.btn-circle-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #080808;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-circle-arrow:hover {
  background: var(--accent);
  color: #080808;
  transform: scale(1.08);
}

/* ==========================================================================
   CARDS & PANELS
   ========================================================================== */
/* Floating Card (Cream/White Card from Visual Reference) */
.float-card {
  background: var(--bg-card-light);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.float-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
}

.float-card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A5500;
  margin-bottom: 0.4rem;
}

.float-card h4 {
  color: var(--text-dark);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.float-card p {
  color: var(--text-dark-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.float-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Orange Floating Pill Card (Reference "DIGITAL STRATEGY & RESEARCH") */
.float-card-orange {
  background: var(--accent-gradient);
  color: #080808;
  border-radius: var(--radius-md);
  padding: 1.15rem 1.4rem;
  box-shadow: var(--shadow-orange-lg);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.float-card-orange span.mini-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.7);
}

.float-card-orange h4 {
  font-size: 0.95rem;
  color: #080808;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* Dark Card (Surfaces) */
.card-dark {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.card-dark:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 121, 0, 0.12);
}

/* Mac-like 3-dots indicator on cards (as in reference "Zero Templates") */
.card-header-dots {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-bottom: 1rem;
}

.card-header-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ==========================================================================
   FILTER TABS (Portfolio)
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.filter-btn[aria-pressed="true"],
.filter-btn.active {
  background: var(--accent);
  color: #080808;
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 121, 0, 0.3);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  overflow: hidden;
}

.faq-item:hover,
.faq-item[open] {
  border-color: var(--border-accent);
  background: var(--bg-surface-elevated);
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #080808;
}

.faq-content {
  padding: 0 1.6rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group label span.req {
  color: var(--accent);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  background: #0E0E0E;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.2);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF7900' stroke-width='2' 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 1rem center;
  padding-right: 2.5rem;
  color-scheme: dark;
  cursor: pointer;
}

/* Fallback & native styling for select options across all platforms */
select.form-control, .lang-select {
  color-scheme: dark;
}

select.form-control option, .lang-select option {
  background-color: #141414;
  color: #FFFFFF;
  padding: 12px 14px;
}

select.form-control option:hover,
select.form-control option:focus,
select.form-control option:checked,
select.form-control option:active {
  background: #FF7900 linear-gradient(0deg, #FF7900 0%, #FF7900 100%) !important;
  background-color: #FF7900 !important;
  color: #080808 !important;
}

/* Custom Styled Select Dropdown (Élégant avec survol Orange Rolls Tech) */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-wrapper.has-custom select.form-control {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 100% !important;
  height: 100% !important;
  left: 0 !important;
  top: 0 !important;
  z-index: -1 !important;
}

.custom-select-trigger {
  width: 100%;
  background: #0E0E0E;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  padding-right: 2.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
}

.custom-select-trigger::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF7900' 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: center;
  transition: transform var(--transition-fast);
  pointer-events: none;
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.25);
}

.custom-select-wrapper.open .custom-select-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 121, 0, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(255, 121, 0, 0.1);
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  padding: 6px;
}

.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #CCCCCC;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.4;
}

.custom-select-option:hover {
  background-color: var(--accent);
  color: #080808;
  font-weight: 600;
  transform: translateX(3px);
}

.custom-select-option.selected {
  background-color: rgba(255, 121, 0, 0.15);
  color: var(--accent);
  font-weight: 600;
}

.custom-select-option.selected:hover {
  background-color: var(--accent);
  color: #080808;
}

/* Custom scrollbar for options list */
.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: #141414;
  border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 2px;
  cursor: pointer;
}

.form-status {
  display: none !important;
}

/* Style de compte à rebours & succès directement dans le bouton */
.countdown-dots {
  display: inline-block;
  font-family: var(--font-mono);
  letter-spacing: 0.22em;
  font-weight: 800;
  color: #FFFFFF;
  margin-left: 0.35rem;
}

.btn-success-state {
  background: #25D366 !important;
  color: #04240F !important;
  border-color: #25D366 !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45) !important;
  font-weight: 700 !important;
  transform: scale(1.02);
  transition: all var(--transition-normal);
}

/* ==========================================================================
   STICKY FLOATING WIDGETS
   ========================================================================== */
/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 950;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition-fast);
}

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

.back-to-top:hover {
  background: var(--accent);
  color: #080808;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 121, 0, 0.35);
}

@media (max-width: 580px) {
  .back-to-top {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 860px) {
  .footer-top {
    grid-template-columns: 2fr 1.1fr 1.1fr 1.3fr;
    gap: clamp(2.5rem, 4.5vw, 4.5rem);
  }
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 380px;
  margin: 1.25rem 0 1.5rem;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Elegant Native Language Selector in Footer */
.lang-selector-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.75rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.lang-selector-wrap:hover {
  border-color: var(--accent);
  background: var(--bg-surface-elevated);
}

.lang-globe-icon {
  font-size: 0.85rem;
  color: var(--accent);
  display: grid;
  place-items: center;
  user-select: none;
  line-height: 1;
}

.lang-select {
  background: transparent;
  color: var(--text-primary);
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  padding: 0.1rem 1.25rem 0.1rem 0.15rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23FF7900' stroke-width='3' 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 0.1rem center;
}

.lang-select option {
  background: #111111;
  color: #FFFFFF;
  padding: 0.5rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  /* Masqué uniquement sur la version mobile responsive, conservé sur PC */
  .footer-bottom-links {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}