:root {
  --primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-dark: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  --secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark: #0f0f23;
  --light: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --radius: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-50);
  overflow-x: hidden;
}
h2 {
    text-transform: uppercase;
}

/* H1 Ultra Luxe - Codes du Luxe Authentiques */
h1 {
  /* Stack de polices ultra-premium avec fallbacks robustes */
  font-family: "Didot", "Bodoni MT", "Times New Roman", "Georgia", serif;
  
  /* Poids ultra-léger = raffinement suprême */
  font-weight: 300;
  font-style: normal;
  
  /* Taille fluide avec contrôle précis */
  font-size: clamp(2.2rem, 4vw + 1rem, 5rem);
  
  /* Capitalisation luxueuse avec espacement signature */
  text-transform: uppercase;
  letter-spacing: 0.25em; /* Espacement généreux = prestige */
  
  /* Hauteur de ligne optimisée pour l'élégance */
  line-height: 1.1;
  
  /* Couleur signature du luxe */
  color: #1a1a1a; /* Noir anthracite profond */
  
  /* Optimisations typographiques premium */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: auto;
  font-variant-ligatures: common-ligatures;
  
  /* Reset complet pour pixel perfect */
  margin: 0;
  padding: 0;
  
  /* Correction de l'écart letter-spacing */
  margin-left: -0.25em;
  text-indent: 0.25em;
  
  /* Transition douce pour interactions */
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Optimisation mobile first */
@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
    letter-spacing: 0.2em; /* Réduit légèrement sur mobile */
    line-height: 1.15;
    margin-left: -0.2em; /* Ajustement pour mobile */
    text-indent: 0.2em;
  }
}

/* S22 Ultra spécifique (6.8" - 412x915) */
@media (max-width: 412px) and (max-height: 915px) and (-webkit-min-device-pixel-ratio: 3) {
  h1 {
    font-size: 2.1rem;
    letter-spacing: 0.18em;
    margin-left: -0.18em;
    text-indent: 0.18em;
    transform: translateX(0); /* Force repositionnement */
  }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
  h1 {
    font-size: 3rem;
    letter-spacing: 0.22em;
    margin-left: -0.22em;
    text-indent: 0.22em;
  }
}

/* Desktop */
@media (min-width: 769px) and (max-width: 1200px) {
  h1 {
    font-size: 4rem;
    letter-spacing: 0.25em;
    margin-left: -0.25em;
    text-indent: 0.25em;
  }
}

/* Large desktop */
@media (min-width: 1201px) {
  h1 {
    font-size: 5rem;
    letter-spacing: 0.28em; /* Espacement maximum pour écrans larges */
    margin-left: -0.28em;
    text-indent: 0.28em;
  }
}

/* Retina et écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  h1 {
    -webkit-font-smoothing: subpixel-antialiased;
  }
}

/* Support des polices web */
@supports (font-variation-settings: normal) {
  h1 {
    font-variation-settings: "wght" 300;
  }
}

/* Accessibilité - respect des préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
  h1 {
    transition: none;
  }
}

/* Print optimization */
@media print {
  h1 {
    color: #000;
    font-size: 24pt;
    letter-spacing: 0.2em;
  }
}

/* États interactifs pour liens H1 */
h1 a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

h1 a:hover,
h1 a:focus {
  transform: translateY(-1px);
  text-shadow: 0 2px 4px rgba(26, 26, 26, 0.1);
}

/* Fallback pour très vieux navigateurs */
h1 {
  *font-family: "Times New Roman", serif; /* IE6-7 */
  *font-size: 36px; /* IE6-7 */
}


/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.logo-img {
  display: block;
  width: clamp(200px, 15vw, 300px); /* largeur minimale de 80px, max 200px, responsive entre les deux */
  height: auto;
  aspect-ratio: 3 / 1; /* adapte le ratio, à ajuster selon ton logo */
  object-fit: contain;
  background-color:transparent;
  border:none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--gray-900);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="300" cy="800" r="120" fill="url(%23a)"/><circle cx="700" cy="700" r="80" fill="url(%23a)"/></svg>') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  animation: slideInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--light);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--light);
  color: var(--gray-800);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: var(--transition);
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
}

/* Hero Checklist Styles */
.hero-checklist {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-checklist-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
  max-width: 500px;
}

.hero-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-align: left;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInCheck 0.8s ease-out forwards;
  width: 100%;
  line-height: 1.4;
}

.hero-checklist-item:nth-child(1) { animation-delay: 0.3s; }
.hero-checklist-item:nth-child(2) { animation-delay: 0.6s; }
.hero-checklist-item:nth-child(3) { animation-delay: 0.9s; }

.check-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  position: relative;
  margin-top: 2px;
}

.check-icon::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.check-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

/* Products Section */
.products {
  padding: 6rem 0;
  background: var(--light);
}

.products-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--gray-200);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: transparent;
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: var(--light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.product-btn {
  display:block;
  text-decoration:none;
  text-align:center;
  font-size:0.85rem;
  width: 100%;
  padding:1rem;
  background: var(--primary);
  color: var(--light);
  border: none;
  border-radius: calc(var(--radius) / 2);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  transition: var(--transition);
  z-index: -1;
}

.product-btn:hover::before {
  left: 0;
}

.product-btn:hover {
  transform: translateY(-1px);
}

.amazon-btn {
  display:block;
  text-decoration:none;
  text-align:center;
  font-size:0.8rem;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  color: #666;
  border: 1px solid #ddd;
  border-radius: calc(var(--radius) / 2);
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
}

.amazon-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #f8f8f8;
  transition: var(--transition);
  z-index: -1;
}

.amazon-btn:hover::before {
  left: 0;
}

.amazon-btn:hover {
  color: #333;
  border-color: #bbb;
  transform: none;
}

/* Petit logo Amazon optionnel */
.amazon-btn::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF9900' d='M.045 18.02c9.23 6.64 20.885 6.64 30.115 0 .52-.38.11-1.02-.52-.77-8.56 2.05-17.615 2.05-26.175 0-.63-.25-1.04.39-.52.77z'/%3E%3Cpath fill='%23FF9900' d='M18.78 16.02c1.77-1.42 2.4-3.7 1.35-5.08-.18-.24-.47-.29-.65-.12l-2.52 2.4c-.18.17-.47.12-.59-.12-.71-1.42-.24-3.19.94-4.25 1.06-.94 2.52-1.18 3.76-.59.65.31 1.18.94 1.35 1.77.24 1.06-.12 2.23-.82 3.07l-.82.72z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 8px;
  vertical-align: middle;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--light);
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  list-style: none;
}

.footer-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--light);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--gray-700);
  transition: var(--transition);
}

/* Animations */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInCheck {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0.1; }
  100% { transform: scale(1); opacity: 0.3; }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Glassmorphism effect */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* =================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ================================= */

/* Tablettes */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-menu-btn { display: flex; }
  
  .hero {
    text-align: center;
    padding: 5rem 0 3rem;
    min-height: 100vh;
  }
  
  .hero-container { padding: 0 1.5rem; }
  .hero-content { max-width: 100%; }
  
  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 1.5rem;
  }
  
  .hero-checklist { margin: 1.5rem 0; }
  .hero-checklist-container { max-width: 320px; }
  
  .hero-checklist-item {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
    gap: 0.8rem;
    line-height: 1.3;
  }
  
  .check-icon { width: 20px; height: 20px; }
  .check-icon::after { font-size: 12px; }
  
  .hero-cta {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    margin-top: 1.5rem;
  }
  
  .products { padding: 4rem 0; }
  .products-container { padding: 0 1.5rem; }
  .section-header { margin-bottom: 3rem; }
  
  .section-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .section-subtitle { font-size: clamp(1rem, 4vw, 1.1rem); }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .product-card { max-width: 400px; margin: 0 auto; }
  .footer-nav { flex-direction: column; gap: 1rem; }
  .footer-container { padding: 0 1.5rem; }
}

/* Smartphones */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
    height: 70px;
  }
  
  .logo { font-size: 1.3rem; }
  
  .hero { padding: 4rem 0 2rem; }
  
  .hero-container,
  .products-container,
  .footer-container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: clamp(1.4rem, 8vw, 2rem);
    margin-bottom: 0.8rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 4.5vw, 1.1rem);
    margin-bottom: 1.2rem;
  }
  
  .hero-subtitle p {
    margin-bottom: 1rem !important;
    line-height: 1.4;
  }
  
  .hero-checklist { margin: 1.2rem 0; }
  .hero-checklist-container { max-width: 280px; }
  
  .hero-checklist-item {
    font-size: clamp(0.85rem, 4.2vw, 1rem);
    gap: 0.7rem;
    line-height: 1.3;
  }
  
  .check-icon { width: 18px; height: 18px; }
  .check-icon::after { font-size: 11px; }
  
  .hero-cta {
    padding: 0.8rem 1.3rem;
    font-size: 0.9rem;
  }
  
  .section-title { font-size: clamp(1.5rem, 8vw, 2rem); }
  .section-subtitle { font-size: clamp(0.9rem, 4.5vw, 1rem); }
  
  .products-grid { gap: 1.2rem; }
  .product-card { max-width: 100%; }
  .product-info { padding: 1.2rem; }
}

/* Mode paysage mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    margin-bottom: 0.5rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
    margin-bottom: 1rem;
  }
  
  .hero-checklist { margin: 1rem 0; }
  
  .hero-checklist-item {
    font-size: clamp(0.75rem, 3.8vw, 0.9rem);
    gap: 0.6rem;
  }
}
