/* ---------------------------------------------------------------------------
   Pages editoriales (FAQ, livraison, retours…). Les gabarits fournis par le
   client viennent de casewear.fr : les classes ont ete renommees en achyll-.
--------------------------------------------------------------------------- */
.achyll-cms-page {
  max-width: 880px;
  margin: 0 auto;
  color: #1c1c1e;
}

/* ---- En-tete -------------------------------------------------------------- */
.achyll-cms-hero {
  padding: 0 0 2.5rem;
  border-bottom: 1px solid #ececef;
  margin-bottom: 3rem;
}

.achyll-cms-eyebrow {
  margin: 0 0 0.75rem;
  color: #6e6e73;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.achyll-cms-hero h1 {
  margin: 0 0 0.9rem;
  color: #111;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.achyll-cms-hero > p {
  max-width: 58ch;
  margin: 0;
  color: #4b4b50;
  font-size: 1.05rem;
  line-height: 1.6;
}

.achyll-cms-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.achyll-cms-quick-nav a {
  padding: 0.5rem 1rem;
  border: 1px solid #e3e3e6;
  border-radius: 99px;
  color: #111;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}

.achyll-cms-quick-nav a:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}

/* ---- Sections ------------------------------------------------------------- */
.achyll-cms-section {
  margin: 0 0 3.25rem;
  scroll-margin-top: 110px;
}

.achyll-cms-section-head {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.achyll-cms-index {
  flex: none;
  color: #c7c7cc;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.achyll-cms-section-head h2 {
  margin: 0 0 0.35rem;
  color: #111;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.achyll-cms-section-head p {
  margin: 0;
  color: #6e6e73;
  font-size: 0.975rem;
  line-height: 1.55;
}

/* ---- Questions repliees --------------------------------------------------- */
.achyll-faq-list details {
  border-bottom: 1px solid #ececef;
}

.achyll-faq-list details:first-child {
  border-top: 1px solid #ececef;
}

.achyll-faq-list summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  color: #111;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.achyll-faq-list summary::-webkit-details-marker { display: none; }

/* Le signe bascule de + a − a l'ouverture. */
.achyll-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  width: 14px;
  height: 14px;
  content: "";
  transform: translateY(-50%);
  background:
    linear-gradient(#111, #111) center / 14px 1.5px no-repeat,
    linear-gradient(#111, #111) center / 1.5px 14px no-repeat;
  transition: transform .2s ease;
}

.achyll-faq-list details[open] summary::after {
  background: linear-gradient(#111, #111) center / 14px 1.5px no-repeat;
}

.achyll-faq-list summary:hover { color: #444; }

.achyll-faq-answer {
  padding: 0 2.5rem 1.35rem 0;
  color: #4b4b50;
  font-size: 0.975rem;
  line-height: 1.65;
}

.achyll-faq-answer p { margin: 0 0 0.75rem; }
.achyll-faq-answer p:last-child { margin-bottom: 0; }

.achyll-faq-answer a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.achyll-faq-answer strong { color: #111; }

/* ---- Encart de fin -------------------------------------------------------- */
.achyll-cms-card {
  padding: 2.25rem;
  border-radius: 16px;
  background: #f5f5f7;
}

.achyll-cms-card h2 {
  margin: 0 0 0.6rem;
  color: #111;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.achyll-cms-card > p {
  max-width: 54ch;
  margin: 0;
  color: #4b4b50;
  line-height: 1.6;
}

.achyll-cms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.achyll-cms-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.6rem;
  border: 1px solid #111;
  border-radius: 99px;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.achyll-cms-button:hover {
  background: #333;
  color: #fff;
  text-decoration: none;
}

.achyll-cms-button--secondary {
  background: transparent;
  color: #111;
}

.achyll-cms-button--secondary:hover {
  background: #111;
  color: #fff;
}

@media (max-width: 575px) {
  .achyll-cms-section-head { gap: 0.75rem; }
  .achyll-cms-index { display: none; }
  .achyll-cms-card { padding: 1.5rem; }
  .achyll-cms-actions .achyll-cms-button { width: 100%; }
}

/* ---- Page 404 : pistes de rebond ----------------------------------------- */
.achyll-404 {
  max-width: 560px;
  margin: 2rem auto 0;
  text-align: left;
}

.achyll-404__intro {
  margin: 0 0 0.75rem;
  color: #6e6e73;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.achyll-404__liens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.achyll-404__liens a {
  display: inline-flex;
  padding: 0.55rem 1.1rem;
  border: 1px solid #e3e3e6;
  border-radius: 99px;
  color: #111;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.achyll-404__liens a:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}

.achyll-404__recherche {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.achyll-404__recherche input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 0 1rem;
  border: 1px solid #d9d9de;
  border-radius: 8px;
  font-size: 0.95rem;
}

.achyll-404__recherche input[type="text"]:focus {
  border-color: #111;
  outline: 2px solid rgba(17, 17, 17, .12);
}

.achyll-404__recherche button {
  flex: none;
  min-height: 46px;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.achyll-404__recherche button:hover { background: #333; }

.achyll-404__aide {
  margin: 0;
  color: #6e6e73;
  font-size: 0.925rem;
}

.achyll-404__aide a { color: #111; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 575px) {
  .achyll-404__recherche { flex-direction: column; }
  .achyll-404__recherche button { width: 100%; }
}

/* ---------------------------------------------------------------------------
   Page Livraison — grille de transporteurs, etapes numerotees, encarts.
   Meme squelette que la FAQ, dans le langage visuel Achyll (arrondis, gris
   doux). `.achyll-cms-card` reste reserve a l'encart de fin de la FAQ : les
   cartes de grille utilisent `.achyll-cms-tile`, pour ne rien casser.
--------------------------------------------------------------------------- */
.achyll-cms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.achyll-cms-tile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid #ececef;
  border-radius: 16px;
  background: #fff;
}

.achyll-cms-tile h3 {
  margin: 0 0 0.5rem;
  color: #111;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.achyll-cms-tile p {
  margin: 0;
  color: #6e6e73;
  font-size: 0.95rem;
  line-height: 1.55;
}

.achyll-cms-kicker {
  display: block;
  margin-bottom: 0.9rem;
  color: #6e6e73;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Encart d'information ------------------------------------------------- */
.achyll-cms-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background: #f5f5f7;
}

.achyll-cms-note strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #111;
}

.achyll-cms-note p {
  margin: 0;
  color: #4b4b50;
  font-size: 0.95rem;
  line-height: 1.6;
}

.achyll-cms-note-mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  font-style: italic;
}

/* ---- Bandeau de delai ----------------------------------------------------- */
.achyll-livraison-highlight {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: 18px;
  background: #111;
  color: #fff;
}

.achyll-livraison-highlight strong {
  display: block;
  font-size: 3.1rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.achyll-livraison-highlight span {
  display: block;
  margin-top: 0.5rem;
  color: #b9b9be;
  font-size: 0.85rem;
}

.achyll-livraison-highlight p {
  margin: 0;
  color: #e4e4e7;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- Cartes transporteur -------------------------------------------------- */
.achyll-livraison-tile {
  min-height: 190px;
}

/* `margin-top:auto` colle le prix en bas : les trois cartes s'alignent meme
   si les descriptions n'ont pas le meme nombre de lignes. */
.achyll-livraison-tile .achyll-livraison-prix {
  margin-top: auto;
  padding-top: 1rem;
  color: #111;
  font-size: 0.95rem;
  font-weight: 650;
}

/* ---- Etapes numerotees ---------------------------------------------------- */
.achyll-cms-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: etape;
}

.achyll-cms-step {
  position: relative;
  padding: 2.6rem 0.75rem 0 0;
  border-top: 2px solid #111;
  counter-increment: etape;
}

.achyll-cms-step::before {
  position: absolute;
  top: -16px;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  content: counter(etape);
  font-size: 0.8rem;
  font-weight: 700;
}

.achyll-cms-step h3 {
  margin: 0 0 0.4rem;
  color: #111;
  font-size: 1.02rem;
  font-weight: 650;
}

.achyll-cms-step p {
  margin: 0;
  color: #6e6e73;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---- Renvoi de fin -------------------------------------------------------- */
.achyll-livraison-renvoi {
  margin: 1.75rem 0 0;
  color: #6e6e73;
  font-size: 0.925rem;
}

.achyll-livraison-renvoi a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 860px) {
  .achyll-cms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .achyll-cms-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .achyll-livraison-highlight { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 575px) {
  .achyll-cms-grid,
  .achyll-cms-steps { grid-template-columns: 1fr; }
  .achyll-cms-steps { gap: 1.75rem; }
  .achyll-livraison-tile { min-height: 0; }
  .achyll-livraison-highlight { padding: 1.4rem; }
  .achyll-livraison-highlight strong { font-size: 2.6rem; }
  .achyll-cms-note { padding: 1.15rem 1.2rem; }
}
