:root {
  --primary: #00234d;
  --secondary: #84b8ff;
  --accent: #ef3e36;
  --beige: #edb88b;
  --rose: #fad8d6;
  --bg : #101010;
}


html {
  font-family: "Work Sans", sans-serif;
  color: white;
}

/* Images décoratives */
.decorative-images {
    position: absolute; /* Changé de fixed à absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ou une hauteur spécifique selon vos besoins */
    pointer-events: none; /* Les images ne bloquent pas les clics */
    z-index: 1; /* Au-dessus du contenu mais sous les menus */
}

.deco-img {
    position: absolute;
    height: auto;
    pointer-events: none;
}

/* Positionnement spécifique de chaque image */
.deco-1 {
    top: 110%;
    left: 80%;
    width: 200px;
    animation-delay: 0s;
    transform: rotate(-15deg);
    z-index: -1;
    display: none;
}

.deco-2 {
  display: none;
    top: 90%;
    left: 8%;
    width: 150px;
    animation-delay: -2s;
    transform: rotate(20deg);
    z-index: 1;
}

.deco-3 {
    top: 10%;
    left: 0%;
    width: 100px;
    transform: rotate(-10deg);
    display: none;
    z-index: 1;
}

.deco-7 {
    top: 180%;
    left: 1%;
    width: 150px;
    transform: rotate(25deg);
    z-index: 1;
}

.deco-5 {
  display: none;
    top: 260%;
    left: 50%;
    width: 85px;
    animation-delay: -3s;
    transform: rotate(-20deg);
    z-index: 1;
}

.deco-4 {
    top:320%;
    right: 10%;
    width: 300px;
    animation-delay: -5s;
    transform: rotate(15deg);
    z-index: 1;
}

.deco-6 {
    top:400%;
    left: -15%;
    width: 400px;
    animation-delay: -5s;
    transform: rotate(15deg);
    z-index: 1;
}

.deco-8 {
    bottom: -480%;
    left: 80%;
    width: 150px;
    animation-delay: -5s;
    transform: rotate(15deg);
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  position: sticky;
  top: 10px;
  z-index: 1000;
}

body {
  margin: 0;
  padding: 0;
  background-color: white;
  overflow-x: hidden; /* Empêche le scroll horizontal global */
}

button {
  font-family: "Work Sans", sans-serif;
  font-size: 30px;
  padding: 12px 30px;
  color: white;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  justify-content: center;
  height: 50px;
  transition: transform 0.2s ease;
}
button:hover {
  transform: scale(1.05);
}

#title {
  font-size: 70px;
  font-weight: bold;
  color: var(--primary);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 0;
}

#subtitle {
  font-size: 15px;
  color: var(--secondary);
  text-align: center;
  margin-top: 0;
}

i{
  margin-bottom: 5px;
}


.surligne {
  background-color: #fff700;
  color: #222;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}
.surligne_r {
  background-color: #f070b0;
  color: #222;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}


.surligne_v{
  background-color:#ba3cd0;
  color: #222;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}


#header-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Logo à gauche, menu à droite */
  width: 100%;
  box-sizing: border-box;
  padding: 0 24px;
}

#logo {
    flex-shrink: 0;
    position: relative; /* Ajout pour permettre le positionnement absolu de l'œil */
}

#logo img {
  width: 250px;
  height: auto;
}

nav {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  margin-left: 0; /* Réduit la marge gauche pour plus d'espace */
}

#menu-wrapper {
  background-color: white;
  padding: 10px 30px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
  width: auto; /* Permet à la barre de s'étendre */
  min-width: 1000px; /* Largeur minimale pour éviter le retour à la ligne */
}

#menu {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px; /* Réduit légèrement l'espacement pour plus de place */
  margin: 0;
  padding: 0;
  width: 100%;
  white-space: nowrap; /* Empêche le retour à la ligne des éléments du menu */
}

#menu li {
  flex: 0 0 auto; /* Empêche le flex-shrink pour garder la taille naturelle */
  display: flex;
  justify-content: center;
  white-space: nowrap; /* Empêche spécifiquement "Le Studio" de revenir à la ligne */
}

#menu a {
  font-size: 15px;
  text-align: center;
  padding: 8px 16px;
  border-radius: 10px;
  color: var(--primary);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.3s ease, color 0.3s ease;
  cursor: pointer;
  white-space: nowrap; /* Force le texte à rester sur une ligne */
}

#menu a:hover {
  transform: translateY(-3px);
  color: var(--secondary);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 3px; /* Ajoute l'épaisseur du soulignement */
}

#devis {
  margin-left: 130px;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.4s ease;
  justify-content: center;
  height: 50px;
}

#devis:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px var(--rose);
}

#devis2 {
  margin-left: 40px; /* Réduit la marge pour compenser l'espace */
  padding-left: 40px; /* Réduit le padding */
  border-left: var(--secondary) solid 4px;
  margin-right: 40px; /* Réduit la marge droite */
}

#top {
  background-color: #101010;
}

#top h1 {
  margin-top: 20px;
  margin-bottom: 15px;
  margin-left: 50px;
  font-size: 90px;
}

h2 {
  font-family: "Josefin Sans", sans-serif;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 50px;
  font-size: 45px;
}

.secondary-color-hover {
  color: var(--secondary);
  transition: all 0.3s ease; /* Changé de 0.1s à 0.3s et ajouté 'all' */
  display: inline-block; /* Ajouté pour permettre les transformations */
  transform-origin: center; /* Assure que l'agrandissement se fait depuis le centre */
}

.secondary-color-hover:hover {
  color: var(--beige);
  text-decoration-color: var(--secondary);
  transform: scale(1.1);
}

.secondary-color{
  color: var(--secondary);
  font-weight: bold;
}

.primary-color {
  color: var(--primary);
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: var(--secondary);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px; /* Ajoute un espace entre le texte et le soulignement */
}

.description {
  margin-top: 50px;
  width: 500px;
  margin-left: 100px;
}
.description p {
  text-align: center;
  align-self: center;
}
p {
  font-size: 20px;
  margin-left: 50px;
  margin-right: 50px;
  color: rgb(146, 150, 182);
}
#intro {
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  min-height: 80vh;
  margin-top: -40px; /* Ajoute cette ligne ou ajuste la valeur */
}
.intro-content {
  flex: 1;
  max-width: 50%;
}
/* 5. Styles pour le conteneur vidéo */
.video-intro {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-intro video {
  width: 100%;
  max-width: 600px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
#intro button {
  margin-top: 10px;
}

/* Styles pour l'œil interactif */
.eye-container {
    position: absolute;
    top: 60%;
    left: 81%;
    transform: translate(-50%, -50%); /* Centre l'œil sur le logo */
    width: 80px; /* Taille réduite pour s'adapter au logo */
    height: 48px;
    z-index: 10;
    pointer-events: none; /* L'œil ne bloque pas les clics sur le logo */
}

/* Gardez le reste des styles de l'œil inchangés */
.eye {
    width: 55%;
    height: 62%;
    filter: drop-shadow(0 0 20px rgba(132, 184, 255, 0.3));
    transition: filter 0.3s ease;
}

.eye:hover {
  filter: drop-shadow(0 0 30px rgba(132, 184, 255, 0.5));
}

.eyeball {
  fill: var(--primary);
}

.iris {
  fill: #ecf0f1;
  transition: r 0.15s ease-out;
}

.pupil {
  fill: var(--primary);
  transition: cx 0.1s ease-out, cy 0.1s ease-out;
}

.highlight {
  fill: var(--secondary);
  opacity: 0.8;
}

#sec2 p{
  font-size: 20px;
  margin-left: 50px;
  margin-right: 50px;
  color: black;
}
#sec2 h1, #sec2 h2 {
  color: var(--primary);
  justify-content: center;
  text-align: center;
}
.sec2-description {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 30px;
  align-items: flex-start;
  position: relative;
}
#sec2 h3{
  color: var(--secondary);
  font-size: 24px;
}
#sec2-t1, #sec2-t2 {
  flex: 1 1 300px; /* largeur flexible, minimum 300px */
  background: whitesmoke;
  border-radius: 20px;
  padding: 32px 24px;
  border: var(--primary) solid 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 250px;
  max-width: 400px;
  text-align: center;
  height: 100%;
    box-sizing: border-box;

}
.sec2-description a{
  color: var(--secondary);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}


#sec2-t3 {
  flex-basis: 100%;
  max-width: 900px;
  min-width: 300px;
  width: calc(100% - 80px); /* marges à gauche/droite */
  background: whitesmoke;
  border-radius: 20px;
  padding: 32px 24px;
  border: var(--primary) solid 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#sec2-t3 ul{
  text-align: left;
  align-self: flex-start;
  color: black;
  font-family: "Work Sans", sans-serif;
    display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px; /* espace entre lignes et colonnes */
  padding-left: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  list-style-position: inside;
}
#sec2-t3 ul li {
  margin-bottom: 5px; /* Ajuste la valeur selon l'espacement désiré */
  font-size: 18px;
}
#sec2-t3 a {
  margin-top: 20px; /* Ajuste la valeur selon l'espacement désiré */
}

.imp{
  font-weight: bold;
  color: var(--primary);
  text-decoration: underline;
}


/* Section PK */
.blinq-pk {
    padding: 80px 0px;;
}

.pk-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    min-height: 80vh;
}

#titre-pk {
    grid-column: 1;
    grid-row: 1 / 4;
    text-align: left;
    margin: 0;
    padding: 0;
    color: white;
    font-family: "Josefin Sans", sans-serif;
    font-size: 6em;
}

.pk-grid {
    grid-column: 2;
    grid-row: 1 / 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    max-width: 600px;
}

.pk-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    aspect-ratio: 1;
    cursor: pointer;
    border-radius: 0;
}

.pk-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pk-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.pk-card:hover img {
    filter: blur(5px);
    transform: scale(1.1);
}

/* Titre sur l'image */
.pk-card-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    z-index: 3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Texte descriptif au hover */
.pk-card-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 35, 77, 0.9);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 2;
}

.pk-card:hover .pk-card-text {
    opacity: 1;
    transform: translateY(0);
}

.pk-card:hover .pk-card-title {
    opacity: 0;
}

.pk-card-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary);
}

.pk-card-text p {
  color: white;
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}




/* Section Témoignage Client */
.testimonial-section {
    padding-bottom: 80px;
    position: relative;
}

.testimonial-container {
  max-width: 1000px;
  margin: 0 auto;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
  overflow: hidden; /* Empêche le débordement du contenu */
}

.testimonial-content {
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  max-width: 100%; /* Empêche le débordement horizontal */
  box-sizing: border-box;
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.quote-icon {
  color: var(--primary);
  font-size: 50px;
  margin-bottom: 30px;
  opacity: 1;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.testimonial-quote {
    font-family: "Gabarito", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--primary);
    margin: 0 0 40px 0;
    font-style: italic;
    position: relative;
    text-align: center;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.author-name {
    font-family: "Josefin Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.author-title {
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    color: var(--primary);
    font-weight: 400;
}
#pk-et-cita{
background: linear-gradient(180deg,rgba(0, 35, 77, 1) 0%, rgba(255, 255, 255, 1) 100%);
}




.notre-offre button{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-top: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  height: 80px;
  width: 500px;
  color: white;
  font-weight: bold;
  align-self: center;
}


.notre-offre h1 {
    font-family: "Josefin Sans", sans-serif;

 font-size: 2rem;
 margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
}
.notre-offre{
  
  background-color: var(--bg);
  margin-bottom: 0;
  padding-bottom: 4rem; /* Plus d'espace en bas pour les cartes en rotation */
  padding-top: 2rem; /* Garde un peu d'espace en haut pour le titre */
  overflow: hidden; /* Cache tout débordement sans créer de scroll */
  min-height: 800px; /* Hauteur minimale augmentée pour la grille */
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 1rem;
  justify-items: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  padding: 2rem 0;
  position: relative;
}

/* Positionnement spécifique de chaque carte avec chevauchements artistiques */
.card:nth-child(1) { 
  grid-column: 1; 
  grid-row: 1; 
  transform: rotate(-95deg) translate(20px, -10px);
  background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(to right, #2caf6b, #95f08b);
  z-index: 6;
}
.card:nth-child(1) h2{ 
  color: #2caf6b;
}
.card:nth-child(1) .surligne{ 
  background-color: #2caf6b;
}
.card:nth-child(2) { 
  grid-column: 2; 
  grid-row: 2; 
  transform: rotate(-85deg) translate(-15px, 25px);
  background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(to right, #f5ff33, #e7fe8d);
  z-index: 5;
}
.card:nth-child(2) h2{ 
  color: #f5ff33;
}
.card:nth-child(2) .surligne{ 
  background-color: #f5ff33;
}

.card:nth-child(3) { 
  grid-column: 3; 
  grid-row: 1; 
  transform: rotate(-100deg) translate(-30px, 15px);
  background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(to right, #ba3cd0, #f070b0);
  z-index: 4;
}
.card:nth-child(3) h2{ 
  color: #ba3cd0;
}

.card:nth-child(3) .surligne{ 
  background-color: #ba3cd0;
}
.card:nth-child(4) { 
  grid-column: 1; 
  grid-row: 3;
        background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(to right, #ba3cd0, #f070b0);

  transform: rotate(-80deg) translate(35px, -20px);
  z-index: 3;
}
.card:nth-child(4) h2{ 
      color: #ba3cd0;
}
.card:nth-child(4) .surligne{ 
      background-color: #ba3cd0;
}

.card:nth-child(5) { 
  grid-column: 2; 
  grid-row: 4; 
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(to right, #f5ff33, #e7fe8d);

  transform: rotate(-105deg) translate(10px, -30px);
  z-index: 2;
}
.card:nth-child(5) h2{ 
    color: #f5ff33;

}
.card:nth-child(6) { 
  grid-column: 3; 
  grid-row: 3; 
  transform: rotate(-75deg) translate(-25px, 20px);
      background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(to right, #2caf6b, #95f08b);


  z-index: 1;
}
.card:nth-child(6) h2{ 
    color: #2caf6b;
}
.card:nth-child(6) .surligne{ 
    background-color: #2caf6b;
}

.card {
  background: transparent;
  padding: 1.5rem;
  border: 5px solid transparent;
  background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(to right, #2caf6b, #95f08b);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
  margin-top: 1.5rem;
  transition: transform 0.4s ease, z-index 0.1s ease;
  height: 300px;
  width: 300px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: rotate(0deg) translate(0px, 0px) scale(1.05) !important;
  z-index: 10 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card h2 { 
    font-family: "Josefin Sans", sans-serif;

  font-size: 1.5rem; 
  position: absolute;
  top: -1.8rem; /* Positionne le titre pour qu'il "coupe" la bordure */
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg); /* Fond blanc pour "couper" la bordure */
  color: #007BFF; /* Couleur bleue pour le texte */
  padding: 0.7rem 1.5rem;
  margin: 0;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.15rem;
  text-transform: uppercase; /* Pour ressembler à "CRÉATION" */
  transition: transform 0.3s ease;
}



/* Conteneur pour centrer le contenu */
.card .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: rotate(90deg);
  transition: transform 0.4s ease;
}

.card:hover .content {
  transform: rotate(0deg);
}


.card p { 
  font-family: "Gabarito", sans-serif;
  font-size: 1.2rem; 
  color: white;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 0;
}

.view-more {
  background: transparent;
  border: 2px solid #007BFF;
  color: #007BFF;
  padding: .5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s;
  display: block;
  text-align: center;
}
.view-more:hover {
  background: #007BFF;
  color: #fff;
}









#final{
  background-color: var(--bg);
  padding: 50px 0;
  text-align: center;
  justify-content: center;
  position: relative;
  margin-top: 0;
}

#final .eye-container {
    position: static;
    width: 200px;
    height: 120px;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
    display: block;
    margin: 40px auto; /* Centre horizontalement et ajoute de l'espace vertical */
    left: auto; /* Annule tout positionnement left global */
    right: auto; /* Annule tout positionnement right global */
    transform: none; /* Annule toute transformation globale */
    margin-bottom: 50px;
}

#final .eye {
    width: 100%;
    height: 100%;
}

#final .buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

#final button{
    margin: 0;
    background-color: var(--primary);
    height: 90px;
}

/* Footer Styles */
#footer {
  background: var(--primary);
  color: white;
  margin-top: 0;
  padding: 50px 0 20px;
  font-family: "Work Sans", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-tagline {
  font-size: 16px;
  color: #b8c6db;
  line-height: 1.5;
  margin: 0;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-section h4 {
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-section p {
  margin: 8px 0;
  color: #e1e8f0;
  font-size: 15px;
}

.footer-section a {
  color: #e1e8f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-links a {
  padding: 5px 0;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--beige);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright p {
  margin: 0;
  color: #b8c6db;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: #b8c6db;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--secondary);
  text-decoration: underline;
}



@media screen and (max-width: 1024px) {
  .description{
    width: 100%;
    margin-left: 0;
    padding: 0 20px;
  }
  #devis {
    align-items: center;
    justify-content: center;
    display: flex;
    text-align: center;
  }
  
  #sec2-1-desc {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  #intro {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .pk {
    margin-bottom: 20px;
  }
    .video-intro {
    display: none; /* Masque la vidéo sur les petits écrans */
  }
  #menu-wrapper {
    min-width: 500px; /* Largeur réduite sur tablette */
  }
  
  #menu {
    gap: 30px; /* Espacement réduit */
  }
  
  #devis2 {
    margin-left: 30px;
    padding-left: 30px;
    margin-right: 30px;
  }
}





/* Responsive Footer */
@media screen and (max-width: 768px) {
  #footer {
    padding: 30px 0 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-info {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
  
  .social-links {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
}

/* Responsive pour les cercles .pk */
@media screen and (max-width: 768px) {
  #sec2-1-desc {
    display: flex;
    flex-direction: column; /* Change de row à column pour afficher en colonne */
    align-items: center;
    gap: 20px;
  }
  
  .pk {
    width: 220px; /* Plus petit sur mobile */
    height: 220px;
    padding: 30px 15px;
  }
  
  .pk-text-curved {
    width: 100%;
    height: 100%;
  }
  
  .curved-text {
    font-size: 24px; /* Réduit la taille sur mobile */
    letter-spacing: 1.2px;
  }
  
  .pk p {
    padding: 40px;
    font-size: 14px; /* Texte plus petit sur mobile */
    line-height: 1.3;
  }
  
  .pk i {
    font-size: 1.5rem; /* Icône plus petite sur mobile */
  }

}

@media screen and (max-width: 480px) {

    #intro h1 {
        font-size: 50px; /* ← Encore plus petit sur très petits écrans */
    }

  #sec2-1-desc {
    flex-direction: column; /* Garde la colonne sur très petits écrans */
    gap: 15px;
    padding: 15px;
  }
  
  .pk {
    width: 200px; /* Encore plus petit sur très petits écrans */
    height: 200px;
    padding: 25px 10px;
  }
  
  .curved-text {
    font-size: 18px; /* Encore plus petit */
    letter-spacing: 1px;
  }
  
  .pk p {
    margin-top: 20px;
    padding: 40px;
    font-size: 14px;
  }

  .pk i{
    margin-top: 100px;
    font-size: 4rem; /* Icône encore plus petite */
  }

}

@media screen and (max-width: 768px) {

  .video-intro {
    display: none; /* Masque la vidéo sur les petits écrans */
  }

  .intro-content h1{
    font-size: 2rem;
  }
  #intro h1 {
    font-size: 60px;
    margin-left: 0;
    text-align: center;
  }
  #intro{
    padding: 0;
    margin: 0;
  }
  #intro h2 {
    font-size: 40px;
    text-align: center;
    margin-left: 0;
  }
  .eye-container{
    display: none;
  }
  header {
    position: static; /* ou supprime la règle */
  }
  #header-container {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px;
    gap: 15px;
  }
  

  #menu-wrapper {
    display: none;
  }
  
  #logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
  }

  #logo img {
    display: block;
    margin: 0 auto;
    width: 200px;
    max-width: 100%;
  }
  
  nav {
    margin-left: 0;
    justify-content: center;
  }
  
  #menu-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 8px 16px;
    box-sizing: border-box;
  }
  
  #menu {
    flex-direction: row;
    gap: 15px;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  #menu a {
    font-size: 14px;
    padding: 6px 12px;
    white-space: nowrap;
  }
  
  #devis {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    max-width: 200px;
    align-self: center;
    font-size: 14px;
  }

  #intro {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .intro-content, .description {
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  .description p {
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    align-self: center;
  }

  #devis {
    display: block;
    margin: 20px auto 0 auto; /* 20px en haut, auto à gauche/droite, 0 en bas */
    width: 100%;
    max-width: 200px;
    align-self: center;
  }


  .sec2-description {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  #sec2-t1,
  #sec2-t2,
  #sec2-t3 {
    align-self: center;
    max-width: 80%;
    text-align: center;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  #sec2 h1,
  #sec2 h2,
  #sec2 h3{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
    #sec2-t3 ul {
    text-align: center;
    display: block;
    max-width: 100%;
    padding-left: 0;
    margin: 0 auto;
    box-sizing: border-box;

  }
  #sec2-t3 ul li {
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;

  }

  /* Boutons de la section final en mobile */
  #final .buttons-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
  }

  #final button {
    width: 100%;
    margin: 0;
    max-width: 250px;
    height: 60px;
    font-size: 16px;
  }

  /* Responsive pour les cartes */
  .notre-offre {
    min-height: auto;
    padding-bottom: 2rem;
  }
  
  .cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 350px;
    margin: 0 auto;
    padding: 1rem 0;
  }
  
  .card {
    transform: rotate(0deg) !important;
    position: relative;
    margin-top: 0;
    width: 100%;
    height: auto;
    min-height: 200px;
  }
  
  .card .content {
    transform: rotate(0deg) !important;
    position: relative;
    height: auto;
  }
  
  .card h2 {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }
  
  .card p {
    font-size: 1rem;
  }

  .deco-6, .deco-1 ,.deco-2, .deco-3,.deco-4,  .deco-5 , .deco-7, .deco-8 {
    display: none; /* Masque la décoration sur mobile */
  }
  .card {
    max-width: 260px;
    width: 90%;
    min-width: 180px;
  }

  .notre-offre button{
    width: 100%;
    max-width: 300px;
    height: 60px;
    font-size: 16px;
  }

  #demande{
    padding: 0 10px;
    margin: 0;
    text-align: center;
    align-self: center;
  }
}



/* Menu Burger Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    top: 0;
    right: 0;  
    margin: 10px; 
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu mobile overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 35, 77, 0.95);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 30px 0;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    padding: 15px;
}

.mobile-menu a:hover {
    color: var(--secondary);
}

.devis-mobile {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50px;
    padding: 15px 30px !important;
    margin: 20px auto;
    display: inline-block;
    width: fit-content;

}

/* Responsive - Afficher le burger menu sur mobile */
@media screen and (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    /* Cacher le menu normal sur mobile */
    #menu-wrapper {
        display: none !important;
    }
    
    /* Ajuster le header pour le burger */
    #header-container {
        justify-content: space-between;
        align-items: center;
    }
    
    nav {
        justify-content: flex-end;
    }
}
.intro-eye {
    position: absolute;
    top: 46.5%; /* Centre verticalement sur le logo */
    left: 52.3%; /* Centre horizontalement sur le logo */
    transform: translate(-50%, -50%); /* Centre parfaitement */
    width: 82px; /* Taille réduite pour s'adapter au logo */
    height: 50px;
    z-index: 100; /* Au-dessus de tout */
    pointer-events: all;
    opacity: 0;
    transform: translate(-50%, -50%) translateX(100px);
    animation: eyeFollowQ 0.8s ease-out 1.2s forwards;
}

.intro-eye .eye {
    width: 100%;
    height: 100%;
    cursor: pointer;
    filter: drop-shadow(0 0 20px rgba(132, 184, 255, 0.5));
}

        /* Conteneur principal de l'animation */
.intro-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.8s ease-in-out 2s forwards; /* ← Changez de 3.5s à 5s */
}

.intro-video {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000; /* ← Fond noir */
}
.intro-video img {
    width: 30%;
    height: 30%;
    object-fit: cover;
    margin: auto; /* ← Force le centrage parfait */
    display: block; /* ← Nécessaire pour que margin: auto fonctionne */
    animation: resetGif 0.1s;
}
@keyframes resetGif {
    0% { opacity: 0.99; }
    100% { opacity: 1; }
}

        /* Le site principal (masqué au début) */
.main-site {
    opacity: 0;
    transform: scale(1.1);
    animation: siteAppear 0.8s ease-out 2s forwards; /* ← Changez de 3s à 4.5s */
    min-height: 100vh;
    overflow-y: auto;
}

        /* Animations */
        @keyframes logoAppear {
            to {
                opacity: 1;
                transform: scale(1);
            }
        }


        @keyframes fadeOut {
            to {
                opacity: 0;
                visibility: hidden;
            }
        }

        @keyframes siteAppear {
            to {
                opacity: 1;
                transform: scale(1);
            }
        }




.page-selected a{
    color: var(--secondary) !important;
}
.fancy-class{
  font-family: "Sarina", cursive;

}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 18px 40px;
    border-radius: 50px;
    font-family: "Gabarito", sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 56px;
    white-space: nowrap;
    overflow: visible;
    box-sizing: border-box;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    border: 2px solid var(--secondary);
    padding: 20px 45px;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(132, 184, 255, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.no-scroll {
    /* bloque le scroll sans provoquer de saut visuel */
    overflow: hidden !important;
    height: 100vh !important;
    width: 100% !important;
    position: fixed !important;
    top: 0;
    left: 0;
    /* optionnel : empêche le zoom/pan tactile */
    touch-action: none;
}


@media screen and (max-width: 768px) {

    
    .intro-video {
        width: 100%;
        height: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .intro-video img {
        width: 80%; /* Plus grand sur mobile pour remplir l'écran */
        height: auto;
        max-width: 90vw;
        max-height: 70vh;
    }

    #intro .intro-content h1 {
        font-size: 3em;
    }
    #intro .intro-content h2 {
        font-size: 2.5em;
    }
    #intro .intro-content #devis {
        margin-bottom: 20px;
    }


    .blinq-pk {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 50px;
    }
    
    .pk-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        max-width: 100%;
        margin: 0;
        min-height: auto;
    }
    
    #titre-pk {
        grid-column: unset;
        grid-row: unset;
        text-align: center;
        font-size: 3rem;
        margin-bottom: 20px;
        order: 1;
    }
    
    .pk-grid {
        grid-column: unset;
        grid-row: unset;
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 300px;
        order: 2;
    }
    
    .pk-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

.click-hint {
    position: absolute;
    color: white;
    font-size: 0.9rem;
    top: 60%;
    font-style: italic;
    text-align: center;
    z-index: 3;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

  /* Animation au hover de la carte */
  .pk-card:hover .click-hint {
      opacity: 0; /* ← Disparaît au hover quand le texte descriptif apparaît */
  }

  .click-hint1{
    display: none;
  }
}

.click-hint1 {
    position: absolute;
    color: white;
    font-size: 0.9rem;
    top: 60%;
    font-style: italic;
    text-align: center;
    z-index: 3;
    padding: 8px 15px;
    transition: all 0.3s ease;
}
.pk-card:hover .click-hint1 {
      opacity: 0; /* ← Disparaît au hover quand le texte descriptif apparaît */
  }