/* ---------------------------------------------------------------------------
   Page « Nous contacter ».

   Elle ne proposait qu'un formulaire nu, sans aucun lien vers la FAQ pourtant
   complète. Structure reprise des pages d'aide de Nomad : les réponses
   d'abord, le formulaire en dernier.

   Les classes `achyll-cms-*` (hero, section, grille, tuiles) viennent de
   `achyll-cms.css`, partagées avec la page Livraison et la FAQ.
--------------------------------------------------------------------------- */

/* `.achyll-cms-page` est calée sur 880 px, la largeur de lecture de la FAQ.
   Cette page porte des grilles à trois colonnes et un bloc contact en deux
   colonnes : elle respire mieux un peu plus large, sans devenir un pavé. */
.achyll-aide {
  max-width: 1080px;
}

/* ---- Questions fréquentes en accès direct -------------------------------- */
.achyll-aide__questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.achyll-aide__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  border: 1px solid #ececef;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}

/* Le chevron est dessiné en CSS : pas d'image à charger pour six puces. */
.achyll-aide__question::after {
  flex: none;
  width: 8px;
  height: 8px;
  border-top: 1.6px solid #8e8e93;
  border-right: 1.6px solid #8e8e93;
  content: "";
  transform: rotate(45deg);
  transition: border-color .15s ease, transform .15s ease;
}

.achyll-aide__question:hover {
  border-color: #111;
  background: #fafafb;
  color: #111;
  text-decoration: none;
}

.achyll-aide__question:hover::after {
  border-color: #111;
  transform: rotate(45deg) translate(2px, -2px);
}

/* ---- Actions ------------------------------------------------------------- */
.achyll-aide__action {
  text-decoration: none;
  transition: border-color .15s ease;
}

.achyll-aide__action:hover { border-color: #111; text-decoration: none; }
.achyll-aide__action h3 { margin-bottom: .45rem; }

/* Le module contactform affiche son propre <h1> « Contactez-nous ».
   La page en a déjà un : deux H1 sur la même page, c'est une erreur. On masque
   celui du module sans le retirer du code (il reste lu par les lecteurs
   d'écran via le libellé du formulaire). */
.achyll-aide__formulaire h1.page-title-section {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- Contact : formulaire + rappel direct -------------------------------- */
.achyll-aide__contact-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.achyll-aide__direct {
  padding: 1.6rem;
  border: 1px solid #ececef;
  border-radius: 16px;
  background: #fff;
}

.achyll-aide__direct h3 {
  margin: 0 0 .4rem;
  color: #111;
  font-size: 1rem;
  font-weight: 650;
}

.achyll-aide__direct h3 + p { margin: 0 0 .35rem; }
.achyll-aide__direct h3:not(:first-child) { margin-top: 1.5rem; }

.achyll-aide__direct a {
  color: #111;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.achyll-aide__note {
  margin: 0;
  color: #6e6e73;
  font-size: .9rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .achyll-aide__contact-grille { grid-template-columns: 1fr; }
}

/* ---- Formulaire ---------------------------------------------------------- */
.achyll-aide__formulaire {
  padding: 1.75rem;
  border: 1px solid #ececef;
  border-radius: 16px;
  background: #fafafb;
}

/* Le module contactform apporte sa propre mise en page : on la neutralise
   là où elle impose des largeurs de grille Bootstrap. */
.achyll-aide__formulaire .form-group,
.achyll-aide__formulaire .form-fields { margin-bottom: 1.1rem; }

.achyll-aide__formulaire .col-md-6,
.achyll-aide__formulaire .col-md-9,
.achyll-aide__formulaire .col-md-3 {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.achyll-aide__formulaire label,
.achyll-aide__formulaire .form-control-label {
  display: block;
  margin-bottom: .4rem;
  color: #111;
  font-size: .92rem;
  font-weight: 600;
  text-align: left;
}

.achyll-aide__formulaire .form-control {
  width: 100%;
  min-height: 48px;
  padding: .65rem .9rem;
  border: 1px solid #dcdce0;
  border-radius: 10px;
  background: #fff;
  font-size: .97rem;
}

.achyll-aide__formulaire textarea.form-control { min-height: 140px; }

.achyll-aide__formulaire .form-control:focus {
  border-color: #111;
  outline: 2px solid rgba(17, 17, 17, .1);
}

.achyll-aide__formulaire .btn-primary {
  min-height: 48px;
  padding: 0 1.8rem;
  border-radius: 99px;
  font-weight: 600;
}

.achyll-aide__formulaire .form-footer { margin-top: 1.25rem; text-align: right; }

@media (max-width: 767px) {
  .achyll-aide__questions { grid-template-columns: 1fr; }
  .achyll-aide__formulaire { padding: 1.25rem; }
  .achyll-aide__formulaire .form-footer { text-align: stretch; }
  .achyll-aide__formulaire .btn-primary { width: 100%; }
}
