/* ══ LAND CREATION — Common Base ═══════════════════════════
   Contient : variables, reset léger, header, footer, 
   navigation mobile, boutons, typographie, utilitaires.
   À charger en PREMIER dans les assets front-end.
   ══════════════════════════════════════════════════════════ */

:root {
  --accent: #E20074;
  --accent-hover: #C5006A;
  --accent-light: #FF80BF;
  --navy: #E20074;
  --navy-light: #C5006A;
  --navy-deep: #0F1B2D;
  --charcoal: #1A1A1A;
  --charcoal-soft: #2A2A2A;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #6B6B6B;
  --text-light: #999;
  --border: #E0E0E0;
  --border-light: #f0f0f0;
  --gray-100: #f4f6fb;
  --gray-50: #fafbfd;
  --gray-200: #e9ecef;
  --cream: #F8F6F3;
  --green: #2d7a3e;
  --red: #c41e3a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --shadow-hover: 0 20px 56px rgba(0,0,0,0.18);
  --shadow-glow: 0 20px 60px rgba(226, 0, 116, 0.12);
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --radius: 12px;
  --black: #000000;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gold: #E20074;
  --light-gold: #FF80BF;
  --teal: #E20074;
  --teal-light: #C5006A;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --section-py: 80px;
  --container-w: 1140px;
  --container-wide: 1400px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-base: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
}

/* ── HEADER — New Navbar ───────── */
.topbar {
  background: #f4f6fb !important;
  height: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 0;
  font-family: var(--font-body);
  transition: max-height 0.35s ease, opacity 0.35s ease;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.topbar.topbar--hidden {
  max-height: 0 !important;
  opacity: 0;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.topbar-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(0,0,0,0.55);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  padding: 0 10px;
  height: 100%;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.topbar-link i { font-size: 13px; }
.topbar-link:hover { color: #0A1628; background: rgba(0,0,0,0.04); text-decoration: none !important; }
.topbar-link.active { color: var(--accent); }
.topbar-sep {
  width: 1px;
  height: 14px;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 2px;
}
.topbar-login {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(0,0,0,0.55);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  padding: 0 10px;
  height: 100%;
  transition: color 0.15s;
  white-space: nowrap;
}

.navbar {
  background: #ffffff !important;
  display: flex;
  align-items: stretch;
  height: 90px;
  position: sticky;
  top: 0;
  z-index: 200;
  font-family: var(--font-body);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 1.5rem;
  text-decoration: none;
  flex-shrink: 0;
  border-right: 1px solid rgba(0,0,0,0.06);
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 17px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo-text span { color: var(--accent); }
.nav-logo-img {
  height: auto;
  max-height: 70px;
  width: 350px;
  max-width: 100%;
  object-fit: contain;
}

.nav-center {
  display: flex;
  align-items: stretch;
  flex: 1;
  padding: 0 0.5rem;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #000;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0 16px;
  height: 100%;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}
.nav-link i { font-size: 12px; transition: transform 0.2s; }
.nav-link:hover,
.nav-item:hover > .nav-link { color: #000; background: rgba(0,0,0,0.04); }
.nav-item:hover > .nav-link i.chevron { transform: rotate(180deg); }

.nav-link.active,
.nav-link.active-nav {
  background: var(--accent);
  color: #fff;
  font-weight: 500;
}
.nav-link.active:hover,
.nav-link.active-nav:hover { background: var(--accent-hover); color: #fff; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 8px 8px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(0,0,0,0.6);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 16px;
  transition: color 0.15s, background 0.15s, padding-left 0.15s;
}
.dropdown-item i { font-size: 14px; color: var(--accent); width: 16px; flex-shrink: 0; }


.nav-right {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  border-left: 1px solid rgba(0,0,0,0.06);
}

.nav-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0 24px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.03em;
  transition: background 0.15s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.nav-cta:hover { background: var(--accent-hover); }
.nav-cta-sub { font-size: 9px; opacity: 0.75; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.08em; }
.nav-cta-main { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;   white-space: nowrap;
}
.topbar-login i { font-size: 13px; }
.topbar-login:hover { color: var(--accent); text-decoration: none; }

/* ── BOUTONS ──────────────────── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border-radius: var(--radius-md);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226,0,116,0.3);
}

/* ── NAVIGATION MOBILE ───────── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  z-index: 1001;
  position: relative;
}
.burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  transition: all 0.3s;
  border-radius: 2px;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 100px 32px 40px;
  overflow-y: auto;
  box-sizing: border-box;
}
.mobile-nav.active {
  display: flex;
  flex-direction: column;
  animation: navIn 0.35s ease;
}
.mobile-logo {
  margin-bottom: 32px;
}
.mobile-logo a { text-decoration: none; }
.mobile-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav ul li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mobile-nav ul li.sub {
  border-bottom: none;
}
.mobile-nav ul li.sub a {
  padding: 8px 0 8px 16px;
  font-size: 15px;
  font-weight: 400;
  color: #6b7280;
}
.mobile-nav ul li:last-child {
  border-bottom: none;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s;
}
.mobile-nav a i.ti-chevron-right {
  font-size: 16px;
  color: #ccc;
  transition: transform 0.2s, color 0.2s;
}
.mobile-nav a:hover {
  color: var(--accent);
}
.mobile-nav a:hover i.ti-chevron-right {
  color: var(--accent);
  transform: translateX(4px);
}
.mobile-nav ul li.sub a:hover {
  color: var(--accent);
}
.mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  color: #1a1a1a;
  z-index: 1002;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.mobile-close:hover {
  background: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}
.mobile-lang {
  display: flex;
  gap: 6px;
  margin: 24px 0;
}
.mobile-lang .lang-btn {
  background: #f0f0f0;
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.mobile-lang .lang-btn.active {
  background: var(--accent);
  color: white;
}
.mobile-lang .lang-btn:hover:not(.active) {
  background: #e5e7eb;
}
.mobile-divider {
  height: 1px;
  background: rgba(0,0,0,0.06);
  margin: 12px 0;
}
.mobile-bottom-btns {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-bottom-btns .btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  background: #f8f9fb;
  text-decoration: none;
  transition: all 0.2s;
}
.mobile-bottom-btns .btn-ghost:hover {
  background: #eef0f4;
}
.mobile-bottom-btns .btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border: 2px solid var(--accent);
  text-decoration: none;
  transition: all 0.2s;
}
.mobile-bottom-btns .btn-outline:hover {
  background: var(--accent);
  color: white;
}
.mobile-bottom-btns .btn-primary {
  display: block;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

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

/* ── FOOTER ───────────────────── */
.footer {
  background: #1D1D1D;
  color: var(--white);
  padding: 60px 40px 40px;
}
.footer-desktop-grid {
  max-width: 1400px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  display: block;
}
.footer p, .footer a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.footer h4 {
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.footer-links ul { list-style: none; padding: 0; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  line-height: 2.2;
  display: block;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ── FOOTER ACCORDÉON MOBILE ─── */
.footer-accordion { display: none; }
.footer-accordion-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-accordion-toggle {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.footer-accordion-toggle::after {
  content: '+';
  font-size: 20px;
  transition: transform 0.3s;
}
.footer-accordion-toggle.active::after { transform: rotate(45deg); }
.footer-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.footer-accordion-content ul { list-style: none; padding: 0 0 16px; }
.footer-accordion-content a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  line-height: 2.2;
  display: block;
  transition: color 0.2s;
}
.footer-accordion-content a:hover { color: var(--accent); }
.footer-social-mobile {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social-mobile a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s;
}
.footer-social-mobile a:hover { background: var(--accent); }

/* ── BACK TO TOP ──────────────── */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(226,0,116,0.35);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(226,0,116,0.5);
}

/* ── RESPONSIVE BREAKPOINTS ───── */
@media (max-width: 860px) {
  body { overflow-x: hidden; }
  .topbar, .nav-center, .nav-right { display: none !important; }
  .navbar { justify-content: space-between; background: #fff; height: 80px !important; min-height: 80px; }
  .nav-logo { border-right: none; }
  .nav-logo-img { max-height: 60px; width: auto; }
  .burger { display: flex; }
  .burger span { background: #1a1a1a; }
  .footer-desktop-grid { display: none; }
  .footer-accordion { display: block; }
  .back-to-top { bottom: 16px; }
}
@media (min-width: 861px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 960px) {
  .nav-cta-sub { display: none; }
  .nav-cta { padding: 0 16px; }
}

/* ── PAGE TRANSITIONS (View Transition API) ── */
@view-transition {
  navigation: auto;
}
@keyframes slide-in {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slide-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-30px); opacity: 0; }
}
::view-transition-old(root) {
  animation: 250ms ease both slide-out;
}
::view-transition-new(root) {
  animation: 250ms ease both slide-in;
}

/* ── NATIVE APP TOUCH ADJUSTMENTS ── */
html {
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
.mobile-tab-item,
.btn-primary,
.btn-login,
.burger,
.back-to-top {
  user-select: none;
  -webkit-user-select: none;
}

/* ── CSS RIPPLE EFFECT ── */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0,0,0,0.08) 10%, transparent 10%);
  background-position: center;
  background-size: 0%;
  opacity: 0;
  transition: none;
  pointer-events: none;
}
.ripple:active::after {
  opacity: 1;
  background-size: 1000%;
  transition: background-size 0.4s, opacity 0.2s;
}

/* ── SECTION SPACING & ALTERNATION ── */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--gray-100);
}
.section-white {
  background: var(--white);
}

/* ── TYPOGRAPHY SYSTEM ── */
.typo-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.typo-label::before {
  content: '★ ';
  color: var(--accent);
  font-size: 10px;
}
.typo-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 12px;
}
.typo-sub {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 580px;
  margin: 0 auto 0 0;
  line-height: 1.6;
}
.typo-sub.centered {
  margin: 0 auto;
}

/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── NOISE TEXTURE OVERLAY ── */
.noise-overlay {
  position: relative;
}
.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

/* ── ENHANCED MICRO-INTERACTIONS ── */
.glow-card {
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.4s ease;
}
.glow-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 60px rgba(226, 0, 116, 0.12), 0 0 40px rgba(226, 0, 116, 0.04);
}

.btn-primary {
  transition: all 0.3s ease;
}
.btn-primary:hover {
  animation: btnPulse 1.5s ease infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(226,0,116,0.3); }
  50% { box-shadow: 0 8px 28px rgba(226,0,116,0.45); }
}

/* ── SMOOTH IMAGE ZOOM ── */
.img-zoom {
  overflow: hidden;
}
.img-zoom img {
  transition: transform 0.5s var(--ease-out-expo);
}
.img-zoom:hover img {
  transform: scale(1.06);
}

/* ── SUBTLE BORDER GLOW ── */
.border-glow {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.border-glow:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(226,0,116,0.15);
}

.section-divider {
  height: 6px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent-light) 50%, var(--accent) 80%, transparent 100%);
  opacity: 0.3;
  margin: 0;
}

/* ── TYPOGRAPHY HIERARCHY ── */
h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; line-height: 1.15; }
h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; line-height: 1.2; }
h4 { font-size: 20px; font-weight: 600; line-height: 1.25; }
h5 { font-size: 16px; font-weight: 600; line-height: 1.3; }
h6 { font-size: 14px; font-weight: 600; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.5px; }
body { font-size: var(--font-size-base); line-height: 1.6; }
.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }
.text-lg { font-size: var(--font-size-lg); }
.text-muted { color: var(--text-gray); }
.text-accent { color: var(--accent); }

/* ── CONTAINERS ── */
.container-1140 { max-width: var(--container-w); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 40px; }
.section-padding { padding: var(--section-py) 0; }
.section-padding-sm { padding: calc(var(--section-py) * 0.6) 0; }

/* ── BREADCRUMBS ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-gray);
  padding: 12px 0;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); font-size: 10px; }
.breadcrumb-current { color: var(--text-dark); font-weight: 600; }

/* ── BUTTON SYSTEM ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 24px rgba(226,0,116,0.35);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--gray-100);
  color: var(--text-dark);
  border-color: transparent;
}
.btn-secondary:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--gray-100); }
.btn-lg { padding: 16px 40px; font-size: 15px; border-radius: var(--radius-md); }
.btn-sm { padding: 8px 18px; font-size: 12px; border-radius: 6px; }
.btn-icon {
  width: 44px; height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  font-size: 18px;
}
.btn-icon.btn-sm { width: 36px; height: 36px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── FORM SYSTEM ── */
.form-group { margin-bottom: var(--space-lg); }
.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-control, .form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: var(--font-size-base);
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226,0,116,0.10);
}
.form-control::placeholder { color: var(--text-light); }
.form-control-sm { padding: 8px 12px; font-size: var(--font-size-sm); }
.form-control-lg { padding: 14px 18px; font-size: var(--font-size-lg); }
textarea.form-control { min-height: 100px; resize: vertical; }
.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-check input[type="checkbox"], .form-check input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-help { font-size: var(--font-size-xs); color: var(--text-gray); margin-top: 4px; }
.form-error { font-size: var(--font-size-xs); color: var(--red); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }

/* ── SKELETON LOADERS ── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
.skeleton-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.skeleton-img { width: 100%; height: 200px; }
.skeleton-body { padding: 16px; }
.skeleton-line { height: 14px; margin-bottom: 10px; width: 100%; }
.skeleton-line:last-child { width: 60%; }
.skeleton-line-sm { height: 10px; width: 40%; margin-bottom: 14px; }
.skeleton-badge { width: 80px; height: 24px; border-radius: 999px; margin-bottom: 12px; }

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── EMPTY STATE ── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}
.empty-state-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.empty-state h3 { font-size: 20px; margin-bottom: 8px; color: var(--text-dark); }
.empty-state p { font-size: var(--font-size-base); color: var(--text-gray); max-width: 400px; margin-bottom: 20px; }

/* ── TOAST NOTIFICATIONS ── */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent);
  font-size: 14px;
  color: var(--text-dark);
  pointer-events: auto;
  transform: translateX(120%);
  animation: toast-in 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  max-width: 380px;
}
.toast-success { border-left-color: var(--green); }
.toast-error { border-left-color: var(--red); }
.toast-info { border-left-color: var(--accent); }
.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast-success .toast-icon { color: var(--green); }
.toast-error .toast-icon { color: var(--red); }
.toast-info .toast-icon { color: var(--accent); }

@keyframes toast-in {
  to { transform: translateX(0); }
}
@keyframes toast-out {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

/* ── MOBILE BOTTOM SHEET ── */
.bottom-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bottom-sheet-overlay.active {
  display: block;
  opacity: 1;
}
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2001;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
}
.bottom-sheet.active { transform: translateY(0); }
.bottom-sheet-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 4px;
  margin: 12px auto 8px;
}
.bottom-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px 16px;
  border-bottom: 1px solid var(--border-light);
}
.bottom-sheet-header h3 { font-size: 18px; margin: 0; }
.bottom-sheet-close {
  background: none; border: none;
  font-size: 24px; cursor: pointer;
  color: var(--text-gray); padding: 4px;
}
.bottom-sheet-body { padding: 20px; }

/* ── BADGE / CHIP SYSTEM ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--text-dark);
  white-space: nowrap;
}
.chip-accent { background: rgba(226,0,116,0.1); color: var(--accent); }
.chip-green { background: rgba(45,122,62,0.1); color: var(--green); }
.chip-red { background: rgba(196,30,58,0.1); color: var(--red); }

/* ── CARD HOVER ENHANCEMENTS ── */
.card-hover {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-lg); }

/* ── DIVIDER ── */
.hr { border: none; border-top: 1px solid var(--border); margin: var(--space-lg) 0; }

/* ── FLEX HELPERS ── */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ── RESPONSIVE GRIDS ── */
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-padding { padding: calc(var(--section-py) * 0.6) 0; }
  .container-wide { padding: 0 20px; }
  .toast-container { right: 10px; left: 10px; }
  .toast { max-width: 100%; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════
   LARGE DESKTOP (1600px+)
   Étire les conteneurs pour mieux remplir l'écran
   ════════════════════════════════════════════════ */
@media (min-width: 1600px) {
  .container,
  .nav-container,
  .hero-inner,
  .featured-inner,
  .services-inner,
  .steps-grid,
  .map-layout,
  .why-inner,
  .terrains-layout,
  .services-accompagnement-grid { max-width: 1600px; }
  .stats-section .container,
  .testimonials-section .container { max-width: 1560px; }
  .footer-desktop-grid,
  .footer-bottom { max-width: 1600px; }
  .spotlight-panel { max-width: 1440px; }
}
@media (min-width: 1920px) {
  .container,
  .nav-container,
  .hero-inner,
  .featured-inner,
  .services-inner,
  .steps-grid,
  .map-layout,
  .why-inner,
  .terrains-layout { max-width: 1800px; }
  .stats-section .container,
  .testimonials-section .container { max-width: 1760px; }
  .footer-desktop-grid,
  .footer-bottom { max-width: 1800px; }
  .spotlight-panel { max-width: 1640px; }
}