﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-primary: #007BFF;
    --orange-accent: #FF7A00;
    --white: #FFFFFF;
    --text-dark: #111827;
    --text-gray: #6B7280;
    --bg-light: #F9FAFB;
    --border-radius: 10px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a{
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.menu-toggle {
    display: none;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    color: var(--blue-primary);
    text-decoration: none;
}

.logo-text {
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

    /*.nav-link:hover {
        color: var(--blue-primary);
    }*/

    /*.nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--orange-accent);
        transition: var(--transition);
    }

    .nav-link:hover::after {
        width: 100%;
    }*/

.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

    .submenu a:hover {
        background: var(--bg-light);
        color: var(--blue-primary);
    }

.burger-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

    .burger-icon span {
        display: block;
        width: 28px;
        height: 3px;
        background: var(--blue-primary);
        border-radius: 3px;
        transition: var(--transition);
    }

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

    .mobile-menu nav ul {
        list-style: none;
        padding: 0;
    }

        .mobile-menu nav ul li {
            border-bottom: 1px solid var(--bg-light);
        }

            .mobile-menu nav ul li a {
                display: block;
                padding: 16px 24px;
                color: var(--text-dark);
                text-decoration: none;
                font-weight: 500;
                transition: var(--transition);
            }

                .mobile-menu nav ul li a:hover {
                    background: var(--bg-light);
                    color: var(--blue-primary);
                    padding-left: 32px;
                }

.hero {
    position: relative;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    scroll-snap-align: start;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: linear-gradient(45deg, var(--blue-primary) 25%, transparent 25%), linear-gradient(-45deg, var(--blue-primary) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--blue-primary) 75%), linear-gradient(-45deg, transparent 75%, var(--blue-primary) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 24px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.highlight {
    color: var(--blue-primary);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 16px;
}

.btn-primary {
    background: var(--blue-primary);
    color: var(--white);
}

    .btn-primary:hover {
        background: #0056b3;
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-secondary {
    background: transparent;
    color: var(--blue-primary);
    border-color: var(--blue-primary);
}

    .btn-secondary:hover {
        background: var(--blue-primary);
        color: var(--white);
        transform: translateY(-2px);
    }

.btn-outline {
    background: transparent;
    color: var(--blue-primary);
    border-color: var(--blue-primary);
    padding: 10px 24px;
    font-size: 14px;
}

    .btn-outline:hover {
        background: var(--blue-primary);
        color: var(--white);
    }

.btn-white {
    background: var(--white);
    color: var(--blue-primary);
}

    .btn-white:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.services {
    padding: 100px 0;
    background: var(--white);
    scroll-snap-align: start;
}

.section-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 60px;
}

.services-wrapper {
    position: relative;
    width: 100%;
}

    .services-wrapper input[type="radio"] {
        display: none;
    }

.services-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.service-icon {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 15px;
}

.carousel-controls {
    display: none;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: var(--transition);
}

    .control-dot:hover {
        background: var(--blue-primary);
        opacity: 0.7;
    }

.services-wrapper input[type="radio"]:nth-child(1):checked ~ .carousel-controls label:nth-child(1),
.services-wrapper input[type="radio"]:nth-child(2):checked ~ .carousel-controls label:nth-child(2),
.services-wrapper input[type="radio"]:nth-child(3):checked ~ .carousel-controls label:nth-child(3) {
    background: var(--blue-primary);
}

.about {
    padding: 100px 0;
    background: var(--bg-light);
    scroll-snap-align: start;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-description {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-element {
    position: absolute;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.element-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--blue-primary), #0056b3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0.9;
}

.element-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--orange-accent), #ff9500);
    top: 20%;
    right: 10%;
    transform: rotate(15deg);
    opacity: 0.8;
}

.element-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    bottom: 15%;
    left: 15%;
    transform: rotate(-20deg);
    opacity: 0.7;
}

.about-visual:hover .visual-element {
    transform: scale(1.05) rotate(0deg);
}

.about-visual:hover .element-1 {
    transform: translate(-50%, -50%) rotate(50deg) scale(1.05);
}

.stats {
    padding: 80px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 500;
}

.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--orange-accent) 100%);
    text-align: center;
    scroll-snap-align: start;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-title.white {
    color: var(--white);
    margin-bottom: 16px;
}

.contact-subtitle {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.footer {
    background: linear-gradient(180deg, #0b0f19 0%, #05080f 100%);
    color: #ccc;
    padding: 60px 0 40px;
    font-family: 'Poppins', sans-serif;
    border-top: 3px solid #FF7A00;
}

    .footer .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-title {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
}

.footer-text {
    color: #bbb;
    line-height: 1.7;
}

.footer-slogan {
    margin-top: 10px;
    font-style: italic;
    color: #888;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #bbb;
        text-decoration: none;
        transition: color 0.3s, padding-left 0.3s;
    }

        .footer-links a:hover {
            color: #FF7A00;
            padding-left: 5px;
        }

.footer-contact {
    list-style: none;
    padding: 0;
}

    .footer-contact li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 10px;
        color: #bbb;
    }

    .footer-contact a {
        color: #ccc;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-contact a:hover {
            color: #FF7A00;
        }

.contact-icon {
    font-size: 18px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #222;
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    color: #777;
    font-size: 0.9rem;
}

    .footer-bottom strong {
        color: #fff;
    }

/* Icônes sociales */
.social-icons {
    margin-top: 15px;
}

    .social-icons a {
        display: inline-block;
        width: 38px;
        height: 38px;
        line-height: 38px;
        text-align: center;
        border-radius: 50%;
        margin: 0 6px;
        font-size: 16px;
        color: white;
        transition: all 0.3s ease;
    }

    .social-icons .facebook {
        background: #1877f2;
    }

    .social-icons .linkedin {
        background: #0077b5;
    }

    .social-icons .youtube {
        background: #ff0000;
    }

    .social-icons .instagram {
        background: linear-gradient(45deg, #feda75, #d62976, #962fbf, #4f5bd5);
    }

    .social-icons .whatsapp {
        background: #25d366;
    }

    .social-icons a:hover {
        transform: scale(1.1);
        box-shadow: 0 0 10px currentColor;
        opacity: 0.95;
    }

@media (max-width: 1023px) {
    .services-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .nav {
        display: none;
    }

    .burger-icon {
        display: flex;
    }

    .menu-toggle:checked ~ .mobile-menu {
        height: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .menu-toggle:checked ~ .header .burger-icon span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle:checked ~ .header .burger-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .header .burger-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .services {
        padding: 60px 0;
    }

    .services-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .services-carousel::-webkit-scrollbar {
            display: none;
        }

    .service-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        padding: 32px;
    }

    .carousel-controls {
        display: flex;
    }

    .services-wrapper input[type="radio"]:nth-child(1):checked ~ .services-carousel {
        transform: translateX(0);
    }

    .services-wrapper input[type="radio"]:nth-child(2):checked ~ .services-carousel {
        transform: translateX(calc(-85% - 16px));
    }

    .services-wrapper input[type="radio"]:nth-child(3):checked ~ .services-carousel {
        transform: translateX(calc(-170% - 32px));
    }

    .about {
        padding: 60px 0;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-visual {
        height: 250px;
        order: -1;
    }

    .element-1 {
        width: 150px;
        height: 150px;
    }

    .element-2 {
        width: 100px;
        height: 100px;
    }

    .element-3 {
        width: 80px;
        height: 80px;
    }

    .stats {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stat-number {
        font-size: 36px;
    }

    .contact {
        padding: 60px 0;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .service-card {
        flex: 0 0 90%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Pourquoi choisir Niigtech*/
.why-choose {
    padding: 100px 0;
    background: var(--bg-light);
    scroll-snap-align: start;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.why-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    text-align: center;
    transition: var(--transition);
}

    .why-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.why-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .why-choose {
        padding: 60px 0;
    }

    .why-card {
        padding: 32px 24px;
    }

        .why-card h3 {
            font-size: 18px;
        }

        .why-card p {
            font-size: 14px;
        }
}

/* ===================== Styles tous les volets ===================== */
.section-muted {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== En-tête ===================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2.section-title {
        font-size: 2.8rem;
        color: #222;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .section-header p.section-subtitle {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 15px;
    }

    .section-header p.section-intro {
        font-size: 1rem;
        color: #666;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.7;
    }

/* ===================== Grille de services ===================== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ===================== Cartes ===================== */
.card,
.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .card:hover,
    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    }

    .card h3.card-title,
    .service-card h3 {
        font-size: 1.3rem;
        margin: 15px 0 10px;
        color: #222;
    }

    .card p.card-description,
    .service-card p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.6;
    }

/* ===================== Icônes ===================== */
.service-icon-wrapper,
.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #eef2f5;
    color: #007BFF; /* Couleur principale par défaut */
}

    .card-icon.color-blue {
        color: #007BFF;
    }

    .card-icon.color-pink {
        color: #E91E63;
    }

    .card-icon.color-purple {
        color: #9C27B0;
    }

    .card-icon.color-orange {
        color: #FF9800;
    }

    .card-icon.color-green {
        color: #4CAF50;
    }

    .card-icon.color-cyan {
        color: #00BCD4;
    }

    .card-icon.color-indigo {
        color: #3F51B5;
    }

    .card-icon.color-red {
        color: #F44336;
    }

    .service-icon-wrapper svg,
    .card-icon svg {
        width: 32px;
        height: 32px;
        stroke-width: 2;
    }

/* ===================== Appels à l’action ===================== */
.cta-center {
    text-align: center;
    margin-top: 40px;
}

    .cta-center .btn {
        padding: 12px 30px;
        margin: 10px;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }

.btn-primary {
    background-color: #007BFF;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

    .btn-secondary:hover {
        background-color: #495057;
    }

/* ===================== Texte de fin ===================== */
.section-muted .section-subtitle {
    font-size: 1rem;
    color: #555;
    max-width: 900px;
    margin: 30px auto 0;
    text-align: center;
    line-height: 1.6;
}
/* ===================== PAGE CONTACT ===================== */
.contact-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    text-align: center;
    padding: 100px 20px 60px;
}

    .contact-hero h1 {
        font-size: clamp(36px, 4vw, 48px);
        font-weight: 700;
        margin-bottom: 16px;
        color: var(--text-dark);
    }

    .contact-hero .hero-subtitle {
        font-size: 18px;
        color: var(--text-gray);
        max-width: 700px;
        margin: 0 auto;
    }

.contact-container {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.section-title-sm {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-weight: 500;
        color: var(--text-dark);
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid #d1d5db;
        border-radius: var(--border-radius);
        font-size: 15px;
        transition: var(--transition);
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--blue-primary);
            box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
        }

textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-primary.w-100 {
    width: 100%;
    margin-top: 10px;
}

/* ===================== INFO CONTACT ===================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: var(--transition);
}

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .info-card h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 18px;
        color: var(--blue-primary);
        margin-bottom: 8px;
    }

    .info-card p {
        color: var(--text-gray);
        font-size: 15px;
    }

    .info-card a {
        color: var(--blue-primary);
        text-decoration: none;
        transition: var(--transition);
    }

        .info-card a:hover {
            color: var(--orange-accent);
        }

.info-icon {
    width: 24px;
    height: 24px;
}

/* ===================== MAP SECTION ===================== */
.map-section {
    padding: 0;
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .info-card {
        flex: 1 1 calc(50% - 16px);
    }
}

@media (max-width: 600px) {
    .contact-hero {
        padding: 60px 20px;
    }

    .info-card {
        flex: 1 1 100%;
    }
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.contact-form p {
    line-height: 1.6;
    color: var(--text-gray);
}

/* Info Card */
.contact-info .info-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .contact-info .info-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .contact-info .info-card p a {
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.3s;
    }

        .contact-info .info-card p a:hover {
            color: var(--secondary-color);
        }

/* Map */
.map-section {
    margin: 60px 0;
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
}

/* --- Barre principale --- */
.social-bar-bottom {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    width: fit-content;
    transition: all 0.4s ease;
}

/* --- Checkbox invisible --- */
.toggle-input {
    display: none;
}

/* --- Icônes sociales --- */
.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-height: 60px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    overflow: hidden;
}

/* Quand fermé → réduit verticalement */
.toggle-input:not(:checked) ~ .social-icons {
    max-height: 0;
    opacity: 0;
}

/* --- Bouton d’expansion --- */
.toggle-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.6);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background 0.3s;
}

.toggle-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Icônes de flèches */
.toggle-btn i {
    position: absolute;
    transition: opacity 0.3s;
}

/* Flèche visible selon l’état */
.toggle-btn .fa-chevron-up {
    opacity: 1;
}
.toggle-btn .fa-chevron-down {
    opacity: 0;
}

.toggle-input:not(:checked) ~ .toggle-btn .fa-chevron-up {
    opacity: 0;
}
.toggle-input:not(:checked) ~ .toggle-btn .fa-chevron-down {
    opacity: 1;
}

/* --- Icônes individuelles --- */
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* --- Couleurs des icônes --- */
.facebook { background: #1877f2; }
.linkedin { background: #0077b5; }
.youtube { background: #ff0000; }
.tiktok { background: #000000; }
.whatsapp { background: #25d366; }

.social-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px currentColor;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .social-bar-bottom {
        width: 95%;
        bottom: 10px;
        border-radius: 15px;
        padding: 8px;
        gap: 10px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .toggle-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

/* ----- Barre latérale fixe ----- */
.social-sidebar {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 60px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    padding: 12px 8px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Cacher checkbox */
.toggle-input {
    display: none;
}

/* ----- Icônes ----- */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Réduction quand fermé */
.toggle-input:not(:checked) ~ .social-icons {
    max-height: 0;
    opacity: 0;
}

/* ----- Bouton Expander ----- */
.toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    transition: background 0.3s;
}

    .toggle-btn:hover {
        background: rgba(0,0,0,0.8);
    }

    /* Flèches */
    .toggle-btn i {
        position: absolute;
        transition: opacity 0.25s ease;
    }

    .toggle-btn .fa-chevron-up {
        opacity: 1;
    }

    .toggle-btn .fa-chevron-down {
        opacity: 0;
    }

.toggle-input:not(:checked) ~ .toggle-btn .fa-chevron-up {
    opacity: 0;
}

.toggle-input:not(:checked) ~ .toggle-btn .fa-chevron-down {
    opacity: 1;
}

/* ----- Icônes des réseaux ----- */
.social-icons a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .social-icons a:hover {
        transform: scale(1.12);
        box-shadow: 0 0 10px currentColor;
    }

/* Couleurs */
.facebook {
    background: #1877f2;
}

.linkedin {
    background: #0077b5;
}

.youtube {
    background: #ff0000;
}

.tiktok {
    background: #000000;
}

.whatsapp {
    background: #25d366;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .social-sidebar {
        right: 8px;
        bottom: 8px;
        padding: 10px 6px;
        width: 58px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .toggle-btn {
        width: 36px;
        height: 36px;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info .info-card {
        margin-bottom: 20px;
    }
}
