/* ==============================================================================
   DESIGN SYSTEM - PARENTS SEREINS, ENFANTS ÉPANOUIS
   Auteur : M. Rassoul Kane
   Architecture : 100% MOBILE-FIRST (Progressive Enhancement)
   ============================================================================== */

/* ------------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS
   ------------------------------------------------------------------------------ */
:root {
  --primary: #0e4955;
  --primary-light: #166474;
  --primary-dark: #072a32;
  --accent: #d97736;
  --accent-hover: #bf6022;
  --accent-light: #fef3eb;
  --bg-page: #f9fbfb;
  --bg-card: #ffffff;
  --text-main: #192a32;
  --text-muted: #526774;
  --border-light: rgba(14, 73, 85, 0.12);
  --shadow-sm: 0 4px 12px rgba(14, 73, 85, 0.05);
  --shadow-md: 0 12px 28px rgba(14, 73, 85, 0.08);
  --shadow-xl: 0 24px 50px rgba(14, 73, 85, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------------------------
   2. MOBILE-FIRST RESET & BASE TYPOGRAPHY (320px+)
   ------------------------------------------------------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  font-size: 15px;
  padding-top: 84px;
  /* Dégagement aéré et sécurisé de la navbar fixe sur mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input,
button,
select,
textarea,
a {
  font-family: inherit;
  font-size: 16px;
  /* Evite le zoom automatique sur iOS */
  color: inherit;
  touch-action: manipulation;
  /* Supprime le délai de 300ms sur mobile */
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
.logo-text,
.section-tag {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--primary-dark);
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.max-w-800 {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

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

/* ------------------------------------------------------------------------------
   3. NAVIGATION BAR & MOBILE DRAWER (Fixed Permanently Top)
   ------------------------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  background: rgba(249, 251, 251, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(14, 73, 85, 0.06);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  z-index: 1002;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.logo-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.logo:hover .logo-icon {
  transform: rotate(15deg) scale(1.15);
}

.logo-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.logo-text {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.logo-subtext {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bouton Hamburger Mobile */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(14, 73, 85, 0.08);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 4px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--accent);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--accent);
}

/* Tiroir de Navigation Mobile */
.nav-links {
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  background: rgba(249, 251, 251, 0.98);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 20px 20px 24px;
  gap: 8px;
  border-bottom: 1.5px solid var(--border-light);
  box-shadow: 0 20px 40px rgba(14, 73, 85, 0.16);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(14, 73, 85, 0.03);
  transition: all 0.2s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn):active {
  color: var(--primary);
  background: rgba(14, 73, 85, 0.08);
}

.nav-cta-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.nav-cta-group .btn {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

/* ------------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE ELEMENTS (Mobile Touch First: Min 48px Height)
   ------------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  min-height: 48px;
  width: 100%;
  text-align: center;
}

.btn-nav-cta {
  background: #ffffff;
  color: var(--primary-dark);
  border: 1px solid var(--border-light);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.btn-nav-cta svg {
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
  color: var(--primary);
}

.btn-nav-cta:hover,
.btn-nav-cta:active,
.btn-nav-cta.active {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 73, 85, 0.35);
}

.btn-nav-cta:hover svg,
.btn-nav-cta:active svg {
  color: #ffffff;
  transform: scale(1.15);
}

.btn-store-cta {
  background: #ffffff;
  color: var(--primary-dark);
  border: 1.5px solid var(--border-light);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  width: 100%;
}

.btn-store-cta svg {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.35s ease, color 0.35s ease;
}

.btn-store-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-store-cta:hover::before {
  left: 100%;
}

.btn-store-cta:hover,
.btn-store-cta:active,
.btn-store-cta:focus-visible {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(14, 73, 85, 0.35);
}

.btn-store-cta:hover svg,
.btn-store-cta:active svg {
  color: #ffffff;
  transform: scale(1.18);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--border-light);
  padding: 12px 18px;
  font-size: 14px;
}

.btn-outline:hover {
  background: rgba(14, 73, 85, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 12px 20px;
  font-size: 14px;
  min-height: 48px;
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
  min-height: 38px;
}

.btn-text-small {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}

.btn-return-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f7f8;
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
}

.btn-return-site:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ------------------------------------------------------------------------------
   5. HERO SECTION (Fond Naturel Doux & Encadré Citation Bleu Livre avec Texte Doré)
   ------------------------------------------------------------------------------ */
.hero-section {
  position: relative;
  padding: 36px 0 50px;
  overflow: hidden;
  background: transparent;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(22, 100, 116, 0.15) 0%, rgba(249, 251, 251, 0) 70%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9) translate(0, 0);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.1) translate(-20px, 20px);
    opacity: 1;
  }
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  text-align: center;
  align-items: center;
}

.hero-content {
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(2, 132, 199, 0.12);
  border: 1.5px solid rgba(2, 132, 199, 0.45);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 14px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #0284c7;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(2, 132, 199, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
  }
}

.hero-title {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.45;
}

/* Encadré Citation : Simple, épuré en Bleu Cyan (#0284c7) & Écriture Blanche */
.hero-quote {
  font-size: 14.5px;
  font-style: italic;
  font-weight: 500;
  color: #ffffff;
  background: #0284c7;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 18px;
  text-align: left;
  line-height: 1.5;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.18);
}

.hero-description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-main-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.hero-secondary-action {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-secondary-action .btn {
  width: 100%;
  padding: 12px 18px;
  min-height: 48px;
  font-size: 14px;
  border-radius: var(--radius-full);
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-align: left;
  background: rgba(14, 73, 85, 0.03);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #e6f6ee;
  color: #0f8a5f;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Couverture du Livre & Badges Flottants (Mobile-First) */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  perspective: 1000px;
}

.book-card-container {
  position: relative;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.glow-effect {
  position: absolute;
  inset: 5%;
  background: radial-gradient(circle, rgba(217, 119, 54, 0.28) 0%, rgba(22, 100, 116, 0.2) 60%, transparent 80%);
  filter: blur(30px);
  z-index: 1;
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.book-mockup-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl), 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  display: block;
  margin: 0 auto;
}

.floating-tag {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(14, 73, 85, 0.12);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--primary-dark);
  animation: floatSlow 4s ease-in-out infinite alternate;
  white-space: nowrap;
}

.tag-top {
  top: 10px;
  left: 2px;
  animation-delay: 0s;
}

.tag-bottom {
  bottom: 10px;
  right: 2px;
  animation-delay: 2s;
}

@keyframes floatSlow {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-7px);
  }
}

/* ------------------------------------------------------------------------------
   6. SECTIONS COMMUNES & CARTES (Mobile First)
   ------------------------------------------------------------------------------ */
.section {
  padding: 55px 0;
  transition: background-color 0.5s ease;
  scroll-margin-top: 85px;
}

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

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.25;
}

.section-lead {
  font-size: 15px;
  color: var(--text-muted);
}

.section-header.text-center .section-lead {
  margin: 0 auto;
}

/* Animation de mise en avant lors du clic depuis le menu */
@keyframes sectionHighlightGlow {
  0% {
    background-color: rgba(217, 119, 54, 0.12);
    transform: scale(1.01);
  }

  100% {
    background-color: transparent;
    transform: scale(1);
  }
}

.section-highlight-active {
  animation: sectionHighlightGlow 1.2s ease-out;
  border-radius: var(--radius-lg);
}

/* Grille des 3 Cartes Solution */
.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 100, 116, 0.3);
}

.highlighted-card {
  background: linear-gradient(180deg, #f3f8f9 0%, #ffffff 100%);
  border-color: rgba(22, 100, 116, 0.4);
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-card:hover .feature-icon-badge {
  transform: scale(1.12) rotate(4deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.badge-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #d97706;
}

.badge-accent {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.badge-peace {
  background: linear-gradient(135deg, #e6f6f9 0%, #cbeff5 100%);
  border: 1px solid rgba(22, 100, 116, 0.3);
  color: var(--primary);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Grille du Sommaire / Programme */
.toc-section {
  background: #f1f6f7;
}

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

.toc-card {
  background: var(--bg-card);
  padding: 22px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.toc-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.highlight-toc {
  border-left: 4px solid var(--accent);
}

.full-span-card {
  background: linear-gradient(135deg, #0e4955 0%, #072a32 100%);
  color: #ffffff;
}

.full-span-card h4,
.full-span-card .toc-number {
  color: #ffffff;
}

.full-span-card p {
  color: #cfe1e5;
}

.toc-number {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.toc-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.toc-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Section Auteur */
.author-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.author-avatar-wrap {
  display: flex;
  justify-content: center;
}

.author-avatar-placeholder {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease;
}

.author-box:hover .author-avatar-placeholder {
  transform: scale(1.05) rotate(2deg);
}

.author-name {
  font-size: 24px;
  margin-bottom: 10px;
}

.author-bio {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.65;
}

.author-signature {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

/* Accordéon FAQ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: rgba(22, 100, 116, 0.3);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
}

.accordion-header:hover {
  color: var(--accent-hover);
}

.accordion-arrow {
  font-size: 15px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 18px;
}

.accordion-item.active .accordion-content {
  max-height: 400px;
  padding-bottom: 18px;
}

.accordion-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Bannière Finale CTA */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner-content h2 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 12px;
}

.cta-banner-content p {
  color: #cfe1e5;
  font-size: 15px;
  margin-bottom: 24px;
}

.banner-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.banner-cta-third-option {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.third-option-label {
  font-size: 11.5px;
  color: #a4c2c7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.btn-books2read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 11px 16px;
  min-height: 48px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  transition: var(--transition);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-books2read svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  color: #38bdf8;
}

.btn-books2read:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

/* Pied de Page */
.footer {
  background: #071f25;
  color: #a4c2c7;
  padding: 36px 0;
  font-size: 13px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  align-items: center;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.footer-link {
  color: #a4c2c7;
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-link-btn {
  background: none;
  border: none;
  color: #a4c2c7;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  padding: 4px;
}

.footer-link-btn:hover {
  color: #ffffff;
}

/* ------------------------------------------------------------------------------
   7. MODAL SÉCURISÉ & DASHBOARD AUTEUR (Mobile First)
   ------------------------------------------------------------------------------ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 33, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-card {
  background: #ffffff;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .modal-overlay {
    padding: 16px;
  }

  .modal-card {
    width: 96vw;
    max-width: 1240px;
    height: 94vh;
    max-height: 94vh;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
  }
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1.5px solid var(--border-light);
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(14, 73, 85, 0.08);
  gap: 12px;
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-title-wrap h3 {
  font-size: 16px;
}

.modal-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-return-site,
.btn-logout-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  transition: none !important;
  transform: none !important;
  animation: none !important;
}

.btn-return-site {
  background: #f0f7f8;
  color: var(--primary-dark);
  border: 1.5px solid var(--border-light);
}

.btn-return-site:hover,
.btn-return-site:active,
.btn-return-site:focus {
  background: #e2eef1;
  border-color: var(--primary);
  transform: none !important;
  animation: none !important;
  outline: none;
  box-shadow: none;
}

.btn-logout-cta {
  background: #fee2e2;
  color: #b91c1c;
  border: 1.5px solid #fca5a5;
}

.btn-logout-cta:hover,
.btn-logout-cta:active,
.btn-logout-cta:focus {
  background: #fecaca;
  color: #991b1b;
  transform: none !important;
  animation: none !important;
  outline: none;
  box-shadow: none;
}

.btn-logout-cta.hidden {
  display: none !important;
}

.admin-view {
  padding: 20px 16px;
}

.security-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.step-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: #eef4f5;
  color: var(--text-muted);
}

.step-badge.active {
  background: var(--primary);
  color: #ffffff;
}

.step-badge.completed {
  background: #e6f6ee;
  color: #0f8a5f;
}

.step-divider {
  width: 24px;
  height: 2px;
  background: #e2e8f0;
}

.step-divider.active {
  background: #0f8a5f;
}

#admin-step1-screen,
#admin-step2-screen {
  text-align: center;
}

.lock-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.lock-subtext {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 14px;
}

.pin-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto 14px;
  width: 100%;
}

.pin-input-wrap input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 16px;
  text-align: center;
  min-height: 48px;
}

.error-msg {
  color: #d93025;
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 600;
}

.security-notice {
  background: #f0f7f8;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.4;
}

.admin-vertical-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 768px) {
  .admin-vertical-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }
}

.admin-sidebar-vertical {
  background: #f4f8f9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--border-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--primary-dark);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  width: 100%;
}

.sidebar-tab-btn .tab-icon {
  font-size: 16px;
}

.sidebar-tab-btn:hover {
  background: rgba(14, 73, 85, 0.08);
  color: var(--primary);
}

.sidebar-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(14, 73, 85, 0.25);
}

.sidebar-tab-btn.btn-sidebar-logout {
  color: #b91c1c;
  background: #fef2f2;
  margin-top: 8px;
  border-top: 1px solid rgba(239, 68, 68, 0.15);
}

.sidebar-tab-btn.btn-sidebar-logout:hover {
  background: #fee2e2;
  color: #991b1b;
}

.admin-main-panel {
  flex: 1;
  width: 100%;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.security-card-box {
  background: #f8fbfb;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 14px;
}

.security-card-box h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 15px;
  min-height: 44px;
}

.config-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-logout-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fdf2f2;
  border: 1px solid #fecaca;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #dc2626;
  cursor: pointer;
  transition: var(--transition);
}

.btn-logout-cta:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.otp-code-input {
  letter-spacing: 6px;
  font-size: 22px !important;
  font-weight: 800;
  color: var(--primary-dark);
}

.sync-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f8f8;
  border: 1px solid #d2e7e9;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.sync-status-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
}

.btn-refresh-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-refresh-pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-refresh-pill.spinning .refresh-icon {
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

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

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

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

.kpi-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.highlight-kpi {
  background: linear-gradient(135deg, #fff9f5 0%, #fff0e6 100%);
  border-color: rgba(217, 119, 54, 0.4);
}

.kpi-icon {
  font-size: 22px;
  margin-bottom: 4px;
}

.kpi-value {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-dark);
}

.kpi-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.activity-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.badge-event {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}

.badge-visit {
  background: #e6f6ee;
  color: #0f8a5f;
}

.badge-click {
  background: #fef3e9;
  color: #d97736;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.activity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 480px;
}

.activity-table th,
.activity-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.activity-table th {
  background: #f4f8f9;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Animations Scroll Reveal */
.reveal-init {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

/* ------------------------------------------------------------------------------
   8. PROGRESSIVE ENHANCEMENT: TABLET BREAKPOINT (min-width: 640px & 768px)
   ------------------------------------------------------------------------------ */
@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-actions {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-cta-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .hero-cta-main-grid .btn {
    width: 100%;
  }

  .hero-secondary-action {
    justify-content: flex-start;
  }

  .hero-secondary-action .btn {
    width: auto;
  }

  .banner-cta-group {
    flex-direction: row;
    justify-content: center;
    max-width: 640px;
  }

  .banner-cta-group .btn {
    width: auto;
  }

  .banner-cta-third-option {
    max-width: 480px;
  }

  .btn-books2read {
    width: auto;
    padding: 11px 22px;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pin-input-wrap {
    flex-direction: row;
    max-width: 380px;
  }

  .pin-input-wrap .btn {
    width: auto;
  }

  .config-buttons {
    flex-direction: row;
  }

  .config-buttons .btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 75px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .toc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .full-span-card {
    grid-column: 1 / -1;
  }

  .author-box {
    display: grid;
    grid-template-columns: 200px 1fr;
    text-align: left;
    padding: 40px;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-right {
    flex-direction: row;
    gap: 20px;
  }
}

/* ------------------------------------------------------------------------------
   9. PROGRESSIVE ENHANCEMENT: DESKTOP BREAKPOINT (min-width: 992px+)
   ------------------------------------------------------------------------------ */
@media (min-width: 992px) {
  html {
    scroll-padding-top: 85px;
  }

  body {
    padding-top: 78px;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .logo {
    flex: initial;
    overflow: visible;
  }

  .logo-text {
    font-size: 15px;
  }

  .logo-subtext {
    font-size: 12px;
  }

  .nav-links {
    position: static;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: row;
    padding: 0;
    gap: 28px;
    border-bottom: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    max-height: none;
    overflow: visible;
  }

  .nav-links a:not(.btn) {
    font-size: 15px;
    padding: 6px 2px;
    border-bottom: none;
    position: relative;
  }

  .nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
  }

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

  .nav-cta-group {
    flex-direction: row;
    width: auto;
    margin-top: 0;
    gap: 10px;
  }

  .btn-nav-cta {
    width: auto;
  }

  /* Hero Desktop Layout (2 Colonnes Alignées) */
  .hero-section {
    padding: 65px 0 90px;
  }

  .hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    text-align: left;
    align-items: center;
  }

  .hero-title {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-quote {
    font-size: 16px;
    padding: 12px 18px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-cta-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .hero-secondary-action {
    justify-content: flex-start;
  }

  .hero-trust {
    background: transparent;
    padding: 0;
    border: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-image-wrapper {
    max-width: 400px;
  }

  .book-mockup-img {
    max-width: 350px;
    transform: rotateY(-4deg) rotateX(2deg);
  }

  .hero-image-wrapper:hover .book-mockup-img {
    transform: translateY(-8px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(14, 73, 85, 0.25);
  }

  .floating-tag {
    position: absolute;
    margin: 0;
    padding: 8px 16px;
    font-size: 12px;
    box-shadow: var(--shadow-md);
    animation: floatSlow 4s ease-in-out infinite alternate;
  }

  .tag-top {
    top: 15px;
    left: -20px;
    animation-delay: 0s;
  }

  .tag-bottom {
    bottom: 20px;
    right: -15px;
    animation-delay: 2s;
  }

  @keyframes floatSlow {
    0% {
      transform: translateY(0px);
    }

    100% {
      transform: translateY(-8px);
    }
  }

  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .feature-card {
    padding: 36px 30px;
  }

  .feature-card h3 {
    font-size: 20px;
  }

  .author-box {
    grid-template-columns: 240px 1fr;
    padding: 48px;
  }

  .author-avatar-placeholder {
    width: 170px;
    height: 170px;
    font-size: 40px;
  }

  .author-name {
    font-size: 28px;
  }

  .kpi-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .cta-banner {
    padding: 60px 40px;
  }

  .cta-banner-content h2 {
    font-size: 32px;
  }
}

/* ------------------------------------------------------------------------------
   10. UTILITY CLASSES (Clean HTML / Zero Inline Styles)
   ------------------------------------------------------------------------------ */
.hidden {
  display: none;
}

.mt-8 {
  margin-top: 8px;
}

.mt-24 {
  margin-top: 24px;
}

.link-accent-bold {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

.link-primary-bold {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ------------------------------------------------------------------------------
   11. BOUTONS RONDS FLOTTANTS SUPPORT CLIENT (WHATSAPP & GMAIL)
   ------------------------------------------------------------------------------ */
.floating-support-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.support-round-btn {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16), 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease, background 0.2s ease;
  position: relative;
}

.support-round-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.support-round-btn:active {
  transform: scale(0.96);
}

.support-round-btn.btn-whatsapp-round {
  background: #25D366;
  border-color: #20ba5a;
}

.support-round-btn.btn-whatsapp-round:hover {
  background: #22c35e;
}

.support-round-btn.btn-gmail-round {
  background: #ffffff;
}

.support-round-btn.btn-gmail-round:hover {
  background: #f8fafc;
}

.support-round-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Modal de Confirmation de Déconnexion Sécurisée */
.confirm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 18, 22, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.confirm-modal-overlay.hidden {
  display: none !important;
}

.confirm-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-light);
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Dialogue Professionnel de Confirmation de Déconnexion */
.confirm-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 18, 22, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.confirm-dialog-overlay.hidden {
  display: none !important;
}

.confirm-dialog-card {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.confirm-dialog-badge {
  background: rgba(14, 73, 85, 0.1);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.confirm-dialog-icon {
  font-size: 38px;
  margin-bottom: 8px;
}

.confirm-dialog-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.confirm-dialog-text {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}

.confirm-dialog-text strong {
  color: var(--text-main);
  font-weight: 700;
}

.confirm-dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

@media (min-width: 480px) {
  .confirm-dialog-actions {
    flex-direction: row;
  }
}

.btn-confirm-cancel {
  flex: 1;
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid #cbd5e1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.btn-confirm-cancel:hover {
  background: #e2e8f0;
}

.btn-confirm-accept {
  flex: 1;
  background: #dc2626;
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
  transition: background 0.15s ease;
}

.btn-confirm-accept:hover {
  background: #b91c1c;
}

/* Responsive Mobile Support Widget */
@media (max-width: 768px) {
  .floating-support-widget {
    bottom: 18px;
    right: 18px;
    gap: 10px;
  }

  .support-round-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
  }

  .support-round-btn svg {
    width: 25px;
    height: 25px;
  }
}