/* Variables CSS pour thème sombre La Forge PC */
:root {
    /* Couleurs principales - thème sombre La Forge PC */
    --primary-color: #00d4ff;
    --primary-light: #33ddff;
    --primary-dark: #0099cc;
    --secondary-color: #ff6b35;
    --accent-color: #00ff88;
    --forge-gold: #ffd700;
    
    /* Textes */
    --text-primary: #ffffff;
    --text-secondary: #b0b8c1;
    --text-muted: #8892a0;
    --text-accent: var(--primary-color);
    
    /* Backgrounds */
    --bg-primary: #0a0e13;
    --bg-secondary: #151b23;
    --bg-tertiary: #1f2937;
    --bg-surface: #273142;
    --bg-elevated: #2d3748;
    
    /* Borders */
    --border-primary: #374151;
    --border-secondary: #4b5563;
    --border-accent: var(--primary-color);
    
    /* Shadows pour thème sombre */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 20px -5px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 30px -8px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-accent: 0 0 15px rgba(0, 255, 136, 0.2);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
}

/* =====================
   Styles pour les liens
===================== */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 2px;
}

a:hover {
    color: var(--primary-light);
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    text-decoration: none;
}

/* Liens avec effet de soulignement animé */
a:not(.btn):not(.nav-links a):not(.footer-nav a):not(.brand-logo) {
    position: relative;
    display: inline-block;
}

a:not(.btn):not(.nav-links a):not(.footer-nav a):not(.brand-logo)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 1px;
}

a:not(.btn):not(.nav-links a):not(.footer-nav a):not(.brand-logo):hover::after {
    width: 100%;
}

/* Liens dans le contenu textuel */
.content a,
.card-body a,
.form-group a,
p a,
div a:not(.btn) {
    color: var(--primary-color);
    font-weight: 500;
    padding: 1px 3px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.content a:hover,
.card-body a:hover,
.form-group a:hover,
p a:hover,
div a:not(.btn):hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-light);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Liens externes avec icône */
a[href^="http"]:not(.btn):not(.nav-links a):not(.footer-nav a)::before,
a[target="_blank"]:not(.btn):not(.nav-links a):not(.footer-nav a)::before {
    content: "🔗";
    margin-right: 4px;
    font-size: 0.8em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

a[href^="http"]:hover::before,
a[target="_blank"]:hover::before {
    opacity: 1;
}

/* Liens dans les formulaires */
.form-check-label a,
.gdpr-info a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.3s ease;
}

.form-check-label a:hover,
.gdpr-info a:hover {
    color: var(--primary-light);
    text-decoration-color: var(--primary-light);
    text-shadow: 0 0 6px rgba(0, 255, 136, 0.3);
}

/* Liens dans les alertes et messages */
.alert a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: currentColor;
    opacity: 0.9;
}

.alert a:hover {
    opacity: 1;
    text-shadow: 0 0 5px currentColor;
}

/* État visited pour les liens */
a:visited {
    color: #fff;
}

a:visited:hover {
    color: var(--primary-light);
}

/* Liens désactivés */
a.disabled,
a:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
}

/* Navigation moderne dark theme */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-primary);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    opacity: 0.8;
}

nav.scrolled {
    background: rgba(10, 14, 19, 0.95);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(30px);
}

nav.scrolled::before {
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    position: relative;
}

.brand-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.brand-logo span {
    color: var(--text-primary);
    font-weight: 600;
}

.brand-logo strong {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.brand-logo:hover {
    color: var(--primary-light) !important;
    text-decoration: none;
    transform: scale(1.05);
}

.brand-logo:hover strong {
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.nav-links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

.nav-links a.active {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.nav-links a.active::before {
    opacity: 1;
    transform: scale(1);
}

/* Bouton CTA moderne dans la navbar */
.nav-links .cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-primary) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}


.nav-links .cta-button:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    color: var(--bg-primary) !important;
    text-decoration: none;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile menu toggle moderne */
.mobile-menu-toggle {
    display: none;
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 0.75rem;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-toggle:hover::before {
    opacity: 1;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.mobile-menu-toggle i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover i {
    transform: scale(1.1);
}

.mobile-nav {
    position: fixed;
    top: 77px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    backdrop-filter: blur(30px);
}

.mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    opacity: 0.6;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
    padding: 1.5rem 2rem 2rem;
    margin: 0;
}

.mobile-nav li {
    margin: 0;
    border-bottom: 1px solid var(--border-primary);
    position: relative;
    overflow: hidden;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 1.25rem 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 212, 255, 0.05);
    transition: left 0.3s ease;
}

.mobile-nav a:hover::before {
    left: 0;
}

.mobile-nav a:hover {
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.mobile-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
}

/* ==========================================
   FORMULAIRE D'ÉTUDE DE MARCHÉ - MODERNE
   ========================================== */

/* Section Hero du feedback */
.feedback-hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 120px 0 80px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.feedback-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0.5;
}

.feedback-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.feedback-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feedback-hero-title .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.feedback-hero-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feedback-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

.feedback-hero-meta-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Section formulaire */
.feedback-form-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.feedback-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.feedback-form-card {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-primary);
    position: relative;
}

.feedback-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

/* Barre de progression */
.form-progress {
    position: sticky;
    top: 70px;
    background: var(--bg-surface);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-primary);
    z-index: 10;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar-bg {
    flex: 1;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 100px;
}

/* Sections du formulaire - COMPACT */
.form-section {
    padding: 2rem;
    border-bottom: 1px solid var(--border-primary);
    position: relative;
}

.form-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-surface);
}

.section-title i {
    color: var(--primary-color);
    font-size: 1.6rem;
}

/* Groupes de champs - COMPACT */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

/* .form-group.budget-critical {
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
} 

.form-group.budget-critical .form-label {
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group.budget-critical .form-label::after {
    content: 'Question clé';
    background: var(--secondary-color);
    color: var(--bg-primary);
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 4px;
    margin-left: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
} */

/* Labels - OPTIMISÉS */
.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.625rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.required-tag, .optional-tag, .conditional-required {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required-tag {
    background: rgba(255, 107, 53, 0.2);
    color: var(--secondary-color);
}

.optional-tag {
    background: rgba(139, 146, 160, 0.2);
    color: var(--text-muted);
}

.conditional-required {
    background: rgba(0, 255, 136, 0.2);
    color: var(--accent-color);
}

/* Hints et aide - COMPACTS */
.form-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.625rem;
    padding: 0.625rem;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 6px 6px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.form-hint i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Messages d'erreur */
.invalid-feedback {
    display: block;
    color: var(--secondary-color);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--secondary-color);
}

/* ==========================================
   STYLES MODERNES POUR INPUTS, TEXTAREAS, SELECTS
   ========================================== */

/* Style de base commun pour les champs de formulaire */
.form-control,
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary) !important;
    background-color: var(--bg-surface) !important;
    background-clip: padding-box;
    border: 1px solid var(--border-primary) !important;
    border-radius: 8px;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    color: var(--text-primary) !important;
    background-color: var(--bg-elevated) !important; /* Value from Bootstrap override */
    border-color: var(--primary-color) !important;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.25) !important; /* Glow effect avec primary-color */
}

.form-control::placeholder {
    color: var(--text-muted) !important;
    opacity: 1;
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--text-muted) !important;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--text-muted) !important;
}

/* Style pour les options des selects en mode sombre (peut être limité par le navigateur) */
.form-select option {
    background-color: var(--bg-surface);
    color: var(--text-primary);
}



/* Ajustements pour les cases à cocher et boutons radio Bootstrap pour le thème sombre */
.form-check-input {
    background-color: var(--bg-tertiary) !important;
    border-color: var(--border-secondary) !important;
}

.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.form-check-input:focus {
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.25) !important; /* RGB for --primary-color */
}

.form-check-label {
    color: var(--text-secondary) !important;
}

/* Bouton de soumission - COMPACT */
.form-submit {
    padding: 2rem;
    text-align: center;
    background: var(--bg-surface);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.btn-large i {
    font-size: 1.2rem;
}

.submit-note {
    margin-top: 1.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-note i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Section remerciements - COMPACT */
.feedback-thanks-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.feedback-thanks-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.feedback-thanks-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.feedback-thanks-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.feedback-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feedback-step {
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.feedback-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feedback-step-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.analysis-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
}

.development-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
}

.launch-icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
}

.feedback-step-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.development-icon-wrapper .feedback-step-icon {
    color: var(--accent-color);
}

.launch-icon-wrapper .feedback-step-icon {
    color: var(--secondary-color);
}

.feedback-step-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feedback-step-description {
    color: var(--text-muted);
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Hero section moderne dark */
.hero {
    min-height: 75vh; /* Réduit de 100vh à 70vh */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 2rem; /* Ajout padding bottom pour respirer */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), transparent);
    border-radius: 0 0 0 100px;
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text .highlight {
    color: var(--primary-color);
    position: relative;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #000 !important;
    box-shadow: var(--shadow-glow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    color: #000 !important;
}

.btn-primary:focus,
.btn-primary.focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.5); /* From later definition */
}

.btn-secondary {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--primary-color) !important;
    color: var(--bg-primary) !important;
    border: 2px solid var(--primary-color) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.btn-secondary:focus,
.btn-secondary.focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.5); /* Adjusted to primary color glow */
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 212, 255, 0.3);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 255, 136, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    border: 1px solid var(--border-secondary);
    backdrop-filter: blur(10px);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) scale(1.05);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(0, 212, 255, 0.5);
}

.hero-image-content {
    text-align: center;
    color: var(--primary-color);
}

.hero-icon {
    font-size: 120px;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.hero-image-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Sections */
.section {
    padding: 5rem 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Cards services dark */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
}

.service-icon i {
    font-size: 2rem;
    color: var(--bg-primary);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-card-questions {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-primary);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.service-card-questions strong {
    color: var(--primary-color);
}

/* Section Packs Pré-configurés - Dark Theme */
.packs-section {
    background: var(--bg-secondary); /* Fond légèrement différent pour la section */
}

.pack-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: 16px; /* Coins arrondis plus prononcés */
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex; /* Pour aligner le footer en bas */
    flex-direction: column; /* Pour aligner le footer en bas */
    position: relative;
    overflow: hidden;
}

/* Bordure animée en haut de la card */
.pack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--forge-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pack-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
}

.pack-card:hover::before {
    transform: scaleX(1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.pack-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem; /* Augmenté */
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.pack-card:hover .pack-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
}

.essential-pack-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}
.performance-pack-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-color), #00e67a); /* Vert plus vif */
}
.prestige-pack-icon-wrapper {
    background: linear-gradient(135deg, var(--secondary-color), #ff8a50); /* Orange plus vif */
}
.custom-pack-icon-wrapper {
    background: linear-gradient(135deg, var(--forge-gold), #ffeb3b); /* Or */
}

.pack-icon {
    font-size: 2.5rem; /* Augmenté */
    color: var(--bg-primary); /* Contraste avec le fond du wrapper */
    transition: transform 0.3s ease;
}

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

.pack-title {
    color: var(--text-primary);
    font-weight: 700; /* Plus gras */
}

.pack-price {
    color: var(--primary-color); /* Couleur primaire pour le prix */
    margin-bottom: 1.5rem; /* Augmenté */
}

.essential-pack-price { color: var(--primary-color); }
.performance-pack-price { color: var(--accent-color); }
.prestige-pack-price { color: var(--secondary-color); }
.custom-pack-price { color: var(--forge-gold); }


.pack-features {
    text-align: left; /* Alignement à gauche pour lisibilité */
    padding-left: 0; /* Bootstrap reset */
}

.pack-feature-item {
    color: var(--text-secondary);
    font-size: 0.9rem; /* Légèrement réduit */
    transition: all 0.3s ease;
}

.pack-card:hover .pack-feature-item {
    color: var(--text-primary);
}

.pack-feature-icon {
    font-size: 1.1rem; /* Légèrement réduit */
    margin-top: 2px; /* Alignement vertical */
    transition: all 0.3s ease;
}

.pack-card:hover .pack-feature-icon {
    color: var(--primary-light);
    transform: scale(1.1);
}

.essential-pack-feature-icon { color: var(--primary-color); }
.performance-pack-feature-icon { color: var(--accent-color); }
.prestige-pack-feature-icon { color: var(--secondary-color); }
/* Pas d\'icône pour custom par défaut, peut être ajouté si besoin */


.pack-footer {
    margin-top: auto; /* Pousse le footer en bas */
    padding-top: 1rem;
    border-top: 1px solid var(--border-primary);
    transition: border-color 0.3s ease;
}

.pack-card:hover .pack-footer {
    border-top-color: var(--primary-color);
}

.pack-footer-text {
    font-size: 0.85rem; /* Légèrement réduit */
    color: var(--text-muted);
}

/* Style spécifique pour l'alerte dans la card principale */
.pack-footer .alert-info {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    color: var(--text-secondary);
    margin-bottom: 0;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.pack-card:hover .pack-footer .alert-info {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.pack-footer .alert-info strong {
    color: var(--primary-color);
    font-weight: 600;
}


/* Section CTA Principale - Dark Theme */
.cta-section {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-primary);
    margin-top: 4rem; /* Espace par rapport à la section précédente */
    margin-bottom: 4rem; /* Espace par rapport à la section suivante */
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn { /* Style spécifique pour le bouton dans cette section si besoin */
    background: var(--primary-color);
    color: var(--bg-primary);
    padding: 0.8rem 1.8rem; /* Ajustement taille */
}

.cta-section .btn:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-glow);
}


/* Section À propos / Pourquoi nous ? - Dark Theme */
#about {
    background: var(--bg-primary); /* Fond principal pour cette section */
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; /* Espace augmenté */
    margin-top: 3rem;
}

.about-item {
    background: var(--bg-surface);
    padding: 2.5rem; /* Padding augmenté */
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    text-align: center; /* Centrer le contenu */
}

.about-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(0, 212, 255, 0.15);
    border-color: var(--primary-color);
}

.about-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%; /* Cercle parfait */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem; /* Centrer et espacer */
    box-shadow: var(--shadow-glow);
}

.about-item-icon i {
    font-size: 1.8rem; /* Taille icône ajustée */
    color: var(--bg-primary);
}

.about-item h3 {
    font-size: 1.4rem; /* Taille titre ajustée */
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-item p {
    color: var(--text-secondary);
    line-height: 1.7; /* Interligne amélioré */
    font-size: 0.95rem;
}


/* Section finale d\'engagement - Dark Theme */
/* (Si cette section est utilisée, styliser de manière similaire aux autres sections) */
/* Exemple: */
/*
.final-engagement-section {
    background: var(--bg-secondary);
    padding: 5rem 0;
}
.final-engagement-content {
    text-align: center;
}
.final-engagement-content h2 {
    color: var(--text-primary);
}
.final-engagement-content p {
    color: var(--text-secondary);
}
*/

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual {
        margin-top: 3rem;
        order: -1; /* Visual au-dessus du texte sur mobile */
    }
    .hero-image {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg); /* Reset transform */
        max-width: 80%;
        margin: 0 auto;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Caché pour le menu mobile */
    }
    
    .mobile-menu-toggle {
        display: block; /* Affiché sur mobile */
    }
    
    .nav-wrapper {
        padding: 0 1rem;
        height: 70px;
    }
    
    .brand-logo {
        font-size: 1.4rem;
    }
    
    .mobile-nav {
        top: 70px;
    }

    .hero {
        min-height: auto; /* Hauteur auto pour mobile */
        padding-top: 100px; /* Plus d\'espace pour la nav fixe */
        padding-bottom: 4rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    .section {
        padding: 3rem 0;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .section-header p {
        font-size: 1rem;
    }
    .services-grid {
        grid-template-columns: 1fr; /* Une colonne sur mobile */
    }
    .service-card {
        padding: 1.5rem;
    }
    .packs-section .col-lg-3 { /* Assurer que les colonnes des packs prennent toute la largeur sur mobile si besoin */
        width: 100%;
    }
    .pack-card {
        margin-bottom: 1.5rem; /* Espace entre les cartes sur mobile */
    }
    .cta-section {
        padding: 2.5rem 1.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr; /* Une colonne sur mobile */
    }
    .about-item {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 0.9rem;
    }
    .feedback-hero-text {
        font-size: 1rem;
    }
    .form-progress {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1rem;
    }
    .progress-text {
        margin-top: 0.5rem;
        font-size: 0.8rem;
    }
}

/* Styles pour les éléments Bootstrap spécifiques si non couverts par les variables CSS */
.alert-primary {
    background-color: var(--bg-surface);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.alert-secondary {
    background-color: var(--bg-surface);
    border-color: var(--secondary-color);
    color: var(--text-primary);
}

/* =====================
   Footer Styles
===================== */
footer {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border-primary);
  margin-top: auto;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Section de marque du footer */
.footer-brand {
  text-align: left;
}

.footer-brand h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* Section navigation du footer */
.footer-nav {
  text-align: left;
}

.footer-nav h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-nav h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
  padding-left: 1rem;
}

.footer-nav a:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* Section copyright du footer */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-primary);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}

/* Styles de compatibilité pour les anciennes classes */
.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
  text-decoration: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-socials {
  margin-bottom: 1.5rem;
}

.footer-socials a {
  color: var(--text-muted);
  margin: 0 0.75rem;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: var(--primary-color);
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-copyright a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

/* Responsive footer */
@media (max-width: 768px) {
  footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    text-align: center;
  }
  
  .footer-brand,
  .footer-nav {
    text-align: center;
  }
  
  .footer-nav h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-nav a:hover {
    padding-left: 0;
  }
  
  .footer-nav a:hover::before {
    display: none;
  }
}

/* =====================
   Utility Classes
===================== */
.text-primary-color {
  color: var(--primary-color) !important;
}

.bg-primary-color {
  background-color: var(--primary-color) !important;
}

.mt-auto {
  margin-top: auto !important;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

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

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

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

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

/* =====================
   Bootstrap Overrides
===================== */
.card,
.list-group-item,
.modal-content,
.dropdown-menu,
.toast,
.popover,
.offcanvas {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
}

.card-header,
.modal-header,
.toast-header,
.popover-header,
.offcanvas-header {
  background-color: var(--bg-elevated);
  border-bottom: 1px solid var(--border-primary);
  color: var(--text-primary);
}

.card-body,
.card-text,
.list-group-item,
.dropdown-item,
.popover-body,
.offcanvas-body {
  color: var(--text-secondary);
}

.card-title {
  color: var(--text-primary);
}

.card-subtitle {
  color: var(--text-muted);
}

.list-group-item.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-primary);
}



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

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--bg-primary);
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

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

.badge,
.text-bg-primary,
.text-bg-secondary {
  color: var(--bg-primary) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.table,
.table > :not(caption) > * > * {
  color: var(--text-secondary);
  border-color: var(--border-primary);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
}

.table-hover > tbody > tr:hover > * {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.table-dark {
  background-color: var(--bg-primary);
  border-color: var(--border-secondary);
  color: var(--text-primary);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

.dropdown-divider {
  border-top: 1px solid var(--border-primary);
}

.nav-tabs .nav-link {
  color: var(--text-muted);
  border-color: var(--border-primary) var(--border-primary) var(--border-accent);
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  border-color: var(--border-secondary) var(--border-secondary) var(--primary-light);
  color: var(--primary-light);
}

.nav-tabs .nav-link.active {
  color: var(--primary-color);
  background-color: var(--bg-surface);
  border-color: var(--border-secondary) var(--border-secondary) var(--primary-color);
}

.pagination .page-link {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
  color: var(--primary-color);
}

.pagination .page-link:hover {
  background-color: var(--bg-elevated);
  border-color: var(--primary-light);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-primary);
}

.pagination .page-item.disabled .page-link {
  background-color: var(--bg-tertiary);
  border-color: var(--border-primary);
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--text-secondary);
}

.carousel-control-prev-icon,
.carousel-control-next-icon,
.toast-header .btn-close,
.modal-header .btn-close,
.offcanvas-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.carousel-indicators [data-bs-target] {
  background-color: var(--primary-color);
}

.spinner-border,
.spinner-grow {
  color: var(--primary-color);
}

.tooltip .tooltip-inner {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}

.tooltip .tooltip-arrow::before {
  border-top-color: var(--bg-primary);
}

.input-group-text {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-muted);
}

.progress {
  background-color: var(--bg-tertiary);
}

.progress-bar {
  background-color: var(--primary-color);
  color: var(--bg-primary);
}

.offcanvas {
  border-left: 1px solid var(--border-secondary);
  border-right: 1px solid var(--border-secondary);
}

.form-group:hover .form-hint,
.form-group:focus-within .form-hint {
    opacity: 1;
    max-height: 100px;
}

/* Responsive pour la barre de progression */
@media (max-width: 768px) {
    .form-progress {
        padding: 1rem 1.5rem 0;
    }
    
    .progress-text {
        font-size: 0.8rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .feedback-form-card {
        padding: 2rem;
        margin: 1rem;
        border-radius: 15px;
    }
    
    .form-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
}

/* ==========================================
   RESPONSIVE - FORMULAIRE D'ÉTUDE DE MARCHÉ
   ========================================== */

/* Tablettes */
@media (max-width: 1024px) {
    .feedback-form-container {
        margin: 0 1rem;
    }
    
    .form-section {
        padding: 1.75rem;
    }
    
    .feedback-hero-title {
        font-size: 2.5rem;
    }
    
    .feedback-steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .feedback-hero {
        padding: 100px 0 60px;
    }
    
    .feedback-hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .feedback-hero-text {
        font-size: 1.1rem;
    }
    
    .feedback-hero-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .feedback-form-section {
        padding: 60px 0;
    }
    
    .feedback-form-container {
        margin: 0 0.75rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .form-group.budget-critical {
        padding: 1rem;
    }
    
    .form-select-multiple, select[multiple] {
        min-height: 120px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .form-submit {
        padding: 2rem 1.5rem;
    }
    
    .feedback-thanks-title {
        font-size: 2rem;
    }
    
    .feedback-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feedback-step {
        padding: 1.5rem 1rem;
    }
    
    .feedback-step-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feedback-step-icon {
        font-size: 1.5rem;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .feedback-hero-title {
        font-size: 1.75rem;
    }
    
    .feedback-form-container {
        margin: 0 0.5rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .form-control, input, textarea, select {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-select-multiple, select[multiple] {
        min-height: 100px;
        font-size: 0.85rem;
    }
    
    .form-submit {
        padding: 1.5rem 1rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Print styles pour le formulaire */
@media print {
    .form-progress,
    .feedback-hero,
    .feedback-thanks-section {
        display: none;
    }
    
    .form-section {
        break-inside: avoid;
        border-bottom: 1px solid #ccc;
    }
    
    .form-group > div > div,
    .form-group div[id*="choice"] > div,
    .form-group .form-check {
        background: transparent !important;
        border: 1px solid #ccc !important;
    }
}

/* Animation pour les liens de navigation */
@keyframes navLinkPulse {
    0%, 100% { transform: translateY(-2px) scale(1); }
    50% { transform: translateY(-2px) scale(1.05); }
}

.nav-links .cta-button:hover {
    animation: navLinkPulse 1s ease-in-out;
}

/* Responsive pour tablettes */
@media (max-width: 992px) {
    .nav-wrapper {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-links a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-links .cta-button {
        padding: 0.6rem 1.4rem;
        font-size: 0.85rem;
    }
}