/**
* 
* Template : Quentinrenaux V25

* Author : Quentin Renaux
* Version : 2025

* Crée le : 19/4/25
* Last edit : 19/4/25
*
*/



:root {
    --color-light-background: #ffffff;
    --color-light-text: #000000;
    
    --color-dark-background: #121212;
    --color-dark-text: #e0e0e0;
}


    body {
        margin: 0;
        font-family: Arial, sans-serif;
        background: #f6f6f6;
    }


    /* cover : actuellement avec code article */
    .q25-4-cover {
        /*border: 1px solid purple;*/
        margin-top: -65px;
        min-height: 90vh;
    }

    /* blocs sections */
    .q25-4-section {
        min-height: 50vh;
        padding: 0;
        margin: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    /* blocs titres */
    .q25-4-title {
        position: sticky;
        top: 0;
        left: 0;
        padding: 10px 10px 10px 69px;
        z-index: 1001;
        /*border: 1px solid green;*/
        mix-blend-mode: difference;
        filter: invert(1);

        display: inline-block;
    }

    .q25-4-title h1, .q25-4-title h2 {
        font-size: 55px;
        margin-top: -9px;
        margin-bottom: -10px;
        font-family: arial, helvetica;
        display: inline-block;
        pointer-events: all;
        font-weight: 600;
        /*border: 1px solid rgb(0, 255, 21);*/
    }

    .q25-4-title a:hover, .q25-4-title-repeat a:hover {
        text-decoration: none;

        -webkit-text-stroke: 1px black;
        text-fill-color: transparent;
        color: transparent;
    }

    .q25-4-title-repeat {
        width: 100%;
        overflow: hidden;
        white-space: nowrap; 
        display: block;

        position: absolute;
        top: 0;
        left: 0;
        padding: 10px 10px 10px 69px;
        z-index: 1000;
        /*border: 1px solid green;*/
        mix-blend-mode: difference;
        filter: invert(1);

        font-size: 55px;
        margin-top: -9px;
        margin-bottom: -10px;
        font-family: arial, helvetica;
        display: inline-block;
        pointer-events: all;
        font-weight: 600;
        /*border: 1px solid orange;*/
    }

    .q25-4-title-repeat a {
        display: inline-block;
        text-decoration: none;
        margin-right: 20px; 
        color: #000; 
    }
    
    .q25-4-title-repeat a:first-child {
        opacity: 0; 
        pointer-events: none; 
        z-index: -2;
        position: relative; 
    }

    /* dégradé fin */
    .q25-4-title-repeat:after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 100px; 
        background: linear-gradient(to right, transparent, white 50%, white 100%);
        pointer-events: none;
    }

    @media (max-width: 800px) {
        .q25-4-title {
            padding: 15px 10px 10px 49px;
        }
        .q25-4-title h1, .q25-4-title h2 {
            font-size: 24px;
            margin-top: -3px;
        }
        .q25-4-title-repeat {
            padding: 15px 10px 10px 49px;
            font-size: 24px;
            margin-top: -3px;
        }
    }

    /* blocs intro */
    .q25-4-intro  {
        max-width: 770px;
        padding: 0 70px 0 72px;
        margin: 0;

        font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-family: 'Futura TGW', 'Futura-Medium', Futura, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-size: 22px;
        letter-spacing: -0.2px;
        font-weight: 300;
        line-height: 1.4;

        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        color: #000;
        background-color: #fff; 
    }

    /* par dessus le code */
    .q25-4-cover_intro {
        position: absolute;
        top: 65px;
        left: 69px;
        z-index: 1000; /* au dessus code */
        font-family: 'Futura TGW', 'Futura-Medium', Futura, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-size: 22px;
        letter-spacing: -0.2px;
        font-weight: 300;
        line-height: 1.4;
        color: #fff;
        pointer-events: none;
        mix-blend-mode: difference;
        /*filter: invert(1);*/
    }

    @media (max-width: 800px) {
        .q25-4-intro  {
            padding: 0 50px 0 49px;
        }
    }

    /* blocs content */
    .q25-4-content {
        position: relative;
        /* padding: 48px 32px; */
        /* font-size: 1.15em; */
        /* color: #444; */
        /* line-height: 1.7; */
    }


    /* bloc footer */
    footer.q25-4-footer {
        position: relative !important;
    }

    .q25-4-footer {
        background: #222;
        color: #fff;
        padding: 64px 0 48px 0;
        font-size: 1.2em;
        margin-top: -1px;
    }

    .q25-4-footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 32px;
        padding: 0 32px;
    }
    .q25-4-footer-col {
        flex: 1 1 220px;
        min-width: 180px;
    }
    .q25-4-footer-col h4 {
        margin-top: 0;
        margin-bottom: 16px;
        font-size: 1.2em;
        font-weight: bold;
        letter-spacing: 1px;
    }
    .q25-4-footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .q25-4-footer-col ul li {
        margin-bottom: 10px;
    }
    .q25-4-footer-col ul li a {
        color: #fff;
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.2s;
    }
    .q25-4-footer-col ul li a:hover {
        opacity: 1;
        text-decoration: underline;
    }
    .q25-4-footer-bottom {
        text-align: center;
        margin-top: 40px;
        font-size: 0.95em;
        color: #bbb;
    }

    @media (max-width: 800px) {
        .q25-4-footer-container {
        flex-direction: column;
        gap: 0;
        }
        .q25-4-footer-col {
        margin-bottom: 32px;
        }
    }




/* portfolio v25b */

.apropos_portfolio_liste {
    /* from gentlewoman (use futura) mix avec numero  */
    font-family: 'Futura TGW', 'Futura-Medium', Futura, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

    
    display: flex; 
    flex-wrap: wrap; /* éléments go à la ligne */
    /* gap: 10px; /* Gap */

    padding: 0px;
    border-top: 1px solid black;
}

.apropos_portfolio_item {
    aspect-ratio: 3 / 3;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;

    background-color: #fff; 
    background-image: linear-gradient(to right, rgba(128, 128, 128, 0.1) 1px, transparent 1px), linear-gradient(to bottom, rgba(128, 128, 128, 0.1) 1px, transparent 1px);
    background-size: 15% 120px;

    background: #fff; 

    width: calc(50% - 0px); 
    width: calc(33.33% - 0px);

    max-width: none; 
    margin: 0; 

    padding: 10px;

    /*border: 1px solid black;*/
    border: 0;
    border-bottom: 1px solid black;

    aspect-ratio: inherit;
}

.apropos_portfolio_liste .apropos_portfolio_item:nth-child(3n+1),
.apropos_portfolio_liste .apropos_portfolio_item:nth-child(3n+2) {
  border-right: 1px solid #000;
}

.apropos_portfolio_liste .apropos_portfolio_item:nth-child(3n) {
  border-right: none;
}

.apropos_portfolio_liste h2.portfolio-title {
    padding: 10px 0;
    margin: 0;
    font-family: 'Futura TGW', 'Futura-Medium', Futura, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

    font-size: 22px;
    letter-spacing: -0.2px;
    font-weight: 300;
    line-height: 1.4;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #000;
    background-color: #fff;
}

.portfolio-tags {
    background: #fff;
    padding: 5px 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.portfolio-tags .tag {
    position: relative;
}

.portfolio-tags .tag a {
    display: block;
    text-decoration: none;
    background: #dddddd4a;
    padding: 5px 12px;
    margin: 1px;
}

.portfolio-tags .tag a:hover {
    text-decoration: none;
    background: #dddddda4;
}


.portfolio-image {
    /*border: 1px solid red;*/
    height: 100%;
}


@media (max-width: 800px) {

    .apropos_portfolio_liste {
        padding: 0px;
        border-top: 1px solid black;
    }

    .apropos_portfolio_item {
        width: calc(50% - 0px); 
        padding: 10px;
        border: 0;
        border-bottom: 1px solid black;
    }

    .apropos_portfolio_liste .apropos_portfolio_item:nth-child(odd) {
        border-right: 1px solid #000; /* Mets la couleur que tu veux */
      }
    
    .apropos_portfolio_liste h2.portfolio-title {
        font-size: 14px;
    }
}