/* ===========================
   TABLETTES
   =========================== */

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   MOBILE
   =========================== */

@media (max-width: 600px) {

  h1 {
    font-size: 32px;
  }

  .pricing-header h2 {
    font-size: 1.6rem;
  }

  .pricing-subtitle {
    font-size: 1.1rem;
  }

  .pricing-card {
    padding: 20px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .pricing-cta {
    flex-direction: column;
    gap: 10px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .columns,
  .row,
  .flex,
  .section-columns {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .column,
  .col,
  .form-column,
  .text-column {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
  }
}




/* ===========================
   MOBILE — PAGE À PROPOS
   =========================== */

@media (max-width: 600px) {

  /* Conteneur mobile */
  #apropos {
    background: #eef3ff;
    padding: 32px 20px;
    margin: 24px 12px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Neutralise la colonne desktop */
  #apropos h2,
  #apropos h3,
  #apropos p,
  #apropos ul {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  /* Paragraphes */
  #apropos p {
    margin-bottom: 28px !important;
    line-height: 1.75 !important;
  }

  /* Listes */
  #apropos ul li {
    font-size: 1rem;
    line-height: 1.55;
  }
}

@media (max-width: 600px) {
  .intro {
    text-align: left;
    max-width: 100%;
    margin: 0 0 28px;
  }

/* ===========================
   MOBILE — HEADER + PAGES INTERNES
   (Bloc final à ajouter)
   =========================== */

@media (max-width: 600px) {

  /* Header global */
  header {
    text-align: center;
    padding: 24px 16px;
  }

  /* Logo par défaut sur mobile */
  .logo {
    width: 140px;
    margin-bottom: 16px;
  }

  /* Page d'accueil : logo normal + texte visible */
  body.home .logo {
    width: 120px;
  }

  body.home h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  body.home .subtitle {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
  }

  /* Pages internes : logo plus grand + texte masqué */
  body.internal .logo {
    width: 160px;
    margin-bottom: 0;
  }

  body.internal h1,
  body.internal .subtitle {
    display: none;
  }

  /* Harmonisation des pages légales (mentions, CGU, CGV, politique, à propos) */
  #mentions {
    padding: 20px 16px;
  }

  #mentions h2 {
    font-size: 1.6rem;
  }

  #mentions h3 {
    font-size: 1.2rem;
  }

  #mentions p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* Suppression du style mobile spécial de la page À propos */
  #apropos {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
  }

  #apropos h2,
  #apropos h3,
  #apropos p,
  #apropos ul {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
}

}

