/* ============================================================
   SECTIONS: HOW, COUPONS, SAVINGS, STORES
   ============================================================ */

/* ---- DISCOVER SECTION (NEW) ---- */
.discover-section {
  padding: 96px 72px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%);
  position: relative;
  overflow: hidden;
}

.discover-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.discover-h2 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0;
}

.discover-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
}

.discover-card {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  padding: 40px;
  border: 1.5px solid rgba(255, 255, 255, .95);
  box-shadow: 0 8px 32px rgba(13, 31, 45, .08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.discover-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 32px 64px rgba(13, 31, 45, .25);
  border-color: rgba(75, 174, 212, .3);
}

.discover-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 28px 28px 0 0;
}

.discover-card.d-disc::before {
  background: #44bdac;
}

.discover-card.d-fid::before {
  background: #1a4672;
}

.discover-card.d-grp::before {
  background: #f19078;
}

.discover-card.d-tamp::before {
  background: #ad8ef7;
}

.disc-visual {
  position: relative;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.disc-icon-bg {
  font-size: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.disc-tag {
  background: var(--sky-deep);
  color: var(--teal);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.disc-content {
  flex: 1;
}

.disc-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px 0;
}

.disc-content p {
  font-size: 14px;
  color: var(--txt2);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* --- La Carte Glassmorphism & Neumorphism --- */
.muvr-cta-card {
  position: relative;
  width: 100%;
  max-width: 600px;
  padding: 70px 50px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    25px 25px 50px rgba(0, 0, 0, 0.07),
    -10px -10px 30px rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.muvr-cta-card:hover {
  transform: translateY(-10px) scale(1.02);
}

@media (max-width: 960px) {
  .muvr-cta-card {
    top: 0;
    transform: none;
    padding: 40px 30px;
  }

  .muvr-cta-card:hover {
    transform: translateY(-5px) scale(1.01);
  }
}

/* --- Badge "Urgence" --- */
.cta-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- Le Texte --- */
.cta-lead {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 40px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--teal), var(--azure));
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* --- Le Bouton "Claymorphic" Ultra-Cliquable --- */
.muvr-btn-shiny {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--teal), var(--azure));
  color: white;
  text-decoration: none;
  padding: 28px 50px;
  border-radius: 28px;
  font-size: 24px;
  font-weight: 900;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* L'ombre de "profondeur" */
  box-shadow:
    0 15px 30px rgba(43, 137, 138, 0.3),
    inset 0 -4px 8px rgba(0, 0, 0, 0.2),
    inset 0 4px 8px rgba(255, 255, 255, 0.3);
}

.muvr-btn-shiny:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(43, 137, 138, 0.4);
}

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

/* --- L'Effet de Brillance (Shimmer) --- */
.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transform: skewX(-20deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  30% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.cta-footer {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.disc-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.3px;
}

/* ---- HOW SECTION COMPACT ---- */
/* 
  How Section Slider - Fullwidth horizontal slides
  4 étapes avec navigation fluide
*/

.how-section-slider {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 48px;
}

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

.how-badge {
  background: var(--teal);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 16px;
}

.how-main-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 16px 0;
  line-height: 1.1;
}

.how-step-counter {
  font-size: 14px;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.how-slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  overflow: hidden;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .how-slider-container {
    height: auto;
    min-height: 500px;
  }

  .muvr-btn-shiny {
    padding: 20px 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .how-slider-container {
    height: auto;
    min-height: 450px;
  }
}

.how-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s cubic-bezier(0.35, 0.46, 0.45, 0.94);
}

.how-slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  z-index: 10;
}

.how-slide.prev {
  transform: translateX(-100%);
}

.slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
  height: 100%;
}

/* Slide left content */
.slide-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.slide-step-badge {
  font-size: 80px;
  font-weight: 900;
  color: var(--teal);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -20px;
}

.slide-title {
  font-size: 56px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  margin: 0;
}

.slide-subtitle {
  font-size: 20px;
  color: #666;
  margin: 0;
  font-weight: 500;
}

.slide-features {
  list-style: none;
  margin: 24px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slide-features li {
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}

.slide-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.price-box {
  background: white;
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.price-box.highlight {
  background: linear-gradient(135deg, var(--teal), #5AB4E3);
  border-color: var(--teal);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(42, 157, 143, 0.2);
}

.price-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.price-box.highlight .price-label {
  color: rgba(255, 255, 255, 0.9);
}

.price-value {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.price-period {
  font-size: 13px;
  opacity: 0.7;
}

/* Slide right content */
.slide-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-phone-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 8px solid #1a1a1a;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 24px 24px;
  z-index: 10;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 11;
}

.phone-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f4f8, #ffffff);
  border-radius: 32px;
  padding: 48px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto;
  color: var(--ink);
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 20;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--teal);
  color: var(--teal);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.15);
}

.slider-arrow:hover {
  background: var(--teal);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(42, 157, 143, 0.25);
}

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

.slider-dots {
  display: flex;
  gap: 12px;
}

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

.dot.active {
  background: var(--teal);
  width: 32px;
  border-radius: 6px;
}

.dot:hover {
  background: var(--teal);
  opacity: 0.8;
}

/* Animation flottement image mockup */
@keyframes floatMockup {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-14px); }
  100% { transform: translateY(0px); }
}

.floating-mockup {
  animation: floatMockup 4s ease-in-out infinite;
  filter: drop-shadow(0 24px 32px rgba(43, 137, 138, 0.18));
}

/* Animations d'entrée */
.how-slide.active .slide-left {
  animation: slideInLeft 0.8s cubic-bezier(0.35, 0.46, 0.45, 0.94) 0.1s both;
}

.how-slide.active .slide-right {
  animation: slideInRight 0.8s cubic-bezier(0.35, 0.46, 0.45, 0.94) 0.2s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .how-section-slider {
    min-height: 100vh;
    padding: 60px 24px;
  }

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

  .how-main-title {
    font-size: 40px;
  }

  .phone-frame {
    width: 220px;
    height: 440px;
  }

  .slider-nav {
    bottom: 24px;
    gap: 16px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .how-section-slider {
    min-height: 100vh;
    padding: 40px 16px;
  }

  .slide-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .how-main-title {
    font-size: 32px;
  }

  .step-title-text {
    font-size: 24px;
  }

  .step-description {
    font-size: 14px;
  }

  .phone-frame {
    width: 180px;
    height: 360px;
    border-radius: 30px;
  }

  .slider-nav {
    gap: 12px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

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

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


.how-section-compact{
  padding: 96px 72px;
  background: linear-gradient(180deg, var(--sky-deep) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.how-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.how-inner .section-tag {
  text-align: center;
  display: block;
  margin-bottom: 16px;
}

.how-inner .how-h2 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
  text-align: center;
  margin-bottom: 12px;
}

.how-sub {
  text-align: center;
  color: var(--txt2);
  font-size: 14px;
  margin-bottom: 56px;
}

.how-steps-premium {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-behavior: smooth;
}

.how-steps-premium::-webkit-scrollbar {
  height: 6px;
}

.how-steps-premium::-webkit-scrollbar-track {
  background: var(--sky);
  border-radius: 10px;
}

.how-steps-premium::-webkit-scrollbar-thumb {
  background: var(--teal-light);
  border-radius: 10px;
}

/* NOUVEAU: TABS SYSTEM */
.how-steps-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.hw-tab-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(224, 245, 252, .5) 100%);
  border: 1.5px solid rgba(75, 174, 212, .15);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.hw-tab-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--azure) 100%);
}

.hwt-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  transition: all 0.35s ease;
}

.hwt-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hwt-num-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: white;
  border-radius: 14px;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(43, 137, 138, .2);
}

.hwt-icon-box {
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .08));
  opacity: 0.8;
  transition: opacity 0.35s ease;
}

.hw-tab-item.active .hwt-icon-box {
  opacity: 1;
  filter: drop-shadow(0 6px 12px rgba(75, 174, 212, .2));
}

.hwt-title-wrap {
  text-align: left;
}

.hwt-title-wrap h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.hwt-title-wrap p {
  font-size: 13px;
  color: var(--txt2);
  margin: 0;
  font-weight: 500;
}

.hwt-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(75, 174, 212, .1);
  color: var(--teal);
  border-radius: 12px;
  font-size: 24px;
  font-weight: 300;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.hw-tab-item.active .hwt-toggle {
  background: rgba(239, 68, 68, .15);
  color: #ef4444;
  transform: rotate(45deg);
}

.hwt-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hw-tab-item.active .hwt-content {
  max-height: 200px;
  opacity: 1;
}

.hwt-content-inner {
  display: grid;
  gap: 12px;
  padding: 0 32px 28px 32px;
  border-top: 1px solid rgba(75, 174, 212, .1);
  padding-top: 20px;
}

.hwt-detail-item {
  font-size: 14px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.35s ease forwards;
}

.hwt-detail-item:nth-child(2) {
  animation-delay: 0.05s;
}

.hwt-detail-item:nth-child(3) {
  animation-delay: 0.1s;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hw-tab-item:hover:not(.active) {
  border-color: rgba(75, 174, 212, .2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(224, 245, 252, .7) 100%);
}

.hw-tab-item.active {
  border-color: rgba(75, 174, 212, .25);
  box-shadow: 0 12px 32px rgba(75, 174, 212, .12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(224, 245, 252, .9) 100%);
}

/* Responsive */
@media (max-width: 960px) {
  .how-section-compact {
    padding: 72px 48px;
  }

  .hwt-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding: 24px 24px;
  }

  .hwt-num-box {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .hwt-icon-box {
    font-size: 32px;
    height: 42px;
  }

  .discover-section {
    padding: 72px 32px;
  }

  .discover-h2 {
    font-size: 36px;
  }

  .discover-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .how-section-compact {
    padding: 64px 24px;
  }

  .how-inner .how-h2 {
    font-size: 32px;
  }

  .hwt-header {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 20px 16px;
  }

  .hwt-title-wrap h4 {
    font-size: 16px;
  }

  .hwt-toggle {
    width: 36px;
    height: 36px;
  }

  .discover-section {
    padding: 64px 20px;
  }

  .discover-h2 {
    font-size: 28px;
  }

  .discover-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hwt-num-box {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .hwt-icon-box {
    font-size: 28px;
    height: 38px;
  }

  .hwt-content-inner {
    padding: 0 16px 20px 16px;
  }
}

/* ---- How Section --- */
.how-section {
  padding: 96px 72px;
  background: linear-gradient(180deg, var(--sky-deep) 50%, var(--white) 100%);
  position: relative;
}

.how-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43, 137, 138, .2), transparent);
}

/* --- Header & Badge --- */
/* --- Conteneur Principal --- */
.how-section-slider {
    display: flex;
    flex-direction: column;
    align-items: center;    
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--sky-deep) 0%, var(--white) 100%);
    text-align: center;
}

.how-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 2px solid var(--teal);
    border-radius: 100px;
    color: var(--teal);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 20px;
}

.how-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
}

.how-step-counter {
    font-size: 14px;
    color: #99abb0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Grid Layout --- */
.slide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    text-align: left;
}

/* --- Left Content --- */
.title-with-num {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.step-circle {
    width: 45px;
    height: 45px;
    background: var(--teal);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.step-title-text {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
}

.step-description {
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 30px;
    max-width: 400px;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 5px solid var(--teal);
}

.feature-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-line:last-child { margin-bottom: 0; }

.feature-dot {
    width: 12px;
    height: 12px;
    background: var(--teal);
    border-radius: 50%;
}

.feature-line p {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

/* --- Right Content (Pricing) --- */
.slide-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-card {
    position: relative;
    padding: 30px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    min-width: 300px;
}

.pricing-card.annual {
    background: var(--teal);
    color: white;
}

.pricing-card.monthly {
    background: var(--white);
    color: var(--ink);
}

.reco-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ff7e5f;
    color: white;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
}

.plan-label { font-size: 16px; font-weight: 600; opacity: 0.9; }
.plan-price { font-size: 42px; font-weight: 900; margin: 5px 0; }
.plan-info { font-size: 14px; opacity: 0.8; }

/* --- Pagination --- */
.how-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.pag-dot {
    width: 12px;
    height: 12px;
    background: #d1dadd;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.pag-dot.active {
    width: 30px;
    border-radius: 10px;
    background: var(--teal);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .slide-grid { 
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
        height: 100%;
    }
    .how-main-title { font-size: 24px; }
    .step-title-text { font-size: 26px; font-weight: 900; }
    .step-description { font-size: 17px; line-height: 1.5; }
    .feature-line p { font-size: 17px; }
    .pricing-card { min-width: auto; }
}

@media (max-width: 480px) {
    .slide-grid {
        padding: 0 12px;
        gap: 20px;
        height: 100%;
    }
    .how-section-slider {
        padding: 60px 16px;
    }
    .step-title-text { font-size: 22px; font-weight: 900; }
    .step-description { font-size: 16px; line-height: 1.5; }
    .feature-box { padding: 20px; }
    .feature-line { gap: 12px; }
    .feature-line p { font-size: 16px; }
    .pricing-card { padding: 20px; min-width: auto; }
    .plan-price { font-size: 32px; }
    .plan-label { font-size: 14px; }
    .plan-info { font-size: 12px; }
}

.section-tag {
  display: inline-block;
  font-size: 25px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 5px solid var(--teal);
  border-radius: 80px;
}

.section-h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.8px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-h2 .hl {
  color: var(--teal);
}

.section-sub {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
  color: var(--txt2);
  line-height: 1.7;
  max-width: 520px;
}

.section-head {
  margin-bottom: 56px;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.how-step {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(43, 137, 138, .08);
  transition: none;
  cursor: default;
  box-shadow: 0 2px 8px rgba(13, 31, 45, .06);
}

.how-step:nth-child(even) {
  grid-column: 2;
}

.how-step:nth-child(odd) {
  grid-column: 1;
}

.how-step:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(13, 31, 45, .06);
  border-color: rgba(43, 137, 138, .1);
}

.how-step-num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(43, 137, 138, .1);
  line-height: 1;
  margin-bottom: 10px;
}

.how-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: var(--clay-teal);
}

.how-step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.how-step-desc {
  font-size: 13px;
  color: var(--txt2);
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.6;
}

.how-connector {
  position: absolute;
  top: 44px;
  right: -10px;
  width: 20px;
  height: 2px;
  background: var(--teal-light);
  z-index: 10;
  display: none;
}

.how-step:last-child .how-connector {
  display: none;
}

/* ---- Coupons Section ---- */
.coupons-section {
  padding: 96px 72px;
  background: var(--sky-deep);
  position: relative;
  overflow: hidden;
}

.coupons-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-top: 56px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.coupon-card {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 32px 26px;
  border: 1.5px solid rgba(255, 255, 255, .9);
  box-shadow: var(--clay-pure);
  transition: none;
  position: relative;
  overflow: hidden;
}

.coupon-card.dec {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  padding: 40px 32px;
}

.coupon-card.fid {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.coupon-card.grp {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.coupon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 24px 24px 0 0;
}

.coupon-card.dec::before {
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
}

.coupon-card.fid::before {
  background: linear-gradient(90deg, var(--ink), var(--azure));
}

.coupon-card.grp::before {
  background: linear-gradient(90deg, var(--warm), #F5B87F);
}

.coupon-card:hover {
  transform: none;
  box-shadow: var(--clay-pure);
}

.cc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}

.ic-dec {
  background: linear-gradient(135deg, var(--teal-light), #9FE5DF);
}

.ic-fid {
  background: linear-gradient(135deg, #B8E4F5, #A8C8E8);
}

.ic-grp {
  background: linear-gradient(135deg, #FFE0D4, #F5C4B0);
}

.cc-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.cc-badge.dec {
  background: rgba(43, 137, 138, .12);
  color: var(--teal);
}

.cc-badge.fid {
  background: rgba(13, 31, 45, .1);
  color: var(--ink);
}

.cc-badge.grp {
  background: rgba(240, 168, 104, .12);
  color: var(--warm);
}

.cc-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.cc-desc {
  font-size: 14px;
  color: var(--txt2);
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.6;
}

/* ---- Savings Section ---- */
.savings-section {
  padding: 96px 72px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow-x: hidden;
}

.savings-header {
  text-align: center;
  margin-bottom: 0;
}

/* --- La nouvelle grille pour séparer Texte / Téléphone --- */
.savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50% gauche, 50% droite */
  gap: 60px;
  align-items: center; /* Centre le téléphone par rapport au texte */
  max-width: 1200px;
  margin: 0 auto; /* Centre le bloc sur les grands écrans */
}

/* --- Le bloc de gauche --- */
.sav-left {
  display: flex;
  flex-direction: column; /* Règle le problème du sous-titre à droite ! */
}

.sav-left .section-h2 {
  margin-bottom: 24px;
  font-size: clamp(32px, 4vw, 48px);
}

.sav-left .section-sub {
  margin-bottom: 40px;
  max-width: 100%;
}

.sav-stats {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Les 4 petites cartes restent en grille */
  gap: 24px;
  margin-top: 0;
}

.sav-stat {
  background: linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(224, 245, 252, .5) 100%);
  border-radius: 24px;
  padding: 28px;
  border: 1.5px solid rgba(43, 137, 138, .12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  transition: all 0.3s ease;
}

.sav-stat:hover {
  border-color: rgba(43, 137, 138, .25);
  box-shadow: 0 8px 24px rgba(43, 137, 138, .1);
}

.sav-stat-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}

.sav-stat-desc {
  font-size: 14px;
  color: var(--txt2);
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.5;
}

.sav-phone-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  margin-top: 40px;
  overflow: hidden;
}

.sav-phone-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.1));
}

/* Responsive - Savings Section */
@media (max-width: 1024px) {
  .savings-section {
    padding: 80px 48px;
  }

  /* On passe la grille en 1 seule colonne sur tablette/mobile */
  .savings-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sav-phone-wrap {
    justify-content: center;
  }

  .sav-phone-img {
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  .savings-section {
    padding: 60px 24px;
    gap: 40px;
  }

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

  .sav-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sav-stat {
    padding: 24px;
  }

  .sav-stat-title {
    font-size: 16px;
  }

  .sav-phone-img {
    max-width: 90%;
    width: 90%;
  }
}

@media (max-width: 480px) {
  .savings-section {
    padding: 48px 16px;
  }

  .section-tag {
    font-size: 12px;
    padding: 6px 16px;
  }

  .sav-left .section-h2 {
    font-size: 24px;
  }

  .sav-left .section-sub {
    font-size: 14px;
  }

  .sav-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sav-stat {
    padding: 20px;
  }

  .sav-stat-title {
    font-size: 15px;
  }

  .sav-stat-desc {
    font-size: 13px;
  }

  .sav-phone-img {
    max-width: 240px;
  }
}

.ss-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ss-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.ss-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.ss-name {
  font-size: 9px;
  font-weight: 800;
  color: var(--ink);
}

.ss-badge {
  background: var(--green);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
}

.ss-saved {
  background: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ss-saved-lbl {
  font-size: 8px;
  color: var(--txt2);
  font-family: 'Nunito Sans', sans-serif;
}

.ss-saved-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--teal);
}

.ss-menu-item {
  background: rgba(255, 255, 255, .7);
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-mi-icon {
  font-size: 13px;
}

.ss-mi-text {
  font-size: 8px;
  font-weight: 700;
  color: var(--ink);
}

.ss-mi-arrow {
  margin-left: auto;
  font-size: 9px;
  color: var(--txt3);
}

.sav-chip {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: var(--clay-float);
}

.sav-chip-1 {
  top: 40px;
  right: -20px;
  animation: fb-float 4s ease-in-out infinite;
}

.sav-chip-2 {
  bottom: 60px;
  left: -30px;
  animation: fb-float 5s ease-in-out infinite .7s;
}

/* ---- Manifesto Section ---- */
.manifesto-section {
  padding: 60px 72px 80px;
  background: linear-gradient(135deg, var(--ink) 0%, #1a2d3d 50%, #0d1f2d 100%);
  position: relative;
  overflow: visible;
  text-align: center;
}

.manifesto-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(75, 174, 212, .12) 0%, transparent 70%);
}

.manifesto-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
}

.manifesto-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.manifesto-h2 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.8px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.manifesto-h2 .hl {
  color: var(--azure);
}

.manifesto-text {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ---- Stores Section ---- */
.stores-section {
  padding: 80px 72px;
  background: linear-gradient(135deg, var(--ink) 0%, #1a3a4d 50%, #254560 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  margin-top: -60px;
  padding-top: 140px;
}

.stores-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 0%, rgba(75, 174, 212, .18) 0%, transparent 60%);
}

.stores-inner {
  position: relative;
  z-index: 2;
}

.stores-h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.stores-h2 .hl {
  color: var(--azure);
}

.stores-sub {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.stores-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 11px 20px;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: 'Nunito', sans-serif;
  transition: all .22s;
  box-shadow: var(--clay-navy);
}

.store-btn:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--clay-teal-hover);
}

.store-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}

.store-btn-lg {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, .2);
  color: #fff;
  padding: 16px 28px;
  border-radius: 18px;
  cursor: pointer;
  border-width: 1.5px;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
  transition: all .22s;
  box-shadow: inset 3px 3px 9px rgba(255, 255, 255, .18), inset -3px -3px 9px rgba(255, 255, 255, .03), 0 8px 28px rgba(16, 35, 55, .45);
}

.store-btn-lg:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--clay-teal-hover);
}

.store-btn-lg svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  flex-shrink: 0;
}

.store-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.store-cta-text {
  color: var(--teal-light);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  max-width: 520px;
}

/* --- STYLE DU BOUTON CTA --- */
.store-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 44px;
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: 'Nunito', sans-serif;
  box-shadow: var(--clay-teal);
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  min-width: 30vw;
}

.store-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--clay-teal-hover);
  background: var(--teal-light);
}

.sb-label {
  font-size: 11px;
  opacity: .65;
  line-height: 1;
}

.sb-name {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

@media (max-width: 960px) {
  .how-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .how-step:nth-child(even),
  .how-step:nth-child(odd) {
    grid-column: 1;
  }

  .coupons-grid {
    grid-template-columns: 1fr;
  }

  .coupon-card.dec,
  .coupon-card.fid,
  .coupon-card.grp {
    grid-column: 1;
    grid-row: auto;
  }

  .savings-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 28px;
  }

  .manifesto-section {
    padding: 80px 28px;
  }

  .how-section,
  .coupons-section,
  .stores-section,
  .pricing-section {
    padding: 64px 28px;
  }
}

/* ============================================================
   ESTABLISHMENTS (COMING SOON) PAGE
   ============================================================ */

.establishments-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-deep) 100%);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.establishments-container::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(75, 174, 212, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.establishments-container::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(43, 137, 138, 0.08);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
  animation: float 8s ease-in-out infinite;
}

.establishments-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
}

.establishments-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 24px;
  line-height: 1.2;
  font-family: 'Nunito', sans-serif;
}

.establishments-subtitle {
  font-size: 1.5rem;
  color: var(--teal);
  font-weight: 600;
  margin: 0;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.5px;
}

@media (max-width: 960px) {
  .establishments-title {
    font-size: 2.5rem;
  }

  .establishments-subtitle {
    font-size: 1.2rem;
  }
}

/* ============================================================
   ERROR PAGES (4xx & 5xx)
   ============================================================ */

.error-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  font-family: 'Nunito', sans-serif;
}

/* Base styling for all error pages */
.error-container::before,
.error-container::after {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 0;
}

.error-container::before {
  content: '';
  width: 500px;
  height: 500px;
  top: -150px;
  right: -150px;
  animation-duration: 7s;
}

.error-container::after {
  content: '';
  width: 350px;
  height: 350px;
  bottom: -100px;
  left: -100px;
  animation-duration: 9s;
  animation-delay: 1s;
}

.error-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-content::before,
.error-content::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  animation: float 6.5s ease-in-out infinite;
  opacity: .45;
  background: rgba(255, 255, 255, 0.58);
}

.error-content::before {
  width: 260px;
  height: 260px;
  top: 20px;
  left: -140px;
  animation-duration: 8s;
}

.error-content::after {
  width: 180px;
  height: 180px;
  bottom: -90px;
  right: -120px;
  animation-duration: 7.5s;
  animation-delay: 0.6s;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  font-family: 'Nunito', sans-serif;
}

.error-title {
  font-size: 3rem;
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.2;
}

.error-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 40px;
  opacity: 0.9;
  max-width: 500px;
}

.error-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 44px;
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--clay-teal);
  transition: all 0.22s ease;
}

.error-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--clay-teal-hover);
  background: var(--teal-light);
}

/* Error 404 - Teal theme */
.error-404 {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-deep) 100%);
}

.error-404::before {
  background: rgba(75, 174, 212, 0.12);
}

.error-404::after {
  background: rgba(43, 137, 138, 0.1);
}

.error-404 .error-code {
  color: var(--teal);
}

.error-404 .error-title {
  color: var(--ink);
}

.error-404 .error-subtitle {
  color: var(--ink);
}

/* Error 400 - Amber theme */
.error-400 {
  background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
}

.error-400::before {
  background: rgba(251, 146, 60, 0.12);
}

.error-400::after {
  background: rgba(217, 119, 6, 0.1);
}

.error-400 .error-code {
  color: #f97316;
}

.error-400 .error-title {
  color: var(--ink);
}

.error-400 .error-subtitle {
  color: var(--ink);
}

.error-400 .error-cta-btn {
  background: #f97316;
  /* Effet Claymorphism : Ombre externe + Ombre interne claire (NW) + Ombre interne sombre (SE) */
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.35),
    inset 4px 4px 10px rgba(255, 255, 255, 0.4),
    inset -4px -4px 10px rgba(124, 45, 18, 0.3);
}

.error-400 .error-cta-btn:hover {
  background: #fb923c;
  box-shadow: 0 14px 36px rgba(249, 115, 22, 0.45),
    inset 4px 4px 10px rgba(255, 255, 255, 0.5),
    inset -4px -4px 10px rgba(124, 45, 18, 0.4);
}

/* Error 401 - Forest Green theme */
.error-401 {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.error-401::before {
  background: rgba(21, 128, 61, 0.08);
}

.error-401::after {
  background: rgba(22, 101, 52, 0.06);
}

.error-401 .error-code {
  color: #166534;
  /* Vert forêt profond */
}

.error-401 .error-title,
.error-401 .error-subtitle {
  color: var(--ink);
}

.error-401 .error-cta-btn {
  background: #15803d;
  box-shadow: 0 8px 28px rgba(21, 128, 61, 0.25),
    inset 4px 4px 10px rgba(255, 255, 255, 0.3),
    inset -4px -4px 10px rgba(20, 83, 45, 0.2);
}

.error-401 .error-cta-btn:hover {
  background: #166534;
  box-shadow: 0 14px 36px rgba(21, 128, 61, 0.35),
    inset 4px 4px 10px rgba(255, 255, 255, 0.4),
    inset -4px -4px 10px rgba(20, 83, 45, 0.3);
}

/* Error 403 - Red theme */
.error-403 {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.error-403::before {
  background: rgba(239, 68, 68, 0.12);
}

.error-403::after {
  background: rgba(220, 38, 38, 0.1);
}

.error-403 .error-code {
  color: #dc2626;
}

.error-403 .error-title {
  color: var(--ink);
}

.error-403 .error-subtitle {
  color: var(--ink);
}

.error-403 .error-cta-btn {
  background: #dc2626;
  box-shadow: 0 8px 28px rgba(220, 38, 38, 0.35),
    inset 4px 4px 10px rgba(255, 255, 255, 0.4),
    inset -4px -4px 10px rgba(127, 29, 29, 0.3);
}

.error-403 .error-cta-btn:hover {
  background: #ef4444;
  box-shadow: 0 14px 36px rgba(220, 38, 38, 0.45),
    inset 4px 4px 10px rgba(255, 255, 255, 0.5),
    inset -4px -4px 10px rgba(127, 29, 29, 0.4);
}

/* Error 500 - Purple theme */
.error-500 {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}

.error-500::before {
  background: rgba(168, 85, 247, 0.12);
}

.error-500::after {
  background: rgba(126, 34, 206, 0.1);
}

.error-500 .error-code {
  color: #a855f7;
}

.error-500 .error-title {
  color: var(--ink);
}

.error-500 .error-subtitle {
  color: var(--ink);
}

.error-500 .error-cta-btn {
  background: #a855f7;
  box-shadow: 0 8px 28px rgba(168, 85, 247, 0.35),
    inset 4px 4px 10px rgba(255, 255, 255, 0.4),
    inset -4px -4px 10px rgba(88, 28, 135, 0.3);
}

.error-500 .error-cta-btn:hover {
  background: #c084fc;
  box-shadow: 0 14px 36px rgba(168, 85, 247, 0.45),
    inset 4px 4px 10px rgba(255, 255, 255, 0.5),
    inset -4px -4px 10px rgba(88, 28, 135, 0.4);
}

/* Error 503 - Blue theme */
.error-503 {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.error-503::before {
  background: rgba(59, 130, 246, 0.12);
}

.error-503::after {
  background: rgba(37, 99, 235, 0.1);
}

.error-503 .error-code {
  color: #3b82f6;
}

.error-503 .error-title {
  color: var(--ink);
}

.error-503 .error-subtitle {
  color: var(--ink);
}

.error-503 .error-cta-btn {
  background: #3b82f6;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.35),
    inset 4px 4px 10px rgba(255, 255, 255, 0.4),
    inset -4px -4px 10px rgba(30, 66, 159, 0.3);
}

.error-503 .error-cta-btn:hover {
  background: #60a5fa;
  box-shadow: 0 14px 36px rgba(59, 130, 246, 0.45),
    inset 4px 4px 10px rgba(255, 255, 255, 0.5),
    inset -4px -4px 10px rgba(30, 66, 159, 0.4);
}

@media (max-width: 960px) {
  .error-code {
    font-size: 5rem;
  }

  .error-title {
    font-size: 2rem;
  }

  .error-subtitle {
    font-size: 1rem;
  }

  .error-container::before {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
  }

  .error-container::after {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -80px;
  }
}