/* Thème Graphite : sections de la page d'accueil seulement (la coquille commune est dans graphite.css). */

/* Boîtes */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.grille { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.grille--publics { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grille--demos { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grille--forfaits { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.carte { display: flex; flex-direction: column; gap: 10px; }
.carte h3 { font-size: 20px; }
.carte p { color: var(--doux); font-size: 15px; }
.icone { width: 44px; height: 44px; border-radius: var(--rayon-petit); background: var(--accent-doux); color: var(--accent); display: grid; place-items: center; }

/* Nouvelles (bande défilante) */
.nouvelles { background: var(--encre); color: #fff; overflow: hidden; font-size: 14px; }
.nouvelles__piste { display: flex; width: max-content; animation: defile 40s linear infinite; }
.nouvelles:hover .nouvelles__piste, .nouvelles:focus-within .nouvelles__piste { animation-play-state: paused; }
.nouvelles__liste { display: flex; gap: 48px; list-style: none; margin: 0; padding: 10px 24px; }
.nouvelles a { color: #fff; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nouvelles__piste { animation: none; } }

/* Héros */
.heros { padding-top: 4px; }
.heros__texte { grid-column: span 5; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 560px; }
.heros__texte h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; }
.heros__resume { font-size: 18px; line-height: 1.55; color: var(--doux); }
.boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.preuves { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.preuves li { border: 1px solid var(--trait); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--doux); }

/* Carrousel des possibilités (graphite.js) */
.carrousel { grid-column: span 7; padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 560px; }
.carrousel__tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--trait); }
.carrousel__compteur { font-family: var(--titre); font-weight: 600; font-size: 14px; color: var(--doux); }
.carrousel__fleches { display: flex; gap: 6px; }
.fleche { width: 44px; height: 44px; border-radius: var(--rayon-petit); border: 1px solid var(--trait); background: var(--boite); display: grid; place-items: center; cursor: pointer; color: var(--encre); }
.fleche:hover { border-color: var(--encre); }
.fleche[aria-pressed="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.carrousel__fenetre { flex: 1; overflow: hidden; display: flex; }
.carrousel__piste { display: flex; width: 100%; transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .carrousel__piste { transition: none; } }
.diapo { flex: 0 0 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 32px 28px; align-items: center; }
.diapo h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.05; margin: 10px 0 12px; }
.diapo p { color: var(--doux); line-height: 1.55; }
.ecran { background: var(--fond); border: 1px solid var(--trait); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 260px; }
.ecran__barre { display: flex; gap: 6px; padding-bottom: 6px; }
.ecran__barre i { width: 10px; height: 10px; border-radius: 50%; background: var(--trait); }
.ecran .ligne { background: var(--boite); border: 1px solid var(--trait); border-radius: var(--rayon-petit); padding: 12px 14px; font-size: 14px; color: var(--encre); }
.ecran .ligne--accent { background: var(--accent); border-color: var(--accent); color: #fff; align-self: flex-end; max-width: 85%; }
.carrousel__puces { display: flex; gap: 6px; padding: 16px 24px; border-top: 1px solid var(--trait); flex-wrap: wrap; }
.puce { height: 24px; flex: 1; min-width: 24px; border: 0; padding: 9px 0; background: transparent; cursor: pointer; }
.puce::before { content: ""; display: block; height: 6px; border-radius: 3px; background: var(--trait); }
.puce[aria-current="true"]::before { background: var(--encre); }

/* Sections */
.section { padding-top: 96px; }
.sec-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 24px; margin-bottom: 28px; }
.sec-tete h2 { font-size: clamp(32px, 4vw, 48px); max-width: 720px; }
.sec-tete p { max-width: 440px; color: var(--doux); font-size: 17px; line-height: 1.55; }
.etapes li { grid-column: span 4; }
.num { display: block; font-family: var(--titre); font-size: 56px; font-weight: 700; color: var(--accent); line-height: 1; }
.etapes h3 { font-size: 24px; margin: 18px 0 8px; }
.etapes p { color: var(--doux); font-size: 15px; line-height: 1.55; }
.video-accueil { margin: 12px 0 0; padding: 12px; }
.video-accueil video { width: 100%; border-radius: var(--rayon-petit); background: var(--encre); }
.video-accueil figcaption { padding: 12px 8px 4px; color: var(--doux); font-size: 14px; }

.contient { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.contient__vedette { grid-column: span 2; grid-row: span 2; justify-content: space-between; background: var(--encre); border-color: var(--encre); color: #fff; }
.contient__vedette .etiq { color: #A9ACB6; }
.contient__vedette h3 { font-size: 34px; }
.contient .contient__vedette p { color: #C9CBD2; }
.contient h3 { font-size: 18px; }

.demo__illustration { width: 100%; max-height: 140px; object-fit: contain; background: var(--fond); border-radius: var(--rayon-petit); padding: 8px; }
.demo__liens { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; }

.exemples__tete { grid-column: span 4; display: flex; flex-direction: column; gap: 12px; }
.exemples__tete h2, .questions__tete h2 { font-size: 34px; }
.exemples__tete p, .questions__tete p { color: var(--doux); }
.conversation { grid-column: span 8; display: flex; flex-direction: column; gap: 10px; background: var(--fond); }
.message { max-width: 78%; padding: 12px 16px; border-radius: 14px; font-size: 15px; }
.message--personne { align-self: flex-end; background: var(--encre); color: #fff; border-bottom-right-radius: 4px; }
.message--assistant { align-self: flex-start; background: var(--boite); border: 1px solid var(--trait); border-bottom-left-radius: 4px; }

.forfait { display: flex; flex-direction: column; gap: 14px; }
.forfait h3 { font-size: 26px; margin-top: 6px; }
.prix { font-family: var(--titre); font-size: 52px; font-weight: 700; line-height: 1; }
.prix small { font-size: 15px; font-weight: 500; color: var(--doux); font-family: var(--texte); }
.forfait__annuel, .forfait__resume { color: var(--doux); font-size: 14px; }
.forfait__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.forfait__points li { position: relative; padding-left: 24px; }
.forfait__points li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 11px; height: 6px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.forfait .btn { margin-top: auto; }
.forfait--vedette { border: 2px solid var(--encre); box-shadow: 8px 8px 0 var(--accent); }
.note { color: var(--doux); font-size: 14px; margin-top: 16px !important; }

.questions__tete { grid-column: span 4; display: flex; flex-direction: column; gap: 12px; }
.faq { grid-column: span 8; padding: 8px 28px; }
.faq details { border-bottom: 1px solid var(--trait); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; list-style-position: outside; }
.faq details p { padding: 0 0 18px; color: var(--doux); }

.appel { background: var(--encre); color: #fff; border-radius: 20px; padding: 56px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.appel h2 { font-size: clamp(32px, 4vw, 52px); max-width: 720px; }
.appel p { color: #C9CBD2; margin-top: 10px; }

@media (max-width: 960px) {
  .heros__texte, .carrousel, .etapes li, .exemples__tete, .conversation, .questions__tete, .faq { grid-column: span 12; }
  .heros__texte { min-height: 0; }
  .carrousel { min-height: 0; }
  .diapo { grid-template-columns: minmax(0, 1fr); }
  .contient { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-top: 72px; }
  .appel { padding: 40px 28px; }
  .message { max-width: 92%; }
}
@media (max-width: 560px) {
  .contient { grid-template-columns: minmax(0, 1fr); }
  .contient__vedette { grid-column: span 1; }
}
