/* =================================
   STYLE COPIE PIA QUINN
   Avec Glass-morphisme sur titres
   ================================= */

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

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}

/* Navigation */
.nav-minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem 0;
}

.nav-container-minimal {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav-logo a {
    display: block;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0);
}

.nav-menu-minimal {
    display: flex;
    gap: 2.5rem;
}

.nav-menu-minimal a {
    font-size: 0.9rem;
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu-minimal a:hover {
    opacity: 0.6;
}

/* Sélecteur de langue */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
    position: relative;
    z-index: 10;
}

.language-switcher::before {
    content: '';
    width: 1px;
    height: 20px;
    background: #ddd;
    margin-right: 0.5rem;
}

.lang-link {
    font-size: 1.2rem !important;
    text-decoration: none !important;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    line-height: 1;
    display: inline-block;
    cursor: pointer;
}

/* Cacher la langue active (celle de la page actuelle) */
.lang-link.active {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    pointer-events: none !important;
}

/* Hero Section avec effet de mélange titre/image */
.hero-pia {
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
}

.hero-pia-content {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 8vh 5vw;
    min-height: 80vh;
}

.title-pia {
    font-family: 'Cormorant', serif;
    font-size: clamp(6rem, 15vw, 18rem);
    font-weight: 400;
    line-height: 0.8;
    letter-spacing: -0.02em;
    color: #000;
    position: relative;
}

.title-pia span {
    display: block;
    position: relative;
}

/* Première ligne passe DEVANT l'image */
.title-pia span:first-child {
    z-index: 10;
}

/* Deuxième ligne passe aussi DEVANT l'image */
.title-pia span:last-child {
    z-index: 6;
}

/* Réduire la taille du deuxième mot */
.title-pia .small-text {
    font-size: 0.5em;
}

/* Bloc de Présentation avec Photo */
.presentation-block {
    padding: 8rem 0;
    background: #fafafa;
}

.presentation-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5vw;
}

.presentation-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 6rem;
    color: #000;
}

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

.presentation-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.presentation-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.presentation-text {
    padding-left: 2rem;
}

.presentation-intro {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #000;
}

.presentation-portfolio {
    font-size: 1.125rem;
    font-style: italic;
    color: #000;
}

/* Timeline Section */
.timeline-section {
    padding: 10rem 0;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5vw;
}

.timeline-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 6rem;
    color: #000;
}

.timeline {
    position: relative;
}

/* Ligne verticale */
.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e0e0e0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-year {
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    text-align: right;
    padding-right: 2rem;
}

.timeline-content {
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #000;
}

.timeline-company {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Section Expertises */
.expertises-section {
    padding: 10rem 0;
    background: #fafafa;
}

.expertises-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5vw;
}

.expertises-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 6rem;
    color: #000;
}

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

.expertise-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.expertise-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 1rem;
}

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

.expertise-item:hover .expertise-visual img {
    transform: scale(1.05);
}

/* Titre sur l'image - style bloc 1 */
.expertise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.expertise-title-overlay {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.expertise-info {
    padding: 0.5rem 0;
}

.expertise-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    text-align: center;
}

/* Section Projets avec Onglets */
.projets-tabs-section {
    padding: 10rem 0;
    background: #fff;
}

.projets-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5vw;
}

.projets-header {
    text-align: center;
    margin-bottom: 2rem;
}

.projets-main-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(3rem, 7.5vw, 9rem);
    font-weight: 400;
    color: #000;
    margin-bottom: 1rem;
}

.projets-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/* Menu des onglets */
.tabs-menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.tab-btn:hover {
    color: #000;
}

.tab-btn.active {
    color: #000;
}

.tab-btn.active::after {
    width: 100%;
}

/* Contenu des onglets */
.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

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

.projet-visual {
    width: 100%;
    margin-bottom: 4rem;
    border-radius: 8px;
    overflow: hidden;
}

.projet-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.projet-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.detail-item h3 {
    font-family: 'Cormorant', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.detail-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.projet-cta {
    text-align: center;
}

.btn-projet {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-projet:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Portfolio Content Section */
.portfolio-content-section {
    padding: 3rem 0;
    background: #fff;
}

/* Portfolio Gallery */
.portfolio-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.portfolio-intro h3 {
    font-family: 'Cormorant', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: #000;
    margin-bottom: 1rem;
}

.portfolio-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3/4;
    border: none;
    outline: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border: none;
    outline: none;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    transform: translateY(0);
    transition: opacity 0.4s ease;
}

.gallery-caption h4 {
    font-family: 'Cormorant', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Gallery Slider pour images multiples */
.gallery-item-slider {
    cursor: pointer;
    border: none;
    outline: none;
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 3/4;
    border: none;
    outline: none;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border: none;
    outline: none;
}

/* Vidéos dans les sliders */
video.slider-img {
    background: #000;
}

.slider-img.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Section Distinctions */
.distinctions-section {
    padding: 10rem 0;
    background: #fff;
}

.distinctions-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5vw;
}

.distinctions-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 6rem;
    color: #000;
}

.awards-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.award-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid #eee;
}

.award-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.award-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.award-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.award-title {
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.award-date {
    font-size: 0.95rem;
    color: #999;
    font-weight: 500;
}

.award-org {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.award-project {
    font-size: 1rem;
    color: #000;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Bloc Ils m'ont fait confiance */
.clients-trust-section {
    padding: 6rem 0;
    background: #fafafa;
}

/* Bloc Collaboration (même style) */
.collaboration-section {
    padding: 6rem 0;
    background: #fafafa;
}

.clients-trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5vw;
}

.clients-trust-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 1rem;
    color: #000;
}

/* Wrapper pour masquer le débordement */
.clients-logos-wrapper {
    overflow: hidden;
    padding: 2rem 0;
    width: 100%;
    position: relative;
}

/* Container des logos avec animation */
.clients-logos-scroll {
    display: flex;
    gap: 4rem;
    animation: scroll-logos 30s linear infinite;
    width: fit-content;
    will-change: transform;
}

/* Animation de défilement */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause au survol */
.clients-logos-scroll:hover {
    animation-play-state: paused;
}

.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    height: 80px;
}

.client-logo-item:hover {
    transform: translateY(-5px);
}

.client-logo-item img {
    width: 100%;
    height: 100%;
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.8;
    transition: all 0.3s ease;
    display: block;
}

.client-logo-item:hover img {
    filter: brightness(0);
    opacity: 1;
}

/* Page Contact */
.contact-form-section {
    min-height: calc(100vh - 80px);
    padding: 12rem 0 6rem;
    background: #fff;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: #000;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* Formulaire */
.contact-form {
    background: #fafafa;
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 4rem;
}

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

.form-label {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: #000;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

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

.form-input-small {
    max-width: 150px;
}

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

.form-select {
    cursor: pointer;
}

/* Radio buttons */
.form-radio-group {
    display: flex;
    gap: 2rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 50%;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
}

.radio-text {
    color: #000;
}

/* Submit button */
.form-submit {
    width: 100%;
    padding: 1.2rem 2rem;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

.form-message .success {
    color: #2d5016;
    background: #d4edda;
    padding: 1rem;
    border-radius: 4px;
}

.form-message .error {
    color: #721c24;
    background: #f8d7da;
    padding: 1rem;
    border-radius: 4px;
}

/* Informations contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding: 2rem 0;
}

.contact-info-item h3 {
    font-family: 'Cormorant', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.contact-info-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #000;
}

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

/* Page Projets */
.projets-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5vw 4rem;
    background: #fafafa;
}

.projets-hero-content {
    text-align: center;
}

.projets-hero-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 400;
    line-height: 1;
    color: #000;
    margin-bottom: 1.5rem;
}

.projets-hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.projet-section {
    padding: 8rem 0;
    background: #fff;
}

.projet-section-alt {
    background: #fafafa;
}

.projet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5vw;
}

.projet-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projet-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: #000;
    margin-bottom: 1rem;
}

.projet-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.projet-visual {
    width: 100%;
    margin-bottom: 4rem;
    border-radius: 8px;
    overflow: hidden;
}

.projet-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.projet-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.detail-item h3 {
    font-family: 'Cormorant', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.detail-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.projet-cta {
    text-align: center;
}

.btn-projet {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-projet:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Image positionnée ENTRE les deux lignes */
.image-pia {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 500px;
    z-index: 5; /* Entre les deux lignes de texte */
}

.image-pia img {
    width: 100%;
    height: auto;
    display: block;
    transform: scaleX(-1);
}

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

.hero-mixed-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    padding: 0 5vw;
}

.title-mixed {
    font-family: 'Cormorant', serif;
    font-size: clamp(5rem, 15vw, 14rem);
    font-weight: 700;
    line-height: 0.9;
    position: relative;
    z-index: 2;
}

.title-line {
    display: block;
}

/* Image qui s'entrelace avec le texte */
.hero-image-overlay {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    z-index: 1;
}

.hero-image-overlay img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

/* Glass-morphisme sur titre mixé */
.glass-title-mixed {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.35),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 0, 0, 0.05);
    padding: 2rem 3rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.08),
        inset 0 2px 0 0 rgba(255, 255, 255, 0.4);
    display: inline-block;
    color: #d63031; /* Couleur rouge/orange comme Pia Quinn */
}

/* Effet de profondeur - une ligne passe devant, l'autre derrière */
.title-mixed .title-line:first-child {
    position: relative;
    z-index: 3;
}

.title-mixed .title-line:last-child {
    position: relative;
    z-index: 0;
    margin-left: 15%;
}

/* Hero Section */
.hero-minimal {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.title-portfolio {
    font-family: 'Cormorant', serif;
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

/* Glass-morphisme sur titres */
.glass-title {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.1)
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 3rem;
    border-radius: 10px;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.05),
        inset 0 2px 0 0 rgba(255, 255, 255, 0.5);
    display: inline-block;
}

.glass-subtitle {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px 0 rgba(31, 38, 135, 0.03);
    display: inline-block;
}

.glass-caption {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.02);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Email Section */
.section-email {
    padding: 8rem 5vw;
    text-align: center;
}

.email-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
}

/* Bio Section */
.section-bio {
    padding: 0 5vw 8rem;
    max-width: 900px;
    margin: 0 auto;
}

.bio-intro {
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 300;
}

.bio-red {
    color: #d63031;
}

.bio-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #000;
}

/* Title Section */
.section-title {
    padding: 8rem 5vw;
    text-align: center;
}

.subtitle-role {
    font-family: 'Cormorant', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.3;
}

/* Selection Section */
.section-selection {
    padding: 8rem 5vw;
}

.selection-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 4rem;
    text-align: center;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f5f5f5;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-caption {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.portfolio-caption p {
    text-align: center;
}

/* About Section */
.section-about {
    padding: 8rem 5vw;
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-portfolio {
    font-style: italic;
}

/* Project Section */
.section-project {
    padding: 8rem 5vw;
    text-align: center;
}

.project-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 2rem;
}

.project-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #666;
}

/* Clients Section */
.section-clients {
    padding: 8rem 5vw;
    text-align: center;
}

.clients-title {
    font-family: 'Cormorant', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 4rem;
}

.clients-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem 2rem;
    text-align: left;
}

.client-item {
    border-left: 1px solid #e0e0e0;
    padding-left: 1.5rem;
}

.client-role {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.client-name {
    font-size: 1.125rem;
    font-weight: 500;
}

/* CTA Section */
.section-cta {
    padding: 10rem 5vw;
    text-align: center;
}

.cta-email {
    font-family: 'Cormorant', serif;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 400;
    font-style: italic;
}

/* Footer */
.footer-minimal {
    padding: 4rem 5vw 2rem;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.6;
}

.footer-credit {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.footer-name {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #666;
}

/* =================================
   RESPONSIVE
   ================================= */

@media (max-width: 768px) {
    .nav-container-minimal {
        padding: 0 4vw;
    }
    
    .logo-img {
        height: 32px;
        filter: brightness(0);
    }
    
    .nav-logo h1 {
        font-size: 0.8rem;
    }
    
    /* Hero Pia responsive */
    .hero-pia {
        min-height: 70vh;
        padding-top: 60px;
    }
    
    .hero-pia-content {
        min-height: 50vh;
        padding: 5vh 5vw 3vh;
    }
    
    .title-pia {
        font-size: clamp(4rem, 18vw, 8rem);
        line-height: 0.75;
    }
    
    .title-pia .small-text {
        font-size: 0.475em;
    }
    
    .image-pia {
        position: absolute;
        right: 5%;
        width: 50%;
        max-width: 350px;
    }
    
    .presentation-block {
        padding: 3.2rem 0;
    }
    
    .presentation-title {
        margin-bottom: 3rem;
    }
    
    .presentation-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .presentation-image {
        max-width: 200px;
    }
    
    .presentation-image img {
        border-radius: 50%;
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    
    .presentation-text {
        padding-left: 0;
    }
    
    .timeline-section {
        padding: 6rem 0;
    }
    
    .timeline::before {
        left: 60px;
    }
    
    .timeline-item {
        grid-template-columns: 100px 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .timeline-year {
        font-size: 1.25rem;
        padding-right: 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-caption {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .glass-title,
    .glass-subtitle {
        padding: 1rem 2rem;
    }
    
    .section-email,
    .section-bio,
    .section-title,
    .section-selection,
    .section-about,
    .section-project,
    .section-clients,
    .section-cta {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

@media (max-width: 480px) {
    .nav-menu-minimal {
        gap: 0.8rem;
    }
    
    .language-switcher {
        margin-left: 0.3rem;
        gap: 0.3rem;
        display: flex !important; /* Forcer l'affichage */
    }
    
    .language-switcher::before {
        height: 14px;
        margin-right: 0.3rem;
    }
    
    .lang-link {
        font-size: 0.9rem !important;
    }
    
    .glass-title,
    .glass-subtitle {
        padding: 0.75rem 1.5rem;
    }
    
    .hero-pia {
        min-height: 60vh;
        padding-top: 50px;
    }
    
    .hero-pia-content {
        min-height: 45vh;
        padding: 4vh 4vw 2vh;
    }
    
    .title-pia {
        font-size: clamp(3rem, 20vw, 6rem);
    }
    
    .title-pia .small-text {
        font-size: 0.475em;
    }
    
    .image-pia {
        width: 60%;
        max-width: 250px;
        right: 0;
    }
    
    .presentation-image {
        max-width: 160px;
    }
    
    .presentation-image img {
        border-radius: 50%;
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-section {
        padding: 4rem 0;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 2.5rem;
    }
    
    .timeline-year {
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .expertises-section {
        padding: 4rem 0;
    }
    
    .expertises-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expertise-title-overlay {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .distinctions-section {
        padding: 4rem 0;
    }
    
    .award-item {
        grid-template-columns: 100px 1fr;
        gap: 1.5rem;
        padding-bottom: 2rem;
    }
    
    .award-title {
        font-size: 1.2rem;
    }
    
    .projets-tabs-section {
        padding: 4rem 0;
    }
    
    .tabs-menu {
        gap: 0.5rem;
    }
    
    .tab-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .projet-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-caption {
        transform: translateY(0);
    }
    
    .clients-trust-section {
        padding: 4rem 0;
    }
    
    .clients-logos-scroll {
        gap: 2rem;
    }
    
    .client-logo-item {
        width: 100px;
        min-width: 100px;
        max-width: 100px;
        height: 60px;
        padding: 0.5rem;
    }
    
    .client-logo-item img {
        max-width: 100%;
        max-height: 50px;
        width: auto;
        height: auto;
    }
    
    @keyframes scroll-logos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    
    .contact-form-section {
        padding: 8rem 0 4rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projets-hero {
        padding: 6rem 5vw 3rem;
        min-height: 40vh;
    }
    
    .projet-section {
        padding: 4rem 0;
    }
    
    .projet-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection highlight color */
::selection {
    background: rgba(0, 0, 0, 0.1);
}

/* =================================
   MENU BURGER & MOBILE NAV
   ================================= */
.burger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-bar {
    width: 25px;
    height: 3px;
    background-color: #000 !important;
    margin: 5px 0;
    transition: 0.4s;
    display: block;
}

/* Styles Desktop - Assurer que le menu normal fonctionne */
@media (min-width: 901px) {
    .burger-menu {
        display: none !important;
    }
    
    .nav-menu-minimal {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        gap: 2.5rem !important;
    }
    
    .nav-menu-minimal a {
        font-size: 0.9rem !important;
        padding: 0 !important;
        font-family: 'Work Sans', sans-serif !important;
    }
    
    .language-switcher {
        margin-left: 1rem !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        gap: 0.5rem !important;
    }
    
    .language-switcher::before {
        content: '';
        width: 1px;
        height: 20px;
        background: #ddd;
        margin-right: 0.5rem;
        display: block !important;
        position: static !important;
        transform: none !important;
    }
    
    .language-switcher .lang-link {
        font-size: 1.2rem !important;
        padding: 0 !important;
    }
}

/* Styles Mobile */
@media (max-width: 900px) {
    .burger-menu {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        z-index: 1001;
        padding: 5px;
        width: 35px;
        height: 30px;
        background-color: transparent;
    }
    
    .burger-bar {
        width: 100%;
        height: 3px !important;
        background-color: #000 !important;
        margin: 0 !important;
    }

    .nav-menu-minimal {
        position: fixed !important;
        display: flex !important;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* iOS address-bar safe */
        background-color: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.4s ease-in-out;
        z-index: 999;
        gap: 1.75rem;
        padding: 6.5rem 0 2.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu-minimal.active {
        right: 0;
    }

    /* Burger animation */
    .burger-menu.active .burger-bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger-menu.active .burger-bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Navigation links in mobile */
    .nav-menu-minimal a {
        font-size: 1.6rem !important;
        font-family: 'Cormorant', serif; /* Matching headings */
        color: #000;
        padding: 0.65rem 2rem;
        position: relative;
    }
    
    /* Traits de séparation entre les liens (sans en ajouter sous le dernier lien) */
    .nav-menu-minimal > a:not(:last-of-type)::after {
        content: '';
        position: absolute;
        bottom: -0.9rem;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 1px;
        background-color: #ddd;
    }
    
    /* Page active dans le menu mobile */
    .nav-menu-minimal a.active {
        font-weight: 600;
    }
    
    /* Language switcher adjustment in mobile menu */
    .language-switcher {
        margin-left: 0 !important;
        margin-top: 2rem;
        padding-top: 1.5rem;
        display: flex !important;
        position: relative;
    }
    
    /* Trait avant le language switcher */
    .language-switcher::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 1px;
        background-color: #ddd;
    }
    
    .language-switcher .lang-link {
        font-size: 1.6rem !important;
        padding: 0.6rem 1rem;
        text-decoration: none;
        border: none;
    }
}

/* =================================
   PAGE COMPÉTENCES (Style Silikomart)
   ================================= */

.page-header {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    background-color: #fff;
}

.page-title {
    font-family: 'Cormorant', serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.page-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: #666;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.skills-showcase {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 5rem;
}

/* Conteneur centré pour respecter la grille */
.skills-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Espacement modéré entre les blocs */
}

.skill-block {
    display: flex;
    width: 100%;
    height: 500px; /* Hauteur fixe de 500px */
    position: relative;
    overflow: hidden;
    align-items: center;
}

/* Alternance : Image gauche / Texte droite */
.skill-block .skill-image {
    width: 48%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.skill-block .skill-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0 80px; /* Arrondi à droite pour image à gauche */
}

/* Effet de zoom au survol */
.skill-block:hover .skill-image img {
    transform: scale(1.05);
}

/* Inversion des arrondis pour les blocs inversés */
.skill-block.reversed .skill-image img {
    border-radius: 80px 0; /* Arrondi à gauche pour image à droite */
}

.skill-block .skill-text {
    width: 52%;
    background-color: transparent; /* Fond transparent car on est dans le conteneur */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem;
    position: relative;
}

/* Inversion : Texte gauche / Image droite */
.skill-block.reversed {
    flex-direction: row-reverse;
}

.skill-block.reversed .skill-text {
    background-color: transparent;
}

/* Typographie du contenu */
.skill-number {
    font-family: 'Work Sans', sans-serif;
    font-size: 13rem;
    color: rgba(0, 0, 0, 0.03);
    font-weight: 700;
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.skill-text h2 {
    font-family: 'Cormorant', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.skill-text p {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.skill-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.skill-list li {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.skill-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
    margin-right: 10px;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 900px) {
    .skill-block, 
    .skill-block.reversed {
        flex-direction: column;
        height: auto; /* Override desktop fixed height */
    }

    .skill-block .skill-image {
        width: 100%;
        height: min(360px, 45vh);
    }

    .skill-block .skill-text {
        width: 100%;
        padding: 2.5rem 1.5rem;
    }

    /* Mobile: cards look cleaner with full rounding */
    .skill-block .skill-image img,
    .skill-block.reversed .skill-image img {
        border-radius: 24px;
    }

    .skill-number {
        font-size: 7rem;
        top: 1.5rem;
        left: 1.5rem;
    }

    .skill-text h2 {
        font-size: 2rem;
    }
}

/* =================================
   MEDIA PAGE SPECIFIC
   ================================= */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Galerie media style par 3 (rogner pour alignement) */
.media-gallery .gallery-item {
    aspect-ratio: 3/4; /* Force le ratio pour la grille */
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.media-gallery .gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* Rogne l'image pour remplir la case */
}

/* Lightbox pour images media */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

@media (max-width: 900px) {
    .media-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .media-gallery {
        grid-template-columns: 1fr;
    }
}

/* Media subsection headers */
.media-subsection-header {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/* Section Dual Page Carousel */
.dualpage-section {
    padding: 3rem 0;
    background: #fafafa;
}

.dualpage-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-img.active {
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

/* Section Vidéos */
.videos-section {
    padding: 3rem 0;
    background: #fff;
}

.videos-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.video-item-large {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

/* Styles pour les vidéos dans la galerie media */
.video-item {
    position: relative;
    cursor: pointer;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    pointer-events: none;
    transition: all 0.3s ease;
}

.video-item:hover .video-play-icon,
.video-item-large:hover .video-play-icon {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Lightbox pour vidéos */
.video-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.video-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-video {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Responsive pour sections */
@media (max-width: 900px) {
    .videos-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .videos-gallery {
        grid-template-columns: 1fr;
    }
    
    .carousel-container {
        aspect-ratio: 4/3;
    }
    
    .dualpage-section,
    .videos-section {
        padding: 4rem 0;
    }
}

/* Suppression des styles redondants en bas de fichier */
