/* ============================================
   STYLES COMBINÉS - PIBTS v2.0.0
   ============================================ */

/* ============================================
   POLICE UNIQUE - Metropolis (SB UI Kit Pro)
   ============================================ */

body {
    font-family: 'Metropolis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.navbar-brand,
.footer-brand,
.hero-text,
.faq-accordion .accordion-button,
.contact-card h5,
.btn-pibts,
.btn-hero-primary,
.btn-hero-secondary,
.badge-hero,
.section-badge,
.stat-label,
.service-title,
.service-text,
.feature-title-modern,
.feature-text-modern {
    font-family: 'Metropolis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================
   RÉDUCTION DE MOUVEMENT
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   SÉLECTION DE TEXTE
   ============================================ */

::selection {
    background: var(--pibts-orange, #FC6C0F);
    color: #fff;
}

::-moz-selection {
    background: var(--pibts-orange, #FC6C0F);
    color: #fff;
}

/* ============================================
   LIENS
   ============================================ */

a {
    color: var(--pibts-orange, #FC6C0F);
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: var(--pibts-orange-dark, #d85a00);
    text-decoration: underline;
}

/* ============================================
   UTILITAIRES D'IMPRESSION
   ============================================ */

@media print {
    .no-print {
        display: none !important;
    }
}

/* ============================================
   CORRECTION DES COULEURS BOOTSTRAP
   ============================================ */

:root {
    --bs-primary: #FC6C0F !important;
    --bs-primary-rgb: 252, 108, 15 !important;
}

.btn-primary {
    background-color: #FC6C0F !important;
    border-color: #FC6C0F !important;
}

.btn-primary:hover {
    background-color: #d85a00 !important;
    border-color: #d85a00 !important;
}

.btn-outline-primary {
    color: #FC6C0F !important;
    border-color: #FC6C0F !important;
}

.btn-outline-primary:hover {
    background-color: #FC6C0F !important;
    border-color: #FC6C0F !important;
    color: #fff !important;
}

.bg-primary {
    background-color: #FC6C0F !important;
}

.text-primary {
    color: #FC6C0F !important;
}

.border-primary {
    border-color: #FC6C0F !important;
}

/* ============================================
   UTILITAIRES PIBTS SUPPLÉMENTAIRES
   ============================================ */

.text-pibts {
    color: #FC6C0F !important;
}

.text-pibts-dark {
    color: #d85a00 !important;
}

.text-pibts-blue {
    color: #292874 !important;
}

.bg-pibts {
    background: linear-gradient(135deg, #FC6C0F 0%, #292874 100%) !important;
}

.bg-pibts-soft {
    background: rgba(252, 108, 15, 0.08) !important;
}

.bg-gradient-pibts {
    background: linear-gradient(135deg, #FC6C0F 0%, #292874 100%) !important;
}

.fw-600 {
    font-weight: 600 !important;
}

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

.fw-800 {
    font-weight: 800 !important;
}

.py-6 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

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

.py-10 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.rounded-pill {
    border-radius: 9999px !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.text-muted {
    color: #6c757d !important;
}

/* ============================================
   BOUTONS PIBTS
   ============================================ */

.btn-pibts {
    background: linear-gradient(135deg, #FC6C0F 0%, #292874 100%) !important;
    border: none !important;
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 38px;
}

.btn-pibts:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 108, 15, 0.3);
    color: #fff !important;
}

.btn-pibts-sm {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    min-height: 34px;
}

.btn-pibts-outline {
    border: 2px solid #FC6C0F !important;
    color: #FC6C0F !important;
    background: transparent !important;
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 38px;
}

.btn-pibts-outline:hover {
    background: linear-gradient(135deg, #FC6C0F 0%, #292874 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 108, 15, 0.3);
}

.btn-pibts-outline-sm {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    min-height: 34px;
}

/* ============================================
   BOUTONS HERO
   ============================================ */

.btn-hero-primary {
    background: #fff;
    color: #FC6C0F;
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 46px;
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    color: #292874;
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    min-height: 46px;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

/* ============================================
   BADGES
   ============================================ */

.badge-pibts-soft {
    background: rgba(252, 108, 15, 0.08) !important;
    color: #FC6C0F !important;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
}

.badge-hero {
    display: inline-block;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    border: 1px solid rgba(255,255,255,0.08);
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #fff;
}

/* ============================================
   SECTION BADGE
   ============================================ */

.section-badge {
    display: inline-block;
    background: rgba(252, 108, 15, 0.08);
    color: #FC6C0F;
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter-section .form-control {
    border-radius: 50px;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    height: 44px;
}

.newsletter-section .btn-newsletter {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    min-height: 44px;
    background: #FC6C0F !important;
    border: none !important;
    color: #fff;
    font-weight: 600;
}

.newsletter-section .btn-newsletter:hover {
    background: #d85a00 !important;
}

.newsletter-section .newsletter-lock {
    color: rgba(255,255,255,0.25) !important;
    font-size: 0.7rem;
    margin-top: 0.75rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
        padding: 0.6rem 1.5rem;
        min-height: 42px;
        font-size: 0.8rem;
    }
    .hero-info {
        flex-direction: column;
        gap: 0.4rem;
        font-size: 0.7rem;
    }
    .stat-item-modern .stat-number {
        font-size: 1.8rem;
    }
    .newsletter-section {
        padding: 50px 0;
    }
    .section-pibts {
        padding: 50px 0;
    }
    .section-header .section-title {
        font-size: 1.4rem;
    }
    .faq-accordion .accordion-item .accordion-header .accordion-button {
        font-size: 0.82rem;
        padding: 0.7rem 0.9rem;
    }
    .faq-accordion .accordion-item .accordion-body {
        font-size: 0.8rem;
        padding: 0.9rem;
    }
    .contact-card {
        padding: 1rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .badge-hero {
        font-size: 0.6rem;
        padding: 4px 12px;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 0.75rem;
        padding: 0.5rem 1.2rem;
        min-height: 38px;
    }
    .stat-item-modern .stat-number {
        font-size: 1.5rem;
    }
    .service-card {
        padding: 1.25rem 0.75rem;
    }
    .feature-item-modern {
        padding: 0.75rem 0.5rem;
    }
    .section-header .section-title {
        font-size: 1.2rem;
    }
    .faq-accordion .accordion-item .accordion-header .accordion-button {
        font-size: 0.75rem;
        padding: 0.6rem 0.75rem;
    }
    .faq-accordion .accordion-item .accordion-body {
        font-size: 0.75rem;
        padding: 0.75rem;
    }
    .contact-card {
        padding: 0.8rem 0.6rem;
    }
    .contact-card .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}