/* Reset et styles généraux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background-color: white;
    color: #1a1a1a;
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    animation: fadeInLogo 0.8s ease-out;
    text-decoration: none;
}

.logo img {
    height: 90px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links li {
    position: relative;
    animation: fadeInNav 0.6s ease-out backwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }
.nav-links li:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInNav {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #424242;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #424242;
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Section Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 3rem 1rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.75), rgba(26, 26, 26, 0.75));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h2 {
    font-size: 2.16rem;
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out, zoomIn 0.8s ease-out;
}

.k2000-text {
    background: linear-gradient(90deg, #ffffff 0%, #222222 50%, #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: k2000Text 3.6s linear infinite;
    filter: brightness(1.2);
}

@keyframes k2000Text {
    0% {
        background-position: 100% center;
    }
    100% {
        background-position: -100% center;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background-color: #424242;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(66, 66, 66, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background-color: #212121;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(66, 66, 66, 0.4);
}

/* Animation pour le titre principal */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .cta-button {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Bande de confiance */
.trust-badges {
    background-color: white;
    padding: 3rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.badge-item {
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.badge-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(66, 66, 66, 0.05);
    box-shadow: 0 10px 30px rgba(66, 66, 66, 0.15);
}

.badge-icon {
    margin-bottom: 0.5rem;
    color: #424242;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.badge-icon svg {
    width: 48px;
    height: 48px;
}

.badge-item:hover .badge-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 5px 10px rgba(66, 66, 66, 0.3));
}

.badge-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.badge-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Section Services */
.services {
    padding: 4rem 0;
    background-color: #f4f4f4;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    width: 100%;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #424242, #212121);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #424242, #212121);
    transition: left 0.4s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #424242;
}

/* Section Réalisations */
.realisations {
    padding: 4rem 0;
}

.realisations h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    width: 100%;
}

.realisations h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #424242, #212121);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 300px;
    background-color: #ddd;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(24, 74, 139, 0.95));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay h3 {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.overlay p {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.gallery-item:hover .overlay h3,
.gallery-item:hover .overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Section À Propos */
.about {
    padding: 4rem 0;
    background-color: #f4f4f4;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    width: 100%;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #424242, #212121);
    border-radius: 2px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.about-text:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(66, 66, 66, 0.05);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.highlight-item:hover {
    background: rgba(66, 66, 66, 0.1);
    transform: translateX(5px);
    border-color: rgba(66, 66, 66, 0.2);
}

.highlight-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c3e50;
}

.key-points {
    list-style: none;
    margin-top: 1.5rem;
}

.key-points li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.key-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #424242;
    font-weight: bold;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.key-points li:hover {
    padding-left: 2.5rem;
    color: #2c3e50;
}

.key-points li:hover::before {
    transform: scale(1.3) rotate(360deg);
    left: 0.25rem;
}

/* Section Contact */
.contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    background: linear-gradient(145deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.call-buttons {
    margin-bottom: 1.5rem;
}

.call-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.call-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.call-dropdown {
    display: none;
    margin-top: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.call-dropdown.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.call-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.call-option:last-child {
    border-bottom: none;
}

.call-option:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-left: 1.25rem;
}

.call-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.call-number {
    font-size: 1.1rem;
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2);
    border: 1px solid transparent;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(66, 66, 66, 0.3);
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: rgba(66, 66, 66, 0.5);
    transform: scale(1.05) rotate(5deg);
}

.info-icon svg {
    color: white;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.info-content a,
.info-content span {
    font-size: 1.05rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-content a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #424242;
}

.submit-button {
    background-color: #424242;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #212121;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #424242, transparent);
    animation: slideFooter 3s infinite;
}

@keyframes slideFooter {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

footer p {
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

footer p:hover {
    color: #424242;
}

/* Bouton d'appel flottant */
.floating-call-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #424242 0%, #212121 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(66, 66, 66, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(66, 66, 66, 0.5);
}

.floating-call-btn svg {
    color: white;
    transition: all 0.3s ease;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(66, 66, 66, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(66, 66, 66, 0.6);
    }
}

.floating-call-dropdown {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    overflow: hidden;
    display: none;
    z-index: 9999;
    animation: slideUp 0.3s ease;
}

.floating-call-dropdown.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-call-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    gap: 1rem;
}

.floating-call-option:last-child {
    border-bottom: none;
}

.floating-call-option:hover {
    background: #f8f9fa;
}

.floating-call-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: #424242;
}

.floating-call-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212121;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 20px;
    }

    .logo img {
        height: 60px;
        max-width: 220px;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 300px;
        padding: 1rem 0;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        right: 20px;
        color: #1a1a1a;
        font-size: 1.8rem;
        padding: 0.5rem;
        cursor: pointer;
        z-index: 1001;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero {
        min-height: 100vh;
        padding: 2rem 1rem;
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .badge-item {
        padding: 1rem;
    }

    .badge-icon {
        width: 50px;
        height: 50px;
    }

    .badge-icon svg {
        width: 36px;
        height: 36px;
    }

    .badge-item h4 {
        font-size: 1rem;
    }

    .badge-item p {
        font-size: 0.85rem;
    }

    .services h2,
    .realisations h2,
    .about h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .gallery-item {
        height: 250px;
    }

    .about-text {
        padding: 1.5rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .info-item {
        padding: 0.75rem;
    }

    .floating-call-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
    }

    .floating-call-dropdown {
        bottom: 6.5rem;
        right: 1.5rem;
        min-width: 220px;
    }

    .floating-call-option {
        padding: 1rem 1.2rem;
    }
}
