/* ============================
   PITCH'ME COMMUNICATION
   Feuille de style principale
============================ */
/* ---------- POLICES ---------- */

@font-face {
    font-family: "Avenir Next";
    src: url("assets/fonts/Avenir Next/WOFF2/Avenir Next Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Avenir Next";
    src: url("assets/fonts/Avenir Next/WOFF2/Avenir Next Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Avenir Next";
    src: url("assets/fonts/Avenir Next/WOFF2/Avenir Next Demi.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Avenir Next";
    src: url("assets/fonts/Avenir Next/WOFF2/Avenir Next Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}
/* ---------- VARIABLES ---------- */

:root {
    --color-primary: #FFCC02;
    --color-secondary: #1D5F74;
    --color-text: #4E4E4E;
    --color-background: #FFFFFF;
}


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ---------- BASE ---------- */

body {
    font-family: "Avenir Next", sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
}

/* ============================
   HERO
============================ */

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 750px;
    max-width: 80%;
}

/* ============================
   RÉSEAUX SOCIAUX
============================ */

.social-links {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index:9999;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-icon {
    width: 30px;
    cursor: pointer;
}

/* ============================
   WHATSAPP
============================ */

.whatsapp-button {
    position: fixed;
    z-index: 9999;
    right: 25px;
    bottom: 25px;
}

.whatsapp-icon {
    width: 70px;
    cursor: pointer;
}

/* ============================
   MENU
============================ */

.main-menu {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);

    width: max-content;
    height: 60px;
    padding: 0 35px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 45px;

    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 999px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    z-index: 1000;
}

.main-menu a {
    display: block;
    flex: 0 0 auto;

    white-space: nowrap;

    text-decoration: none;
    color: var(--color-text);

    font-size: 18px;
    font-weight: 600;

    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: var(--color-primary);
}

.desktop-only {
    display: block;
}


/* ============================
   TABLETTE
============================ */

@media (max-width: 1024px) {

    .main-menu {
        gap: 25px;
        padding: 0 25px;
    }

    .main-menu a {
        font-size: 15px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;

        right: 10px;
        bottom: 85px;
    }

}


/* ============================
   MENU MOBILE — FIXE
============================ */

@media (max-width: 768px) {

    .main-menu {
        position: fixed !important;

        left: 50% !important;
        bottom: 25px !important;

        transform: translateX(-50%) !important;

        width: calc(100% - 30px);
        max-width: 500px;
        height: 54px;

        padding: 0;

        display: flex;
        align-items: center;
        justify-content: space-evenly;

        gap: 0;

        background: rgba(255, 255, 255, 0.9);

        border-radius: 999px;

        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);

        z-index: 999999 !important;


    .main-menu a {
        display: block !important;

        visibility: visible !important;
        opacity: 1 !important;

        font-size: 14px;

        white-space: nowrap;

        color: #4E4E4E;

        text-decoration: none;

        flex: 0 0 auto;
    }


    .main-menu .desktop-only {
        display: none !important;
    }
}


    /* ============================
       WHATSAPP
    ============================ */

    .whatsapp-button {
        position: fixed !important;

        right: 17px;
        bottom: 90px;

        z-index: 999998 !important;
    }


    .whatsapp-button img {
        width: 50px;
        height: 50px;
    }


    /* ============================
       RÉSEAUX SOCIAUX
    ============================ */

    .social-links {
        position: fixed !important;

        left: 15px;
        top: 15px;

        z-index: 999999 !important;
    }

}

/* ============================
   CONTAINER
============================ */

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================
   À PROPOS
============================ */

.about {
    padding: 0;
}


/* ============================
   CONTAINER — 2 COLONNES
============================ */

.about .container {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 420px;

    gap: 70px;

    align-items: center;

    width: 100%;
}


/* ============================
   COLONNE GAUCHE
============================ */

.about-left {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    text-align: right;

    padding-bottom: 40px;

    min-width: 0;
}


/* ============================
   TITRE
============================ */

.about-title {
    margin: 0;

    font-size: 96px;
    line-height: 1;

    font-weight: 700;

    color: #FFCC02;

    white-space: nowrap;
}


/* ============================
   SOUS-TITRE
============================ */

.about-subtitle {
    margin-top: 10px;

    font-size: 30px;
    line-height: 1.1;

    font-weight: 500;

    color: #4E4E4E;

    white-space: nowrap;
}


/* ============================
   MÉTIER
============================ */

.about-job {
    margin-top: 2px;
    margin-bottom: 70px;

    font-size: 30px;
    line-height: 1.2;

    font-weight: 600;

    color: #FFCC02;
}


/* ============================
   TEXTE ORDINATEUR / TABLETTE
============================ */

.about-text {
    margin-top: 0;

    font-size: 18px;
    line-height: 1.45;

    color: #4E4E4E;

    text-align: right;
}

.about-text p {
    margin: 0 0 36px 0;
}

.about-text p:last-child {
    margin-bottom: 0;
}


/* ============================
   TEXTE MOBILE
============================ */

.about-text-mobile {
    display: none;
}


/* ============================
   COLONNE DROITE
============================ */

.about-right {
    position: relative;

    min-width: 0;
}


/* ============================
   PHOTO
============================ */

.about-photo {
    display: block;

    width: 85%;
    height: auto;
}


/* ============================
   APOSTROPHE
============================ */

.about-apostrophe {
    position: absolute;

    top: -35px;
    right: 80px;

    width: 70px;

    z-index: 2;
}


/* ==================================================
   TABLETTE
================================================== */

@media (min-width: 769px) and (max-width: 1024px) {

    .about .container {
        grid-template-columns: minmax(0, 1fr) 38%;

        gap: 40px;
    }


    .about-left {
        padding-bottom: 20px;
    }


    .about-title {
        font-size: 65px;
    }


    .about-subtitle {
        font-size: 24px;
    }


    .about-job {
        font-size: 22px;

        margin-bottom: 45px;
    }


    .about-text {
        font-size: 16px;
    }


    .about-text p {
        margin-bottom: 28px;
    }


    .about-photo {
        width: 100%;
    }


    .about-apostrophe {
        width: 55px;

        top: -30px;
        right: -5px;
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .about {
        padding: 0 0 40px 0;
    }


    /* -------- 2 COLONNES -------- */

    .about .container {
        display: grid;

        grid-template-columns: minmax(0, 1fr) 38%;

        gap: 20px;

        align-items: start;

        width: 100%;

        padding-left: 20px;
        padding-right: 20px;

        box-sizing: border-box;
    }


    /* -------- COLONNE GAUCHE -------- */

    .about-left {
        min-width: 0;

        padding: 0;

        display: flex;
        flex-direction: column;

        align-items: flex-end;

        text-align: right;
    }


    /* -------- TITRE -------- */

    .about-title {
        margin: 0;

        font-size: 45px;
        line-height: 1;

        white-space: nowrap;
    }


    /* -------- SOUS-TITRE -------- */

    .about-subtitle {
        margin-top: 8px;

        font-size: 20px;
        line-height: 1.1;

        white-space: nowrap;
    }


    /* -------- MÉTIER -------- */

    .about-job {
        margin-top: 2px;
        margin-bottom: 20px;

        font-size: 15px;
        line-height: 1.25;
    }


    /* -------- TEXTE DESKTOP CACHÉ -------- */

    .about-text {
        display: none;
    }


    /* -------- NOUVEAU TEXTE MOBILE -------- */

    .about-text-mobile {
        display: block;

        width: 100%;

        font-size: 8px;
        line-height: 1.45;

        color: #4E4E4E;

        text-align: right;
    }


    .about-text-mobile p {
        margin: 0 0 12px 0;
    }


    .about-text-mobile p:last-child {
        margin-bottom: 0;
    }


    /* -------- COLONNE DROITE -------- */

    .about-right {
        position: relative;

        min-width: 0;
    }


    /* -------- PHOTO -------- */

    .about-photo {
        display: block;

        width: 100%;
        height: auto;
    }


    /* -------- APOSTROPHE -------- */

    .about-apostrophe {
        position: absolute;

        top: -22px;
        right: -5px;

        width: 38px;

        z-index: 2;
    }

}

/* ============================
   Animation apostrophe
============================ */

.about-apostrophe {
    animation: floatApostrophe 3.5s ease-in-out infinite;
}

@keyframes floatApostrophe {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }

}

/* ============================
   VALEURS
============================ */

.values {

    background: #1D5F74;

    overflow: hidden;

    padding: 10px 0;

    transform: translateY(-40px);
}


/* ============================
   LIGNES
============================ */

.values-row {

    overflow: hidden;

    white-space: nowrap;

    margin: 10px 0;
}


/* ============================
   DÉFILEMENT
============================ */

.values-track {

    display: inline-block;

    width: max-content;

    transform: translateX(-35%);

    will-change: transform;
}


/* ============================
   TEXTE
============================ */

.values-track span {

    font-family: "Avenir Next", sans-serif;

    font-size: 25px;

    color: white;

    line-height: 1.2;
}


/* ============================
   MOTS IMPORTANTS
============================ */

.values-track strong {

    font-weight: 700;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .values {

        padding: 8px 0;

        transform: translateY(-20px);
    }


    .values-row {

        margin: 2px 0;

        overflow: hidden;

        white-space: nowrap;
    }


    .values-track span {

        font-size: 14px;

        line-height: 1.2;
    }

}

/* ============================
   EXPERTISES
============================ */

.expertises{

    background:#FFCC02;

    padding:50px 0;

}

.expertises-title{

    text-align:center;

    font-size:30px;

    font-weight:600;

    color:#FFFFFF;

    margin-bottom:50px;

}

.expertises-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:45px;

    align-items:stretch;

}

/* -------- Carte -------- */

.expertise-card{

    width:290px;      /* ou la largeur que tu souhaites */
    height:340px;     /* ou la hauteur que tu souhaites */

    perspective:1400px;

    justify-self:center;
}

.card-inner{

    position:relative;

    width:100%;
    height:100%;

    transition:transform .7s ease;

    transform-style:preserve-3d;

}

.expertise-card:hover .card-inner{

    transform:rotateY(180deg);

}

/* -------- Faces -------- */

.card-face{

    position:absolute;

    inset:0;

    background:#FFFFFF;

    border-radius:30px;

    box-shadow:0 8px 30px rgba(0,0,0,.12);

    backface-visibility:hidden;

    padding:40px;

}

/* -------- Recto -------- */

.card-front{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

}

.card-icon{

    width:110px;

    height:110px;

    object-fit:contain;

    margin-bottom:35px;

}

.card-front h3{

    font-size:20px;

    font-weight:600;

    color: #000000;

}

/* -------- Verso -------- */

.card-back{

    transform:rotateY(180deg);

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.card-back h3{

    text-align:center;

    margin-bottom:30px;

    font-weight:600;

    color:#4E4E4E;

    font-size:30px;

}

.card-back ul{

    list-style:none;

    padding:0;

    margin:0;

}

.card-back li{

    font-size:18px;

    color:#4E4E4E;

    margin:2px 0;

    text-align:center;

}

/* ============================
   EXPERTISES — MOBILE
============================ */

@media (max-width: 768px) {

    .expertises {
        padding: 40px 0;
    }

    .expertises-title {
        font-size: 21px;
        line-height: 1.2;

        margin-bottom: 35px;

        padding: 0 20px;
    }

    .expertises-grid {
        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 30px;
    }

    .expertise-card {
        width: 290px;
        height: 250px;

        flex-shrink: 0;
    }

}

/* ============================
   RETOURNEMENT — MOBILE
============================ */

@media (max-width: 768px) {

    .expertise-card.is-flipped .card-inner {
        transform: rotateY(180deg);
    }

}

/* ============================
   INDICATION PREMIÈRE CARTE
============================ */

.expertise-card.hint-card .card-inner {
    animation: expertiseHint 1.4s ease-in-out;
}

@keyframes expertiseHint {

    0% {
        transform: rotateY(0deg);
    }

    25% {
        transform: rotateY(45deg);
    }

    50% {
        transform: rotateY(0deg);
    }

    70% {
        transform: rotateY(25deg);
    }

    100% {
        transform: rotateY(0deg);
    }

}

/* ============================
   RÉALISATIONS
============================ */

.realisations {

    width: 100%;

    padding: 40px 30px;

    box-sizing: border-box;

    overflow: hidden;

}


/* ============================
   CHAQUE LIGNE
============================ */

.realisations-row {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 38px;

    width: 100%;

}


/* ÉCART ENTRE LES LIGNES */

.realisations-row + .realisations-row {

    margin-top: 38px;

}


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

.realisation {

    height: 215px;

    overflow: hidden;

    border-radius: 18px;

    flex-shrink: 0;

}


.realisation img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}


/* ============================
   LARGEURS
============================ */

/* -------- Ligne 1 -------- */

.realisation-6 {
    width: 25%;
}
.realisation-5 {

    width: 32%;

}


/* -------- Ligne 2 -------- */

.realisation-2 {
    width: 20%;
}
.realisation-1 {
    width: 25%;
}
.realisation-4 {

    width: 30%;

}


/* -------- Ligne 3 -------- */

.realisation-3 {
    width: 20%;
}
.realisation-7 {

    width: 25%;

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .realisations {

        padding: 30px 20px;

    }


    .realisations-row {

        flex-direction: column;

        gap: 25px;

    }


    .realisations-row + .realisations-row {

        margin-top: 25px;

    }


    .realisation {

        width: 100%;

        height: 250px;

        border-radius: 18px;

    }


    .realisation img {

        width: 100%;

        height: 100%;

        object-fit: cover;

        object-position: center;

    }

}

/* ============================
   LIGHTBOX RÉALISATIONS
============================ */

.realisation {
    cursor: pointer;
}


/* -------- Fenêtre -------- */

.realisation-lightbox {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(255, 255, 255, 0.70);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 99999;
}


/* -------- Fenêtre ouverte -------- */

.realisation-lightbox.is-open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* -------- Grande image -------- */

.realisation-lightbox-image {

    display: block;

    max-width: 90vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 20px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.20);

    transform: scale(0.92);

    transition: transform 0.35s ease;
}


.realisation-lightbox.is-open
.realisation-lightbox-image {

    transform: scale(1);
}


/* -------- Croix -------- */

.realisation-lightbox-close {

    position: absolute;

    top: 20px;
    right: 25px;

    width: 50px;
    height: 50px;

    padding: 0;

    border: none;

    background: transparent;

    color: #4E4E4E;

    font-family: Arial, sans-serif;

    font-size: 45px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    z-index: 2;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.realisation-lightbox-close:hover {

    transform: rotate(90deg);

    opacity: 0.6;
}


/* ============================
   MOBILE
============================ */

@media (max-width: 768px) {

    .realisation-lightbox {

        padding: 20px;

    }


    .realisation-lightbox-image {

        max-width: 92vw;

        max-height: 82vh;

        border-radius: 15px;

    }


    .realisation-lightbox-close {

        top: 12px;
        right: 12px;

        width: 45px;
        height: 45px;

        font-size: 38px;

    }

}

/* SECTION CONTACT */

.contact-section {
    position: relative;
    width: 100%;
    height: 380px;
    background: #FFCC02;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.contact-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 45px;
    text-align: center;
}

.contact-inner h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: 37px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}

.contact-baseline {
    margin: 0;
    color: #FFFFFF;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 400;
}

.contact-informations {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 58px;
    gap: 31px;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 25px;
    line-height: 1;
    font-weight: 400;
}

.contact-icon {
    display: block;
    margin-bottom: 8px;
    font-size: 25px;
    line-height: 1;
}

.contact-decoration {
    position: absolute;
    top: -10px;
    right: -40px;
    width: 180px;
    height: 180px;
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
}

/* ============================
   CONTACT — MOBILE
============================ */

@media (max-width: 768px) {

    .contact-section {
        height: 260px;
    }


    /* -------- CONTENU -------- */

    .contact-inner {
        padding-top: 25px;
    }


    /* -------- TITRE -------- */

    .contact-inner h2 {
        font-size: 20px;
        line-height: 1.1;
        letter-spacing: -0.5px;

        padding: 0 20px;
    }


    /* -------- PHRASE -------- */

    .contact-baseline {
        font-size: 18px;
        line-height: 1.15;
    }


    /* -------- INFORMATIONS -------- */

    .contact-informations {
        margin-top: 45px;
        gap: 25px;
    }


    /* -------- LIENS -------- */

    .contact-link {
        font-size: 18px;
        line-height: 1.1;
    }


    /* -------- ICÔNES -------- */

    .contact-icon {
        margin-bottom: 7px;

        font-size: 21px;
    }


    /* -------- APOSTROPHE -------- */

    .contact-decoration {
        width: 90px;
        height: 90px;

        top: -5px;
        right: -25px;

        opacity: 0.4;
    }

}

/* FOOTER */

.footer-top-space {
    width: 100%;
    height: 30px;
    background: #FFFFFF;
}

.site-footer {
    position: relative;
    width: 100%;
    height: 620px;
    background: #FBE68E;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.footer-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #4A4A4A;
}

.footer-logo {
    width: 300px;
    margin-top: 48px;
}

.footer-pitch {
    margin: 50px 30px 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 400;
}

.footer-pitch strong {
    font-weight: 800;
}

.footer-description {
    margin-top: 50px;
}

.footer-description h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.05;
    font-weight: 800;
}

.footer-description h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.05;
    font-weight: 800;
}

.footer-description p {
    margin: 15px 20px 0;
    font-size: 15px;
    line-height: 1.48;
    font-weight: 400;
}

.footer-description strong {
    font-weight: 800;
}

.footer-location {
    margin: 50px 0 0;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 400;
}

.footer-location strong {
    font-weight: 800;
}

.footer-copyright {
    margin: 110px 0 20px;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    color: #FFFFFF;
}

/* ============================
   FOOTER — MOBILE
============================ */

@media (max-width: 768px) {

    .footer-pitch {
        font-size: 13px;
    }

    .footer-description h2 {
        font-size: 18px;
    }

    .footer-description h3 {
        font-size: 18px;
    }

    .footer-description p {
        font-size: 13px;
    }

    .footer-location {
        margin: 20px 0 0;
        font-size: 15px;
        line-height: 1.2;
        font-weight: 400;
    }

    .footer-location {
        font-size: 13px;
    }

    .footer-copyright {
        margin: 30px 0 20px;
        font-size: 12px;
    }

}

/* ============================
   CONTACT — UNIQUEMENT DESKTOP
============================ */

@media (max-width: 768px) {
    nav.main-menu a.desktop-only {
        display: none !important;
    }
}

/* ============================
   MOBILE — HERO + À PROPOS
============================ */

@media (max-width: 768px) {

    /* HERO = exactement la hauteur visible de l'écran */
    .hero {
        height: 100dvh;
        min-height: 100dvh;

        display: flex;
        justify-content: center;
        align-items: center;

        margin: 0;
        padding: 0;
    }

    /* LOGO parfaitement centré */
    .hero-logo {
        width: 80%;
        max-width: 750px;
    }

    /* À PROPOS commence immédiatement après le HERO */
    .about {
        margin: 0;
        padding-top: 0;
    }

}