/* ClicCockpit : site vitrine. Feuille de style unique, pensée d'abord pour le téléphone. */
:root {
  --navy: #0E2A47;
  --navy-2: #143a63;
  --blue: #1d5fd1;
  --blue-dark: #174ba6;
  --accent: #D9682A;
  --accent-ink: #0a1626;
  --bg: #f7f9fc;
  --card: #ffffff;
  --ink: #122033;
  --muted: #55657a;
  --line: #e1e7ef;
  --ok: #12805c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 42, 71, .06), 0 8px 24px rgba(14, 42, 71, .07);
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
/* Police de la marque : Sora 700, chargée depuis Google Fonts, avec des polices de secours. */
h1, h2 { font-family: Sora, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Bandeau d'annonce */
.annonce { display: block; background: var(--accent); color: var(--accent-ink); text-align: center; padding: 8px 14px; font-size: .92rem; text-decoration: none; }
.annonce:hover { color: var(--accent-ink); text-decoration: underline; }
.essai { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(217, 104, 42, .2); color: #ffd9c4; display: inline-block; }
.essai strong { color: #fff; }

/* Témoignages */
.avis-card { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.avis-card blockquote { margin: 0; color: var(--ink); white-space: pre-line; }
.avis-card figcaption { color: var(--muted); font-size: .93rem; margin-top: auto; }
.avis-card figcaption strong { color: var(--navy); }
.etoiles { color: var(--accent); letter-spacing: 2px; font-size: 1.1rem; }
.etoiles span { color: #d5dbe4; }
form.avis { display: grid; gap: 16px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; color: var(--navy); text-decoration: none; }
.brand img { height: 34px; width: auto; display: block; }
.brand-slogan { font-size: .72rem; font-weight: 600; color: var(--muted); line-height: 1.1; white-space: nowrap; padding-left: 44px; }
@media (max-width: 380px) { .brand img { height: 30px; } .brand-slogan { font-size: .64rem; padding-left: 39px; } }
.nav { display: none; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--blue); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.nav.open { display: flex; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; box-shadow: var(--shadow); }
.nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
.nav.open a.btn { margin-top: 14px; border-bottom: 0; text-align: center; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .burger { display: none; }
}

/* Boutons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; line-height: 1.3; text-align: center; }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.accent:hover { background: #c4591f; color: var(--accent-ink); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.btn.line { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn.line:hover { background: #eef4ff; color: var(--blue-dark); }
.btn.big { padding: 16px 26px; font-size: 1.06rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Bandeau principal */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #1b4f86 100%); color: #fff; padding: 48px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: #d8e4f3; max-width: 34em; }
.hero .slogan { font-family: Sora, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-weight: 700; color: #ffc9ab; font-size: 1.05rem; margin: 0 0 12px; letter-spacing: -.01em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(217, 104, 42, .22); color: #ffc9ab; font-weight: 700; font-size: .85rem; margin-bottom: 16px; }
.hero ul.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; color: #d8e4f3; font-size: .98rem; }
.hero ul.ticks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; }
}

/* Maquette de téléphone (décorative) */
.phone { width: 270px; margin: 0 auto; background: #0a1c30; border-radius: 38px; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.phone .screen { background: var(--bg); border-radius: 28px; padding: 16px 14px 18px; color: var(--ink); font-size: .82rem; line-height: 1.4; }
.phone .bar { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 12px; }
.phone .pill { padding: 3px 9px; border-radius: 999px; background: #dff5ec; color: var(--ok); font-size: .7rem; font-weight: 700; }
.phone .box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 9px; }
.phone .row { display: flex; justify-content: space-between; gap: 8px; }
.phone .row > :last-child { white-space: nowrap; }
.phone .muted { color: var(--muted); }
.phone .total { font-weight: 800; font-size: 1rem; }
.phone .fake-btn { background: var(--blue); color: #fff; text-align: center; border-radius: 10px; padding: 9px; font-weight: 700; }

/* Sections */
section.band { padding: 52px 0; }
section.band.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.intro { color: var(--muted); max-width: 44em; margin: 0 auto 28px; }
.center .intro { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }
.ico { width: 46px; height: 46px; border-radius: 12px; background: #eaf1fd; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 12px; }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-2px); border-color: var(--blue); color: inherit; }
a.card .more { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 700; }

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; gap: 10px; padding-top: 18px; padding-bottom: 18px; font-weight: 600; color: var(--navy); font-size: .95rem; }
@media (min-width: 760px) { .trust .wrap { grid-template-columns: repeat(4, 1fr); text-align: center; } }

.steps { counter-reset: etape; }
.steps .card { position: relative; padding-top: 54px; }
.steps .card::before { counter-increment: etape; content: counter(etape); position: absolute; top: 16px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .95rem; }

ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
ul.checks li { padding-left: 28px; position: relative; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }

/* Tarifs */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--blue); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 22px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan .price { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin: 8px 0 2px; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan .per { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.plan ul.checks { margin-bottom: 22px; font-size: .97rem; }
.plan .note { margin-bottom: 16px; }
.plan .btn { margin-top: auto; }
.switch { display: inline-flex; background: #e9eef6; border-radius: 999px; padding: 4px; margin: 0 auto 26px; }
.switch button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.switch button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.note { font-size: .9rem; color: var(--muted); }

/* Questions fréquentes */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; padding-right: 28px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 1.4rem; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }
.narrow { max-width: 780px; margin: 0 auto; }

/* Appel à l'action */
.cta-band { background: var(--navy); color: #fff; border-radius: 22px; padding: 34px 24px; text-align: center; }
.cta-band p { color: #d8e4f3; max-width: 38em; margin: 0 auto 20px; }

/* Page de conseils */
.conseils h2 { margin: 34px 0 10px; font-size: 1.35rem; }
.conseils > p { margin: 0 0 12px; }
.conseils ul.checks { margin: 0 0 14px; }
.conseils .card { margin: 0 0 14px; }
.astuce { background: #eaf1fd; color: #173e85; border-radius: 12px; padding: 12px 14px; font-size: .95rem; }

/* Pages métier */
.crumb { font-size: .9rem; color: #b9cbe2; margin-bottom: 14px; }
.crumb a { color: #d8e4f3; }
.hero.small { padding: 40px 0 46px; }
.hero.small .wrap { display: block; }
.hero .ico-xl { font-size: 2.4rem; display: block; margin-bottom: 8px; }
.pricehint { margin-top: 18px; color: #d8e4f3; font-size: .98rem; }
.pricehint strong { color: #fff; }
.opt { border-left: 4px solid var(--accent); }
.example { background: #fff8eb; border: 1px solid #f6dfae; border-radius: var(--radius); padding: 22px; }
.example h3 { color: #7a4d00; }

/* Formulaire */
form.signup { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #c5d0de; border-radius: 12px; font: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(29, 95, 209, .2); }
.checkline { display: flex; gap: 10px; align-items: flex-start; }
.checkline input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.msg { border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.msg.ok { background: #dff5ec; color: #0b5c41; }
.msg.err { background: #fde8e8; color: #9b1c1c; }
[hidden] { display: none !important; }

/* Pages légales */
.legal { max-width: 800px; margin: 0 auto; padding: 40px 20px 60px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal .draft { background: #fff8eb; border: 1px solid #f6dfae; border-radius: 12px; padding: 12px 16px; font-size: .95rem; }

/* Pied de page */
footer.site { background: var(--navy); color: #c6d5e8; padding: 40px 0 28px; margin-top: 20px; font-size: .95rem; }
footer.site a { color: #e5eefa; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .cols { display: grid; gap: 26px; }
@media (min-width: 760px) { footer.site .cols { grid-template-columns: 1.2fr 1.6fr 1fr; } }
footer.site h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
footer.site .logo-pied { display: block; width: 198px; height: auto; margin-bottom: 8px; }
footer.site .slogan-pied { color: #fff; font-weight: 600; margin-bottom: 8px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer.site ul.two { grid-template-columns: 1fr 1fr; }
footer.site .copy { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 28px; padding-top: 18px; font-size: .88rem; color: #9fb4cf; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.card { transition: none; } }
