/* ==========================================================================
   MOBIO STYLE — HAUTE CONFECTION SUR MESURE
   Direction Artistique & Design System Inspiré de Le Chemiseur de Paris (lechemiseur.fr)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* --- PALETTE HARMONISÉE LE CHEMISEUR & ATELIER MOBIO --- */
  --color-primary: #0F1E36; /* Bleu Marine Atelier Profond */
  --color-primary-container: #0F1E36;
  --color-primary-light: #1C3154;
  --color-primary-dark: #0A1424;
  --color-on-primary: #FFFFFF;

  /* Accent Chaud & Élégant (Terracotta / Cognac Sartorial très mesuré) */
  --color-accent: #D9531E; /* Cuir de tailleur chaud */
  --color-accent-hover: #BF4413;
  --color-accent-subtle: rgba(217, 83, 30, 0.08);

  /* Validation & QC Atelier */
  --color-success: #15803D; /* Vert Confection & Cotes Validées */
  --color-success-subtle: #F0FDF4;

  /* Surfaces & Fonds Papier de Patronage */
  --color-bg: #F8F9FA;
  --color-surface: #FFFFFF;
  --color-surface-subtle: #F3F4F6;
  --color-surface-muted: #E5E7EB;

  /* Typographie & Contraste */
  --color-text-main: #111827; /* Noir Encre Profonde */
  --color-text-body: #374151; /* Gris Anthracite */
  --color-text-muted: #6B7280; /* Gris Moyen Sartorial */
  --color-border: #E5E7EB;
  --color-border-dark: #D1D5DB;

  /* Polices de Caractères Élégantes (Plus Jakarta Sans & Cormorant Garamond) */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Rayons & Élévations */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px rgba(15, 30, 54, 0.05), 0 1px 2px rgba(15, 30, 54, 0.03);
  --shadow-md: 0 4px 16px rgba(15, 30, 54, 0.08);
  --shadow-lg: 0 12px 36px rgba(15, 30, 54, 0.12);
  --shadow-xl: 0 20px 50px rgba(15, 30, 54, 0.16);

  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & RÈGLES MOBILE DE BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- TYPOGRAPHIE HAUT DE GAMME --- */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.015em;
}

.font-sans {
  font-family: var(--font-sans);
}

.font-mono {
  font-family: var(--font-mono);
}

.label-upper {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Titre Hero Raffiné (Harmonisé sans gras en désordre) */
.hero-brand-title {
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
}

@media (max-width: 640px) {
  .hero-brand-title {
    font-size: 28px;
    letter-spacing: -0.5px;
    line-height: 1.2;
  }
}

/* --- EN-TÊTE ÉPURÉ LE CHEMISEUR --- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-smooth);
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .header-container {
    padding: 0.85rem 1.5rem;
  }
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-pill {
  height: 44px;
  padding: 4px 8px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-subtle);
}

.brand-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Navigation Publique */
.public-nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.public-nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text-body);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.public-nav-link:hover {
  color: var(--color-primary);
  background: var(--color-surface-subtle);
}

.public-nav-link.active {
  color: var(--color-primary);
  background: var(--color-surface-muted);
  font-weight: 700;
}

/* Boutons & Éléments Interactifs */
.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(217, 83, 30, 0.25);
}

.btn-accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 83, 30, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-body);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 0.55rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-surface-subtle);
}

/* Cartes & Conteneurs */
.sartorial-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
}

@media (max-width: 640px) {
  .sartorial-card {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }
}

.sartorial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-dark);
}

/* --- CONFIGURATEUR VISUEL RESPONSIVE (360px / 390px / Desktop) --- */
.customizer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .customizer-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
  }
}

.preview-stage {
  background: radial-gradient(circle at center, #FFFFFF 0%, #F1F4F8 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 420px;
  position: relative;
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 1024px) {
  .preview-stage {
    position: sticky;
    top: 5rem;
    min-height: 580px;
    padding: 1.75rem;
  }
}

.shirt-svg-canvas-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  max-width: 360px;
  margin: 0 auto;
}

.shirt-svg-canvas {
  width: 100%;
  height: auto;
  max-height: 380px;
  filter: drop-shadow(0 15px 30px rgba(15, 30, 54, 0.1));
  transition: transform var(--transition-smooth);
}

/* Tuiles d'Options Responsive */
.options-grid-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  width: 100%;
}

@media (max-width: 420px) {
  .options-grid-tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
}

.option-tile {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}

.option-tile:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-subtle);
}

.option-tile.selected {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 1.5px var(--color-primary), var(--shadow-subtle);
}

.option-tile-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-surface-subtle);
  overflow: hidden;
}

@media (max-width: 390px) {
  .option-tile-icon {
    width: 46px;
    height: 46px;
  }
}

.option-tile-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.95;
  padding: 2px;
}

.option-tile-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.2;
}

.option-tile.selected .option-tile-title {
  color: var(--color-primary);
  font-weight: 700;
}

.option-tile-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.15s ease;
}

.option-tile.selected .option-tile-badge {
  opacity: 1;
  transform: scale(1);
}

/* Grille des Mesures */
.measurements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .measurements-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.85rem;
  }
}

.measurement-cell {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.15s ease;
}

.measurement-cell:hover {
  border-color: var(--color-primary);
}

.measurement-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.measurement-number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.measurement-unit {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

/* Badges de Statut */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.status-pill.in-progress {
  background: rgba(217, 83, 30, 0.08);
  color: var(--color-accent);
  border: 1px solid rgba(217, 83, 30, 0.2);
}

.status-pill.completed {
  background: var(--color-success-subtle);
  color: var(--color-success);
  border: 1px solid rgba(21, 128, 61, 0.2);
}

/* Modales Plein Écran Mobile & Élégantes Desktop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 54, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px) scale(0.98);
  transition: all var(--transition-smooth);
}

@media (min-width: 768px) {
  .modal-card {
    padding: 2.25rem;
  }
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

/* Kanban Atelier */
.kanban-board {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.kanban-column {
  background: var(--color-surface-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 270px;
  max-width: 320px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: calc(100vw - 3rem);
}

.sartorial-toast {
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  border-left: 4px solid var(--color-accent);
  animation: slideInToast 0.25s ease-out;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Impression A4 */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .app-header, .header-actions, .btn-primary, .btn-accent, .btn-outline, footer, .no-print {
    display: none !important;
  }
  .app-main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .tailor-sheet {
    border: 2px solid #000000 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    width: 100% !important;
    padding: 1.5cm !important;
  }
}

/* --- CLÉ DE COUPE® & ÉTIQUETTE DE COL LE CHEMISEUR --- */
.cle-de-coupe-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0F1E36;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-md);
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-subtle);
}

.cle-de-coupe-badge .key-icon {
  color: #D9531E;
}

/* Étiquette Tissée de Col d'Atelier (Inspirée du Col Le Chemiseur) */
.collar-tag-badge {
  background: #FDFBF7;
  border: 1.5px dashed #0F1E36;
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  position: relative;
}

.collar-tag-badge::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px solid rgba(15, 30, 54, 0.12);
  pointer-events: none;
}

.collar-tag-brand {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0F1E36;
}

.collar-tag-code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #D9531E;
  letter-spacing: 0.12em;
}

.collar-tag-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card Specs Tissus */
.fabric-spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #F3F4F6;
  color: #374151;
}

.fabric-spec-tag.iron-free {
  background: #E0F2FE;
  color: #0369A1;
}

/* Configurateur Visuel Canvas / SVG */
.customizer-preview-box {
  background: radial-gradient(circle at center, #FFFFFF 0%, #F3F4F6 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.customizer-preview-box svg {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- BANNIÈRE DE CONSENTEMENT AUX COOKIES LE CHEMISEUR --- */
.cookie-banner-box {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 900px;
  margin: 0 auto;
  z-index: 250;
  background: #0F1E36;
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 30, 54, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: slideUpCookie 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   HERO IMMERSIVE — FULL-VIEWPORT IMAGE CAROUSEL
   ========================================================================== */

.hero-immersive {
  position: relative;
  width: calc(100% + 1rem);
  margin-left: -0.5rem;
  min-height: 92vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-immersive {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    min-height: 88vh;
    border-radius: 28px;
  }
}

/* Background Slides */
.hero-slides-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-slide--active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 30, 54, 0.88) 0%,
    rgba(15, 30, 54, 0.72) 40%,
    rgba(15, 30, 54, 0.55) 70%,
    rgba(15, 30, 54, 0.40) 100%
  );
  z-index: 1;
}

/* Floating Accent Images */
.hero-floating-images {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: none;
}

@media (min-width: 1024px) {
  .hero-floating-images {
    display: block;
  }
}

.hero-float-img {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  animation: heroFloatPulse 6s ease-in-out infinite alternate;
}

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

.hero-float-img--1 {
  width: 160px;
  height: 200px;
  bottom: 12%;
  right: 5%;
  animation-delay: 0s;
  transform: rotate(3deg);
}

.hero-float-img--2 {
  width: 130px;
  height: 170px;
  top: 10%;
  right: 3%;
  animation-delay: 2s;
  transform: rotate(-2deg);
}

@keyframes heroFloatPulse {
  0% { transform: translateY(0) rotate(3deg); }
  100% { transform: translateY(-12px) rotate(1deg); }
}

.hero-float-img--2 {
  animation-name: heroFloatPulse2;
}

@keyframes heroFloatPulse2 {
  0% { transform: translateY(0) rotate(-2deg); }
  100% { transform: translateY(-10px) rotate(-4deg); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1280px;
  padding: 2rem 1.25rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 3rem 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 4rem 3rem;
  }
}

.hero-content-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

/* Text Zone */
.hero-text-zone {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D9531E;
  animation: heroDotPulse 2s ease-in-out infinite;
}

@keyframes heroDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(217, 83, 30, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(217, 83, 30, 0); }
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: heroTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

@keyframes heroTitleReveal {
  from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0% 0); }
}

.hero-title-accent {
  color: #D9531E;
  font-style: italic;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 540px;
  animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 0.95rem;
  }
}

.hero-subtitle strong {
  color: #FFFFFF;
}

/* CTAs */
.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
  animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

@media (min-width: 480px) {
  .hero-cta-row {
    flex-direction: row;
    align-items: center;
  }
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: #D9531E;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(217, 83, 30, 0.35);
}

.hero-cta-primary:hover {
  background: #BF4413;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(217, 83, 30, 0.5);
}

.hero-cta-primary .material-symbols-outlined {
  font-size: 18px;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-cta-secondary:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-cta-secondary .material-symbols-outlined {
  font-size: 18px;
}

/* Guarantees Strip */
.hero-guarantees {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
  flex-wrap: wrap;
}

.hero-guarantee-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-guarantee-value {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

@media (max-width: 480px) {
  .hero-guarantee-value {
    font-size: 0.8rem;
  }
}

.hero-guarantee-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-guarantee-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 480px) {
  .hero-guarantee-divider {
    height: 20px;
  }
}

/* Glass Card */
.hero-card-zone {
  display: flex;
  justify-content: center;
  animation: heroCardReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

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

.hero-glass-card {
  width: 100%;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.hero-card-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 0.5rem;
}

.hero-card-subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.15rem;
}

.hero-card-stats {
  width: 100%;
  margin: 1.25rem 0;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.hero-card-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.55rem;
  margin-bottom: 0.15rem;
}

.hero-card-stat-value {
  color: #FFFFFF;
  font-size: 0.85rem;
}

.hero-card-stat-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.1);
}

.hero-card-cta {
  width: 100%;
  padding: 0.75rem;
  border-radius: 14px;
  background: #FFFFFF;
  color: #0F1E36;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-card-cta:hover {
  background: #F3F4F6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-card-cta .material-symbols-outlined {
  font-size: 16px;
}

/* Slide Indicators */
.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.hero-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}

.hero-indicator--active {
  background: #D9531E;
  border-color: #D9531E;
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(217, 83, 30, 0.5);
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: none;
}

@media (min-width: 640px) {
  .hero-scroll-hint {
    display: block;
    bottom: 0.8rem;
  }
}

.hero-scroll-icon {
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  animation: heroScrollBounce 2s ease-in-out infinite;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Mobile adjustments for hero */
@media (max-width: 639px) {
  .hero-immersive {
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    width: calc(100% + 1rem);
    margin-left: -0.5rem;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    padding-top: 4rem;
  }

  .hero-glass-card {
    max-width: 100%;
    padding: 1.25rem;
  }

  .hero-indicators {
    bottom: 1.5rem;
  }

  .hero-main-title {
    font-size: 1.75rem;
  }
}

