
/* CSS de referance */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --teal:      #43adb1;
      --teal-lt:   #e6f7f6;
      --teal-md:   #99ddd9;
      --gold:      #d97706;
      --gold-lt:   #fef3c7;
      --dark:      #0f1f2e;
      --text:      #1e2d3a;
      --muted:     #637384;
      --border:    #e2eaef;
      --bg:        #ffffff;
      --bg-soft:   #f5f9f9;
      --green:     #059669;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /*  HEADER  */
    header {
      position: sticky;
      top: 18px;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 6%;
      height: 66px;
      background: rgba(255,255,255,.94);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
      width: 90%;
      height: 60px;
      max-width: 1024px;
      margin: 15px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: solid;
      border-width: 0px 0px 0.5px 0px;
      border-color: #f1f1f1;
      border-radius: 30px;
      box-shadow: 0px 4px 6px #00000030;
      padding: 0.5em 1em;
      background-color: #fff;
    }

    .logo {
      display: flex; align-items: center; gap: 10px;
      font-family: 'Sora', sans-serif;
      font-size: 1.25rem; font-weight: 700;
      color: var(--dark); text-decoration: none;
    }
    .logo-icon {
      width: 34px; height: 34px;
      border-radius: 9px;
      display: flex; align-items: center; justify-content: center;
    }
    .logo-icon img { width: 22px; height: 22px; object-fit: contain; }
    .logo-icon-text { font-size: .75rem; font-weight: 800; color: #fff; }
    .logo-icon img{ 
        height: 40px ;
        width: 40px ;
     }

    nav { display: flex; align-items: center; gap: 4px; }
    nav a {
      color: var(--muted);
      text-decoration: none; font-size: .9rem; font-weight: 400;
      padding: 6px 14px; border-radius: 8px;
      transition: color .18s, background .18s;
    }
    nav a:hover { color: var(--dark); background: var(--bg-soft); }

    .nav-cta {
      background: var(--teal) !important;
      color: #fff !important; font-weight: 600 !important;
      padding: 8px 20px !important; border-radius: 10px !important;
      margin-left: 8px;
    }
    .nav-cta:hover { opacity: .88 !important; background: var(--teal) !important; }

    /*  HERO  */
    .hero {
      min-height: 88vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 70px 6% 70px;
      background: linear-gradient(0deg, var(--bg), #fff 90%);
      position: relative;
      overflow: hidden;
    }

    /* subtle geometric bg pattern */
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .badge {
      display: inline-flex; align-items: center; gap: 8px;
      border-radius: 999px;
      padding: 6px 16px; font-size: .8rem;
      color: var(--teal); margin-bottom: 28px;
      font-weight: 500;
      animation: fadeUp .55s ease both;
      position: relative;
    }

    h1 {
      font-family: 'Sora', sans-serif;
      font-size: clamp(2.2rem, 5vw, 3.7rem);
      font-weight: 800; line-height: 1.13;
      color: var(--dark);
      max-width: 820px;
      animation: fadeUp .6s .08s ease both;
      position: relative;
    }
    h1 span.accent-blue {color: #03A9F4;}
    h1 span.accent-teal {color: #ff4364;}
    h1 span.accent-gold {color: #2acdc3;}

    .hero-sub {
      margin-top: 22px; max-width: 560px;
      color: var(--muted); font-size: 1rem; line-height: 1.78;
      animation: fadeUp .6s .16s ease both;
      position: relative;
    }

    .hero-actions {
      margin-top: 38px;
      display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
      animation: fadeUp .6s .24s ease both;
      position: relative;
    }

    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 12px 26px; border-radius: 10px;
      font-size: .93rem; font-weight: 600;
      cursor: pointer; text-decoration: none; transition: all .18s;
    }
    .btn-primary {
      background: var(--teal); color: #fff;
      box-shadow: 0 4px 18px rgba(13,148,136,.22);
    }
    .btn-primary:hover { background: #0a7a70; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(13,148,136,.3); }
    .btn-outline {
      background: #fff;
      border: 1.5px solid var(--border);
      color: var(--text);
      border-radius: 20px;
    }
    .btn-outline:hover { border-color: #b0bec5; transform: translateY(-1px); }

    /*  ECOSYSTEM PILLARS (hero bottom)  */
    .ecosystem-strip {
      margin-top: 68px;
      display: flex; gap: 0; flex-wrap: wrap; justify-content: center;
      padding-top: 40px;
      border-top: 1px solid var(--border);
      width: 100%; max-width: 860px;
      animation: fadeUp .6s .36s ease both;
      position: relative;
    }

    .eco-pillar {
      flex: 1; min-width: 160px;
      display: flex; flex-direction: column; align-items: center; gap: 10px;
      padding: 20px 24px;
      text-decoration: none;
      border-radius: 14px;
      transition: background .2s;
    }
    .eco-pillar:hover { background: var(--bg-soft); }

    .eco-pill {
      font-size: .67rem; letter-spacing: .08em; text-transform: uppercase;
      font-weight: 700; padding: 3px 10px; border-radius: 999px;
    }
    .pill-teal  {background: #ebf2ff;}
    .pill-gold  { background: var(--gold-lt); color: var(--gold); }
    .pill-slate {background: #fee8e9;color: #940d4a;}

    .eco-icon {
      width: 48px; height: 48px; border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.35rem;
    }
    .eco-icon img{
      width: 30px;  
    }
    .icon-teal  {background: #ebf2ff;}
    .icon-gold  { background: var(--gold-lt); }
    .icon-slate {background: #fee8e9;}

    .eco-pillar-name {
      font-family: 'Sora', sans-serif;
      font-size: .87rem; font-weight: 700; color: var(--dark);
      text-align: center;
    }
    .eco-pillar-desc {
      font-size: .76rem; color: var(--muted); text-align: center; line-height: 1.5;
    }

    .eco-divider {
      width: 1px; background: var(--border);
      align-self: stretch; margin: 16px 0;
    }

    /*  SECTION SHARED  */
    section {padding: 88px 6%;width: stretch;}
    .section-label {
      font-size: .72rem; font-weight: 700; letter-spacing: .14em;
      text-transform: uppercase; color: var(--teal);
      margin-bottom: 0;
    }
    .section-title {
      font-family: 'Sora', sans-serif;
      font-size: clamp(1.7rem, 3.2vw, 2.4rem);
      font-weight: 700; line-height: 1.22; color: var(--dark);
    }
    .section-sub {
      color: var(--muted); font-size: .97rem; line-height: 1.72;
      margin-top: 12px; max-width: 500px;
    }
    .section-header { margin-bottom: 52px; }

    .divider { border: none; border-top: 1px solid var(--border); margin: 0 6%; }
/*  STATS SECTION  */
.stats-section {
  padding: 96px 6%;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
}

/*  Header  */
.stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.stats-header .stats-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.stats-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 14px;
}

.stats-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.97rem;
  line-height: 1.72;
  max-width: 460px;
  margin: 0 auto;
}

/*  Grid  */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

/* Les deux grandes cartes occupent plus de place */
.stat-card--large {
  grid-column: span 2;
}

/* Ligne 1 : 3 colonnes — cards 1, 2, 3 */
/* Ligne 2 : on centre les 2 dernières cartes */
.stats-grid .stat-card:nth-child(4) {
  grid-column: 0 / 2;
}
.stats-grid .stat-card:nth-child(5) {grid-column: span 1;}

/*  Card  */
.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px 28px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.stat-card:hover {
  background: rgba(13, 148, 136, 0.08);
  border-color: rgba(13, 148, 136, 0.3);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 1.6rem;
  margin-bottom: 18px;
  display: block;
}

.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-plus {
  color: var(--teal);
  font-size: 0.7em;
  vertical-align: super;
}

.stat-label-card {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/*  RESPONSIVE  */

/* Tablette */
@media (max-width: 900px) {
  .stats-section {
    padding: 72px 6%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid .stat-card:nth-child(4) {
    grid-column: span 2;
  }

  .stats-grid .stat-card:nth-child(5) {
    grid-column: auto;
  }

  /* La 5e carte seule sur sa ligne : on la centre */
  .stats-grid .stat-card:nth-child(5) {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 580px) {
  .stats-section {
    padding: 60px 5%;
  }

  .stats-header {
    margin-bottom: 40px;
  }

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

  .stats-grid .stat-card:nth-child(5) {
    max-width: 100%;
    margin: 0;
    grid-column: span 2;
  }

  .stat-card {
    padding: 26px 22px;
    grid-column: span 2;
  }
}
    /*  SERVICES (Colabs Entreprises)  */
    #services { background: var(--bg-soft); 
                  --teal:      #118ee8;
                  --teal-lt:      #d0ebff;

    }

    .services-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
      flex-wrap: wrap;
    }
    .site-link {
      font-size: .78rem; color: var(--teal); font-weight: 500;
      text-decoration: none; display: flex; align-items: center; gap: 4px;
      border: 1px solid var(--teal); padding: 3px 10px; border-radius: 999px;
      transition: background .15s;
    }
    .site-link:hover { background: var(--teal-lt); }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 16px;
    }
    .services-grid a {
        text-decoration: none;
        color: currentColor;
    }

    .service-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px; padding: 28px;
      transition: transform .22s, box-shadow .22s;
    }
    .service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.06); }

    .service-icon {
      width: 46px; height: 46px; border-radius: 12px;
      background: var(--teal-lt);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.25rem; margin-bottom: 18px;
    }
    .service-card h3 {
      font-family: 'Sora', sans-serif;
      font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--dark);
    }
    .service-card p { color: var(--muted); font-size: .88rem; line-height: 1.65; }
    .service-tag {
      display: inline-block; margin-top: 16px;
      font-size: .72rem; color: var(--teal); font-weight: 600;
      background: var(--teal-lt); border-radius: 6px;
      padding: 3px 10px;
    }

    /*  FORMATION (Classe Passerelle)  */
    #formation { background: #fff; 
              --teal:      #0c9e95;
             

    }

    .formation-layout {
      display: flex;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
    }

    .course-stack { display: flex; flex-direction: column; gap: 12px; }
.course-stack a {
        text-decoration: none;
        color: currentColor;
    }
    .course-card {
      background: var(--bg-soft); border: 1px solid var(--border);
      border-radius: 12px; padding: 18px 20px;
      display: flex; align-items: center; gap: 14px;
      transition: border-color .18s, transform .18s;
    }
    .course-card:hover { border-color: var(--teal-md); transform: translateX(3px); }

    .course-info h4 { font-size: .87rem; font-weight: 600; color: var(--dark); }
    .course-info p  { font-size: .78rem; color: var(--muted); margin-top: 2px; }

    .course-badge {
      margin-left: auto; flex-shrink: 0;
      font-size: .7rem; font-weight: 600;
      padding: 3px 10px; border-radius: 999px;
    }
    .badge-new { background: #e6f9f1; color: var(--green); }
    .badge-pop { background: var(--teal-lt); color: var(--teal); }
    .badge-soon { background: var(--gold-lt); color: var(--gold); }

    .feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
    .feature-item { display: flex; align-items: flex-start; gap: 14px; }
    .feature-icon {
      width: 32px; height: 32px; border-radius: 8px;
      background: var(--teal-lt); flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: .82rem; margin-top: 2px;
    }
    .feature-text h4 { font-size: .9rem; font-weight: 500; color: var(--dark); }
    .feature-text p  { font-size: .82rem; color: var(--muted); margin-top: 2px; line-height: 1.5; }
    .formation-cta { margin-top: 34px; }

    /*  LAUNCHERS (Mise en relation influenceurs)  */
    #launchers { background: var(--bg-soft); 
    
      --teal:      #940d4a;
    }

    .launchers-layout {
      display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
    }

    .niches-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
    }

    .niche-card {
      background: #fff; border: 1px solid var(--border);
      border-radius: 12px; padding: 16px 14px;
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      transition: transform .22s, box-shadow .22s, border-color .22s;
    }
    .niche-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.06); border-color: var(--teal-md); }

    .niche-emoji { font-size: 1.3rem; }
    .niche-label { font-size: .75rem; font-weight: 600; color: var(--dark); }
    .niche-reach { font-size: .7rem; color: var(--teal); font-weight: 500; }

    .pricing-strip { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
    .price-badge {
      background: #fff; border: 1px solid var(--border);
      border-radius: 10px; padding: 10px 14px;
      display: flex; flex-direction: column; gap: 2px;
      flex: 1; min-width: 80px; text-align: center;
    }
    .price-badge .plan-name { font-size: .68rem; color: var(--muted); font-weight: 500; }
    .price-badge .plan-price { font-family: 'Sora', sans-serif; font-size: .9rem; font-weight: 700; color: var(--dark); }
    .price-badge.featured { border-color: var(--teal-md); background: var(--teal-lt); }
    .price-badge.featured .plan-price { color: var(--teal); }

    .steps { margin-top: 32px; display: flex; flex-direction: column; }
    .step { display: flex; gap: 16px; padding-bottom: 28px; position: relative; }
    .step:not(:last-child)::before {
      content: '';
      position: absolute; left: 16px; top: 38px; bottom: 0; width: 1px;
      background: var(--border);
    }
    .step-num {
      width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
      background: var(--teal); color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: .8rem; font-weight: 700;
    }
    .step-body h4 { font-size: .9rem; font-weight: 500; color: var(--dark); padding-top: 7px; }
    .step-body p  { font-size: .81rem; color: var(--muted); margin-top: 4px; line-height: 1.55; }

    /*  CTA BANNER  */
    .cta-banner {
      margin:88px 6%;
      background: linear-gradient(135deg, var(--dark) 0%, #163044 100%);
      border-radius: 20px; padding: 56px 52px;
      display: flex; align-items: center; justify-content: space-between;
      gap: 28px; flex-wrap: wrap;
      position: relative; overflow: hidden;
    }
    .cta-banner::after {
      content: '';
      position: absolute; right: -40px; top: -40px;
      width: 260px; height: 260px; border-radius: 50%;
      background: radial-gradient(circle, rgba(13,148,136,.18) 0%, transparent 70%);
      pointer-events: none;
    }
    .cta-text h2 {
      font-family: 'Sora', sans-serif;
      font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; color: #fff;
    }
    .cta-text p { color: rgba(255,255,255,.7); margin-top: 8px; font-size: .93rem; }
    .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
    .btn-white {
      background: #fff; color: var(--teal);
      box-shadow: 0 2px 10px rgba(0,0,0,.12);
    }
    .btn-white:hover { background: var(--teal-lt); transform: translateY(-1px); }
    .btn-ghost {
      background: rgba(255,255,255,.1); color: #fff;
      border: 1.5px solid rgba(255,255,255,.28);
    }
    .btn-ghost:hover { background: rgba(255,255,255,.18); }

    /*  FOOTER  */
    footer {
      border-top: 1px solid var(--border);
      padding: 52px 6% 32px;
      background: #fff;
    }
    .footer-grid {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px; margin-bottom: 44px;
    }
    .footer-brand p { color: var(--muted); font-size: .87rem; line-height: 1.7; margin-top: 12px; max-width: 250px; }
    .footer-col h4 { font-size: .83rem; font-weight: 600; margin-bottom: 14px; color: var(--dark); }
    .footer-col a {
      display: block; color: var(--muted); text-decoration: none;
      font-size: .84rem; margin-bottom: 9px; transition: color .15s;
    }
    .footer-col a:hover { color: var(--teal); }
    .footer-bottom {
      border-top: 1px solid var(--border); padding-top: 24px;
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom p { font-size: .8rem; color: var(--muted); }
    .socials { display: flex; gap: 8px; }
    .social-btn {
      width: 34px; height: 34px; border-radius: 8px;
      background: var(--bg-soft); border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      text-decoration: none; font-size: .82rem; color: var(--muted);
      transition: background .15s, color .15s, border-color .15s;
    }
    .social-btn:hover { background: var(--teal-lt); border-color: var(--teal-md); color: var(--teal); }

    /*  ANIMATIONS  */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.visible {opacity: 1;transform: translateY(0);}
    
    /*  RESPONSIVE  */
    @media (max-width: 900px) {
      .formation-layout, .launchers-layout {grid-template-columns: 1fr;flex-direction: column-reverse;align-items: stretch;}
      .footer-grid { grid-template-columns: 1fr 1fr; }
      nav a:not(.btn) { display: none; }
      .cta-banner { padding: 36px 28px; }
      .eco-divider { display: none; }
    }
    @media (max-width: 580px) {
      .footer-grid { grid-template-columns: 1fr; }
      .ecosystem-strip { gap: 0; }
      .niches-grid { grid-template-columns: 1fr 1fr; }
    }









    /*  POP-UP CONNEXION  */

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 31, 46, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-overlay.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.auth-overlay.active .auth-modal {
  transform: translateY(0) scale(1);
}

/* Close */
.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 0px solid var(--border);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.auth-close:hover {
  background: var(--teal-lt);
  color: var(--teal);
  border-color: var(--teal-md);
}

/* Logo */
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

/* Titles */
.auth-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.auth-sub {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 28px;
}

/* Error */
.auth-error {
  display: none;
  background: #fff0f3;
  border: 1px solid #ffc0cc;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.83rem;
  color: #c0143c;
  margin-bottom: 20px;
}

.auth-error.visible {
  display: block;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 13px;
  color: var(--muted);
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 11px 42px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--bg-soft);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}

.auth-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
  background: #fff;
}

.auth-input::placeholder {
  color: #b0bec5;
}

/* Toggle password */
.auth-eye {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s;
}

.auth-eye:hover {
  color: var(--teal);
}

/* Submit */
.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.22);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}

.auth-submit:hover {
  background: #0a7a70;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.3);
}

.auth-submit:active {
  transform: translateY(0);
}

/* Footer */
.auth-footer {
  text-align: center;
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 22px;
}

.auth-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-modal {
    padding: 32px 22px;
  }
}




/*  MODAL RTL (arabe)  */

[dir="rtl"] .auth-modal {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .auth-close {
  right: auto;
  left: 16px;
}

[dir="rtl"] .auth-logo {
  flex-direction: row-reverse;
}

[dir="rtl"] .auth-input-icon {
  left: auto;
  right: 13px;
}

[dir="rtl"] .auth-input {
  padding-left: 42px;
  padding-right: 42px;
}

[dir="rtl"] .auth-eye {
  right: auto;
  left: 12px;
}

[dir="rtl"] .auth-submit svg {
  transform: scaleX(-1);
}

[dir="rtl"] .auth-field {
  text-align: right;
}

[dir="rtl"] .auth-footer {
  direction: rtl;
}