/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    position: absolute;
    left: 20px;
    top: -20px;
    z-index: 1001;
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.nav-logo-img {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
    /* border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #000;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #000;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Recreating PDF design */
.hero {
    min-height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 2em 1em;
}

.hero-content {
    color: white;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    margin-top: 1.5em;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.highlight {
    color: white;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 300;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: white;
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: #f0f0f0;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #000;
    transform: translateY(-2px);
}

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

.hero-pdf-image {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.hero-pdf-image:hover {
    transform: scale(1.02);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.values-section {
    margin-top: 2rem;
}

.values-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 0;
    transition: all 0.3s ease;
    border-left: 4px solid #000;
}

.value-item:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.value-item i {
    font-size: 1.5rem;
    color: #000;
    width: 40px;
    text-align: center;
}

.value-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.about-pdf-image {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f8f8f8;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #000;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: #000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-icon:hover .service-icon-img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Realisations Section */
.realisations {
    padding: 6rem 0;
    background: white;
}

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

.realisation-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

/* Couleurs de fond par type de réalisation */
.realisation-header-container[data-type="ÉVÉNEMENT"] {
    background: #fff;
    border-left: 4px solid #fff;
}

.realisation-header-container[data-type="ATL"] {
    background: #fff;
    border-left: 4px solid #fff;
}

.realisation-header-container[data-type="PRODUCTION"] {
    background: #231f20;
    border-left: 4px solid #231f20;
}

.realisation-header-container[data-type="PRODUCTION"] h2 {
    color: #fff !important;
}

.realisation-header-container[data-type="PRODUCTION"] .agency-logo  {
    border: 1px solid #a09898;
}

.realisation-header-container[data-type="IMPRESSION"] {
    background: #ffe8c9;
    border-left: 4px solid #ffe8c9;
}

.realisation-header-container[data-type="IMMOBILIER"] {
    background: #cfe7e9;
    border-left: 4px solid #cfe7e9;
}

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

.realisation-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    transition: transform 0.3s ease;
    display: block;
    background: #fff;
}

.realisation-card:hover .realisation-image {
    transform: scale(1.05);
}

.realisation-header-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    /* padding: 1rem; */
}

.realisation-header {
    /* background: white; */
    color: #000;
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.realisation-header-container::before {
    content: "am";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 20rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.02);
    z-index: 0;
    pointer-events: none;
    font-family: 'serif';
    font-style: italic;
}

.realisation-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: .2rem;
    margin-top: 1.2rem;
    color: #000;
    text-align: left;
    position: relative;
    z-index: 1;
}

.realisation-type-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.realisation-type {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    /* letter-spacing: 1px; */
    background: #000;
    color: white;
    padding: 0.14rem 0.8rem;
    border-radius: 0;
}

.realisation-description {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    margin-top: 1rem;
    background: #fff;
}

.font-bold {
    font-weight: 700;
}

.realisation-type-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.realisation-type-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.agency-logo {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    z-index: 1;
}

.agency-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.realisation-content {
    padding: 1rem;
    padding-top: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.client-section {
    margin-bottom: 0.5rem;
    background: #fff;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.client-location {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.date-section {
    text-align: right;
    margin-bottom: 1.5rem;
}

.event-date {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 0;
}

.realisation-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    /* margin-top: auto; */
}

/* Optimisation selon le nombre d'images */
.realisation-images-1 {
    grid-template-columns: 1fr;
    justify-items: center;
}

.realisation-images-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.realisation-images-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.content-image-placeholder {
    background: #f8f8f8;
    border: 2px dashed #ccc;
    border-radius: 0;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.content-image-placeholder:hover {
    background: #e0e0e0;
    border-color: #999;
}

.content-image-placeholder i {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 0.3rem;
}

.content-image-placeholder span {
    font-size: 0.7rem;
    color: #666;
    text-align: center;
    font-weight: 500;
}

.content-image {
    overflow: hidden;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    /* background: #f8f9fa; */
    border: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Indicateur de type d'image */
.content-image::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-image:hover::before {
    opacity: 1;
}

/* Optimisation pour différentes tailles */
.realisation-images-1 .content-image {
    max-width: 250px;
    margin: 0 auto;
}

.realisation-images-4 .content-image {
    aspect-ratio: 4/3;
}

.realisation-images-6 .content-image {
    aspect-ratio: 2/1;
}

.gallery-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: zoom-in;
    border-radius: 0;
}

/* Optimisation selon le nombre d'images */
.realisation-images-1 .gallery-image {
    /* height: 195px; */
    object-fit: contain;
    max-width: 260px;
    margin: 0 auto;
    display: block;
}

.realisation-images-4 .gallery-image {
    height: 120px;
    object-fit: cover;
}

.realisation-images-4 .gallery-image[data-orientation="portrait"] {
    height: 190px !important;
    object-fit: contain;
}

.realisation-images-6 .gallery-image {
    height: 100px;
    object-fit: cover;
}

.realisation-images-6 .gallery-image[data-orientation="portrait"] {
    height: 100px;
    object-fit: contain;
}

/* Détection automatique de l'orientation */
.gallery-image[data-orientation="portrait"] {
    object-fit: contain;
    object-position: center;
    /* background: #f8f9fa; */
}

.gallery-image[data-orientation="landscape"] {
    object-fit: cover;
    object-position: center;
}

/* Amélioration des effets hover */
.content-image:hover .gallery-image {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Grille adaptative pour différentes dispositions */
.realisation-images-1 {
    grid-template-columns: 1fr;
    justify-items: center;
    /* padding: 1rem; */
}

.realisation-images-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.realisation-images-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.content-image:hover .gallery-image {
    transform: scale(1.05);
}

.realisation-content h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    /* letter-spacing: 1px; */
    /* margin-bottom: 0.5rem; */
}

.realisation-content h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
    /* line-height: 1.4; */
}

.realisation-content p {
    color: #666;
    font-size: 0.7rem;
}

/* Lightbox (image enlarge) */
.realisation-image {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 10002;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    cursor: default;
}

.lightbox-image {
    max-width: min(90vw, 1400px);
    max-height: 90vh;
    width: auto;
    height: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 0;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10003;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10003;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    z-index: 10003;
}

/* Trust Section */
.trust {
    padding: 4rem 0;
    background: #f8f8f8;
}

.trust-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trust-image {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f8f8f8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

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

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    /* border-radius: 0.5em; */
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: white;
    color: #000;
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 0.75rem 1rem;
    background: white;
    border: none;
    border-radius: 0;
    color: #000;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #f0f0f0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .realisation-image { height: auto; }
    
    /* Optimisation pour écrans moyens (tablet) */
    .realisations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .realisation-images-1 .gallery-image {
        height: 110px;
        max-width: 190px;
    }
    
    .realisation-images-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .realisation-images-4 .gallery-image {
        height: 80px;
    }
    
    .realisation-images-4 .gallery-image[data-orientation="portrait"] {
        height: 110px;
    }
    
    .realisation-images-6 {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    
    .realisation-images-6 .gallery-image {
        height: 65px;
    }
    
    .realisation-images-6 .gallery-image[data-orientation="portrait"] {
        height: 90px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: 1em;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .realisations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .realisation-image { height: auto; }

    /* Optimisation des images sur mobile */
    .realisation-images-1 .gallery-image {
        height: 100px;
        max-width: 180px;
    }

    .realisation-images-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .realisation-images-4 .gallery-image {
        height: 70px;
    }

    .realisation-images-4 .gallery-image[data-orientation="portrait"] {
        height: 90px;
    }

    .realisation-images-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .realisation-images-6 .gallery-image {
        height: 60px;
    }

    .realisation-images-6 .gallery-image[data-orientation="portrait"] {
        height: 80px;
    }

    .content-image {
        border-radius: 0;
    }

    /* Ajustements pour les cartes de réalisation sur mobile */
    .realisation-card {
        margin-bottom: 1rem;
    }

    .realisation-header {
        padding: 0.8rem;
    }

    .realisation-title {
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    .realisation-type {
        font-size: 0.7rem;
        padding: 0.1rem 0.6rem;
    }

    .realisation-type-icon {
        width: 20px;
        height: 20px;
    }

    .agency-logo {
        width: 30px;
        height: 30px;
        top: 0.8rem;
        right: 0.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav-logo {
        position: absolute;
        left: 10px;
        top: -15px;
        transform: scale(0.8);
    }

    .nav-logo-img {
        height: 80px;
    }

    .hero-logo-img {
        height: 80px;
    }

    .footer-logo-img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .realisation-image { height: auto; }
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
        margin-top: .5em;
    }

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

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .nav-logo {
        position: absolute;
        left: 5px;
        top: -10px;
        transform: scale(0.6);
    }

    .nav-logo-img {
        height: 60px;
    }

    .hero-logo-img {
        height: 60px;
    }

    .footer-logo-img {
        height: 50px;
    }

    /* Optimisation des images sur très petits écrans */
    .realisation-images-1 .gallery-image {
        height: 80px;
        max-width: 150px;
    }

    .realisation-images-4 {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .realisation-images-4 .gallery-image {
        height: 60px;
    }

    .realisation-images-4 .gallery-image[data-orientation="portrait"] {
        height: 80px;
    }

    .realisation-images-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .realisation-images-6 .gallery-image {
        height: 50px;
    }

    .realisation-images-6 .gallery-image[data-orientation="portrait"] {
        height: 70px;
    }

    .content-image {
        border-radius: 0;
    }

    /* Ajustements supplémentaires pour très petits écrans */
    .realisation-card {
        margin-bottom: 0.8rem;
        min-height: 350px;
    }

    .realisation-header {
        padding: 0.6rem;
    }

    .realisation-title {
        font-size: 0.8rem;
        margin-top: 0.8rem;
    }

    .realisation-type {
        font-size: 0.6rem;
        padding: 0.08rem 0.5rem;
    }

    .realisation-type-icon {
        width: 18px;
        height: 18px;
    }

    .agency-logo {
        width: 25px;
        height: 25px;
        top: 0.6rem;
        right: 0.6rem;
    }

    .realisation-content {
        padding: 0.8rem;
    }

    .client-name {
        font-size: 1rem;
    }

    .client-location {
        font-size: 0.7rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-item,
.value-item,
.realisation-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
.service-card:nth-child(9) { animation-delay: 0.9s; }
.service-card:nth-child(10) { animation-delay: 1.0s; }
.service-card:nth-child(11) { animation-delay: 1.1s; }

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
} 