body {
    font-family: 'Satoshi', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

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

a:visited {
    color: #ffffff;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

h2 .highlight {
    color: #A29BFE;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #0a0a0a;
    opacity: 0.8;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    font-weight: 900;
    font-size: 3rem;
}

.navbar__menu {
    list-style: none;
    display: flex;
    gap: 3rem;
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar__menu a:hover {
    color: #A29BFE;
    transition: 0.3s;
}

.hero {
    padding-top: 12rem;
    background-image: url(../ressources/images/hero-banner.png);
    margin: 9rem 2rem 0 2rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: auto;
    height: 100vh;
    border-radius: 20px;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero__content {
    transform: translateY(-7rem);
}

.hero__title {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px #0a0a0a;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px #0a0a0a;
    margin: 0;
}

.services .container {
    margin: 0 auto;
    padding: 3rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    width: auto;
    margin: 0 auto;
}

.service-card:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.service-card:nth-child(2) { grid-column: 2 / 4; grid-row: 1 / 2; }
.service-card:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
.service-card:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 4; }
.service-card:nth-child(5) { grid-column: 1 / 3; grid-row: 3 / 4; }

.service-card {
    border: 1px solid #A29BFE;
    border-radius: 25px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.service-card__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card h3 {
    color: #A29BFE;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.service-card__description {
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

.service-card__price {
    background: #A29BFE;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-align: center;
    margin: 60px auto;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
}

.service-card__disclaimer {
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    padding-top: 15px;
}


.heroes .container {
    margin: 0 auto;
    padding: 0 2rem;
}


.heroes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    height: 100vh;
}


.hero-card {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 40px;
    display: flex;
    align-items: flex-end;
    position: relative;
    text-align: center;
    overflow: hidden;
}


.hero-card:nth-child(1) { background-image: url(../ressources/images/catastrophic.png); }
.hero-card:nth-child(2) { background-image: url(../ressources/images/carotte-woman.png); }
.hero-card:nth-child(3) { background-image: url(../ressources/images/ultraquenarde.png); }
.hero-card:nth-child(4) { background-image: url(../ressources/images/poulpy.png); }
.hero-card:nth-child(5) { background-image: url(../ressources/images/oran-wu-tang-clan.png); }
.hero-card:nth-child(6) { background-image: url(../ressources/images/superime.png); }


.hero-card__content {
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.hero-card__description {
    font-size: 1rem;
    text-align: center;
    margin-top: 1rem;
}


.hero-card h3 {
    font-size: 2rem;
    margin: 0;
}


.hero-card__reveal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(162, 155, 254, 1);
  border-radius: 40px 40px 0 0;
  padding: 1rem 2rem; 
  height: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem; 
  font-style: italic;
  text-shadow: 1px 1px 2px #0a0a0a;
  opacity: 1;
  visibility: hidden;
  transition:  opacity 0.3s ease;
  box-sizing: border-box;
  overflow-wrap: break-word; 
  word-break: break-word;
  overflow: hidden; 
  text-align: center; 
  max-height: 100%; 
}

.hero-card__reveal.reveal-visible {
  visibility: visible;
  opacity: 0.7;
}



/* .hero-card:hover .hero-card__reveal {
    opacity: 0.7;
    visibility: visible;
    transition: opacity 0.3s ease;
} */


.heroes__cta {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.heroes__cta a {
    background: #A29BFE;
    padding: 1rem 1rem;
    border-radius: 25px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
}


#nos-heros {
    margin-bottom: 1rem;
}

.testimonials {
    margin-bottom: 10rem;
    width: 100%;
    padding-top: 1rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 3rem 0;
  padding: 10rem 2rem 0 2rem;
  justify-items: center;
}

.testimonial-card {
  background: #8882D5;
  border-radius: 500px 500px 50px 50px;
  text-align: center;
  position: relative;
  
  width: 22vw;
  padding: 4rem 2rem 2rem; 
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  overflow: visible; 
}

.testimonial-card__avatar {
  width: 22vw;
 
  border-radius: 50%;
  border: 0.8rem solid #c2bdf5; 
  position: relative; 
  margin-top: -6rem; 
  overflow: hidden;
  aspect-ratio: 1/1;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.testimonial-card__content h3 {
  margin-top: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.testimonial-card__content p {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  padding: 1rem 2rem 0 2rem;
  color: white;
}




.contact__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

.form__input {
    background-color: #4D4D4D;
    width: 100%;
    height: 3rem;
    border-radius: 20px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
}

.form__input:focus {
    outline: none;
    border: 1px solid #A29BFE;
}

label {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: bold;
}

#message {
    height: 10rem;
}

.btn {
    border: none;
    background: #A29BFE;
    color: #ffffff;
    font-weight: bold;
    padding: 1rem;
    font-size: 1rem;
    width: 25%;
    margin: 5rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.footer {
    background: linear-gradient(135deg, #a18cff, #6f59ff);
    text-align: center;
    padding: 3rem 1rem;
    border-top-left-radius: 40% 20%;
    border-top-right-radius: 40% 20%;
}

.footer__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer__nav {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 1rem;
}

.footer__copyright {
    font-size: 1rem;
    margin-top: 5rem;
}


.navbar__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.navbar__menu.is-open {
  background-color: rgba(0, 0, 0, 0.9); /* noir semi-transparent */
  backdrop-filter: blur(5px); /* flouté chic */
  padding: 1rem 2rem;
  border-radius: 20px;
  z-index: 999;
}

@keyframes bounce-card {
  0% { transform: scale(1); }
  30% { transform: scale(1.05) rotate(1deg); }
  60% { transform: scale(0.98) rotate(-1deg); }
  100% { transform: scale(1); }
}

.hero-card.animate {
  animation: bounce-card 0.6s ease;
}


@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.shake {
  animation: shake 0.4s ease;
  border: 2px solid #FF6B6B;
}

@media (max-width: 1023px) {
  .navbar__container {
    flex-direction: column;
    align-items: center;
  }


  .navbar__container > h1, 
  .navbar__container > .navbar__logo {
    order: 0;
    margin-bottom: 0;
    width: 100%;
    text-align: center;
  }

 
  .navbar__menu {
    order: 1;
    flex-wrap: nowrap; 
    justify-content: center;
    width: 100%;
    font-size: 0.5rem;
    gap: 1rem;
  }

 
  .navbar__menu li {
    margin: 0 1rem; 
  }

  
  .navbar__menu a {
    font-size: 1.2rem;
  }

   .navbar{
    height: auto;
    padding: 0 ;
  }
  .navbar__logo {
    font-size: 2rem;
  }
 

.services .container{
  padding: 1rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: auto auto auto;  
    gap: 20px;
  }


  .service-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1;
  }

  .service-card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1;
  }


  .service-card:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2;
  }

  
  .service-card:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .service-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  
 .heroes__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    gap: 1rem;
    padding: 1rem;
    height: auto;
  }

  .hero-card {
    min-height: 200px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 40px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
  }

  .hero-card__content {
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-card__description {
    font-size: 1rem;
    margin-top: 0.5rem;
    white-space: normal;
    word-wrap: break-word;
  }

  .hero-card__reveal {
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 1rem 2rem;
  box-sizing: border-box;
  white-space: normal;
  font-size: 1rem; 
  line-height: 1.3; 
  text-align: center;
}

.testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 0rem;
    padding: 10rem 2rem 0 2rem;
    justify-items: center;
  }

  .testimonial-card {
  width: 35vw;           
  max-width: 500px;      
  padding: 4rem 2rem 2rem;
  border-radius: 500px 500px 50px 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card__avatar {
  width: 35vw;         
  height: auto;
  border-radius: 50%;
  border: 0.8rem solid #938af3;
  position: relative;
  margin-top: -6rem;     
  aspect-ratio: 1/1;
  overflow: hidden;
}
  .testimonial-card__content h3 {
    margin-top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-align: center;
  }

  .testimonial-card__content p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
    padding: 1rem 2rem 0 2rem;
    color: white;
    text-align: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    font-size: 1.1rem;
    padding: 1rem;
  }
.contact__form {
    margin: 0 auto;
    width: 80%;

  }

  .form__group {
    width: 100%; 
  }

  .form__input,
  select,
  textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .btn {
    width: 80%;  
    max-width: 300px;
    margin: 2rem auto;
  }

  .footer__nav {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .btn{
    width: 42%;
    
  }


}

@media (max-width: 600px) {
  
    .navbar__toggle {
    display: block;
    margin-top: 1rem;
  }
  
  .navbar{
    height: 10vh;
  }
  .navbar__logo {
    font-size: 2rem;
  }
 
  .navbar__menu {
    display: none;
    flex-direction: column;
    align-items: center;
  }


   .navbar__menu.is-open {
    display: flex;
  }

  h2 {
    font-size: 2rem; 
    text-align: center;
    margin-bottom: 3rem;
  }

  .hero__title {
    font-size: 2rem; 
    margin-bottom: 1rem;
  }

  .hero__subtitle {
    font-size: 1.2rem; 
    margin-bottom: 2rem;
    padding: 0 1rem; 
  }
  .services .container{
  padding: 1rem;
}

  .services__grid {
  display: grid;
  grid-template-columns: 1fr; 
  grid-template-rows: repeat(5, auto);
  gap: 2rem;
  padding: 1rem;
}

.service-card:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1;
}

.service-card:nth-child(2) {
  grid-column: 1 / 2;
  grid-row: 2;
}

.service-card:nth-child(3) {
  grid-column: 1 / 2;
  grid-row: 3;
}

.service-card:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 4;
}

.service-card:nth-child(5) {
  grid-column: 1 / 2;
  grid-row: 5;
}

.service-card__price{
    margin: 2rem auto;
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

h2{
    font-size: 1.5rem;
}

.heroes__grid {
    display: grid;
    grid-template-columns: 1fr; 
    grid-template-rows: repeat(6, auto); 
    gap: 1.5rem;
    padding: 1rem;
    height: auto;
  }

  .hero-card:nth-child(1) { grid-column: 1 / 2; grid-row: 1; }
  .hero-card:nth-child(2) { grid-column: 1 / 2; grid-row: 2; }
  .hero-card:nth-child(3) { grid-column: 1 / 2; grid-row: 3; }
  .hero-card:nth-child(4) { grid-column: 1 / 2; grid-row: 4; }
  .hero-card:nth-child(5) { grid-column: 1 / 2; grid-row: 5; }
  .hero-card:nth-child(6) { grid-column: 1 / 2; grid-row: 6; }

  .hero-card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 40px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
  }

  .hero-card h3{
    font-size: 1rem;
    margin: 0;
    color: #ffffff;
  }

  .hero-card__content {
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-card__description {
    font-size: 1rem;
    margin-top: 0.5rem;
    white-space: normal;
    word-wrap: break-word;
  }

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 2rem;
    padding: 2rem;
    justify-items: center;
  }

  .testimonial-card{
    width: 80vw;
    margin-bottom: 1rem;
    border-radius: 50px;
    position: relative;
  }
  .testimonial-card__avatar {
    width: 80vw; 
    height: auto;
    margin-top: -6rem; 
    aspect-ratio: 1/1;
    border-radius: 15% 15% 95% 95% ;
    position: relative;
  }

  .testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: initial;
}

  .contact__form {
    margin: 0 auto;
    width: 80%;
    max-width: 400px; 
  }

  .form__group {
    width: 100%;
  }

  .form__input,
  select,
  textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .btn {
    width: 80%; 
    max-width: 300px;
    margin: 2rem auto;
  }

  .footer__nav {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .btn{
    width: 42%;
    
  }

}

@media (min-width: 1024px) {
  .hero-card:hover .hero-card__reveal {
    visibility: visible;
    opacity: 0.7;
  }
}