:root {
    --bg: #0B0F19;
    --card-bg: #151B2C;
    --green: #0E533C;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: #243b61;
    --stripe: #1E293B;
    --offwhite: #e4eaf1;
    --btn-red: #ef4444;
    --btn-blue: #3b82f6;
    --btn-blue-hover: #2563eb;
    --xp-gold: #f59e0b;
    --combo-clr: #ec4899;
    --accent-green: #22c55e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding: 1.5rem 1rem;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 32px 32px;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
}

/* En-tête de marque (léger, pas de chrome de fenêtre) */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--offwhite);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.brand img {
    width: 50px;
    height: 50px;
}

.brand-tag {
    font-size: 0.75rem;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 0.28rem 0.75rem;
    border-radius: 9999px;
}

.page-content {
    padding: 1rem 0 2.5rem;
}

/* Hero Section Layout */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 4rem;
    text-align: left;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-beta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--offwhite);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 span {
    background: linear-gradient(135deg, var(--xp-gold), var(--combo-clr));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2, a {
    text-transform: uppercase;
}

.subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    max-width: 100%;
}

/* Zone CTA & Reassurance */
.cta-box {
    width: 100%;
    max-width: 360px;
}

.btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--btn-blue);
    color: white;
    border: none;
    padding: 0.9rem 1.5rem;
    font-weight: 700;
    border-radius: 6px;
    font-size: 1rem;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--btn-blue-hover);
    transform: translateY(-1px);
}

.micro-copy {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.micro-copy code {
    background: var(--stripe);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    color: var(--text);
}

/* Cadre de l'image (Mockup) */
.hero-preview {
    width: 100%;
}

.preview-frame {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s;
}

.preview-frame:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.preview-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Adaptation Mobile */
@media (max-width: 868px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .cta-box {
        margin: 0 auto;
    }

    .micro-copy {
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }
}

/* Section Titres globaux */
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--offwhite);
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/* Pré-requis Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.step-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 8px;
}

.step-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--offwhite);
}

.step-card p {
    font-size: 0.875rem;
    color: var(--muted);
}

.step-card code {
    background: var(--stripe);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    color: var(--text);
}

/* Section Gamification */
.gamification-container {
    margin: 3.5rem 0;
}

.gamification-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.gami-card {
    background: var(--stripe);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.gami-card h3 {
    font-size: 1.05rem;
    color: var(--offwhite);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.xp-actions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.xp-actions-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.xp-val {
    color: var(--xp-gold);
    font-weight: 700;
    background: var(--bg);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.xp-val.muted-xp {
    color: var(--muted);
}

.xp-val.highlight-xp {
    color: var(--combo-clr);
    border-color: var(--combo-clr);
}

.ranks-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rank-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0.75rem;
    background: var(--bg);
    border-radius: 4px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
}

.rank-name {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.rank-xp {
    color: var(--muted);
}

.legend-row {
    border-color: var(--xp-gold);
    background: rgba(245, 158, 11, 0.05);
}

.legend-row .rank-name,
.legend-row .rank-xp {
    color: var(--xp-gold);
}

/* Note Antivirus */
.antivirus-box {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.antivirus-box h4 {
    color: #f87171;
    margin-bottom: 0.4rem;
}

.antivirus-box code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    padding-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {

    .steps-grid,
    .gamification-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8rem;
    }

    .page-content {
        padding: 0.5rem 0 2rem;
    }
}

/* ============================================
   CRO — Confiance, réassurance, urgence douce
   ============================================ */

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    margin-bottom: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.trust-item .trust-icon {
    font-size: 0.95rem;
}

.scarcity-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--xp-gold);
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--border);
}

.scarcity-label {
    color: var(--btn-red);
    font-style: italic;
}

.scarcity-note .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--xp-gold);
    flex-shrink: 0;
}

/* ============================================
   Comment ça marche — étapes numérotées
   ============================================ */

.process-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
}

.process-list-item {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

/* Ligne de connexion verticale */
.process-list-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--btn-blue);
  color: var(--offwhite);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-body h3 {
  font-size: 1rem;
  color: var(--offwhite);
  margin-top: 0.25rem;
  margin-bottom: 0.38rem;
}

.step-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}
/* ============================================
   Confiance & données — réutilise le look "gami-card"
   ============================================ */

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.privacy-col h4 {
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
}

.privacy-col.is-yes h4 {
    color: var(--accent-green);
}

.privacy-col.is-no {
    border: 1px solid var(--btn-red);
    background: #3e1212a1;
    border-radius: 8px;
    padding: 25px;
}

.privacy-col.is-yes {
    border: 1px solid var(--accent-green);
    background: #1c6a3a63;
    border-radius: 8px;
    padding: 25px;
}

.privacy-col.is-no h4 {
    color: var(--btn-red);
}

.privacy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.privacy-list li {
    font-size: 0.85rem;
    color: var(--muted);
    padding-left: 1.15rem;
    position: relative;
}

.privacy-col.is-yes .privacy-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

.privacy-col.is-no .privacy-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: var(--btn-red);
}

/* ============================================
   FAQ
   ============================================ */

.faq-section {
    margin: 3.5rem 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--stripe);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 1.1rem;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 0;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--offwhite);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    font-size: 0.875rem;
    color: var(--muted);
    padding-bottom: 1rem;
    margin-top: -0.3rem;
}

/* ============================================
   CTA final (bas de page)
   ============================================ */

.final-cta {
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
}

.final-cta h2 {
    font-size: 1.4rem;
    color: var(--offwhite);
    margin-bottom: 0.6rem;
}

.final-cta p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.final-cta .btn-primary {
    max-width: 320px;
    margin: 0 auto;
}

/* ============================================
   Sticky CTA mobile
   ============================================ */

.sticky-cta {
    display: none;
}

@media (max-width: 768px) {

    .process-grid,
    .privacy-grid {
        grid-template-columns: 1fr;
    }

    body {
        padding-bottom: 5.5rem;
    }

    .sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-top: 1px solid var(--border);
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
        z-index: 100;
        box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.4);
    }

    .sticky-cta .btn-primary {
        padding: 0.75rem 1rem;
        box-shadow: none;
    }
}

/* ============================================
   Pages secondaires (bêta / CGU) — même coque app-window
   ============================================ */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 1.75rem;
    transition: color 0.15s;
}

.back-link:hover {
    color: var(--text);
}

.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--btn-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 9999px;
    margin-bottom: 1.1rem;
}

/* --- CGU --- */

.cgu-title {
    font-size: 1.6rem;
    color: var(--offwhite);
    margin-bottom: 1.75rem;
}

.highlight-box {
    background: var(--stripe);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 2rem;
}

.cgu-section {
    margin-bottom: 1.75rem;
}

.cgu-section-title {
    font-size: 1.02rem;
    color: var(--offwhite);
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
}

.cgu-text {
    font-size: 0.9rem;
    color: var(--muted);
}

.cgu-list {
    margin: 0.6rem 0 0 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}

.cgu-list li {
    font-size: 0.9rem;
    color: var(--muted);
}

/* --- Page bêta */

.steps-card {
    background: var(--bg);
    border: 1px solid var(--btn-blue);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15), 0 15px 30px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    padding: 2rem 1.75rem;
    margin: 0 auto 20px;
    width: 420px;
    text-align: center;
}

.mini-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    max-width: 420px;
    margin: 1.5rem auto 1.5rem;
}

.mini-steps li {
    color: var(--muted);
    padding-left: 1.4rem;
    position: relative;
}

.mini-steps li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--btn-blue);
}

/* réservation --- */

.booking-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.booking-intro h1 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

.booking-intro p {
    color: var(--muted);
    font-size: 0.98rem;
}

.booking-card {
    background: var(--bg);
    border: 1px solid var(--btn-blue);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15), 0 15px 30px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    padding: 2rem 1.75rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.step-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--btn-blue);
    background: rgba(59, 130, 246, 0.1);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.9rem;
}

.booking-card h2 {
    font-size: 1.25rem;
    color: var(--offwhite);
    margin-bottom: 0.6rem;
}

.booking-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 1.4rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cal {
    display: inline-block;
    background: var(--btn-blue);
    color: var(--offwhite);
    text-decoration: none;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    transition: background 0.2s, transform 0.1s;
}

.btn-cal:hover {
    background: var(--btn-blue-hover);
    transform: translateY(-1px);
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 2.5rem 0 1.75rem;
}

.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.download-toggle summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 600;
    padding: 0.9rem 1.1rem;
    background: var(--stripe);
    border: 1px solid var(--btn-blue);
    border-radius: 8px;
}

.download-toggle summary::-webkit-details-marker {
    display: none;
}

.download-toggle summary::before {
    content: "▸";
    color: var(--muted);
    transition: transform 0.2s;
}

.download-toggle[open] summary::before {
    transform: rotate(90deg);
}

.download-panel {
    border: 1px solid var(--btn-blue);
    border-radius: 8px;
    padding: 1.5rem 1.1rem 1.75rem;
    margin-top: 10px;
    background: var(--card-bg);
}

.confirmation-text {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.beta-form {
    display: flex;
    justify-self: center;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 400px;
}

.beta-form input[type="text"],
.beta-form input[type="email"],
.beta-form input[type="password"] {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.7rem 0.85rem;
    color: var(--text);
    font-size: 0.9rem;
}

.beta-form input::placeholder {
    color: var(--muted);
}

.beta-form input:focus {
    outline: none;
    border-color: var(--btn-blue);
}

.beta-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
}

.beta-checkbox {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.beta-label .italic {
    font-style: italic;
    color: var(--muted);
    opacity: 0.85;
}

.btn-submit {
    background: var(--btn-blue);
    color: var(--offwhite);
    border: none;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background: var(--btn-blue-hover);
    transform: translateY(-1px);
}

.error-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.error-box a {
    color: var(--offwhite);
    text-decoration: underline;
}

.mention-link, .mentions-link {
    text-decoration: none;
    color: var(--accent-green)
}

.pre-line {
    white-space: pre-line;
}