/* =========================================================
   YOUMS CONFORT
   STYLE GLOBAL
   ========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --blue: #062c40;
    --blue-dark: #031e2c;
    --blue-light: #0c4962;

    --yellow: #ffc20e;
    --yellow-dark: #dda700;

    --white: #ffffff;

    --background: #f5f8f9;
    --background-light: #eef3f4;

    --text: #16232c;
    --gray: #65727c;

    --green: #25d366;

    --shadow:
        0 15px 45px
        rgba(6,44,64,0.12);

    --shadow-large:
        0 25px 65px
        rgba(3,30,44,0.16);

    --radius: 20px;

    --container: 1320px;

}



/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

    scroll-padding-top: 95px;

}


body {

    min-height: 100vh;

    overflow-x: hidden;

    font-family:
        "Poppins",
        sans-serif;

    background: var(--white);

    color: var(--text);

    line-height: 1.6;

    -webkit-font-smoothing:
        antialiased;

}


body.menu-open {

    overflow: hidden;

}


img {

    display: block;

    max-width: 100%;

}


a {

    color: inherit;

}


button,
input,
select,
textarea {

    font: inherit;

}


button {

    -webkit-tap-highlight-color:
        transparent;

}



/* =========================================================
   CONTENEUR
========================================================= */

.container {

    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    margin:
        0
        auto;

}



/* =========================================================
   SECTIONS GENERALES
========================================================= */

.section {

    padding:
        100px
        0;

}


.small-title {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--yellow-dark);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}


.small-title.light {

    color: var(--yellow);

}



/* =========================================================
   TITRES DE SECTION
========================================================= */

.section-title {

    max-width: 760px;

    margin:
        0
        auto
        50px;

    text-align: center;

}


.section-title > span {

    display: block;

    margin-bottom: 9px;

    color: var(--yellow-dark);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 1.6px;

}


.section-title h2 {

    margin:
        0
        0
        15px;

    color: var(--blue);

    font-size:
        clamp(
            2rem,
            4vw,
            3.2rem
        );

    line-height: 1.15;

    letter-spacing: -0.8px;

}


.section-title p {

    max-width: 630px;

    margin:
        0
        auto;

    color: var(--gray);

    font-size: 0.86rem;

    line-height: 1.8;

}



/* =========================================================
   BOUTONS
========================================================= */

.btn {

    min-height: 50px;

    display: inline-flex;

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

    gap: 9px;

    padding:
        12px
        24px;

    border: none;

    border-radius: 999px;

    font-size: 0.78rem;

    font-weight: 800;

    line-height: 1.2;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}


.btn:hover {

    transform:
        translateY(-3px);

}


.btn-yellow {

    background: var(--yellow);

    color: var(--blue);

    box-shadow:
        0 12px 30px
        rgba(255,194,14,0.23);

}


.btn-yellow:hover {

    background: #ffd13d;

    color: var(--blue);

}


.btn-transparent {

    border:
        1px solid
        rgba(255,255,255,0.32);

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

    color: white;

}


.btn-transparent:hover {

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

    color: white;

}



/* =========================================================
   ACCESSIBILITE
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {

    outline:
        3px solid
        rgba(255,194,14,0.50);

    outline-offset:
        3px;

}



/* =========================================================
   HEADER
========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 10000;

    width: 100%;

    background:
        rgba(3,30,44,0.97);

    border-bottom:
        1px solid
        rgba(255,255,255,0.07);

    backdrop-filter:
        blur(13px);

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

    transition:
        box-shadow 0.3s ease,
        background 0.3s ease;

}


.header.scrolled {

    background:
        rgba(3,30,44,0.995);

    box-shadow:
        0 12px 35px
        rgba(0,0,0,0.14);

}



/* =========================================================
   NAVIGATION
========================================================= */

.nav-container {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 28px;

}



/* LOGO */

.logo {

    flex-shrink: 0;

    display: block;

    text-decoration: none;

}


.logo img {

    width: 145px;
    height: 58px;

    display: block;

    object-fit: contain;

    padding:
        5px
        8px;

    border-radius: 9px;

    background: white;

}



/* MENU DESKTOP */

.navigation {

    min-width: 0;

    display: flex;

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

    gap: 18px;

    margin-left: auto;

}


.navigation a {

    position: relative;

    flex-shrink: 0;

    padding:
        8px
        2px;

    color:
        rgba(255,255,255,0.84);

    font-size: 0.80rem;

    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.22s ease;

}


.navigation a:not(.nav-btn)::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    transform:
        translateX(-50%);

    border-radius: 999px;

    background: var(--yellow);

    transition:
        width 0.25s ease;

}


.navigation a:hover,
.navigation a.active {

    color: var(--yellow);

}


.navigation a:hover::after,
.navigation a.active::after {

    width: 65%;

}



/* CONTACT */

.navigation .nav-btn {

    min-height: 42px;

    display: inline-flex;

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

    margin-left: 5px;

    padding:
        10px
        19px;

    border-radius: 999px;

    background: var(--yellow);

    color: var(--blue);

    font-weight: 800;

    box-shadow:
        0 8px 22px
        rgba(255,194,14,0.15);

}


.navigation .nav-btn::after {

    display: none;

}


.navigation .nav-btn:hover,
.navigation .nav-btn.active {

    background: #ffd13d;

    color: var(--blue);

}



/* =========================================================
   BOUTON MENU MOBILE
========================================================= */

.menu-toggle {

    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: none;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    padding: 0;

    border:
        1px solid
        rgba(255,255,255,0.16);

    border-radius: 11px;

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

    cursor: pointer;

}


.menu-toggle span {

    width: 23px;
    height: 2px;

    display: block;

    border-radius: 999px;

    background: white;

    transition:
        transform 0.28s ease,
        opacity 0.28s ease;

}


.menu-toggle.open
span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}


.menu-toggle.open
span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.open
span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}



/* =========================================================
   ACCUEIL - HERO
========================================================= */

.hero {

    position: relative;

    overflow: hidden;

    min-height:
        calc(
            100vh - 82px
        );

    display: flex;

    align-items: center;

    padding:
        80px
        0;

    background:

        radial-gradient(
            circle at 80% 15%,
            rgba(255,194,14,0.17),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue)
        );

    color: white;

}


.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.022) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.022) 1px,
            transparent 1px
        );

    background-size:
        45px
        45px;

    pointer-events: none;

}


.hero-container {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0,1.08fr)
        minmax(340px,0.92fr);

    gap: 70px;

    align-items: center;

}


.hero-content {

    min-width: 0;

}


.hero-content h1 {

    max-width: 760px;

    margin:
        18px
        0
        25px;

    color: white;

    font-size:
        clamp(
            2.7rem,
            5vw,
            5rem
        );

    line-height: 1.03;

    letter-spacing: -2px;

}


.hero-content h1 span {

    color: var(--yellow);

}


.hero-description {

    max-width: 680px;

    margin: 0;

    color:
        rgba(255,255,255,0.76);

    font-size: 0.98rem;

    line-height: 1.8;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 31px;

}



/* HERO STATS */

.hero-stats {

    display: grid;

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

    gap: 15px;

    margin-top: 45px;

    padding-top: 24px;

    border-top:
        1px solid
        rgba(255,255,255,0.14);

}


.hero-stats div {

    min-width: 0;

    display: flex;

    flex-direction: column;

}


.hero-stats strong {

    color: var(--yellow);

    font-size: 1.05rem;

}


.hero-stats span {

    color:
        rgba(255,255,255,0.66);

    font-size: 0.72rem;

    line-height: 1.5;

}



/* HERO IMAGE */

.hero-image {

    position: relative;

    width: 100%;

    max-width: 500px;

    margin-left: auto;

}


.hero-image-box {

    position: relative;

    overflow: hidden;

    border:
        6px solid
        rgba(255,255,255,0.09);

    border-radius: 29px;

    background: var(--blue-dark);

    box-shadow:
        0 30px 80px
        rgba(0,0,0,0.31);

}


.hero-image-box img {

    width: 100%;

    height: 560px;

    display: block;

    object-fit: cover;

}


.floating-box {

    position: absolute;

    z-index: 4;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        12px
        16px;

    border-radius: 13px;

    background: white;

    color: var(--blue);

    box-shadow: var(--shadow);

    font-size: 0.72rem;

    font-weight: 800;

}


.floating-box i {

    color: var(--yellow-dark);

    font-size: 1.15rem;

}


.box-one {

    top: 11%;

    left: -32px;

}


.box-two {

    right: -27px;

    bottom: 12%;

}



/* =========================================================
   ACCUEIL - CONTACT RAPIDE
========================================================= */

.quick-contact {

    position: relative;

    z-index: 5;

    background: var(--yellow);

}


.quick-grid {

    display: grid;

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

}


.quick-item {

    min-width: 0;

    min-height: 100px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 20px;

    border-right:
        1px solid
        rgba(6,44,64,0.13);

    color: var(--blue);

    text-decoration: none;

    transition:
        background 0.25s ease;

}


.quick-item:last-child {

    border-right: none;

}


.quick-item:hover {

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

}


.quick-item > i {

    flex-shrink: 0;

    color: var(--blue);

    font-size: 1.5rem;

}


.quick-item div {

    min-width: 0;

    display: flex;

    flex-direction: column;

}


.quick-item small {

    color:
        rgba(6,44,64,0.64);

    font-size: 0.63rem;

}


.quick-item span {

    overflow-wrap: anywhere;

    color: var(--blue);

    font-size: 0.74rem;

    font-weight: 800;

}



/* =========================================================
   ACCUEIL - POURQUOI NOUS
========================================================= */

.why-us {

    background: white;

}


.why-grid {

    display: grid;

    grid-template-columns:
        minmax(320px,0.9fr)
        minmax(0,1.1fr);

    gap: 75px;

    align-items: center;

}


.why-image {

    overflow: hidden;

    border-radius: 27px;

    background: var(--background);

    box-shadow: var(--shadow-large);

}


.why-image img {

    width: 100%;

    min-height: 520px;

    max-height: 650px;

    display: block;

    object-fit: cover;

}


.why-content h2,
.formation-content h2 {

    margin:
        11px
        0
        20px;

    color: var(--blue);

    font-size:
        clamp(
            2rem,
            4vw,
            3.2rem
        );

    line-height: 1.15;

}


.why-content > p {

    margin-bottom: 16px;

    color: var(--gray);

    font-size: 0.84rem;

    line-height: 1.8;

}



/* AVANTAGES */

.advantages {

    display: grid;

    gap: 18px;

    margin-top: 32px;

}


.advantage {

    display: flex;

    align-items: flex-start;

    gap: 16px;

}


.advantage > i {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

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

    border-radius: 12px;

    background:
        rgba(255,194,14,0.15);

    color: var(--yellow-dark);

    font-size: 1.2rem;

}


.advantage h3 {

    margin-bottom: 4px;

    color: var(--blue);

    font-size: 0.92rem;

}


.advantage p {

    margin: 0;

    color: var(--gray);

    font-size: 0.78rem;

    line-height: 1.7;

}



/* =========================================================
   ACCUEIL - FORMATIONS
========================================================= */

.formations {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue-light)
        );

    color: white;

}


.formation-grid {

    display: grid;

    grid-template-columns:
        minmax(0,1.05fr)
        minmax(320px,0.95fr);

    gap: 70px;

    align-items: center;

}


.formation-content h2 {

    color: white;

}


.formation-content > p {

    max-width: 620px;

    margin: 0;

    color:
        rgba(255,255,255,0.72);

    font-size: 0.85rem;

    line-height: 1.8;

}



/* =========================================================
   ACCUEIL - CTA
========================================================= */

.home-cta {

    background: var(--background);

}


.cta-box {

    display: flex;

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

    gap: 40px;

    padding: 50px;

    border:
        1px solid
        rgba(6,44,64,0.07);

    border-radius: 25px;

    background: white;

    box-shadow: var(--shadow);

}


.cta-box h2 {

    max-width: 650px;

    margin:
        8px
        0
        10px;

    color: var(--blue);

    font-size:
        clamp(
            1.8rem,
            4vw,
            2.6rem
        );

    line-height: 1.16;

}


.cta-box p {

    margin: 0;

    color: var(--gray);

    font-size: 0.82rem;

}


.cta-buttons {

    min-width: 205px;

    display: flex;

    flex-direction: column;

    gap: 11px;

}


.cta-whatsapp {

    min-height: 50px;

    display: flex;

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

    gap: 8px;

    padding:
        11px
        20px;

    border-radius: 999px;

    background: var(--green);

    color: white;

    font-size: 0.78rem;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease;

}


.cta-whatsapp:hover {

    transform:
        translateY(-3px);

}



/* =========================================================
   FOOTER
========================================================= */

.yc-footer {

    position: relative;

    overflow: hidden;

    padding:
        78px
        0
        0;

    background: var(--blue-dark);

    color: white;

}


.yc-footer::before {

    content: "YC";

    position: absolute;

    right: -45px;
    bottom: -100px;

    color:
        rgba(255,255,255,0.024);

    font-size: 21rem;

    font-weight: 800;

    line-height: 1;

    pointer-events: none;

}


.yc-footer-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.35fr
        0.72fr
        0.82fr
        1.15fr;

    gap: 48px;

    padding-bottom: 58px;

}



/* FOOTER MARQUE */

.yc-footer-brand {

    max-width: 350px;

}


.yc-footer-logo {

    width: 180px;

    margin-bottom: 20px;

    padding:
        7px
        9px;

    border-radius: 11px;

    background: white;

}


.yc-footer-logo img {

    width: 100%;
    height: 50px;

    display: block;

    object-fit: contain;

}


.yc-footer-brand > p {

    margin: 0;

    color:
        rgba(255,255,255,0.62);

    font-size: 0.76rem;

    line-height: 1.8;

}


.yc-footer-slogan {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 18px;

    color: white;

    font-size: 0.75rem;

    font-weight: 600;

}


.yc-footer-slogan span {

    width: 28px;
    height: 3px;

    flex-shrink: 0;

    border-radius: 999px;

    background: var(--yellow);

}



/* FOOTER WHATSAPP */

.yc-footer-whatsapp {

    min-height: 46px;

    display: inline-flex;

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

    gap: 8px;

    margin-top: 23px;

    padding:
        10px
        18px;

    border-radius: 999px;

    background: var(--green);

    color: white;

    font-size: 0.72rem;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.yc-footer-whatsapp:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 25px
        rgba(37,211,102,0.18);

}



/* FOOTER COLONNES */

.yc-footer-title {

    display: block;

    margin-bottom: 20px;

    color: var(--yellow);

    font-size: 0.66rem;

    font-weight: 800;

    letter-spacing: 1.4px;

}


.yc-footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.yc-footer-column a {

    margin-bottom: 12px;

    color:
        rgba(255,255,255,0.67);

    font-size: 0.74rem;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.yc-footer-column a:hover {

    transform:
        translateX(4px);

    color: var(--yellow);

}



/* FOOTER CONTACT */

.yc-footer-contact {

    min-width: 0;

    display: flex;

    flex-direction: column;

}


.yc-footer-contact > a {

    min-width: 0;

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin-bottom: 16px;

    color: white;

    text-decoration: none;

}


.yc-footer-contact > a > i {

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;

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

    border-radius: 10px;

    background:
        rgba(255,194,14,0.12);

    color: var(--yellow);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

}


.yc-footer-contact > a:hover > i {

    transform:
        translateY(-2px);

    background: var(--yellow);

    color: var(--blue);

}


.yc-footer-contact > a > div {

    min-width: 0;

    display: flex;

    flex-direction: column;

}


.yc-footer-contact small {

    margin-bottom: 2px;

    color:
        rgba(255,255,255,0.42);

    font-size: 0.59rem;

}


.yc-footer-contact strong {

    overflow-wrap: anywhere;

    color:
        rgba(255,255,255,0.84);

    font-size: 0.68rem;

    font-weight: 600;

    line-height: 1.5;

}



/* FOOTER BAS */

.yc-footer-bottom {

    position: relative;

    z-index: 2;

    min-height: 72px;

    display: flex;

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

    gap: 25px;

    border-top:
        1px solid
        rgba(255,255,255,0.08);

}


.yc-footer-bottom p {

    margin: 0;

    color:
        rgba(255,255,255,0.42);

    font-size: 0.65rem;

}


.yc-footer-bottom > div {

    display: flex;

    align-items: center;

    gap: 9px;

}


.yc-footer-bottom a {

    color:
        rgba(255,255,255,0.55);

    font-size: 0.65rem;

    text-decoration: none;

    transition:
        color 0.25s ease;

}


.yc-footer-bottom a:hover {

    color: var(--yellow);

}


.yc-footer-bottom > div > span {

    color:
        rgba(255,255,255,0.20);

}



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

.whatsapp-floating {

    position: fixed;

    z-index: 9999;

    right: 24px;
    bottom: 24px;

    width: 57px;
    height: 57px;

    display: flex;

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

    border:
        3px solid
        rgba(255,255,255,0.95);

    border-radius: 50%;

    background: var(--green);

    color: white;

    box-shadow:
        0 12px 30px
        rgba(37,211,102,0.30);

    font-size: 1.45rem;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.whatsapp-floating:hover {

    transform:
        translateY(-4px)
        scale(1.04);

    box-shadow:
        0 17px 38px
        rgba(37,211,102,0.35);

}



/* =========================================================
   GRAND ECRAN
========================================================= */

@media (min-width: 1500px) {

    :root {

        --container: 1360px;

    }

}



/* =========================================================
   LAPTOP / MENU MOBILE
========================================================= */

@media (max-width: 1120px) {

    .nav-container {

        min-height: 76px;

    }


    .logo img {

        width: 138px;
        height: 55px;

    }


    .menu-toggle {

        display: flex;

    }


    .navigation {

        position: fixed;

        top: 76px;
        left: 0;
        right: 0;

        z-index: 9999;

        width: 100%;

        max-height:
            calc(
                100vh - 76px
            );

        overflow-y: auto;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding:
            18px
            24px
            28px;

        background:
            rgba(3,30,44,0.995);

        border-top:
            1px solid
            rgba(255,255,255,0.07);

        box-shadow:
            0 25px 50px
            rgba(0,0,0,0.22);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform:
            translateY(-12px);

        transition:
            opacity 0.28s ease,
            visibility 0.28s ease,
            transform 0.28s ease;

    }


    .navigation.open {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translateY(0);

    }


    .navigation a {

        width: 100%;

        min-height: 52px;

        display: flex;

        align-items: center;

        padding:
            12px
            8px;

        border-bottom:
            1px solid
            rgba(255,255,255,0.07);

        font-size: 0.85rem;

    }


    .navigation a:not(.nav-btn)::after {

        display: none;

    }


    .navigation .nav-btn {

        width: 100%;

        min-height: 48px;

        margin:
            18px
            0
            0;

        border-bottom: none;

    }


    /* ACCUEIL */

    .hero-container {

        grid-template-columns:
            1fr
            0.9fr;

        gap: 50px;

    }


    .box-one {

        left: 12px;

    }


    .box-two {

        right: 12px;

    }


    .quick-grid {

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

    }


    .quick-item:nth-child(2) {

        border-right: none;

    }


    .quick-item:nth-child(-n+2) {

        border-bottom:
            1px solid
            rgba(6,44,64,0.12);

    }


    .yc-footer-grid {

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

        gap: 42px;

    }


    .yc-footer-brand {

        max-width: 100%;

    }

}



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

@media (max-width: 900px) {

    .container {

        width:
            min(
                100% - 40px,
                var(--container)
            );

    }


    .section {

        padding:
            80px
            0;

    }


    .hero {

        min-height: auto;

        padding:
            70px
            0
            85px;

    }


    .hero-container,
    .why-grid,
    .formation-grid {

        grid-template-columns: 1fr;

    }


    .hero-container {

        gap: 50px;

    }


    .hero-image {

        max-width: 650px;

        margin:
            0
            auto;

    }


    .hero-image-box img {

        height: 500px;

    }


    .why-grid,
    .formation-grid {

        gap: 50px;

    }


    .why-image {

        max-width: 650px;

    }


    .why-image img {

        min-height: 420px;

    }


    .cta-box {

        flex-direction: column;

        align-items: flex-start;

    }


    .cta-buttons {

        width: 100%;

    }

}



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

@media (max-width: 700px) {

    .section {

        padding:
            70px
            0;

    }


    .section-title {

        margin-bottom: 38px;

    }


    .hero-content h1 {

        letter-spacing: -1px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .hero-stats {

        grid-template-columns: 1fr;

        gap: 13px;

    }


    .hero-stats div {

        padding:
            2px
            0;

    }


    .hero-image-box img {

        height: 430px;

    }


    .quick-grid {

        grid-template-columns: 1fr;

    }


    .quick-item {

        min-height: 78px;

        border-right: none;

        border-bottom:
            1px solid
            rgba(6,44,64,0.12);

    }


    .quick-item:last-child {

        border-bottom: none;

    }


    .yc-footer {

        padding-top: 62px;

    }


    .yc-footer-grid {

        grid-template-columns: 1fr;

        gap: 38px;

        padding-bottom: 45px;

    }


    .yc-footer-brand,
    .yc-footer-contact {

        max-width: 450px;

    }

}



/* =========================================================
   TELEPHONE
========================================================= */

@media (max-width: 520px) {

    .container {

        width:
            calc(
                100% - 30px
            );

    }


    .nav-container {

        min-height: 72px;

    }


    .logo img {

        width: 126px;
        height: 51px;

    }


    .navigation {

        top: 72px;

        max-height:
            calc(
                100vh - 72px
            );

        padding:
            14px
            18px
            24px;

    }


    .hero {

        padding:
            55px
            0
            70px;

    }


    .hero-content h1 {

        margin:
            15px
            0
            20px;

        font-size: 2.25rem;

    }


    .hero-description {

        font-size: 0.84rem;

    }


    .hero-image-box {

        border-width: 4px;

        border-radius: 22px;

    }


    .hero-image-box img {

        height: 390px;

    }


    .floating-box {

        padding:
            10px
            12px;

        font-size: 0.65rem;

    }


    .box-one {

        left: 8px;

    }


    .box-two {

        right: 8px;

    }


    .section-title h2 {

        font-size: 1.85rem;

    }


    .why-image img {

        min-height: 350px;

    }


    .cta-box {

        padding:
            32px
            22px;

    }


    .yc-footer-logo {

        width: 165px;

    }


    .yc-footer-bottom {

        flex-direction: column;

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

        padding:
            21px
            0;

    }


    .whatsapp-floating {

        right: 16px;
        bottom: 16px;

        width: 53px;
        height: 53px;

    }

}



/* =========================================================
   TRES PETIT TELEPHONE
========================================================= */

@media (max-width: 380px) {

    .container {

        width:
            calc(
                100% - 24px
            );

    }


    .hero-content h1 {

        font-size: 2rem;

    }


    .hero-image-box img {

        height: 350px;

    }


    .btn {

        padding:
            11px
            18px;

    }

}



/* =========================================================
   REDUCTION DES ANIMATIONS
========================================================= */

@media (
    prefers-reduced-motion: reduce
) {

    html {

        scroll-behavior: auto;

    }


    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

    }

}

/* =========================================
   IMAGE HERO REALISATIONS
========================================= */

.projects-hero-grid {

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    gap: 65px;

    align-items: center;

}


.projects-hero-visual {

    position: relative;

    width: 100%;

    max-width: 530px;

    margin-left: auto;

}


.projects-hero-image {

    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,0.12);

    border-radius: 28px;

    background: #031e2c;

    box-shadow:
        0 25px 65px
        rgba(0,0,0,0.30);

}


.projects-hero-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3,30,44,0.32),
            transparent 55%
        );

    pointer-events: none;

}


.projects-hero-image img {

    width: 100%;
    height: 420px;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.55s ease;

}


.projects-hero-visual:hover
.projects-hero-image img {

    transform:
        scale(1.04);

}


.projects-hero-badge {

    position: absolute;

    left: -25px;
    bottom: 30px;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 11px;

    padding:
        14px
        17px;

    border-radius: 14px;

    background: #ffffff;

    color: #062c40;

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

    font-size: 0.72rem;

    font-weight: 700;

}


.projects-hero-badge i {

    width: 38px;
    height: 38px;

    display: flex;

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

    border-radius: 11px;

    background:
        rgba(255,194,14,0.16);

    color: #dda700;

    font-size: 1rem;

}



/* TABLETTE */

@media (max-width: 900px) {

    .projects-hero-grid {

        grid-template-columns: 1fr;

    }


    .projects-hero-visual {

        max-width: 650px;

        margin:
            20px
            auto
            0;

    }

}



/* TELEPHONE */

@media (max-width: 600px) {

    .projects-hero-image img {

        height: 310px;

    }


    .projects-hero-badge {

        position: relative;

        left: auto;
        bottom: auto;

        margin:
            -22px
            15px
            0;

    }

}
/* =========================================================
   PHOTOS CLIQUABLES - TOUT LE SITE
========================================================= */

.yc-global-photo {

    cursor: zoom-in;

}


/* FOND LIGHTBOX */

.yc-global-lightbox {

    position: fixed;

    inset: 0;

    z-index: 9999999;

    display: flex;

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

    padding:
        70px
        80px
        55px;

    background:
        rgba(0, 0, 0, 0.94);

    backdrop-filter:
        blur(7px);

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

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

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

}


.yc-global-lightbox.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/* CONTENU */

.yc-global-lightbox-content {

    width: 100%;

    max-width: 1250px;

    text-align: center;

}


/* IMAGE AGRANDIE */

.yc-global-lightbox-image {

    max-width: 100%;
    max-height: 80vh;

    display: block;

    margin:
        0
        auto;

    object-fit: contain;

    border-radius: 14px;

    box-shadow:
        0 25px 80px
        rgba(0,0,0,0.45);

}


/* TEXTE SOUS LA PHOTO */

.yc-global-lightbox-caption {

    max-width: 850px;

    margin:
        15px
        auto
        0;

    color:
        rgba(255,255,255,0.80);

    font-size: 0.78rem;

    line-height: 1.6;

}


/* FERMER */

.yc-global-lightbox-close {

    position: absolute;

    top: 22px;
    right: 25px;

    width: 48px;
    height: 48px;

    display: flex;

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

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #ffc20e;

    color: #062c40;

    font-size: 1.25rem;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease;

}


.yc-global-lightbox-close:hover {

    transform:
        rotate(6deg)
        scale(1.05);

    background: #ffd13d;

}


/* FLECHES */

.yc-global-lightbox-arrow {

    position: absolute;

    top: 50%;

    transform:
        translateY(-50%);

    width: 52px;
    height: 52px;

    display: flex;

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

    padding: 0;

    border:
        1px solid
        rgba(255,255,255,0.20);

    border-radius: 50%;

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

    color: white;

    font-size: 1.25rem;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

}


.yc-global-lightbox-arrow:hover {

    background: #ffc20e;

    color: #062c40;

}


.yc-global-lightbox-prev {

    left: 22px;

}


.yc-global-lightbox-next {

    right: 22px;

}


/* COMPTEUR */

.yc-global-lightbox-counter {

    position: absolute;

    top: 31px;
    left: 30px;

    color:
        rgba(255,255,255,0.75);

    font-size: 0.72rem;

    font-weight: 700;

}


.yc-global-lightbox-counter strong {

    color: #ffc20e;

}


/* TELEPHONE */

@media (max-width: 650px) {

    .yc-global-lightbox {

        padding:
            75px
            12px
            55px;

    }


    .yc-global-lightbox-image {

        max-height: 72vh;

        border-radius: 10px;

    }


    .yc-global-lightbox-arrow {

        width: 42px;
        height: 42px;

    }


    .yc-global-lightbox-prev {

        left: 7px;

    }


    .yc-global-lightbox-next {

        right: 7px;

    }


    .yc-global-lightbox-close {

        top: 15px;
        right: 15px;

        width: 44px;
        height: 44px;

    }


    .yc-global-lightbox-counter {

        top: 27px;
        left: 17px;

    }


    .yc-global-lightbox-caption {

        padding:
            0
            12px;

        font-size: 0.70rem;

    }

}


.formulaire-overlay{

display:none;

position:fixed;

inset:0;

background:
rgba(0,0,0,0.75);

z-index:9999;

align-items:center;

justify-content:center;

padding:20px;

}



.formulaire-box{

position:relative;

width:100%;

max-width:600px;

background:#062c40;

padding:35px;

border-radius:25px;

color:white;

}



.fermer-formulaire{

position:absolute;

right:20px;

top:15px;

border:none;

background:none;

color:white;

font-size:35px;

cursor:pointer;

}



.formulaire-content h2{

color:#ffc20e;

margin-bottom:25px;

}



.formulaire-content form{

display:flex;

flex-direction:column;

gap:15px;

}



.formulaire-content input,
.formulaire-content select,
.formulaire-content textarea{

width:100%;

padding:14px;

border-radius:10px;

border:none;

font-family:inherit;

}



.formulaire-content textarea{

height:120px;

resize:none;

}



#formStage{

display:none;

}
