/* ==============================================================================
   PASSION BEAUTÉ CANINE - DESIGN SYSTEM LUXURY PET SPA & ACADEMY
   Agence TonCodeur.com | Design Excellence & Performance
   ============================================================================== */

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

/* --- 1. VARIABLES & DESIGN TOKENS --- */
:root {
  /* Couleurs Principales (Élévation moderne de la palette historique rose/violet) */
  --primary: #8E285C;
  --primary-hover: #731E49;
  --primary-light: #A83870;
  --primary-soft: #F9ECF3;
  --primary-glow: rgba(142, 40, 92, 0.18);

  /* Accents Secondaires (Ambre Chaleureux & Soleil) */
  --secondary: #D97736;
  --secondary-hover: #C26123;
  --secondary-light: #F29559;
  --secondary-soft: #FEF4ED;

  /* Accent Produits Naturels & Biologiques (Vert Sauge Botanique) */
  --accent-bio: #2D6A4F;
  --accent-bio-soft: #EAF5F0;

  /* Couleurs Neutres & Surfaces */
  --bg-main: #FAF7F5;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F6F1EE;
  --bg-dark: #1A151E;
  --bg-dark-card: #25202B;

  /* Typographie & Textes */
  --text-main: #1E1B24;
  --text-muted: #665F6E;
  --text-light: #948C9C;
  --text-white: #FFFFFF;

  /* Bordures & Séparateurs */
  --border-subtle: #ECE4E0;
  --border-focus: #8E285C;

  /* Typographies */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Ombres & Élévation */
  --shadow-sm: 0 2px 8px rgba(30, 27, 36, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 27, 36, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 27, 36, 0.12);
  --shadow-primary: 0 10px 25px rgba(142, 40, 92, 0.28);
  --shadow-secondary: 0 10px 25px rgba(217, 119, 54, 0.28);

  /* Rayons de courbure - Design soigné, sobre et haut de gamme (anti-effet IA) */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 6px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s 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;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  padding-bottom: 70px; /* Espace pour la barre mobile fixe */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

/* --- 3. TYPOGRAPHIE & HIÉRARCHIE --- */
.display-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.gradient-text {
  color: var(--primary);
  font-weight: 700;
}

/* --- 4. LAYOUT & CONTENEURS --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-sm {
  padding: 3rem 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: #F3EEF5;
}

.section-dark h2, 
.section-dark h3, 
.section-dark h4 {
  color: #FFFFFF;
}

.section-dark .section-title {
  color: #FFFFFF;
}

.section-dark .section-subtitle,
.section-dark .text-muted {
  color: #D6CFD9;
}

.section-dark .card-features li {
  color: #E8E2EB !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

.section-dark .card-features li strong {
  color: #FFFFFF !important;
  font-weight: 700;
}

.section-dark .card-features li::marker {
  color: var(--secondary-light);
}

.card-dark {
  background: var(--bg-dark-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.card-dark:hover {
  border-color: rgba(242, 149, 89, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

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

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* --- 5. BOUTONS & BADGES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(142, 40, 92, 0.35);
  color: var(--text-white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-white);
  box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 119, 54, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-white);
  color: var(--text-white);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.125rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.badge-primary {
  background: var(--primary-soft);
  color: var(--primary);
}

.badge-secondary {
  background: var(--secondary-soft);
  color: var(--secondary);
}

.badge-bio {
  background: var(--accent-bio-soft);
  color: var(--accent-bio);
}

/* --- 6. HEADER & NAVIGATION --- */
.topbar {
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
}

.topbar-links a:hover {
  color: var(--secondary-light);
}

.topbar-highlight {
  color: var(--secondary-light);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-width: 240px;
  display: block;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

@media (max-width: 540px) {
  .brand-logo-img {
    height: 42px;
    max-width: 200px;
  }
}

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

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
}

.main-nav {
  display: none;
}

@media (min-width: 1040px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.nav-link {
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* --- Menu Déroulant (Dropdown Services) --- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
}

.nav-dropdown-toggle svg {
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--primary-soft);
  color: var(--primary);
  transform: translateX(4px);
}

.dropdown-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Sous-liens Mobile */
.mobile-subnav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  margin: 0.2rem 0;
  border-left: 2px solid var(--secondary);
}

.mobile-subnav a {
  font-size: 1.05rem !important;
  color: var(--text-light) !important;
  padding: 0.3rem 0.8rem !important;
}

.mobile-subnav a:hover, .mobile-subnav a.active {
  color: var(--secondary-light) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

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

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Menu Mobile Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(26, 21, 30, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  color: var(--text-white);
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
}

.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--secondary-light);
  background: rgba(255, 255, 255, 0.08);
}

/* --- 7. CARTES & SURFACES --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(142, 40, 92, 0.25);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: var(--transition);
}

.card-icon-primary {
  background: var(--primary-soft);
  color: var(--primary);
}

.card-icon-secondary {
  background: var(--secondary-soft);
  color: var(--secondary);
}

.card-icon-bio {
  background: var(--accent-bio-soft);
  color: var(--accent-bio);
}

.card:hover .card-icon {
  transform: translateY(-2px);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 1.25rem;
}

.card-img-top {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.card:hover .card-img-top {
  transform: scale(1.03);
}

.hero-img-showcase {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.card-features {
  margin: 1.25rem 0;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.925rem;
  color: var(--text-main);
}

.card-features svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--primary);
}

/* --- 8. HERO SECTION --- */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(217, 119, 54, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(142, 40, 92, 0.08) 0%, transparent 40%),
              var(--bg-main);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin: 1.5rem 0 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-number {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
}

.trust-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.2;
  font-weight: 500;
}

/* Visuel Hero & Carte Flottante */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.floating-badge {
  position: absolute;
  z-index: 3;
  background: var(--bg-card);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* --- 9. BANNIÈRE BIO / NATURELLE --- */
.banner-natural {
  background: linear-gradient(135deg, #1C4432 0%, #2D6A4F 100%);
  color: var(--text-white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .banner-natural {
    grid-template-columns: 2fr 1fr;
  }
}

.banner-natural h3 {
  color: var(--text-white);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.banner-natural p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

/* --- 10. TIMELINE ACADÉMIE & FORMATION --- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background: var(--primary-soft);
}

@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: 10px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-main);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-content {
  margin-left: 50px;
  background: var(--bg-card);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 55%;
    text-align: right;
  }
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
  }
}

/* --- 11. FORMULAIRE DE RÉSERVATION / CONTACT --- */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-card-alt);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  background: var(--bg-card);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

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

/* --- 12. BARRE D'ACTION MOBILE FLOTTANTE --- */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 21, 30, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

@media (min-width: 992px) {
  .mobile-action-bar {
    display: none;
  }
}

.action-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.2rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
}

.action-bar-btn svg {
  width: 20px;
  height: 20px;
}

.action-bar-btn.primary {
  background: var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.45rem 1.1rem;
  flex-direction: row;
  gap: 0.4rem;
  font-size: 0.82rem;
  box-shadow: 0 4px 12px rgba(142, 40, 92, 0.4);
}

/* --- 13. FOOTER --- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  color: var(--text-white);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--secondary);
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.925rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--secondary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--secondary-light);
}

.footer-credits {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-toncodeur-logo {
  height: 24px;
  width: auto;
  opacity: 0.85;
  transition: var(--transition);
  display: inline-block;
  vertical-align: middle;
}

.footer-toncodeur-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* --- 14. COMPOSANTS SPÉCIFIQUES (GALERIE, TABS, COMPARATEUR) --- */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(26, 21, 30, 0.9) 0%, transparent 100%);
  color: var(--text-white);
  transform: translateY(10px);
  opacity: 0.9;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* Animations d'entrée */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- 15. COMPOSANT GOOGLE REVIEWS --- */
.google-reviews-badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.google-rating-score {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.google-stars {
  color: #FBBC04;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.google-rating-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(142, 40, 92, 0.2);
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--text-main);
  text-decoration: none;
  display: block;
}

.review-author-name:hover {
  color: var(--primary);
}

.review-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-stars {
  color: #FBBC04;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 0.85rem;
}

.review-body {
  font-size: 0.925rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- 16. SYLLABUS ACADÉMIE HAUT DE GAMME --- */
.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .syllabus-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.syllabus-card {
  background: linear-gradient(160deg, #28212D 0%, #1E1923 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 12px 35px rgba(10, 7, 12, 0.35);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.syllabus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 149, 89, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.syllabus-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.syllabus-title {
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.syllabus-list {
  display: flex;
  flex-direction: column;
}

.syllabus-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.syllabus-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.syllabus-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.18rem;
  background: rgba(217, 119, 54, 0.18);
  color: var(--secondary-light);
}

.syllabus-card:nth-child(1) .syllabus-icon {
  background: rgba(168, 56, 112, 0.22);
  color: #E86DA5;
}

.syllabus-card:nth-child(2) .syllabus-icon {
  background: rgba(217, 119, 54, 0.22);
  color: var(--secondary-light);
}

.syllabus-card:nth-child(3) .syllabus-icon {
  background: rgba(45, 106, 79, 0.28);
  color: #52B788;
}

.syllabus-card:nth-child(4) .syllabus-icon {
  background: rgba(168, 56, 112, 0.22);
  color: #E86DA5;
}

.syllabus-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #E8E2EB;
  flex: 1;
}

.syllabus-text strong {
  color: #FFFFFF;
  font-weight: 700;
  margin-right: 0.35rem;
}

