:root {
  --teal: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;
  --navy: #1c294e;
  --navy-900: #111a33;
  --ink: #101113;
  --muted: #5c606a;
  --line: #e6e7ea;
  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 17, 19, .05), 0 12px 32px rgba(16, 17, 19, .08);
  --maxw: 1160px;
  --gutter: 16px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-700); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; color: var(--navy); }
p { margin: 0; }
ul { margin: 0; padding: 0; }
svg.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 12px; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
.section-head p { margin-top: 16px; font-size: 1.0625rem; color: var(--muted); }
.center { text-align: center; margin-inline: auto; }

.skip { position: absolute; left: 8px; top: -48px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-700); color: #fff; box-shadow: 0 6px 16px rgba(15, 118, 110, .25); }
.btn--primary:hover { background: var(--teal-800); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: #c4c7cc; }
.btn--light { background: #fff; color: var(--teal-800); }
.btn--light:hover { background: var(--teal-50); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { white-space: nowrap; min-height: 40px; padding: 8px 14px; font-size: .9375rem; border-radius: 10px; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 480px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; margin-right: auto; }
.brand svg { width: 30px; height: 30px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.site-nav { display: none; position: absolute; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(16, 17, 19, .08); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; padding: 8px var(--gutter) 16px; }
.site-nav a { display: block; padding: 12px 4px; color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav li:last-child a { border-bottom: 0; }
.site-nav .nav-login { color: var(--teal-700); font-weight: 600; }
.header-cta { display: none; }
@media (min-width: 400px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .site-nav a { white-space: nowrap; padding: 8px 12px; border: 0; border-radius: 8px; font-size: .9375rem; color: var(--muted); }
  .site-nav a:hover { color: var(--ink); background: var(--bg-soft); }
  .site-nav .nav-login { margin-left: 8px; color: var(--teal-700); }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 40px 56px; background: radial-gradient(120% 70% at 85% 0%, var(--teal-50) 0%, rgba(240, 253, 250, 0) 60%), #fff; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 7.5vw, 3.25rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--teal-700); }
.hero .lead { margin-top: 20px; font-size: clamp(1.0625rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 40em; }
.hero .btn-row { margin-top: 28px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: .9375rem; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { color: var(--teal-600); }
@media (min-width: 960px) {
  .hero { padding-block: 72px 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* Device frames */
.devices { position: relative; margin: 0; padding: 0 14% 12% 0; }
.browser { border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d4d6da; }
.browser-bar b { margin-left: 10px; flex: 1; max-width: 220px; height: 18px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: .6875rem; font-weight: 500; color: var(--muted); line-height: 16px; padding-left: 8px; }
/* Captures de la fiche App Store : visuels déjà mis en page (fond, titre), affichés sans cadre. */
.store-shot img { width: 100%; aspect-ratio: 600 / 1304; border-radius: 14px; background: #0b1220; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 40px rgba(16, 17, 19, .25); }
.devices .store-shot { position: absolute; right: 0; bottom: 0; width: 32%; }
.devices figcaption { margin-top: 12px; font-size: .75rem; color: var(--muted); }
@media (min-width: 640px) { .store-shot img { border-radius: 20px; } }

/* Audience */
.audience { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 1.125rem; margin-top: 16px; }
.card p { margin-top: 8px; color: var(--muted); }
.icon-badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.icon-badge svg { width: 22px; height: 22px; }
@media (min-width: 760px) { .audience { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Features */
.features { list-style: none; display: grid; gap: 12px; }
.features .card { height: 100%; }
/* Sur petit écran, icône à gauche du texte pour raccourcir la page. */
@media (max-width: 599px) {
  .audience .card, .features .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; }
  .audience .card .icon-badge, .features .card .icon-badge { grid-row: span 2; }
  .audience .card h3, .features .card h3 { margin-top: 0; align-self: center; }
  .audience .card p, .features .card p { margin-top: 4px; grid-column: 2; }
}
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Splits */
.split { display: grid; gap: 32px; align-items: center; }
.split + .split { margin-top: clamp(64px, 10vw, 120px); }
.split h2 { font-size: clamp(1.625rem, 4vw, 2.25rem); }
.split .intro { margin-top: 16px; font-size: 1.0625rem; color: var(--muted); }
.checks { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { margin-top: 3px; color: var(--teal-600); }
.shot { margin: 0; }
.shot .browser img { width: 100%; aspect-ratio: 1200 / 750; object-fit: cover; object-position: top; }
.shot--modal { max-width: 460px; margin-inline: auto; }
.shot--modal img { border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.15fr; gap: 64px; }
  .split--rev .split-text { order: 2; }
}

/* Web + mobile band */
/* Fond clair : les captures App Store, sombres, y ressortent comme des cartes. */
.band { background: linear-gradient(180deg, var(--teal-50) 0%, #fff 100%); }
.platforms { display: grid; gap: 16px; }
.platform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(16, 17, 19, .04); }
.platform-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.soon { margin-left: auto; font-size: .75rem; font-weight: 700; color: var(--teal-800); background: var(--teal-100); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.platform h3 { font-size: 1.25rem; }
.platform-head small { display: block; color: var(--muted); font-size: .875rem; font-weight: 500; }
.platform > p { margin-top: 16px; color: var(--muted); }
.platform .link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--teal-700); font-weight: 600; text-decoration: none; }
.platform .link:hover { text-decoration: underline; }
@media (min-width: 900px) { .platforms { grid-template-columns: 1fr 1fr; gap: 20px; } }

.gallery { list-style: none; display: flex; gap: 16px; margin-top: 48px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery li { flex: 0 0 68%; max-width: 260px; scroll-snap-align: center; }
@media (min-width: 1100px) {
  .gallery { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .gallery li { max-width: none; }
}

/* Roles */
.roles { display: grid; gap: 16px; }
.role-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-700); background: var(--teal-50); border-radius: 999px; padding: 4px 10px; }
.roles .card h3 { margin-top: 12px; }
.note { margin-top: 24px; color: var(--muted); font-size: .9375rem; }
@media (min-width: 760px) { .roles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Trust */
.trust { list-style: none; display: grid; gap: 24px; }
.trust li { display: flex; gap: 16px; }
.trust h3 { font-size: 1.0625rem; }
.trust p { margin-top: 4px; color: var(--muted); }
@media (min-width: 760px) { .trust { grid-template-columns: 1fr 1fr; gap: 32px 48px; } }

/* Steps */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 24px; padding-top: 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; top: 24px; left: 24px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-700); color: #fff; font-weight: 700; }
.steps h3 { font-size: 1.125rem; }
.steps p { margin-top: 8px; color: var(--muted); }
.steps-cta { margin-top: 32px; justify-content: center; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--teal-700); border-bottom: 2px solid var(--teal-700); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* Final CTA */
.cta-band { background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-600) 55%, #0e7490 100%); color: #fff; }
.cta-band .wrap { text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 4.5vw, 2.5rem); max-width: 20em; margin-inline: auto; }
.cta-band p { margin: 16px auto 0; max-width: 36em; color: #d7f7f1; font-size: 1.0625rem; }
.cta-band .btn-row { margin-top: 32px; justify-content: center; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b9c2d6; font-size: .9375rem; padding-block: 48px 32px; }
.footer-grid { display: grid; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand svg { width: 28px; height: 28px; }
.footer-about { margin-top: 12px; max-width: 28em; }
.site-footer h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #b9c2d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .8125rem; color: #8b97b1; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16, 17, 19, .08);
  transform: translateY(110%); transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 44px; padding-inline: 12px; }
.mobile-cta .btn--ghost { flex: 0 0 auto; }
@media (max-width: 959px) { .site-footer { padding-bottom: 104px; } }
@media (min-width: 960px) { .mobile-cta { display: none; } }

/* Pages secondaires (contact, politique de confidentialité) */
.page-hero { padding-block: 40px 40px; background: radial-gradient(120% 90% at 90% 0%, var(--teal-50) 0%, rgba(240, 253, 250, 0) 65%), #fff; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 800; }
.page-hero p { margin-top: 12px; max-width: 40em; font-size: 1.0625rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--muted); }
.page-body { padding-block: 40px clamp(56px, 9vw, 96px); }

.prose { max-width: 760px; color: #2b2f36; }
.prose h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-top: 48px; scroll-margin-top: calc(var(--header-h) + 16px); }
.prose h3 { font-size: 1.0625rem; margin-top: 28px; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--navy); }
.updated { margin-top: 8px; font-size: .9375rem; color: var(--muted); }
.callout { max-width: 760px; background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius); padding: 20px 24px; }
.callout h2 { font-size: 1.125rem; margin: 0; }
.callout ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; padding: 0; }
.callout li { display: flex; gap: 10px; align-items: flex-start; }
.callout svg { margin-top: 3px; color: var(--teal-700); }
.toc { max-width: 760px; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.toc h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0; }
.toc ol { margin: 12px 0 0; padding-left: 1.25rem; display: grid; gap: 6px; }
.toc a { color: var(--teal-700); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (min-width: 760px) { .toc ol { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

/* Contact */
.contact-grid { display: grid; gap: 32px; align-items: start; }
.contact-options { display: grid; gap: 16px; }
.contact-options .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.contact-options .icon-badge { grid-row: span 3; }
.contact-options h2 { font-size: 1.0625rem; margin-top: 0; align-self: center; }
.contact-options p { margin-top: 4px; color: var(--muted); grid-column: 2; }
.contact-options .card a.strong { grid-column: 2; margin-top: 8px; font-weight: 600; text-decoration: none; }
.contact-options .card a.strong:hover { text-decoration: underline; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.25rem; }
.form-card > p { margin-top: 8px; color: var(--muted); }
.form-grid { display: grid; gap: 16px; margin-top: 24px; }
.field label { display: block; margin-bottom: 6px; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #c4c7cc; border-radius: 10px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(20, 184, 166, .25); }
.form-note { font-size: .875rem; color: var(--muted); }
.form-status { font-size: .9375rem; color: var(--teal-800); background: var(--teal-50); border-radius: 10px; padding: 12px 14px; }
.form-status[hidden] { display: none; }
.form-card .btn { width: 100%; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .form-card .btn { width: auto; }
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; } }
