/* --- Reset & global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    overflow-y: scroll; /* scroll fonctionnel */
    margin: 0;
    padding: 0;
}
.font1 {
    font-family: Crimson Text;
    font-size: 2.3rem;
    text-decoration: underline;
}
/* Masquer scrollbar */
body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

h1, h2, h3 {
    margin-bottom: 0.5em;
}
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.logo {
    width: 140px;
    height: 70px;
    
    background-image: url(images/webConceptLogo.png);
    background-size:cover;
    background-repeat: no-repeat;
    
}
button.start {
  border-radius: 6px;
  background-color: #050880;
  border: none;
  color: #fff;
  text-align: center;
  font-size: 18px;
  padding: 16px;
  width: 280px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 36px;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0,.7);
}

button.start{
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

button.start:after {
  content: '»';
  position: absolute;
  font-size: 18px;
  opacity: 0;  
  top: 14px;
  right: 20px;
  transition: 0.5s;
}

button.start:hover{
  padding-right: 24px;
  padding-left:8px;
}

button.start:hover:after {
  opacity: 1;
  right: 10px;
}
.title-underline { text-decoration: underline; }


/* --- Header / Navigation --- */
/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    color: aliceblue;
    font-weight: 500;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: aliceblue;
    border-radius: 2px;

}

/* Responsive */
@media (max-width: 768px) {
    #hero p {
        text-align: center;
    }
    .nav-links {
        position: fixed;
        right: 0;
        height: 100%;
        top: 0;
        background-color: #77788ada;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        
        transition: transform 0.3s ease-in-out;
        padding-top: 5rem;
        gap: 2rem;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .burger {
        display: flex;
    }
    header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
   
    .card {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    .cards{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #webmaster {
        padding-bottom: 20px;
    }
}
.burger.toggle div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.toggle div:nth-child(2) {
    opacity: 0;
}
.burger.toggle div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
header {
    background-color: #373158;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    color: aliceblue;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: aliceblue;
}

header nav a:hover {
    color: rgb(116, 181, 238);
}

/* --- Hero Section --- */
#hero {
    /* background-color: #050880; */
    background-image: url(images/bureau.jpg);
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 6rem 2rem;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.pres-service {
    background-color: #050880;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 6rem 2rem;
    height: auto;
    width: 100%;
}

.pres-service h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pres-service p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #fff;
    color: #050880;
    padding: 0.8rem 2rem;
   
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #2959f8;
    color: #fff;
}
/*---PROJETS---*/
.projet1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.shiatsu-web {
    width: 100vw;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-family:Crimson Text serif;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-top: 3%;
    margin-bottom: 3%;
    padding: 2rem;
}
.pictprojet {
    width: 35vw;
   
}
.printed-card {
     width: 100vw;
   
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-family:Crimson Text serif;
    font-size: 1.5rem;
    line-height: 2rem;
    margin-top: 3%;
    margin-bottom: 3%;
    padding: 2rem;
}
/*--- Webmaster ---*/
#webmaster {
    display: flex;
    background-color: #f1f1f1;
    /* background-color: #050880; */
    text-align: center;
    justify-content: center;
    
}
.me-description{
  display: flex;
  flex-direction: column;
  padding: 2rem;
  text-align: left;
  width: 50%;
  height: auto;
  font-family: "Crimson Text", Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.45;
  letter-spacing: 0.2px;
  color: #2a2a2a;
  margin-bottom: -40px;
  padding-left: 1rem;
  quotes: "“" "”" "‘" "’";
   
}
.me{
    margin-top: 40px;
    margin-right: 30px;
}
.me2{
  
    margin-right: 10px;
    width: 200px;
    margin-bottom: -145px;
    z-index: 999;
}

/* --- Services Section --- */
#services {
    padding: 4rem 2rem;
    text-align: center;
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    width: 250px;
    border: 3px solid transparent;
}
img.card-services{
    width: 50px;
    height: 50px;
}

.card:hover {
    
    cursor: pointer;
}

/* --- Pourquoi me choisir --- */
.pourquoi,img.me {
    background-size: cover;
    height: 500px;
}

.check {
    width: 25px;
    height: 25px;
    background-image: url(images/coche.png);
    background-size: cover;
}

#why {
    background-color: #f1f1f1;
    padding: 4rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    text-align: left;
}

.pourquoi {
    width: 33%; /* 1/3 */
}

.pourquoi img {
    width: 100%;
    height: auto;
}

.advantages {
    width: 66%; /* 2/3 */
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.whyme {
    text-align: center;
     font-family: "Crimson Text", serif;
     font-size: 2.5rem;
}

.advantage {
    width: calc(50% - 1rem); /* 2 par ligne */
}

/* 🌙 Responsive pour petits écrans */
@media (max-width: 768px) {

    #why {
        flex-direction: column;       /* empile tout */
        text-align: center;           /* centré */
        padding: 2rem 1rem;
    }

    .pourquoi,
    .advantages {
        width: 100%;  
        height: auto;                /* pleine largeur */
        margin: 0; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
    }
   

    
    }
    .pourquoi {
        height: auto;
        
    }
.img-avantages {
    margin-bottom: -20px;
}
    .advantage {
        width: 100%; 
                        /* 1 par ligne */
    }
.whyme {
    margin-top: 50px;
}
#surmesure {
    margin-top: 80px;
}


/* --- Portfolio Section --- */
#portfolio {
    padding: 4rem 2rem;
    text-align: center;
}

.portfolio-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.portfolio-item {
    width: 450px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: transform 0.3s;
}

.portfolio-item:nth-child(1){
    width: 450px;
    height: 250px;
    background-image: url(images/shiatsu.png);
    background-size: cover;
    background-position-x: -50px;
}
.portfolio-item#landing1{
    width: 450px;
    height: 250px;
    background-image: url(images/landing1.png);
    background-size: cover;
    background-repeat: no-repeat;
     background-position-x: 0px;
}
.portfolio-item#table-andalouse{
    width: 450px;
    height: 250px;
    background-image: url(images/tableAndalousePc.png);
    background-size: cover;
    background-position-x: -50px;
}

.portfolio-item:hover {
    transform: scale(1.05);
    cursor: pointer;
    box-shadow: 3px 4px 6px #afacac;
}
.card-visit {
    width: 30vw;
}


 

.hidden {
    display: none;
}

/* --- Contact / CTA final --- */
#contact {
    background-color: #050880;
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
}

#contact .cta-button {
    background-color: #fff;
    color: #007BFF;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 6px;
    font-weight: bold;
}

#contact .cta-button:hover {
    background-color: #0056b3;
    color: #fff;
}
/**FOOTER**/
footer {
    position: relative;
    background: #0a0f14;
    color: #fff;
    padding: 50px 20px 20px;
    
    font-family: "Crimson Text", serif;
    overflow: hidden; /* coupe tout débordement */
}

/* Bande animée */
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;       /* très large pour animation continue */
    height: 6px;       /* épaisseur */
    background: linear-gradient(90deg, #0ff, #00f, #0ff, #00f, #0ff);
    background-size: 300% 100%; /* permet un mouvement fluide */
    animation: moveGradient 5s linear infinite; /* durée plus longue = plus fluide */
}

/* Animation continue du gradient */
@keyframes moveGradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}




.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
}

.footer-section h4::after {
    content: "";
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #0b89dd, #00c3ff);
    display: block;
    margin-top: 5px;
    border-radius: 5px;
}

.footer-logo {
    font-family: "Great Vibes", cursive;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.footer-section p {
    opacity: 0.7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: #ffffffc9;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #0b89dd;
}

.socials a img {
    width: 28px;
    margin-right: 12px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.socials a img:hover {
    transform: scale(1.15);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ffffff1c;
    font-size: 0.9rem;
    opacity: 0.6;
}
.footer-logo-link {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-img {
    width: 160px;      /* ajuste selon la taille du logo */
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}



/* --- Responsive --- */

/* Tablettes */
@media (max-width: 992px) {
    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    .cards, .advantages, .portfolio-items {
        gap: 1.5rem;
    }
}

/* Petits écrans / mobiles */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
ul.nav-links.active {
    height: 100%;
}
    #hero {
        padding: 4rem 1rem;
    }

    #hero h1 {
        font-size: 1.8rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .cards, .advantages, .portfolio-items,#why {
        flex-direction: column;
        align-items: center;
    }

    .card, .advantage, .portfolio-item {
        width: 90%;
    }
    img.pourquoi {
        width: 250px;
    }

      .advantages {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    width: 85%;
    margin-left: 0;
}
#webmaster,.me-description {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.me{
    margin-top: 0px;
}
}


/* Très petits écrans */
@media (max-width: 480px) {
    .cards, .advantages, .portfolio-items,#why {
        flex-direction: column;
        align-items: center;
        
    }
    .cards {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }
    #hero {
        padding: 3rem 1rem;
    }

    #hero h1 {
        font-size: 1.5rem;
    }

    #hero p {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 0.6rem 1.5rem;
    }
     img.pourquoi {
        height: 250px;
    }
    .pourquoi {
        height: 250px;
        margin-top: 100px;
    }
    p{
        text-align: left;
        font-size: 1.2rem;
    }
    h3 {
        font-size: 1.3rem;
    }

    .advantages {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    width: 85%;
    margin-left: 0;
}
#webmaster,.me-description {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-left: none;
}
.me{
    margin-top: 0px;
}
.card {
    width: 100%;
}
}


/***SITE VITRINE***/
.description-site {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 10px;
}
.desc-left,.desc-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 20px;
}
.desc-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: auto;
    text-align: left;
    font-size: 1.4rem;
}
.desc-right-design {
    background-color: #f1f1f1;
    width: 103%;
}

.web {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-bottom: 5%;
}
.web>img {
    width: 55vw;
}
.hero-pack {
    text-align: center;
    padding: 60px 20px;
    background: #0b89dd;
    color: #fff;
    font-family: "Crimson Text", serif;
    margin-bottom: 90px;
}

.packs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
   
    
}
section#packs.packs {
    padding-bottom: 0px;
}
.pack {
    background: #1a1f29;
    color: #fff;
    border-radius: 12px;
    border: 5px solid transparent;
    padding: 30px 20px;
    text-align: center;
    transition: .6s;
    font-family: "Crimson Text", serif;
}

.pack:hover {
   
    box-shadow: 0 0px 19px rgb(3, 238, 238);
     border: 5px solid rgb(3, 238, 238);
     
     transition: .6s;
     cursor: pointer;
     z-index: 99999px;
     
}

.pack h2 {
    font-family: "Great Vibes", cursive;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #0ff;
}

.pack ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.pack ul li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.pack ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0ff;
}

.pack .price {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0;
    color: #0b89dd;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(35deg, rgb(98, 166, 255), rgb(16, 16, 124));
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
    margin-bottom: 25px;
}

.btn:hover {
    background: rgb(2, 214, 214);
    box-shadow: 3px 6px 9px rgba(2, 233, 250, 0.5);
     transition: .3s;
    
}


/***DESIGN GRAPHIQUE***/
.hero-pack {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgb(3, 138, 216), #00f, #6f00ff);
    color: #fff;
    font-family: "Crimson Text", serif;
}



.pack.graphic-pack {
    background: #1a1f29;
    color: #fff;
    border-radius: 16px;
    border: 5px solid transparent;
    padding: 30px 20px;
    text-align: center;
    /* transition: transform 0.3s, box-shadow 0.5s, background 0.3s; */
    font-family: "Crimson Text", serif;
    position: relative;
    transition: .3s;
}



  .pack.graphic-pack:hover {
    
     box-shadow: 0 15px 35px rgba(11, 137, 221, 0.6);
    border: 5px solid #0ff;
   
     transition: .3s;
} 

.pack h2 {
    font-family: "Great Vibes", cursive;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #0ff;
}

.pack ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.pack ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.pack ul li::before {
    content: "🎨";
    position: absolute;
    left: 0;
    color: #0ff;
}

.pack .price {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 20px 0;
    color: #6f00ff;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ff, #00f, #6f00ff);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}




/***RESEAUX SOCIAUX***/
.hero-pack {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #00f, rgb(17, 117, 184), #6f00ff);
    color: #fff;
    font-family: "Crimson Text", serif;
}

.packs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    transition: .3s;
    /* margin: 50px auto;
    padding: 0 20px; */
}

.pack.social-pack {
    background: #1a1f29;
    color: #fff;
    border-radius: 16px;
    border: 5px solid transparent;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.5s, background 0.3s;
    font-family: "Crimson Text", serif;
}

.pack.social-pack.recommended {
    /* border: 5px solid #0ff; */
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.pack.social-pack:hover {
    /* transform: translateY(-10px) scale(1.02); */
    border: 5px solid #0ff;
    box-shadow: 0 15px 35px rgba(11, 137, 221, 0.6);
    /* background: linear-gradient(135deg, #0ff, #00f, #6f00ff); */
}

.pack h2 {
    font-family: "Great Vibes", cursive;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #0ff;
}

.pack ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.pack ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.social-pack ul li::before {
    content: "🎬";
    position: absolute;
    left: 0;
    color: #0ff;
}

.pack .price {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 20px 0;
    color: #6f00ff;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ff, #00f, #6f00ff);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}



.video-example {
    text-align: center;
    padding: 50px 20px;
    font-family: "Crimson Text", serif;
}

.video-example h2 {
    font-family: "Great Vibes", cursive;
    font-size: 2rem;
    color: #0ff;
}

.video-example p {
    margin-bottom: 30px;
    color: #1518cffb;
}









/**ANIMATIONS**/

@keyframes rotateInfinite {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
a:nth-child(1)>.card>img.card-services{
    animation: rotateInfinite  10s linear infinite;
}

.card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: 0.7s ease, transform 0.3s ease;
  cursor: pointer;
}

/* Gradient final au hover */
.card:hover {
  /* background: linear-gradient(135deg, #034977 0%, #45afec 100%); */
  /* color: aliceblue; */
  border: 3px solid rgb(3, 238, 238);
  box-shadow: 0 0 17px rgb(3, 238, 238);
  transition: 0.7s ease, transform 0.3s ease;
  
}

/* Pseudo-élément pour le balayage diagonal */
.card::before {
  content: "";
  position: absolute;
  top: 100%;     /* démarre en bas */
  left: -100%;   /* démarre à gauche */
  width: 200%;
  height: 200%;
  pointer-events: none;

  /* Balayage diagonal avec effet glow */
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255,255,255,0.45) 40%,
    transparent 80%
  );

  transition: transform 0.7s ease;
  transform: translate(0, 0);
}

/* Animation quand la souris est dessus */
.card:hover::before {
  transform: translate(100%, -100%);
}


ul{list-style:none;padding-left:0;}
.desc-right>ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: self-start;
}







.carousel {
  position: relative;
  width: 100%;
  height: 400px;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.apercu {
    text-align: center;
     font-family: "Great Vibes", cursive;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: rgb(32, 102, 194);
}
.portfolio-item {
  width: 80%;
  height: 350px;
  background: #222;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

/* Boutons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  font-size: 2rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  color: white;
  border-radius: 5px;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Points */
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #777;
  cursor: pointer;
}

.carousel-dots button.active {
  background: white;
}


#hero {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 1s ease-out forwards;
  text-align: center;
}

/* Animation */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apparition séquencée des éléments */
#hero h1, #hero p, #hero .cta-button {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 0.8s ease forwards;
}

#hero h1 {
  animation-delay: 0.2s;
}

#hero p {
  animation-delay: 0.4s;
}

#hero .cta-button {
  animation-delay: 0.6s;
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.arrive-de-droite {
  
    animation: transRight .5s linear;
    
}
/*Arrive de droite*/
@keyframes transRight {
    from{
        opacity: 0;
        transform: translateX(700px);
    }
     to {
    opacity: 1;
    transform: translateX(0);
  }
}

/**Anim Texte**/
.boxanim {
  opacity: 0;
}

.boxanim.visible {
  animation: slideIn 0.9s ease-out forwards;
}
.boxanimL {
    opacity: 0;
}
.boxanimL.visible {
  animation: slideInL 0.9s ease-out forwards;
}
.boxanimUp {
    opacity: 0;
}
.boxanimUp.visible {
  animation: slideInUp 0.9s ease-out forwards;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(300px);
    
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes slideInL {
  from {
    opacity: 0;
    transform: translateX(-300px);
    
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    /* transform: translateY(300px); */
    
  }
  to {
    opacity: 1;
    /* transform: translateY(0); */
  }
}




