@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;1,600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary-green: #0d4e38;
  --primary-green-light: #1a6b4f;
  --accent-orange: #d96c3c;
  --bg-cream: #faf7f2;
  --text-dark: #1a1a1a;
  --text-muted: #6b7280;
  --white: #ffffff;
  --border-color: #e5e7eb;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(13, 78, 56, 0.15);
  --shadow-gold: 0 8px 20px rgba(212, 175, 55, 0.4);
  
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 100px; 
  overflow-x: hidden; 
}

h1, h2, h3, .serif-title {
  font-family: 'Playfair Display', serif;
}

/* ============================================================
   HEADER & LOGO GIIDIO
   ============================================================ */
.hero {
  background: var(--bg-cream);
  padding: 1.5rem 1rem 1rem;
  text-align: center;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* 🎯 LOGO AGRANDI ICI */
.logo-image {
  max-width: 280px; /* Modifié de 220px à 280px */
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.logo-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

/* ============================================================
   BARRE DE RECHERCHE (ACCUEIL)
   ============================================================ */
.search-bar {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
  max-width: 600px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  z-index: 50;
  text-decoration: none;
  color: var(--text-muted);
}

/* ============================================================
   MAIN & SECTIONS
   ============================================================ */
main {
  flex: 1;
  padding: 0 1rem 2rem;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0 1rem;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.section-link {
  font-size: 0.8rem;
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 500;
}

/* ============================================================
   🎯 HERO CAROUSEL (SWIPE + SCROLL)
   ============================================================ */
.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
  overflow: hidden; 
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-carousel {
  display: flex;
  width: 100%;
  overflow-x: auto; 
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y; 
  overscroll-behavior-x: contain;
}

.hero-carousel::-webkit-scrollbar { display: none; }

.hero-card {
  flex: 0 0 100%;
  width: 100%;
  height: 220px;
  position: relative;
  display: block;
  text-decoration: none;
}

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

.hero-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--white);
  pointer-events: none;
}

.hero-card-overlay h2 { font-size: 1.4rem; margin-bottom: 0.2rem; font-family: 'Poppins', sans-serif; font-weight: 600; }
.hero-card-overlay p { font-size: 0.8rem; opacity: 0.9; }

/* Boutons flèches latéraux */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
  transition: transform 0.1s;
}

.hero-nav-btn:active { transform: translateY(-50%) scale(0.9); }
.hero-nav-btn.prev { left: 10px; }
.hero-nav-btn.next { right: 10px; }

/* ============================================================
   CATÉGORIES (GRILLE 4x1)
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--text-dark); }

.category-icon {
  width: 55px; height: 55px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white); box-shadow: var(--shadow-sm);
}

.cat-monuments { background: var(--accent-orange); }
.cat-museums { background: #2a7b6c; }
.cat-gastronomy { background: #c99c33; }
.cat-nature { background: #4a7c8c; }

.category-item span { font-size: 0.75rem; font-weight: 500; text-align: center; }

/* ============================================================
   CARTES VILLES (ACCUEIL)
   ============================================================ */
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.city-card {
  display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
}

.city-img { height: 120px; background-size: cover; background-position: center; position: relative; }
.city-fav { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.9); border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.city-info { padding: 0.75rem; }
.city-info h3 { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.2rem; }
.city-info p { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.city-info .star { color: var(--accent-orange); }

/* ============================================================
   BOUTON PREMIUM (AGENT IA TEXTUEL)
   ============================================================ */
.premium-cta {
  margin-top: 2rem; padding: 1.5rem; background: var(--primary-green);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  text-align: center; color: var(--white);
}

.premium-cta h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--white); }
.premium-cta p { font-size: 0.85rem; opacity: 0.9; margin-bottom: 1.25rem; line-height: 1.4; }

.btn-premium {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 1rem; background: var(--accent-orange); color: var(--white);
  font-size: 1rem; font-weight: 600; border-radius: var(--radius-md);
  text-decoration: none; box-shadow: 0 4px 12px rgba(217, 108, 60, 0.4);
}

/* ============================================================
   BARRE DE NAVIGATION (FIXE EN BAS)
   ============================================================ */
.bottom-nav {
  position: fixed; 
  bottom: 0; 
  left: 0; 
  right: 0; 
  background: var(--white);
  display: flex; 
  justify-content: space-around;
  align-items: center; 
  padding: 0 5px env(safe-area-inset-bottom); 
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06); 
  z-index: 100;
  height: 65px; 
}

.nav-item { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  text-decoration: none; 
  color: var(--text-muted); 
  font-size: 0.65rem; 
  gap: 4px; 
  width: 20%; 
  height: 100%;
}

.nav-item.active { color: var(--primary-green); font-weight: 600; }
.nav-icon { font-size: 1.4rem; }

/* 🎯 BOUTON CENTRAL "SCAN IA" */
.nav-item-camera {
  display: flex; flex-direction: column; align-items: center; text-decoration: none;
  width: 20%; height: 100%; position: relative;
}

.camera-circle {
  width: 65px; height: 65px;
  background: linear-gradient(135deg, #fce181, #d4af37); 
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold); border: 4px solid var(--white);
  cursor: pointer; position: absolute; top: -30px; transition: transform 0.15s ease; z-index: 101;
}

.camera-circle svg { width: 30px; height: 30px; fill: white; }
.camera-circle:active { transform: scale(0.9); }

.nav-item-camera span {
  font-size: 0.65rem; color: #2563eb; font-weight: 700;
  margin-top: 35px; letter-spacing: 0.5px;
}

/* ============================================================
   PAGES INTERNES (HEADER)
   ============================================================ */
.page-header {
  background: var(--primary-green); color: var(--white); padding: 1.5rem 1rem;
  display: flex; align-items: center; gap: 1rem;
  border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg);
}

.page-header h1 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 600; }

/* 🎯 BOUTON RETOUR AVEC ICÔNE SVG */
.back-btn {
  color: var(--white); 
  text-decoration: none; 
  background: rgba(255,255,255,0.2); 
  width: 40px; 
  height: 40px;
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: background 0.2s;
}
.back-btn:active {
  background: rgba(255,255,255,0.4);
}
.back-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

/* ============================================================
   GRILLE MONUMENTS / MUSÉES (LISTE)
   ============================================================ */
.monument-grid { display: flex; flex-direction: column; gap: 1rem; }

.monument-card {
  display: flex; background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; height: 110px;
}

.monument-img { width: 110px; height: 100%; background-size: cover; background-position: center; flex-shrink: 0; }
.monument-info { padding: 0.85rem; display: flex; flex-direction: column; justify-content: center; }
.monument-info h3 { font-size: 0.95rem; color: var(--text-dark); font-weight: 600; margin-bottom: 0.2rem; }
.monument-info p { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   FORMULAIRE (AGENT IA)
   ============================================================ */
form { background: var(--white); padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 1.25rem; }
form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--primary-green); margin-bottom: 0.5rem; }
form input[type="number"], form input[type="text"], form textarea {
  width: 100%; padding: 0.9rem; font-size: 16px; font-family: inherit; color: var(--text-dark);
  background: var(--bg-cream); border: 1px solid var(--border-color); border-radius: var(--radius-md);
}
form input:focus, form textarea:focus { outline: none; border-color: var(--primary-green); }

/* Custom Select (Villes) */
.custom-select { position: relative; width: 100%; }
.custom-select-trigger {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 0.9rem; font-size: 16px; font-weight: 500;
  color: var(--text-dark); background: var(--bg-cream);
  border: 1px solid var(--border-color); border-radius: var(--radius-md); cursor: pointer;
}
.custom-select-arrow { color: var(--primary-green); }
.custom-options {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 100; margin-top: 0.5rem;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); max-height: 200px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.2s ease;
}
.custom-select.open .custom-options { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-option { padding: 0.9rem; font-size: 0.95rem; cursor: pointer; }
.custom-option:hover, .custom-option.selected { background: var(--bg-cream); color: var(--primary-green); font-weight: 600; }

form button[type="submit"] {
  width: 100%; padding: 1rem; font-size: 1rem; font-weight: 600;
  background: var(--accent-orange); color: var(--white);
  border: none; border-radius: var(--radius-md); cursor: pointer;
  box-shadow: 0 4px 12px rgba(217, 108, 60, 0.3); margin-top: 0.5rem;
}

/* ============================================================
   GRILLE DE SÉLECTION DU STYLE DE VOYAGE (ICÔNES)
   ============================================================ */
.style-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.style-option {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.style-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.style-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  background: var(--bg-cream);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.style-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.style-name { font-size: 0.8rem; font-weight: 600; color: var(--text-dark); }

.style-option input[type="radio"]:checked + .style-card {
  background: #eff6ff;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(13, 78, 56, 0.1);
  transform: scale(0.98);
}

.style-option:hover .style-card { border-color: #93c5fd; }

/* ============================================================
   LOADER PREMIUM (CHARGEMENT DE L'IA)
   ============================================================ */
.premium-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

.loader-circle {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.loader-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse-icon { display: inline-block; animation: pulse 1s infinite alternate; }

/* ============================================================
   GASTRONOMIE & NATURE (CARROUSEL)
   ============================================================ */
.gastronomie-grid { display: flex; flex-direction: column; gap: 1.5rem; }

.resto-card-mobile {
  background: var(--white); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border-color);
  display: flex; flex-direction: column; position: relative;
}

.carousel-container {
  position: relative; width: 100%; height: 300px; background: #e5e7eb;
  touch-action: pan-y; overscroll-behavior: contain;
}

.carousel-track {
  display: flex; width: 100%; height: 100%; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 100%; width: 100%; height: 100%;
  scroll-snap-align: start; overflow: hidden;
}

.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-user-drag: none; user-select: none;
}

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; background: rgba(255, 255, 255, 0.9);
  border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--primary-green); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); z-index: 10;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-btn:active { transform: translateY(-50%) scale(0.9); }

.fav-btn {
  position: absolute; top: 15px; right: 15px; width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.9); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--text-dark); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); z-index: 10;
}

.carousel-dots {
  position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: all 0.2s; }
.dot.active { background: var(--white); width: 20px; border-radius: 4px; }

.resto-info-mobile { padding: 1.25rem; }
.resto-info-mobile h3 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; color: var(--text-dark); font-weight: 600; margin-bottom: 0.2rem; }
.resto-courte { font-size: 0.9rem; color: var(--accent-orange); font-weight: 500; margin-bottom: 0.5rem; }
.resto-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   RÉSULTATS DE L'AGENT IA (DESIGN PREMIUM)
   ============================================================ */
.recommendation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.recommendation-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 6px;
  background: var(--primary-green);
}

.reco-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.reco-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.reco-badge {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  border: 1px solid #fcd34d;
}

.reco-content { padding-left: 0.5rem; }

.reco-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.reco-details {
  background: var(--bg-cream);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.reco-details p {
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  display: flex;
  gap: 0.5rem;
}

.reco-details p:last-child { margin-bottom: 0; }
.reco-details .icon { font-size: 1rem; }

.reco-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem;
  background: var(--primary-green);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s;
}

.reco-btn:active { background: var(--primary-green-light); }

#error { margin-top: 1rem; padding: 1rem; background: #fee2e2; color: #b91c1c; border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 600; }
.hidden { display: none !important; }

/* ============================================================
   CARTE POSTALE (DESIGN PREMIUM)
   ============================================================ */
.page-postcard { 
  background: #0f172a; 
  min-height: 100vh; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  padding: 1.5rem 1rem; 
}

.postcard-topbar {
  width: 100%;
  max-width: 400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  color: white;
}

.postcard-back {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.postcard-back:hover { opacity: 1; }

.postcard-counter {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
}

.postcard-container {
  width: 100%;
  max-width: 400px;
}

.postcard { 
  background: #fffdf7; 
  border-radius: 8px; 
  overflow: hidden; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
  transform: rotate(-1.5deg); 
  transition: transform 0.3s ease;
}

.postcard:hover { transform: rotate(0deg); }

.postcard-photo { 
  width: 100%; 
  aspect-ratio: 4/3; 
  padding: 12px 12px 0; 
  background: #fffdf7; 
}

.postcard-photo img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  border-radius: 4px; 
  display: block;
}

.img-fallback {
  width: 100%;
  height: 100%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 0.9rem;
  border-radius: 4px;
}

.postcard-body { 
  padding: 1.25rem; 
  position: relative; 
  background-image: repeating-linear-gradient(
    transparent, transparent 29px, rgba(148, 163, 184, 0.15) 29px, rgba(148, 163, 184, 0.15) 30px
  );
}

.postcard-stamp { 
  position: absolute; 
  top: 1rem; 
  right: 1rem; 
  background: var(--accent-orange); 
  color: white; 
  padding: 0.3rem 0.6rem; 
  font-size: 0.6rem; 
  font-weight: 700; 
  border-radius: 4px; 
  transform: rotate(6deg); 
  letter-spacing: 0.1em;
}

.postcard-title { 
  font-size: 1.4rem; 
  color: var(--text-dark); 
  margin-bottom: 0.5rem; 
  padding-right: 5rem;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.postcard-description { 
  font-size: 0.85rem; 
  color: var(--text-muted); 
  line-height: 1.6; 
  font-family: Georgia, serif;
}

.postcard-footer { 
  display: flex; 
  justify-content: space-between; 
  margin-top: 1rem; 
  padding-top: 0.75rem; 
  border-top: 1px solid var(--border-color); 
  font-size: 0.75rem; 
  color: var(--accent-orange); 
  font-weight: 600; 
  text-transform: uppercase;
}

.postcard-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  width: 100%;
}

.postcard-btn {
  flex: 1;
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.postcard-btn:active { background: rgba(255,255,255,0.2); }

.postcard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.05);
  padding: 0.5rem;
  border-radius: 50px;
}

.postcard-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.postcard-nav-btn:disabled { opacity: 0.2; }
.postcard-nav-center { color: white; text-decoration: none; font-size: 0.9rem; opacity: 0.8; }

/* ============================================================
   VISION LOADER (TRANSPARENT & PROFESSIONNEL)
   ============================================================ */

.vision-loader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250, 247, 242, 0.6); 
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: flex-end; 
  justify-content: center;
  padding-bottom: 120px; 
  transition: opacity 0.3s ease;
}

.vision-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  max-width: 320px;
  width: 90%;
  text-align: center;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.magnifier {
  font-size: 3rem;
  display: inline-block;
  animation: scan 1.5s ease-in-out infinite alternate;
  margin-bottom: 0.5rem;
}

@keyframes scan {
  0% { transform: scale(1) rotate(-10deg); }
  100% { transform: scale(1.15) rotate(10deg); }
}

.vision-box h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: var(--primary-green);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.vision-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.vision-hint {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-orange);
  animation: pulse 1.5s infinite;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}