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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #ffffff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
}

.logo-main h2 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #2c3e50;
    letter-spacing: 4px;
}

.logo-main a {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 130px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 400;
    font-size: 0.95rem;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #7f8c8d;
}

/* Hero Section avec VidÃƒÆ’Ã‚Â©o */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.65);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    color: #ffffff;
    font-weight: 200;
    letter-spacing: 12px;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
    animation-delay: 0.8s;
}

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

/* Placeholder pour vidÃƒÆ’Ã‚Â©o */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    z-index: 0;
}

/* Container Fluid pour pleine largeur */
.container-fluid {
    width: 100%;
    padding: 0;
}

/* Section - Plus compact */
.presentation-section {
    padding: 60px 40px;
    background: #ffffff;
}

.presentation-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.presentation-content {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.presentation-content p {
    font-size: 1.05rem;
    color: #34495e;
    line-height: 1.9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.value-card:nth-child(1) {
    animation-delay: 0.2s;
}

.value-card:nth-child(2) {
    animation-delay: 0.4s;
}

.value-card:nth-child(3) {
    animation-delay: 0.6s;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #95a5a6;
}

.value-number {
    font-size: 2.5rem;
    font-weight: 200;
    color: #95a5a6;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 1px;
}

.value-card p {
    font-size: 0.95rem;
    color: #7f8c8d;
    line-height: 1.7;
}

.data-inline {
    text-align: center;
}

.data-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 50px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.data-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.data-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

/* Divider Section - Carrousel d'images */
.divider-section {
    width: 100%;
    height: 40vh;
    min-height: 300px;
    overflow: hidden;
    position: relative;
}

.image-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 500%;
    height: 100%;
    animation: slideShow 25s infinite;
}

.slider-image {
    width: 20%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

@keyframes slideShow {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-20%);
    }
    45% {
        transform: translateX(-20%);
    }
    50% {
        transform: translateX(-40%);
    }
    70% {
        transform: translateX(-40%);
    }
    75% {
        transform: translateX(-60%);
    }
    95% {
        transform: translateX(-60%);
    }
    100% {
        transform: translateX(-80%);
    }
}

/* Placeholder pour images slider */
.slider-image {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

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

/* Section Espace blanc */
.spacer-section {
    background: #ffffff;
    padding: 10px 0;
}

/* Section Image Environnement */
.env-image-section {
    background: #ffffff;
}

.env-image-hero {
    position: relative;
    height: 35vh;
    min-height: 280px;
    max-height: 400px;
    overflow: hidden;
}

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

.env-overlay-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.env-overlay-small h2 {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 3px;
    text-align: center;
    padding: 0 20px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

/* Section Environnement */
.environment-section {
    background: #ffffff;
}

.env-hero-image {
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
}

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

.env-overlay {
    position: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.env-overlay h2 {
    font-size: 3rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 3px;
    text-align: center;
    padding: 0 20px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

.env-content-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
}

.env-content-text p {
    font-size: 1.05rem;
    color: #34495e;
    line-height: 1.9;
    margin-bottom: 20px;
}

.env-content-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.env-image-box {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.env-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.env-image-box:hover .env-image {
    transform: scale(1.05);
}

/* Placeholder pour image environnement */
.env-image-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a8e6cf 0%, #7eb8a3 100%);
    z-index: -1;
}

.env-text-box {
    flex: 1;
}

.env-text-box p {
    font-size: 1.05rem;
    color: #34495e;
    line-height: 1.9;
}

/* Section RSE */
.rse-section {
    padding: 80px 40px;
    background: #f8f9fa;
}

.rse-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.rse-unified-layout {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.rse-block {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 0;
}

.rse-block.reverse {
    flex-direction: row-reverse;
    margin-bottom: 0;
    margin-top: 120px;
}

.rse-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.rse-block:first-child .rse-img {
    height: 380px;
}

.rse-block.reverse .rse-img {
    height: 300px;
}

.rse-img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.rse-image-container:hover .rse-img {
    transform: scale(1.05);
}

.rse-text-container {
    flex: 1;
    padding: 0 20px;
}

.rse-text-container p {
    font-size: 1.05rem;
    color: #34495e;
    line-height: 1.9;
}

.rse-layout {
    max-width: 1400px;
    margin: 0 auto;
}

.rse-content-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    margin-bottom: 60px;
}

.rse-text-main {
    padding: 60px 80px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rse-text-main h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.rse-text-main p {
    font-size: 1.05rem;
    color: #34495e;
    line-height: 1.9;
}

.rse-image-main {
    position: relative;
    overflow: hidden;
}

.rse-img-large {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.rse-image-main:hover .rse-img-large {
    transform: scale(1.05);
}

.rse-secondary-block {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.rse-image-secondary {
    position: relative;
    overflow: hidden;
}

.rse-img-secondary {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.rse-image-secondary:hover .rse-img-secondary {
    transform: scale(1.05);
}

.rse-text-secondary {
    padding: 50px 60px;
    background: #2c3e50;
    display: flex;
    align-items: center;
}

.rse-text-secondary p {
    font-size: 1.05rem;
    color: #ecf0f1;
    line-height: 1.9;
}

.rse-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.rse-content {
    max-width: 1200px;
    margin: 0 auto;
}

.rse-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.rse-image-left,
.rse-image-right {
    position: relative;
    overflow: hidden;
}

.rse-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.rse-image-left:hover .rse-image,
.rse-image-right:hover .rse-image {
    transform: scale(1.05);
}

/* Placeholder pour images RSE */
.rse-image-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4a5a5 0%, #b88b8b 100%);
    z-index: -1;
}

.rse-image-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a5c4d4 0%, #8ba8b8 100%);
    z-index: -1;
}

.rse-text p {
    font-size: 1.05rem;
    color: #34495e;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Secteurs Section - Architecture Image/Texte */
.secteurs-section {
    background: #ffffff;
}

.section-title {
    text-align: center;
    padding: 60px 40px 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 300;
    letter-spacing: 2px;
}

.secteur-row {
    display: flex;
    min-height: 500px;
}

.secteur-row.reverse {
    flex-direction: row-reverse;
}

.secteur-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.secteur-row:hover .img-cover {
    transform: scale(1.05);
}

/* Placeholder pour images secteurs */
.secteur-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ecf0f1;
    z-index: -1;
}

.secteur-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 100px;
    background: #ffffff;
}

.secteur-row:nth-child(even) .secteur-text {
    background: #f8f9fa;
}

.secteur-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 1px;
}

.secteur-text p {
    font-size: 1.05rem;
    color: #34495e;
    line-height: 1.9;
}

/* Contact Section - Formulaire centrÃƒÆ’Ã‚Â© uniquement */
.contact-section {
    padding: 60px 40px;
    background: #f8f9fa;
}

.contact-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 300;
    letter-spacing: 2px;
}

.contact-intro {
    text-align: center;
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 50px;
}

.contact-form-center {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border: 1px solid #e0e0e0;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-group {
    margin-bottom: 30px;
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 400;
    margin-bottom: 10px;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #95a5a6;
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    background: #2c3e50;
    color: #ffffff;
    padding: 15px 50px;
    border: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

.btn-submit:hover {
    background: #34495e;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 80px 40px 40px;
}

.footer-col-logos {
    display: flex;
    align-items: flex-start;
    padding-left: 0;
    margin-left: -20px;
}

.footer-logos-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.footer-logo {
    height: 120px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-ditib-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 70px;
}

.partnership-logo {
    height: 55px !important;
    filter: none !important;
}

.partnership-text-block {
    display: flex;
    flex-direction: column;
}

.partnership-text {
    font-size: 0.8rem;
    color: #bdc3c7;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.partnership-name {
    font-size: 0.85rem;
    color: #ecf0f1;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.footer-col p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #bdc3c7;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #ecf0f1;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #34495e;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Responsive */
@media (max-width: 968px) {
    .secteur-row,
    .secteur-row.reverse {
        flex-direction: column;
        min-height: auto;
    }
    
    .secteur-text {
        padding: 50px 30px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 6px;
    }
    
    .contact-form-center {
        padding: 40px 30px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .env-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .rse-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .env-image,
    .rse-image {
        height: 300px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .env-hero-image {
        height: 40vh;
        min-height: 300px;
    }
    
    .env-image-hero {
        height: 30vh;
        min-height: 250px;
    }
    
    .env-overlay h2 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .env-overlay-small h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .rse-content-block,
    .rse-secondary-block {
        grid-template-columns: 1fr;
    }
    
    .rse-text-main,
    .rse-text-secondary {
        padding: 40px 30px;
    }
    
    .rse-img-large,
    .rse-img-secondary {
        min-height: 300px;
    }
    
    .rse-block,
    .rse-block.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .rse-img {
        height: 300px;
    }
    
    .rse-text-container {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .secteur-text {
        padding: 40px 20px;
    }
    
    .secteur-row {
        min-height: 400px;
    }
    
    .contact-form-center {
        padding: 30px 20px;
    }
    
    .env-image,
    .rse-image {
        height: 250px;
    }
    
    .env-content-text {
        padding: 40px 20px;
    }
    
    .rse-text-main h2 {
        font-size: 2rem;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .rse-img {
        height: 250px;
    }
}
/* Partenariat DITIB France - Footer */
.partnership-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

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