/* ------------------- */
/* STYLE GLOBAL         */
/* ------------------- */

:root {
  --primary: #26a69a;      /* Couleur principale (vert turquoise) */
  --primary-dark: #00796b; /* Variante plus foncée */
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f9f9f9;
  --white: #fff;
  --shadow: 0 4px 12px rgba(0,0,0,0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ------------------- */
/* HEADER & BANNIÈRE    */
/* ------------------- */

header {
  background: linear-gradient(135deg, #009688, #f4c25b);
  /* Vert émeraude → Miel doré */
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
}




header h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

header p {
  font-size: 1.3rem;
  opacity: 0.9;
}
/* Logo du header */
header .logo img {
  height: 100px;      /* Taille plus grande pour visibilité pro */
  max-height: 120px;  /* Limite max sur grand écran */
  margin-bottom: 15px; /* Un peu d'espace sous le logo */
  object-fit: contain;
}

/* Responsive : sur mobile on réduit */
@media (max-width: 768px) {
  header .logo img {
    height: 70px;
    max-height: 80px;
  }
}

/* ------------------- */
/* NAVIGATION FIXE      */
/* ------------------- */

nav {
  position: sticky;
  top: 0;
  background: var(--white);
  padding: 15px 0;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 1000;
}

nav a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: bold;
  margin: 0 18px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary);
}

/* ------------------- */
/* SECTIONS             */
/* ------------------- */

section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--primary-dark);
}

/* ------------------- */
/* FONCTIONNALITÉS      */
/* ------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-box {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* ------------------- */
/* PRIX DU LOGICIEL     */
/* ------------------- */

.price-box {
  background: var(--white);
  text-align: center;
  padding: 50px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 500px;
  margin: auto;
}

.price-box h3 {
  font-size: 1.8rem;
  color: var(--primary-dark);
}

.price-box strong {
  font-size: 2rem;
  color: var(--primary);
}

.price-box p {
  margin: 10px 0;
}

/* Bouton principal */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 35px;
  background: var(--primary);
  color: var(--white);
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--primary-dark);
}

/* ------------------- */
/* GRILLE TARIFAIRE     */
/* ------------------- */

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.pricing-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 30px;
  width: 300px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.plan-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.price {
  font-size: 2rem;
  color: var(--primary);
  margin: 15px 0;
}

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

.features li {
  margin: 10px 0;
  padding-left: 25px;
  position: relative;
}

.features li::before {
  content: "✅";
  position: absolute;
  left: 0;
}

.badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #ff9800;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Responsive */
@media(max-width: 700px) {
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }
}

/* ------------------- */
/* MISES À JOUR         */
/* ------------------- */

section ul {
  max-width: 600px;
  margin: auto;
  list-style: none;
  padding-left: 0;
}

section ul li {
  background: var(--white);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ------------------- */
/* TÉLÉCHARGEMENT       */
/* ------------------- */

#telechargement p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* ------------------- */
/* FORMULAIRE CONTACT   */
/* ------------------- */

.contact-form {
  max-width: 600px;
  margin: auto;
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form button {
  width: 100%;
  margin-top: 20px;
}

/* ------------------- */
/* FOOTER               */
/* ------------------- */

footer {
  background: linear-gradient(135deg, #009688, #f4c25b); /* même dégradé que le header */
  color: var(--white);
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: 40px;
}


/* ------------------- */
/* RESPONSIVE MOBILE    */
/* ------------------- */

@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }
  nav a {
    display: inline-block;
    margin: 8px;
  }
  .price-box {
    width: 90%;
  }
}
/* Téléchargement - présentation en grille */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 30px auto;
}

.download-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.download-item img {
  height: 50px;
  margin-bottom: 10px;
}
