/* --- Variables et Reset --- */
:root {
  --bg-color: #a4a4a4; /* Gris de fond */
  --text-color: #2c3e2e; /* Vert très foncé / Anthracite pour le texte */
  --accent-color: #ffffff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Helvetica", Arial, sans-serif; /* À adapter selon la typo exacte */
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

/* --- Header & Nav --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
}

.logo h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  line-height: 1;
}

.logo span {
  font-size: 0.9rem;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  font-size: 1.1rem;
  padding-bottom: 5px;
}

nav ul li a.active {
  border-bottom: 3px solid var(--text-color);
}

.cart-icon {
  position: relative;
  cursor: pointer;
}

#cartCount,
#cartCountMobile {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--text-color);
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 50%;
}

/* Style du lien parent */
.dropdown {
  position: relative;
}

/* Le menu caché par défaut */
.dropdown-menu {
  display: none; /* Cache le menu */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  list-style: none;
  min-width: 150px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
  border: 1px solid #ccc;
}

/* Affichage quand on ajoute la classe .show via JS */
.dropdown-menu.show {
  display: block;
}

.dropdown-menu li a {
  color: #2c3e2e;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 1.1rem;
  font-weight: normal; /* Différent du menu principal */
  text-align: left;
  border-bottom: none;
}

/* Effet au survol d'un item du menu */
.dropdown-menu li a:hover {
  background-color: #d1d1d1; /* Gris comme sur ta maquette */
  cursor: pointer;
}

/* --- Masquage Desktop / Affichage Burger --- */
/* --- Bouton Burger --- */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 2000;
}

.burger-menu span {
  width: 30px;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
}

/* --- Overlay Mobile --- */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color); /* Ton gris de fond */
  z-index: 3000;
  display: none; /* Caché par défaut */
  flex-direction: column;
  padding: 20px;
}

.mobile-overlay.active {
  display: flex;
}

.mobile-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-menu-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.nav-mobile ul {
  list-style: none;
  padding: 0;
}
.nav-mobile li {
  margin-bottom: 25px;
}
.nav-mobile a,
.dropdown-trigger {
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  text-transform: uppercase;
}

/* On s'assure que le dropdown mobile ne flotte pas */
.mobile-dropdown {
  display: block;
  width: 100%;
}

/* Le sous-menu : il est invisible et prend 0px de hauteur */
.mobile-submenu {
  display: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.5s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
  list-style: none;
  padding-left: 20px; /* Décalage pour l'esthétique */
  margin: 0;
}
/* La classe qui sera ajoutée en JS pour ouvrir */
.mobile-submenu.open {
  position: relative;
  display: flex;
  max-width: fit-content;
  max-height: max-content; /* Une valeur assez grande */
  opacity: 1;
  margin-top: 10px;
  margin-bottom: 15px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

/* Optionnel : style des liens pour qu'ils soient bien cliquables */
.mobile-submenu li a {
  display: block;
  padding: 10px 0;
  font-size: 1.1rem;
  color: #2c3e2e; /* Couleur un peu plus claire */
}

/* Rotation de la flèche */
.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.arrow.active {
  transform: rotate(180deg);
}
.mobile-submenu.show {
  display: block;
}
.mobile-submenu a {
  font-size: 1.1rem;
  text-transform: none;
}

.mobile-footer {
  margin-top: auto;
  padding-bottom: 40px;
}

.mobile-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.mobile-socials a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--text-color);
}

/* --- Media Queries --- */
@media (max-width: 768px) {
  .nav-desktop,
  .cart-icon.nav-desktop,
  .desktopCart,
  .language-switch {
    display: none !important;
  }
  /* 
  .mobileCart {
    display: block !important;
  } */
  .burger-menu {
    display: flex;
  }

  .is-active-Lang {
    display: flex !important;
    z-index: 2000 !important;
  }
}

.logoCart-icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 4rem 1rem;
}

.hero h2 {
  font-size: 4.5rem;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  line-height: 1.1;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  justify-content: center; /* Centre les liens horizontalement */
  gap: 20px; /* Espace entre Facebook et Instagram */
  margin-top: 15px; /* Espace sous le titre principal */
}

.social-links a {
  display: flex;
  align-items: center; /* Aligne verticalement l'icône et le texte */
  gap: 8px; /* Espace entre l'icône et le mot */
  text-decoration: none;
  color: #2c3e2e; /* Utilise la couleur sombre de ta charte */
  font-family: "Helvetica", sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

.social-links img {
  filter: grayscale(
    100%
  ); /* Optionnel : pour que les icônes soient noires/grises comme sur l'image */
}

/* --- Carrousel --- */
.carousel-container {
  width: 100%;
  overflow: hidden;
  margin-bottom: 3rem;
  position: relative;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content; /* S'adapte à la largeur cumulée des images */
  /* L'animation est gérée soit en JS soit en CSS Keyframes */
  animation: scroll 30s linear infinite;
}

.carousel-track img {
  height: 400px;
  width: max-content;
  flex-shrink: 0; /* Empêche les images de s'écraser */
  object-fit: cover;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
  border: solid black 1px;
}
.carousel-track img {
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* On ne va PAS à -100%. On va à -33.33% (la fin de la 1ère série sur 3) */
    /* C'est ce qui permet de reboucler AVANT que le vide n'apparaisse */
    transform: translateX(calc(-33.333% - 7px));
  }
}
.carousel-track:hover {
  animation-play-state: paused;
}

/* --- Boutons --- */
.btn-discover {
  display: inline-block;
  background: white;
  color: var(--text-color);
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.btn-discover:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* --- Modale Panier (Side Panel) --- */
.modal {
  position: fixed;
  top: 0;
  right: -100%; /* Caché par défaut */
  width: 400px;
  height: 100%;
  background: #2c3e2e; /* Fond foncé comme sur ta maquette */
  color: white;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transition: right 0.4s ease-in-out;
  z-index: 1000 !important;
}

.modal.active {
  right: 0;
}
#cartModal.active ~ #burgerBtn,
#cartModal.active ~ header #burgerBtn {
  display: none !important;
}
.modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.close-modal {
  font-size: 2rem;
  cursor: pointer;
  position: relative; /* ou absolute selon votre structure */
  z-index: 4000 !important; /* Doit être supérieur au z-index du panier */
  pointer-events: auto !important;
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 4px;

  /* Optionnel : pour que l'image soit bien centrée dans son carré */
  object-position: center;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px;
  border-radius: 5px;

  width: fit-content;
  margin-top: 8px;
}

.quantity-selector button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-weight: bold;

  font-size: 1.2rem;
  padding: 0 10px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-selector button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Le chiffre au milieu */
.qty-value {
  font-size: 0.9rem;
  font-weight: bold;
  min-width: 25px;
  text-align: center;
  color: white;
}

.cart-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.btn-command {
  width: 100%;
  padding: 15px;
  background: white;
  color: #2c3e2e;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
}

/* --- Switch Langue vertical --- */
.language-switch {
  position: fixed;
  left: 10px;
  top: 35%;
  transform: translateY(-50%);
  width: 40px;
  height: 120px; /* À ajuster selon la taille du texte */
  background-color: #f0f0f0;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  z-index: 100;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.lang-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.8rem;
  font-weight: bold;
  color: #334033; /* Vert foncé */
  user-select: none;
}
.lang-text#en {
  position: absolute;
  bottom: 17px;
}
.lang-text#fr {
  position: absolute;
  top: 17px;
}
/* La pastille qui bouge */
.lang-slider {
  position: absolute;
  left: 2px;
  top: 2px; /* Position initiale (Français en bas ou English en haut) */
  width: 36px;
  height: 77px;
  background-color: #334033; /* Couleur de la maquette */
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* État quand on switch en Anglais (Rouge + Déplacement) */
#slider-en {
  height: 77px;
  top: 34%;
}
.slider-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
}

/* État quand on passe en English (le slider monte) */
.language-switch.is-english .lang-slider {
  top: 60px; /* Ajuste selon la hauteur totale */
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
}

footer a {
  color: var(--text-color);
}

/*PAGE COLLECTIONS*/

.collection-header {
  text-align: center;
  padding: 60px 0;
}

.collection-header h2 {
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/*Prix Shooting grossesse*/
.service-card {
  background: rgb(164, 164, 165);
  /*border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
  padding: 2rem;

  width: 90%; /* Sécurité pour le mobile */
  max-width: 600px; /* Largeur maximale sur grand écran */
  margin: 0 auto 3rem auto;

  text-align: center;
  transition: transform 0.3s ease;
}
/* 
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
} */

.service-price {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
  color: var(--text-color); /* Ou ta couleur accent */
}

.btn-service {
  display: inline-block;
  padding: 1rem 2rem;
  background: #fff;
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  margin-top: 1.5rem;
  transition: opacity 0.2s;
}

.btn-service:hover {
  opacity: 0.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 40px 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* --- Style de la page Galerie --- */

.gallery-header {
  text-align: center;
  margin: 60px 0 40px;
}

.gallery-header h2 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--dark-green);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.gallery-grid {
  display: grid;
  /* 3 colonnes fixes comme sur ta maquette*/
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; /* L'espacement entre les images */
}

.gallery-item {
  width: 100%;
  aspect-ratio: 3 / 4; /* Force un format vertical élégant */
  overflow: hidden;
  background-color: #eee;
  /* Petite bordure noire fine comme demandé */
  /*border: 1px solid #000000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--bg-color);
  display: block;
}

/* --- Responsive pour Tablettes/Mobiles --- */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-header h2 {
    font-size: 2rem;
  }
}

/*Impression*/
.sub-title {
  font-size: 1.2rem;
  color: #666;
  margin-top: -10px;
  margin-bottom: 40px;
  font-style: italic;
}

.gallery-item.clickable {
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/*.gallery-item.clickable:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}*/

/* --- Style de la page Produits --- */

/* Conteneur principal */
.product-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 160px);
  position: relative;
  padding: 20px;
}

.product-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
}

/* Image du produit */
.product-image-container img {
  max-height: 75vh;
  border: 1px solid #000;
  box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.1);
}

/* Bloc gris de sélection */
.product-selection-box {
  background-color: #cccccc; /* Gris de la maquette */
  padding: 35px;
  border-radius: 20px;
  width: 380px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.selection-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-weight: bold;
  color: #334033;
  font-size: 1.1rem;
}

.price-value {
  font-size: 1.4rem;
}

#sizeSelect,
#calendarSelect,
#cadreSelect {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #999;
  margin-bottom: 25px;
  background: #f0f0f0;
  font-size: 1rem;
  cursor: pointer;
}

#calendarOptions {
  flex-direction: column;
  width: max-content;
}

.calendar-desc {
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .selection-header
    span:not(
      .price-value,
      #displayPrice,
      #displayPriceCalendar,
      #displayPricePapier
    ) {
    margin: 0 2rem 0 0;
  }
}
/* Bouton vert */
.btn-add-to-cart {
  width: 100%;
  background-color: #6d976d; /* Vert de la maquette */
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.btn-add-to-cart:hover {
  background-color: #5a7d5a;
}

/*PAGE PAIEMENT*/

.checkout-container {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  gap: 40px;
  padding: 20px;
}

.checkout-form-section {
  flex: 2;
}
.checkout-summary-section {
  flex: 1;
}

.form-card,
.summary-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-card input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f9f9f9;
}

.form-row {
  display: flex;
  gap: 10px;
}

.btn-pay {
  width: 100%;
  background: #6d976d;
  color: white;
  border: none;
  padding: 15px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Récapitulatif */
.summary-line {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}
.summary-total-final {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 1.3rem;
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-top: 15px;
}
/* --- Style des Inputs au clic --- */
.form-card input:focus {
  background-color: #e0e0e0; /* Gris plus foncé au clic */
  outline: none;
}

/* --- Alignement Case à cocher et Texte --- */
.terms {
  display: flex;
  align-items: center; /* Aligne verticalement au centre */
  gap: 10px;
  margin: 20px 0;
  font-size: 0.9rem;
}

.terms input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0; /* Supprime les marges par défaut */
  cursor: pointer;
}

/* --- Style du Récapitulatif avec Images --- */
.summary-product-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.summary-img-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
}

.summary-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.summary-qty-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #6d976d;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.product-name {
  font-weight: bold;
}
.product-dim {
  color: #666;
  font-size: 0.8rem;
}

.summary-product-price {
  font-weight: bold;
}

#card-element {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin: 20px 0;
}

#card-element--focus {
  border-color: #6d976d;
  background-color: #f0f0f0;
}

/*SUCCESS*/

body#success {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}
.containerSuccess {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11);
  text-align: center;
}
h1#success {
  color: #32325d;
}
.iconSuccess {
  font-size: 50px;
  color: #24b47e;
}
a#success {
  display: inline-block;
  margin-top: 20px;
  color: #6772e5;
  text-decoration: none;
  font-weight: bold;
}

/*MENTION & CGV*/

.back-home {
  display: block;
  text-align: center;
  margin-top: 50px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid var(--text-color);
  padding: 10px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  transition: 0.3s;
}
.back-home:hover {
  background: var(--text-color);
  color: white;
}

/*PAGE CONTACT*/

/* --- Page Contact --- */
.contact-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 20px;
}

.contact-container {
  background-color: #c4c4c4; /* Le gris de ta maquette */
  padding: 40px;
  border-radius: 25px;
  width: 100%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-container h2 {
  font-size: 3rem;
  color: #314438; /* Ton vert foncé */
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #7d7d7d;
  border-radius: 10px;
  background-color: transparent;
  font-family: inherit;
  color: #314438;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

.form-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.btn-send,
.btn-back {
  padding: 10px 30px;
  border-radius: 15px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2rem;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.btn-send {
  background-color: #ffffff;
  color: #314438;
}

.btn-back {
  margin-top: 5%;
  background-color: #b2b2b2;
  color: #314438;
}

.btn-send:hover,
.btn-back:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
.contact-direct {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
}

.contact-intro {
  font-size: 1.2rem;
  color: #314438;
  line-height: 1.5;
  max-width: 400px;
}

.btn-mailto {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #314438;
  padding: 15px 40px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-mailto:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
/* Mobile */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
  .contact-container {
    padding: 20px;
  }
}

/* ==========================================================================
   VERSION RESPONSIVE (Mobiles et Tablettes)
   ========================================================================== */

/* --- Tablettes et écrans moyens (max 1024px) --- */
@media (max-width: 1024px) {
  header {
    z-index: 1997;
    position: relative;
    padding: 1.5rem 2rem;
  }
  .hero h2 {
    font-size: 3rem;
  }
  aside.modal {
    z-index: 1999 !important;
  }
  .product-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .product-image-container img {
    max-height: 50vh;
  }
}

section#header {
  display: none;
}
/* --- Mobiles (max 768px) --- */
@media (max-width: 768px) {
  /* Header & Nav */
  header {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
  }

  section#header {
    display: block;
  }
  .logo h1 {
    font-size: 1.8rem;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li a {
    font-size: 0.9rem;
  }
  .dropdown-menu-mobile {
    display: none; /* Cache le menu */
    /*position: absolute;*/
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    /*background-color: white;*/
    list-style: none;
    min-width: 150px;
    /* box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);*/
    z-index: 1000;
    padding: 10px 0;
    /* border: 1px solid #ccc;*/
  } /* Effet au survol d'un item du menu */
  .dropdown-menu-mobile li a:hover {
    padding: 10px;
    background-color: #d1d1d1; /* Gris comme sur ta maquette */
    cursor: pointer;
  }
  /* Language Switch (on le déplace en bas ou on le réduit) 
  .language-switch {
    top: auto;
    bottom: 20px;
    left: 10px;
    transform: none;
    height: 100px;
  }*/

  /* Hero & Carrousel */
  .hero h2 {
    font-size: 2.2rem;
  }

  .carousel-track img {
    height: 250px; /* Moins haut sur mobile */
  }

  /* Panier Modale */
  .modal {
    width: 100%; /* Prend tout l'écran sur mobile */
  }

  /* Galerie Boutique */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    padding: 0 15px 40px;
    gap: 15px;
  }

  /* Page Paiement */
  .checkout-container {
    flex-direction: column-reverse; /* Panier en haut ou en bas selon préférence */
    margin-top: 10px;
  }

  .checkout-form-section,
  .checkout-summary-section {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* --- Petits Mobiles (max 480px) --- */
@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr; /* 1 seule colonne pour voir les photos en grand */
  }

  .product-selection-box {
    width: 100%; /* Le bloc gris prend toute la largeur */
    padding: 20px;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .social-links {
    gap: 10px;
  }

  .social-links a {
    font-size: 10px;
  }

  .btn-discover {
    padding: 12px 25px;
    font-size: 0.8rem;
  }
}
