@import url("theme-variables.css");

/*Annimation*/

@keyframes appear2 {
    from { opacity: 0; scale: 0.5; }
    to   { opacity: 1; scale: 1;   }
}
.block2 {
    animation: appear2 linear;
    animation-timeline: view();
    animation-range: entry 0%;
}

/* NavBar slide-in */
@keyframes slideInTopNavBar {
    from { opacity: 0; transform: translateY(-150px); }
    to   { opacity: 1; transform: translateY(0); }
}
.Top_annim_NavBar  { animation: slideInTopNavBar 1.0s ease-out forwards; }
.Top_annim_NavBar1 { animation: slideInTopNavBar 1.5s ease-out forwards; }
.Top_annim_NavBar2 { animation: slideInTopNavBar 2.0s ease-out forwards; }
.Top_annim_NavBar3 { animation: slideInTopNavBar 2.5s ease-out forwards; }

/* Hero slide-in */
@keyframes slideInTop {
    from { opacity: 0; transform: translateY(-80px); }
    to   { opacity: 1; transform: translateY(0); }
}
.Top_annim_hero { animation: slideInTop 1s ease-out forwards; }


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

body {
    font-family: "Rubik", sans-serif;
    margin: 0;
    overflow-x: hidden;
    background: var(--cbf-fond-service);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

/* Nav Bar*/

.fond_header { width: 100%; }

.position_header {
   height: 150px;
   display: flex;
   align-items: center;
   padding: 0 40px;
   z-index: 1;
}

.box_tete {
   position: fixed;
   bottom: 200;
   left: 0;
   right: 0;
   height: 150px;
   background-color: transparent;
   display: flex;
   align-items: center;
   padding: 0 40px;
   z-index: 10;
   transition: background 0.4s ease, box-shadow 0.4s ease;
   /* Liseré doré en bas — signature visuelle */
   border-bottom: 1px solid transparent;
}

.box_tete.header-scrolled {
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   background: rgba(11,11,15,0.85);
   border-bottom-color: var(--cbf-violet-sombre);
   box-shadow: 0 2px 32px rgba(0,0,0,0.55);
}

.position_logo { position: absolute; z-index: 1; }
.image_logo    { height: 80px; }

.center_header {
   display: flex;
   justify-content: center;
   margin: auto;
   align-items: center;
   gap: 40px;
}

.texte_head {
   text-decoration: none;
   font-size: 22px;
   font-family: "Baloo 2", sans-serif;
   font-weight: 700;
   color: var(--cbf-texte-nav);
   position: relative;
   display: inline-block;
   padding-bottom: 6px;
   letter-spacing: 0.03em;
   transition: color 0.3s ease;
}
.texte_head:hover { color: var(--cbf-violet-vif); }

.texte_head::after {
   content: "";
   position: absolute;
   left: 0; bottom: 0;
   width: 100%; height: 2px;
   background: linear-gradient(90deg, var(--cbf-turcoise), var(--cbf-violet-vif));
   transform: scaleX(0);
   transform-origin: left;
   transition: transform 0.45s ease;
   border-radius: 1px;
}
.texte_head:hover::after,
.texte_head:focus-visible::after,
.texte_head.page_actuel::after { transform: scaleX(1); }
.texte_head.page_actuel { color: var(--cbf-turcoise); }

.menu-hamburger {
   display: none;
   position: absolute;
   right: 35px;
   width: 80px;
}

/* Entete */

.hero_service {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 480px;
    padding: 160px 40px 80px;
    position: relative;
    overflow: hidden;
}

/* Prestation*/
.hero_service::before {
    content: '';
    position: absolute;
    top: 80px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 360px;
    background: radial-gradient(ellipse at center, rgba(47, 211, 195, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.hero_inner { position: relative; z-index: 1; }

.hero_eyebrow {
    font-family: "Baloo 2", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--cbf-turcoise);
    opacity: 0.80;
    margin-bottom: 20px;
}

.hero_titre {
    font-family: "Baloo 2", sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.07;
    color: var(--cbf-creme);
    margin-bottom: 24px;
}

.hero_titre_accent {
    background: linear-gradient(135deg, var(--cbf-violet-vif) 0%, var(--cbf-or) 60%, var(--cbf-violet-sombre) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero_sous_titre {
    font-family: "Rubik", sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--cbf-texte-accent);
}

.bloc_services {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
    padding: 0 5% 80px;
    flex-wrap: wrap;
}

.service_card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--cbf-glass-bg-strong);
    border: 1px solid var(--cbf-glass-border);
    border-radius: 28px;
    padding: 0;
    position: relative;
    overflow: hidden;
    flex: 1 1 320px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    /* Liseré gauche doré — signature visuelle identique à l'index */
    box-shadow:
        inset 2px 0 0 var(--cbf-or),
        inset 0 2px 4px var(--cbf-glass-inset-light),
        inset 0 -2px 4px var(--cbf-glass-inset-dark),
        var(--cbf-glass-shadow);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}


.service_card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        145deg,
        rgba(47, 211, 195, 0.06) 0%,
        transparent 40%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 0;
}

.service_card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        inset 2px 0 0 var(--cbf-violet-vif),
        0 0 36px var(--cbf-or-glow),
        var(--cbf-glass-shadow);
}

.service_card_inner {
    position: relative;
    z-index: 1;
    padding: 44px 38px 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
}


.service_num_label {
    font-family: "Baloo 2", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--cbf-turcoise);
    opacity: 0.55;
    margin-bottom: 22px;
}

.service_icone {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(47, 211, 195, 0.12);
    border: 1px solid rgba(47, 211, 195, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--cbf-turcoise);
    transition: background 0.3s ease;
    flex-shrink: 0;
}
.service_icone svg { width: 26px; height: 26px; }
.service_card:hover .service_icone { background: rgba(47, 211, 195, 0.22); }


.service_titre_carte {
    font-family: "Baloo 2", sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--cbf-creme);
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin-bottom: 6px;
}


.service_sous_titre_carte {
    font-family: "Baloo 2", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--cbf-turcoise);
    opacity: 0.70;
    margin-bottom: 20px;
}


.service_desc {
    font-family: "Rubik", sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.68;
    color: var(--cbf-texte-accent);
    margin-bottom: 24px;
    min-height: calc(4 * 1.68em);
    flex-shrink: 0;
}


.service_liste {
    list-style: none;
    margin-bottom: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.service_liste li {
    font-family: "Rubik", sans-serif;
    font-size: 14px;
    /*font-weight: 400;*/
    line-height: 1.5;
    color: var(--cbf-texte-accent);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0.85;
}

.service_liste li::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cbf-turcoise);
    opacity: 0.80;
    flex-shrink: 0;
    margin-top: 7px;
}


.service_devis {
    font-family: "Baloo 2", sans-serif;
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
    color: var(--cbf-turcoise);
    opacity: 0.75;
    line-height: 1.5;
    padding-top: 28px;
    margin-bottom: 24px;
    flex-shrink: 0;
}


.service_cta_wrap {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.service_cta {
    background: transparent;
    border: 1px solid var(--cbf-turcoise);
    font-size: 16px;
    padding: 11px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-family: "Baloo 2", sans-serif;
    color: var(--cbf-turcoise);
    text-decoration: none;
    letter-spacing: 0.04em;
}

.transition_bouton_service { transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease; }
.transition_bouton_service:hover {
    background: var(--cbf-turcoise);
    color: var(--cbf-noir);
    box-shadow: 0 0 20px var(--cbf-or-glow-fort);
}

/* Prosses */

.bloc_processus {
    margin: 0 5% 80px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--cbf-glass-bg-strong);
    border: 1px solid var(--cbf-glass-border);
    border-radius: 28px;
    padding: 52px 40px;
    box-shadow:
        inset 0 1px 0 var(--cbf-glass-inset-light),
        var(--cbf-glass-shadow);
    position: relative;
    overflow: hidden;
}

.bloc_processus::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(139, 124, 246, 0.05) 0%, transparent 50%);
}

.processus_inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.processus_etape {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.processus_dot {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(139, 124, 246, 0.40);
    background: rgba(139, 124, 246, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-family: "Baloo 2", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--cbf-turcoise);
    flex-shrink: 0;
}

.processus_label {
    font-family: "Baloo 2", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--cbf-creme);
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.processus_text {
    font-family: "Rubik", sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: var(--cbf-texte-accent);
    opacity: 0.75;
}

.processus_fleche {
    font-size: 20px;
    color: rgba(139, 124, 246, 0.32);
    flex-shrink: 0;
    margin-top: -28px;
    user-select: none;
}


.bloc_cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 80px 40px;
}

.cta_titre {
    font-family: "Baloo 2", sans-serif;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800;
    /* Dégradé or — identique à .police_titre_b2 */
    background: linear-gradient(135deg, var(--cbf-violet-vif) 0%, var(--cbf-turcoise) 60%, var(--cbf-violet-sombre) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta_sous_titre {
    font-family: "Rubik", sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--cbf-texte-accent);
    max-width: 480px;
}

.bouton_bloc2 {
    background: linear-gradient(135deg, var(--cbf-turcoise) 0%, var(--cbf-violet-vif) 100%);
    font-size: 26px;
    padding: 18px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-family: "Baloo 2", sans-serif;
    color: var(--cbf-noir);
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 24px var(--cbf-or-glow-fort);
    margin-top: 8px;
}
.transition_bouton_bloc2 { transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease; }
.transition_bouton_bloc2:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 36px rgba(47, 211, 195, 0.50);
    filter: brightness(1.1);
}

/* FOOTER  */

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: 150px;
    background: linear-gradient(90deg, #0a090500 0%, #0f0e0800 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--cbf-violet-sombre);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.45);
}

.texte_footer {
    font-weight: 700;
    font-size: 22px;
    font-family: "Baloo 2", sans-serif;
    text-decoration: none;
    color: var(--cbf-turcoise);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}
.texte_footer:hover { color: var(--cbf-violet-vif); }

/* RESPONSIVE*/

@media (max-width: 1060px) and (min-width: 970px) {
    .texte_footer { font-size: 20px; }
    .bloc_services { padding: 0 3% 64px; }
}

@media screen and (max-width: 800px) {
    .center_header {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: var(--cbf-menu-mobile-bg);
        backdrop-filter: blur(15px);
        margin-left: -100%;
        transition: all 0.5s ease;
        z-index: 1;
        gap: 25px;
    }
    .mobile-menu    { margin-left: 0; }
    .texte_head     { font-size: 1.4em; }
    .menu-hamburger { display: block; z-index: 3; }
    .image_logo     { margin-left: 30%; height: 80px; }
    .box_tete       { justify-content: space-between; padding: 0; }
}

@media screen and (max-width: 970px) {
    .footer { flex-direction: column; height: 200px; }
    .texte_footer { font-size: 20px; }
    .processus_inner { justify-content: center; }
    .processus_fleche { margin-top: 0; }
}

@media (max-width: 900px) {
    .bloc_services {
        flex-direction: column;
        align-items: center;
    }
    .service_card { max-width: 560px; width: 100%; flex: none; }
    .service_desc { min-height: 0; }
    .service_liste { flex: none; margin-bottom: 28px; }
    .service_devis { padding-top: 0; }
    .processus_inner { flex-direction: column; }
    .processus_etape { flex-direction: row; text-align: left; gap: 16px; }
    .processus_fleche { transform: rotate(90deg); }
    .bloc_processus { margin: 0 4% 64px; }
}

@media (max-width: 500px) {
    .hero_titre { font-size: 34px; }
    .hero_sous_titre { font-size: 16px; }
    .service_titre_carte { font-size: 26px; }
    .service_desc { font-size: 14px; }
    .service_card_inner { padding: 34px 26px 32px; }
    .cta_titre { font-size: 28px; }
    .bouton_bloc2 { font-size: 20px; padding: 14px 32px; }
}
