/**
 * UFK App CSS - Styles personnalisés du projet cms.swiss-green.ch
 * 
 * Ce fichier surcharge les styles du framework (core.css)
 * Il est chargé APRÈS core.css, permettant de personnaliser le projet
 * 
 * 🔒 Protection : Ce fichier ne sera JAMAIS écrasé lors des mises à jour UFK
 */

/* ============================================================================
   POLICES PERSONNALISÉES - Montserrat (Google Fonts)
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;900&display=swap');

/* ============================================================================
   Variables personnalisées - Thème Swiss Green
   ============================================================================ */
:root {
    /* Couleur principale du projet - Emerald (innovation) */
    /* Note: Logo actuel #58A333 - À harmoniser si validé */
    --primary-color: #2ecc71;
    --primary-hover: #27ae60;
    --primary-light: #E8F5E0; /* Vert chaud - pont entre emerald et logo */
    --primary-dark: #1e8449;
    
    /* Dégradés */
    --primary-gradient: linear-gradient(135deg, #2ecc71, #27ae60);
    
    /* Hero gradient - Emerald avec transparence pour superposition d'images */
    --hero-gradient: linear-gradient(135deg, rgba(46, 204, 113, 0.95) 0%, rgba(39, 174, 96, 0.95) 100%);
    --hero-gradient-solid: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    
    /* Police personnalisée - Montserrat */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================================
   HERO GRADIENT - Classe réutilisable pour tous les hero
   ============================================================================ */

/* Hero avec gradient emerald (remplace les styles inline) */
.hero-emerald {
    background: var(--hero-gradient-solid);
}

.hero-emerald h1 {
    color: white;
}

.hero-emerald .hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.hero-emerald .hero-description {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Badge hero (icône + texte) */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

/* Boutons hero */
.hero-emerald .btn.btn-hero-primary {
    background: white !important;
    color: #27ae60 !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-emerald .btn.btn-hero-primary svg {
    color: #27ae60 !important;
}

.hero-emerald .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

/* Hovers boutons hero */
.hero-emerald .btn-hero-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-emerald .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Actions hero (boutons) */
.hero-emerald .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-emerald .hero-actions .btn {
    padding: 1rem 2rem;
}

/* Hero SMARTES - titre plus grand */
.hero-emerald.hero-smartes h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.hero-emerald.hero-smartes .hero-subtitle {
    font-size: 1.5rem;
}

.hero-emerald.hero-smartes .hero-description {
    margin-top: 1.5rem;
}

/* Mode sombre - Adaptation des couleurs vertes */
[data-theme="dark"] {
    --primary-color: #6bc140;
    --primary-hover: #58A333;
    --primary-light: #2d4a1e;
    --primary-dark: #7fd34e;
}

/* ============================================================================
   TYPOGRAPHIE - Montserrat (titres/impact) + Inter (texte/UI)
   ============================================================================
   
   RÈGLE TYPOGRAPHIQUE :
   - Montserrat : Titres, branding, héros, éléments d'impact
   - Inter : Corps de texte, boutons, navigation, UI interactive
   
   Pourquoi ce mix fonctionne :
   - Contraste géométrique (Montserrat) vs humaniste (Inter)
   - Montserrat = caractère et impact visuel
   - Inter = lisibilité optimale pour le contenu
   ============================================================================ */

/* Base : Inter pour tout le corps (lisibilité maximale) */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================================
   MONTSERRAT - Éléments d'impact et branding
   ============================================================================ */

/* Titres principaux - Montserrat pour l'impact */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Titres secondaires - Montserrat semibold */
h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Hero - Maximum d'impact */
.hero h1,
.hero-title,
.hero-search-title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtitle,
.hero-search-subtitle {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Branding */
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Footer headings */
.footer-heading {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Stats et chiffres clés */
.stats-grid .stat-value,
.stat-number {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ============================================================================
   INTER - UI interactive et lisibilité
   ============================================================================ */

/* Boutons - Inter pour lisibilité (petits textes) */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Navigation - Inter pour clarté */
.nav-link,
.navbar-nav a,
.footer-links-list a {
    font-family: 'Inter', sans-serif;
}

/* Breadcrumb - Inter */
.breadcrumb {
    font-family: 'Inter', sans-serif;
}

/* Tags et badges - Inter */
.tag, .badge,
.article-meta {
    font-family: 'Inter', sans-serif;
}

/* Formulaires - Inter */
input, textarea, select, button {
    font-family: 'Inter', sans-serif;
}

/* ============================================================================
   Classes utilitaires
   ============================================================================ */

/* Forcer Montserrat */
.font-heading {
    font-family: var(--font-heading);
}

/* Forcer Inter */
.font-body {
    font-family: 'Inter', sans-serif;
}

/* Poids Montserrat */
.heading-light { font-family: var(--font-heading); font-weight: 300; }
.heading-regular { font-family: var(--font-heading); font-weight: 400; }
.heading-medium { font-family: var(--font-heading); font-weight: 500; }
.heading-semibold { font-family: var(--font-heading); font-weight: 600; }
.heading-bold { font-family: var(--font-heading); font-weight: 700; }
.heading-black { font-family: var(--font-heading); font-weight: 900; }

/* ============================================================================
   Vos styles personnalisés commencent ici
   ============================================================================ */

/* Espacement entre header et contenu principal */
/* Pas de padding-top car les pages principales ont des hero collés au header */
#main-content {
    padding-top: 0;
}

/* ============================================================================
   ANCRES - Offset pour header fixe
   ============================================================================ */

/* Compense la hauteur du header fixe lors du scroll vers les ancres */
[id] {
    scroll-margin-top: 100px;
}

/* Sections principales avec ancres */
section[id] {
    scroll-margin-top: 120px;
}

/* ============================================================================
   BOUTONS OUTLINE - Navigation ancres
   ============================================================================ */

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.btn-outline:visited {
    color: var(--primary-color);
}

.btn-outline:visited:hover {
    color: white;
}

/* ============================================================================
   LIENS - Reset visited pour tous les boutons
   ============================================================================ */

.btn:visited,
.btn-primary:visited {
    color: inherit;
}

.btn-primary:visited {
    color: white;
}

/* Liens ancres dans les boutons - pas de style visited bleu/violet */
a.btn[href^="#"],
a.btn-outline[href^="#"],
a.btn-primary[href^="#"] {
    color: inherit;
}

a.btn-outline[href^="#"] {
    color: var(--primary-color);
}

a.btn-outline[href^="#"]:hover {
    color: white;
}

a.btn-primary[href^="#"] {
    color: white;
}

/* ============================================================================
   HERO SEARCH - Style avec image de fond
   ============================================================================ */

.hero-search {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
    background-color: #0d2a1a; /* Harmonisé avec emerald #2ecc71 (famille vert frais) */
}

/* Image de fond avec proportions préservées */
.hero-search-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0.2;
}

.hero-search-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

/* Sous-titre vert */
.hero-search-subtitle {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary-color, #58A333);
    margin-bottom: 1.5rem;
}

/* Titre principal */
.hero-search-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    line-height: 1.2;
    margin: 0 0 2.5rem 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Conteneur blanc autour de la recherche */
.hero-search-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.875rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto 0.5rem auto;
    max-width: 650px;
    width: 100%;
}

/* Barre de recherche */
.hero-search-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.hero-search-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 0.625rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    background: #f9f9f9;
    color: #333;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-search-input:focus {
    border-color: var(--primary-color, #58A333);
    background: white;
}

.hero-search-input::placeholder {
    color: #999;
}

.hero-search-btn {
    background: var(--primary-color, #58A333);
    color: white;
    border: none;
    border-radius: 0.625rem;
    padding: 1rem 1.75rem;
    font-family: inherit;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: var(--primary-hover, #4a8c2a);
    transform: translateY(-1px);
}

/* CTA en bas */
.hero-search-cta {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.hero-search-cta a {
    color: var(--primary-color, #58A333);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-search-cta a:hover {
    color: var(--primary-hover, #4a8c2a);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
    .hero-search {
        min-height: 60vh;
        padding: 3rem 1rem;
    }
    
    .hero-search-subtitle {
        font-size: 0.75rem;
    }
    
    .hero-search-title {
        font-size: 1.785rem;
    }
    
    .hero-search-wrapper {
        padding: 1.25rem 1rem;
    }
    
    .hero-search-form {
        flex-direction: column;
    }
    
    .hero-search-input {
        width: 100%;
        text-align: left;
    }
    
    .hero-search-btn {
        width: 100%;
    }
    
    .hero-search-cta {
        font-size: 0.75rem;
        margin-bottom: 4rem;
    }
}

/* Indicateur de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    border-color: white;
    color: white;
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

@media (max-width: 640px) {
    .scroll-indicator {
        width: 40px;
        height: 40px;
        bottom: 1.5rem;
    }
    
    .scroll-indicator svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================================================
   BANDEAU DES MARQUES
   ============================================================================ */

.brands-banner {
    background: #f5f5f5;
    padding: 2rem 1rem;
    margin-top: 0 !important;
    margin-bottom: 1.5rem;
}

.brands-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.brand-logo {
    height: 40px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .brands-container {
        gap: 2rem;
    }
    
    .brand-logo {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .brands-banner {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .brands-container {
        gap: 1.5rem;
    }
    
    .brand-logo {
        height: 24px;
    }
}

/* ============================================================================
   FOOTER - Système accordéon mobile ultra-compact
   ============================================================================ */

/* Footer base */
.footer {
    background: #ECF4EA;
    border-top: 1px solid var(--border-color, #e5e7eb);
    margin-top: 3rem;
    padding: 0;  /* Override core.css padding pour gérer manuellement */
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Desktop : Fat Footer 4 colonnes */
.footer-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0 0 0;  /* Pas de padding-bottom, margin-top du copyright gère l'espacement */
}

.footer-column {
    min-width: 0;
    text-align: left;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    text-align: left;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: var(--primary-color, #58A333);
}

/* Mobile : Accordéon caché sur desktop */
.footer-accordion {
    display: none;
}

/* Mobile : Accordéon maître et éléments mobiles cachés sur desktop */
.footer-master-accordion,
.footer-mobile-compact,
.footer-mobile-header,
.footer-copyright-inline {
    display: none;
}

/* Copyright bar desktop */
.footer-copyright {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color, #e5e7eb);
    margin-top: 1.0rem;
}

.footer-copyright p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Footer social icons - Centrées */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(88, 163, 51, 0.1);
    border-radius: 50%;
    color: var(--primary-color, #58A333);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color, #58A333);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 163, 51, 0.3);
}

.footer-social svg {
    width: 22px;
    height: 22px;
}

/* ============================================================================
   FOOTER MOBILE - Accordéon ultra-compact
   ============================================================================ */

@media (max-width: 768px) {
    /* Cacher fat footer desktop */
    .footer-columns {
        display: none;
    }
    
    /* Cacher copyright desktop */
    .footer-copyright-desktop {
        display: none;
    }
    
    /* Afficher footer mobile compact */
    .footer-mobile-compact {
        display: block;
    }
    
    /* Header mobile : Bouton + Copyright inline */
    .footer-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 0;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color, #e5e7eb);
    }
    
    .footer-master-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 0.9375rem;
        font-weight: 600;
        padding: 0;
        cursor: pointer;
        transition: color 0.2s ease;
        flex-shrink: 0;
    }
    
    .footer-master-toggle:hover {
        color: var(--primary-color, #58A333);
    }
    
    .footer-master-toggle svg {
        width: 18px;
        height: 18px;
        color: var(--text-secondary);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    
    .footer-mobile-compact.active .footer-master-toggle svg {
        transform: rotate(180deg);
    }
    
    /* Copyright inline à droite (visible par défaut) */
    .footer-copyright-inline {
        display: block;
        text-align: right;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .footer-copyright-inline p {
        margin: 0;
        color: var(--text-secondary);
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    /* Quand master ouvert : cacher copyright inline */
    .footer-mobile-compact.active .footer-copyright-inline {
        display: none;
    }
    
    /* Copyright desktop mobile : caché par défaut */
    .footer-copyright-desktop {
        display: none;
    }
    
    /* Quand master ouvert : afficher copyright en bas */
    .footer-mobile-compact.active ~ .footer-copyright-desktop {
        display: block;
        padding: 0 0 1.25rem 0;
        margin-top: 1rem;
        border-top: none;
    }
    
    .footer-mobile-compact.active ~ .footer-copyright-desktop p {
        font-size: 0.8125rem;
    }
    
    /* Contenu maître caché par défaut */
    .footer-master-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s ease;
    }
    
    .footer-mobile-compact.active .footer-master-content {
        max-height: 2000px;
        opacity: 1;
    }
    
    /* Afficher accordéon secondaire à l'intérieur */
    .footer-accordion {
        display: block;
        padding: 0;
    }
    
    .footer-section {
        border-bottom: 1px solid var(--border-color, #e5e7eb);
    }
    
    /* Section coordonnées toujours visible sur mobile */
    .footer-section-company {
        border-top: 1px solid var(--border-color, #e5e7eb);
        padding: 1rem 0;
        text-align: left;
    }
    
    .footer-section-company .footer-logo {
        display: block;
    }
    
    .footer-section-company p {
        text-align: left;
    }
    
    .footer-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 0.9375rem;
        font-weight: 600;
        padding: 1rem 0.5rem;
        cursor: pointer;
        text-align: left;
        transition: color 0.2s ease;
    }
    
    .footer-toggle:hover {
        color: var(--primary-color, #58A333);
    }
    
    .footer-toggle svg {
        width: 20px;
        height: 20px;
        color: var(--text-secondary);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    
    .footer-section.active .footer-toggle svg {
        transform: rotate(180deg);
    }
    
    /* Liste cachée par défaut */
    .footer-section .footer-links-list {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        padding-left: 0.5rem;
    }
    
    .footer-section.active .footer-links-list {
        max-height: 500px;
        opacity: 1;
        padding-bottom: 1rem;
    }
    
    .footer-section .footer-links-list li {
        margin-bottom: 0.75rem;
    }
    
    .footer-section .footer-links-list a {
        font-size: 0.875rem;
    }
}

/* ============================================================================
   MODE SOMBRE - Footer
   ============================================================================ */

[data-theme="dark"] .footer {
    background: var(--bg-primary);
}

[data-theme="dark"] .footer-columns,
[data-theme="dark"] .footer-accordion,
[data-theme="dark"] .footer-copyright,
[data-theme="dark"] .footer-master-accordion {
    border-color: var(--gray-700);
}

[data-theme="dark"] .footer-heading {
    color: #f3f4f6;
}

[data-theme="dark"] .footer-links-list a {
    color: #d1d5db;
}

[data-theme="dark"] .footer-links-list a:hover {
    color: var(--primary-color, #6bc140);
}

[data-theme="dark"] .footer-toggle,
[data-theme="dark"] .footer-master-toggle {
    color: #f3f4f6;
}

[data-theme="dark"] .footer-toggle:hover,
[data-theme="dark"] .footer-master-toggle:hover {
    color: var(--primary-color, #6bc140);
}

[data-theme="dark"] .footer-copyright p {
    color: #9ca3af;
}

[data-theme="dark"] .footer-social a {
    background: rgba(107, 193, 64, 0.15);
    color: var(--primary-color, #6bc140);
}

[data-theme="dark"] .footer-social a:hover {
    background: var(--primary-color, #6bc140);
    color: white;
}

/* ============================================================================
   CARTES ODOO - Formulaires contact
   ============================================================================ */

.odoo-card {
    display: block;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.odoo-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.odoo-card-content {
    text-align: center;
}

.odoo-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.odoo-card:hover .odoo-card-icon {
    transform: scale(1.1);
}

.odoo-card-title {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.odoo-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Couleurs spécifiques des icônes */
.odoo-card-icon--green { background: var(--primary-color); }
.odoo-card-icon--red { background: #e74c3c; }
.odoo-card-icon--blue { background: #3498db; }
.odoo-card-icon--orange { background: #e67e22; }
.odoo-card-icon--purple { background: #9b59b6; }

/* Mode sombre */
[data-theme="dark"] .odoo-card {
    background: var(--bg-secondary);
}

[data-theme="dark"] .odoo-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
