/* Base styles */
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 52, 67, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 52, 67, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 52, 67, 0); }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

:root {
    --primary-color: #103443;
    --secondary-color: #ffffff;
    --text-color: #103443;
    --bg-light: #ffffff;
    --bg-dark: #103443;
    --border-radius: 0;
    --box-shadow: 0 5px 20px rgba(16, 52, 67, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Prata', serif;
    margin-top: 0;
    line-height: 1.3;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

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

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: white;
    transition: width 0.3s ease, left 0.3s ease;
}

nav ul li a:hover:after {
    width: 80%;
    left: 10%;
}

nav ul li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 6px 12px rgba(16, 52, 67, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1a5b75);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s;
    z-index: -1;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a5b75, var(--primary-color));
    color: white;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(16, 52, 67, 0.25);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #1a5b75);
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    z-index: -1;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(16, 52, 67, 0.25);
    border-color: transparent;
}

.btn-secondary:hover::before {
    width: 100%;
}

.section {
    padding: 5rem 0;
}

/* Styles pour la section héro */
.hero {
    background-color: #1a1a1a;
    background-image: url('../assets/images/cover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(16, 52, 67, 0.8), rgba(16, 52, 67, 0.4));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    text-align: left;
    margin-left: 0;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    font-weight: 700;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-family: 'Prata', serif;
    font-size: 45px;
    font-weight: normal;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.section-header .subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 2rem;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: white;
}

/* Header */
header {
    padding: 0;
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 70px;
    display: flex;
    align-items: center;
}

header.scrolled {
    height: 60px;
    background-color: rgba(16, 52, 67, 0.95);
    backdrop-filter: blur(10px);
}

@media (max-width: 576px) {
    header, header.scrolled {
        height: 60px;
    }
}

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

/* Media queries pour le responsive */
/* Styles pour la navigation desktop */
nav {
    display: flex;
    align-items: center;
    height: 100%;
}

nav ul {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

/* S'assurer que le bouton de fermeture est caché en desktop */
@media (min-width: 992px) {
    .mobile-menu-close, .mobile-menu-logo {
        display: none !important;
    }
}

@media (max-width: 991px) {
    /* Masquer le menu sur mobile uniquement */
    nav ul {
        display: none;
    }
}

/* Logo principal */
.logo-img {
    height: 110px;
    width: auto;
    margin: -20px 0;
    position: relative;
    top: 0;
    transition: all 0.3s ease;
    display: block;
}

header.scrolled .logo-img {
    height: 90px;
}



@media (max-width: 991px) {
    .logo-img {
        height: 90px;
        margin: -10px 0;
    }
    
    header.scrolled .logo-img {
        height: 80px;
    }
    
    /* Bouton de fermeture du menu mobile supprimé */
}

@media (max-width: 576px) {
    /* Styles pour le header */
    header, header.scrolled {
        height: 70px;
        display: flex;
        align-items: center;
    }
    
    /* Styles pour le conteneur */
    header .container, header.scrolled .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Styles pour le logo */
    .logo-img {
        height: 90px !important;
        width: auto !important;
        margin: 0;
        transition: transform 0.3s ease;
    }
    
    .logo-img:hover {
        transform: scale(1.05);
    }
    
    /* Style pour le logo en sticky */
    header.scrolled .logo-img {
        height: 65px;
    }
    
    /* Style pour le burger menu */
    .mobile-menu-toggle i {
        font-size: 24px;
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-toggle:active i {
        transform: scale(0.9);
    }
    
    /* Amélioration du menu mobile */
    nav ul {
        width: 100%;
        padding-top: 5rem;
    }
    
    nav ul li {
        width: 85%;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2rem;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(45deg, rgba(16, 52, 67, 0.9) 0%, rgba(16, 52, 67, 0.7) 100%);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(16, 52, 67, 0.9) 0%, rgba(16, 52, 67, 0.7) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

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

.hero h1 {
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.2;
    font-family: 'Prata', serif;
    font-size: 65px;
    font-weight: normal;
}

.hero .subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 38px;
    font-weight: 300;
    color: white;
    margin-top: 0;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.hero .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: var(--border-radius);
}

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

.expertise-card {
    background-color: white;
    padding: 3rem 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--primary-color);
}

.expertise-card.animate {
    animation: fadeIn 0.6s ease forwards;
}

.expertise-card:nth-child(1) { animation-delay: 0.1s; }
.expertise-card:nth-child(2) { animation-delay: 0.3s; }
.expertise-card:nth-child(3) { animation-delay: 0.5s; }
.expertise-card:nth-child(4) { animation-delay: 0.7s; }

.expertise-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Avantages Section */
.avantages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.avantage-item {
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.avantage-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.avantage-item.animate {
    animation: scaleIn 0.6s ease forwards;
}

.avantage-item:nth-child(1) { animation-delay: 0.2s; }
.avantage-item:nth-child(2) { animation-delay: 0.4s; }
.avantage-item:nth-child(3) { animation-delay: 0.6s; }
.avantage-item:nth-child(4) { animation-delay: 0.8s; }

/* Processus Section */
.processus-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.processus-timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
    left: 25px;
    top: 0;
}

.processus-step {
    display: flex;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 2rem;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.processus-step.animate {
    animation: slideInLeft 0.6s ease forwards;
}

.processus-step:nth-child(odd).animate {
    animation: slideInLeft 0.6s ease forwards;
}

.processus-step:nth-child(even).animate {
    animation: slideInRight 0.6s ease forwards;
}

/* Projets Section */
.projets-section {
    background-color: #fff;
}

/* Styles pour l'encart vidéo */
.video-presentation {
    margin-bottom: 60px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.video-header {
    padding: 20px 30px;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
}

.video-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 0;
    color: #103443;
    text-align: left;
    position: relative;
    padding-left: 15px;
}

.video-header h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: 4px;
    background-color: #c8a97e;
}

.video-flex-container {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .video-flex-container {
        flex-direction: row;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    background-color: #000;
    flex: 1;
}

@media (min-width: 992px) {
    .video-container {
        padding-bottom: 30%;
        flex: 2;
    }
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    padding: 25px 30px;
    background-color: #f9f9f9;
    color: #333;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-description p {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.video-description strong {
    color: #103443;
    font-weight: 600;
}

.video-cta {
    text-align: left;
    margin-top: 20px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    background: #103443;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: #0d2a36;
    color: #fff;
}

@media (max-width: 768px) {
    .video-presentation {
        margin-bottom: 40px;
    }
    
    .video-header {
        padding: 15px 20px;
    }
    
    .video-header h3 {
        font-size: 20px;
    }
    
    .video-description {
        padding: 20px;
    }
    
    .video-description p {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .btn-outline {
        padding: 8px 16px;
        font-size: 13px;
        display: inline-block;
        margin-top: 5px;
    }
    
    .video-cta {
        margin-top: 15px;
    }
    
    /* Styles responsives pour les formulaires */
    .form-content-wrapper {
        flex-direction: column;
    }
    
    .form-content {
        order: 2;
        padding: 1.5rem;
    }
    
    .form-side-content {
        order: 1;
        min-height: 250px;
    }
    
    .contact-info {
        width: 90%;
        padding: 1.5rem;
    }
    
    .contact-form .form-row,
    .livre-blanc-form .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Styles pour les icônes sociales dans le footer */
.social-links-footer {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links-footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links-footer .social-link:hover {
    background-color: #c8a97e;
    color: #103443;
    transform: translateY(-3px);
}

/* Styles pour la section contact */
.contact-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.contact-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.contact-info {
    background-color: rgba(16, 52, 67, 0.85);
    padding: 2rem;
    border-radius: 8px;
    width: 80%;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.contact-info h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.info-item i {
    font-size: 1.2rem;
    margin-right: 1rem;
    color: #c8a97e;
}

.social-container {
    margin-top: 0.5rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #c8a97e;
    color: #103443;
    transform: translateY(-3px);
}

/* Styles pour les messages de succès des formulaires */
.form-success {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid #4CAF50;
    padding: 20px;
    margin-top: 20px;
    border-radius: 4px;
    text-align: center;
}

.form-success h3 {
    color: #4CAF50;
    margin-top: 0;
    margin-bottom: 10px;
}

.form-success p {
    margin-bottom: 15px;
}

.form-success .download-link {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-success .download-link:hover {
    background-color: #3e8e41;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Contact et Livre Blanc Fusionnée */
.bg-dark {
    background-color: var(--primary-color);
    color: white;
}

.bg-dark .section-header h2,
.bg-dark .section-header h3.subtitle,
.bg-dark .section-header p {
    color: white;
}

.form-switch-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.form-switch {
    display: flex;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    position: relative;
    padding: 4px;
    cursor: pointer;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.switch-option {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    z-index: 2;
    transition: color 0.3s ease;
    font-weight: 500;
    border-radius: 50px;
    white-space: nowrap;
}

.switch-option.active {
    color: var(--primary-color);
}

.switch-slider {
    position: absolute;
    height: calc(100% - 8px);
    width: calc(50% - 4px);
    background-color: white;
    border-radius: 50px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    left: 4px;
    top: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.switch-option:nth-child(2).active ~ .switch-slider {
    transform: translateX(100%);
}

.unified-form-container {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin: 2rem 0;
    color: var(--text-color);
}

.form-panels {
    position: relative;
    min-height: 600px;
}

.form-panel {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.form-panel.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.form-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    min-height: 550px;
}

.form-content {
    flex: 1;
    min-width: 300px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-side-content {
    flex: 1;
    min-width: 300px;
    background-color: #f5f5f5;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

.contact-form .form-row,
.livre-blanc-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-row .form-group,
.livre-blanc-form .form-row .form-group {
    flex: 1;
}

.contact-form .form-group,
.livre-blanc-form .form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea,
.livre-blanc-form input,
.livre-blanc-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.livre-blanc-form input:focus,
.livre-blanc-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
    outline: none;
}

.form-action {
    margin-top: 1.5rem;
}

.privacy-notice {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: #666;
}

#livre-blanc-panel h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.livre-blanc-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.livre-blanc-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.livre-blanc-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.livre-blanc-image {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.livre-blanc-image.full-width {
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.livre-blanc-image:hover {
    transform: translateY(-5px);
}

.livre-blanc-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.livre-blanc-image.full-width img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius);
    color: white;
}

.livre-blanc-image:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#contact-side-content {
    background-color: var(--primary-color);
    color: white;
}

.contact-info {
    width: 100%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Animation de transition du formulaire */
.form-transition {
    animation: formPulse 0.5s ease;
}

@keyframes formPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Responsive pour le formulaire unifié */
@media (max-width: 768px) {
    .form-content-wrapper {
        flex-direction: column;
    }
    
    .form-side-content {
        order: -1;
        padding: 2rem;
    }
    
    .unified-form .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .switch-option {
        padding: 10px;
        font-size: 0.9rem;
    }
}

.projets-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.projet-item {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.projet-header {
    text-align: left;
    margin-bottom: 1rem;
}

.projet-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: normal;
}

.projet-header p {
    color: var(--primary-color);
    font-style: italic;
}

.avant-apres-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.avant-apres-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.avant-apres-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.avant-apres-item:hover img {
    transform: scale(1.05);
}

.avant-apres-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    z-index: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.projet-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.projet-item {
    opacity: 0;
}

.projet-item.animate {
    animation: fadeIn 0.8s ease forwards;
}

.projet-item:nth-child(1) { animation-delay: 0.2s; }
.projet-item:nth-child(2) { animation-delay: 0.4s; }
.projet-item:nth-child(3) { animation-delay: 0.6s; }

/* Livre Blanc Section */
.livre-blanc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.livre-blanc-features {
    margin: 2rem 0;
}

.livre-blanc-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.livre-blanc-features li i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.livre-blanc-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.livre-blanc-preview {
    display: block;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-overlay i {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.preview-overlay span {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.livre-blanc-preview:hover .preview-overlay {
    opacity: 1;
}

.download-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.download-form input {
    padding: 1rem;
    border: none;
    border-bottom: 1px solid rgba(16, 52, 67, 0.2);
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    width: 100%;
}

.download-form input:focus {
    outline: none;
    border-bottom: 1px solid var(--primary-color);
    background-color: white;
}

.download-form .btn-primary {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.privacy-notice {
    font-size: 0.8rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

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

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

.form-group:nth-child(5) {
    grid-column: span 2;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-bottom: 1px solid rgba(16, 52, 67, 0.2);
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom: 1px solid var(--primary-color);
    background-color: white;
}

.contact-form button {
    grid-column: span 2;
}

.contact-info {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 0;
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.social-container {
    display: flex;
    align-items: center;
}

.social-container .social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    transition: var(--transition);
    line-height: 1;
    position: relative;
}

.social-link i {
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 0;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.large-logo .footer-logo-img {
    height: 160px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.livre-blanc-content h2 {
    font-family: 'Prata', serif;
    font-size: 45px;
    font-weight: normal;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.livre-blanc-content .subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.footer-links-column h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Media Queries pour la version mobile */
@media (max-width: 768px) {
    /* Header et navigation */
    header {
        padding: 1rem 0;
    }
    
    .logo-img {
        max-height: 40px;
    }
    
    nav ul {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-color);
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
        z-index: 101;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    /* Hero section */
    .hero {
        padding: 4rem 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Sections générales */
    .section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header .subtitle {
        font-size: 1.5rem;
    }
    
    /* Expertise section */
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    /* Avantages section */
    .avantages-accordion-container {
        flex-direction: column;
    }
    
    .avantages-visual,
    .avantages-accordion {
        width: 100%;
    }
    
    .avantages-visual {
        height: 250px;
        margin-bottom: 2rem;
    }
    
    /* Processus section */
    .processus-steps {
        flex-direction: column;
    }
    
    .processus-step {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    /* Réalisations section */
    .projets-grid {
        grid-template-columns: 1fr;
    }
    
    /* Formulaire section */
    .form-container {
        flex-direction: column;
    }
    
    .form-tabs {
        flex-direction: row;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .form-tab {
        width: 50%;
        padding: 0.75rem;
    }
    
    .form-content-container {
        width: 100%;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-side-content {
        display: none;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 2rem;
    }
    
    .large-logo .footer-logo-img {
        height: 100px;
    }
}

/* Avantages Accordion */
.avantages-accordion-container {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    margin-top: 3rem;
    align-items: flex-start;
}

.avantages-visual {
    flex: 1;
    position: relative;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.visual-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.visual-container.active {
    opacity: 1;
    display: block;
}

.visual-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avantages-accordion {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active {
    box-shadow: 0 10px 30px rgba(16, 52, 67, 0.15);
    border-left: 4px solid var(--primary-color);
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: white;
    transition: background-color 0.3s ease;
}

.accordion-item.active .accordion-header {
    background-color: rgba(16, 52, 67, 0.05);
}

.accordion-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.2rem;
}

.accordion-icon {
    color: var(--primary-color);
    font-size: 1rem;
}

.accordion-icon .fa-minus {
    display: none;
}

.accordion-item.active .accordion-icon .fa-plus {
    display: none;
}

.accordion-item.active .accordion-icon .fa-minus {
    display: inline;
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px;
}

/* Responsive */
@media (max-width: 992px) {
    .avantages-accordion-container {
        flex-direction: column-reverse;
    }
    
    .avantages-visual {
        height: 300px;
    }
    
    .livre-blanc-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .livre-blanc-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .avant-apres-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .download-form,
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .download-form button,
    .contact-form button,
    .form-group:nth-child(5) {
        grid-column: span 1;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}
