/* ============================================================
   OPHELIE MALOREY - PHOTOGRAPHE
   Site portfolio one-page | Design editorial haut de gamme
   ============================================================
   Palette : olive / or / noir / creme
   Typo   : Playfair Display (titres) + Cormorant Garamond (corps)
   ============================================================ */

/* -------------------------------------------------------
   0. IMPORTS & VARIABLES
   ------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    /* - Couleurs - */
    --color-olive:        #5C5A1E;
    --color-olive-light:  #7A7830;
    --color-olive-dark:   #3D3B14;
    --color-black:        #1A1A1A;
    --color-white:        #FAFAF5;
    --color-cream:        #F0EDE5;
    --color-gold:         #C4A962;
    --color-text:         #2B2B2B;
    --color-text-light:   #E8E5DC;

    /* - Typographie - */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Cormorant Garamond', Garamond, 'Times New Roman', serif;

    /* - Espacements - */
    --section-padding:    120px 0;
    --container-width:    1200px;
    --gap:                2rem;

    /* - Transitions - */
    --ease-out:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}


/* -------------------------------------------------------
   1. RESET & BASE
   ------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text-light);
    background-color: var(--color-olive);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* - Texture grain en overlay sur tout le site - */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-smooth);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* - Scrollbar custom - */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-olive-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-olive-light);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) var(--color-olive-dark);
}

/* - Selection - */
::selection {
    background: var(--color-gold);
    color: var(--color-black);
}

::-moz-selection {
    background: var(--color-gold);
    color: var(--color-black);
}


/* -------------------------------------------------------
   2. UTILITAIRES
   ------------------------------------------------------- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-padding);
}

/* Titres de section */
.section-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1rem, 2vw, 1.3rem);
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.8;
}

/* Separateur decoratif */
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem auto;
    width: 200px;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.5;
}

.separator-icon {
    color: var(--color-gold);
    font-size: 0.6rem;
    opacity: 0.7;
}


/* -------------------------------------------------------
   3. BOUTONS
   ------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    padding: 1rem 3.5rem;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.5s var(--ease-smooth),
                border-color 0.5s var(--ease-smooth);
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-gold);
    z-index: -1;
    transition: width 0.5s var(--ease-smooth);
}

.btn:hover {
    color: var(--color-black);
}

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

/* Variante blanche */
.btn--white {
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn--white::before {
    background: var(--color-white);
}

.btn--white:hover {
    color: var(--color-black);
}

/* Variante pleine */
.btn--filled {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
}

.btn--filled::before {
    background: var(--color-olive-dark);
}

.btn--filled:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}


/* -------------------------------------------------------
   4. NAVBAR
   ------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color 0.4s var(--ease-smooth),
                padding 0.4s var(--ease-smooth),
                backdrop-filter 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    background-color: rgba(61, 59, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-white);
}

.nav-logo span {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.4s var(--ease-smooth);
}

.nav-link:hover {
    color: var(--color-gold);
}

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

/* Bouton dans la navbar */
.nav-menu .btn {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 1.5px;
    background: var(--color-white);
    transition: transform 0.3s var(--ease-smooth),
                opacity 0.3s var(--ease-smooth);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}


/* -------------------------------------------------------
   5. HERO
   ------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--color-olive-dark);
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-content {
    z-index: 2;
}

.hero-overtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out) 0.3s forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out) 0.5s forwards;
}

.hero-role {
    font-family: var(--font-heading);
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    font-weight: 400;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out) 0.7s forwards;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 450px;
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out) 0.9s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out) 1.1s forwards;
}

/* Hero image */
.hero-image-wrapper {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeSlideUp 1.2s var(--ease-out) 0.6s forwards;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Cadre artistique autour de l'image hero */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--color-gold);
    opacity: 0.4;
    z-index: -1;
    transition: transform 0.5s var(--ease-smooth);
}

.hero-image-wrapper:hover::before {
    transform: translate(-5px, -5px);
}

/* Fond decoratif hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(92, 90, 30, 0.3) 0%,
        rgba(61, 59, 20, 0.8) 100%);
    z-index: 1;
}


/* -------------------------------------------------------
   5.5. DECORATION FLORALE
   ------------------------------------------------------- */
.fleur-decoration {
    text-align: left;
    padding: 1rem 0;
    padding-left: 10%;
    background-color: var(--color-olive-dark);
    margin-top: -6rem;
    margin-bottom: -6rem;
    position: relative;
    z-index: 2;
}

.fleur-decoration img {
    display: inline-block;
    max-width: 180px;
    width: 100%;
    height: auto;
    filter: invert(1) brightness(2);
    mix-blend-mode: screen;
    opacity: 0.7;
}


/* -------------------------------------------------------
   6. MON TRAVAIL / ABOUT
   ------------------------------------------------------- */
.about {
    padding: var(--section-padding);
    background-color: var(--color-olive-dark);
    position: relative;
}

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

.about-content {
    color: var(--color-text-light);
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 0.5rem;
}

.about-content .section-subtitle {
    text-align: left;
    margin-bottom: 2rem;
}

/* Lettrine */
.about-text p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin-right: 0.5rem;
    margin-top: 0.15rem;
    color: var(--color-gold);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--color-text-light);
    opacity: 0.9;
}

/* Image about avec cadre */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    object-fit: cover;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.3);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--color-gold);
    opacity: 0.3;
    z-index: -1;
}


/* -------------------------------------------------------
   7. PORTFOLIO / OEUVRES
   ------------------------------------------------------- */
.portfolio {
    padding: var(--section-padding);
    background-color: var(--color-olive);
}

.portfolio .section-title {
    color: var(--color-white);
}

.portfolio .section-subtitle {
    color: var(--color-text-light);
}

/* Image vedette */
.featured-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 5rem;
    position: relative;
}

.featured-image img {
    width: 100%;
    object-fit: cover;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.featured-image figcaption {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
    color: var(--color-text-light);
    opacity: 0.7;
}

/* Seance */
.session {
    margin-bottom: 6rem;
}

.session:last-child {
    margin-bottom: 0;
}

/* Alternance de fonds */
.session:nth-child(even) {
    background-color: var(--color-black);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 5rem calc(50vw - 50%);
}

.session:nth-child(odd) {
    background-color: transparent;
}

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

.session-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.session-description {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1rem;
    color: var(--color-text-light);
    opacity: 0.7;
}

/* Grille photos */
.session-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.session-grid .photo {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 4;
}

.session-grid .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.session-grid .photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0);
    transition: background 0.4s var(--ease-smooth);
    pointer-events: none;
}

.session-grid .photo:hover img {
    transform: scale(1.03);
}

.session-grid .photo:hover::after {
    background: rgba(26, 26, 26, 0.2);
}

/* Icone loupe au hover */
.session-grid .photo::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-white);
    z-index: 2;
    opacity: 0;
    transition: transform 0.4s var(--ease-smooth),
                opacity 0.4s var(--ease-smooth);
}

.session-grid .photo:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}


/* -------------------------------------------------------
   8. CTA SECTION
   ------------------------------------------------------- */
.cta-section {
    padding: 100px 0;
    background-color: var(--color-black);
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--color-gold));
}

.cta-tagline {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 300;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cta-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-white);
    margin-bottom: 2.5rem;
}

.cta-section .btn {
    font-size: 0.75rem;
}


/* -------------------------------------------------------
   9. CONTACT
   ------------------------------------------------------- */
.contact {
    padding: var(--section-padding);
    background-color: var(--color-olive);
    position: relative;
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-content .section-title {
    text-align: left;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.contact-highlight {
    color: var(--color-gold);
}

.contact-content .section-subtitle {
    text-align: left;
    margin-bottom: 2.5rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--color-text-light);
}

.contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.3s var(--ease-smooth),
                color 0.3s var(--ease-smooth);
}

.contact-item:hover .contact-item-icon {
    background: var(--color-gold);
    color: var(--color-black);
}

.contact-item a {
    color: var(--color-text-light);
    transition: color 0.3s var(--ease-smooth);
}

.contact-item a:hover {
    color: var(--color-gold);
}

/* Photo portrait contact */
.contact-image-wrapper {
    position: relative;
}

.contact-image-wrapper img {
    width: 100%;
    object-fit: cover;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    opacity: 0.3;
    z-index: -1;
}


/* -------------------------------------------------------
   10. TEMOIGNAGES
   ------------------------------------------------------- */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--color-olive-dark);
}

.testimonials .section-title {
    color: var(--color-white);
}

.testimonials .section-subtitle {
    color: var(--color-text-light);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(196, 169, 98, 0.15);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.4s var(--ease-smooth),
                box-shadow 0.4s var(--ease-smooth),
                border-color 0.4s var(--ease-smooth);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(196, 169, 98, 0.35);
}

.testimonial-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--color-gold);
    opacity: 0.9;
}

.testimonial-quote {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    position: relative;
}

/* Guillemets stylises */
.testimonial-quote::before {
    content: '\00AB';
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: normal;
    color: var(--color-gold);
    opacity: 0.5;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-quote::after {
    content: '\00BB';
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: normal;
    color: var(--color-gold);
    opacity: 0.5;
    display: inline;
    line-height: 1;
    vertical-align: middle;
    margin-left: 0.3rem;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.testimonial-role {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--color-text-light);
    opacity: 0.6;
    margin-top: 0.3rem;
}


/* -------------------------------------------------------
   11. FOOTER
   ------------------------------------------------------- */
.footer {
    background-color: var(--color-black);
    padding: 4rem 0 2rem;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--color-gold);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-logo span {
    color: var(--color-gold);
}

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

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(196, 169, 98, 0.4);
    color: var(--color-text-light);
    font-size: 0.9rem;
    transition: background 0.3s var(--ease-smooth),
                color 0.3s var(--ease-smooth),
                border-color 0.3s var(--ease-smooth),
                transform 0.3s var(--ease-smooth);
}

.footer-social-link:hover {
    background: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

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

.footer-nav a {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-light);
    opacity: 0.6;
    transition: opacity 0.3s var(--ease-smooth),
                color 0.3s var(--ease-smooth);
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--color-text-light);
    opacity: 0.4;
    margin-top: 1.5rem;
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--color-gold);
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease-smooth),
                visibility 0.4s var(--ease-smooth),
                transform 0.4s var(--ease-smooth),
                background 0.3s var(--ease-smooth);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-olive-light);
    color: var(--color-white);
}


/* -------------------------------------------------------
   12. LIGHTBOX
   ------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-smooth);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.4s var(--ease-smooth);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-white);
    cursor: pointer;
    transition: color 0.3s var(--ease-smooth),
                transform 0.3s var(--ease-smooth);
}

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

/* Navigation lightbox */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    padding: 1rem;
    transition: color 0.3s var(--ease-smooth);
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-gold);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}


/* -------------------------------------------------------
   13. ANIMATIONS - REVEAL AU SCROLL
   ------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Delais echelonnes pour les grilles */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Animation d'entree hero */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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


/* -------------------------------------------------------
   14. RESPONSIVE - TABLETTE (max 1024px)
   ------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .about .container {
        gap: 3rem;
    }

    .session-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 3e card centree en dessous */
    .testimonial-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        justify-self: center;
    }
}


/* -------------------------------------------------------
   15. RESPONSIVE - MOBILE (max 768px)
   ------------------------------------------------------- */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    :root {
        --section-padding: 60px 0;
    }

    /* Nav mobile */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--color-olive-dark);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s var(--ease-smooth);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

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

    .nav-link {
        font-size: 0.8rem;
        letter-spacing: 0.25em;
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-image-wrapper {
        order: -1;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-image-wrapper::before {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }

    .hero::before {
        width: 100%;
        height: 50%;
        top: 0;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
    }

    /* About mobile */
    .about .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content .section-title,
    .about-content .section-subtitle {
        text-align: center;
    }

    .about-image-wrapper::after {
        top: 10px;
        left: 10px;
        right: -10px;
        bottom: -10px;
    }

    /* Portfolio mobile */
    .session-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .session:nth-child(even) {
        padding: 3rem calc(50vw - 50%);
    }

    .featured-image {
        margin-bottom: 3rem;
    }

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

    .contact-content .section-title,
    .contact-content .section-subtitle {
        text-align: center;
    }

    .contact-image-wrapper {
        max-width: 80%;
        margin: 0 auto;
    }

    /* Temoignages mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card:nth-child(3) {
        max-width: 100%;
    }

    /* CTA mobile */
    .cta-tagline {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .cta-heading {
        letter-spacing: 0.15em;
    }

    /* Footer mobile */
    .footer-nav {
        gap: 1rem;
    }
}


/* -------------------------------------------------------
   16. RESPONSIVE - PETITS MOBILES (max 480px)
   ------------------------------------------------------- */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .section-title {
        letter-spacing: 0.15em;
    }

    .hero-role {
        letter-spacing: 0.2em;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.7rem;
    }

    .hero-image-wrapper {
        max-width: 90%;
    }

    .contact-image-wrapper {
        max-width: 100%;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}


/* -------------------------------------------------------
   17. PREFERENCE MOUVEMENT REDUIT
   ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}


/* -------------------------------------------------------
   18. IMPRESSION (optionnel, bonne pratique)
   ------------------------------------------------------- */
@media print {
    .navbar,
    .lightbox,
    .back-to-top,
    .cta-section {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
