@import url('colors.css');

html {
  scroll-behavior: smooth;
}

body{
    font-family: Jost;
    background: var(--abyssal-glow);
    background-attachment: fixed;
    color: var(--white);
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
}

.tahu{
    font-family: Tahu;
    font-weight: 500;
}

.h2{
    font-weight: 900;
    text-transform: uppercase;
    font-size: 2rem;
}

.h3{
    font-family: Tahu;
    font-weight: 500;
    font-size: 1.7rem;
}

.contour{
    border: 5px var(--white) solid;
    border-radius: 5px;
}

.ombre{
    box-shadow: 6px 6px 8px #000066,
                -6px -6px 8px #3536ae;
}

.relative{
    position: relative;
}

/* Progress bar */
.progress-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: transparent;
    z-index: 9999;
}

.progress-bar-custom{
    height: 5px;
    background: linear-gradient(90deg, var(--cool-sky), var(--honeyberry), var(--shiny-navy));
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 0 10px var(--icy-blue);
}

/* BG ANIME */
.bg-anime{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

#svg-rain{
    position: relative;
    width: 100%;
    height: 100%;
}

/* Chaque SVG qui tombe */
.svg-rain-item{
    position: absolute;
    opacity: 0.30;
    animation: tomber linear infinite;
}

/* ======================== HEADER ======================== */
.background-color{
    background: var(--deep-navy);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 2rem 0;
}

/* Structure du header */
header{
    position: relative;
    z-index: 1000;
}

.header-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero */
/* Slider 3D */
.hero{
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: var(--deep-navy);
}

.slider-3d{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

.slider-track{
    display: flex;
    gap: 40px;
    animation: defilement 40s linear infinite;
    width: max-content;
}

/* Cartes en 3D */
.imgslider{
    flex: 0 0 320px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: perspective(900px) rotateY(40deg) rotateX(5deg) scale(0.95);
    transform-style: preserve-3d;
    position: relative;
    transition: box-shadow 0.3s ease, filter 0.3s ease;
    pointer-events: auto;
    filter: opacity(0.3);
}
.imgslider img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}
.imgslider:hover{
    box-shadow: 0 30px 80px rgba(255,255,255,0.15), 0 0 60px rgba(78, 205, 196, 0.2);
    filter: opacity(01);
}
.imgslider:hover img{
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

/* Accroche */
.accroche{
    z-index: 1;
}
.accroche h1{
    font-family: Tahu;
    font-size: 5vmax;
    font-weight: 500;
}
.accroche p{
    font-family: Jost;
    font-weight: 400;
    font-size: 1.2rem;
}
.accroche .cta{
    box-shadow: none;
}

.accroche .cta a{
    text-decoration: none;
    color: white;
}


/* Slodan animation
Credit : https://tobiasahlin.com/moving-letters/ */
.ml1 {
  font-weight: 900;
  font-size: 3.5em;
}
.ml1 .letter {
  display: inline-block;
  line-height: 1em;
}
.ml1 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.1em;
  padding-right: 0.05em;
  padding-bottom: 0.15em;
}
.ml1 .line {
  opacity: 0;
  position: absolute;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: #fff;
  transform-origin: 0 0;
}
.ml1 .line1 { top: 0; }
.ml1 .line2 { bottom: 0; }

/* CTA */
.cta{
    background-color: var(--honeyberry);
    color: var(--white) !important;
    font-family: Jost;
    font-weight: 700;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease-in;
    box-shadow: 6px 6px 8px #000066,
                -6px -6px 8px #3536ae;
}
.cta:hover{
    background-color: var(--cool-sky);
    transform: scale(1.05);
}

.cta-1{
    background-color: transparent;
    border: 5px solid var(--white);
}
.cta-1:hover{
    background-color: var(--cool-sky);
    border: 5px solid transparent;
}


/* Menu */
.zero-puce{
    list-style: none;
}

/* Menu burger */
#menu {
    position: relative;
    width: 50px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
    z-index: 1001;
}
#menu:focus:not(:focus-visible) {
    outline: none;
}
#menu::before,
#menu::after,
#menu .barre {
    position: absolute;   
    width: 100%;
    height: 4px;
    background: var(--white);
    border-radius: 4px;
    transition: .2s;
}
#menu::before,
#menu::after {
    content: "";
}
#menu::before {
    top: 3px;
    left: 8px;
    transform-origin: left top;
    transform: rotate(45deg) scaleX(0);
    transition-delay: 0s;
}
#menu::after {
    top: 3px;
    right: 9px;
    transform-origin: right top;
    transform: rotate(-45deg) scaleX(0);
    transition-delay: .2s;
}
#menu .barre:nth-child(1) {
    top: 0;
    left: 0;
    transform-origin: left top;
    transition-delay: .5s;
}
#menu .barre:nth-child(2) {
    top: 20px;
    left: 0;
    transform-origin: center;
    transition-delay: .5s;
}
#menu .barre:nth-child(3) {
    right: 0;
    bottom: 0;
    transform-origin: right top;
    transition-delay: .5s;
}
#menu.est-ouvert::before {
    transform: rotate(45deg) scaleX(1);
    transition-delay: .3s;
}
#menu.est-ouvert::after {
    transform: rotate(-45deg) scaleX(1);
    transition-delay: .5s;
}
#menu.est-ouvert .barre {
    transform: scaleX(0);
    transition-delay: 0s;
}

/* Overlay */
.overlay{
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: var(--deep-navy);
    z-index: 998;
}
.overlay.est-ouvert{
    display: block;
}

/* Navigation */
#navigation{
    display: block;
    position: relative;
    z-index: 1000;
}
.menu-lien{
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-family: Jost;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}
.menu-lien::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--permafrost);
    transition: width 0.3s ease;
}
.menu-lien::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: var(--permafrost);
    transition: width 0.3s ease;
}
.menu-lien:hover{
    color: var(--cool-sky);
    transform: scale(1.1);
}
.menu-lien:hover::before, .menu-lien:hover::after{
    width: 60%;
}

/* ======================== MAIN ======================== */
/* ----- Service ----- */
.bloc-tarif{
    max-inline-size: 320px;
    min-height: max-content;
}

#formule-pixel, #formule-bitmap{
    background: var(--bn-custom);
}
#formule-vecteur {
    background: var(--ag-custom);
}
#formule-composition{
    background: var(--pf-custom);
}

.prix{
    font-size: 2.5rem;
    font-weight: 800;
}

.ht-cus{
    font-weight: 700;
    font-size: 1.2rem;
}

.mention-tva{
    font-style: italic;
    font-size: small;
}

#google-agenda-bouton button{ /* Custom bouton Google Agenda */
    color: var(--white) !important;
    background-color: var(--honeyberry);
    border: none;
    border-radius: 5px;
    font-family: Jost;
    font-weight: 700;
    min-width: fit-content;
    height: fit-content;
    padding: 15px 35px !important;
    line-height: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease-in;
    box-shadow: 6px 6px 8px #000066,
                -6px -6px 8px #3536ae;
}
#google-agenda-bouton button:hover{
    background-color: var(--cool-sky) !important;
    transform: scale(1.05);
}

/* ----- Portfolio ----- */
.carrousel-bloc{
    border: 5px solid var(--white);
    border-radius: 5px;
}

#portfolio h2{
    margin-bottom: 0;
}

.p-portfolio-h2{
    margin: 0;
}

.image-projet img{
    display: block;
    width: 350px;
}

.image-logo img {
    width: 200px;
}

.image-affiche img{
    width: 350px;
    border-radius: 5px;
}

.image-logo, .image-affiche, .image-posts{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;    
}

.image-posts img{
    width: 270px;
    height: auto;
    border-radius: 5px;
}

.image-affiche img, .image-posts img{
    box-shadow: 6px 6px 8px #000066,
                -6px -6px 8px #3536ae;
}

/* ----- Process Crea ----- */
.full-bleed{
    position: relative;
    padding: 2rem 0;
}
.full-bleed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--berry-nightfall);
    z-index: -1;
}

.conteneur-etroit-crea {
    position: relative;
    width: 1100px;
    min-height: 780px;
}

/* Lignes SVG */
.process-lines {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.process-lines path {
    fill: none;
    stroke: var(--white);
    stroke-width: 1.5;
    stroke-dasharray: 1 10;
    stroke-linecap: round;
}

/* Étoiles */
.star {
    position: absolute;
    z-index: 8;
    width: 18px;
    height: 18px;
    color: var(--white);
    font-size: 21px;
    text-align: center;
    pointer-events: none;
}
.star-1 {
    top: 75px;
    left: 395px;
}
.star-2 {
    top: 183px;
    left: 595px;
}
.star-3 {
    top: 373px;
    left: 475px;
}
.star-4 {
    top: 435px;
    left: 687px;
}
.star-5 {
    top: 555px;
    left: 539px;
}

/* Cartes */
.step {
    position: absolute;
    z-index: 5;
    min-width: 350px;
    min-height: 190px;
    max-width: fit-content;
    border-radius: 6px;
    padding: 12px 16px;
    background-color: var(--shiny-navy);

    /* Animation */
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}
.step-1 {
    top: 0;
    left: 0;
}
.step-2 {
    top: 116px; 
    left: 630px;
}
.step-3 {
    top: 295px;
    left: 74px;
}
.step-4 {
    top: 352px;
    left: 720px;
}
.step-5 {
    top: 590px;
    left: 360px;
}

/* Typo Cartes */
.step-number {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 300;
    line-height: 1.5;
    text-transform: uppercase;
}
.step h2 {
    margin: 0 0 8px;
    font-family: Tahu, cursive;
    font-weight: 400;
    line-height: 1;
}
.step p {
    max-width:350px;
    margin: 0;
    font-size: 14px;
    font-family: Jost;
    font-weight: 400;
    line-height: 1.35;
}
.step-label {
    position: absolute;
    right: 16px;
    bottom: 11px;
    font-family: Tahu, cursive;
    font-size: 16px;
}

/* ----- Etude de cas ----- */
#process-crea .boite{
    max-inline-size: 450px;
    background: var(--honeyberry);
    border-radius: 5px;
}

.cadre-image{
    overflow: hidden;
    border-radius: 5px;
}
.cadre-image img{
    display: block;
    max-inline-size: 300px;
    min-height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.cadre-texte{
    max-inline-size: 300px;
    padding: 5px 25px;
    background: rgba(8, 8, 57, 0.329);
    backdrop-filter: blur(10px) saturate(121%);
    -webkit-backdrop-filter: blur(10px) saturate(121%);
    border-radius: 5px;
}

.cadre-citation{
    width: 100%;
    padding: 10px;
    background: rgba(8, 8, 57, 0.329);
    backdrop-filter: blur(10px) saturate(121%);
    -webkit-backdrop-filter: blur(10px) saturate(121%);
    border-radius: 5px;
}

.citation{
    font-family: Tahu;
    font-weight: 500;
    font-size: 1.5rem;
}

/* ----- Témoignages ----- */
/* Slider logos clients */
.slide-logo img{
    width: 150px;
}

#clients{
    font-size: 1.8rem;
}

/* ----- A propos ----- */
.contenuonglet{
    display: none;
}

.conteneur-parcours{
    padding: 20px 10px;
    position: relative;
    margin-left: 15px;
    width: 100%;
}
.conteneur-parcours:before {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    left: 19px;
    background: linear-gradient(var(--white) 80%, transparent 89%);
}

.onglets button{
    border: 1px solid var(--white);
    border-radius: 5px;
    background-color: transparent;
    padding: 8px;
    margin-right: -6px;
    color: var(--white);
    font-family: Jost;
    font-weight: 600;
    transition: all ease-in 0.3s;
}
.onglets button:hover{
    border: 1px solid transparent;
    border-radius: 5px;
    background-color: var(--icy-blue);
}

.card {
    width: 250px;
    height: 300px;
    
    border-radius: 5px;
    background-image: url('/SOURCES/IMAGES/pdp-3.png');
    background-size: cover;
    
    position: relative;
    
    transition-duration: 300ms;
    transition-property: transform, box-shadow;
    transition-timing-function: ease-out;
    transform: rotate3d(0);
}
.card:hover {
  transition-duration: 150ms;
  box-shadow: 0 5px 20px 5px rgba(0, 0, 0, 0.404);
  border: 5px solid var(--white);
}
.card .glow {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;

    border-radius: 5px;
    background-image: radial-gradient(circle at 50% -20%, #afdcff3b, #00000025);
}

.exp{
    padding: 5px 0px;
    margin: auto 35px;
    width: 100%;
    position: relative;
}
.exp:after{
    content: '';
    width: 9px;
    height: 9px;
    background: var(--white);
    border-radius: 50%;
    left: -30px;
    top: 50%;
    transform: translatey(-50%) rotate(35deg);
    position: absolute;
}
.exp p{
    margin: 0;
}

.font-p{
    font-size: small;
}

.etiquette{
    background-color: var(--deep-navy);
    padding: 10px 20px;
    border-radius: 100px;
    white-space: nowrap;
    font-family: Jost;
    font-weight: 500;
    font-size: 1rem;
    line-height: 3rem;
}

.icone{
    width: 80px;
    height: 80px;
    filter: drop-shadow(-4px 4px 3px color-mix(in srgb, var(--deep-navy) 50%, transparent));
}
.icone-anim {
  animation-name: pulseAnimation;
  animation-duration: 3s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: both;
}

/* ======================== FOOTER ======================== */
.footer {
    position: relative;
}
.footer::before{
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--deep-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: -1;
}

/* Style des boutons */
.carte-contact{
    width: 250px;
    height: 150px;
    border: 1px solid var(--icy-blue);
    border-radius: 5px;
    padding: 0.5rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.carte-contact:hover{
    transform: rotate(-2deg) scale(1.1);
    background: var(--cosmic-berry);
}
.carte-contact a{
    color: var(--icy-blue);
    text-decoration: none;
}
.carte-contact a:hover{
    color: var(--cool-sky);
}


/* Icônes réseaux sociaux */
.icone-rs{
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    cursor: pointer;
}
.icone-rs:hover {
    transform: rotate(-12deg) rotateX(10deg) rotateY(10deg) scale(1.15);
}

/* Textes */
.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-family: Jost;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

/* Lien informations légales */
.info-lien {
    color: var(--honeyberry);
    text-decoration: none;
    font-family: Jost;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.info-lien:hover {
    color: var(--icy-blue);
}

/* Back to top button */
.back-to-top {
    text-decoration: none;
    position: fixed;
    bottom: 20px;
    color: var(--white) !important;
    background-color: transparent !important;
    border: none;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover{
  color: var(--icy-blue) !important;
}

.back-to-top-text{
  margin: 0px;
}