/* Styles propres à la page Intelligence artificielle.
   N'écrase pas les feuilles du site, sauf ajustements locaux clairement ciblés. */

.page-hero h1 { max-width: 16ch; }
.page-section a:not(.btn) {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-section a:not(.btn):hover { color: var(--on-l); }

/* 4 offres en grille 2 x 2 */
.cards-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 800px) {
  .cards-4 { grid-template-columns: 1fr; }
}
.info-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad);
  color: #1a1204;
  font-family: var(--ff-disp);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.info-card h3 { font-size: 1.28rem; }
.info-card p { margin: 0; }

/* Exemples concrets */
.ex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 800px) {
  .ex-grid { grid-template-columns: 1fr; }
}
.ex-card {
  background: var(--paper-2);
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.25);
}
.ex-card h3 {
  font-family: var(--ff-disp);
  font-size: 1.22rem;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.ex-card p {
  margin: 0;
  color: var(--on-l-dim);
  line-height: 1.55;
}

/* Étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  background: var(--paper-2);
  border: 1px solid var(--line-l);
  border-radius: var(--r);
  padding: 24px 22px;
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.25);
}
.step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad);
  color: #1a1204;
  font-family: var(--ff-disp);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--ff-disp);
  font-size: 1.18rem;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.step p {
  margin: 0;
  color: var(--on-l-dim);
  line-height: 1.55;
}

/* Petite bande : rencontres IA */
.events-band {
  background: var(--ink);
  color: var(--on-d);
  padding: 64px 0;
}
.events-band h2 { color: var(--on-d); margin: 0 0 12px; }
.events-band .sub {
  color: var(--on-d-dim);
  margin: 0;
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.6;
}
.events-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) {
  .events-list { grid-template-columns: 1fr; }
}
.events-list li {
  background: #141519;
  border: 1px solid var(--line-d);
  border-radius: var(--r-sm);
  padding: 20px 20px 18px;
}
.events-list .when {
  display: block;
  color: var(--gold);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 8px;
}
.events-list .what {
  color: var(--on-d);
  font-weight: 600;
  line-height: 1.4;
}

/* FAQ */
.faq { max-width: 860px; }
.faq-item {
  border-bottom: 1px solid var(--line-l);
  padding: 4px 0;
}
.faq-item summary {
  font-family: var(--ff-disp);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -.015em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--on-l);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--on-l);
  border-bottom: 2px solid var(--on-l);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-top: -4px;
}
.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.faq-item .ans {
  color: var(--on-l-dim);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 46rem;
}

/* Un peu d'air sous le bandeau d'en-tête, texte du hero à l'abri du panneau doré */
@media (min-width: 861px) {
  .page-hero { padding: 120px 0 84px; }
}
@media (max-width: 860px) {
  .page-hero { padding: 120px 0 64px; }
  .page-hero h1 { max-width: 18ch; }
}

/* Pied de page : 4 colonnes sur cette page (pas de 5e colonne confidentialité) */
.foot-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 960px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }

.foot a[aria-current="page"] { color: var(--gold); }

/* Mobile : le panneau doré ne doit pas passer sur le texte ni les boutons. */
@media (max-width: 720px) {
  .page-hero::after {
    width: 8px;
    right: 0;
    transform: none;
    opacity: 1;
  }
  .page-hero .btn-ghost-d,
  .cta-band .btn-ghost-d {
    background: #141519;
  }
  .cta-band .btns { width: 100%; }
  .cta-band .btns .btn { width: 100%; justify-content: center; }
}

/* Évite un débordement de 2-3 px dû au chevron de la FAQ. */
.faq { max-width: min(860px, 100%); overflow: hidden; }
.faq-item summary { min-width: 0; }
