/* ---- Style général ---- */
body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #f8f9fb, #eceef1);
  color: #1b1b1b;
  margin: 0;
  padding: 0;
}

main {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid #f1f1f1;
    margin-top: 80px; /* Ajustez selon la hauteur réelle de votre topbar */

}

/* ---- Navigation ---- */
nav {
  background: #202124;
  color: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-start;
}

nav li {
  margin: 0;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
  color: #ff5252;
  transform: translateY(-1px);
}

/* ---- Boutons ---- */
a[role="button"],
button,
input[type="submit"] {
  display: inline-block;
  background: #ff5252;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.25s ease;
  box-shadow: 0 4px 0 #d83c3c;
}

a[role="button"]:hover,
button:hover,
input[type="submit"]:hover {
  background: #d83c3c;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(216, 60, 60, 0.3);
}

/* ---- Variante secondaire ---- */
a.secondary,
button.secondary {
  background: #f1f3f4;
  color: #333;
  box-shadow: 0 4px 0 #c2c2c2;
}

a.secondary:hover,
button.secondary:hover {
  background: #e5e7e9;
  transform: translateY(-2px);
}

/* ---- Bouton spécial "Télécharger extension" ---- */
.downloadExtension {
  display: inline-block;
  margin-top: 30px;
  background: #212121;
  color: #fff;
  font-size: 1.3rem;
  padding: 1em 2.2em;
  border-radius: 14px;
  box-shadow: 0 6px 0 #000;
  transition: transform 0.15s ease, background 0.25s ease, box-shadow 0.2s ease;
}

.downloadExtension:hover {
  background: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.25);
}

a[role="button"].subscribPlan {
  display: inline-block;
  margin-top: 30px;
  background: #32b186;
  color: #fff;
  font-size: 1.3rem;
  padding: 1em 2.2em;
  border-radius: 14px;
  box-shadow: 0 6px 0 #066449;
  transition: transform 0.15s ease, background 0.25s ease, box-shadow 0.2s ease;
}

a[role="button"].subscribPlan:hover {
  background: #45ecb5;
  transform: translateY(-3px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.25);
}






/* ---- Formulaire ---- */
form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #444;
}

form input {
  width: 100%;
  padding: 12px 14px;
  background: #f6f6f6;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus {
  outline: none;
  border-color: #ff5252;
  box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.2);
}

/* ---- Vidéo ---- */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}



/* ---- Pied de page ---- */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #202124;
  color: #f5f5f5;
  text-align: center;
  padding: 14px 0;
  font-size: 0.9rem;
  border-top: 3px solid #ff5252;
  letter-spacing: 0.5px;
}


.topbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background: #202124;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: fixed;     /* Fixe la barre à l'écran */
  top: 0;              /* La colle tout en haut */
  left: 0;             /* L'aligne à gauche */
  width: 100%;         /* Elle prend toute la largeur */
  z-index: 1000;       /* S’assure qu’elle reste au-dessus des autres éléments */


}
.topbar .nav-left,
.topbar .nav-right,
.topbar .nav-lang {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
}
.topbar .nav-lang { margin-left: auto; } /* pousse à droite */

.topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .3px;
  transition: color .2s ease, transform .2s ease;
}
.topbar a:hover { color: #ff5252; transform: translateY(-1px); }

.lang-form select {
  position: right;

  background-color: #202124;
  color: #fff;
  border: 1px solid #555;
  border-radius: 8px;
  font-size: 1.2rem; /* augmente la taille du texte du select */
  padding: 8px 12px; /* agrandit la zone cliquable */
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.lang-form select:hover { background-color: #2c2f34; }
.lang-form select:focus { outline: none; border-color: #ff5252; }



.features {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.features .container {
  font-weight: 500; /* ou 'bold' */
  max-width: 800px;
  margin: 0 auto;
}

.features h1, h2, h3, h4 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.features ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.features li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0.8rem 0;
}

.features p {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.7;
}

.conection.validate {
  background-color: #7ce5f3;     /* bleu très clair */
  color: #fcfcfd;                /* bleu plus soutenu pour le texte */
  text-shadow:
    -1px -1px 0 rgb(64, 160, 197),  /* haut-gauche */
     1px -1px 0 rgb(64, 160, 197),  /* haut-droit */
    -1px  1px 0 rgb(64, 160, 197),  /* bas-gauche */
     1px  1px 0 rgb(64, 160, 197);  /* bas-droit */
  border: 1px solid #b3d1ff;     /* bord légèrement plus foncé */
  border-radius: 10px;           /* coins arrondis */
  padding: 12px 18px;            /* espace intérieur confortable */
  font-weight: 500;
  text-align: center;
  max-width: 400px;
  margin: 20px auto;             /* centre le bloc horizontalement */
  box-shadow: 0 2px 6px rgba(0, 74, 173, 0.1); /* ombre douce */
}

.features .container .subscribPlan a.downloadExtension {
  margin-top: 20px;

}



.subtitle-box {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 560px;  /* aligné sur la vidéo */
  text-align: center;
}



.settings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
}

.setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #bbb;
  border-radius: 26px;
  transition: 0.3s;
}

.switch .slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background-color: #ff5252;
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}
