/* style.css - CSS commun des 16 pages */
@font-face{font-family:tvpw;src:url(fonts/font_4.woff2)format("woff2");font-weight:700;font-style:normal;font-stretch:normal}@font-face{font-family:tvpw;src:url(fonts/font_5.woff2)format("woff2");font-weight:300;font-style:normal;font-stretch:normal}@font-face{font-family:tvpw;src:url(fonts/font_6.woff2)format("woff2");font-weight:600;font-style:normal;font-stretch:normal}@font-face{font-family:tvpw;src:url(fonts/font_7.woff2)format("woff2");font-weight:400;font-style:normal;font-stretch:normal}


/* =========================
   BASE TYPO GLOBAL
   ========================= */

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: tvpw, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #111;
    background: #fff;
}

/* images full responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   HEADER (desktop clean)
   ========================= */

.page-header {
    max-width: 720px;
    margin: 0 auto;
    padding: 100px 20px 60px 20px;
    text-align: center;
}

.page-header .title {
    font-size: 54px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header .description {
    font-size: 20px;
    line-height: 1.6;
    color: #666;
}

/* =========================
   IMAGES
   ========================= */

.project-module {
    margin-bottom: 40px;
}

.project-module img {
    width: 100%;
    height: auto;
}

/* =========================
   CONTAINERS SAFE (multi pages)
   ========================= */

.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.site-content {
    width: 100%;
}

/* =========================
   MOBILE FIX PRO
   ========================= */

@media (max-width: 768px) {

    .page-header {
        padding: 40px 16px 30px 16px;
        max-width: 100%;
    }

    .page-header .title {
        font-size: 30px;
        line-height: 1.2;
    }

    .page-header .description {
        font-size: 16px;
        line-height: 1.6;
        color: #555;
        white-space: normal;
    }

    .page-container {
        padding: 0 16px;
    }

    .site-container,
    .site-content {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .project-module {
        margin-bottom: 25px;
    }

    .logo {
        font-size: 20px;
        line-height: 22px;
    }
}


/* =========================
   HEADER MOBILE FIX (GRID PRO)
   ========================= */

@media (max-width: 932px) {

    .site-header {
        display: grid !important;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "nav social"
            "logo logo";
        align-items: center;
        padding: 10px 16px;
        row-gap: 12px;
    }

    /* NAV gauche */
    header nav {
        grid-area: nav;
        display: flex !important;
        gap: 12px;
        justify-content: flex-start;
        align-items: center;
        width: auto !important;
    }

    /* SOCIAL droite */
    .pf-nav-social {
        grid-area: social;
        display: flex !important;
        justify-content: flex-end;
        width: auto !important;
    }

    .pf-nav-social ul {
        display: flex !important;
        gap: 10px;
        margin: 0;
        padding: 0;
    }

    /* LOGO centré en dessous */
    .logo-wrap {
        grid-area: logo;
        text-align: center;
        width: 100% !important;
        margin: 0;
    }

    .logo {
        font-size: 22px;
        line-height: 24px;
    }

    /* important reset pour éviter les retours à la ligne */
    nav .gallery-title,
    nav .page-title {
        white-space: nowrap;
    }
}