/* =====================================================
   VISION-PLAN-PRO - STYLES MODERNES ET PROFESSIONNELS
   ===================================================== */

:root {
  /* Couleurs principales */
  --color-vision: #272727;
  --color-plan: #1e8ae2;
  --color-pro: #00BCD4;
  --color-bg-dark: rgba(0, 0, 0, 0.85);
  --color-bg-light: rgba(255, 255, 255, 0.05);
  --color-text-light: #ffffff;
  --color-text-gray: #e0e0e0;
  
  /* Espacements */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-light);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background */
.background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: -1;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Barre de progression du scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-plan), var(--color-pro));
  z-index: 9999;
  transition: width 0.1s ease;
  box-shadow: 0 2px 8px rgba(30, 138, 226, 0.5);
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo .logo {
  height: 50px;
  width: auto;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.nav-logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo .logo:hover {
  transform: scale(1.05);
}

.nav-logo .logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all var(--transition-normal);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-plan), var(--color-pro));
  transition: width var(--transition-normal);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-pro);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
/* =====================================================
   SECTION HERO CENTRÉE
   ===================================================== */

.hero-section-centered {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-md);
  background: rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero-centered-content {
  max-width: 900px;
  text-align: center;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.title-vision {
  color: var(--color-vision);
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.title-plan {
  color: var(--color-plan);
  text-shadow: 2px 2px 8px rgba(30, 138, 226, 0.6);
}

.title-pro {
  color: var(--color-pro);
  text-shadow: 2px 2px 8px rgba(0, 188, 212, 0.6);
}

.hero-subtitle-centered {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--color-plan);
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description-centered {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: var(--color-text-gray);
  margin-bottom: 3rem;
  text-align: center;
}

.hero-cta-centered {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition-normal);
  display: inline-block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-plan), var(--color-pro));
  color: var(--color-text-light);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(30, 138, 226, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-light);
  border: 2px solid var(--color-plan);
}

.btn-secondary:hover {
  background: rgba(30, 138, 226, 0.1);
  transform: translateY(-3px);
}

/* =====================================================
   SECTIONS FONCTIONNALITÉS ALTERNÉES
   ===================================================== */

.feature-section {
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
}

.feature-section.alternate-bg {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(30, 138, 226, 0.05) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-left,
.feature-right {
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0.5) 0%, 
    rgba(0, 0, 0, 0.3) 50%, 
    rgba(0, 0, 0, 0.5) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-slow);
}

.feature-image:hover {
  transform: scale(1.02);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.feature-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--color-plan);
  text-shadow: 0 2px 10px rgba(30, 138, 226, 0.4);
}

.feature-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-gray);
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--color-text-gray);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:last-child {
  border-bottom: none;
}

/* =====================================================
   SECTION TARIFS / FORMULES
   ===================================================== */

.pricing-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: rgba(0, 0, 0, 0.4);
}

.pricing-section.alternate-bg {
  background: linear-gradient(135deg, rgba(30, 138, 226, 0.05) 0%, rgba(0, 188, 212, 0.05) 100%);
  border-top: 1px solid rgba(30, 138, 226, 0.1);
  border-bottom: 1px solid rgba(30, 138, 226, 0.1);
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-light);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* =====================================================
   SECTION ÉVALUATION
   ===================================================== */

.evaluation-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(30, 138, 226, 0.05) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.evaluation-container {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  padding: 2.5rem;
  border-radius: 20px;
  border: none;
  backdrop-filter: none;
}

.evaluation-container h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-plan);
  text-align: center;
}

.evaluation-container p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--color-text-gray);
}

.evaluation-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

.evaluation-form-2cols {
  max-width: 900px;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.btn-calculate-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.form-group label {
  color: white;
  font-weight: 500;
  font-size: 1rem;
}

.form-control {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-plan);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(30, 138, 226, 0.1);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.evaluation-form input {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-text-light);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.evaluation-form input:focus {
  outline: none;
  border-color: var(--color-plan);
  box-shadow: 0 0 15px rgba(30, 138, 226, 0.3);
}

.btn-calculate {
  width: 100%;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--color-plan), var(--color-pro));
  color: var(--color-text-light);
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-calculate:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 138, 226, 0.4);
}

.resultat {
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 15px;
  animation: slideIn 0.5s ease;
}

.resultat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.resultat-item {
  color: white;
  margin: 0;
  padding: 1rem;
  background: rgba(30, 138, 226, 0.1);
  border-radius: 8px;
  line-height: 1.6;
}

.resultat-item.success {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
  font-weight: bold;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.resultat-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-pro);
}

/* Grille des prix */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Assombrir toutes les cartes sauf celle survolée */
.pricing-grid:hover .pricing-card:not(:hover) {
  opacity: 0.4 !important;
  transform: scale(0.95) !important;
}

/* Garder le scale de la carte featured mais l'assombrir aussi */
.pricing-grid:hover .pricing-card.featured:not(:hover) {
  transform: scale(1.0) !important;
  opacity: 0.4 !important;
}

.pricing-card {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-plan), var(--color-pro));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card:hover {
  transform: translateY(-10px) !important;
  border-color: var(--color-plan);
  box-shadow: 0 20px 50px rgba(30, 138, 226, 0.3);
  opacity: 1 !important;
}

.pricing-card.featured {
  border: 2px solid var(--color-plan);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px) !important;
}

.badge {
  position: absolute;
  top: 20px;
  right: -40px;
  background: var(--color-plan);
  color: white;
  padding: 0.5rem 3.5rem;
  transform: rotate(45deg);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.price-label {
  font-size: 0.85rem;
  color: var(--color-text-gray);
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-transform: lowercase;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-plan);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.price span {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-text-gray);
}

.pricing-card .duration {
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
  margin: 0.5rem 0 1.5rem 0;
  font-size: 1rem;
}

.pricing-card .note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 1.5rem 0 1rem 0;
  font-style: italic;
}

.features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.features-list li {
  padding: 0.75rem 0;
  color: var(--color-text-gray);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-plan), var(--color-pro));
  color: var(--color-text-light);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-pricing:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 138, 226, 0.4);
}

.pricing-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* =====================================================
   SECTION À PROPOS
   ===================================================== */

.about-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: rgba(0, 0, 0, 0.4);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  margin-top: 3rem;
}

.about-text {
  background: rgba(0, 0, 0, 0.4);
  padding: 2.5rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-text h3 {
  font-size: 2rem;
  color: var(--color-plan);
  margin-bottom: 1rem;
  text-align: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-gray);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-plan);
  box-shadow: 0 15px 40px rgba(30, 138, 226, 0.2);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  font-size: 1.5rem;
  color: var(--color-plan);
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--color-text-gray);
  line-height: 1.6;
}

/* =====================================================
   SECTION CONTACT
   ===================================================== */

.contact-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(30, 138, 226, 0.05) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-content {
  margin-top: 3rem;
}

.contact-info {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-info p {
  font-size: 1.2rem;
  color: var(--color-text-gray);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.contact-item .icon {
  font-size: 1.5rem;
}

.contact-item a {
  color: var(--color-plan);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.contact-item a:hover {
  color: var(--color-pro);
}

.contact-form {
  background: transparent;
  padding: 2.5rem;
  border-radius: 20px;
  border: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-text-light);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-plan);
  box-shadow: 0 0 15px rgba(30, 138, 226, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-plan), var(--color-pro));
  color: var(--color-text-light);
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 138, 226, 0.4);
}

/* =====================================================
   SECTION SOUSCRIPTION
   ===================================================== */

.subscription-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: rgba(0, 0, 0, 0.4);
}

.subscription-container {
  max-width: 900px;
  margin: 0 auto;
}

.subscription-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-text-gray);
  margin-bottom: 3rem;
}

.subscription-form {
  background: transparent;
  padding: 2.5rem;
  border-radius: 20px;
  border: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-grid input,
.form-grid select {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
}

.form-grid .form-full-width {
  grid-column: 1 / -1;
}

.form-options-row {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.form-option {
  flex: 1;
  min-width: 200px;
}

.form-option label {
  color: white;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-option select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(30, 138, 226, 0.3);
  border-radius: 8px;
  background: rgba(30, 138, 226, 0.08);
  color: white;
  font-size: 1rem;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.form-option select:hover {
  border-color: var(--color-plan);
  background: rgba(30, 138, 226, 0.12);
}

.form-option select:focus {
  outline: none;
  border-color: var(--color-plan);
  background: rgba(30, 138, 226, 0.15);
  box-shadow: 0 0 0 3px rgba(30, 138, 226, 0.1);
}

.form-option select option {
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 0.5rem;
}

.hint-text {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 0.5rem;
  font-style: italic;
  font-size: 0.9rem;
}

.projet-choice {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.projet-choice label {
  background: rgba(30, 138, 226, 0.1);
  padding: 1rem 2rem;
  border-radius: 10px;
  border: 2px solid rgba(30, 138, 226, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.projet-choice label:has(input:checked) {
  background: rgba(30, 138, 226, 0.3);
  border-color: var(--color-plan);
}

.projet-choice input[type="radio"] {
  margin-right: 0.5rem;
}

.prix-container {
  background: linear-gradient(135deg, rgba(76, 184, 232, 0.2), rgba(52, 152, 219, 0.2));
  border: 2px solid #4db8e8;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.prix-label {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.prix-value {
  color: #4db8e8;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.prix-duree {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-style: italic;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content p {
  color: var(--color-text-gray);
  margin: 0;
}

.footer-content a {
  color: var(--color-plan);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-content a:hover {
  color: var(--color-pro);
}

/* =====================================================
   BOUTON RETOUR EN HAUT
   ===================================================== */

.btn-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-plan), var(--color-pro));
  color: var(--color-text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

.btn-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(30, 138, 226, 0.5);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
  .navbar {
    padding: 1rem 2rem;
  }
  
  .feature-container {
    gap: 3rem;
  }
  
  /* Cartes pricing: défilement horizontal sur tablette */
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .pricing-grid::-webkit-scrollbar {
    height: 8px;
  }
  
  .pricing-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }
  
  .pricing-grid::-webkit-scrollbar-thumb {
    background: var(--color-plan);
    border-radius: 10px;
  }
  
  .pricing-card {
    min-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-logo {
    order: 1;
  }
  
  .mobile-menu-toggle {
    order: 2;
    display: block !important;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
  }
  
  .nav-menu {
    order: 3;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    display: none;
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu.mobile-open {
    display: flex;
  }
  
  .nav-link {
    padding: 1rem;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .hero-section {
    padding: 6rem 1rem 3rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .feature-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Inverser l'ordre sur mobile: contenu d'abord, image après */
  .feature-left .feature-container,
  .feature-right .feature-container {
    display: flex;
    flex-direction: column;
  }
  
  .feature-left .feature-content,
  .feature-right .feature-content {
    order: 1;
  }
  
  .feature-left .feature-image,
  .feature-right .feature-image {
    order: 2;
  }
  
  .feature-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  /* Cartes pricing: défilement horizontal sur mobile */
  .pricing-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .pricing-grid::-webkit-scrollbar {
    height: 8px;
  }
  
  .pricing-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }
  
  .pricing-grid::-webkit-scrollbar-thumb {
    background: var(--color-plan);
    border-radius: 10px;
  }
  
  .pricing-card {
    min-width: calc(100vw - 3rem);
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  /* Réduire la section évaluation sur mobile */
  .evaluation-container {
    padding: 1.5rem 1rem;
  }
  
  .evaluation-container h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }
  
  .evaluation-container p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .evaluation-form label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }
  
  .evaluation-form input {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .btn-calculate {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .resultat-item h4 {
    font-size: 0.85rem;
  }
  
  .resultat-item .value {
    font-size: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .resultat-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .evaluation-form-2cols {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  /* Formulaire de souscription: champs pleine largeur sur mobile */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  
  .form-grid input,
  .form-grid select {
    width: 100%;
  }
  
  /* Titre "À propos": retour à la ligne sur mobile */
  .break-mobile {
    display: block;
  }
  
  .about-text h3 {
    text-align: center;
  }
  
  .about-values {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .evaluation-container,
  .contact-form,
  .subscription-form {
    padding: 1.5rem;
  }
  
  .pricing-card {
    padding: 1.5rem;
  }
  
  .btn-top {
    width: 45px;
    height: 45px;
    bottom: 1rem;
    right: 1rem;
  }
  
  .navbar {
    padding: 0.75rem;
  }
  
  .nav-logo .logo {
    height: 40px;
  }
  
  .hero-description {
    font-size: 0.95rem;
    padding: 1rem;
  }
}

/* =====================================================
   ANIMATIONS SUPPLÉMENTAIRES
   ===================================================== */

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.feature-image:hover img {
  animation: float 3s ease-in-out infinite;
}

/* =====================================================
   DARK MODE SUPPORT (optionnel)
   ===================================================== */

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg-dark: rgba(0, 0, 0, 0.95);
    --color-bg-light: rgba(255, 255, 255, 0.03);
  }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */

@media print {
  .navbar,
  .btn-top,
  .scroll-progress {
    display: none !important;
  }
  
  .hero-section,
  .feature-section,
  .pricing-section,
  .about-section,
  .contact-section,
  .subscription-section {
    page-break-inside: avoid;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* =====================================================
   FOCUS VISIBLE - ACCESSIBILITÉ
   ===================================================== */

*:focus-visible {
  outline: 3px solid var(--color-plan);
  outline-offset: 2px;
}

/* =====================================================
   SÉLECTION DE TEXTE PERSONNALISÉE
   ===================================================== */

::selection {
  background: var(--color-plan);
  color: white;
}

::-moz-selection {
  background: var(--color-plan);
  color: white;
}

/* =====================================================
   SCROLLBAR PERSONNALISÉE (Webkit)
   ===================================================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--color-plan), var(--color-pro));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-plan);
}

/* =====================================================
   LOADING SPINNER (optionnel pour forms)
   ===================================================== */

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* =====================================================
   NOTIFICATION DE SUCCÈS POUR SOUSCRIPTION
   ===================================================== */

.notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-overlay.show {
  opacity: 1;
}

.success-notification {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 2rem 3rem;
  border-radius: 15px;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.5) translateY(-50px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 10001;
  max-width: 90%;
}

.success-notification.show {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .success-notification {
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
  }
}

