/* chatbotgpt.io — guide pratique Chatbot GPT */
:root {
  --ink: #0f2a33;
  --ink-soft: #4b6670;
  --bg: #ffffff;
  --bg-alt: #f0f8f9;
  --line: #d9ebee;
  --brand: #0a9396;
  --brand-dark: #057276;
  --accent: #2563eb;
  --sun: #ffb703;
  --radius: 16px;
  --max: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo .tld { color: var(--brand); }
.nav { display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-dark); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: transform .15s, background .15s; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 147, 150, .8); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border: 2px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.nav .btn { padding: 8px 16px; color: #fff; }

.hero { padding: 64px 0 56px; background: linear-gradient(180deg, #e6f6f7 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.pill { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 700; color: var(--brand-dark); background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 20px 0 0; font-size: .95rem; color: var(--ink-soft); }
.checks li::before { content: "✓ "; color: var(--brand); font-weight: 800; }

section { padding: 76px 0; }
.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.overline { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--ink-soft); margin: 0; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #e2f4f5; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.steps li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { counter-increment: s; content: "Étape " counter(s); display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--brand); padding: 4px 10px; border-radius: 8px; margin-bottom: 12px; }
.steps p { color: var(--ink-soft); margin: 0; }

/* Prompt cards */
.prompt { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 16px 18px; font-size: .97rem; }
.prompt b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-dark); margin-bottom: 6px; }
.prompt q { quotes: "« " " »"; color: var(--ink); }
.cat { margin-top: 44px; }
.cat:first-child { margin-top: 0; }
.cat h2 { font-size: 1.45rem; display: flex; align-items: center; gap: 12px; }
.cat h2 .icon { margin: 0; }

/* Reviews */
.review { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--sun); letter-spacing: 2px; }
.review blockquote { margin: 0; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .92rem; color: var(--ink-soft); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.review footer b { color: var(--ink); display: block; }
.disclaimer { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 16px; }

/* Callout */
.callout { background: #fff8e6; border: 1px solid #ffe2a1; border-radius: 14px; padding: 18px 20px; color: #5b4500; }
.callout strong { color: #3e2f00; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -3px; font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

.cta-band { background: linear-gradient(120deg, var(--brand) 0%, #0b7285 60%, var(--accent) 140%); color: #fff; border-radius: 22px; padding: 52px 36px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 620px; margin: 0 auto 24px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); }
.cta-band .btn-primary:hover { background: #effafa; color: var(--brand-dark); }

.page-hero { padding: 56px 0 20px; background: linear-gradient(180deg, #e6f6f7 0%, #fff 100%); }
.breadcrumb { font-size: .88rem; color: var(--ink-soft); margin-bottom: 12px; }
.breadcrumb a { color: var(--ink-soft); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.5em; font-size: 1.55rem; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }

.site-footer { background: #0b2a31; color: #a9c4ca; padding: 52px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .logo { color: #fff; }
.site-footer .logo .tld { color: #5ad1d4; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
.footer-grid h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-disclaimer { font-size: .85rem; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

@media (max-width: 920px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 54px 0; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 20px; }
  .nav .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
