/* =====================================
   Neon Flare Prestige — style.css
   Design style: gradient_modern
   Mobile-first • Flexbox-only • No CSS Grid/Columns
   ===================================== */

/* =========================
   0) RESET & BASE TOKENS
   ========================= */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: #0E1116; background-color: #F7F8FA; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { margin: 0 0 16px 24px; }
strong, b { font-weight: 700; }
:focus { outline: 2px solid #C7A24C; outline-offset: 2px; }
::selection { background: #C7A24C; color: #0E1116; }

:root {
  --nf-primary: #0E1116; /* deep graphite */
  --nf-secondary: #C7A24C; /* satin gold */
  --nf-accent: #F7F8FA; /* near-white */
  --nf-ink: #0E1116;
  --nf-muted: #5B6676; /* cool slate */
  --nf-surface: #FFFFFF;
  --nf-surface-2: #EEF1F6;
  --nf-hero-dark: #131A22; /* for gradient pairing */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(14,17,22,0.08);
  --shadow-md: 0 10px 24px rgba(14,17,22,0.14);
  --shadow-lg: 0 20px 44px rgba(14,17,22,0.18);
  --transition-fast: 180ms ease;
  --transition: 260ms ease;
}

/* =========================
   1) TYPOGRAPHY SCALE
   ========================= */
h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; line-height: 1.2; letter-spacing: -0.02em; color: #0E1116; margin: 0 0 12px; }
p { margin: 0 0 14px; color: #6d7075; }
small { font-size: 14px; color: var(--nf-muted); }

h1 { font-size: 32px; }
h2 { font-size: 24px; margin-bottom: 18px; }
h3 { font-size: 18px; margin-bottom: 10px; }

@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
}
@media (min-width: 992px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
}

/* =========================
   2) LAYOUT PRIMITIVES (Flex-only)
   ========================= */
.container {
  display: flex;
  width: 100%;
  padding: 0 16px;
  justify-content: center;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1120px;
  padding: 20px 0;
}

section { margin-bottom: 60px; }

/* MANDATORY SPACING & ALIGNMENT PATTERNS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Ensure containers never overlap */
section .content-wrapper > * + * { margin-top: 0; }

/* =========================
   3) HEADER & NAVIGATION
   ========================= */
header { position: sticky; top: 0; z-index: 900; background: #0E1116; }
header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-color: var(--nf-primary);
  background-image: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 40%), linear-gradient(180deg, var(--nf-primary) 0%, var(--nf-hero-dark) 100%);
}
header .content-wrapper { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; color: #FFFFFF; }
.brand img { height: 32px; width: auto; }
.tagline { display: none; font-size: 12px; color: #D8DEE6; opacity: 0.9; }

.main-nav { display: none; align-items: center; gap: 16px; }
.main-nav a { color: #E9EDF2; padding: 10px 8px; border-radius: 8px; transition: color var(--transition-fast), background-color var(--transition-fast); }
.main-nav a:hover { background-color: rgba(231, 201, 129, 0.12); color: #FFFFFF; }
.main-nav a[aria-current='page'] { color: #FFFFFF; background-color: rgba(199,162,76,0.18); }

.header-cta { display: none; align-items: center; gap: 10px; }

/* Mobile hamburger */
.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: #FFFFFF; background: rgba(255,255,255,0.08); transition: background var(--transition-fast), transform var(--transition-fast); }
.mobile-menu-toggle:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: 82vw; max-width: 420px; z-index: 1000;
  background-color: var(--nf-primary);
  background-image: linear-gradient(180deg, var(--nf-primary) 0%, var(--nf-hero-dark) 100%);
  color: #FFFFFF;
  display: flex; flex-direction: column; padding: 20px; gap: 16px;
  transform: translateX(100%);
  transition: transform 300ms ease;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close { align-self: flex-end; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; background: rgba(255,255,255,0.08); border-radius: 10px; }
.mobile-nav { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.mobile-nav a { color: #E9EDF2; padding: 12px 10px; border-radius: 10px; background: rgba(255,255,255,0.04); transition: background var(--transition-fast), transform var(--transition-fast); }
.mobile-nav a:hover { background: rgba(255,255,255,0.1); transform: translateX(3px); }
.mobile-nav a[aria-current='page'] { background: rgba(199,162,76,0.22); color: #FFFFFF; }

@media (min-width: 992px) {
  .tagline { display: inline-flex; }
  .main-nav { display: flex; }
  .header-cta { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* =========================
   4) HERO SECTIONS (gradient_modern)
   ========================= */
.hero { padding: 60px 0; margin-bottom: 60px; color: #FFFFFF; }
.hero .content-wrapper { gap: 18px; }
.hero .container { background: transparent; }
.hero .content-wrapper h1, .hero .content-wrapper p { color: #FFFFFF; }
.hero .content-wrapper p { opacity: 0.9; }

/* Simple, compatible gradient with solid fallback */
.hero { background-color: var(--nf-primary); background-image: linear-gradient(135deg, var(--nf-primary) 0%, var(--nf-hero-dark) 100%); }

.cta-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #D8DEE6; font-size: 14px; }
.contact-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #D8DEE6; font-size: 14px; }
.contact-inline img { width: 18px; height: 18px; }

/* =========================
   5) CONTENT SECTIONS & CARDS
   ========================= */
.text-section { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--nf-surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid #E6EAF0; }
.text-section p, .text-section ul, .text-section li { color: #0E1116; }
.text-section ul { margin-left: 16px; }

/* Testimonials: ensure strong contrast (dark text on light bg) */
.testimonial-card { background: #FFFFFF; border: 1px solid #E6EAF0; border-left: 4px solid var(--nf-secondary); border-radius: var(--radius-md); color: #0E1116; box-shadow: var(--shadow-sm); }
.testimonial-card p { margin: 0; }

/* Generic card style if used elsewhere */
.card { display: flex; flex-direction: column; gap: 12px; background: #FFFFFF; border: 1px solid #E6EAF0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 16px; }

/* =========================
   6) BUTTONS & LINKS
   ========================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700; letter-spacing: 0.01em; transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition); border: 1px solid transparent; }
.btn-primary { color: #0E1116; background-color: #C7A24C; box-shadow: 0 8px 18px rgba(199,162,76,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(199,162,76,0.45); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary { color: #FFFFFF; background-color: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.hero .btn-secondary { color: #858769; }
.btn-secondary:hover { background-color: rgba(255,255,255,0.14); }

/* Secondary buttons on light background */
section .btn-secondary { color: var(--nf-primary); background-color: #FFFFFF; border-color: #E6EAF0; box-shadow: var(--shadow-sm); }
section .btn-secondary:hover { background-color: #F3F5F9; }

/* Text links subtle underline animation */
a { position: relative; }
a:not(.btn):after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background-color: var(--nf-secondary); transition: width var(--transition); }
a:not(.btn):hover:after { width: 100%; }

/* =========================
   7) FOOTER
   ========================= */
footer { background-color: var(--nf-primary); background-image: linear-gradient(180deg, var(--nf-hero-dark) 0%, var(--nf-primary) 100%); color: #E9EDF2; padding: 30px 0; margin-top: 40px; }
footer .content-wrapper { gap: 18px; }
.footer-nav, .legal-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-nav a, .legal-nav a { color: #D8DEE6; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.04); transition: background var(--transition-fast), transform var(--transition-fast); }
.footer-nav a:hover, .legal-nav a:hover { background: rgba(255,255,255,0.1); transform: translateY(-1px); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; color: #D8DEE6; }

/* =========================
   8) RESPONSIVE ALIGNMENT
   ========================= */
/* Text-image and similar blocks align center on larger screens */
@media (min-width: 768px) {
  .text-image-section { flex-direction: row; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: center; }
}

/* Header tightening on large screens */
@media (min-width: 1200px) {
  .brand img { height: 36px; }
}

/* =========================
   9) MICRO-INTERACTIONS & UTILITIES
   ========================= */
.fade-in { opacity: 0; transform: translateY(6px); transition: opacity 400ms ease, transform 400ms ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.badge { display: inline-flex; align-items: center; padding: 6px 10px; background: #FFFFFF; border: 1px solid #E6EAF0; color: var(--nf-ink); border-radius: 999px; font-size: 12px; }

.separator { height: 1px; width: 100%; background: #E6EAF0; }

/* =========================
   10) ACCESSIBILITY & STATES
   ========================= */
[aria-current='page'] { font-weight: 700; }
.btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, nav a:focus { outline: 2px solid #C7A24C; outline-offset: 2px; }

/* =========================
   11) PAGE-SPECIFIC ENHANCEMENTS
   ========================= */
/* "Ils nous font confiance" & similar sections: arrange testimonial cards with spacing */
.content-wrapper > .testimonial-card + .testimonial-card { margin-top: 10px; }

/* Trust badges separators */
.trust-badges span { display: inline-flex; align-items: center; }

/* =========================
   12) COOKIE CONSENT (Banner + Modal)
   ========================= */
/* Banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px; border-top: 1px solid #E6EAF0;
  background: #FFFFFF; color: #0E1116;
  box-shadow: 0 -10px 20px rgba(14,17,22,0.06);
  transform: translateY(100%);
  transition: transform 300ms ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .cookie-text { display: flex; flex-direction: column; gap: 6px; max-width: 840px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie-actions .btn { height: 40px; padding: 0 14px; }
.cookie-actions .btn-settings { background: #FFFFFF; border: 1px solid #E6EAF0; color: #0E1116; }
.cookie-actions .btn-accept { background: #C7A24C; color: #0E1116; }
.cookie-actions .btn-reject { background: #F3F5F9; color: #0E1116; border: 1px solid #E6EAF0; }

/* Modal overlay */
.cookie-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(14,17,22,0.62); display: none; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal.show { display: flex; }
.cookie-modal-content { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 680px; background: #FFFFFF; border: 1px solid #E6EAF0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; }
.cookie-modal-header { display: flex; align-items: center; justify-content: space-between; }
.cookie-modal-body { display: flex; flex-direction: column; gap: 12px; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; background: #F7F8FA; border: 1px solid #E6EAF0; border-radius: var(--radius-md); }

/* Toggle switch (analytics/marketing) */
.cookie-switch { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #CBD3DE; transition: background var(--transition); display: inline-flex; align-items: center; padding: 3px; }
.cookie-switch input { appearance: none; width: 0; height: 0; }
.cookie-switch .knob { width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: var(--shadow-sm); transition: transform var(--transition); transform: translateX(0); }
.cookie-switch input:checked + .knob { transform: translateX(20px); }
.cookie-switch input:checked ~ .cookie-switch { background: #C7A24C; }

/* =========================
   13) HELPER FLEX COMPOSITIONS
   ========================= */
/* For any list of features/benefits cards */
.features { display: flex; flex-wrap: wrap; gap: 20px; }
/* For evenly spaced small cards without Grid */
.content-grid > * { flex: 1 1 260px; }
.card-container > .card { flex: 1 1 300px; }

/* =========================
   14) SPACING REFINEMENTS
   ========================= */
.content-wrapper h2 + .text-section { margin-top: -4px; }
.text-section + .text-section { margin-top: 10px; }

/* =========================
   15) PRINT BASICS
   ========================= */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  a:after { content: ""; }
}

/* =========================
   16) PAGE-SPECIFIC HERO ACCENTS (optional subtle gradient lines)
   ========================= */
/* Keep gradients simple and compatible */
.index-hero-accent, .vehicules-hero-accent, .chauffeur-hero-accent { display: none; }

/* =========================
   17) RESPONSIVE CONTAINERS & ALIGNMENT
   ========================= */
@media (min-width: 768px) {
  .content-wrapper { gap: 24px; padding: 24px 0; }
}
@media (min-width: 992px) {
  .content-wrapper { gap: 28px; }
  .cta-group { gap: 14px; }
}

/* =========================
   18) PAGE ELEMENT TUNING FROM HTML STRUCTURE
   ========================= */
/* Lists inside sections for readability */
section ul li { margin-bottom: 6px; }

/* Inline contact in hero on index */
.hero .contact-inline { gap: 12px; }

/* =========================
   19) PREVENT OVERLAPS
   ========================= */
/* Ensure enough breathing room under sticky header */
main { display: flex; flex-direction: column; gap: 20px; }

/* =========================
   20) ARIA & STATES
   ========================= */
nav a:hover { cursor: pointer; }

/* End of file */
