/* ==============================
   5F - Société Magasin Les Cinq Frères
   Global Styles
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Raleway:wght@400;600;700;800&display=swap');

:root {
  --navy:       #1B4E7A;
  --navy-dark:  #122F4B;
  --navy-light: #2A6CA8;
  --teal:       #2BBEC8;
  --teal-dark:  #1A99A3;
  --teal-light: #5DD4DC;
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #EEF2F7;
  --gray-200:   #D9E2EC;
  --gray-400:   #9BAFC5;
  --gray-600:   #5A7A9A;
  --gray-800:   #2D3E50;
  --error:      #E53E3E;
  --success:    #2F855A;
  --shadow-sm:  0 2px 8px rgba(27,78,122,.10);
  --shadow-md:  0 6px 24px rgba(27,78,122,.15);
  --shadow-lg:  0 16px 48px rgba(27,78,122,.20);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Anti-glissement horizontal — mobile uniquement, ne touche pas le bureau */
@media (max-width: 900px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
  }
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- Utility ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: .5rem;
}
.section-subtitle {
  color: var(--gray-600);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 3rem;
}
.tag {
  display: inline-block;
  background: rgba(43,190,200,.12);
  color: var(--teal-dark);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: .75rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--navy-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(43,190,200,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43,190,200,.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ============================== NAVBAR ============================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo-text .brand, .nav-logo-text .sub { white-space: nowrap; }
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 46px; width: auto; border-radius: 6px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text .brand { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1rem; color: var(--navy-dark); }
.nav-logo-text .sub   { font-size: .72rem; color: var(--teal-dark); font-weight: 500; letter-spacing: .04em; }
.navbar:not(.scrolled) .brand,
.navbar:not(.scrolled) .sub { color: var(--white); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--gray-800); transition: color var(--transition); white-space: nowrap; }
.nav-links a:hover { color: var(--teal-dark); }
.navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,.9); }
.navbar:not(.scrolled) .nav-links a:hover { color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 9px 22px; font-size: .88rem; white-space: nowrap; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--gray-100); }
.navbar:not(.scrolled) .btn-ghost { color: rgba(255,255,255,.9); }
.navbar:not(.scrolled) .btn-ghost:hover { background: rgba(255,255,255,.15); color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy-dark); border-radius: 2px; transition: var(--transition); }
.navbar:not(.scrolled) .hamburger span { background: var(--white); }

/* ============================== HERO ============================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--teal-dark) 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-shape {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 120px;
  background: var(--gray-50);
  clip-path: ellipse(56% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}
.hero-left { color: var(--white); }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--teal-light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}
.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title span { color: var(--teal-light); }
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-family: 'Raleway', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--teal-light); line-height: 1; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 2px; }

.hero-right { position: relative; }
.hero-card-main {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
}
.hero-card-main h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; }
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.product-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.product-item:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.product-item { cursor: pointer; }
.product-item .icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--teal), rgba(43,190,200,.3));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.product-item .name { font-size: .82rem; font-weight: 500; line-height: 1.3; }

.hero-badge {
  position: absolute;
  top: -20px; right: -20px;
  background: linear-gradient(135deg, var(--teal), var(--navy-light));
  color: var(--white);
  border-radius: 50%;
  width: 90px; height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  font-size: .7rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  animation: float 3s ease-in-out infinite;
}
.hero-badge strong { font-size: 1.2rem; line-height: 1; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================== ABOUT ============================== */
.about { padding: 100px 0; background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap {
  background: linear-gradient(135deg, var(--navy-dark), var(--teal-dark));
  border-radius: var(--radius-lg);
  padding: 3px;
  box-shadow: var(--shadow-lg);
}
.about-img-inner {
  background: linear-gradient(145deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: calc(var(--radius-lg) - 2px);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-img-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.about-icon-center {
  font-size: 5rem;
  opacity: .85;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.2));
  position: relative;
  z-index: 1;
}
.about-card-float {
  position: absolute;
  bottom: 20px; right: -30px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}
.about-card-float .icon { font-size: 1.8rem; }
.about-card-float .label { font-size: .78rem; color: var(--gray-600); }
.about-card-float .value { font-size: 1rem; font-weight: 700; color: var(--navy-dark); }

.about-text h2 { text-align: left; margin-bottom: 1rem; }
.about-text .section-subtitle { text-align: left; margin: 0 0 2rem; }
.about-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 2.5rem; }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(43,190,200,.15), rgba(27,78,122,.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature-item h4 { font-size: .95rem; font-weight: 600; color: var(--navy-dark); margin-bottom: 2px; }
.feature-item p  { font-size: .85rem; color: var(--gray-600); line-height: 1.5; }

/* ============================== PRODUCTS ============================== */
.products { padding: 100px 0; background: var(--gray-50); }
.products .section-header { text-align: center; margin-bottom: 4rem; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--navy-light));
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card:hover::before { opacity: 1; }
.product-card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(43,190,200,.12), rgba(27,78,122,.08));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.product-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 10px; }
.product-card p  { font-size: .88rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tags span {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 50px;
}

/* ============================== WHY US ============================== */
.why-us {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--teal-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,.7); }
.why-us .section-header { text-align: center; position: relative; z-index: 1; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.why-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); }
.why-card .icon { font-size: 2.4rem; margin-bottom: 16px; }
.why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p  { font-size: .84rem; color: rgba(255,255,255,.7); line-height: 1.6; }

/* ============================== CONTACT BANNER ============================== */
.contact-banner { padding: 80px 0; background: var(--white); }
.banner-inner {
  background: linear-gradient(135deg, rgba(43,190,200,.08), rgba(27,78,122,.06));
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.banner-inner h2 { font-family: 'Raleway', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--navy-dark); margin-bottom: .5rem; }
.banner-inner p  { color: var(--gray-600); font-size: .95rem; }
.banner-btns { display: flex; gap: 14px; flex-shrink: 0; }

/* ============================== FOOTER ============================== */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 44px; border-radius: 6px; }
.footer-brand .brand-name { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1rem; color: var(--white); }
.footer-brand .brand-name span { color: var(--teal-light); display: block; font-size: .75rem; font-weight: 500; letter-spacing: .06em; }
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: .9rem; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--teal);
}
.footer-col a { display: block; font-size: .85rem; margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--teal-light); }
.contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; font-size: .85rem; }
.contact-item span { color: var(--teal-light); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
}
.footer-bottom a { color: var(--teal-light); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--teal); color: var(--white); }

/* ============================== AUTH PAGES ============================== */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 50%, var(--teal-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.auth-left .store-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .18;
  z-index: 0;
}
.auth-left::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.auth-left-logo { position: relative; z-index: 1; margin-bottom: 48px; display: flex; align-items: center; gap: 14px; }
.auth-left-logo img { height: 52px; border-radius: 8px; }
.auth-left-logo .brand { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--white); line-height: 1.2; }
.auth-left-logo .sub  { font-size: .75rem; color: var(--teal-light); letter-spacing: .06em; }
.auth-left-content { position: relative; z-index: 1; color: var(--white); }
.auth-left-content h2 { font-family: 'Raleway', sans-serif; font-size: 2rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.3; }
.auth-left-content h2 span { color: var(--teal-light); }
.auth-left-content p { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.7; margin-bottom: 2.5rem; }
.auth-features { display: flex; flex-direction: column; gap: 16px; }
.auth-feature { display: flex; gap: 14px; align-items: center; }
.auth-feature .icon-wrap {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.auth-feature .text strong { display: block; font-size: .9rem; font-weight: 600; color: var(--white); }
.auth-feature .text span   { font-size: .8rem; color: rgba(255,255,255,.6); }

.auth-right {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  overflow-y: auto;
}
.auth-form-wrap { width: 100%; max-width: 460px; }
.auth-form-wrap .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-600);
  font-size: .85rem;
  margin-bottom: 32px;
  transition: color var(--transition);
}
.auth-form-wrap .back-link:hover { color: var(--navy); }
.form-header { margin-bottom: 28px; }
.form-header h1 { font-family: 'Raleway', sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--navy-dark); margin-bottom: .4rem; }
.form-header p   { color: var(--gray-600); font-size: .9rem; }

/* Role Selector */
.role-selector { display: flex; gap: 10px; margin-bottom: 28px; }
.role-btn {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
}
.role-btn .role-icon { font-size: 1.4rem; }
.role-btn .role-name  { font-size: .82rem; font-weight: 600; color: var(--gray-800); }
.role-btn .role-desc  { font-size: .72rem; color: var(--gray-600); text-align: center; }
.role-btn.active, .role-btn:hover {
  border-color: var(--teal);
  background: rgba(43,190,200,.06);
}
.role-btn.active .role-name { color: var(--teal-dark); }

/* Form Fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.input-wrap { position: relative; }
.input-wrap .input-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 1rem;
  pointer-events: none;
}
.input-wrap input,
.input-wrap select {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.input-wrap input:focus,
.input-wrap select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43,190,200,.15); }
.input-wrap input.error { border-color: var(--error); }
.input-wrap .toggle-pass {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--gray-400);
  font-size: 1rem;
  user-select: none;
}
.field-error { color: var(--error); font-size: .75rem; margin-top: 5px; display: none; }
.field-error.show { display: block; }

/* Password Strength */
.password-strength { margin-top: 8px; }
.strength-bar { display: flex; gap: 4px; margin-bottom: 4px; }
.strength-bar span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--gray-200);
  transition: var(--transition);
}
.strength-label { font-size: .73rem; color: var(--gray-600); }

/* Divider */
.form-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.form-divider span { font-size: .8rem; color: var(--gray-400); white-space: nowrap; }

/* Submit */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--teal), var(--navy-light));
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(43,190,200,.3);
  position: relative;
  overflow: hidden;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(43,190,200,.4); }
.btn-submit:active { transform: translateY(0); }
.btn-submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
}
.btn-submit.loading .btn-text { opacity: 0; }
.btn-submit.loading .spinner { display: block; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.form-footer { text-align: center; margin-top: 20px; font-size: .85rem; color: var(--gray-600); }
.form-footer a { color: var(--teal-dark); font-weight: 600; }
.form-footer a:hover { text-decoration: underline; }

/* Alert */
.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .85rem;
  margin-bottom: 20px;
  display: none;
}
.form-alert.show { display: flex; align-items: center; gap: 8px; }
.form-alert.error  { background: rgba(229,62,62,.08); border: 1px solid rgba(229,62,62,.25); color: var(--error); }
.form-alert.success{ background: rgba(47,133,90,.08); border: 1px solid rgba(47,133,90,.25); color: var(--success); }

/* Checkbox */
.checkbox-wrap { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.checkbox-wrap input[type=checkbox] { margin-top: 2px; accent-color: var(--teal); width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.checkbox-wrap label { font-size: .83rem; color: var(--gray-600); cursor: pointer; line-height: 1.5; }
.checkbox-wrap label a { color: var(--teal-dark); font-weight: 500; }

/* ============================== TOAST ============================== */
.toast-container { position: fixed; top: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  animation: slideIn .3s ease;
  border-left: 4px solid var(--teal);
}
.toast.error { border-color: var(--error); }
.toast.success { border-color: var(--success); }
.toast .t-icon { font-size: 1.2rem; }
.toast .t-text strong { display: block; font-size: .88rem; font-weight: 600; color: var(--gray-800); }
.toast .t-text span   { font-size: .8rem; color: var(--gray-600); }
.toast .t-close { margin-left: auto; cursor: pointer; color: var(--gray-400); font-size: 1rem; }
@keyframes slideIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding: 100px 24px 60px; }
  .hero-right { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { display: block; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .store-locations-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .store-images-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 1400px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .auth-right { padding: 32px 24px; }
  .banner-inner { flex-direction: column; text-align: center; }
  .banner-btns { width: 100%; justify-content: center; flex-wrap: wrap; }
  .banner-btns .btn { width: 100%; justify-content: center; }
}

/* Boutons flottants : trop nombreux sur petit ecran, ils recouvrent le contenu */
@media (max-width: 600px) {
  #fabIg, #fabFb { display: none; }
  #fabSocial { bottom: 20px; right: 16px; gap: 8px; }
  .fab-btn { width: 42px; height: 42px; }
  #backToTop { bottom: 20px; right: 70px; width: 38px; height: 38px; }
  #fabCatalogue { bottom: 20px; left: 16px; padding: 12px !important; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(18,47,75,.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.mobile-menu-close { position: absolute; top: 24px; right: 24px; font-size: 1.8rem; color: var(--white); cursor: pointer; }
