body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

/* ========================================================= */
/* --- MENU DÉGRADÉ FLOTTANT (IDENTIQUE SUR TOUTES LES PAGES)--- */
/* ========================================================= */
.site-header { 
    position: sticky !important; 
    top: 15px !important; 
    z-index: 9999 !important; 
    background: linear-gradient(90deg, #ff7b00, #00c2ff) !important; 
    color: #fff !important; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important; 
    width: calc(100% - 30px) !important; 
    max-width: 1200px !important; 
    margin: 15px auto 40px auto !important; 
    border-radius: 16px !important; 
    padding: 0 !important; 
    border: none !important; 
    box-sizing: border-box !important; /* Uniformise la taille avec l'accueil */
}

.hero { 
    display: flex !important; 
    align-items: center !important; 
    justify-content: space-between !important; 
    padding: 10px 20px !important; 
    background: transparent !important; 
    box-sizing: border-box !important;
    min-height: 80px !important; /* Force une hauteur standard */
}

.brand-group { display: flex !important; align-items: center !important; gap: 14px !important; text-decoration: none !important; }

.brand-group img.logo { 
    width: 60px !important; 
    height: 60px !important; 
    border-radius: 10px !important; 
    background: #fff !important; 
    padding: 2px !important; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; 
    margin: 0 !important; 
    border: none !important;
    box-sizing: border-box !important;
}

h1.logo-title { 
    font-size: clamp(16px, 2vw, 20px) !important; 
    font-weight: 700 !important; 
    margin: 0 !important; 
    font-family: 'Poppins', sans-serif !important; 
    color: #fff !important; 
    text-align: left !important; 
    border: none !important; /* Supprime la ligne grise sur le catalogue */
    padding: 0 !important; 
    line-height: 1.2 !important;
}

.hero-text .sub { 
    font-size: 0.85rem !important; 
    opacity: 0.95 !important; 
    margin: 4px 0 0 !important; 
    font-family: 'Poppins', sans-serif !important; 
    color: #fff !important; 
    border: none !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* --- NOUVEAUX BOUTONS DU MENU --- */
.nav-links { 
    display: flex !important; 
    gap: 10px !important; 
    align-items: center !important; 
    flex-wrap: wrap !important; 
    justify-content: center !important; 
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links a { 
    background-color: #ffffff !important; 
    color: #007bff !important; 
    padding: 8px 16px !important; 
    border-radius: 8px !important; 
    text-decoration: none !important; 
    font-weight: 700 !important; 
    font-size: 0.90rem !important; 
    font-family: 'Poppins', sans-serif !important; 
    text-transform: uppercase !important; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important; 
    transition: all 0.3s ease !important; 
    text-align: center !important; 
    box-sizing: border-box !important; /* Uniformise les boutons avec l'accueil */
    border: none !important;
    line-height: 1.5 !important;
}

.nav-links a:hover { 
    background-color: #05037b !important; 
    color: #ffffff !important; 
    transform: translateY(-2px) !important; 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important; 
}

/* --- ADAPTATION ULTRA-COMPACTE POUR LES TÉLÉPHONES --- */
@media (max-width: 768px) {
  .site-header { width: calc(100% - 14px) !important; margin: 5px auto 15px auto !important; top: 5px !important; }
  .hero { flex-direction: column !important; gap: 8px !important; text-align: center !important; padding: 12px 10px !important; }
  .brand-group img.logo { width: 40px !important; height: 40px !important; }
  .nav-links { flex-wrap: wrap !important; justify-content: center !important; gap: 6px !important; width: 100% !important; }
  .nav-links a { flex: 1 1 auto !important; font-size: 0.75rem !important; padding: 6px 4px !important; } 
  .hero-text .sub { display: none !important; } 
  h1.logo-title { text-align: center !important; font-size: 1.1rem !important; }
}

/* Grille principale */
.studio-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 280px auto 350px; justify-content: center; gap: 30px; padding: 0 20px; }
@media (max-width: 1100px) { .studio-container { grid-template-columns: 1fr; } }

/* Boites (Panneaux) */
.step-box { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 20px; }
.highlight-box { border: 2px solid #007bff; }
.step-box h3 { margin-top: 0; color: #0056b3; font-size: 1.1rem; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.step-box label { display: block; font-weight: bold; margin-bottom: 5px; font-size: 0.9rem; }
.step-box select, .step-box input[type="file"], .step-box input[type="text"], .step-box input[type="email"], .step-box input[type="tel"], .step-box textarea, .step-box input[type="number"] { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; }
.flex-row { display: flex; gap: 10px; }

/* Boutons */
.btn-action { width: 100%; background-color: #28a745; color: white; border: none; padding: 12px; border-radius: 6px; font-size: 1rem; font-weight: bold; cursor: pointer; transition: 0.2s; }
.btn-action:hover { background-color: #218838; }
.btn-danger { background-color: #dc3545; color: white; }
.btn-ghost { background-color: transparent; border: 1px solid #ccc; padding: 8px; border-radius: 6px; cursor: pointer; }

/* Outils d'édition */
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-btn { flex: 1; min-width: 100px; padding: 8px; border: 1px solid #ccc; border-radius: 4px; background: #f8f9fa; cursor: pointer; font-size: 0.85em; }
.tool-btn:hover { background: #e2e6ea; }

/* CANVAS (Espace de travail) */
.panel-center { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 100%; }
.canvas-wrapper { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1; background-color: #ffffff; border: 3px solid #ccc; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 20px rgba(0,0,0,0.1); transition: background-color 0.3s ease; }
.canvas-container, .canvas-container canvas { width: 100% !important; height: 100% !important; }
.canvas-hint { font-size: 0.95em; color: #666; margin-top: 15px; font-weight: bold; text-align: center; }

/* Panier / Recap */
.cart-items { display: flex; flex-direction: column; gap: 15px; }
.cart-item { display: flex; gap: 10px; padding: 10px; border: 1px solid #eee; border-radius: 8px; background: #f9f9f9; }
.cart-item-info { flex: 1; font-size: 0.85rem; }
.cart-item-info h4 { margin: 0 0 5px 0; font-size: 1em; color: #0056b3; }
.cart-item-info p { margin: 2px 0; }
.btn-remove-item { background: transparent; border: none; color: #dc3545; cursor: pointer; font-weight: bold; padding: 0; margin-top: 5px; }
.status-message { margin-top: 10px; text-align: center; font-weight: bold; font-size: 0.9em; }
.status-success { color: #28a745; }
.status-error { color: #dc3545; }

#btn-delete { background-color: #fff0f0; color: #494242; border: 1px solid #dc3545; font-weight: bold; opacity: 1; }
#btn-delete:hover { background-color: #b6ecc0; color: #494242; }

/* --- FOOTER DESIGN --- */
.site-footer {
    background-color: #1a2436 !important; /* Bleu très foncé pro */
    color: #ffffff !important;
    padding: 40px 20px 20px 20px !important;
    margin-top: 60px !important;
    font-family: 'Poppins', sans-serif !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.footer-logo {
    width: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.site-footer h4 {
    color: #ff7b00; /* Rappel de votre orange orange */
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1rem;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #00c2ff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.fb-btn, .msn-btn {
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.fb-btn { background-color: #1877f2; } /* Bleu Facebook */
.msn-btn { background-color: #0084ff; } /* Bleu Messenger */

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
}

/* Ajustement Mobile */
@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .site-footer { padding: 30px 15px 15px 15px !important; }
}

/* --- STYLE DE LA NAVIGATION FOOTER --- */
.footer-nav h4 {
    color: #ff7b00 !important; /* Votre orange pro */
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    font-size: 1rem !important;
}

.footer-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-nav ul li {
    margin-bottom: 10px !important;
}

.footer-nav ul li a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.3s ease !important;
}

.footer-nav ul li a:hover {
    color: #00c2ff !important; /* Votre bleu clair */
}

/* Mise à jour de la grille pour 4 colonnes sur PC */
.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 30px !important;
    text-align: center !important;
}