/* ===== RESPONSIVE - ADR INFORMATIQUE⁺ ===== */
/* Version alignée sur le design compact (style.css v2) */

/* ===== LAPTOP / TABLETTE LANDSCAPE (max 1200px) ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

/* ===== TABLETTE (max 991px) ===== */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 0.5rem 0;
    }
    .navbar-nav .nav-item {
        margin: 0.2rem 0;
    }
    .btn-devis {
        display: inline-block;
        width: fit-content;
        margin: 0.5rem auto;
    }
    .hero-carousel {
        margin-top: 70px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-slide {
        height: 70vh;
        min-height: 480px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .stats-section .row {
        gap: 1rem;
    }
    .footer {
        text-align: center;
    }
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer .col-lg-2,
    .footer .col-lg-3,
    .footer .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    .histoire-section .row,
    .dirigeant-section .row {
        flex-direction: column;
    }
    .histoire-section img,
    .dirigeant-section img {
        margin-top: 1.5rem;
    }
    .vision-section .row {
        flex-direction: column;
        text-align: center;
    }
    .vision-section .section-title {
        text-align: center !important;
    }
}

/* ===== MOBILE (max 768px) ===== */
@media (max-width: 768px) {
    .navbar-brand .brand-text {
        font-size: 1.1rem;
    }
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    .hero-slide {
        height: 55vh;
        min-height: 400px;
    }
    .hero-content .btn-orange,
    .hero-content .btn-outline-orange {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    .hero-content .ms-3 {
        margin-left: 0.5rem !important;
    }
    section {
        padding: 2rem 0;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    .stats-section {
        padding: 1.5rem 0;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
    .service-card {
        margin-bottom: 1rem;
    }
    .service-card .service-body {
        padding: 1rem;
    }
    .service-card h3 {
        font-size: 1.1rem;
    }
    .testimonial-card {
        margin: 0.5rem;
        padding: 1rem;
    }
    .testimonial-text {
        font-size: 0.8rem;
    }
    .cta-banner {
        padding: 1.5rem 1rem;
    }
    .cta-banner h2 {
        font-size: 1.2rem;
    }
    .cta-banner p {
        font-size: 0.8rem;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        justify-content: center;
    }
    .btn-cookie-accept,
    .btn-cookie-decline {
        padding: 0.3rem 1rem;
        font-size: 0.7rem;
    }
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    .btn-orange,
    .btn-outline-orange {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    .histoire-section .lead {
        font-size: 0.95rem;
    }
    .valeurs-section .bg-white {
        margin-bottom: 1rem;
    }
    .poles-section .card {
        margin-bottom: 1rem;
    }
    .vision-section .bg-white.bg-opacity-10 {
        margin-bottom: 1rem;
    }
    .dirigeant-section .section-title {
        text-align: center !important;
    }
    .dirigeant-section .section-subtitle {
        text-align: center !important;
    }
    .breadcrumb {
        font-size: 0.8rem;
    }
}

/* ===== PETIT MOBILE (max 480px) ===== */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.3rem;
    }
    .hero-content p {
        font-size: 0.7rem;
    }
    .hero-slide {
        height: 50vh;
        min-height: 350px;
    }
    .hero-content .btn-orange,
    .hero-content .btn-outline-orange {
        padding: 0.3rem 0.8rem;
        font-size: 0.65rem;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .section-subtitle {
        font-size: 0.75rem;
    }
    .stat-number {
        font-size: 1.4rem;
    }
    .stat-label {
        font-size: 0.65rem;
    }
    .service-card .service-body h3 {
        font-size: 1rem;
    }
    .service-card .service-body p {
        font-size: 0.75rem;
    }
    .testimonial-text {
        font-size: 0.75rem;
    }
    .testimonial-name {
        font-size: 0.8rem;
    }
    .testimonial-company {
        font-size: 0.65rem;
    }
    .footer {
        padding: 1.5rem 0 1rem;
    }
    .footer h5 {
        font-size: 0.9rem;
    }
    .footer ul li a,
    .contact-info li {
        font-size: 0.7rem;
    }
    .footer-bottom {
        font-size: 0.6rem;
    }
    .cta-banner h2 {
        font-size: 1rem;
    }
    .cta-banner p {
        font-size: 0.7rem;
    }
    .btn-orange,
    .btn-outline-orange {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    .page-title h1 {
        font-size: 1.3rem !important;
    }
    .histoire-section .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.8rem;
    }
    .vision-section .bg-white.bg-opacity-10 h4 {
        font-size: 0.9rem;
    }
    .vision-section .bg-white.bg-opacity-10 p {
        font-size: 0.7rem;
    }
}

/* ===== LARGE MOBILE (max 576px) - complément ===== */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .stats-section .col-sm-6 {
        margin-bottom: 1rem;
    }
    .row.g-4 {
        --bs-gutter-y: 0.75rem;
    }
    .hero-content .btn-orange,
    .hero-content .btn-outline-orange {
        display: block;
        width: 100%;
        margin: 0.3rem 0 !important;
        text-align: center;
    }
    .hero-content .ms-3 {
        margin-left: 0 !important;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 28px;
        height: 28px;
    }
}

/* ===== FORMULAIRES & TABLEAUX ===== */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    .form-row .col {
        margin-bottom: 0.8rem;
    }
    table {
        font-size: 0.75rem;
    }
    table th,
    table td {
        padding: 0.5rem;
    }
}

/* ===== IMPRESSION ===== */
@media print {
    header,
    footer,
    .cta-banner,
    .back-to-top,
    .cookie-banner {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
    .hero-slide {
        height: auto;
        background: #f0f0f0;
    }
    .hero-slide::before {
        display: none;
    }
    .hero-content {
        color: black;
    }
}
