/* CSS recommandé pour MyFrais - frais-plus.css */

/* En-tête */
.header-frais {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f9fafb;
}
.header-frais h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}
.header-frais p {
  font-size: 1rem;
  color: #4a4a4a;
}

/* Grille principale */
.preview-frais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 1rem;
}

/* Colonne graphique */
.chart-wrapper {
  background: #ffffff;
  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.chart-wrapper h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #34495e;
}
.chart-wrapper canvas {
  width: 100%;
  height: 200px;
}

/* Colonne fonctionnalités & CTA */
.features-pricing {
  background: #ffffff;
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.features-pricing h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.feature-list li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #4a4a4a;
  display: flex;
  align-items: center;
}
.feature-list li::before {
  content: "✔";
  margin-right: 0.5rem;
  color: #27ae60;
}

/* === Conteneur du graphique === */
.chart-wrapper {
  position: relative;
  width: 100%;
  height: 200px;        /* hauteur fixe */
  overflow: hidden;     /* on s’assure qu’il n’y ait pas de débordement */
}

/* Le canvas remplit tout le conteneur */
.chart-wrapper canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}


/* Boutons */
.btn-primary {
  display: inline-block;
  text-decoration: none;
  background-color: #3498db;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #2980b9;
}
.btn-subscribe {
  margin-top: 1rem;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .preview-frais-grid {
    grid-template-columns: 1fr;
  }
}
