/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-top {
background-color: #44576B;
    padding: 14px 0;
}

.header-top-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

.top-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: var(--transition);
}

.top-contact-link:hover {
    opacity: 0.8;
}

.top-contact-link svg {
    flex-shrink: 0;
}

.header-main {
    background-color: #0056b3;
    transition: all 0.3s ease;
}

.header.scrolled .header-main {
    background-color: white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    background: transparent;
}

.logo span {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.header.scrolled .logo span {
    color: var(--text-color);
}

.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--text-color);
}

.nav-link:hover {
    opacity: 0.8;
}

.header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.btn-rendez-vous {
    padding: 10px 24px;
    border-radius: 6px;
    white-space: nowrap;
}

.btn-mobile {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: white;
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
    background-color: var(--text-color);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-top: 15px;
    overflow: hidden;
    padding: 1rem;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .nav-link {
    color: var(--text-color);
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav .nav-link:hover {
    background-color: var(--gray-light);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin-top: 140px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    filter: blur(2px);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    color: white;
    max-width: 650px;
    padding: 0 20px;
    margin-left: 40px;
}

.hero-title {
    font-size: 4 rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: white;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-services-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.service-btn {
    padding: 12px 20px;
    background-color: white;
    color: var(--text-color);
    border: none;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 158, 255, 0.4);
}

/********** Services ************/
.services {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-title {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/********** Réalisations ************/
.realizations {
    padding: 80px 0;
}

.realizations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.realizations-grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.realization-card-simple {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.realization-card-simple img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.realization-info {
    padding: 1.5rem;
}

.realization-info h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.realization-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.realization-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition);
}

.realization-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.realization-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realization-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s var(--animation-easing);
}

.realization-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.realization-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.realization-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/********** Témoignages ************/
.testimonials {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s var(--animation-easing);
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: relative;
    min-width: 100%;
    transition: all 0.3s var(--animation-easing);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-weight: bold;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.author-info strong {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    display: block;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/********** Partenaires ************/
.partners {
    padding: 80px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    text-align: center;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s var(--animation-easing);
}

.partner-logo img {
    max-height: 80px;
    width: auto;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 6px;
    color: white;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid #444;
}

.certification-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 10%; 
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.certification-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 2rem;
}
.linkWebsite{
  text-decoration:none;
  color:white;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-color);
    color: white;
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Notification Modal */
.notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-modal.show {
    display: flex;
    opacity: 1;
}

.notification-modal-content {
    background-color: white;
    padding: 3rem 2rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.notification-modal.show .notification-modal-content {
    transform: translateY(0);
}

.notification-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.notification-icon svg {
    width: 50px;
    height: 50px;
}

.notification-title {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.notification-message {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/***************************** Responsive Design ******************/
/*********** écrans inferieur a 768px  *****************/

@media (max-width: 768px) {
    /* navigation */
    .header-top {
    display: block;
    padding: 10px 0;
    }

    .header-top-content {
        flex-direction: column;
        justify-content: end;
        gap: 1rem;
    }

    .top-contact-link {
        font-size: 0.85rem;
    }

    .top-contact-link svg {
        width: 14px;
        height: 14px;
    }

    .logo img {
        height: 60px;
    }
    .desktop-nav {
        display: none;
    }
     .mobile-menu-btn {
        display: flex;
    }
    /* hero section */
    .hero {
        position: relative;
        margin-top: 100px;
        min-height: 100vh;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        padding: 40px 0;
    }

    .hero-image {
        display: none;
    }

    .hero-overlay {
        width: 100%;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 158, 255, 0.3));
    }

    .hero-content {
        text-align: center;
        margin-left: 0;
        padding: 0 20px;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }

    .hero-subtitle br {
        display: none;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
    }

    .hero-services-buttons {
        justify-content: center;
        gap: 0.75rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-btn {
        font-size: 0.8rem;
        padding: 8px 14px;
    }

    .scroll-indicator {
        display: none;
    }
    .realizations-grid-simple {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .realization-card-simple img {
        height: 350px;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons .btn {
        flex: 1;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-certifications {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .certification-logo {
        height: 50px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 80px;
        padding: 30px 0;
    }

    .hero-content {
        margin-left: 0;
        padding: 0 15px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.4;
    }

    .btn-large {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-services-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .service-btn {
        font-size: 0.75rem;
        padding: 8px 12px;
        flex: 1 1 auto;
        min-width: calc(50% - 0.25rem);
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}