/* --- Hero Section --- */
.hero-focus {
    margin-bottom: 40px;
}

.hero-glass {
    background: var(--grad-wow);
    box-shadow: var(--shadow-wow);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* --- Bouton Retour (Blanc sur dégradé) --- */
.hero-glass .btn-wow {
    background: white;
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    margin-top: 10px;
}

.hero-glass .btn-wow:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background: #f8fafc;
}

/* --- Grille de Templates --- */
.templates-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.template-card {
    height: 250px;
    border-radius: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.template-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-wow);
    border-color: var(--primary);
}

/* --- Bouton Personnaliser (Apparition au survol) --- */
.template-overlay {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0); /* Transparent par défaut */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.template-card:hover .template-overlay {
    background: rgba(99, 102, 241, 0.1); /* Teinte légère au survol */
}

.btn-customize {
    opacity: 0;
    transform: translateY(15px);
    background: var(--primary);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.template-card:hover .btn-customize {
    opacity: 1;
    transform: translateY(0);
}

/* --- Éléments Flottants --- */
.floating-element {
    font-size: 4rem;
    animation: float 6s ease-in-out infinite;
}

.secondary-float {
    font-size: 2.5rem;
    bottom: 10px;
    right: 10px;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}