*,
*::after,
*::before {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

section:not(.home) {
    padding: 40px 20px;
}

@font-face {
    font-family: "Lemon Milk", sans-serif;
    font-weight: 400;
    font-style: normal;
    src: url('fonts/LEMONMILK-Regular.woff') format('woff');
}


:root {
    --black: #1D1D1B;
    --darkcolor: #0076C8;
    --lightcolor: #6aa5e9;
    --white: #fffcfc;
}




/*ACCESSIBILITÉ*/

.skip-link {
    background-color: var(--black);
    border: solid 3px var(--darkcolor);
    color: var(--white);
    font-size: 1.2rem;
    padding: 0.5em 0.5em;
    text-decoration: none;
}

.skip-link:not(:focus):not(:active) {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.skip-link:focus {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 999;
}


.sr-only {
    background-color: var(--white);
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/*NAVIGATION*/
.nav-link {
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #3b82f6;
    /* bleu Tailwind */
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}


/*PAGE D'ACCUEIL*/

.home {
    background-color: var(--black);
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.name {
    margin-right: auto;
    font-size: 3rem;
    font-weight: bold;
    font-family: "fino-sans", sans-serif;
}

.name a {
    color: var(--black);
    text-decoration: none;
}


.home h1 {
    font-size: 4rem;
    /* font-family: "fino-sans", sans-serif; */

    font-family: "Lemon Milk", sans-serif;
    letter-spacing: .2rem;
    margin-bottom: 0;
    margin-top: -10px;
}

.highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
    margin-top: -10px;
    font-size: 1.8rem;
    font-weight: normal;
}

.highlight::after {
    content: "";
    position: absolute;
    background-color: var(--darkcolor);
    width: 390px;
    height: 40%;
    bottom: 0;
    left: 0;
    z-index: -1;
    transform: rotate(359deg);
}

.shape {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.circle {
    width: 15px;
    height: 15px;
    background-color: var(--white);
    border-radius: 50%;
    position: relative;
    top: 0;
}

.line {
    width: 4px;
    height: 300px;
    background-color: var(--white);
    transform: translateX(-10px);
    margin-top: 3px;
}

.home-txt {
    max-width: 800px;
    color: var(--white);
}


.home-txt p {
    margin-bottom: 40px;
    font-size: 1.3rem;
}

.profile-photo img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: solid;
    background-color: #E9F6E9;
}


.home ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
    padding: 0;
}



/*MEDIA QUERIES*/

@media screen and (max-width:1180px) {
    .home {
        padding: 30px;
    }
}


@media screen and (max-width:1000px) {
    .highlight::after {
        display: none;
    }

    .highlight {
        font-size: 1.6rem;
    }
}

@media screen and (max-width:900px) {
    .home h1 {
        font-size: 3.5rem;
    }

    .home-txt p {
        font-size: 1.2rem;
    }

    .profile-photo img {
        width: 300px;
        height: 300px;
    }
}

@media screen and (max-width:797px) {
    .home h1 {
        font-size: 3.2rem;
    }

    .highlight {
        font-size: 1.4rem;
    }

    .home-txt p {
        font-size: 1rem;
    }

    .home-txt ul {
        font-size: 0.9rem;
    }

    .profile-photo img {
        width: 250px;
        height: 250px;
    }

}

@media (max-width: 745px) {
    .home {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .profile-photo {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .profile-photo img {
        width: 220px;
        height: 220px;
    }

    .shape {
        display: none;
    }

    .home-txt {
        text-align: center;
    }

    .home-txt p {
        font-size: 1.2rem;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .home ul {
        justify-content: center;
    }
}


@media (max-width: 389px) {
    .home h1 {
        font-size: 2.8rem;
    }

    .highlight {
        font-size: 1.3rem;
    }

    .home-txt p {
        font-size: 1rem;
    }

    .home ul {
        font-size: 0.7rem;
    }
}

section.services {
    margin: 0 auto;
    text-align: center;
    background-color: var(--black);
}

section.services h2 {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    font-family: "Lemon Milk", sans-serif;
    letter-spacing: .2rem;
    color: var(--white);
}

.cartes-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: auto;
}

.carte-service {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 8px 20px rgb(0, 118, 200, 0.15);
    text-align: left;
}


.card {
    display: flex;
    flex-direction: row;
    gap: 30px;
    height: fit-content;
    margin: auto;
}


@media (max-width: 1200px) {
    .card {
        flex-direction: column;
    }
}


.bloc-apropos {
    padding: 30px 25px;
    text-align: left;
    color: var(--white);
}

.bloc-apropos h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.bloc-apropos .trait-bleu {
    width: 50px;
    height: 3px;
    background-color: var(--darkcolor);
    margin-bottom: 20px;
}

.bloc-apropos p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.boutons-apropos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.btn-primaire {
    background-color: var(--darkcolor);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primaire:hover {
    background-color: var(--lightcolor);
    color: var(--black);
}

.btn-secondaire {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondaire:hover {
    background-color: var(--white);
    color: var(--black);
}



.carte-service i {
    margin-bottom: 20px;
    font-size: 1.6rem;
    display: flex;
    justify-content: center;
}

.carte-service h3 {
    color: var(--black);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    justify-content: center;

}

.carte-service p {
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 15px;
}

.carte-service ul {
    list-style: none;
    padding-left: 0;
}

.carte-service ul li {
    margin-bottom: 8px;
    color: var(--black);
    font-size: 0.95rem;
}

.carte-service ul li::before {
    content: "✔";
    color: var(--darkcolor);
    margin-right: 10px;
}



/*--------------------------------------*/

section.temoignages {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

section.temoignages h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: "Lemon Milk", sans-serif;
    letter-spacing: .2rem;

}


.cartes-temoignages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.carte-temoignage {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 8px 20px rgb(0, 118, 200, 0.15);
    text-align: left;
}

.etoiles {
    color: var(--darkcolor);
    font-size: 1rem;
    margin-bottom: 15px;
}

blockquote {
    font-style: italic;
    color: var(--black);
    margin: 0 0 30px 0;
}

.auteur {
    display: block;
    margin-top: 10px;
}

.infos-auteur {
    font-size: 0.9rem;
    line-height: 1.4;
}

.infos-auteur .nom {
    font-weight: bold;
    color: var(--black);
}

.infos-auteur .poste {
    color: var(--black);
}























.hidden {
    display: none;
}



.section-projets {
    max-width: 1300px;
    margin: auto;
}

.titre {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    font-family: "Lemon Milk", sans-serif;
    letter-spacing: .2rem;
}

.filtres {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-filtre {
    cursor: pointer;
    padding: 0.5rem 1.2rem;
    background-color: var(--black);
    border: 2px solid transparent;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    user-select: none;
    color: var(--white);
}

.btn-filtre:hover {
    background-color: var(--black);
}

.btn-filtre.active {
    background-color: var(--darkcolor);
    color: var(--white);
}

.grille-projets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 10px;
}

.projet-carte {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 8px rgb(0 0 0 / 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.projet-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.projet-contenu {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.projet-titre {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--black);
}


.link:hover {
    text-decoration: underline;
}

.btn-lien-site {
    margin-top: auto;
    align-self: flex-start;
    background-color: var(--darkcolor);
    color: var(--white);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background-color 0.25s ease;
}

.btn-lien-site:hover,
.btn-lien-site:focus {
    background-color: var(--darkcolor);
    outline: none;
}

/* Styles spécifiques selon catégorie */
.projet-carte.design .projet-image {
    background-color: #ffcc80;
    /* couleur chaude pour design */
}

.projet-carte.web .projet-image {
    background-color: #90caf9;
    /* couleur bleue pour web */
}

/* Responsive */
@media (max-width: 400px) {
    .btn-filtre {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}









@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 2rem 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1.5rem;
}

.footer-left h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    font-family: "Lemon Milk", sans-serif;
    letter-spacing: 0.1rem;
}

.footer-left p {
    font-size: 0.95rem;
    margin: 0.25rem 0 0;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: var(--lightcolor);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid #30353a;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: underline;
    transition: color 0.3s;
}

@media (min-width: 600px) {
    .footer-content {
        flex-direction: row;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-links {
        margin-top: 0;
    }
}


.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    transition: transform 0.2s ease;
}

.close-lightbox:hover,
.close-lightbox:focus {
    transform: scale(1.3);
    outline: none;
}