/* Variables de couleur DEWE Home */
:root {
  --dewe-navy: #0A1F44;
  --dewe-gold: #C5A059;
  --dewe-bg-light: #F4F6F9;
}

/* ==========================================================================
   TABS STYLE
   ========================================================================== */
/* Texts Colors */
.text-navy{
  color: #0A1F44;
}

.text-gold{
  color: #C5A059;
}

/* Tabs Navigation */
.dewe-tabs-nav {
  display: flex;
  margin-bottom: -1px; 
  position: relative;
  z-index: 2;
}

.dewe-tab-btn {
  flex: 1;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-bottom: none;
  padding: 15px 20px;
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

/* Active Tab (Navy or Gold) */
.dewe-tab-btn.active {
  background-color: #ffffff;
  color: #0A1F44; /* Navy */
  border-top: 3px solid #C5A059; /* Gold */
  font-weight: 700;
}

/* Manage form display */
.dewe-tab-content {
  display: none;
  border-top-left-radius: 0 !important; /* to align tabs properly */
}

.dewe-tab-content.active {
  display: block;
}

/* ==========================================================================
   STEP PROCESS STYLE
   ========================================================================== */

/* Section Container */
.dewe-process-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #ffffff;
  box-sizing: border-box;
}

.dewe-steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

/* Base de chaque étape */
.dewe-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Cercles Extérieurs (Double Anneau) */
.step-circle-outer {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  background-color: #ffffff;
  box-sizing: border-box;
  z-index: 2; /* Reste au-dessus de la ligne */
}

/* Cercles Intérieurs */
.step-circle-inner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
  font-size: 18px;
  box-sizing: border-box;
}

/* --- STYLING SPECIFIQUE NAVY (Étapes 1, 2, 4) --- */
.step-navy .step-circle-outer {
  border: 2px solid #0A1F44;
}
.step-navy .step-circle-inner {
  background-color: #0A1F44;
  color: #ffffff;
}

/* --- STYLING SPECIFIQUE DORÉ (Étape 3) --- */
.step-gold .step-circle-outer {
  border: 2px solid #C5A059;
}
.step-gold .step-circle-inner {
  border: 2px solid #C5A059;
  background-color: #ffffff;
  color: #C5A059;
}

/* --- LIGNES DE CONNEXION (Pseudo-éléments) --- */
.dewe-step::after {
  content: "";
  position: absolute;
  height: 2px;
  top: 32px; /* Aligné au centre vertical du cercle */
  left: calc(50% + 32px); /* Part du bord droit du cercle */
  width: calc(100% - 64px); /* S'arrête au bord gauche du suivant */
  z-index: 1;
}

.line-green::after {
  background-color: #14532D; /* Vert forêt de la capture */
}

.line-gold::after {
  background-color: #C5A059; /* Doré de la capture */
}

/* Textes */
.step-title {
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 0 0 10px 0;
}

.step-desc {
  font-size: 13.5px;
  color: #aeb4b6;
  line-height: 1.6;
  margin: 0;
  max-width: 260px; /* Aligne proprement le texte en bloc central */
}

/* --- RESPONSIVE (Mobile) --- */
@media (max-width: 768px) {
  .dewe-steps-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .dewe-step {
    width: 100%;
    padding: 0;
  }
  
  /* Supprime les lignes horizontales sur mobile */
  .dewe-step::after {
    display: none;
  }
}


/* ==========================================================================
   FORMULAIRE : CODE PAYS + TÉLÉPHONE
   ========================================================================== */

.required {
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 16px;
  color: var(--dewe-gold);
}

.dewe-select {
  width: 100%;
  height: 50px;
  border: 1px solid #e2e8f0;
  padding: 0 15px;
  color: #4a5568;
  background-color: #fff;
  border-radius: 4px;
}

.field-label {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 5px;
  display: block;
  text-align: left;
}

.w-100 {
  width: 100%;
}

.dewe-phone-group {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

/* Le sélecteur du code pays */
.dewe-country-select {
  font-size: 12px;
  border: 1px solid rgba(10, 31, 68, 0.15) !important;
  border-right: none !important; /* Supprime la bordure séparatrice droite */
  border-radius: 6px 0 0 6px !important; /* Arrondit uniquement les coins gauches */
  background-color: rgba(10, 31, 68, 0.02) !important;
  height: auto !important;
  cursor: pointer;
}

.dewe-country-select:focus {
  border-color: var(--dewe-gold) !important;
  outline: none;
}

/* L'input du numéro à la suite */
.dewe-phone-input {
  border-radius: 0 6px 6px 0 !important; /* Arrondit uniquement les coins droits */
  border-left: 1px solid rgba(10, 31, 68, 0.15) !important; /* Assure une séparation propre */
}

.dewe-phone-input:focus {
  border: 2px solid blue;
  box-shadow: none;	
}

/* Ajustement visuel au focus global */
.dewe-phone-group:focus-within .dewe-country-select {
  border-color: blue !important;
}

.dewe-country-phone-code {
  font-size: 12px;
  padding: 14px;
  height: auto !important;
  border: 1px solid rgba(10, 31, 68, 0.15) !important;
  border-right: none !important; /* Supprime la bordure séparatrice droite */
  border-radius: 6px 0 0 6px !important; /* Arrondit uniquement les coins gauches */
  background-color: rgba(10, 31, 68, 0.02) !important;
}

/* Ajustement visuel au focus global */
.dewe-phone-group:focus-within .dewe-country-phone-code {
  border-color: blue !important;
}