/* ===================================
   Variables CSS
   =================================== */
:root {
  --noir: #1a1a1a;
  --gris: #f5f5f7;
  --blanc: #ffffff;
  --violet-default: #764ba2; /* Thème par défaut */
}

/* Thèmes de couleurs */
body {
  --theme-color: var(--violet-default); /* Couleur par défaut */
}
body.theme-beaute {
  --theme-color: #c8a2c8;
} /* Lilas poudré */
body.theme-formation {
  --theme-color: #2e86c1;
} /* Bleu professionnel */
body.theme-restaurant {
  --theme-color: #c0392b;
} /* Rouge grenade */
body.theme-medical {
  --theme-color: #16a085;
} /* Vert d'eau */

/* ===================================
   Reset & Base Styles
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--noir);
  background: var(--blanc);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===================================
   HEADER
   =================================== */
header {
  background: var(--blanc);
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--noir);
  font-weight: 700;
  font-size: 20px;
  transition: transform 0.3s ease;
  z-index: 10;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 40px;
  margin-right: 10px;
  border-radius: 5px;
}

.nav-buttons a {
  color: var(--noir);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-buttons a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--theme-color);
  transition: width 0.3s ease;
}

.nav-buttons a:hover {
  color: var(--theme-color);
}

.nav-buttons a:hover:after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--noir);
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger animation */
.nav-open .hamburger span {
  background: var(--blanc);
}

.nav-open .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-open .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  background: var(--gris);
  padding: 100px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(118, 75, 162, 0.1);
  top: -100px;
  right: -100px;
}

.hero:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(118, 75, 162, 0.1);
  bottom: -75px;
  left: -75px;
}

.hero-content {
  flex: 1 1 500px;
  max-width: 600px;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--theme-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  color: #555;
  margin-bottom: 30px;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-form input {
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  flex: 1;
  min-width: 250px;
  transition: all 0.3s ease;
}

.cta-form input:focus {
  border-color: var(--theme-color);
  box-shadow: 0 0 0 2px rgba(118, 75, 162, 0.2);
  outline: none;
}

.cta-form button {
  background: var(--theme-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-form button:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
}

.trial-subtext {
  font-size: 14px;
  color: #777;
  margin-top: 15px;
}

.hero img {
  flex: 1 1 400px;
  max-width: 550px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transition: transform 0.5s ease;
}

.hero img:hover {
  transform: scale(1.02);
}

/* ===================================
   SECTION TITLE
   =================================== */
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--noir);
  position: relative;
}

.section-title:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--theme-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
  padding: 100px 20px;
  background: var(--blanc);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--gris);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

.feature-card:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  background: var(--theme-color);
  top: 0;
  left: 0;
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.feature-card:hover:before {
  transform: translateY(0);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 40px;
  color: var(--theme-color);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);
}

.feature-card h3 {
  color: var(--theme-color);
  margin-bottom: 10px;
}

.feature-card p {
  color: #555;
}

/* ===================================
   USE CASES SECTION
   =================================== */
.use-cases {
  padding: 100px 20px;
  position: relative;
  background: url("https://placehold.net/8-800x600.png") no-repeat center center;
  background-size: cover;
  z-index: 0;
}

.use-cases::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: -1;
}

.use-cases .section-title,
.use-cases .section-subtitle {
  color: var(--noir);
}

.use-cases .section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: -40px auto 60px;
  color: #555;
  font-size: 18px;
}

.feature-card .btn-secondary {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  border: 1px solid var(--theme-color);
  color: var(--theme-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.feature-card .btn-secondary:hover {
  background: var(--theme-color);
  color: var(--blanc);
}

/* ===================================
   IMAGE SHOWCASE SECTION (SLIDER)
   =================================== */
.image-showcase {
  padding: 80px 20px;
  background: var(--gris);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.image-showcase.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Container */
.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Slider Wrapper */
.slider-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-height: 600px;
}

/* Slider Track */
.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

/* Slider Slide */
.slider-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-slide.active {
  opacity: 1;
}

.slider-slide img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

/* Slider Buttons */
.slider-btn {
  background: var(--blanc);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: var(--theme-color);
  font-size: 18px;
  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--theme-color);
  color: var(--blanc);
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(118, 75, 162, 0.3);
}

.slider-btn:active {
  transform: scale(0.95);
}

.slider-btn i {
  pointer-events: none;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot:hover {
  background: #bbb;
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--theme-color);
  width: 30px;
  border-radius: 6px;
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing {
  padding: 100px 20px;
  background: var(--blanc);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.pricing-card {
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 2px solid var(--theme-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: -40px;
  background: var(--theme-color);
  color: var(--blanc);
  padding: 5px 30px;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
  color: var(--theme-color);
  margin-bottom: 10px;
  font-size: 24px;
}

.plan-description {
  color: #555;
  min-height: 40px;
  margin-bottom: 20px;
}

.price-container {
  margin-bottom: 30px;
}

.price {
  font-size: 42px;
  font-weight: 700;
  color: var(--theme-color);
}

.billing-period {
  color: #555;
  font-size: 16px;
}

.pricing-card .btn-pricing {
  margin-top: auto;
}

.btn-pricing {
  background: var(--theme-color);
  color: white;
  padding: 12px 35px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-pricing:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Billing Toggle */
.billing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -30px 0 40px;
  font-weight: 600;
}

.billing-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 0 15px;
}

.billing-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.billing-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.billing-toggle .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.billing-toggle input:checked + .slider {
  background-color: var(--theme-color);
}

.billing-toggle input:checked + .slider:before {
  transform: translateX(26px);
}

.savings-badge {
  background: #e1f5fe;
  color: #0277bd;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 10px;
}

/* Feature Comparison Table */
.feature-comparison-container {
  max-width: 1000px;
  margin: 80px auto 0;
}

.comparison-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.feature-table th,
.feature-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.feature-table th {
  font-size: 18px;
}

.feature-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.feature-table .fa-check {
  color: #4caf50; /* Green check */
  font-size: 20px;
}

.feature-table .fa-times {
  color: #f44336; /* Red cross */
  font-size: 20px;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
  background: linear-gradient(135deg, var(--theme-color) 0%, #5f3d89 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: -150px;
  right: -150px;
}

.cta-section:after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  bottom: -100px;
  left: -100px;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--blanc);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-cta-primary {
  background: var(--blanc);
  color: var(--theme-color);
  border: 2px solid var(--blanc);
}

.btn-cta-primary:hover {
  background: transparent;
  color: var(--blanc);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--blanc);
  border: 2px solid var(--blanc);
}

.btn-cta-secondary:hover {
  background: var(--blanc);
  color: var(--theme-color);
  transform: translateY(-2px);
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: linear-gradient(135deg, var(--noir) 0%, #2d1b4e 100%);
  color: var(--blanc);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--theme-color),
    transparent
  );
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--blanc);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--theme-color);
  border-radius: 1px;
}

/* Footer About */
.footer-about {
  padding-right: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 35px;
  margin-right: 12px;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-size: 24px;
  font-weight: 700;
  color: var(--blanc);
}

.footer-description {
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--blanc);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: var(--theme-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

/* Footer Links */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 8px;
  font-size: 10px;
  color: var(--theme-color);
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--blanc);
  transform: translateX(5px);
}

.footer-links a:hover i {
  transform: translateX(3px);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item i {
  color: var(--theme-color);
  font-size: 16px;
  margin-top: 2px;
  width: 20px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-item span:first-child {
  color: #bbb;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span:last-child {
  color: var(--blanc);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--theme-color);
}

/* Newsletter */
.newsletter-col p {
  color: #bbb;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.newsletter-form {
  margin-bottom: 30px;
}

.input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 15px;
  color: var(--blanc);
  font-size: 14px;
}

.input-group input::placeholder {
  color: #999;
}

.input-group input:focus {
  outline: none;
}

.input-group button {
  background: var(--theme-color);
  border: none;
  padding: 12px 15px;
  color: var(--blanc);
  cursor: pointer;
  transition: all 0.3s ease;
}

.input-group button:hover {
  filter: brightness(0.9);
}

/* App Badges */
.app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-badge {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 15px;
  text-decoration: none;
  color: var(--blanc);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.app-badge i {
  font-size: 24px;
  margin-right: 12px;
  color: var(--theme-color);
}

.app-badge div {
  display: flex;
  flex-direction: column;
}

.app-badge span {
  font-size: 10px;
  color: #bbb;
}

.app-badge strong {
  font-size: 14px;
  font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.copyright p {
  color: #999;
  font-size: 14px;
}

.copyright strong {
  color: var(--theme-color);
}

.legal-links {
  display: flex;
  gap: 25px;
}

.legal-links a {
  color: #999;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--theme-color);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }

  .newsletter-col {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--noir);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.5s ease-in-out;
    display: flex;
  }

  .nav-open .nav-menu {
    right: 0;
  }

  .nav-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-buttons a {
    color: var(--blanc);
    font-size: 24px;
    margin: 20px 0;
    margin-left: 0;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

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

  .cta-form {
    justify-content: center;
  }

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

  .hero h1 {
    font-size: 36px;
  }

  .hero img {
    max-width: 90%;
  }

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

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .use-cases .feature-card.featured {
    transform: none;
  }
  .use-cases .feature-card.featured:hover {
    transform: translateY(-6px);
  }

  /* Slider responsive */
  .slider-container {
    gap: 10px;
    max-width: 95%;
  }

  .slider-wrapper {
    max-height: 450px;
  }

  .slider-slide img {
    max-height: 450px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .newsletter-col {
    grid-column: span 1;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .app-badges {
    flex-direction: row;
    justify-content: center;
  }

  .app-badge {
    flex: 1;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

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

  .cta-section h2 {
    font-size: 26px;
  }

  /* Slider mobile */
  .slider-container {
    max-width: 100%;
    gap: 5px;
  }

  .slider-wrapper {
    max-height: 350px;
  }

  .slider-slide img {
    max-height: 350px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .slider-dots {
    gap: 8px;
    margin-top: 20px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  .slider-dot.active {
    width: 24px;
  }

  .footer-main {
    gap: 30px;
  }

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

  .app-badges {
    flex-direction: column;
  }

  .app-badge {
    max-width: none;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
  }
}

/* ===================================
   USE CASE CARD THEMING
   =================================== */
.use-cases .feature-card.use-case-beaute {
  --card-theme-color: #c8a2c8;
}
.use-cases .feature-card.use-case-formation {
  --card-theme-color: #2e86c1;
}
.use-cases .feature-card.use-case-restaurant {
  --card-theme-color: #c0392b;
}
.use-cases .feature-card.use-case-medical {
  --card-theme-color: #16a085;
}

.use-cases .feature-card[class*="use-case-"] .feature-icon,
.use-cases .feature-card[class*="use-case-"] h3 {
  color: var(--card-theme-color);
}

.use-cases .feature-card[class*="use-case-"] .btn-secondary {
  color: var(--card-theme-color);
  border-color: var(--card-theme-color);
}

.use-cases .feature-card[class*="use-case-"] .btn-secondary:hover {
  background-color: var(--card-theme-color);
  color: var(--blanc);
}

.use-cases .feature-card[class*="use-case-"]:before {
  background: var(--card-theme-color);
}

.use-cases .feature-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--card-theme-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.use-cases .feature-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--theme-color);
  color: var(--blanc);
  padding: 5px 30px;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* ===================================
   THEMED FEATURE CARDS (USE CASE PAGES)
   =================================== */
body[class*="theme-"] .features .feature-card {
  background-color: var(--theme-color);
  opacity: 1; /* Override fade-in animation */
  transform: translateY(0); /* Override fade-in animation */
}

body[class*="theme-"] .features .feature-card h3,
body[class*="theme-"] .features .feature-card p,
body[class*="theme-"] .features .feature-card .feature-icon {
  color: var(--blanc);
}

body[class*="theme-"] .features .feature-card:before {
  background: rgba(0, 0, 0, 0.2);
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */
.how-it-works {
  padding: 100px 20px;
  background: var(--gris); /* Fond gris pour alterner avec le blanc */
}

.how-it-works-card {
  background: var(--blanc);
  border-radius: 12px;
  padding: 50px 30px 40px 30px; /* Plus de padding en haut pour le numéro */
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  opacity: 0; /* Pour l'animation fade-in */
  transform: translateY(30px); /* Pour l'animation fade-in */
}

.how-it-works-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.how-it-works-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -25px; /* Place le cercle à cheval sur le haut de la carte */
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--theme-color);
  color: var(--blanc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  border: 4px solid var(--blanc);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.how-it-works-icon {
  font-size: 40px;
  color: var(--theme-color);
  margin-bottom: 15px;
}

.how-it-works-card h3 {
  color: var(--theme-color);
  margin-bottom: 10px;
  font-size: 22px;
}

.how-it-works-card p {
  color: #555;
  font-size: 15px;
}

/* Styles pour les pages légales */
.legal-page {
  padding: 120px 20px 60px;
  background: var(--gris);
  min-height: 60vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--blanc);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-container h1 {
  color: var(--theme-color);
  margin-bottom: 30px;
  font-size: 32px;
}

.legal-container h2 {
  color: var(--noir);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 20px;
}

.legal-container p,
.legal-container ul {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-container ul {
  padding-left: 20px;
}

.legal-container li {
  margin-bottom: 5px;
}
