/*
Theme Name: WPavance
Theme URI: https://www.agence-alchimy.fr
Author: Mathias CLAVELIN
Author URI: https://www.agence-alchimy.fr
Description: Thème de base
Requires at least: WordPress 5.0
Version: 1.0
*/

:root {
    --blanc: #D0D9E9;
    --noir: #003B66;
    --accent: #00A0C8;
    --blanc-transparent: rgba(208, 217, 223, 0.3);
}

* {
    box-sizing: border-box;
}


body {
    font-family: "Poppins", sans-serif;
    background: var(--blanc);
    margin: 160px 0 0 0;
    /* décale le haut de page */
    min-height: 78.1vh;
    display: flex;
    flex-direction: column;
}

/* HEADER FIXER EN HAUT*/
body>header.header {
    position: fixed;
    width: 100%;
    height: 100px;
    top: 30px;
    z-index: 10;
}

h1 {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 40px;
    color: var(--blanc);
}

main.portfolio-pedagogique-archive h1 {
    font-size: 80px;
    color: var(--noir);
    text-align: center;
    text-transform: uppercase;
}

main.portfolio-pedagogique-single .hero h1 {
    text-shadow: none;
}

main.portfolio-pedagogique-archive section.filtres  {
    display: flex;
    align-items: center; /* Centre verticalement */
    justify-content: center; /* Centre horizontalement */
}

main.portfolio-pedagogique-archive section.filtres fieldset select {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
       color: var(--blanc);
}

main.portfolio-pedagogique-archive * {
    color: var(--blanc);
}

main.portfolio-pedagogique-archive section.realisations a:hover
article::before {
    background: rgba(0, 59, 102, 0.5);
    backdrop-filter: blur(5px);
    opacity: 100%;
}

main.portfolio-pedagogique-archive section.realisations article {
    padding: 50px;
}


h2 {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 40px;
    color: var(--noir);
    text-shadow: none;
    text-transform: uppercase;
}

h3 {
    font-family: "Poppins", sans-serif;
    font-size: 25px;
    color: var(--noir);
}

h4 {
    color: var(--accent);
    text-transform: uppercase;
    font-family: "Poppins", bold;
}

p,
a {
    font-family: "Poppins", sans-serif;
    color: var(--noir);
}


main.portfolio-pedagogique-single .meta>p {
    color: var(--blanc);
}

.swiper-slide img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

main.portfolio-pedagogique-single>section.traces,
main.portfolio-pedagogique-single>section {
    padding: 0 200px 0 200px;
}

header .header-content {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* logo gauche / menu droite */
    gap: 20px;
    padding: 18px 120px;
}

/* LOGO */
header .logo img {
    display: block;
    height: 65px;
    width: auto;
    padding: 5px 10px;
    border-radius: 50px;
    background-color: var(--blanc-transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

header.header>ul>li:last-child {
    margin-left: auto;
}

.menu-principal-container ul,
header.header li:last-child>.menu {
    display: flex;
    align-items: center;
    gap: 20px;
    /* espace entre les boutons */
    margin: 0;
    padding: 0;
}

/* HEADER FOND NAVIGATION */
.menu-principal-container {
    padding: 10px;
    border-radius: 50px;
    background-color: var(--blanc-transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* HEADER EFFACE LES PUCES AUX BOUTONS */
.menu-principal-container li {
    list-style: none;
}

/* STYLE BOUTON NAVIGATION */
.menu-principal-container ul>li>a {
    display: inline-block;
    padding: 7px 35px;
    border: 4px solid var(--noir);
    background: transparent;
    border-radius: 999px;
    text-decoration: none;
    transition: 0.3s;

    font-family: "Pixelify Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    color: var(--noir);
}

/* ANIMATION HOVER*/
header.header .menu>li:hover>a,
header.header ul.menu>li:hover>a {
    background-color: var(--accent);
    border-color: var(--blanc);
    color: var(--blanc);
    transition: 0.3s;
}

/* page courante */
header.header ul.menu .current-menu-item>a {
    background-color: var(--accent);
    border-color: var(--blanc);
    color: var(--blanc);
    transition: 0.3s;
}

header.header ul.menu .current-menu-item>a::after {
    width: 100%;
}

/* focus clavier */
header.header ul.menu li a:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 4px;
}

.logo-container {
    position: relative;
}

.logo-normal {
    transition: opacity 0.3s;
}

.logo-hover {
    position: absolute;
    top: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.logo-container:hover .logo-normal {
    opacity: 0;
}

.logo-container:hover .logo-hover {
    opacity: 1;
}

.reseaux path {
    fill: aqua;
}

/* HEADER RESPONSIVE */
@media (max-width: 900px) {
    header.header img {
        height: 56px;
    }

    header.header>ul {
        padding: 12px 18px;
        gap: 12px;
    }

    header.header .menu,
    header.header ul.menu {
        gap: 12px;
    }

    header.header .menu>li>a {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 560px) {

    /* version mobile : on empile si nécessaire */
    header.header>ul {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px;
    }

    header.header>ul>li:last-child {
        margin-left: 0;
    }

    header.header .menu {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-content svg {
        max-width: 30px;
        color: var(--accent);
    }
}

main {
    flex: 1;
    /* Pousse le footer en bas */
}

main.portfolio-pedagogique-archive {
    background-color: var(--blanc);
}

/* FOOTER */
.footer {
    position: relative;
    height: 20vh;
    margin: 2vh 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

ul.footer-content {
    list-style: none;
    display: flex;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 40px 0 0 0;
    justify-content: center;
    gap: 1.5vw;
}

.footer-content svg {
    width: 4vw;
    height: 4vw;
    min-width: 20px;
    /* Taille minimale pour rester visible */
    max-width: 40px;
    fill: var(--blanc);
    transition: fill linear 0.3s;
    /* Ajustez selon vos besoins */
}

.footer-content svg:hover {
    transition: fill linear 0.3s;
    fill: var(--accent);
}

.footer p {
    position: relative;
    /* Pour être au-dessus de l'image */
    z-index: 2;
    /* Passe au-dessus de l'image */
    text-align: center;
    color: var(--blanc);
}

.footer-fond {
    position: absolute;
    bottom: 0;
    /* Seulement centrage horizontal */
    width: 70%;
    /* Prend toute la largeur */
    height: 100%;
    /* Prend toute la hauteur du footer */
    background-position: bottom;
    background-size: contain;
    z-index: 1;
}


/* PAGE PROJETS */
.projects-title {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 80px;
    color: var(--noir);
    text-align: center;
}


/* FILTRES */
.projects-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 0 20px;
}

.filter-btn {
    padding: 10px 30px;
    border: 3px solid var(--noir);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--noir);
    text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--blanc);
}

/* CARTE PROJET */
.project-item {
    width: 100%;
    padding: 100px 120px;
    background: var(--noir);
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--blanc);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    min-height: 150px;
}

/* Overlay sombre pour rendre le texte lisible */
.project-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 59, 102, 0.5);
    backdrop-filter: blur(5px);

    z-index: 1;
}

.project-item:hover .project-item__overlay {
    background: rgba(0, 160, 200, 0.85);
    mix-blend-mode: multiply;
    backdrop-filter: blur(0px);
    transition: 0.7s;
}

.project-item:hover {
    padding-left: 140px;
}

/* Mettre le contenu au-dessus de l'overlay */
.project-item__title,
.project-item__meta {
    position: relative;
    z-index: 2;
}

/* TITRE DU PROJET */
.project-item__title {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 80px;
    color: var(--blanc);
    margin: 0;
    font-weight: 700;
}

/* META À DROITE */
.project-item__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    position: relative;
    z-index: 2;
}

/* DATES */
.project-item__dates,
span.project-item__date {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 25px;
    color: var(--blanc);
    text-align: right;
}

.project-item__date {
    display: block;
}

/* DOMAINES */

.project-item__domains {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.project-item__domain-tag {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 14px;
    color: var(--blanc);
    text-transform: uppercase;
    padding: 5px 15px;
    background: rgba(0, 160, 200, 0.3);
    border-radius: 20px;
    border: 1px solid var(--blanc);
}





/* ========================================
   PAGE SINGLE PROJET
======================================== */

.single-project-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ========================================
   SECTION HERO (Titre + Description + Image)
======================================== */

.project-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

/* Colonne gauche */
.project-info {
    padding: 0px 40px 40px 40px;
    border-radius: 20px;
}

.project-header {
    margin-bottom: 30px;
}

.titre {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: var(--noir);
    margin: 0 0 0 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.project-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-dates,
.meta-modality {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description {
    font-size: 1.05rem;
    line-height: 1.8;

    margin-bottom: 30px;
}

.project-description p {
    margin-bottom: 1rem;
}

.project-actions {
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent);
    color: var(--blanc)
}

.btn-primary:hover {
    background: var(--noir);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--blanc);
}

/* Colonne droite */
.project-featured {
    position: sticky;
    top: 100px;
}

.featured-image-wrapper {
    background: var(--accent);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    padding-bottom: 75%;
    /* Ratio 4:3 */
}

.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ========================================
   TAGS DOMAINES SOUS L'IMAGE
======================================== */

.project-item__domains_infos {
    display: flow-root;
    gap: 10px;
    margin-top: 20px;
    padding-bottom: 5px;
}

.project-item__domain-tag_projet {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 14px;
    color: var(--blanc);
    text-transform: uppercase;
    padding: 5px 15px;
    background: var(--noir);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.project-item__domain-tag_projet:hover {
    background: var(--accent);
}


/* ========================================
   CARROUSEL GALERIE - Défilement automatique
======================================== */

.project-gallery {
    margin-bottom: 40px;
    max-width: calc(100vw-40px-);
}

.gallery-carousel {
    overflow: hidden;
    border-radius: 30px;
    width: 100%;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
    gap: 10px;
}

/* Animation de défilement infini */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.carousel-item {
    height: 50vw;
}

.carousel-image-wrapper {
    height: 100%;
}

.carousel-image-wrapper img {
    border-radius: 30px;
    height: 100%;
    width: auto;
}

/* ========================================
   RESPONSIVE CARROUSEL
======================================== */

@media (max-width: 1024px) {

    .carousel-track {
        animation-duration: 15s;
        /* Plus rapide sur petit écran */
    }
}

@media (max-width: 768px) {

    .carousel-item {
        height: 100vw;
    }

    .carousel-track {
        animation-duration: 12s;
    }

    .carousel-image-wrapper {
        border-radius: 15px;
    }
}






/* ========================================
   PAGE CONTACT
======================================== */

.contact-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    background: var(--blanc);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* ========================================
   COLONNE GAUCHE - INFORMATIONS
======================================== */

.contact-info {
    padding-top: 20px;
}

.contact-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--noir);
    margin: 0 0 30px 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.contact-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--noir);
    max-width: 450px;
}

/* ========================================
   COLONNE DROITE - FORMULAIRE
======================================== */

.contact-form-wrapper {
    background: transparent;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ligne avec 2 champs côte à côte */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--noir);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--noir);
    border: none;
    border-radius: 15px;
    color: var(--blanc);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Bouton d'envoi */
.btn-submit {
    padding: 15px 50px;
    background: var(--accent);
    color: var(--blanc);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--noir);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* ========================================
   MESSAGES DE CONFIRMATION / ERREUR
======================================== */

.success-message,
.error-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.success-message {
    background: var(--blanc);
    color: var(--accent);
    border: 2px solid var(--accent);
}

.error-message {
    background: var(--blanc);
    color: var(--accent);
    border: 2px solid var(--accent);
}

/* ================
   PAGE D'ACCUEIL
=================== */

/*AUTO SCROLL HORIZONTAL*/
.marquee-container {
    width: 100%;
    overflow: hidden;
    /*Cache ce qui déborde de la fenêtre*/
    transform: rotate(1deg);
    /*Rotation de 1 degree*/
    position: relative;
    /* ou absolute, fixed, sticky */
    z-index: 4;
    /* Maintenant ça fonctionne */
}

.marquee-content {
    display: flex;
    /*Aligne les deux blocs*/
}

.marquee-item {
    flex-shrink: 0;
    /*Empêche les items de rétrécir*/
    white-space: nowrap;
    /*Force le texte sur une seule ligne*/
    padding: 0px 0px 0px 15px;
    margin: 0 0 0 0;
    background-color: var(--noir);
}

span {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 30px;
    color: var(--noir);
}

span.scroll {
    font-family: "Pixelify Sans", sans-serif;
    
    font-size: 70px;
    color: var(--blanc);
}

.icon-container {
    width: 100%;
    overflow: hidden;
    /* Cache ce qui déborde de la fenêtre */
    transform: rotate(0deg);
    /* Rotation de 1 degré */
}

.icon-content {
    display: flex;
    /* Aligne les deux blocs */
}

.icon-item {
    flex-shrink: 0;
    /* Empêche les items de rétrécir */
    white-space: nowrap;
    /* Force le contenu sur une seule ligne */
    padding: 20px 50px 20px 0px;
    margin: 0px 0 0 0;
    background-color: var(--accent);
    display: flex;
    gap: 50px;
    /* Espace entre les images */
}

.marquee-img {
    height: 100px;
    /* Ajustez la taille selon vos besoins */
    width: auto;
    display: inline-block;
}


/*TIMELINE HORIZONTALE*/
.timeline-container {
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 0;
}

.timeline-wrapper {
    position: absolute;
    top: 70%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    padding-left: 50vw;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    background: var(--noir);
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    min-width: 100%;
    z-index: 5;
}

.timeline-segment {
    height: 6px;
    background: var(--noir);
    flex-shrink: 0;
}

.timeline-dashes {
    display: flex;
    gap: 20px;
    margin-right: 20px;
    background-color: var(--blanc);
}

.dash {
    width: 30px;
    height: 6px;
    background: var(--noir);
    flex-shrink: 0;
}

.timeline-item {
    position: relative;
    flex-shrink: 0;
    margin-right: 600px;
}

.timeline-content {
    position: absolute;
    bottom: 0;
    margin-bottom: 7vh;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
}

h2.experience-title {
    color: var(--accent);
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.experience-date {
    color: var(--noir);
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
}

.experience-description {
    color: var(--noir);
    line-height: 1.6;
    font-size: 1em;
    max-width: 500px;
    margin: 0 0;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background: var(--noir);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
}

.shifter {
    margin-top: -20vh;
}

.banner-container {
    display: grid;
    /* On crée 2 colonnes : 1.2 fraction pour le texte, 1 fraction pour l'image */
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas: "titre photo";

    position: relative;
    width: 90%;
    height: 300px;
    margin-bottom: 50px;
    background-color: var(--noir);
    border-radius: 0 500px 500px 0;

    /* Empêche TOUT dépassement (l'image sera coupée par le bord noir) */
    overflow: hidden;
}

.banner-title {
    grid-area: titre;
    /* Se place dans la colonne de gauche */

    justify-self: start;
    /* Aligné à gauche */

    padding-left: 60px;
    margin-top: 30px;
    color: var(--blanc);
    font-family: "Pixelify Sans", sans-serif;
    font-size: 80px;
    z-index: 3;
}

.main-image {
    grid-area: photo;
    /* Se place dans la colonne de droite */

    justify-self: center;
    /* Centre l'image dans sa colonne */
    align-self: end;
    /* Colle l'image en bas du conteneur */

    width: 100%;
    /* Prend la largeur de sa colonne */
    height: auto;
    display: block;

    /* Ta rotation et ton décalage vers le bas */
    /* On ajuste le translateY pour que l'image reste BIEN à l'intérieur */
    transform: translateY(-40px) rotate(8deg);
    z-index: 2;
}


.who-container {
    display: grid;
    /* On crée 2 colonnes : 1.2 fraction pour le texte, 1 fraction pour l'image */
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas: "titre photo";

    position: relative;
    width: 30%;
    height: 300px;
    background-color: var(--noir);
    border-radius: 0 500px 500px 0;

    /* Empêche TOUT dépassement (l'image sera coupée par le bord noir) */
    overflow: hidden;
}


.who-image {
    grid-area: photo;
    /* Se place dans la colonne de droite */

    justify-self: center;
    /* Centre l'image dans sa colonne */
    align-self: end;
    /* Colle l'image en bas du conteneur */

    width: 200%;
    /* Prend la largeur de sa colonne */
    height: auto;
    display: block;

    /* Ta rotation et ton décalage vers le bas */
    /* On ajuste le translateY pour que l'image reste BIEN à l'intérieur */
    transform: translateY(-30px) translateX(-50px) rotate(8deg);
    z-index: 2;
}


.who-section {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 0 120px 50px 0;
}

.who-text {
    flex: 1;
}

.who-titre {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 80px;
    color: var(--noir);
    margin: 0;
}

.who-sous {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 36px;
    color: var(--accent);
    margin: 0 10px;
}

.who-text .titre {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 36px;
    color: var(--noir);
    margin-bottom: 20px;
}

.who-text p {
    color: var(--noir);
    line-height: 1.8;
    font-size: 16px;
}


.competences {
    padding: 40px 0;
}

.tools-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 20px 120px;
    background: var(--blanc);
    border-bottom: #003B66 dashed 6px;
}

.tools-section:last-child {
    border-bottom: none;
}

.tools-title {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 50px;
    color: var(--noir);
    margin: 0;
    width: 400px; /* Ajustez selon vos besoins */
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    flex: 1;
}

.tool-item {
    text-align: left;
}

.tool-name {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 2px 0;
}

.tool-desc {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: var(--noir);
    line-height: 1.6;
    margin: 0;
}

.curieux {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 200px;
    margin: 40px auto; /* 0 en haut/bas, auto à gauche/droite pour centrer */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
    text-decoration: none; /* Pour enlever le soulignement du lien */
}

.curieux-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.curieux-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 59, 102, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.curieux:hover .curieux-overlay {
    background: var(--accent);
    mix-blend-mode: multiply;
    backdrop-filter: blur(0px);
}

.curieux-text {
    z-index: 2;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: var(--blanc);
    text-align: center;
    pointer-events: none; /* Le texte ne bloque pas le clic */
    transition: transform 0.3s ease;
    padding: 0 20%;
}

.curieux:hover .curieux-text {
    transform: scale(1.1); /* Légère animation du texte au survol */
}

.projects-title {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 80px;
    color: var(--noir);
    text-align: center;
    margin: 0;
}

.sous {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 36px;
    color: var(--accent);
    margin: 0 10px;
    text-align: center;
}