/* ========================================
   COULEURS - Modifiez ici pour changer les couleurs
   ======================================== */
:root {
    --noir: #000000;
    --blanc: #f5f5f5;
    --gris: #a0a0a0;
    --or: #c10e1a;
    --rouge: #dd987b;
}

/* ========================================
   BASE - Ne pas modifier
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Archivo', sans-serif;
    background: var(--noir);
    color: var(--blanc);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   NAVIGATION EN HAUT
   ======================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 50px 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255);
    z-index: 1000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--or);
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.menu a {
    color: var(--noir);
    text-decoration: none;
    transition: color 0.3s;
}

.menu a:hover {
    color: var(--or);
}

/* ========================================
   SECTION HERO (première section)
   ======================================== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.mot-dor {
    color: var(--or);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gris);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-portfolio {
    margin-top: 120px !important;
}

.bouton {
    padding: 1rem 2.5rem;
    border: 1px solid var(--or);
    color: var(--or);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
}

.bouton:hover {
    background: var(--or);
    color: var(--noir);
}

/* ========================================
   SECTIONS GÉNÉRALES
   ======================================== */
section {
    padding: 6rem 5%;
}

.titre-section {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sous-titre {
    color: var(--gris);
    margin-bottom: 4rem;
}

/* ========================================
   PORTFOLIO - Galerie d'images
   ======================================== */
.galerie {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.photo {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: zoom-in;
}

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

.photo:hover img {
    transform: scale(1.1);
}

.info-photo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    opacity: 0;
    transition: opacity 0.3s;
}

.photo:hover .info-photo {
    opacity: 1;
}

.info-photo h3 {
    font-family: 'Playfair Display', serif;
    color: var(--or);
    margin-bottom: 0.5rem;
}

.info-photo p {
    color: var(--gris);
    font-size: 0.9rem;
}

/* ========================================
   VIDÉO PORTFOLIO
   ======================================== */
.section-video {
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-video video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    background: #000;
}

.info-video {
    text-align: center;
    margin-top: 1.5rem;
}

.info-video h3 {
    font-family: 'Playfair Display', serif;
    color: var(--or);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.info-video p {
    color: var(--gris);
}

/* ========================================
   LIGHTBOX - Affichage plein écran
   ======================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--or);
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================================
   À PROPOS
   ======================================== */
.texte-apropos {
    max-width: 800px;
    margin: 0 auto;
}

.texte-apropos p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--gris);
    font-size: 1.1rem;
    text-align: justify;
}

.texte-apropos p:first-of-type::first-letter {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    float: left;
    margin: 0 0.5rem 0 0;
    color: var(--or);
    line-height: 0.8;
}

.lettrine::first-letter {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    float: left;
    margin: 0 0.5rem 0 0;
    color: var(--or);
    line-height: 0.8;
}

/* ========================================
   SERVICES - Cartes
   ======================================== */
.grille-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.carte-service {
    padding: 2.5rem;
    border: 1px solid var(--or);
    transition: all 0.3s;
}

.carte-service:hover {
    border-color: var(--or);
    transform: translateY(-5px);
}

.carte-service h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--or);
    margin-bottom: 1rem;
}

.carte-service p {
    color: var(--gris);
    line-height: 1.8;
}

/* ========================================
   CONTACTS
   ======================================== */
#contacts {
    text-align: center;
}

#contacts .titre-section,
#contacts .sous-titre {
    text-align: center;
}

.photo-contacts-haut {
    max-width: 800px;
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 8px;
}

.photo-contacts-haut img {
    width: 100%;
    height: auto;
    display: block;
}

.contacts-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-contacts-gauche,
.photo-contacts-droite {
    flex: 1;
}

.photo-contacts-gauche img,
.photo-contacts-droite img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.contacts-texte {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.contacts-texte p {
    text-align: center;
    color: var(--blanc);
    margin-bottom: 0;
}

.liens-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.liens-contacts a {
    color: var(--or);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.liens-contacts a:hover {
    text-decoration: underline;
}

.photo-contacts-mobile {
    display: none;
}

/* ========================================
   PIED DE PAGE
   ======================================== */
footer {
    background: var(--noir);
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(212,175,55,0.2);
}

footer p {
    color: var(--gris);
}

/* ========================================
   RESPONSIVE - Téléphones
   ======================================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--noir);
    position: absolute;
    transition: 0.3s;
}

.menu-toggle span:nth-child(1) { top: 10px; }
.menu-toggle span:nth-child(2) { top: 18px; }
.menu-toggle span:nth-child(3) { top: 26px; }

@media(max-width: 768px) {
    nav {
        padding: 1.5rem 5%;
    }

    .logo-img {
        height: 35px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 100px 2rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }

    .menu.active {
        right: 0;
    }

    .menu li {
        text-align: center;
    }

    .menu a {
        font-size: 1.3rem;
        display: block;
        padding: 1rem;
    }

    .menu-toggle.active span:nth-child(1) {
        top: 18px;
        transform: rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        top: 18px;
        transform: rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .titre-section {
        font-size: 2rem;
    }

    section {
        padding: 4rem 5%;
    }

    .photo-contacts-gauche,
    .photo-contacts-droite {
        display: none;
    }

    .contacts-container {
        flex-direction: column;
        gap: 2rem;
    }

    .contacts-texte {
        padding: 0;
    }

    .photo-contacts-mobile {
        display: block;
        max-width: 300px;
        margin: 2rem auto 0 auto;
    }

    .photo-contacts-mobile img {
        width: 50%;
        height: auto;
    }
}