/* Douala Zoom — gabarit commun des sites logiciels.
   Famille visuelle DoualaZoom (encre marine + Poppins/Source Sans 3) ; chaque logiciel apporte sa couleur via --accent. */
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }

:root {
  --accent: #1f6feb;
  --ink: #162033;
  --ink-2: #22304a;
  --canvas: #f4f6f9;
  --line: #dfe4ec;
  --muted: #5b6577;
  --amber: #f0a005;
  --wa: #128c4a;
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --r: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section--canvas { background: var(--canvas); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

.preview-banner { background: #fff6e5; color: #6b4300; border-bottom: 1px solid #f4dca8; font-size: .9rem; }
.preview-banner .wrap { padding-top: 8px; padding-bottom: 8px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand { min-width: 0; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .top .wrap { gap: 10px; } .brand { font-size: 1rem; } .lang a { padding: 6px 7px; } }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); background: var(--canvas); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.lang a { text-decoration: none; padding: 6px 9px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 10px; font: 600 1rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { filter: brightness(.92); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { filter: brightness(.92); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { padding: 10px 14px; font-size: .92rem; }
.menu-btn { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 .9rem var(--sans); cursor: pointer; }
@media (max-width: 960px) {
  .nav, .top .btn--sm { display: none; }
  .menu-btn { display: block; }
  .top.open .nav { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; margin: 0; }
  .top.open .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* Héros */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 48px 48px; }
.hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(closest-side, var(--accent), transparent); opacity: .35; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero .cat { display: inline-block; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { color: rgba(255,255,255,.8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--line:hover { border-color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.badges li { list-style: none; font-size: .88rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0,1fr); } }

/* Fenêtre d'application (cadre des captures) */
.window { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.15); }
.window__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #eef1f6; border-bottom: 1px solid var(--line); }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d4d9e2; }
.window__bar i:first-child { background: var(--accent); }
.window__bar span { margin-left: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.window__body { aspect-ratio: 16 / 10; background: #f7f8fb; display: flex; }
.window__body img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.window__body .slot { flex: 1; border: 0; border-radius: 0; margin: 0; }

/* Espaces réservés */
.slot { border: 2px dashed #a9b4c4; border-radius: var(--r); background: repeating-linear-gradient(135deg, #f8f9fb 0 10px, #eff2f6 10px 20px);
  color: #4b5568; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px; font-size: .9rem; min-height: 110px; }
.slot svg { width: 28px; height: 28px; opacity: .7; }
[data-preview="false"] .slot { display: none !important; }
[data-preview="false"] .window__body:has(.slot) { display: none; }

/* Public */
.audience { display: flex; flex-wrap: wrap; gap: 10px; }
.audience li { list-style: none; padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0,1fr); } }

/* Fonctions */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; border-top: 4px solid var(--accent); }
.feature p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 580px) { .features { grid-template-columns: minmax(0,1fr); } }

/* Captures */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.shots a, .shots .slot { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; min-height: 0; }
.shots a { border: 1px solid var(--line); background: #fff; }
.shots img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .25s; }
.shots a:hover img { transform: scale(1.02); }
@media (max-width: 760px) { .shots { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Licence */
.licence { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 24px; }
.licence__main { background: var(--ink); color: #fff; border-radius: var(--r); padding: clamp(24px, 4vw, 40px); }
.licence__main p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.licence__main .slot { margin-top: 18px; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.75); }
.prices { display: grid; gap: 10px; margin-top: 18px; }
.prices div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.prices strong { font-family: var(--display); }
.licence__inc { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 32px); }
.ticks li { list-style: none; padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 760px) { .licence { grid-template-columns: minmax(0,1fr); } }

/* Téléchargements */
.docs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; }
a.doc:hover { border-color: var(--accent); }
.doc__ic { width: 42px; height: 42px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); display: flex; align-items: center; justify-content: center; font: 700 .72rem var(--sans); flex-shrink: 0; }
.doc strong { display: block; }
.doc span { color: var(--muted); font-size: .9rem; }
.doc .slot { flex: 1; min-height: 60px; padding: 10px; }
@media (max-width: 640px) { .docs { grid-template-columns: minmax(0,1fr); } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: center; background: var(--ink); color: #fff; border-radius: 18px; padding: clamp(28px, 5vw, 56px); }
.contact p { color: rgba(255,255,255,.8); }
.contact ul li { list-style: none; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact ul small { display: block; color: rgba(255,255,255,.6); font-size: .85rem; }
.contact a { color: #fff; font-weight: 600; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
@media (max-width: 760px) { .contact { grid-template-columns: minmax(0,1fr); } }

/* Autres logiciels */
.others { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.other { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; }
.other:hover { border-color: var(--ink); }
.other svg { width: 36px; height: 36px; flex-shrink: 0; }
.other strong { display: block; font-family: var(--display); font-size: .98rem; }
.other span { font-size: .85rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .others { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .others { grid-template-columns: minmax(0,1fr); } }

/* Pied */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: .92rem; color: var(--muted); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot img { height: 24px; width: auto; }
.foot a { color: var(--ink); font-weight: 600; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10,16,28,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1400px,100%); max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 8px; padding: 10px 14px; font: 600 .95rem var(--sans); cursor: pointer; }
.lb-close { top: 12px; right: 12px; } .lb-prev { left: 12px; top: 50%; } .lb-next { right: 12px; top: 50%; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero__cta, .hero .window { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
  .hero .window { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Illustration quand aucune capture n'est encore disponible */
.window__art { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 8% 9%;
  background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--a) 22%, white), transparent 55%), linear-gradient(160deg, #fff, #eef2f7); color: var(--ink); }
.window__art svg { width: 72px; height: 72px; }
.window__art strong { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.window__art ul { display: grid; gap: 8px; }
.window__art li { list-style: none; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--a); border-radius: 8px; font-weight: 600; font-size: .95rem; }

/* Étapes (vraie séquence) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; counter-reset: s; }
.steps li { list-style: none; position: relative; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.step__n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: #fff; font: 700 1rem var(--display); margin-bottom: 12px; }
.steps p { margin: 0; color: var(--muted); }

/* Galerie avec légendes */
.shots figure { margin: 0; }
.shots figure a { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.shots figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; font-weight: 600; }
#screens .btn { margin-top: 10px; }

/* FAQ */
.narrow { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--muted); }
.doc--ask { border-style: dashed; border-color: var(--accent); }
.licence__main .platform { font-size: .95rem; color: rgba(255,255,255,.65); }
