/* ===============================================
   ENTRE NOUS - RESPONSIVE PROFESSIONNEL OPTIMISÉ
   =============================================== */

/* ====== SECTION TITLES RESPONSIVE ====== */
@media (max-width: 1200px) {
    .section-title h2 {
        font-size: 2.75rem;
    }
}

@media (max-width: 991px) {
    .section-title {
        margin-bottom: 50px;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 400px) {
    .section-title h2 {
        font-size: 1.5rem;
    }
}

/* ====== CARDS RESPONSIVE ====== */
@media (max-width: 991px) {
    .card-custom .card-img-top {
        height: 220px;
    }
    
    .card-custom .card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .card-custom {
        margin-bottom: 1.5rem;
    }
    
    .card-custom .card-img-top {
        height: 200px;
    }
    
    .card-custom .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .card-custom .card-img-top {
        height: 180px;
    }
    
    .card-custom .card-title {
        font-size: 1.2rem;
    }
}

/* ====== BUTTONS RESPONSIVE ====== */
@media (max-width: 768px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ====== SERVICES SECTION RESPONSIVE ====== */
.service-detail {
    padding: 80px 0;
}

.service-detail-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
    .service-detail {
        padding: 60px 0;
    }
    
    .service-detail-image {
        margin-bottom: 2rem;
    }
    
    .service-detail-image img {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .service-detail {
        padding: 50px 0;
    }
    
    .service-detail .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .service-detail .lead {
        font-size: 1rem;
    }
    
    .service-features {
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    .service-detail {
        padding: 40px 0;
    }
    
    .service-detail-image img {
        max-height: 300px;
    }
}

/* ====== EVENTS CARDS RESPONSIVE ====== */
.event-card {
    background: var(--dark-card);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.2);
}

.event-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .event-card {
        padding: 1.5rem;
    }
    
    .event-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .event-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .event-icon {
        font-size: 2rem;
    }
    
    .event-card h4 {
        font-size: 1.1rem;
    }
    
    .event-card p {
        font-size: 0.9rem;
    }
}

/* ====== FOOTER RESPONSIVE ====== */
.footer {
    padding: 60px 0 30px;
}

@media (max-width: 991px) {
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer h5 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-brand h4 {
        font-size: 1.5rem;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
    }
    
    .footer-links,
    .footer-contact {
        padding-left: 0;
        list-style: none;
    }
    
    .footer-links li,
    .footer-contact li {
        margin-bottom: 0.75rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-brand h4 {
        font-size: 1.3rem;
    }
    
    .footer-bottom {
        text-align: center;
        margin-top: 2rem;
    }
    
    .footer-bottom .copyright {
        margin-bottom: 1rem;
    }
}

/* ====== CTA SECTION RESPONSIVE ====== */
.cta-section {
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    margin-top: 2rem;
}

@media (max-width: 991px) {
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

/* ====== IMAGES RESPONSIVE ====== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    img {
        max-height: none;
    }
}

/* ====== CONTAINER SPACING ====== */
@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ====== PAGE HEADER RESPONSIVE ====== */
.page-header {
    padding: 150px 0 80px;
}

@media (max-width: 991px) {
    .page-header {
        padding: 130px 0 60px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 50px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
}

/* ====== FORMULAIRES RESPONSIVE ====== */
@media (max-width: 768px) {
    .form-control,
    .form-select {
        font-size: 0.95rem;
        padding: 0.625rem 0.875rem;
    }
    
    input,
    textarea,
    select {
        font-size: 16px !important; /* Empêche le zoom sur iOS */
    }
}

/* ====== UTILITAIRES RESPONSIVE ====== */
@media (max-width: 768px) {
    .d-md-none {
        display: block !important;
    }
    
    .d-none-mobile {
        display: none !important;
    }
    
    .text-center-mobile {
        text-align: center !important;
    }
    
    .mb-mobile {
        margin-bottom: 2rem !important;
    }
}

/* ====== ANIMATIONS REDUITES POUR MOBILE ====== */
@media (max-width: 768px) {
    [data-aos] {
        transition-duration: 0.4s !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ====== PRINT STYLES ====== */
@media print {
    .navbar,
    .footer,
    .btn,
    .cta-section {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
