html, body {
    background-color: #eee; /* gris clair neutre */
}

/* ========================================
   VARIABLES & RESET
   ======================================== */
:root {
  --color-white: #FFFFFF;
  --color-light-gray: #F5F5F7;
  --color-gray: #E8E8ED;
  --color-medium-gray: #86868B;
  --color-dark-gray: #1D1D1F;
  --color-black: #000000;
  --color-accent: #0071E3;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 64px;
  --spacing-xxl: 96px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.50),
      rgba(245, 245, 247, 0.60)
    ),
    url('../marbre.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--color-dark-gray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-gray); }
::-webkit-scrollbar-thumb { background: var(--color-medium-gray); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-dark-gray); }

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.07); /* Nouveau shadow doux */
}
.navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark-gray);
}
.navbar-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
}
/* --- STYLE DES BOUTONS --- */
.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 50px;
  color: #1d1d1f;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.nav-btn i {
  font-size: 1.1rem;
  color: #1d1d1f;
  transition: color 0.25s ease;
}

.nav-btn:hover {
  background: var(--color-dark-gray);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.nav-btn:hover i {
  color: #fff;
}

.nav-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.nav-btn,
.nav-btn:visited,
.nav-btn:focus,
.nav-btn:hover {
  text-decoration: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-buttons {
    gap: 10px;
  }
  .nav-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  .nav-btn span {
    display: none; /* on ne garde que les icônes sur mobile */
  }
}
/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container { width: 100%; min-height: 100vh; padding-top: 80px; overflow-y: auto; overflow-x: hidden; }
.content-wrapper { max-width: 1400px; margin: 0 auto; padding: var(--spacing-xl) var(--spacing-lg); }

/* ========================================
   HEADER
   ======================================== */
.header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-dark-gray);
  margin-bottom: 12px;
  letter-spacing: -2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #1d1d1f 0%, #1b0096 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  width: 100%;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--color-medium-gray);
  font-weight: 500;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  text-align: center;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 1.6rem;
    letter-spacing: -1px;
  }
  
  .subtitle {
    font-size: 0.9rem;
  }
}


/* ========================================
   MAIN GRID
   ======================================== */
.main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: start; }

/* ========================================
   WATCH SECTION
   ======================================== */
.watch-section { position: sticky; top: 100px; }
.watch-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem; /* ✅ ajoute un espace entre l’image et le bloc prix */
}
.watch-display {
  min-height: 600px;             /* zone visible et stable */
  max-height: none;
  overflow: visible;             /* ✅ retire toute barre de scroll */
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;       /* centre verticalement */
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.watch-image {
  max-width: 90%;
  max-height: 500px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.watch-image:hover {
  transform: scale(1.05);
}

/* quand aucune montre n'est choisie */
.placeholder-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-medium-gray);
  font-size: 1.5rem;
  opacity: 0.8;
}

.placeholder-text i {
  font-size: 6rem;
  margin-bottom: 1.2rem;
  opacity: 0.25;
}
.placeholder-text p { font-size: 1.2rem; font-weight: 500; }
.price-card { padding: var(--spacing-lg); background: var(--color-dark-gray); display: flex; justify-content: space-between; align-items: center; }
.price-label { font-size: 0.9rem; font-weight: 600; color: var(--color-medium-gray); text-transform: uppercase; letter-spacing: 1.5px; }
.price-value { font-size: 2.5rem; font-weight: 700; color: var(--color-white); font-family: 'Playfair Display', serif; }

/* ========================================
   CONFIG SECTION
   ======================================== */
.config-card { background: var(--color-white); border-radius: var(--radius-lg); padding: var(--spacing-xl); box-shadow: var(--shadow-lg); }
.config-title { display: flex; align-items: center; gap: 12px; font-size: 1.8rem; font-weight: 700; color: var(--color-black); margin-bottom: var(--spacing-lg); letter-spacing: -0.5px; }
.config-title i { font-size: 1.5rem; }

/* ========================================
   OPTIONS VISUELLES (grille images)
   ======================================== */
.option-group-visual {
  margin-bottom: 35px; padding: 20px; background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid #e9ecef;
}
.option-group-visual.hidden { display: none; }
.option-label {
  display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #2c3e50;
  margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #e74c3c;
}
.option-label i { color: #e74c3c; font-size: 20px; }

.visual-options {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px; margin-bottom: 15px;
}
.visual-option {
  position: relative; background: white; border: 3px solid #dee2e6; border-radius: 12px; padding: 10px; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  animation: fadeInUp 0.4s ease-out backwards;
}
.visual-option:hover { transform: translateY(-5px); border-color: #3498db; box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3); }
.visual-option.active {
  border-color: #e74c3c; background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4); transform: translateY(-5px);
}
.visual-option.active::before {
  content: '✓'; position: absolute; top: 5px; right: 5px; width: 28px; height: 28px; background: #e74c3c; color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px; z-index: 10;
  animation: checkmarkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes checkmarkPop {
  0% { transform: scale(0) rotate(-45deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.option-image { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; background: #f8f9fa; transition: transform 0.3s ease; }
.visual-option:hover .option-image, .visual-option.active .option-image { transform: scale(1.05); filter: brightness(1.1); }
.option-content { text-align: center; }
.option-name {
  font-size: 12px; font-weight: 600; color: #2c3e50; margin-bottom: 5px; line-height: 1.3; min-height: 32px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.option-price-tag { font-size: 13px; font-weight: 700; color: #e74c3c; background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%); padding: 4px 10px; border-radius: 12px; display: inline-block; }
.option-info {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; background: white; border-radius: 10px;
  border: 2px solid #e9ecef; margin-top: 10px;
}
.selected-name { font-size: 14px; font-weight: 600; color: #2c3e50; flex: 1; }
.selected-price { font-size: 16px; font-weight: 700; color: #27ae60; background: linear-gradient(135deg, #e8f8f5 0%, #d5f4e6 100%); padding: 6px 15px; border-radius: 20px; }

/* ========================================
   ORDER BUTTON
   ======================================== */
.order-global { margin-top: var(--spacing-md); }
.order-button {
  width: 100%; padding: 20px; margin-top: var(--spacing-lg);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 1.1rem; font-weight: 700; font-family: 'Inter', sans-serif;
  background: var(--color-black); color: var(--color-white);
  border: none; border-radius: var(--radius-md); cursor: pointer; transition: var(--transition);
  text-transform: uppercase; letter-spacing: 1px;
}
.order-button:hover { background: var(--color-dark-gray); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.order-button:active { transform: translateY(0); }
.order-button.loading { opacity: 0.7; pointer-events: none; }
.order-button:disabled { background: #cfcfd4; color: #6b6b6f; cursor: not-allowed; transform: none; box-shadow: none; }

/* ========================================
   MODAL (générique)
   ======================================== */
.modal {
  display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); z-index: 9999;
  justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease;
}
.modal.show { display: flex; opacity: 1; }
.modal-content {
  background: #fff; border-radius: 16px; padding: 40px 50px; max-width: 1200px; max-height: 90vh; width: 90%;
  overflow-y: scroll; scrollbar-width: none; -ms-overflow-style: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25); position: relative; margin: 40px auto; animation: fadeInUp 0.3s ease;
}
.modal-content::-webkit-scrollbar { display: none; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.close-modal {
  position: absolute; top: 14px; right: 14px; border: none; background: #fff; border-radius: 10px; padding: 8px 10px;
  cursor: pointer; box-shadow: var(--shadow-sm);
}
.close-modal:hover { transform: translateY(-1px); }

.selection-modal { max-width: 900px; }
.modal-actions { display: flex; gap: 12px; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 10px;
  border: 2px solid transparent; cursor: pointer; transition: var(--transition); font-weight: 600;
}
.btn-primary { background: var(--color-dark-gray); color: #fff; border-color: var(--color-dark-gray); }
.btn-primary:hover { background: var(--color-black); border-color: var(--color-black); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--color-dark-gray); border-color: var(--color-gray); }
.btn-secondary:hover { background: var(--color-light-gray); }

/* ========================================
   CONTACT / INFO / SUMMARY
   ======================================== */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md); margin-bottom: var(--spacing-lg);
}
.contact-item { display: flex; gap: var(--spacing-sm); padding: var(--spacing-md); background: var(--color-light-gray); border-radius: var(--radius-md); }
.contact-item i { font-size: 1.5rem; color: var(--color-medium-gray); flex-shrink: 0; }
.contact-item strong {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-medium-gray);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;
}
.contact-item a { color: var(--color-black); text-decoration: none; transition: var(--transition); }
.contact-item a:hover { color: var(--color-accent); }
.contact-item p { color: var(--color-dark-gray); font-size: 0.95rem; }

.faq-section, .info-section { margin-top: var(--spacing-lg); }
.faq-item { padding: var(--spacing-md); background: var(--color-light-gray); border-radius: var(--radius-md); margin-bottom: var(--spacing-sm); }
.faq-item strong { color: var(--color-black); font-weight: 600; }

.info-list { list-style: none; padding: 0; }
.info-list li {
  padding: var(--spacing-sm) 0; padding-left: var(--spacing-md); position: relative; color: var(--color-dark-gray);
  border-bottom: 1px solid var(--color-gray);
}
.info-list li:last-child { border-bottom: none; }
.info-list li::before { content: '●'; position: absolute; left: 0; color: var(--color-black); font-size: 0.8rem; }
.info-section p { color: var(--color-dark-gray); line-height: 1.8; }

/* ========================================
   ORDER FORM / SUMMARY
   ======================================== */
.order-form { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.form-group { display: flex; flex-direction: column; gap: var(--spacing-xs); }
.form-group label { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; color: var(--color-black); }
.form-group label i { font-size: 1rem; color: var(--color-medium-gray); }
.required { color: #ff3b30; font-weight: 700; }
.form-group input, .form-group textarea {
  padding: 14px 16px; border: 2px solid var(--color-gray); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; color: var(--color-dark-gray); transition: var(--transition); background: var(--color-white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-dark-gray); box-shadow: 0 0 0 4px rgba(29, 29, 31, 0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }

.order-summary {
  background: var(--color-light-gray); border-radius: var(--radius-md); padding: var(--spacing-lg);
  display: flex; flex-direction: column; gap: var(--spacing-sm);
}
.summary-item { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.summary-item span { color: var(--color-medium-gray); font-weight: 500; }
.summary-item strong { color: var(--color-black); font-weight: 700; }
.price-highlight { font-size: 1.5rem; color: var(--color-accent); font-family: 'Playfair Display', serif; }

.form-actions { display: grid; grid-template-columns: 1fr 2fr; gap: var(--spacing-md); margin-top: var(--spacing-md); }
.cancel-order, .confirm-order {
  padding: 16px 24px; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent;
}
.cancel-order { background: transparent; color: var(--color-dark-gray); border-color: var(--color-gray); }
.cancel-order:hover { background: var(--color-light-gray); border-color: var(--color-medium-gray); }
.confirm-order { background: var(--color-dark-gray); color: #fff; border-color: var(--color-dark-gray); }
.confirm-order:hover { background: var(--color-black); border-color: var(--color-black); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.form-group select {
  padding: 14px 16px;
  border: 2px solid var(--color-gray);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-dark-gray);
  transition: var(--transition);
  background: var(--color-white);
}
.form-group select:focus {
  outline: none;
  border-color: var(--color-dark-gray);
  box-shadow: 0 0 0 4px rgba(29, 29, 31, 0.1);
}

/* ========================================
   PREVIEW 3 COLONNES + CENTRAGE
   ======================================== */
.selected-components-preview{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
  justify-items:center;
  justify-content:center;
  align-items:start;
  margin-top:20px;
  width:100%;
}
@media (max-width: 900px){
  .selected-components-preview{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .selected-components-preview{ grid-template-columns:1fr; }
}

/* ========================================
   SECTION "VOTRE SÉLECTION" (grille cartes)
   ======================================== */
.selected-components-section {
  margin-top: var(--spacing-xl); padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.8); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.selected-components-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-md); margin-top: var(--spacing-md);
}
.selected-component {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--spacing-sm); background: var(--color-white);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.selected-component:hover { transform: translateY(-5px); }
.selected-component-image { width: 100%; height: 120px; object-fit: contain; margin-bottom: var(--spacing-sm); border-radius: var(--radius-sm); }
.selected-component-name { font-weight: 600; margin-bottom: var(--spacing-xs); text-align: center; }
.selected-component-price { color: #2c3e50; font-weight: 600; }

/* ========================================
   TOAST
   ======================================== */
.toast {
  display: none; position: fixed; bottom: 40px; right: 40px; background: rgba(0, 0, 0, 0.85); color: #fff;
  padding: 14px 22px; border-radius: 10px; font-size: 0.95rem; font-weight: 500; box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  opacity: 0; transform: translateY(10px); transition: all 0.3s ease; z-index: 3000;
}
.toast.show { display: block; opacity: 1; transform: translateY(0); }

/* ========================================
   RESPONSIVE
   ======================================== */

   /* ========================================
   MOYEN DE PAIEMENT (boutons stylés)
   ======================================== */
.payment-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.payment-btn {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border: 2px solid var(--color-gray);
  border-radius: var(--radius-md);
  background: var(--color-white);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--color-dark-gray);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.payment-btn:hover {
  border-color: var(--color-dark-gray);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.payment-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-btn i {
  font-size: 1.4rem;
}

.payment-btn input[type="radio"]:checked + i,
.payment-btn input[type="radio"]:checked ~ span {
  color: var(--color-white);
}

.payment-btn input[type="radio"]:checked ~ i {
  color: #fff;
}

.payment-btn input[type="radio"]:checked ~ span {
  font-weight: 700;
}

/* ✅ Effet actif selon option */
.payment-btn input[type="radio"]:checked ~ i,
.payment-btn input[type="radio"]:checked ~ span,
.payment-btn input[type="radio"]:checked ~ * {
  color: #fff;
}

.payment-btn:has(input[type="radio"]:checked) {
  background: var(--color-dark-gray);
  border-color: var(--color-dark-gray);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.payment-btn:first-child:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, #0b72ff, #004aad);
}

.payment-btn:last-child:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, #0070ba, #1546a0);
}
@media (max-width: 1024px) {
  .main-grid { grid-template-columns: 1fr; gap: var(--spacing-lg); }
  .watch-section { position: relative; top: 0; }
}
@media (max-width: 768px) {
  .content-wrapper { padding: var(--spacing-lg) var(--spacing-md); }
  .navbar-content { padding: var(--spacing-sm) var(--spacing-md); }
  .navbar-logo { font-size: 1.2rem; }
  .navbar-logo i { font-size: 1.1rem; }
  .nav-btn span { display: none; }
  .nav-btn { padding: 10px; width: 40px; height: 40px; justify-content: center; }
  .header h1 { font-size: 2rem; letter-spacing: -1px; }
  .subtitle { font-size: 1rem; }
  .watch-display { padding: var(--spacing-lg) var(--spacing-md); min-height: 400px; }
  .watch-image { max-height: 350px; }
  .price-card { flex-direction: column; gap: var(--spacing-sm); text-align: center; }
  .price-value { font-size: 2rem; }
  .config-card { padding: var(--spacing-lg); }
  .modal-content { padding: var(--spacing-lg); margin: var(--spacing-md); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-actions { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .header h1 { font-size: 1.8rem; }
  .watch-display { padding: var(--spacing-md); min-height: 400px; }
  .config-title { font-size: 1.4rem; }
  .order-button { font-size: 1rem; padding: 16px; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.visual-option:nth-child(1) { animation-delay: 0.05s; }
.visual-option:nth-child(2) { animation-delay: 0.1s; }
.visual-option:nth-child(3) { animation-delay: 0.15s; }
.visual-option:nth-child(4) { animation-delay: 0.2s; }
.visual-option:nth-child(5) { animation-delay: 0.25s; }
.visual-option:nth-child(6) { animation-delay: 0.3s; }
.visual-option:nth-child(7) { animation-delay: 0.35s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.visual-option::after {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s;
}
.visual-option:hover::after { transform: translateX(100%) translateY(100%) rotate(45deg); }

/* ========================================
   CONFIGURATION : hauteur fixe + scroll interne
   ======================================== */

.config-card {
  max-height: 90vh;              /* 🔺 plus grande hauteur visible */
  min-height: 75vh;              /* 🔺 garde un équilibre visuel avec la montre */
  overflow-y: auto;              /* garde le scroll si besoin */
  scrollbar-width: thin;
  scrollbar-color: var(--color-medium-gray) transparent;
}

/* Barre scroll personnalisée sur WebKit (Chrome, Edge, Safari) */
.config-card::-webkit-scrollbar {
  width: 8px;
}

.config-card::-webkit-scrollbar-thumb {
  background: var(--color-medium-gray);
  border-radius: 4px;
}

.config-card::-webkit-scrollbar-thumb:hover {
  background: var(--color-dark-gray);
}

.config-card {
  padding: var(--spacing-lg);
}

/* ========================================
   WATCH TABS (MODERNES & DYNAMIQUES)
   ======================================== */
.watch-tabs {
  display: flex; /* ✅ Changé de grid à flex */
  justify-content: center;
  align-items: stretch;
  gap: 55px;
  margin: 30px 0 50px;
  padding: 0;
  flex-wrap: wrap; /* ✅ Permet le retour à la ligne sur mobile */
}

.tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(245,245,247,0.95) 100%);
  border: 2px solid transparent;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  flex: 0 1 auto; /* ✅ Permet aux boutons de s'adapter */
  min-width: 280px; /* ✅ Largeur minimale pour chaque bouton */
  max-width: 380px; /* ✅ Largeur maximale */
}

/* Effet de brillance animée */
.tab-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.8s ease;
}

.tab-btn:hover::after {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Icône moderne */
.tab-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1d1d1f 0%, #434345 100%);
  border-radius: 16px;
  color: white;
  font-size: 26px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
  flex-shrink: 0; /* ✅ Empêche l'icône de rétrécir */
}

.tab-info {
  flex: 1;
  text-align: left;
  z-index: 2;
}

.tab-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.tab-info p {
  font-size: 0.9rem;
  color: #86868b;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* État hover */
.tab-btn:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(17, 0, 255, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #bebebe8f 100%);
  box-shadow: 
    0 8px 25px rgba(17, 0, 255, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.tab-btn:hover .tab-icon {
  transform: rotate(10deg) scale(1.1);
  background: linear-gradient(135deg, #777777 0%, #e7e7e7a4 100%);
  box-shadow: 
    0 6px 20px rgba(38, 0, 255, 0.4),
    0 0 30px rgba(38, 0, 255, 0.4);
}

.tab-btn:hover .tab-info h3 {
  color: #000000a8;
}

.tab-btn:hover .tab-info p {
  color: #1d1d1f;
}

/* État actif */
.tab-btn.active {
  background: linear-gradient(135deg, #1d1d1f 0%, #2c2c2e 100%);
  border-color: #6462ff6e;
  box-shadow: 
    0 0 30px rgba(255, 162, 162, 0.4),
    0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: activePulse 2.5s infinite ease-in-out;
}

.tab-btn.active .tab-icon {
  background: linear-gradient(135deg, #5c5c5c 0%, #5c5c5c 100%);
  transform: scale(1.05);
  box-shadow: 
    0 0 25px rgba(255, 255, 255, 0.4),
    0 6px 20px rgba(255, 255, 255, 0.4);
  animation: iconRotate 3s infinite ease-in-out;
}

.tab-btn.active .tab-info h3 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(17, 0, 255, 0.4);
}

.tab-btn.active .tab-info p {
  color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes activePulse {
  0%, 100% {
    box-shadow: 
      0 0 25px rgba(17, 0, 255, 0.4),
      0 8px 25px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 0 40px rgba(17, 0, 255, 0.4),
      0 12px 35px rgba(17, 0, 255, 0.315),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

@keyframes iconRotate {
  0%, 100% {
    transform: scale(1.05) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .watch-tabs {
    gap: 16px;
  }
  
  .tab-btn {
    min-width: 240px;
    padding: 20px 24px;
  }
  
  .tab-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  
  .tab-info h3 {
    font-size: 1.05rem;
  }
  
  .tab-info p {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .watch-tabs {
    flex-direction: column; /* ✅ Empile verticalement sur mobile */
    align-items: center;
    gap: 14px;
  }
  
  .tab-btn {
    width: 100%;
    max-width: 400px;
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .tab-btn {
    gap: 14px;
    padding: 18px 20px;
  }
  
  .tab-icon {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}



/* ========================================
   ZOOM & INTERACTION SUR LES ÉLÉMENTS SÉLECTIONNÉS
   ======================================== */
.selected-components-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: start;
  margin-top: 20px;
  width: 100%;
}

.selected-components-preview div {
  background: white;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.selected-components-preview div:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Image */
.selected-components-preview img {
  width: 140px;
  height: 110px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.selected-components-preview div:hover img {
  transform: scale(1.2);
}

/* Texte */
.selected-components-preview div div {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  text-align: center;
}

/* Modal de zoom */
.image-zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-zoom-modal.show {
  opacity: 1;
  pointer-events: all;
}

.image-zoom-modal img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

#imageModal img {
  transition: transform 0.4s ease;
}
#imageModal img:hover {
  transform: scale(1.03);
}

/* === Lueur orange néon autour des boutons de type de montre === */
.tab-btn {
  position: relative;
  z-index: 1;
}

/* Effet néon doux autour */
.tab-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit ;
  box-shadow: 0 0 12px rgba(255, 128, 0, 0.4),
              0 0 25px rgba(255, 102, 0, 0.2);
  opacity: 0; /* caché par défaut */
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* Quand le bouton est actif ou au survol */
.tab-btn:hover::before,
.tab-btn.active::before {
  opacity: 1;
}

/* Optionnel : animation légère pulsante */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255,128,0,0.4), 0 0 25px rgba(255,102,0,0.2); }
  50%      { box-shadow: 0 0 18px rgba(255,150,0,0.6), 0 0 35px rgba(255,100,0,0.3); }
}
.tab-btn.active::before {
  animation: neonPulse 2.5s infinite ease-in-out;
}

/* === FOND NACRÉ POUR LES BLOCS GAUCHE (montre) ET DROITE (config) === */
.watch-card,
.config-card {
  background: linear-gradient(
    145deg,
    #dddddd 0%,   /* blanc cassé chaud */
    #d4d4d4 50%,  /* ton perlé légèrement plus sombre */
    #fffefe 100%  /* pour garder un effet de nacre subtile */
  );
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

/* Pour renforcer la cohérence dans le visuel central */
.watch-display {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(226, 224, 224, 0.9) 100%
  );
  border: 1px solid rgb(223, 223, 223);
}

/* Optionnel : ombre douce interne pour effet “boîte nacrée” */
.watch-card,
.config-card {
  box-shadow:
    inset 0 0 10px rgb(221, 221, 221),
    0 6px 25px rgba(0, 0, 0, 0.521);
}

.remove-btn {
  background: #ff3b3b;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s ease;
}

.remove-btn i {
  font-size: 14px;
}

.remove-btn:hover {
  background: #d62c2c;
}

.cart-item {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  background: #fff;
}

.cart-item-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.cart-watch-img {
  width: 130px;
  border-radius: 10px;
}

.cart-details {
  flex: 1;
}

.cart-config-list {
  list-style: none;
  padding: 0;
  margin: 5px 0 10px 0;
}

.cart-config-list li {
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
}

.cart-price {
  font-size: 15px;
  font-weight: 600;
  margin: 10px 0;
}

.remove-btn {
  background: #ff3b3b;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  gap: 6px;
  transition: 0.2s ease;
}

.remove-btn i {
  font-size: 14px;
}

.remove-btn:hover {
  background: #d62c2c;
}

/* ===== Bouton Supprimer premium (Apple/Shopify style) ===== */

.remove-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(180deg, #ff4d4d, #e63939);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all .18s ease;
    box-shadow: 0 4px 12px rgba(255, 75, 75, 0.25);
}

.remove-btn i {
    transition: transform .25s ease;
}

.remove-btn:hover {
    background: linear-gradient(180deg, #ff5f5f, #e94848);
    box-shadow: 0 6px 16px rgba(255, 75, 75, 0.35);
    transform: translateY(-1px);
}

.remove-btn:hover i {
    transform: rotate(-10deg);
}

.remove-btn:active {
    transform: scale(0.96);
    background: linear-gradient(180deg, #e63939, #cc2222);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}


/* ======= CONTENEUR ITEM PANIER (Apple Card Style) ======= */

.cart-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid #e7e7e7;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    margin: 25px auto;
    max-width: 900px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

/* Image centrée & propre */
.cart-item img {
    width: 180px;
    border-radius: 16px;
    object-fit: contain;
}

/* Bloc texte */
.cart-info {
    flex: 1;
}

/* Titre montre */
.cart-info h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    color: #1d1d1f;
}

/* Sous-titre configuration */
.cart-info .config-title {
    margin-top: 5px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

/* Liste configuration */
.cart-info .config-list {
    margin-top: 8px;
    font-size: 15px;
    color: #444;
    line-height: 1.55;
}

/* Prix individuel */
.cart-price {
    font-size: 17px;
    font-weight: 700;
    margin-top: 15px;
    color: #111;
}

/* ======= Bouton Supprimer ======= */

.remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: linear-gradient(180deg, #ff4d4d, #e63737);
    border-radius: 14px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(255, 65, 65, 0.3);
}

.remove-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #ff5f5f, #e64848);
    box-shadow: 0 6px 18px rgba(255, 65, 65, 0.4);
}

.remove-btn i {
    transition: transform 0.3s ease;
}

.remove-btn:hover i {
    transform: rotate(-12deg);
}

.remove-btn:active {
    transform: scale(0.96);
}

/* Total Global */
#cartTotal {
    font-size: 22px;
    font-weight: 800;
    color: #1d1d1f;
}

.cart-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid #e3e3e3;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    margin: 25px auto;
    max-width: 900px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

.cart-item-image {
    width: 180px;
    border-radius: 16px;
    object-fit: contain;
}

.cart-info {
    flex: 1;
}

.cart-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1d1d1f;
    letter-spacing: .5px;
}

.config-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-top: 5px;
}

.config-list {
    margin-top: 8px;
    font-size: 15px;
    color: #444;
    line-height: 1.55;
}

.cart-price {
    font-size: 17px;
    font-weight: 700;
    margin-top: 15px;
    color: #111;
}

.remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: linear-gradient(180deg, #ff4d4d, #e63737);
    border-radius: 14px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(255, 65, 65, 0.3);
}

.remove-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #ff5f5f, #e64848);
    box-shadow: 0 6px 18px rgba(255, 65, 65, 0.4);
}

.remove-btn i {
    transition: transform 0.3s ease;
}

.remove-btn:hover i {
    transform: rotate(-12deg);
}

.remove-btn:active {
    transform: scale(0.96);
}

/* CONTENEUR COMPACT POUR AUCUN SCROLL */
#cartItemsContainer {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-right: 5px;
}

/* CARTE COMPACTE */
.cart-item.compact {
    display: flex;
    align-items: center;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    height: 170px;
    gap: 22px;
    justify-content: space-between;
}

/* IMAGE */
.cart-img-compact {
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* INFOS */
.cart-info-compact {
    flex: 1;
}

.cart-info-compact h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
}

/* CONFIG LISTE */
.config-compact {
    margin-top: 6px;
    font-size: 13px;
    color: #444;
    line-height: 1.35;
    max-height: 85px;
    overflow: hidden;
}

/* PRIX */
.price-compact {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

/* BOUTON SUPPRIMER COMPACT */
.remove-btn-compact {
    background: linear-gradient(180deg, #ff4d4d, #e23333);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 16px rgba(255,0,0,0.3);
    transition: all 0.22s ease;
}

.remove-btn-compact:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #ff6060, #e24444);
}

.remove-btn-compact:active {
    transform: scale(0.92);
}

/* ==============================
   PANIER PREMIUM LISIBLE
==============================*/

.cart-item.premium {
    display: grid;
    grid-template-columns: 150px 1fr 60px; /* +20px pour plus de respiration */
    align-items: center;
    padding: 25px 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e3e3e3;
    box-shadow: 0 6px 22px rgba(0,0,0,0.08);
    margin: 20px auto;
    max-width: 900px;
    column-gap: 32px; /* anciennement 22px, on augmente */
}

/* IMAGE A GAUCHE */
.cart-img-premium {
    width: 140px; /* +20px */
    object-fit: contain;
    border-radius: 12px;
}

/* MIDDLE ZONE */
.cart-middle h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #111;
}

/* CONFIGURATION LISTE LISIBLE */
.config-list-premium {
    font-size: 14px;
    line-height: 1.45;
    color: #333;
    margin-bottom: 10px;
}

/* PRIX */
.price-premium {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-top: 8px;
}

/* BOUTON SUPPRIMER PREMIUM */
.remove-btn-premium {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ff4d4d, #e02c2c);
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(255,0,0,0.25);
    transition: all .22s ease;
}

.remove-btn-premium:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #ff6666, #e64545);
}

.remove-btn-premium:active {
    transform: scale(0.92);
}


/* Bouton "Ajouté" */
.added-state {
    background: #28c76f !important;
    color: #fff !important;
    border-color: #28c76f !important;
}

.added-state i {
    display: inline-block;
    margin-right: 6px;
}

.hidden {
    display: none !important;
}

.main-grid {
    opacity: 0;
    transition: opacity .6s ease;
}

.fade-start {
    opacity: 0;
    animation: fadeIn 0.4s forwards ease;
}

@keyframes fadeIn {
    to { opacity: 1; }
}


.header h1 {
    word-spacing: 12px;  /* espace entre les mots */
}

.watch-image {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.watch-image.show {
    opacity: 1;
}

.navbar {
  will-change: transform;
  transform: translateZ(0);
}

/* ============================
   NAVBAR STYLE APPLE
=============================== */

.apple-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 48px;
  background: rgba(245,245,247,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

.apple-nav-content {
  width: 100%;
  max-width: 1400px;
  padding: 0 30px;

  display: grid;
  grid-template-columns: 1fr auto 1fr; /* Logo | Liens centré | Icônes */
  align-items: center;
}

.apple-nav-logo img {
  height: 150px;
  object-fit: contain;
  margin-top: 15px;
}

/* ---- Center Links ---- */
.apple-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.apple-nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: #1d1d1f;
  opacity: 0.85;
  transition: opacity 0.2s;
  font-weight: 400;
}

.apple-nav-links a:hover {
  opacity: 1;
}

/* ---- Right Icons ---- */

.apple-nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.apple-nav-icons i {
  font-size: 16px;
  color: #1d1d1f;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.apple-nav-icons i:hover {
  opacity: 1;
}

/* ---- Mobile ---- */
@media (max-width: 850px) {
  .apple-nav-links {
    display: none;
  }
}

.apple-nav-logo {
  justify-self: start;
}

.apple-nav-links {
  justify-self: center;
}

.apple-nav-icons {
  justify-self: end;
}

.apple-nav {
    height: 70px; /* ou 60px selon ton design */
    overflow: visible; 
    position: relative;
    z-index: 1000;
}

.apple-nav-content {
    height: 100%;
    display: flex;
    align-items: center;
}

.apple-nav {
    height: 70px;               /* hauteur fixe propre */
    display: flex;
    align-items: center;        /* centre verticalement */
    justify-content: center;    /* centre horizontalement */
    padding: 0 40px;            /* padding horizontal ONLY */
    position: relative;
    z-index: 1000;
}

.apple-nav-content {
    width: 100%;
    max-width: 1400px;          /* comme avant */
    display: flex;
    justify-content: space-between;
    align-items: center;        /* recentre verticalement */
    margin: 0 auto;
}


/* Réduit la zone cliquable du logo */
.apple-nav-logo {
  position: relative;
  height: 50px;           /* zone cliquable limitée */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;       /* laisse dépasser le grand logo */
}

/* Le lien est petit = clic limité */
.apple-nav-logo a {
  display: block;
  height: 100%;
  width: 120px;           /* largeur cliquable (ajuste si besoin) */
  pointer-events: auto;
}

/* Le logo reste GRAND visuellement */
.apple-nav-logo img {
  height: 150px;          /* ton design original */
  margin-top: 15px;
  object-fit: contain;
  pointer-events: none;   /* empêche l’image elle-même de capter les clics */
}


.apple-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 48px;
  background: rgba(245,245,247,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

.apple-nav-content {
  width: 100%;
  max-width: 1400px;
  padding: 0 30px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Réduction zone cliquable */
.apple-nav-logo {
  position: relative;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

.apple-nav-logo a {
  display: block;
  height: 100%;
  width: 120px;
  pointer-events: auto;
}

.apple-nav-logo img {
  height: 150px;
  margin-top: 15px;
  object-fit: contain;
  pointer-events: none;
}

/* Liens */
.apple-nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.apple-nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: #1d1d1f;
  opacity: 0.85;
  transition: opacity .2s;
}

.apple-nav-links a:hover {
  opacity: 1;
}

/* Icônes */
.apple-nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.apple-nav-icons i {
  font-size: 16px;
  color: #1d1d1f;
  opacity: .85;
  transition: opacity .2s;
}

.apple-nav-icons i:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 850px){
  .apple-nav-links { display:none; }
  .apple-nav-logo img { height:55px; margin-top:0; }
}

.choose-model-hint {
    margin-top: 40px; /* plus bas pour respirer */
    text-align: center;
    font-size: 1.45rem;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    color: rgba(40, 40, 40, 0.78);
    letter-spacing: 0.8px;

    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);

    transition:
      opacity 0.6s ease,
      transform 0.6s ease,
      filter 0.6s ease;
}

.choose-model-hint.hidden {
    opacity: 0;
    transform: translateY(12px);  /* glisse vers le bas */
    filter: blur(4px);            /* flou élégant */
    pointer-events: none;
}

body {
    min-width: 1200px !important;
}

html {
    overflow-y: scroll; /* Force toujours la présence de la barre */
}