@import url('var.css');
@import url('background.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');


/* ====== HEADER ====== */
header {
  position: relative;
  height: 60px;
  margin: 20px;
  padding: 0 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Barre floutée sur toute la largeur */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 9px;
  z-index: 0;
}

/* Tout le contenu passe au-dessus du flou */
header > * {
  position: relative;
  z-index: 1;
}

/* ====== LOGO GAUCHE ====== */
header .logo {
  height: 45px;
  width: auto;
}

.fa-regular.fa-user {
  color: #fff;
}

.logoTel
{
  display: none;
}


.first
{
  margin-bottom: 100px;
}

/* Conteneur */
.imgExemple {
  position: relative;
  width: 320px;
  height: 420px;
  margin: 0 auto;              /* centrage horizontal */
  perspective: 1200px;

  display: flex;               /* utile pour le centrage */
  justify-content: center;
  align-items: center;
  text-align: center;
}

.separateur
{
  height: 40px;
}


/* Carte */
.cadre {
  position: absolute;
  background: transparent;
  transition: transform 1s ease, z-index 1s ease;
  transform-origin: center bottom;
}

/* Image */
.cadre img {
  width: auto;
  height: 400px;
  object-fit: cover;
  border-radius: 0 0 18px 18px;
  border-radius: 15px;
}

/* Titre */
.cadre h3 {
  margin: 0;
  padding: 14px;
  text-align: center;
  font-size: 1.2rem;
}

/* Positions de base */
.cadre.pos-0 {
  transform: rotate(-8deg) translateX(-30px);
  z-index: 1;
}

.cadre.pos-1 {
  transform: rotate(0deg);
  z-index: 2;
}

.cadre.pos-2 {
  transform: rotate(8deg) translateX(30px);
  z-index: 3;
}

/* Carte mise en avant */
.cadre.active {
  transform: translateY(-50px) rotate(0deg) scale(1.06);
  z-index: 10;
}


/* ====== BOUTONS CENTRAUX ====== */
.center-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* Style commun des boutons */
.btnTransparent {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15); 
  border: none;
  border-radius: 6px;
  color: #0096ff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btnTransparent:hover {
  transform: scale(1.05);
}

.btnCouleur {
  padding: 10px 20px;
  background: linear-gradient(90deg, #0096ff, #8c00ff);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btnCouleur:hover {
  transform: scale(1.05);
}

.btnAction {
  margin-top: 60px;
  margin-bottom: 60px;
  padding: 10px 20px;
  background: linear-gradient(90deg, #0096ff, #8c00ff);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btnAction:hover {
  transform: scale(1.05);
}

/* ====== BOUTON DROITE ====== */
.right-btn {
  width: 45px;
  height: 45px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.right-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}

section {
  margin-top: 80px;
  text-align: center;
}


.exemple, .plans {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  margin-right: 70px;
  margin-left: 70px;
}

.exempleBlock {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  box-sizing: border-box;
  max-width: 400px;
}

.imgTuto {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  display: block;
}

.TitrePlan {
  color: #000;
  font-size: 25px;
}


.planBlock 
{

  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  box-sizing: border-box;
  max-width: 400px;
  border: 2px solid #dddddd;
}



.price {
  font-size: 20px;
  color: #8c00ff;
  font-weight: 600;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  text-align: left;
}

.features li {
  display: flex;
  align-items: center;
  font-size: 1em;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.3;
}

.check {
  color: #00b341;
  font-size: 1.3em;
  margin-right: 8px;
  min-width: 20px;
  text-align: center;
}

.cross {
  color: #e00000;
  font-size: 1.3em;
  margin-right: 8px;
  min-width: 20px;
  text-align: center;
}

.choose-btn {
  background: linear-gradient(90deg, #0096ff, #8C00FF);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  padding: 12px 24px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.choose-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(140, 0, 255, 0.4);
}

/* ===================== */
/* ===== MOBILE ======== */
/* ===================== */
@media (max-width: 768px) 
{
  h1
  {
    font-size: 20px;
  }

  .exemple, .plans 
  {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  margin-right: 10px;
  margin-left: 10px;
}


  .first
  {
    margin-bottom: 50px;
  }

  .cadre img {
    width: auto;
    height: 300px;
  }

  .separateur
  {
    height: 0px;
  }


  h2
  {
    font-size: 16px;
  }

  .logo
  {
    display: none;
  }

  .fa-regular.fa-user, .right-btn {
    display: none;
  }


  .logoTel
  {
    height: 50px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
  }

  header {
    flex-direction: column;
    height: auto;
    gap: 15px;
    padding: 15px;
  }

  .center-buttons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .btnTransparent,
  .btnCouleur {
    font-size: 14px;
    padding: 8px 14px;
  }

  .right-btn {
    width: 40px;
    height: 40px;
  }

  section {
    margin-top: 50px;
    padding: 0 15px;
  }



  .btnAction {
    font-size: 16px;
    padding: 10px 18px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .exempleBlock {
    max-width: 100%;
  }

  .planBlock {
    width: 100%;
    max-width: 340px;
  }
}


