/* Publicité dans ChatGPT (8 octobre 2026) : scène du haut de page et sections propres à la page (chatgpt_service.py).
   Chargée sur /publicite-chatgpt/ seulement ; version sombre générée par scripts/mode-sombre.py. */

/* Scène : une question, la réponse, l'annonce « Pub » dessous, le curseur la touche. Jouée une fois au chargement. */
.gpt-scene{aspect-ratio:1/1.04;background:#f5f6f8;display:flex;align-items:center;justify-content:center;padding:7%;box-sizing:border-box;position:relative}
.gpt-scene::before{content:"";position:absolute;left:8%;right:8%;bottom:6%;height:46%;border-radius:50%;background:radial-gradient(closest-side,rgba(34,146,236,.2),rgba(34,146,236,0));pointer-events:none}
.gpt-card{position:relative;width:100%;max-width:520px;background:#fff;border-radius:26px;box-shadow:0 24px 60px rgba(14,17,22,.08),inset 0 0 0 1px #e1e5e9;padding:26px 24px 24px;display:flex;flex-direction:column;gap:16px;font-size:15px;line-height:1.5;color:#0e1116}
.gpt-head{margin:0;font-weight:650;font-size:16px}
.gpt-ask{margin:0;align-self:flex-end;background:#f2f3f5;border-radius:20px;padding:11px 16px;max-width:90%}
.gpt-typed{display:inline-block}
.gpt-reply{display:flex;flex-direction:column;gap:2px}
.gpt-reply p{margin:0}
.gpt-reply ul{margin:0;padding:0 0 0 20px}
.gpt-reply li{margin:0}
.gpt-reply li::marker{color:#0e1116}
.gpt-ad{display:flex;gap:14px;align-items:center;padding:12px;border-radius:18px;background:#fff;box-shadow:0 18px 40px rgba(34,146,236,.2),0 0 0 2px #2292ec;position:relative}
.gpt-ad img{width:72px;height:72px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.gpt-ad>div{min-width:0}
.gpt-ad p{margin:0}
.gpt-ad-brand{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
.gpt-ad-logo{width:22px;height:22px;border-radius:50%;background:#1377c5;color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.gpt-ad-label{font-weight:500;font-size:12px;color:#3c4d5d;background:#f2f3f5;border-radius:7px;padding:1px 8px}
.gpt-ad-title{font-weight:700;font-size:15px;line-height:1.3;margin-top:3px!important}
.gpt-ad-text{font-size:13px;color:#3c4d5d}
.gpt-cursor{position:absolute;right:15%;bottom:12%;width:30px;height:30px;pointer-events:none}
.gpt-cursor svg{display:block;width:100%;height:100%;fill:#0e1116;stroke:#fff;stroke-width:1.4;stroke-linejoin:round}

@keyframes gpt-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes gpt-type{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes gpt-ad{from{opacity:0;transform:translateY(22px) scale(.96)}to{opacity:1;transform:none}}
@keyframes gpt-cursor{0%{opacity:0;transform:translate(60px,70px)}30%{opacity:1}100%{opacity:1;transform:none}}
@keyframes gpt-tap{0%,100%{transform:none}50%{transform:scale(.97)}}
.motion-ready .gpt-head{animation:gpt-in .6s cubic-bezier(.22,1,.36,1) 1s both}
.motion-ready .gpt-ask{animation:gpt-in .5s cubic-bezier(.22,1,.36,1) 1.15s both}
.motion-ready .gpt-typed{animation:gpt-type 1.2s steps(36,end) 1.35s both}
.motion-ready .gpt-reply p,.motion-ready .gpt-reply li{animation:gpt-in .6s cubic-bezier(.22,1,.36,1) 2.75s both}
.motion-ready .gpt-reply li:nth-child(1){animation-delay:2.95s}
.motion-ready .gpt-reply li:nth-child(2){animation-delay:3.15s}
.motion-ready .gpt-ad{animation:gpt-ad .8s cubic-bezier(.22,1,.36,1) 3.6s both,gpt-tap .35s ease 5.1s forwards}
.motion-ready .gpt-cursor{animation:gpt-cursor .9s cubic-bezier(.22,1,.36,1) 4.2s both}

/* Comment ça marche : quatre étapes et la vidéo */
.gpt-how{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:70px;align-items:center;padding-block:80px 70px}
.gpt-steps{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.gpt-steps li{background:#f5f6f8;border-radius:24px;padding:26px 26px 28px;position:relative}
.gpt-step-icon{display:inline-flex;width:48px;height:48px;border-radius:14px;background:#fff;color:#2292ec;align-items:center;justify-content:center}
.gpt-step-icon svg{width:26px;height:26px}
.gpt-step-number{position:absolute;top:26px;right:26px;font-size:13px;font-weight:600;color:#3c4d5d}
.gpt-steps h3{font-size:22px;letter-spacing:-.035em;line-height:1.25;margin:22px 0 8px}
.gpt-steps p{margin:0;font-size:1rem;line-height:1.6;color:#3c4d5d}
.gpt-video{margin:0;display:flex;flex-direction:column;align-items:center;gap:14px}
.gpt-video video{display:block;width:100%;max-width:340px;height:auto;aspect-ratio:9/16;border-radius:26px;background:#0e1116;box-shadow:0 30px 70px rgba(14,17,22,.14)}
.gpt-video figcaption{font-size:14px;color:#3c4d5d}

/* Les repères */
.gpt-facts-band{background:#f5f6f8;padding-block:72px}
.gpt-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:40px}
.gpt-facts>div{background:#fff;border-radius:24px;padding:28px 26px}
.gpt-facts strong{display:block;font-size:clamp(34px,3.4vw,46px);line-height:1.05;letter-spacing:-.05em;font-weight:700;color:#2292ec}
.gpt-facts p{margin:14px 0 0;font-size:1rem;line-height:1.55;color:#3c4d5d}

/* Les secteurs */
.gpt-sectors{padding-block:80px 40px}
.gpt-sector-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:40px}
.gpt-sector-list{border-radius:24px;padding:30px 30px 28px;background:#f5f6f8}
.gpt-sector-list h3{font-size:20px;letter-spacing:-.03em;margin:0 0 18px}
.gpt-sector-list ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.gpt-sector-list li{display:flex;gap:12px;align-items:baseline;font-size:17px;line-height:1.45}
.gpt-sector-list li::before{flex:0 0 auto;width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;transform:translateY(3px)}
.gpt-sector-list.is-yes li::before{content:"✓";background:#2292ec;color:#fff}
.gpt-sector-list.is-no li::before{content:"✕";background:#fff;color:#3c4d5d;box-shadow:inset 0 0 0 1px #d4d4d5}

/* L'accompagnement */
.gpt-care-section{padding-block:60px 40px}
.gpt-care{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:40px}
.gpt-care article{border-radius:24px;padding:28px 26px;background:#fff;box-shadow:inset 0 0 0 1px #e1e5e9}
.gpt-care-check{display:inline-flex;width:34px;height:34px;border-radius:50%;background:#2292ec;color:#fff;font-weight:700;font-size:16px;align-items:center;justify-content:center}
.gpt-care h3{font-size:20px;letter-spacing:-.03em;line-height:1.25;margin:20px 0 8px}
.gpt-care p{margin:0;font-size:1rem;line-height:1.6;color:#3c4d5d}

/* La comparaison */
.gpt-compare-section{padding-block:70px 30px}
.gpt-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:40px}
.gpt-compare article{border-radius:26px;padding:30px 28px;background:#f5f6f8}
.gpt-compare article.is-new{background:#fff;box-shadow:0 22px 50px rgba(34,146,236,.16),0 0 0 2px #2292ec}
.gpt-compare h3{font-size:26px;letter-spacing:-.04em;margin:0 0 20px}
.gpt-compare dl{margin:0;display:grid;gap:16px}
.gpt-compare dl>div{display:grid;gap:4px}
.gpt-compare dt{font-size:13px;font-weight:600;color:#3c4d5d}
.gpt-compare dd{margin:0;font-size:17px;line-height:1.45;color:#0e1116}
.gpt-compare-links{display:flex;flex-wrap:wrap;gap:12px 30px;margin:26px 0 0}

@media(max-width:1100px){
  .gpt-facts,.gpt-care{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gpt-how{grid-template-columns:minmax(0,1fr) minmax(0,.62fr);gap:44px}
}
@media(max-width:800px){
  .gpt-scene{aspect-ratio:auto;padding:30px 18px}
  .gpt-how{grid-template-columns:1fr;gap:40px;padding-block:55px 45px}
  .gpt-video video{max-width:300px}
  .gpt-facts-band{padding-block:55px}
  .gpt-sectors{padding-block:55px 30px}
  .gpt-sector-lists,.gpt-compare{grid-template-columns:1fr}
  .gpt-compare-section{padding-block:55px 20px}
}
@media(max-width:560px){
  .gpt-card{padding:20px 16px;font-size:14px;gap:14px}
  .gpt-ad img{width:60px;height:60px}
  .gpt-cursor{right:6%;bottom:4%;width:26px;height:26px}
  .gpt-steps{grid-template-columns:1fr;gap:14px;margin-top:28px}
  .gpt-steps li{padding:22px}
  .gpt-facts{gap:14px;margin-top:28px}
  .gpt-facts>div{padding:22px 18px}
  .gpt-care{grid-template-columns:1fr;gap:14px;margin-top:28px}
  .gpt-sector-list{padding:24px 22px}
  .gpt-sector-list li{font-size:16px}
  .gpt-compare{gap:14px;margin-top:28px}
  .gpt-compare article{padding:24px 22px}
}

/* Article « Publicité dans ChatGPT : faut-il se lancer en Belgique ? » (13 octobre 2026) : même scène, fixe, dans le texte */
.article-visual{margin:36px 0 8px}
.article-visual .gpt-scene{border-radius:28px;overflow:hidden;aspect-ratio:auto;padding:56px 40px}
.article-visual .gpt-head,.article-visual .gpt-ask{margin:0}
.article-visual li{padding:0}
.article-visual .gpt-ad img{margin:0;border-radius:12px}
.article-visual .gpt-card *{animation:none!important}
@media(max-width:800px){.article-visual .gpt-scene{padding:30px 18px}}
/* Même article (14 octobre 2026) : les trois publicités côte à côte, resserrées pour la colonne de texte */
.article-compare .gpt-compare{margin-top:0;gap:16px}
.article-compare .gpt-compare article{padding:24px 20px}
.article-compare .gpt-compare h3{font-size:22px;margin:0 0 16px}
.article-compare .gpt-compare dl{gap:14px}
.article-compare .gpt-compare dd{font-size:16px}
