/*
Theme Name: Light by CMC Agency
Theme URI: https://cmc-agency.me
Author: CMC AGENCY
Author URI: https://cmc-agency.me
Description: Light est un thème sur-mesure ultra minimaliste.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: light
Tags: light, minimal, blog
*/
/* Styles généraux */
body {
    margin: 0 !important;
}

.hide , .hidden {display:none!important}



:root {
  /* COULEURS */
  --primary: #002366; /* Bleu Roi Sombre (Royal Blue) */
  --primary-dark: #001540; /* Version plus sombre pour hover/footer */
  --accent: #C5A059; /* Un doré subtil pour accompagner le bleu roi (optionnel) */
  --text: #333333;
  --text-light: #777777;
  --bg-light: #F9F9F9;
  --white: #FFFFFF;
  
  /* SPACING */
  --container-width: 1280px;
  --header-height: 80px;
}

/* RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif; /* Police très clean */
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px); /* Effet moderne de verre */
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.container-header {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo-img {
  max-height: 50px; /* Ajuster selon la forme du logo */
  width: auto;
}

/* NAVIGATION DESKTOP */
.main-navigation ul {
  display: flex;
  gap: 30px;
}

.main-navigation a {
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  position: relative;
}

/* Animation soulignement moderne */
.main-navigation a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

/* ACTIONS (PANIER/USER) */
.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.icon-link {
  font-size: 1.2rem;
  color: var(--primary);
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* HAMBURGER (Mobile) */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 0px 0 20px;
  margin-top: 50px;
}

.container-footer {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Grille moderne */
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  filter: brightness(0) invert(1); /* Rend le logo blanc automatiquement */
  max-height: 40px;
  margin-bottom: 20px;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #cccccc;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 5px; /* Petit mouvement au hover */
}

/* Newsletter Input */
.newsletter-form {
  display: flex;
  margin-top: 15px;
}
.newsletter-form input {
  padding: 10px;
  border: none;
  width: 100%;
  background: rgba(255,255,255,0.1);
  color: white;
}
.newsletter-form button {
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 0 15px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}
.newsletter-form button:hover {
  background: #ddd;
}

.social-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .container-footer {
      grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  
  /* Menu Mobile Slide-in */
  .main-navigation {
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      height: 100vh;
      background: var(--white);
      padding: 100px 30px;
      transition: 0.4s ease;
      box-shadow: 5px 0 15px rgba(0,0,0,0.1);
      z-index: 999;
  }
  
  .main-navigation.active {
      left: 0;
  }

  .main-navigation ul {
      flex-direction: column;
  }

  .container-footer {
      grid-template-columns: 1fr;
      text-align: center;
  }
  
  .footer-logo { margin: 0 auto 20px; display: block; }
  .social-links { justify-content: center; }
}


/* =========================================
   STYLE SPECIFIQUE FRONT-PAGE (MODERNE)
   ========================================= */

/* --- GENERAL UTILS --- */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
  color: var(--primary);
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--primary); /* Bleu Roi */
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  border-radius: 50px; /* Pill shape Apple style */
  transition: all 0.3s ease;
  border: 1px solid var(--primary);
}

/* Boutons invisibles par défaut, animés par GSAP */
.hero-section .btn-primary {
  opacity: 0;
  transform: translateY(20px);
}

.cta-wrapper .btn-secondary {
  opacity: 0;
  transform: translateY(30px);
}

.final-cta-section .btn-primary {
  opacity: 0;
  transform: translateY(40px);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border: 1px solid #ddd;
  background: #f5f5f7;
}

.btn-secondary:hover {
  background: #e5e5e5;
  color: var(--black);
}

/* --- 1. HERO SECTION --- */
.hero-section {
  height: 80vh;
  width: 100%;
  background-color: #f5f5f7; /* Gris très clair Apple */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
  position: relative;
}

/* Overlay noir */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Overlay noir semi-transparent */
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  padding: 20px;
  opacity: 0; /* Géré par GSAP */
  position: relative;
  z-index: 2; /* Au-dessus de l'overlay */
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff; /* Blanc */
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #ffffff; /* Blanc */
  margin-bottom: 2.5rem;
}

.scroll-indicator {
  margin-top: 60px;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  color: #ffffff; /* Blanc pour contraste */
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(10px);}
  60% {transform: translateY(5px);}
}

/* --- 2. MANIFESTO --- */
.manifesto-section {
  padding: 120px 20px;
  text-align: center;
  background: white;
}

.container-text {
  max-width: 700px;
  margin: 0 auto;
}

.manifesto-body p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: #1d1d1f;
}

/* --- 2.5. MENTIONS LEGALES --- */
.mentions-legales-section {
  padding: 80px 20px;
  text-align: center;
  background: white;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1d1d1f;
  font-weight: 300;
}

.legal-content {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  color: #1d1d1f;
  font-weight: 600;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #3d3d3d;
}

.legal-content p strong {
  font-weight: 600;
  color: #1d1d1f;
}

.legal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  text-align: left;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: #3d3d3d;
}

.legal-content em {
  font-style: italic;
  color: #666;
}

/* --- 2.6. CONDITIONS GÉNÉRALES DE VENTE --- */
.cgv-section {
  padding: 80px 20px;
  text-align: center;
  background: white;
}

/* --- 2.7. CONDITIONS GÉNÉRALES D'UTILISATION --- */
.cgu-section {
  padding: 80px 20px;
  text-align: center;
  background: white;
}

/* --- 2.8. LIVRAISON --- */
/* Hero réduit pour la page livraison */
.hero-small {
  height: 50vh !important;
}

/* AVANTAGES LIVRAISON */
.avantages-livraison {
  padding: 80px 20px;
  background: #f8f9fa;
  text-align: center;
}

.avantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.avantage-item {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.avantage-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1d1d1f, #4a90e2);
}

.avantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.avantage-icon {
  font-size: 2.5rem;
  color: #1d1d1f;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.avantage-item:nth-child(1) .avantage-icon {
  color: #4CAF50;
}

.avantage-item:nth-child(2) .avantage-icon {
  color: #2196F3;
}

.avantage-item:nth-child(3) .avantage-icon {
  color: #FF9800;
}

.avantage-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1d1d1f;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.avantage-item p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* DÉTAILS EXPÉDITION */
.details-expedition {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.expedition-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.expedition-text h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  margin-top: 30px;
  color: #1d1d1f;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.expedition-text h3:first-child {
  margin-top: 0;
}

.expedition-text h3 i {
  color: #1d1d1f;
  font-size: 1.2rem;
  min-width: 20px;
}

.expedition-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  padding-left: 32px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-small {
    height: 40vh !important;
  }

  .avantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

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

  .avantage-item {
    padding: 30px 20px;
  }

  .expedition-text h3 {
    font-size: 1.2rem;
  }

  .expedition-text p {
    padding-left: 28px;
  }
}

/* --- 3 & 5. SPLIT SECTIONS --- */
.split-section {
  display: flex;
  width: 100%;
  min-height: 60vh; /* Grande hauteur */
  overflow: hidden;
}

.split-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
}

.split-content.bg-light { background: #fbfbfb; }
.split-content.bg-grey { background: #f5f5f7; }

.split-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #1d1d1f;
  line-height: 1.2;
}

.split-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease; /* Effet zoom lent */
}

.feature-list {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
}
.feature-list li { margin-bottom: 10px; }

/* --- 4. FLIP CARDS (Complexe) --- */
.features-grid-section {
  padding: 100px 5%;
  background: white;
}

.section-header-center {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* Collées comme sur le croquis */
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* La mécanique du FLIP */
.flip-card {
  background-color: transparent;
  height: 600px; /* Hauteur fixe imposante */
  perspective: 1000px; /* Nécessaire pour l'effet 3D */
  border-right: 1px solid #eee;
  cursor: pointer;
}
.flip-card:last-child { border-right: none; }

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

/* Le trigger du hover */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centré verticalement */
  align-items: center;
}

/* FRONT STYLE */
.flip-card-front {
  background-color: white;
  color: black;
}

.flip-card-front img {
  width: 80%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  margin-top: 20px;
}

.card-header {
  position: absolute;
  top: 40px;
  width: 100%;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* BACK STYLE */
.flip-card-back {
  background-color: var(--primary); /* Bleu roi au dos */
  color: white;
  transform: rotateY(180deg);
  padding: 40px;
  text-align: left;
}

.flip-card-back h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 10px;
  width: 100%;
}

.flip-card-back p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- 6. ZOOM IMAGE --- */
.full-image-section {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-image-wrapper {
  position: absolute;
  z-index: 1;
}

.parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-overlay-title {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  padding: 20px 40px;
  font-size: 2rem;
  font-weight: 600;
}


.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
  float: left;
  width: 100%!important;
}

/* --- 7. LIFESTYLE --- */
.lifestyle-section {
  text-align: center;
  padding: 100px 0 0; /* Pas de padding bas car image collée */
}
.lifestyle-content h2 {
  font-size: 3rem;
  margin-bottom: 40px;
}

/* CARROUSEL LIFESTYLE */
.lifestyle-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 90vh;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Indicateurs du carrousel */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

.indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* --- 8. CTA & REVIEWS --- */
.cta-reviews-section {
  background-color: #f5f5f7;
  padding: 80px 20px;
  text-align: center;
}

.cta-wrapper { margin-bottom: 80px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.review-item {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.review-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  background: #000; /* Placeholder noir comme sur croquis */
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #444;
}

.review-author {
  font-weight: 700;
  font-size: 0.9rem;
}

/* --- 9. FINAL CTA --- */
.final-cta-section {
  padding: 150px 20px;
  text-align: center;
  background: white;
}
.final-cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}
.btn-large {
  padding: 20px 60px;
  font-size: 1.1rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .features-container { grid-template-columns: 1fr; }
  .flip-card { height: 400px; border-right: none; border-bottom: 1px solid #eee; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .split-section { flex-direction: column; }
  .reverse-mobile { flex-direction: column-reverse; } /* Image slip au dessus texte */
  .hero-title { font-size: 2.5rem; }
  .split-content { padding: 40px 20px; }
  .page-title-section h1 { font-size: 2.5rem; }
}

/* =========================================
   STYLE SPECIFIQUE PAGES LEGALES
   ========================================= */

.page-title-section {
  padding: calc(var(--header-height) + 60px) 20px 60px;
  text-align: center;
  background: white;
}

.page-title-section h1 {
  font-size: 3rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

/* =========================================
   STYLE SPECIFIQUE PAGE MON COMPTE
   ========================================= */

/* --- SECTION LOGIN (DÉCONNECTÉ) --- */
.account-login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--header-height);
}

.account-login-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Overlay sombre pour améliorer la lisibilité */
  z-index: 1;
}

.account-login-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
}

.login-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.account-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.account-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.login-forms-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.login-form-container,
.register-form-container {
  text-align: left;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

/* Formulaires */
.login-form,
.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}

.input-text {
  padding: 15px 20px;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
}

.input-text:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 35, 102, 0.1);
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.form-row-submit {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
}

.lost-password {
  text-align: center;
  margin-top: 15px;
}

.lost-password a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.lost-password a:hover {
  text-decoration: underline;
}

/* --- SECTION DASHBOARD (CONNECTÉ) --- */
.account-dashboard-section {
  padding: 100px 20px 80px;
  background: var(--bg-light);
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
}

.account-dashboard-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 50px;
}

.dashboard-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.dashboard-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Navigation du compte */
.account-navigation {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.account-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-nav-item {
  flex: 1;
  min-width: 150px;
}

.account-nav-link {
  display: block;
  padding: 15px 20px;
  background: var(--bg-light);
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.account-nav-link:hover,
.account-nav-item.is-active .account-nav-link {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,35,102,0.2);
}

/* Contenu du dashboard */
.account-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.account-content {
  background: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Vue d'ensemble du dashboard */
.dashboard-overview {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 25px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0,35,102,0.2);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2rem;
  opacity: 0.9;
}

.stat-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  margin-bottom: 5px;
}

.stat-content p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

/* Actions rapides */
.quick-actions h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #e1e1e1;
}

.action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,35,102,0.15);
  border-color: var(--primary);
}

.action-card i {
  font-size: 1.5rem;
  color: var(--primary);
}

.action-card span {
  font-weight: 500;
  text-align: center;
  font-size: 0.9rem;
}

/* Sidebar */
.account-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-card {
  background: var(--white);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.sidebar-card h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 10px;
}

.customer-info p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text);
}

.customer-info strong {
  color: var(--primary);
}

.support-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: var(--bg-light);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.support-link:hover {
  background: var(--primary);
  color: var(--white);
}

.support-link i {
  font-size: 1rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .login-forms-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .account-nav-list {
    flex-direction: column;
  }

  .account-nav-item {
    min-width: auto;
  }

  .account-content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

@media (max-width: 768px) {
  .login-container {
    padding: 30px 20px;
    margin: 20px;
  }

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

  .account-login-section,
  .account-dashboard-section {
    padding: 20px;
  }

  .account-dashboard-container {
    padding: 0;
  }

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

  .account-navigation {
    padding: 20px;
  }

  .account-content {
    padding: 20px;
  }

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

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

  .stat-card {
    padding: 20px;
  }

  .sidebar-card {
    padding: 20px;
  }
}

/* === MON COMPTE - STYLES === */

/* Onglets */
.account-tabs {
  display: flex;
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-button {
  flex: 1;
  padding: 18px 30px;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.tab-button i {
  font-size: 1.1rem;
}

.tab-button:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.tab-button.active {
  background: var(--primary);
  color: var(--white);
}

.tab-button.active:hover {
  background: var(--primary-dark);
}

/* États des formulaires */
.account-form {
  display: none;
}

.account-form.active {
  display: block;
}

/* Section Utilisateur Déconnecté */
.account-hero-section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
}

.account-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 35, 102, 0.7); /* Overlay bleu roi semi-transparent */
  z-index: 1;
}

.account-hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  text-align: center;
}

.account-login-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  max-width: 1000px;
  margin: 0 auto;
}

.account-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.account-subtitle {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 50px;
  opacity: 0.8;
}

.account-forms-container {
  max-width: 500px;
  margin: 0 auto;
}

/* Séparateur désactivé avec les onglets
.account-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.account-separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0e0;
}

.account-separator span {
  background: rgba(255, 255, 255, 0.95);
  padding: 0 20px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
*/

.account-form h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.account-form p {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.account-form .form-row {
  margin-bottom: 20px;
  text-align: left;
}

.account-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}

.account-form .input-text {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.account-form .input-text:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 35, 102, 0.1);
}

.account-form .woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.account-form .woocommerce-form__input-checkbox {
  width: auto !important;
  margin: 0;
}

.lost-password {
  text-align: center;
  margin-top: 20px;
}

.lost-password a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.lost-password a:hover {
  color: var(--primary-dark);
}

/* États des champs de formulaire */
.input-text.field-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.field-error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  font-weight: 500;
  display: block;
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  margin-right: 8px;
  vertical-align: middle;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Animation des erreurs */
.error-animation {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Section Utilisateur Connecté */
.account-dashboard-section {
  padding: 100px 0 80px;
  background: var(--bg-light);
  min-height: 100vh;
}

.container-account {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 60px;
}

.dashboard-header h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -1px;
}

.welcome-message {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}

/* Sidebar */
.dashboard-sidebar {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  overflow: hidden;
}

.account-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-navigation li {
  border-bottom: 1px solid #f0f0f0;
}

.account-navigation li:last-child {
  border-bottom: none;
}

.account-navigation a {
  display: block;
  padding: 20px 30px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.account-navigation a:hover {
  background: var(--bg-light);
  padding-left: 40px;
}

.account-navigation a.active {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

/* Content */
.dashboard-content {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  overflow: hidden;
}

.dashboard-panel {
  display: none;
  padding: 50px;
}

.dashboard-panel.active {
  display: block;
}

.dashboard-panel h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 30px;
  font-weight: 600;
}

/* Stats Cards */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.stat-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.stat-info h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Quick Actions */
.quick-actions h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 600;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.action-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}

.action-card:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.action-card i {
  font-size: 1.5rem;
  color: var(--primary);
}

.action-card:hover i {
  color: var(--white);
}

.action-card span {
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .account-tabs {
    margin-bottom: 30px;
  }

  .tab-button {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

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

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .account-hero-section {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 80px;
  }

  .account-login-wrapper {
    padding: 40px 30px;
  }

  .account-tabs {
    margin-bottom: 25px;
  }

  .tab-button {
    padding: 12px 15px;
    font-size: 0.85rem;
  }

  .tab-button i {
    font-size: 1rem;
  }

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

  .dashboard-panel {
    padding: 30px 20px;
  }

  .account-navigation a {
    padding: 15px 20px;
  }

  .stat-card {
    padding: 20px;
  }

  .action-card {
    padding: 15px;
  }
}