/* ============================================================
   RDV TOP SERVICES – Design System 2.0 (Luminous Tech Luxury)
   Inspiré des plus grands standards : Stripe, Qonto, Doctolib
   Palette lumineuse, épurée, ultra-lisible, premium & fluide
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ── 1. COLOR & DESIGN TOKENS ───────────────────────────── */
:root {
  /* Canvas & Luminescence */
  --bg-main:         #ffffff;
  --bg-subtle:       #f8fafc;
  --bg-muted:        #f1f5f9;
  --bg-card:         #ffffff;
  --bg-card-hover:   #ffffff;

  /* Primary Brand Tones (Royal Sapphire & Cobalt) */
  --primary-900:     #0f172a;
  --primary-800:     #1e293b;
  --primary-700:     #1d4ed8;
  --primary-600:     #2563eb;
  --primary-500:     #3b82f6;
  --primary-400:     #60a5fa;
  --primary-50:      #eff6ff;

  /* Vibrant Accents */
  --accent-cyan:     #06b6d4;
  --accent-emerald:  #10b981;
  --accent-amber:    #f59e0b;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #06b6d4 100%);
  --accent-gradient-warm: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

  /* Text Colors */
  --text-title:      #0f172a;
  --text-body:       #334155;
  --text-muted:      #64748b;
  --text-light:      #94a3b8;

  /* Borders & Dividers */
  --border-light:    #e2e8f0;
  --border-focus:    #3b82f6;
  --border-subtle:   #f1f5f9;

  /* Social Brands */
  --clr-wa:          #25d366;
  --clr-ig:          linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  --clr-fb:          #1877f2;
  --clr-tt:          #0f172a;

  /* Shadows (Multi-layer soft shadows) */
  --shadow-xs:       0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm:       0 2px 8px -2px rgba(15, 23, 42, 0.06), 0 1px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-md:       0 12px 24px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg:       0 20px 40px -12px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-primary:  0 10px 25px -4px rgba(37, 99, 235, 0.35);

  /* Typography */
  --font-display:    'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:       'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius */
  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-xl:       28px;
  --radius-pill:     9999px;

  --nav-h:           76px;
  --max-width:       1240px;
  --transition:      0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 2. RESET & BASE ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Background Soft Atmosphere Grid */
.bg-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  background: 
    radial-gradient(circle 600px at 15% -10%, rgba(219, 234, 254, 0.8), transparent 70%),
    radial-gradient(circle 500px at 85% 15%, rgba(224, 242, 254, 0.7), transparent 60%),
    radial-gradient(circle 450px at 50% 40%, rgba(243, 232, 255, 0.4), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── 3. TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-title);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 4. LAYOUT & CONTAINERS ─────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding-block: 6rem;
  position: relative;
  z-index: 1;
}

.section--alt {
  background: #0f172a;
  color: #f8fafc;
}

.section--alt h1,
.section--alt h2,
.section--alt h3 {
  color: #ffffff;
}

.section--light {
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-600);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(37, 99, 235, 0.15);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-600);
}

.section-title {
  margin-bottom: 0.8rem;
}

.section-line {
  width: 50px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: var(--radius-pill);
  margin-bottom: 2.5rem;
  transform-origin: left;
}

.text-center .section-line {
  margin-inline: auto;
  transform-origin: center;
}

.grid-2 { display: grid; gap: 2rem; }
.grid-3 { display: grid; gap: 2rem; }
.grid-4 { display: grid; gap: 1.5rem; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── 5. TOP ANNOUNCEMENT BAR ────────────────────────────── */
.top-bar {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  padding-block: 0.55rem;
  text-align: center;
  position: relative;
  z-index: 1000;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.live-beacon {
  display: inline-flex;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  position: relative;
}

.live-beacon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: beaconPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beaconPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ── 6. NAVIGATION (FLOATING LUMINOUS PILL) ──────────────── */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-900);
}

.nav__logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform var(--transition);
  overflow: hidden;
  flex-shrink: 0;
}

.nav__logo:hover .nav__logo-mark {
  transform: scale(1.05);
}

.nav__logo-mark svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.nav__logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-body);
  transition: color var(--transition);
  position: relative;
  padding-block: 0.3rem;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--primary-600);
}

.nav__cta {
  padding: 0.65rem 1.45rem !important;
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  box-shadow: var(--shadow-primary) !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
  border: none !important;
}

.nav__cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.45) !important;
}

/* Burger Mobile */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    padding: 1.8rem 1.5rem 2.2rem;
    gap: 1.1rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__links li { text-align: center; }
}

/* ── 7. HERO SECTION (LUMINOUS TECH STYLE) ──────────────── */
.hero {
  min-height: auto;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 960px) {
  .hero {
    min-height: 85vh;
    padding-top: 4.5rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero__content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
}

.hero-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--border-light);
  display: block;
}

.hero-image-card {
  position: absolute;
  bottom: -15px;
  left: -15px;
  background: #ffffff;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.14);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hero-image-card-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Card Banner Image */
.card__img-wrap {
  width: 100%;
  height: 175px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1.4rem;
  background: #f1f5f9;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.card:hover .card__img {
  transform: scale(1.06);
}

.testimonial__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #bfdbfe;
  flex-shrink: 0;
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-700);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.hero__tag svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-600);
}

.hero h1 {
  margin-bottom: 1.4rem;
  line-height: 1.15;
}

.hero p {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}

/* Hero Floating Badge */
.hero-floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.4rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.hero-floating-badge .stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

/* ── 8. BUTTONS & MICRO-INTERACTIONS ────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  border: none;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.45);
}

.btn--outline {
  background: #ffffff;
  color: var(--primary-900);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn--outline:hover {
  border-color: var(--primary-600);
  color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--dark {
  background: #0f172a;
  color: #ffffff;
}

.btn--dark:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

.btn--block {
  width: 100%;
}

/* ── 9. SOCIAL BUTTONS (PILLS AVEC COULEURS OFFICIELLES) ── */
.social-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-btn--wa {
  background: #25d366;
}
.social-btn--wa:hover {
  background: #20ba5a;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.social-btn--ig {
  background: var(--clr-ig);
}
.social-btn--ig:hover {
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.35);
}

.social-btn--fb {
  background: #1877f2;
}
.social-btn--fb:hover {
  background: #1464cc;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

.social-btn--tt {
  background: #0f172a;
}
.social-btn--tt:hover {
  background: #000000;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

/* ── 10. LUXURY CARDS ───────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: transform var(--transition), background var(--transition);
}

.card:hover .card__icon {
  transform: scale(1.08) rotate(4deg);
  background: var(--accent-gradient);
}

.card__icon svg {
  width: 26px;
  height: 26px;
  fill: var(--primary-600);
  transition: fill var(--transition);
}

.card:hover .card__icon svg {
  fill: #ffffff;
}

.card h3 {
  margin-bottom: 0.6rem;
  color: var(--text-title);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── 11. STATS (CHIFFRES CLÉS) ──────────────────────────── */
.stat-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.section--alt .stat-box {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section--alt .stat-num {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.section--alt .stat-label {
  color: #94a3b8;
}

/* ── 12. PROCESS STEPS ──────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.step:hover {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-sm);
}

.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.step__body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.step__body p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin: 0;
}

/* ── 13. TESTIMONIALS ───────────────────────────────────── */
.testimonial {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial .stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial p {
  color: var(--text-body);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.7;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-light);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--primary-600);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
}

.testimonial__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-title);
}

/* ── 14. MODERN PAYMENT & REVOLUT STYLE CARTE BANCAIRE ──── */
.payment-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.payment-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.payment-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

/* Ultra-Clean Modern Fintech Bank Card Mockup (Style Revolut Metal / Apple Card) */
.vip-bank-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 18px;
  padding: 1.8rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.35);
}

.vip-bank-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.vip-bank-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.vip-bank-card__chip {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  position: relative;
}

.vip-bank-card__chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 3px;
}

.vip-bank-card__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #38bdf8;
  letter-spacing: 0.05em;
}

/* Stripe Premium Virtual Card Mockup */
.stripe-mockup-card {
  background: linear-gradient(135deg, #635bff 0%, #4f46e5 50%, #1e1b4b 100%);
  border-radius: 18px;
  padding: 1.8rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(99, 91, 255, 0.4);
  margin-block: 1rem;
}

.stripe-mockup-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.stripe-mockup-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.stripe-mockup-card__brand img {
  height: 28px;
  width: auto;
  display: block;
}

.stripe-mockup-card__number {
  font-family: var(--font-mono, monospace);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .stripe-mockup-card {
    padding: 1.3rem 1.1rem;
  }
  .stripe-mockup-card__number {
    font-size: clamp(0.95rem, 4.2vw, 1.25rem);
    letter-spacing: 0.1em;
  }
}


.iban-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  transition: background var(--transition), border-color var(--transition);
}

.iban-box:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.iban-value {
  font-family: 'Courier New', monospace;
  font-size: clamp(0.85rem, 3.8vw, 1.05rem);
  font-weight: 700;
  color: var(--primary-700);
  letter-spacing: 0.05em;
  word-break: break-all;
}

/* ── 15. CONTACT FORM ───────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-title);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-title);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

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

.form-grid {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 16. FAQ ACCORDION ──────────────────────────────────── */
details.faq {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition);
}

details.faq + details.faq {
  margin-top: 1rem;
}

details.faq[open] {
  border-color: var(--primary-400);
  box-shadow: var(--shadow-sm);
}

details.faq summary {
  padding: 1.35rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background var(--transition);
}

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

details.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-600);
  transition: transform var(--transition);
}

details.faq[open] summary::after {
  transform: rotate(45deg);
}

details.faq .faq__body {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 17. FLOATING WHATSAPP & BACK TO TOP ─────────────────── */
.float-social__wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.float-social__wa:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.float-social__wa svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.wa-tooltip {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.float-social__wa:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-6px);
}

.btt {
  position: fixed;
  bottom: 6.8rem;
  right: 2.3rem;
  z-index: 850;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.btt.visible {
  opacity: 1;
  visibility: visible;
}

.btt:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btt svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-600);
}

/* ── 18. FOOTER ─────────────────────────────────────────── */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding-block: 5rem 2rem;
  position: relative;
  z-index: 10;
}

.footer h1, .footer h2, .footer h3, .footer h4 {
  color: #ffffff;
}

.footer__grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer__links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #ffffff;
}

.footer__social {
  display: flex;
  gap: 0.8rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.footer__social a:hover {
  transform: translateY(-3px);
  background: var(--primary-600);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* ── 19. PAGE HEADER (SOUS-PAGES) ───────────────────────── */
.page-header {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.breadcrumb a {
  color: var(--primary-600);
  font-weight: 600;
}

/* ── 20. TOAST NOTIFICATION ─────────────────────────────── */
.toast-notice {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── 21. ABOUT SPLIT & VISUAL ILLUSTRATION ───────────────── */
.about-split {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-split { grid-template-columns: 1fr 1fr; }
}

.about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #ffffff;
  color: var(--primary-900);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-lg);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.skip-link {
  position: absolute;
  top: -999px;
  left: -999px;
  background: var(--primary-600);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  z-index: 10000;
}
.skip-link:focus {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

/* ══════════════════════════════════════════════════════════
   ── 22. COMPREHENSIVE RESPONSIVE ENGINE (MOBILE & TABLET) ──
   Optimisé pour toutes les résolutions : 320px à 4K
   Touch-friendly, z-index sécurisés, zero-overflow garanti
   ══════════════════════════════════════════════════════════ */

/* Tablettes Horizontales & Petits Ordinateurs (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 2.5rem;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer__brand {
    grid-column: span 2;
  }
}

/* Tablettes Verticales & Grands Mobiles (<= 860px) */
@media (max-width: 860px) {
  :root {
    --nav-h: 68px;
  }

  .top-bar {
    font-size: 0.78rem;
    padding-block: 0.45rem;
    padding-inline: 1rem;
  }

  .nav__inner {
    padding-inline: 1.2rem;
  }

  .section {
    padding-block: 4.5rem;
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .hero__content {
    max-width: 100%;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero-floating-badge {
    margin-inline: auto;
  }

  .social-bar {
    justify-content: center;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-split .about-img {
    order: -1;
  }

  .payment-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobiles Standards (<= 640px) */
@media (max-width: 640px) {
  .container {
    padding-inline: 1.15rem;
  }

  .section {
    padding-block: 3.5rem 2.2rem;
  }

  h1 { font-size: clamp(2rem, 7.5vw, 2.5rem); }
  h2 { font-size: clamp(1.6rem, 5.5vw, 2rem); }
  h3 { font-size: clamp(1.15rem, 4.5vw, 1.35rem); }

  .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .card {
    padding: 1.6rem 1.3rem;
  }

  .card__img-wrap {
    height: 155px;
    margin-bottom: 1.1rem;
  }

  .hero-image {
    height: 270px;
  }

  .hero-image-card {
    bottom: 10px;
    left: 10px;
    padding: 0.65rem 0.85rem;
    gap: 0.6rem;
    border-radius: var(--radius-md);
  }

  .hero-image-card-badge {
    top: 10px;
    right: 10px;
    padding: 0.4rem 0.8rem;
    font-size: 0.76rem;
  }

  .about-badge {
    bottom: 12px;
    right: 12px;
    padding: 0.55rem 0.95rem;
  }

  .about-img img {
    height: 240px !important;
  }

  .hero-floating-badge {
    font-size: 0.82rem;
    padding: 0.55rem 1rem;
    width: 100%;
    justify-content: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-block: 1.6rem 2rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 1.4rem;
  }

  .social-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    width: 100%;
  }

  .social-btn {
    justify-content: center;
    padding: 0.65rem 0.8rem;
    font-size: 0.84rem;
    border-radius: 12px;
  }

  .payment-card {
    padding: 1.6rem 1.2rem;
  }

  .vip-bank-card {
    padding: 1.3rem 1.1rem;
  }

  .vip-bank-card__number {
    font-size: clamp(0.95rem, 4.2vw, 1.25rem);
    letter-spacing: 0.1em;
  }

  .iban-box {
    flex-direction: column;
    align-items: stretch;
    padding: 0.9rem 1rem;
    gap: 0.75rem;
  }

  .iban-box button {
    width: 100%;
    justify-content: center;
  }

  .iban-details-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  form button[type="submit"] {
    width: 100% !important;
    min-width: unset !important;
  }

  .float-social__wa {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }

  .float-social__wa svg {
    width: 28px;
    height: 28px;
  }

  .wa-tooltip {
    display: none !important;
  }

  .btt {
    bottom: 5.2rem;
    right: 1.35rem;
    width: 40px;
    height: 40px;
  }

  .footer {
    padding-block: 3.5rem 1.8rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }

  .page-header {
    padding-top: 2.5rem;
    padding-bottom: 2.8rem;
  }

  .page-header h1 {
    font-size: 1.85rem;
  }
}

/* Petits Mobiles (<= 400px - iPhone SE, Galaxy Fold) */
@media (max-width: 400px) {
  .container {
    padding-inline: 0.9rem;
  }

  .nav__inner {
    padding-inline: 0.9rem;
  }

  .nav__logo {
    font-size: 1.05rem;
    gap: 0.5rem;
  }

  .nav__logo-mark {
    width: 36px;
    height: 36px;
  }

  .top-bar {
    font-size: 0.74rem;
    padding-inline: 0.5rem;
  }

  .social-bar {
    grid-template-columns: 1fr;
  }

  .card-logos {
    gap: 0.4rem !important;
  }

  .card-logo {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
  }

  .hero-image-card {
    position: static;
    margin-top: 0.8rem;
  }

  .hero-image-card-badge {
    position: static;
    margin-top: 0.6rem;
    display: inline-flex;
  }
}
