/* ========================================
   VARIABLES ET RESET
   ======================================== */

:root {
  /* Couleurs CHR */
  --chr-primary: #003366;
  --chr-secondary: #34495e;
  --chr-button: #003366;
  --chr-button-hover: #0a3d70;

  /* Couleurs Retail */
  --retail-primary: #e67e22;
  --retail-secondary: #d35400;
  --retail-button: beige;
  --retail-button-hover: rgb(207, 207, 177);

  /* Couleurs générales */
  --navy-dark: #1a2332;
  --navy-medium: #2c3e50;
  --white: #ffffff;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-lighter: rgba(255, 255, 255, 0.7);

  /* Typographie */
  --font-main: "Montserrat", sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ========================================
   HEADER - BANNIÈRE SUPÉRIEURE
   ======================================== */

.top-banner {
  background: var(--chr-primary);
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.main-question {
  flex: 1;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--white);
}

/* ========================================
   MAIN CONTAINER - SECTIONS PRINCIPALES
   ======================================== */

.main-container {
  display: flex;
  min-height: calc(100vh - 200px);
  position: relative;
}

.section_main {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  margin-top: 0px;
  margin-bottom: 0px;
}

.section_main:hover {
  transform: scale(1.02);
}

/* Overlay pour assombrir les images de fond */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Section CHR */
.chr-section {
  background-color: var(--chr-primary);
  background-image: linear-gradient(
    135deg,
    var(--chr-primary) 0%,
    var(--chr-secondary) 100%
  );
  background-image: url("../../assets/img/chr.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

.chr-section .overlay {
  background: rgba(44, 62, 80, 0.6);
}

/* Section Retail */
.retail-section {
  background-color: var(--retail-primary);
  background-image: linear-gradient(
    135deg,
    var(--retail-primary) 0%,
    var(--retail-secondary) 100%
  );
  background-image: url("../../assets/img/retail.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

.retail-section .overlay {
  background: rgba(241, 198, 160, 0.6);
}

/* Contenu des sections */
.content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 500px;
}

/* ========================================
   ICÔNES
   ======================================== */

.icon-container {
  margin-bottom: 2rem;
}

.icon {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========================================
   TYPOGRAPHIE DES SECTIONS
   ======================================== */

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  letter-spacing: 1px;
}

.section-description {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  color: var(--text-lighter);
  line-height: 1.6;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   BOUTONS CTA
   ======================================== */

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-chr {
  background: var(--chr-button);
}

.cta-chr:hover {
  background: var(--chr-button-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.cta-retail {
  background: var(--retail-button);
  color: var(--chr-button);
}

.cta-retail:hover {
  background: var(--retail-button-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  transform: translateX(5px);
}

/* ========================================
   SÉPARATEUR CENTRAL
   ======================================== */

.separator {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.separator-line {
  width: 2px;
  height: 150px;
  background: rgba(255, 255, 255, 0.4);
}

.separator-badge {
  background: var(--white);
  color: var(--navy-dark);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablettes */
@media (max-width: 1024px) {
  .main-question {
    font-size: 1.4rem;
  }

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

  .separator {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .top-banner {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .main-question {
    font-size: 1.2rem;
  }

  .main-container {
    flex-direction: column;
  }

  .section {
    min-height: 60vh;
  }

  .section:hover {
    transform: none;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .top-banner {
    padding: 1rem;
  }

  .logo {
    height: 40px;
  }

  .main-question {
    font-size: 1rem;
  }

  .section {
    padding: 2rem 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .icon {
    width: 60px;
    height: 60px;
  }

  .cta-button {
    padding: 0.9rem 1.5rem;
    font-size: 0.85rem;
  }
}
