/* Base Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #FFFFFF;
    --accent-color: #f5f5f5;
    --text-color: #000000;
    --background-color: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Effet machine à écrire */
#typewriter {
    display: inline;
    color: var(--secondary-color);
}

.cursor {
    display: inline-block;
    margin-left: 1px;
    width: 2px;
    animation: blink 1s infinite;
    color: var(--secondary-color);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@-webkit-keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

h2 {
    font-size: 2rem;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
}

a:hover {
    color: #333;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background-color: #333;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Section Partenaires */
.partners {
    background-color: var(--accent-color);
}

.partners-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
    padding: 2rem;
}

.partners-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    width: 100%;
}

.partner-logo {
    background-color: var(--secondary-color);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.partner-logo img {
    width: 50px; /* La moitié de la taille du cercle */
    height: 50px;
    object-fit: contain;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.partner-logo:hover img {
    transform: scale(1.1);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-contact {
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: var(--secondary-color) !important;
}

.btn-contact:hover {
    background-color: #333;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: var(--transition);
}

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

/* Styles pour la vidéo en arrière-plan */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Overlay plus foncé pour un meilleur contraste */
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: var(--secondary-color);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.6);
}

.hero h1 {
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 5px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
    position: relative;
    z-index: 3;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    text-align: center;
}

/* Services Section */
.services {
    background-color: var(--accent-color);
}

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

.service-card {
    background-color: var(--secondary-color);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: var(--accent-color);
}

/* Carrousel de vidéos */
.video-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
}

.video-carousel {
    position: relative;
    width: 100%;
    margin: 2rem 0 1rem;
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
}

.video-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Styles pour la vidéo verticale */
.vertical-container {
    width: 33.33%; /* Un tiers de la largeur sur desktop */
    padding-bottom: 59.26%; /* Ratio 9:16 pour 33.33% de largeur */
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}



.vertical-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Ajustement pour le conteneur de la vidéo verticale */
.video-container.smartphone-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-description {
    width: 100%;
    max-width: 800px;
    margin: 1.5rem auto 0;
    text-align: center;
    padding: 0 1rem;
}

.video-description h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    color: var(--primary-color);
    font-weight: 600;
}

.video-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation du carrousel */
.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 992px) {
    .video-container,
    .video-description {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .video-container,
    .video-description {
        width: 100%;
    }
    
    .video-container {
        margin: 0;
        border-radius: 6px;
    }
    
    .video-description h3 {
        font-size: 1.3rem;
    }
    
    .video-description p {
        font-size: 0.95rem;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .portfolio {
        padding: 70px 0;
    }
    
    .video-container {
        border-radius: 4px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }
    
    .video-description h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .video-description p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

/* Contact Section */
.contact {
    background-color: var(--accent-color);
}

.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 2rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 30px 0 15px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.footer-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.legal-link {
    color: var(--secondary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-social a {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    padding-top: 10px;
    opacity: 0.7;
}

/* Pages légales */
.legal-section {
padding-top: 150px;
padding-bottom: 80px;
}

.legal-section h1 {
text-align: center;
margin-bottom: 50px;
}

.legal-section h2 {
text-align: center;
margin-bottom: 2rem;
font-size: 2rem;
font-weight: 700;
}

.section-intro {
text-align: center;
max-width: 800px;
margin: 0 auto 3rem;
color: var(--text-color);
line-height: 1.6;
font-size: 1.1rem;
opacity: 0.9;
}

.legal-content {
max-width: 800px;
margin: 0 auto;
line-height: 1.8;
}

.legal-content h2 {
font-size: 1.5rem;
margin-top: 40px;
margin-bottom: 20px;
text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.legal-content h2:after {
    left: 0;
    transform: none;
    width: 30px;
}

.legal-content p, .legal-content ul {
    margin-bottom: 20px;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
}
