
/* =========================================
   ÉQUIPMENTS BIÈRE
   STYLE.CSS - VERSION 9
========================================= */


/* =========================================
   RESET ET VARIABLES
========================================= */

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

:root {
    --black: #080808;
    --dark: #111111;
    --dark-light: #191919;
    --white: #ffffff;
    --gray: #a5a5a5;
    --gold: #d6a348;
    --gold-light: #f5d38b;
    --border: rgba(214, 163, 72, 0.2);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: var(--gold);
    color: var(--black);
}


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

.header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 85px;
    padding: 0 7%;

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

    background: #080808;
    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);

    z-index: 1000;
    color: #ffffff;
}

.logo {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    color: var(--gold);
}

.header nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header nav a {
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.header nav a:hover {
    color: var(--gold);
}

.header .nav-contact {
    border: 1px solid var(--gold);
    color: var(--gold);

    padding: 9px 25px;
    border-radius: 8px;

    animation: cardGlow 3s ease-in-out infinite;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.5s ease;
}

.header .nav-contact:hover {
    background: var(--gold);
    color: var(--black);
}


/* =========================================
   DISPONIBILITÉ HEADER
========================================= */

.header-disponibilite {
    margin-left: auto;
    margin-right: 25px;

    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
    white-space: nowrap;

    cursor: default;

    transition:
        color 0.4s ease,
        text-shadow 0.4s ease;
}

.header-disponibilite:hover {
    color: #ffe29a;

    text-shadow:
        0 0 5px #ffffff,
        0 0 10px #ffffff,
        0 0 20px #ffffff,
        0 0 35px #ffb700;
}


/* =========================================
   BANNIÈRE PRINCIPALE
========================================= */

.hero {
    position: relative;

    min-height: 680px;
    height: calc(100vh - 85px);

    display: flex;
    align-items: center;

    padding: 90px 8%;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.76) 1%,
            rgba(0, 0, 0, 0.18) 100%
        ),
        url("banniere.png");

    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 10%;
    height: 100px;

    background: linear-gradient(
        transparent,
        var(--black)
    );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 20;

    max-width: 700px;

    animation: heroAppear 1.2s ease both;
}

@keyframes heroAppear {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.eyebrow {
    color: var(--gold);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1.13;
    font-weight: 900;
    letter-spacing: -2px;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    margin-left: 1.75em;
    color: var(--gold);
}

.hero-content > p:not(.eyebrow) {
    color: #dedede;
    font-size: 17px;

    max-width: 490px;
    margin-bottom: 35px;
}


/* =========================================
   BOUTONS GÉNÉRAUX
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    background: var(--gold);
    color: var(--black);

    padding: 15px 28px;

    border: 1px solid var(--gold);
    border-radius: 4px;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);

    transform: translateY(-4px);

    box-shadow:
        0 10px 30px rgba(214, 163, 72, 0.2);
}


/* =========================================
   BOUTON CONTACTEZ-NOUS
========================================= */

.btn-urgence {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 300px;
    max-width: 100%;
    min-height: 65px;

    padding: 7px 10px;
    gap: 12px;

    background: linear-gradient(
        180deg,
        #ffe4a0 0%,
        #d9a64f 18%,
        #b47b2e 48%,
        #966020 75%,
        #c58b36 100%
    );

    border: 3px solid #f8d37c;
    border-radius: 100px;

    color: #ffffff;
    text-decoration: none;

    box-shadow:
        inset 0 2px 4px rgba(255,255,255,.65),
        inset 0 -3px 5px rgba(75,35,0,.35),
        0 0 12px rgba(255,200,90,.7),
        0 0 25px rgba(255,180,50,.3);

    transition:
        transform .3s ease,
        filter .3s ease,
        box-shadow .3s ease;
}

.urgence-icon {
    flex-shrink: 0;

    margin-left: 10px;

    font-size: 27px;
    color: #080808;

    transform: rotate(-15deg);
}

.urgence-texte {
    display: flex;
    flex: 1;
    min-width: 0;

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

    gap: 1px;

    text-align: center;
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: none;
}

.urgence-ligne {
    font-size: 17px;
    font-weight: 900;
    white-space: nowrap;
}

.urgence-texte strong {
    font-size: 19px;
    font-weight: 900;
}

.urgence-arrow {
    flex-shrink: 0;

    margin-right: 10px;

    font-size: 25px;
    color: #ffe2a0;

    transition: transform 0.3s ease;
}

.btn-urgence:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);

    box-shadow:
        0 0 20px rgba(255,210,100,0.9),
        0 0 40px rgba(255,180,50,0.5);
}

.btn-urgence:hover .urgence-arrow {
    transform: translateX(5px);
}


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

.section {
    padding: 110px 8%;
}

.section h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -1px;

    margin-bottom: 20px;
}

.section-intro {
    color: var(--gray);
    font-size: 16px;

    max-width: 620px;
    margin-bottom: 45px;
}


/* =========================================
   SERVICES
========================================= */

.services {
    background: var(--black);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.card {
    position: relative;

    background: var(--dark);

    border: 2px solid #d6a348;
    border-radius: 12px;

    padding: 40px 32px;
    min-height: 315px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    box-shadow:
        0 0 8px rgba(214, 163, 72, 0.5),
        0 0 18px rgba(214, 163, 72, 0.25),
        inset 0 0 8px rgba(214, 163, 72, 0.08);

    animation: cardGlow 3s ease-in-out infinite;

    transition:
        opacity 0.85s ease,
        transform 0.85s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

@keyframes cardGlow {

    0%, 100% {
        box-shadow:
            0 0 6px rgba(214, 163, 72, 0.4),
            0 0 15px rgba(214, 163, 72, 0.2);
    }

    50% {
        box-shadow:
            0 0 14px rgba(255, 215, 120, 0.85),
            0 0 30px rgba(214, 163, 72, 0.45),
            0 0 45px rgba(214, 163, 72, 0.15);
    }

}

.card.visible:hover {
    transform: translateY(-8px);

    border-color: #ffe29a;
    animation-play-state: paused;

    box-shadow:
        0 0 15px rgba(255, 215, 120, 1),
        0 0 35px rgba(214, 163, 72, 0.7),
        0 0 60px rgba(214, 163, 72, 0.3),
        inset 0 0 12px rgba(255, 215, 120, 0.1);
}

.card:nth-child(2) {
    animation-delay: 0.5s;
}

.card:nth-child(3) {
    animation-delay: 1s;
}

.symbol {
    width: 58px;
    height: 58px;

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

    border: 1px solid var(--gold);
    border-radius: 50%;

    color: var(--gold);
    font-size: 29px;

    margin-bottom: 28px;
}

.card h3 {
    font-size: 23px;
    margin-bottom: 15px;
}

.card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;

    margin-bottom: 25px;
}

.card a {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;

    margin-top: auto;

    transition: color 0.3s;
}

.card a:hover {
    color: var(--gold-light);
}


/* =========================================
   BOUTONS DES TROIS PRESTATIONS
========================================= */

.card a.btn-decouvrir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    margin-top: auto;
    padding: 13px 35px;

    background: linear-gradient(
        180deg,
        #ffe4a0 0%,
        #d9a64f 18%,
        #b47b2e 48%,
        #966020 75%,
        #c58b36 100%
    );

    border: 3px solid #f8d37c;
    border-radius: 100px;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;

    text-decoration: none;
    text-shadow: none;

    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.65),
        inset 0 -3px 5px rgba(75,35,0,0.35),
        0 0 12px rgba(255,200,90,0.7),
        0 0 25px rgba(255,180,50,0.3);

    transition:
        transform 0.3s ease,
        filter 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.services .card a.btn-decouvrir,
.services .card a.btn-decouvrir:link,
.services .card a.btn-decouvrir:visited,
.services .card a.btn-decouvrir:hover {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    text-shadow: none;
}

.card a.btn-decouvrir i {
    font-size: 18px;

    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;

    text-shadow: none;

    transition: transform 0.3s ease;
}

.card a.btn-decouvrir:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);

    box-shadow:
        0 0 20px rgba(255,210,100,0.9),
        0 0 40px rgba(255,180,50,0.5);
}

.card a.btn-decouvrir:hover > i.fa-arrow-right {
    transform: translateX(5px);
}




/* TEXTE DU BOUTON */

.btn-paint .paint-content {
    position: relative;
    z-index: 5;

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

    gap: 12px;
    white-space: nowrap;
}

/* PINCEAU */

.card a.btn-paint .brush-icon {
    position: absolute;

    top: -32px;
    left: -12px;

    z-index: 6;

    font-size: 27px;

    color: #e9b8ff !important;
    -webkit-text-fill-color: #e9b8ff !important;

    opacity: 0;

    transform: rotate(-35deg);

    filter:
        drop-shadow(0 0 7px #b400ff);
}

/* PREMIER COUP AU SURVOL */

.btn-paint:hover .stroke-one {
    animation:
        paintCrossOne .75s .12s ease-out forwards;
}

/* DEUXIÈME COUP AU SURVOL */

.btn-paint:hover .stroke-two {
    animation:
        paintCrossTwo .75s .65s ease-out forwards;
}

/* DÉPLACEMENT DU PINCEAU */

.card a.btn-paint:hover .brush-icon {
    animation:
        brushPaintCross 1.5s ease-in-out forwards;
}

/* ANIMATION PREMIER TRAIT */

@keyframes paintCrossOne {

    0% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            rotate(27deg)
            scaleX(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            rotate(27deg)
            scaleX(1);
    }

}

/* ANIMATION DEUXIÈME TRAIT */

@keyframes paintCrossTwo {

    0% {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            rotate(-27deg)
            scaleX(0);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            rotate(-27deg)
            scaleX(1);
    }

}

/* LE PINCEAU TRACE LES DEUX DIAGONALES */

@keyframes brushPaintCross {

    0% {
        opacity: 0;

        transform:
            translate(-12px, -15px)
            rotate(-35deg);
    }

    12% {
        opacity: 1;
    }

    42% {
        opacity: 1;

        transform:
            translate(185px, 63px)
            rotate(-35deg);
    }

    50% {
        opacity: 0;
    }

    57% {
        opacity: 1;

        transform:
            translate(-12px, 65px)
            rotate(-105deg);
    }

    92% {
        opacity: 1;

        transform:
            translate(185px, -22px)
            rotate(-105deg);
    }

    100% {
        opacity: 0;

        transform:
            translate(195px, -25px)
            rotate(-105deg);
    }

}

/* LUEUR VIOLETTE ET BLEUE */

.card a.btn-paint:hover {
    border-color: #c04cff;

    box-shadow:
        0 0 12px #c04cff,
        0 0 24px rgba(160, 32, 240, .6),
        0 0 35px rgba(0, 229, 255, .35);
}


/* =========================================
   ENTRETIEN
   LOUPE AU SURVOL
========================================= */

.btn-book .search-icon {
    display: inline-block;
    transform-origin: center;
}

.card a.btn-book:hover .search-icon {
    animation:
        hoverSearch 1s ease-in-out infinite;
}

@keyframes hoverSearch {

    0%, 100% {
        transform:
            translate(0, 0)
            rotate(-12deg);
    }

    35% {
        transform:
            translate(5px, -3px)
            rotate(12deg)
            scale(1.15);
    }

    70% {
        transform:
            translate(-3px, 2px)
            rotate(-8deg);
    }

}


/* =========================================
   DÉPANNAGE
   CLÉ À MOLETTE ANIMÉE
========================================= */

.card a.btn-repair {
    position: relative;
    isolation: isolate;

    overflow: visible;

    min-height: 53px;
    gap: 12px;

    transition:
        transform .35s ease,
        filter .35s ease,
        box-shadow .35s ease;
}

.btn-repair .repair-label {
    position: relative;
    z-index: 2;

    white-space: nowrap;
}

.btn-repair .repair-tool {
    position: relative;
    z-index: 3;

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

    width: 22px;
    height: 25px;

    transform-origin: 50% 85%;
}

.card a.btn-repair .repair-tool i {
    display: block;

    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;

    font-size: 20px;
    transition: none;
}

.card a.btn-repair:hover .repair-tool i {
    transform: none;
}

/* LA CLÉ SORT DU BOUTON */

.card a.btn-repair:hover .repair-tool {
    animation:
        repairWrench 1.65s
        cubic-bezier(.4, 0, .2, 1) both;
}

/* LE BOUTON SE RESSERRE */

.card a.btn-repair:hover {
    animation:
        repairButtonTighten 1.65s ease both;
}

@keyframes repairWrench {

    0% {
        transform:
            translate(0, 0)
            rotate(0deg);
    }

    18% {
        transform:
            translate(-14px, -27px)
            rotate(-38deg)
            scale(1.25);
    }

    32% {
        transform:
            translate(1px, -24px)
            rotate(24deg)
            scale(1.25);
    }

    44% {
        transform:
            translate(1px, -24px)
            rotate(-20deg)
            scale(1.25);
    }

    56% {
        transform:
            translate(1px, -24px)
            rotate(24deg)
            scale(1.25);
    }

    68% {
        transform:
            translate(1px, -24px)
            rotate(-15deg)
            scale(1.25);
    }

    85% {
        transform:
            translate(-12px, -15px)
            rotate(-35deg);
    }

    100% {
        transform:
            translate(0, 0)
            rotate(0deg);
    }

}

@keyframes repairButtonTighten {

    0%, 25%, 100% {
        scale: 1;
    }

    35%, 57% {
        scale: .96;
    }

    44%, 68% {
        scale: 1.025;
    }

}


/* =========================================
   À PROPOS
   PHOTO DE LA COLONNE À BIÈRE
========================================= */

.about {
    position: relative;
    isolation: isolate;

    min-height: 450px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.75) 45%,
            rgba(0, 0, 0, 0.48) 100%
        ),
        url("utilite.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    border-top:
        1px solid rgba(214, 163, 72, 0.3);

    border-bottom:
        1px solid rgba(214, 163, 72, 0.3);
}

.about h2 {
    max-width: 450px;

    color: #ffffff;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(0, 0, 0, 0.5);
}

.about p:not(.eyebrow) {
    color: #f0f0f0;

    font-size: 16px;
    line-height: 1.9;

    margin-bottom: 22px;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.95);
}

.text-link {
    display: inline-block;

    margin-top: 12px;

    color: var(--gold);

    font-size: 14px;
    font-weight: 800;

    transition: color 0.3s;
}

.text-link:hover {
    color: var(--gold-light);
}


/* =========================================
   CONTACT ET RÉSEAUX
========================================= */

#contact {
    scroll-margin-top: 90px;
}

.reseaux {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 26px;
    font-weight: 900;

    color: #ffffff;

    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;

    margin-top: 30px;
    margin-bottom: 3px;
}

.reseaux::after {
    content: "";

    display: block;

    width: 55px;
    height: 3px;

    background: #d6a348;
    border-radius: 10px;

    margin: 12px auto 0;

    box-shadow:
        0 0 10px rgba(214, 163, 72, 0.5);
}

.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}


/* =========================================
   INSTAGRAM
========================================= */

.footer-instagram {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0;
}

.footer-instagram a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 20px;
    margin-bottom: 5px;

    padding: 10px 20px;

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

    border:
        1px solid rgba(214, 163, 72, 0.3);

    border-radius: 50px;

    text-decoration: none;
    color: #ffffff;

    transition: all 0.3s ease;
}

.footer-instagram .fa-instagram {
    font-size: 25px;

    background: linear-gradient(
        45deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.footer-instagram span {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.footer-instagram .verified {
    color: #1da1f2;
    font-size: 17px;

    filter:
        drop-shadow(
            0 0 5px rgba(29, 161, 242, 0.4)
        );
}

.footer-instagram a:hover {
    transform: translateY(-4px);

    border-color: #d6a348;

    box-shadow:
        0 0 12px rgba(214, 163, 72, 0.3),
        0 0 25px rgba(214, 163, 72, 0.15);
}


/* =========================================
   EMAIL
========================================= */

.footer-mail {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0;
}

.footer-mail a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 20px;
    padding: 10px 20px;

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

    border:
        1px solid rgba(214, 163, 72, 0.3);

    border-radius: 50px;

    text-decoration: none;
    color: #ffffff;

    transition: all 0.3s ease;
}

.footer-mail .fa-envelope {
    font-size: 23px;
    color: #d6a348;
}

.footer-mail span {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;

    overflow-wrap: anywhere;
}

.footer-mail a:hover {
    transform: translateY(-4px);

    border-color: #d6a348;

    box-shadow:
        0 0 12px rgba(214, 163, 72, 0.3),
        0 0 25px rgba(214, 163, 72, 0.15);
}


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

footer {
    padding: 20px 8%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;

    text-align: center;

    background: #050505;

    border-top: 1px solid var(--border);
}

footer p {
    color: var(--gray);
    font-size: 12px;
}


/* =========================================
   POWERED BY NQ PVRIS
   VIOLET NÉON
========================================= */

.powered-by {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 55px;

    padding: 6px 15px;
    margin-top: 0;

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

    background: #050308;

    border-top:
        1px solid rgba(174, 76, 255, 0.15);

    overflow: hidden;
    text-align: center;
}

/* TEXTE PRINCIPAL */

.powered-text {
    position: relative;
    z-index: 2;

    color: #c6b0d9;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;

    animation:
        poweredPurpleGlow 4s ease-in-out infinite;
}

/* NQ PVRIS */

.powered-text strong {
    color: #dba8ff;

    font-weight: 900;
    letter-spacing: 2px;

    text-shadow:
        0 0 4px #a020f0,
        0 0 9px #a020f0,
        0 0 18px rgba(170, 0, 255, 0.7),
        0 0 30px rgba(170, 0, 255, 0.3);
}

/* VARIATION DE LA LUMINOSITÉ */

@keyframes poweredPurpleGlow {

    0%, 100% {
        filter: brightness(0.85);
    }

    45% {
        filter: brightness(1.4);
    }

    70% {
        filter: brightness(1.05);
    }

}

/* CONTENEUR DES ÉTOILES */

.powered-particles {
    position: absolute;
    inset: 0;

    z-index: 1;
    pointer-events: none;
}

/* PETITS POINTS LUMINEUX */

.powered-particles span {
    position: absolute;

    width: 3px;
    height: 3px;

    background: #e6b8ff;
    border-radius: 50%;

    box-shadow:
        0 0 3px #ffffff,
        0 0 6px #c04cff,
        0 0 12px #a020f0;

    opacity: 0.2;

    animation:
        purpleTwinkle 2s ease-in-out
        infinite alternate;
}

/* POSITIONS INDIVIDUELLES */

.powered-particles span:nth-child(1) {
    left: 27%;
    top: 25%;
    animation-duration: 1.4s;
}

.powered-particles span:nth-child(2) {
    left: 32%;
    top: 70%;
    animation-duration: 2.3s;
    animation-delay: .4s;
}

.powered-particles span:nth-child(3) {
    left: 38%;
    top: 15%;
    animation-duration: 1.8s;
    animation-delay: .8s;
}

.powered-particles span:nth-child(4) {
    left: 43%;
    top: 82%;
    animation-duration: 2.7s;
}

.powered-particles span:nth-child(5) {
    left: 49%;
    top: 12%;
    animation-duration: 1.3s;
    animation-delay: .5s;
}

.powered-particles span:nth-child(6) {
    left: 55%;
    top: 85%;
    animation-duration: 2.1s;
}

.powered-particles span:nth-child(7) {
    left: 62%;
    top: 20%;
    animation-duration: 1.7s;
    animation-delay: .9s;
}

.powered-particles span:nth-child(8) {
    left: 68%;
    top: 75%;
    animation-duration: 2.5s;
}

.powered-particles span:nth-child(9) {
    left: 23%;
    top: 55%;
    animation-duration: 1.9s;
}

.powered-particles span:nth-child(10) {
    left: 75%;
    top: 42%;
    animation-duration: 2.8s;
    animation-delay: .6s;
}

.powered-particles span:nth-child(11) {
    left: 30%;
    top: 12%;
    animation-duration: 2.2s;
}

.powered-particles span:nth-child(12) {
    left: 70%;
    top: 15%;
    animation-duration: 1.5s;
    animation-delay: .3s;
}

.powered-particles span:nth-child(13) {
    left: 35%;
    top: 88%;
    animation-duration: 2.6s;
}

.powered-particles span:nth-child(14) {
    left: 65%;
    top: 90%;
    animation-duration: 1.6s;
    animation-delay: .7s;
}

.powered-particles span:nth-child(15) {
    left: 19%;
    top: 30%;
    animation-duration: 2.4s;
}

.powered-particles span:nth-child(16) {
    left: 81%;
    top: 68%;
    animation-duration: 1.2s;
    animation-delay: .5s;
}

.powered-particles span:nth-child(17) {
    left: 41%;
    top: 10%;
    animation-duration: 2.9s;
}

.powered-particles span:nth-child(18) {
    left: 59%;
    top: 92%;
    animation-duration: 1.8s;
    animation-delay: .2s;
}

.powered-particles span:nth-child(19) {
    left: 15%;
    top: 75%;
    animation-duration: 2.1s;
}

.powered-particles span:nth-child(20) {
    left: 85%;
    top: 20%;
    animation-duration: 1.4s;
    animation-delay: .8s;
}

.powered-particles span:nth-child(21) {
    left: 25%;
    top: 90%;
    animation-duration: 2.7s;
}

.powered-particles span:nth-child(22) {
    left: 78%;
    top: 88%;
    animation-duration: 1.7s;
}

.powered-particles span:nth-child(23) {
    left: 12%;
    top: 40%;
    animation-duration: 2.3s;
    animation-delay: .4s;
}

.powered-particles span:nth-child(24) {
    left: 88%;
    top: 55%;
    animation-duration: 1.9s;
    animation-delay: .6s;
}

/* TAILLES DIFFÉRENTES */

.powered-particles span:nth-child(3n) {
    width: 2px;
    height: 2px;
}

.powered-particles span:nth-child(5n) {
    width: 4px;
    height: 4px;
}

/* SCINTILLEMENT */

@keyframes purpleTwinkle {

    0% {
        opacity: 0.08;
        transform: scale(0.4);
        filter: brightness(0.6);
    }

    40% {
        opacity: 0.45;
        transform: scale(0.9);
    }

    75% {
        opacity: 1;
        transform: scale(1.6);
        filter: brightness(1.8);
    }

    100% {
        opacity: 0.2;
        transform: scale(0.6);
        filter: brightness(0.8);
    }

}

/* SURVOL */

.powered-by:hover .powered-text strong {
    color: #ffffff;

    text-shadow:
        0 0 5px #ffffff,
        0 0 12px #c04cff,
        0 0 25px #a020f0,
        0 0 45px #8000ff;
}


/* =========================================
   ANIMATIONS AU DÉFILEMENT
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(55px);

    transition:
        opacity 0.85s ease,
        transform 0.85s
        cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:nth-child(1) {
    transition-delay: 0.1s;
}

.card:nth-child(2) {
    transition-delay: 0.2s;
}

.card:nth-child(3) {
    transition-delay: 0.3s;
}


/* =========================================
   INDICATEUR DE PROGRESSION
========================================= */

.scroll-widget {
    position: fixed;

    right: 22px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 15px;

    z-index: 999;
}

.scroll-percent {
    color: var(--gold);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    text-shadow: 0 2px 8px #000000;
}

.scroll-track {
    position: relative;

    width: 4px;
    height: 150px;

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

    border-radius: 10px;
    overflow: hidden;
}

.scroll-progress {
    width: 100%;
    height: 0%;

    background: linear-gradient(
        to bottom,
        #ffe29a,
        #d6a348,
        #a86a15
    );

    border-radius: 10px;

    box-shadow:
        0 0 12px rgba(214, 163, 72, 0.5);

    transition: height 0.12s linear;
}

.scroll-top {
    width: 42px;
    height: 42px;

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

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

    color: var(--gold);

    border: 1px solid var(--gold);
    border-radius: 50%;

    font-size: 23px;
    font-weight: 700;

    cursor: pointer;
    opacity: 0.5;

    transition:
        opacity 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.scroll-top.active {
    opacity: 1;
}

.scroll-top:hover {
    opacity: 1;

    background: var(--gold);
    color: var(--black);

    transform: translateY(-5px);

    box-shadow:
        0 0 20px rgba(214, 163, 72, 0.35);
}


/* =========================================
   MENU DÉROULANT
========================================= */

.eb-menu {
    position: relative;

    margin-left: 0;
    flex-shrink: 0;
}

.eb-menu,
.eb-menu * {
    box-sizing: border-box;
}

/* BOUTON TROIS TRAITS */

.eb-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 58px;
    height: 58px;

    padding: 0;

    background: linear-gradient(
        145deg,
        #1b1b1b,
        #090909
    );

    border: 1px solid #b98532;
    border-radius: 17px;

    cursor: pointer;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15);

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

.eb-menu-toggle span {
    display: block;

    width: 27px;
    height: 2.5px;

    background: #e8bd69;
    border-radius: 10px;

    transition:
        transform 0.3s,
        opacity 0.3s;
}

.eb-menu-toggle:hover {
    background: #251c10;

    box-shadow:
        0 0 18px rgba(214, 163, 72, 0.25);
}

.eb-menu-toggle:focus-visible {
    outline: 3px solid #d6a348;
    outline-offset: 4px;
}

/* TRANSFORMATION EN CROIX */

.eb-menu-toggle.active span:nth-child(1) {
    transform:
        translateY(9.5px)
        rotate(45deg);
}

.eb-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.eb-menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-9.5px)
        rotate(-45deg);
}


/* =========================================
   FENÊTRE DU MENU
========================================= */

.eb-dropdown {
    position: absolute;

    top: calc(100% + 20px);
    right: 0;

    display: block !important;

    width: 350px;
    max-width: calc(100vw - 28px);

    padding: 22px;

    background: linear-gradient(
        145deg,
        #1b1b1b,
        #0b0b0b
    );

    border: 1px solid #735526;
    border-radius: 23px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(214, 163, 72, 0.08);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-10px);

    transition:
        opacity 0.25s,
        visibility 0.25s,
        transform 0.25s;

    z-index: 1001;
}

.eb-dropdown.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}

.eb-menu-heading {
    display: block;

    padding: 15px 15px 25px;

    color: #d6a348;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3.5px;

    text-transform: uppercase;
}

/* LIENS EN COLONNE */

.header .eb-dropdown .eb-menu-links {
    display: flex !important;

    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    gap: 13px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

.header .eb-dropdown .eb-menu-link {
    display: flex !important;

    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 18px !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 77px;

    margin: 0 !important;
    padding: 17px 15px !important;

    background: transparent;

    border: 1px solid transparent;
    border-radius: 15px;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px !important;
    font-weight: 800;
    letter-spacing: 0.6px;

    text-decoration: none;
    text-align: left;

    white-space: normal !important;

    transition:
        background 0.25s,
        border-color 0.25s,
        transform 0.25s;
}

/* ICÔNES DU MENU */

.eb-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 49px;

    width: 49px;
    height: 49px;

    background: #302516;

    border: 1px solid #594321;
    border-radius: 13px;

    color: #e8bd69;
    font-size: 21px;

    transition: 0.25s;
}

.eb-link-text {
    display: block;

    flex: 1 1 auto;
    min-width: 0;

    color: #ffffff;
}

.eb-link-arrow {
    flex: 0 0 auto;

    margin-left: auto;

    color: #d6a348;
    font-size: 13px;

    transition: transform 0.25s;
}

/* SURVOL DU MENU */

.header .eb-dropdown .eb-menu-link:hover {
    background: #261e12;
    border-color: #715323;

    transform: translateX(2px);
}

.header .eb-dropdown .eb-menu-link:hover .eb-link-icon {
    background: #d6a348;
    color: #111111;
}

.header .eb-dropdown .eb-menu-link:hover .eb-link-arrow {
    transform: translateX(3px);
}

.header .eb-dropdown .eb-menu-link:focus-visible {
    outline: 2px solid #ffe4a0;
    outline-offset: 2px;
}

.eb-menu-footer {
    margin-top: 22px;
    padding: 23px 10px 9px;

    border-top: 1px solid #373024;

    color: #9b8769;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;

    text-align: center;
}

.eb-menu-powered {
    min-height: 48px;
    margin-top: 12px;
    padding: 8px;

    border: 1px solid rgba(174, 76, 255, 0.22);
    border-radius: 12px;
}

.eb-menu-credits {
    margin-top: 12px;
    color: #9b8769;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-align: center;
}

.eb-menu-instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    padding: 10px 12px;

    border: 1px solid rgba(214, 163, 72, 0.48);
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(214, 163, 72, 0.18),
        rgba(255, 255, 255, 0.035)
    );

    color: #ffe2a2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-decoration: none;

    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.eb-menu-instagram strong {
    color: #ffffff;
}

.eb-menu-instagram:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 226, 162, 0.85);
    background: rgba(214, 163, 72, 0.24);
}

.eb-menu-instagram:focus-visible {
    outline: 2px solid #ffe4a0;
    outline-offset: 2px;
}

.eb-menu-powered .powered-text {
    font-size: 10px;
    text-decoration: none;
    white-space: nowrap;
}


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

@media (max-width: 1000px) {

    .header {
        padding: 0 5%;
    }

    .header nav {
        gap: 18px;
    }

    .logo {
        font-size: 18px;
    }

    .header-disponibilite {
        font-size: 15px;
        margin-right: 15px;
    }

    .section {
        padding: 85px 6%;
    }

    .cards {
        gap: 15px;
    }

    .card {
        padding: 30px 23px;
    }

    .about {
        gap: 40px;
    }

}


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

@media (max-width: 768px) {

    .header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "logo menu"
            "availability menu";
        align-items: center;
        column-gap: 12px;
        row-gap: 2px;

        height: auto;
        min-height: 76px;
        padding: 11px clamp(14px, 4vw, 22px);
    }

    .header > .logo {
        grid-area: logo;
        min-width: 0;
        font-size: clamp(15px, 4.4vw, 18px);
        letter-spacing: 0.5px;
        line-height: 1.15;
    }

    .header > .eb-menu {
        grid-area: menu;
        justify-self: end;
        align-self: center;
        margin: 0;
    }

    .header nav {
        width: 100%;

        justify-content: center;
        flex-wrap: wrap;

        gap: 15px;
    }

    .header nav a {
        font-size: 12px;
    }

    .header .nav-contact {
        padding: 6px 12px;
    }

    .header-disponibilite {
        grid-area: availability;
        justify-self: start;
        text-align: left;

        font-size: clamp(8px, 2.3vw, 10px);
        letter-spacing: 0;

        margin: 0;
        line-height: 1.2;
        white-space: nowrap;
    }

    .hero {
        min-height: clamp(520px, calc(100vh - 76px), 680px);
        min-height: clamp(520px, calc(100svh - 76px), 680px);
        height: auto;

        padding: clamp(64px, 10vh, 92px) 6%;

        background-position: right center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hero::after {
        display: block;
    }

    .hero h1 {
        font-size: clamp(30px, 9.2vw, 38px);
        letter-spacing: -0.8px;
        line-height: 1.12;
    }

    .hero h1 span {
        margin-left: 0;
    }

    .hero-content > p:not(.eyebrow) {
        max-width: 36rem;
        font-size: clamp(14px, 3.8vw, 16px);
        line-height: 1.7;
    }

    .btn-urgence {
        width: 100%;
        min-height: 55px;

        padding: 8px 12px;
        gap: 5px;
    }

    .urgence-icon {
        font-size: 19px;
    }

    .urgence-ligne {
        font-size: clamp(7px, 2.3vw, 13px);
        letter-spacing: -0.3px;
    }

    .urgence-texte strong {
        font-size: 14px;
    }

    .urgence-arrow {
        font-size: 18px;
    }

    .section {
        padding: 75px 7%;
    }

    .section h2 {
        font-size: 32px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        min-height: auto;
        padding: 32px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: auto;
        background-position: center;
        padding: 58px 6%;
    }

    .about h2 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .about p:not(.eyebrow) {
        font-size: clamp(14px, 3.8vw, 16px);
        line-height: 1.75;
    }

    .scroll-widget {
        display: flex;
        right: max(5px, env(safe-area-inset-right, 0px));
        gap: 8px;
        pointer-events: none;
    }

    .scroll-percent {
        font-size: 9px;
        letter-spacing: 0;
    }

    .scroll-track {
        width: 3px;
        height: 90px;
        height: clamp(60px, 14svh, 100px);
    }

    .scroll-top {
        width: 44px;
        height: 44px;
        font-size: 21px;
        pointer-events: auto;
    }

    footer {
        padding: 20px 7%;
    }

}


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

@media (max-width: 600px) {

    .eb-menu-toggle {
        width: 50px;
        height: 50px;
    }

    .eb-dropdown {
        top: calc(100% + 10px);
        right: 0;
        width: min(350px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 105px);
        max-height: calc(100dvh - 105px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 14px;
    }

    .header .eb-dropdown .eb-menu-link {
        min-height: 70px;

        padding: 13px !important;

        font-size: 14px !important;
    }

    .eb-link-icon {
        flex-basis: 44px;

        width: 44px;
        height: 44px;

        font-size: 19px;
    }

    .powered-by {
        min-height: 55px;
        padding: 12px 8px;
    }

    .powered-text {
        font-size: 10px;
    }

    .powered-text strong {
        letter-spacing: 1px;
    }

}


/* =========================================
   PETITS ÉCRANS
========================================= */

@media (max-width: 480px) {

    .footer-mail span {
        font-size: 12px;
    }

}

@media (max-width: 400px) {

    .hero h1 {
        font-size: clamp(29px, 9vw, 34px);
    }

    .header nav {
        gap: 10px;
    }

    .header nav a {
        font-size: 11px;
    }

    .header-disponibilite {
        font-size: 8px;
    }

    .card a.btn-decouvrir {
        padding: 12px 22px;
        font-size: 13px;
    }

}


/* =========================================
   ACCESSIBILITÉ
========================================= */

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

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-content {
        animation: none;
    }

    .scroll-progress {
        transition: none;
    }

    .btn-urgence,
    .urgence-arrow {
        transition: none;
    }

    .card {
        animation: none;
    }

    .card a.btn-decouvrir,
    .card a.btn-decouvrir i {
        transition: none;
    }

    .btn-paint:hover .brush-stroke,
    .card a.btn-paint:hover .brush-icon {
        animation: none !important;
    }

    .card a.btn-book:hover .search-icon {
        animation: none !important;
    }

    .card a.btn-repair:hover,
    .card a.btn-repair:hover .repair-tool {
        animation: none !important;
    }

    .powered-text,
    .powered-particles span {
        animation: none;
    }

    .powered-particles span {
        opacity: 0.65;
    }

    .eb-menu-toggle,
    .eb-menu-toggle span,
    .eb-dropdown,
    .eb-menu-link,
    .eb-link-icon,
    .eb-link-arrow {
        transition: none !important;
    }

}

/* =========================================
   PERSONNALISÉ
   ROULEAU HAUT / BAS
========================================= */

.services .card a.btn-paint {
    position: relative;
    isolation: isolate;

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

    gap: 12px;
    min-height: 53px;

    overflow: visible;

    transition:
        transform .35s ease,
        filter .35s ease,
        box-shadow .35s ease;
}


/* ROULEAU */

.btn-paint .paint-roller {
    position: relative;
    z-index: 3;

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

    width: 23px;
    height: 25px;

    transform-origin: center;
}

.services .card a.btn-paint .paint-roller i {
    display: block;

    font-size: 20px;

    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;

    transition: none;
}


/* TEXTE */

.btn-paint .paint-label {
    position: relative;
    z-index: 2;

    white-space: nowrap;
}


/* FLÈCHE */

.services .card a.btn-paint .paint-arrow {
    position: relative;
    z-index: 2;

    color: #000000 !important;
}


/* =========================================
   ANIMATION AU SURVOL
========================================= */

.services .card a.btn-paint:hover .paint-roller {
    animation:
        paintRollerVertical 1.55s
        cubic-bezier(.4, 0, .2, 1) both;
}

.services .card a.btn-paint:hover {
    animation:
        paintButtonReaction 1.55s ease both;
}


/* LE ROULEAU MONTE, DESCEND ET REVIENT */

@keyframes paintRollerVertical {

    0% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    20% {
        transform:
            translateY(-23px)
            rotate(-12deg)
            scale(1.2);
    }

    40% {
        transform:
            translateY(9px)
            rotate(5deg)
            scale(1.2);
    }

    55% {
        transform:
            translateY(-15px)
            rotate(-8deg)
            scale(1.15);
    }

    72% {
        transform:
            translateY(7px)
            rotate(5deg)
            scale(1.1);
    }

    100% {
        transform:
            translateY(0)
            rotate(0deg)
            scale(1);
    }

}


/* PETITE RÉACTION DU BOUTON */

@keyframes paintButtonReaction {

    0%, 100% {
        scale: 1;
    }

    35%, 65% {
        scale: .97;
    }

    45%, 75% {
        scale: 1.025;
    }

}


/* LUEUR AU SURVOL */

.services .card a.btn-paint:hover {
    border-color: #ffe29a;

    box-shadow:
        0 0 15px rgba(255, 215, 120, .9),
        0 0 30px rgba(214, 163, 72, .5);
}


/* ACCESSIBILITÉ */

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

    .services .card a.btn-paint:hover,
    .services .card a.btn-paint:hover .paint-roller {
        animation: none !important;
    }

}

