/* Styles personnalisés pour Ghost-IA.com */

:root {
    /* Palette de couleurs inspirée de Ghost-IA */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #818cf8;
    --color-secondary: #8b5cf6;
    --color-accent: #ec4899;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #06b6d4;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

/* Accessibilité: lien d’évitement (skip link) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0.75rem;
    z-index: 10000;
    background: #111827;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.skip-link:focus {
    left: 0.75rem;
    outline: 3px solid rgba(99, 102, 241, 0.6);
    outline-offset: 2px;
}

/* Animations au scroll (fade-in) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 500ms ease, transform 500ms ease;
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Sommaire pages légales */
.legal-toc {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 16px;
    padding: 1rem 1.25rem;
}
.legal-toc-title {
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.legal-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.35rem;
}
.legal-toc-item {
    margin: 0;
}
.legal-toc-link {
    color: var(--color-primary-dark);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(255,255,255,0.65);
}
.legal-toc-link:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.25);
    text-decoration: none;
}

main {
    flex: 1;
}

/* Navbar */
.navbar {
    background: var(--theme-nav-bg, var(--color-bg)) !important;
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.2;
}

.logo-ghost-text {
    font-weight: 700;
    color: #1e3a8a; /* Bleu foncé pour Ghost */
    letter-spacing: -0.02em;
}

.logo-hyphen {
    font-weight: 700;
    color: #1e3a8a; /* Bleu foncé pour le tiret */
    letter-spacing: -0.02em;
}

.logo-ia-text {
    font-weight: 700;
    background: linear-gradient(90deg, #14b8a6 0%, #60a5fa 100%); /* Dégradé turquoise-vert vers bleu clair sur IA */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    display: inline-block;
}

.logo-dot {
    color: #1e3a8a; /* Bleu foncé pour le point */
    font-weight: 700;
    margin: 0 0.05em;
}

.logo-com {
    color: #3b82f6; /* Bleu moyen */
    font-weight: 400; /* Plus léger */
    letter-spacing: -0.01em;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--color-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary) !important;
}

.navbar-nav .nav-link.btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white !important;
    border: none;
    padding: 0.5rem 1.5rem !important;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: auto;
    line-height: 1.5;
    margin: 0 0.5rem;
    display: inline-flex;
    align-items: center;
}

.navbar-nav .nav-link.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white !important;
}

.navbar-nav .form-select {
    margin: 0 0.5rem;
    height: calc(0.5rem * 2 + 1.5rem + 2px);
    padding: 0.5rem 1.75rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
}

.navbar-nav .nav-item.d-flex {
    margin-left: 0.5rem;
}

/* Menu Mobile - Améliorations */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--color-border);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 0.875rem 1rem !important;
        border-radius: 0.75rem;
        font-weight: 500;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .navbar-nav .nav-link:not(.btn):not(.dropdown-toggle):hover {
        background-color: var(--color-bg-alt);
        color: var(--color-primary) !important;
        transform: translateX(4px);
    }
    
    .navbar-nav .nav-link.btn,
    .navbar-nav .nav-link.mobile-nav-btn {
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
        color: white !important;
        border: none;
        padding: 0.875rem 1.5rem !important;
        border-radius: 0.75rem;
        font-weight: 600;
        margin: 0.5rem 0;
        width: 100%;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        transition: all 0.2s ease;
    }
    
    .navbar-nav .nav-link.btn:hover,
    .navbar-nav .nav-link.mobile-nav-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
        color: white !important;
    }
    
    .navbar-nav .nav-link.dropdown-toggle {
        background-color: transparent;
        border: 1px solid var(--color-border);
        border-radius: 0.75rem;
    }
    
    .navbar-nav .nav-link.dropdown-toggle:hover {
        background-color: var(--color-bg-alt);
        border-color: var(--color-primary);
    }
    
    .dropdown-menu.mobile-dropdown {
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0.75rem;
        margin-top: 0.5rem;
        padding: 0.5rem;
        width: 100%;
    }
    
    .dropdown-item.mobile-dropdown-item {
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
        font-weight: 500;
    }
    
    .dropdown-item.mobile-dropdown-item:hover {
        background-color: var(--color-bg-alt);
        color: var(--color-primary);
        transform: translateX(4px);
    }
    
    .dropdown-item.mobile-dropdown-item.text-danger:hover {
        background-color: rgba(239, 68, 68, 0.1);
        color: var(--color-danger) !important;
    }
    
    .mobile-menu-toggle {
        border: 1px solid var(--color-border);
        border-radius: 0.5rem;
        padding: 0.5rem 0.75rem;
        transition: all 0.2s ease;
    }
    
    .mobile-menu-toggle:hover {
        background-color: var(--color-bg-alt);
        border-color: var(--color-primary);
    }
    
    .mobile-menu-toggle:focus {
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }
    
    .navbar-nav .nav-link i {
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: var(--spacing-2xl) 0;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Badge hero */
.hero-badge {
    animation: fadeInUp 0.8s ease 0.1s both;
}

.badge-text {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Features hero */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1rem;
}

.hero-feature-item svg {
    color: #10b981;
    flex-shrink: 0;
}

/* CTA Section */
.hero-cta-section {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta-btn {
    background: white;
    color: var(--color-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: auto;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.hero-cta-btn svg {
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover svg {
    transform: translateX(5px);
}

/* Stats hero */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-left: 2rem;
}

.hero-stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    color: white;
}

/* Éléments décoratifs flottants */
.hero-decorative-elements {
    position: relative;
    width: 100%;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.floating-card .card-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.floating-card.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: 15%;
    animation-delay: 2s;
}

.floating-card.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

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

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

/* Responsive hero section - Mobile */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0 !important;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        margin-left: 0;
        justify-content: space-around;
        width: 100%;
    }
    
    .hero-decorative-elements {
        height: 300px;
        margin-top: 2rem;
    }
    
    .floating-card {
        padding: 1rem;
    }
    
    .floating-card .card-icon {
        font-size: 2rem;
    }
    
    .floating-card .card-text {
        font-size: 0.8rem;
    }
}
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .btn {
        width: 100%;
        display: block;
        margin-top: 1rem !important;
    }
    
    .hero-section img {
        max-height: 250px;
        margin-top: 1.5rem;
    }

.hero-image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: var(--spacing-xl);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Image hero - Intégrée au background comme appel à l'action */
.hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    opacity: 0.4;
    z-index: 0;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 1;
}

.hero-image-styled {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(2px) brightness(0.7);
    transform: scale(1.1);
    transition: all 0.5s ease;
}

.hero-image-wrapper:hover .hero-image-styled {
    transform: scale(1.15);
    filter: blur(1px) brightness(0.8);
    opacity: 0.5;
}

/* Sur mobile, l'image passe en background complet */
@media (max-width: 992px) {
    .hero-image-wrapper {
        width: 100%;
        opacity: 0.3;
    }
    
    .hero-image-styled {
        filter: blur(3px) brightness(0.6);
    }
}

/* Responsive pour l'image hero */
@media (max-width: 768px) {
    .hero-image-styled {
        max-height: 300px;
        max-width: 100%;
    }
}

/* Correction de la visibilité du texte sur fond violet */
/* Lorsque text-muted est utilisé sur un fond contenant #8b5cf6, utiliser une couleur plus claire */
[style*="#8b5cf6"] .text-muted,
[style*="8b5cf6"] .text-muted,
[style*="#6366f1"][style*="#8b5cf6"] .text-muted,
[style*="6366f1"][style*="8b5cf6"] .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Correction pour les éléments avec couleur #6b7280 sur fond violet */
[style*="#8b5cf6"] [style*="#6b7280"],
[style*="8b5cf6"] [style*="#6b7280"] {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Cards */
.card {
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    background: var(--color-bg);
}

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

.card-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    padding: var(--spacing-md);
}

.card-header h3 {
    margin: 0;
    font-weight: 700;
    color: white;
}

.card-body {
    padding: var(--spacing-lg);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary) 100%);
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    background: transparent;
}

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

/* Sections */
.bg-light {
    background-color: var(--color-bg-alt) !important;
}

section {
    padding: var(--spacing-2xl) 0;
}

/* Footer */
footer {
    background: var(--theme-footer-bg, var(--color-bg-dark)) !important;
    color: var(--color-text-muted);
    margin-top: auto;
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin: 0.5rem 0;
}

/* Dashboard: élargir la colonne prix dans "Options supplémentaires sélectionnées" */
.extras-price-col {
    min-width: 180px;
}
.extras-price-col strong,
.extras-price-col small {
    white-space: nowrap;
}

/* Badges */
.badge {
    padding: 0.5em 0.75em;
    border-radius: 0.5rem;
    font-weight: 600;
}

.bg-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%) !important;
}

/* Forms */
.form-control,
.form-select {
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background-color: #cffafe;
    color: #164e63;
}

/* Tables */
.table {
    border-radius: 0.75rem;
    overflow: hidden;
}

.table thead {
    background: var(--color-bg-alt);
}

.table-responsive {
    border-radius: 0.75rem;
    /* Permet le scroll horizontal (sinon les colonnes de droite deviennent inaccessibles) */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Progress */
.progress {
    border-radius: 0.5rem;
    background-color: var(--color-bg-alt);
    height: 0.5rem;
}

.progress-bar {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

/* Text colors */
.text-primary {
    color: var(--color-primary) !important;
}

.text-muted {
    color: var(--color-text-light) !important;
}

/* Utilities */
.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .card {
        margin-bottom: var(--spacing-md);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Pricing note */
.pricing-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: auto;
    line-height: 1.4;
}

/* Pricing cards (tarifs + step1) */
.pricing-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.pricing-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.pricing-card {
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.pricing-card-header {
    /* Réserver une zone "badges" identique pour tous (évite un header de hauteur variable) */
    padding: 2.7rem 1.25rem 0.9rem;
    position: relative;
}

.pricing-card-header.has-badges { /* rétro-compat (classe utilisée dans les vues) */
    padding-top: 2.7rem;
}

.pricing-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    pointer-events: none;
}

.pricing-card-badges .badge {
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
}

.pricing-card-badges .pricing-reco-badge {
    margin-left: auto;
    font-weight: 600;
}

/* Admin tables: actions buttons (uniform size) */
.admin-table-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.admin-action-btn {
    min-width: 110px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.admin-action-btn i {
    line-height: 1;
}

/* Admin headers: actions buttons (Retour/Ajouter/...) */
.admin-page-actions {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-header-btn {
    height: 36px;
    padding: 0.5rem 0.85rem;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 600;
}

.admin-header-btn i {
    line-height: 1;
    font-size: 1rem;
}

.pricing-card-body {
    padding: 1.25rem 1.5rem;
}

.pricing-price {
    font-size: 1.9rem;
    line-height: 1.2;
}

/* Styles compacts pour desktop */
@media (min-width: 992px) {
    .pricing-card-header {
        padding: 2.4rem 1rem 0.75rem;
    }

    .pricing-card-header.has-badges {
        padding-top: 2.4rem;
    }
    
    .pricing-card-header h3 {
        font-size: 1.25rem !important;
    }
    
    .pricing-card-body {
        padding: 1rem 1.25rem;
    }
    
    .pricing-price {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .pricing-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .pricing-description {
        margin-bottom: 0.75rem !important;
    }
    
    .pricing-description p {
        font-size: 0.85rem !important;
        line-height: 1.4;
        margin-bottom: 0 !important;
    }
    
    .pricing-extras {
        margin-bottom: 0.75rem !important;
    }
    
    .pricing-extras-header h6 {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .pricing-extras-list {
        margin-top: 0.25rem;
    }
    
    .pricing-extras-item {
        margin-bottom: 0.4rem !important;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .pricing-extras-item i {
        font-size: 0.875rem;
    }
    
    .pricing-extras-item strong {
        font-size: 0.85rem;
    }
    
    .pricing-extras-desc {
        font-size: 0.8rem !important;
        margin-left: 1.5rem !important;
        margin-top: 0.2rem;
        line-height: 1.3;
    }
    
    .pricing-cta-btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.95rem !important;
    }
    
    .badge {
        font-size: 0.85rem !important;
        padding: 0.35rem 0.65rem !important;
    }
}

.pricing-cta-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

/* Timeline du projet */
.timeline-container {
    position: relative;
    padding-left: 2.5rem;
}

.timeline-step {
    position: relative;
    margin-bottom: 1.5rem;
    min-height: 2.5rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 2;
    flex-shrink: 0;
}

.timeline-icon i {
    font-size: 0.875rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 2px;
    height: calc(100% + 0.5rem);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    margin-left: 0;
    padding-left: 0.75rem;
    min-height: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-content-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.timeline-content-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.timeline-content-date {
    font-size: 0.75rem;
    white-space: nowrap;
}

.timeline-content-text {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Mobile optimisations */
@media (max-width: 767.98px) {
    .timeline-container {
        padding-left: 2rem;
    }
    
    .timeline-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .timeline-icon i {
        font-size: 0.75rem;
    }
    
    .timeline-line {
        left: 0;
        top: 2rem;
    }
    
    .timeline-content {
        padding-left: 0.5rem;
    }
    
    .timeline-content-title {
        font-size: 0.875rem;
    }
    
    .timeline-content-date {
        font-size: 0.6875rem;
    }
    
    .timeline-content-text {
        font-size: 0.8125rem;
    }
    
    .timeline-content-header {
        gap: 0.375rem;
    }
}
