/* Otaku Dev and Co — site public.
   Couleurs de la direction 1 (bleu nuit, cyan, vert téléphone), écriture de la direction 3
   (titres à empattements, ton chaleureux). Texte grand et contrasté pour les seniors. */

:root {
  --bg: #0d1424;
  --bg-2: #111a2e;
  --card: #16213a;
  --line: #23395e;
  --text: #dbe4ee;
  --text-2: #b4c2d3;
  --muted: #8ea2ba;
  --white: #ffffff;
  --cyan: #22d3ee;
  --cyan-ink: #062a33;
  --green: #22c55e;
  --green-ink: #052e16;
  --orange: #f59e0b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 18px/1.65 var(--sans); }
img, svg { max-width: 100%; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #67e8f9; }
h1, h2, h3 { color: var(--white); font-family: var(--serif); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 46px); }
h2 { font-size: clamp(25px, 3.4vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 18px; }
.steps-compact { grid-template-columns: 1fr; gap: 12px; }
.small { font-size: 15px; color: var(--muted); }
.lead { font-size: 20px; color: var(--text-2); max-width: 680px; }
.ico { width: 1.2em; height: 1.2em; vertical-align: -.22em; flex-shrink: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; justify-content: center; font: 600 18px/1.2 var(--sans); padding: 15px 22px; border-radius: 12px; text-decoration: none; border: 2px solid transparent; cursor: pointer; min-height: 52px; }
.btn-call { background: var(--green); color: var(--green-ink); }
.btn-call:hover { background: #4ade80; color: var(--green-ink); }
.btn-cyan { background: var(--cyan); color: var(--cyan-ink); }
.btn-cyan:hover { background: #67e8f9; color: var(--cyan-ink); }
.btn-ghost { border-color: #3a4f72; color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); }
.btn-orange { border-color: var(--orange); color: var(--white); background: transparent; }
.btn-orange:hover { background: rgba(245, 158, 11, .12); color: var(--white); }
.btn-small { font-size: 16px; padding: 10px 16px; min-height: 44px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 20, 36, .97); border-bottom: 1px solid #1e293b; }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); font: 700 20px/1 var(--sans); letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.logo img { height: 64px; width: auto; display: block; }
.footer-logo { height: 112px; width: auto; display: block; margin-bottom: 12px; }
.logo:hover { color: var(--white); }
.nav-desktop { display: flex; gap: 6px; margin-left: auto; }
.nav-desktop a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 17px; }
.nav-desktop a:hover, .nav-desktop a[aria-current] { color: var(--white); background: var(--card); }
.header-call { transition: opacity .2s ease, visibility .2s; }
.header-call.is-hidden { opacity: 0; visibility: hidden; }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; color: var(--white); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 220px; display: flex; flex-direction: column; }
.nav-mobile nav a { color: var(--white); text-decoration: none; padding: 12px 14px; border-radius: 8px; font-size: 18px; }
.nav-mobile nav a:hover { background: var(--card); }
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .header-call { margin-left: auto; }
  .nav-mobile { display: block; }
}
@media (max-width: 480px) {
  .header-row { gap: 10px; }
  .logo { font-size: 17px; }
  .logo img { height: 52px; }
  .header-call { padding: 10px 12px; }
  .nav-mobile summary span { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid #1a2540; border-bottom: 1px solid #1a2540; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.kicker { color: var(--cyan); font: 600 15px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 10px; }
.card .ico-big { width: 34px; height: 34px; color: var(--cyan); }
.card-pro .ico-big { color: var(--orange); }

/* ---------- Accueil ---------- */
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero .lead { margin: 18px 0 26px; }
.hero-alt { margin-top: 16px; font-size: 17px; }
.hero-visual { display: grid; place-items: center; }
.hero-visual img { width: 100%; max-width: 560px; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual img { max-width: 480px; border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .4); }
}

.trust { background: var(--bg-2); border-top: 1px solid #1a2540; border-bottom: 1px solid #1a2540; }
.trust ul { list-style: none; margin: 0 auto; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: 17px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ico { color: var(--green); }
.trust .stars { color: #facc15; }

.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.door { border-radius: 18px; padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.door-part { background: var(--card); }
.door-pro { background: var(--bg-2); }
.door h2 { font-size: 28px; margin-top: 12px; }
.door .ico-big { width: 40px; height: 40px; color: var(--cyan); }
.door-pro .ico-big { color: var(--orange); }
.door-pro h2 { font-family: var(--sans); letter-spacing: .04em; text-transform: uppercase; font-size: 24px; }
.door .btns { margin-top: auto; padding-top: 18px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 14px; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 16px; }
.chips-links { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.chips-links li { padding: 0; }
.chips-links a { display: block; padding: 9px 12px; text-decoration: none; }
.chips-links a:hover { color: var(--cyan); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--cyan); color: var(--cyan-ink); font: 700 18px/36px var(--sans); text-align: center; }
.steps strong { color: var(--white); display: block; font-size: 19px; }

.notice { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 0; padding: 22px 24px; }
.notice .ico { width: 36px; height: 36px; color: var(--green); }
.notice p { margin: 0; }
.notice strong { color: var(--white); }

.band { background: var(--cyan); color: var(--cyan-ink); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 30px; padding-bottom: 30px; }
.band h2 { color: var(--cyan-ink); margin: 0; font-size: 28px; }
.band .btn { background: var(--cyan-ink); color: var(--white); }

/* ---------- Forfaits ---------- */
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.price-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.price-item h3 { margin: 0; font-size: 20px; }
.price-item p { margin: 0; color: var(--text-2); font-size: 17px; }
.price-item .price { color: var(--cyan); font: 700 26px/1.2 var(--sans); margin-top: auto; padding-top: 8px; }
.price-pro .price { color: var(--orange); }
.price-item .travel { color: var(--muted); font-size: 15px; }
.vat { color: var(--muted); font-size: 15px; margin-top: 14px; }

table.zones { width: 100%; border-collapse: collapse; font-size: 17px; }
table.zones th, table.zones td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.zones th { color: var(--muted); font-weight: 500; font-size: 15px; }
table.zones td.fee { color: var(--white); font-weight: 700; white-space: nowrap; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

.simulator { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }
.sim-result { grid-column: 1 / -1; font-size: 20px; color: var(--white); min-height: 1.6em; }
.sim-result b { color: var(--cyan); }

/* ---------- Formulaire de rappel ---------- */
.callback { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.callback h2 { font-size: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; color: var(--white); font-size: 17px; margin-bottom: 6px; font-weight: 600; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 15px; }
.field input, .field select { width: 100%; min-height: 54px; border-radius: 12px; border: 2px solid #33476b; background: var(--bg); color: var(--white); font: 18px var(--sans); padding: 0 14px; }
.field input:focus, .field select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 4px rgba(34, 211, 238, .2); }
.field.has-error input, .field.has-error select { border-color: #f87171; }
.error { color: #fca5a5; font-size: 16px; margin-top: 6px; }
.form-alert { background: rgba(248, 113, 113, .12); border: 1px solid #f87171; color: #fecaca; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.callback .btn { width: 100%; }
.form-note { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

/* ---------- Contenu texte ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 26px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1em 0; padding: 14px 18px; border-left: 3px solid var(--cyan, #22d3ee); background: rgba(255, 255, 255, .04); border-radius: 0 10px 10px 0; font-style: italic; }
.todo { background: rgba(245, 158, 11, .14); color: #fcd34d; padding: 1px 6px; border-radius: 6px; }

details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 16px 0; color: var(--white); font-weight: 600; font-size: 18px; }
details.faq[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { display: flex; gap: 10px; margin-bottom: 8px; }
.check-list .ico { color: var(--green); margin-top: 4px; }

/* ---------- Pied de page ---------- */
.site-footer { background: #0a101d; border-top: 1px solid #1e293b; margin-top: 0; padding-top: 48px; font-size: 16px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h2 { font: 600 15px/1.4 var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:not(.btn) { color: var(--text); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--white); text-decoration: underline; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 18px; padding-bottom: 28px; color: var(--muted); font-size: 14px; }

/* ---------- Conseils (blog) ---------- */
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.post-card:hover { border-color: var(--cyan); }
.post-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 18px 20px 22px; }
.post-card h2, .post-card h3 { font-size: 22px; margin: 4px 0 8px; }
.post-card h2 a, .post-card h3 a { color: var(--white); text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin: 0; }
.post-meta { color: var(--muted); font-size: 15px; margin: 0 0 6px; }
.article h1 { margin-top: 4px; }
.article .back { text-decoration: none; font-size: 17px; }
.article-cover { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); margin: 8px 0 28px; }
.article p, .article li { font-size: 19px; line-height: 1.7; }
.article h3 { margin-top: 1.4em; }
.callout { border-left: 4px solid var(--cyan); background: var(--card); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 1.4em 0; }
.callout p { margin: 0; }
.article-cta { margin-top: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.article-cta h2 { margin-top: 0; font-size: 26px; }
.article-figure { margin: 28px 0; }
.article-figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px; border: 1px solid var(--line); }
.article-figure figcaption { color: var(--muted); font-size: 16px; text-align: center; margin-top: 8px; }

.footer-cities { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 18px; padding-bottom: 6px; font-size: 15px; color: var(--muted); }
.footer-cities a { color: var(--muted); }
.footer-cities a:hover { color: var(--cyan); }
.hero-promises { margin: 22px 0 6px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #1e293b; border-radius: 50%; }
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-social .ico { width: 22px; height: 22px; }
