/* =========================================================================
   Novaqra — feuille de style (charte doc 12)
   Mobile-first. Palette indigo / vert. Space Grotesk (titres) + Inter (texte).
   ========================================================================= */

:root {
    --indigo: #3D2EBB;
    --indigo-d: #2C1F8F;
    --green: #27D17F;
    --green-d: #1Fae69;
    --ink: #0E0E14;
    --ink-soft: #3a3a46;
    --paper: #F7F7FA;
    --white: #ffffff;
    --line: #e7e7ee;

    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1100px;
    --shadow: 0 10px 40px rgba(14, 14, 20, .08);
    --shadow-lg: 0 24px 60px rgba(61, 46, 187, .18);

    --font-title: "Space Grotesk", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-title); line-height: 1.12; letter-spacing: -.02em; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.accent { color: var(--green-d); }

[hidden] { display: none !important; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-title); font-weight: 600; font-size: 1rem;
    padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
    cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: var(--green-d); color: var(--white); box-shadow: 0 8px 24px rgba(39, 209, 127, .35); }
.btn-ghost { background: transparent; color: var(--indigo); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--indigo); background: rgba(61, 46, 187, .04); }
.btn-lg { padding: 17px 30px; font-size: 1.08rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

.wa-ico {
    width: 20px; height: 20px; flex: none;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.9c0 1.76.46 3.45 1.32 4.95L2 22l5.3-1.39a9.9 9.9 0 0 0 4.74 1.21c5.46 0 9.9-4.45 9.9-9.9C21.94 6.45 17.5 2 12.04 2Zm5.8 14.2c-.24.69-1.42 1.32-1.95 1.36-.5.04-.97.22-3.27-.68-2.76-1.09-4.5-3.91-4.64-4.09-.13-.18-1.1-1.46-1.1-2.79 0-1.33.7-1.98.94-2.25.25-.27.55-.34.73-.34.18 0 .37 0 .53.01.17.01.4-.06.62.48.24.55.81 1.9.88 2.04.07.14.12.3.02.48-.1.18-.15.3-.29.46-.14.16-.3.36-.43.48-.14.14-.29.29-.12.57.17.27.74 1.22 1.59 1.98 1.09.97 2.01 1.27 2.29 1.41.27.14.43.12.59-.07.16-.18.68-.79.86-1.06.18-.27.36-.22.6-.13.25.09 1.58.74 1.85.88.27.13.45.2.51.31.07.11.07.64-.17 1.32Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.9c0 1.76.46 3.45 1.32 4.95L2 22l5.3-1.39a9.9 9.9 0 0 0 4.74 1.21c5.46 0 9.9-4.45 9.9-9.9C21.94 6.45 17.5 2 12.04 2Zm5.8 14.2c-.24.69-1.42 1.32-1.95 1.36-.5.04-.97.22-3.27-.68-2.76-1.09-4.5-3.91-4.64-4.09-.13-.18-1.1-1.46-1.1-2.79 0-1.33.7-1.98.94-2.25.25-.27.55-.34.73-.34.18 0 .37 0 .53.01.17.01.4-.06.62.48.24.55.81 1.9.88 2.04.07.14.12.3.02.48-.1.18-.15.3-.29.46-.14.16-.3.36-.43.48-.14.14-.29.29-.12.57.17.27.74 1.22 1.59 1.98 1.09.97 2.01 1.27 2.29 1.41.27.14.43.12.59-.07.16-.18.68-.79.86-1.06.18-.27.36-.22.6-.13.25.09 1.58.74 1.85.88.27.13.45.2.51.31.07.11.07.64-.17 1.32Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Marque ---------- */
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 30px; width: auto; display: block; }
.footer-brand .brand-logo { height: 32px; }
/* repli typographique si l'image manque */
.brand-word { font-family: var(--font-title); font-weight: 700; font-size: 1.4rem; letter-spacing: -.03em; color: var(--indigo); }
.brand-q { color: var(--green-d); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.nav { display: none; margin-left: auto; gap: 26px; }
.nav a { font-weight: 500; color: var(--ink-soft); font-size: .95rem; }
.nav a:hover { color: var(--indigo); }
.header-inner .btn { margin-left: auto; }
.nav + .btn { margin-left: 0; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(39, 209, 127, .12), transparent 60%),
        radial-gradient(900px 500px at 0% 0%, rgba(61, 46, 187, .10), transparent 55%),
        var(--paper);
    padding: 64px 0 56px;
}
.eyebrow { color: var(--indigo); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 700; margin-bottom: 22px; }
.lede { font-size: clamp(1.05rem, 2.5vw, 1.25rem); color: var(--ink-soft); max-width: 620px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 28px; list-style: none; color: var(--ink-soft); font-size: .95rem; }
.trust-row li { position: relative; padding-left: 26px; }
.trust-row li::before {
    content: "✓"; position: absolute; left: 0; top: -1px;
    color: var(--green-d); font-weight: 700;
    background: rgba(39, 209, 127, .15); width: 20px; height: 20px;
    border-radius: 50%; display: grid; place-items: center; font-size: .75rem;
}
.trust-row strong { color: var(--ink); }

/* ---------- Verticales ---------- */
.verticales { padding: 48px 0; }
.vert-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.vert-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.vert-ico { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.vert-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.vert-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Sections génériques ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Toggle devise ---------- */
.cur-toggle { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-top: 22px; gap: 4px; }
.cur-btn { font-family: var(--font-body); font-weight: 600; font-size: .9rem; border: none; background: transparent; color: var(--ink-soft); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: .15s; }
.cur-btn.is-active { background: var(--indigo); color: var(--white); }

/* ---------- Offres ---------- */
.offres { padding: 56px 0; background: var(--paper); }
.offre-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
.offre-card {
    position: relative; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column;
}
.offre-card.is-featured { border-color: var(--indigo); box-shadow: var(--shadow-lg); }
.badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--indigo); color: var(--white); font-family: var(--font-title);
    font-weight: 600; font-size: .8rem; padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.offre-emoji { font-size: 1.9rem; }
.offre-head h3 { font-size: 1.55rem; margin: 6px 0 2px; }
.offre-baseline { color: var(--ink-soft); font-size: .95rem; }
.offre-prix { margin: 20px 0 4px; min-height: 56px; }
.prix-montant { display: block; font-family: var(--font-title); font-weight: 700; font-size: 1.9rem; color: var(--indigo); }
.prix-note { display: block; font-size: .85rem; color: var(--green-d); font-weight: 500; }
.offre-delai { font-size: .92rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 18px; }
.offre-inclus { list-style: none; margin-bottom: 24px; flex: 1; }
.offre-inclus li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.offre-inclus li:last-child { border-bottom: none; }
.offre-inclus li::before { content: "✓"; position: absolute; left: 0; color: var(--green-d); font-weight: 700; }

/* ---------- Care ---------- */
.care-card {
    background: linear-gradient(120deg, var(--indigo), var(--indigo-d));
    color: var(--white); border-radius: var(--radius); padding: 32px 28px;
    display: grid; gap: 24px;
}
.care-text h3 { font-size: 1.4rem; margin-bottom: 8px; }
.care-text p { color: rgba(255, 255, 255, .85); font-size: .98rem; }
.care-paliers > div { display: grid; gap: 10px; }
.care-palier { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, .10); border-radius: var(--radius-sm); padding: 12px 16px; }
.care-nom { font-weight: 500; }
.care-prix { font-family: var(--font-title); font-weight: 600; color: var(--green); }

/* ---------- Méthode / duo ---------- */
.methode { padding: 64px 0; }
.duo-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }
.duo-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white); }
.duo-avatar { font-size: 2.4rem; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; margin-bottom: 14px; }
.duo-awa { background: rgba(39, 209, 127, .14); }
.duo-serigne { background: rgba(61, 46, 187, .12); }
.duo-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.duo-card p { color: var(--ink-soft); font-size: .98rem; }
.steps { list-style: none; display: grid; gap: 18px; max-width: 760px; margin: 0 auto; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--indigo); color: var(--white); font-family: var(--font-title); font-weight: 700; display: grid; place-items: center; }
.steps div { padding-top: 4px; color: var(--ink-soft); }
.steps strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { padding: 56px 0; background: var(--paper); }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq summary { font-family: var(--font-title); font-weight: 600; cursor: pointer; padding: 16px 0; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--indigo); transition: .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); }

/* ---------- CTA final ---------- */
.cta-final { padding: 72px 0; text-align: center; background: var(--ink); color: var(--white); }
.cta-final h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); max-width: 720px; margin: 0 auto 14px; }
.cta-final p { color: rgba(255, 255, 255, .7); margin-bottom: 28px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 110px; background: var(--ink); color: rgba(255, 255, 255, .65); border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-inner { display: grid; gap: 24px; }
.footer-brand .brand-word { color: var(--white); }
.footer-brand .brand-q { color: var(--green); }
.footer-brand p { margin-top: 8px; font-size: .95rem; max-width: 320px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-nav a { font-size: .92rem; }
.footer-nav a:hover { color: var(--white); }
.footer-legal { font-size: .85rem; opacity: .7; }

/* ---------- FAB WhatsApp (mobile) ---------- */
.fab-wa {
    position: fixed; right: 16px; bottom: 16px; z-index: 60;
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--green); color: var(--ink); font-family: var(--font-title); font-weight: 600;
    padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 30px rgba(39, 209, 127, .45);
}
.fab-wa:hover { background: var(--green-d); color: var(--white); }
.fab-label { font-size: .95rem; }

/* ---------- Pages légales / 404 ---------- */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 18px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 10px; }
.legal a { color: var(--indigo); text-decoration: underline; }
.legal-draft { background: rgba(39, 209, 127, .12); border-left: 3px solid var(--green-d); padding: 12px 16px; border-radius: var(--radius-sm); color: var(--ink) !important; font-size: .92rem; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (min-width: 640px) {
    .vert-grid { grid-template-columns: repeat(2, 1fr); }
    .duo-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; }
    .footer-legal { grid-column: 1 / -1; }
}

@media (min-width: 880px) {
    .nav { display: flex; }
    .header-inner .btn { margin-left: 0; }
    .hero { padding: 96px 0 80px; }
    .vert-grid { grid-template-columns: repeat(4, 1fr); }
    .offre-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
    .offre-card.is-featured { transform: translateY(-12px); }
    .care-card { grid-template-columns: 1fr 1fr; align-items: center; padding: 40px; }
    .fab-wa { display: none; }
    .site-footer { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto; transition: none !important; }
}
