/* Nidoo : nouvelle page d'accueil (v3), direction artistique de l'application : blanc, encre, vert d'eau, jaune doux, rose du logo. */
:root {
    --ink: #26323F; --ink-soft: #5E6B78; --bg: #FFFFFF; --bg-soft: #F6F8FA; --line: #E4E8EC; --line-strong: #CBD3DA;
    --teal: #12B5A0; --teal-ink: #0A8070; --teal-soft: #D9F6EF; --yellow-soft: #FFF1CC; --pink: #F1929C; --pink-soft: #FDE6EE; --lilac-soft: #EEE9FC;
    --display: 'Poppins', 'Montserrat', system-ui, sans-serif; --body: 'Montserrat', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.wrap.narrow { max-width: 820px; }
[hidden] { display: none !important; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 2px solid transparent; border-radius: 999px; padding: 13px 24px; font: 600 0.95rem var(--display); text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; padding: 10px 20px; font-size: 0.88rem; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(18, 181, 160, 0.28); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); }
.btn.big { padding: 16px 32px; font-size: 1.05rem; }

/* Barre du haut */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 36px; width: auto; }
.nav-links { display: none; gap: 6px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; }
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-in .btn { margin-left: auto; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-in .btn { margin-left: 8px; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--teal-soft) 0, #fff 78%); padding: 44px 0 70px; overflow: hidden; }
.hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1fr 1.05fr; gap: 48px; } }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.badge { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font: 600 0.8rem var(--display); }
.badge.teal { background: var(--teal); border-color: var(--teal); color: #fff; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h1 .hl { background: linear-gradient(transparent 62%, #FFD84D 62%); padding: 0 4px; }
.lead { font-size: 1.08rem; color: var(--ink-soft); margin: 18px 0 26px; max-width: 540px; }
.lead strong { color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; font-size: 0.86rem; color: var(--ink-soft); }
.ticks li::before { content: '✓'; color: var(--teal-ink); font-weight: 800; margin-right: 6px; }
.hero-visual { position: relative; padding: 0 0 30px; }
.shot-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 70px rgba(38, 50, 63, 0.16); }
.shot-frame img { width: 100%; }
.float { position: absolute; }
.float-bulletin { width: 31%; right: -2%; bottom: -6px; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(38, 50, 63, 0.22); background: #fff; transform: rotate(3deg); }
.float-chip { left: -2%; bottom: 8px; background: var(--yellow-soft); border-radius: 18px; padding: 14px 18px; box-shadow: 0 14px 34px rgba(38, 50, 63, 0.18); text-align: center; font-family: var(--display); }
.float-chip small { display: block; font: 600 0.7rem var(--body); color: var(--ink-soft); }
.float-chip b { display: block; font-size: 1.9rem; line-height: 1.15; }
.float-chip span { font: 500 0.68rem var(--body); color: var(--ink-soft); }
@media (max-width: 560px) { .float-chip { left: 6px; } .float-bulletin { right: 6px; } }

/* Bande de preuves */
.proof { padding: 0 0 20px; }
.proof-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 820px) { .proof-in { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--bg-soft); border-radius: 20px; padding: 20px 18px; text-align: center; }
.fact b { display: block; font: 700 1.7rem var(--display); color: var(--ink); }
.fact span { font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); }
.fact:nth-child(1) { background: var(--yellow-soft); } .fact:nth-child(2) { background: var(--teal-soft); } .fact:nth-child(3) { background: var(--pink-soft); } .fact:nth-child(4) { background: var(--lilac-soft); }

/* Sections */
.sec { padding: 76px 0; }
.sec.alt { background: var(--bg-soft); }
.eyebrow { display: inline-block; font: 700 0.76rem var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 10px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; max-width: 760px; }
.sec-lead { font-size: 1.05rem; color: var(--ink-soft); margin: 14px 0 0; max-width: 640px; }
.fine { font-size: 0.8rem; color: var(--ink-soft); margin: 24px 0 0; }
.grid-4 { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-3 { display: grid; gap: 18px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px; }
.card .ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--teal-soft); font-size: 1.4rem; margin-bottom: 14px; }
.card:nth-child(2) .ico { background: var(--yellow-soft); } .card:nth-child(3) .ico { background: var(--pink-soft); } .card:nth-child(4) .ico { background: var(--lilac-soft); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* Aperçu : lignes alternées */
.feat { display: grid; gap: 28px; align-items: center; margin-top: 56px; }
@media (min-width: 900px) { .feat { grid-template-columns: 1fr 1.1fr; gap: 56px; } .feat.rev .feat-text { order: 2; } }
.feat h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.feat p { color: var(--ink-soft); margin: 12px 0 16px; }
.feat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.feat li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 10px; }
.feat-img.doc { display: grid; place-items: center; background: var(--yellow-soft); border-radius: 26px; padding: 28px; }
.feat-img.doc img { width: min(100%, 360px); border-radius: 8px; box-shadow: 0 22px 50px rgba(38, 50, 63, 0.22); background: #fff; }
.feat:nth-of-type(3) .feat-img.doc { background: var(--pink-soft); }

/* Vidéo */
.video { margin-top: 30px; border-radius: 24px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; box-shadow: 0 30px 70px rgba(38, 50, 63, 0.18); }
.video iframe, .video video { width: 100%; height: 100%; border: 0; display: block; }

/* Comparatif */
.table-wrap { margin-top: 30px; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.9rem; }
.cmp th, .cmp td { padding: 15px 16px; text-align: center; border-top: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { border-top: 0; font: 700 0.9rem var(--display); background: var(--bg-soft); }
.cmp thead small { font: 500 0.74rem var(--body); color: var(--ink-soft); }
.cmp tbody th { text-align: left; font-weight: 600; width: 34%; }
.cmp .us { background: var(--teal-soft); color: var(--ink); }
.cmp td.yes { font-weight: 700; color: var(--teal-ink); background: rgba(217, 246, 239, 0.45); }
.cmp td.yes::before { content: '✓ '; }
.cmp td.no { color: #A5483C; }
.cmp td.mid { color: var(--ink-soft); }
.cmp .us-price { font-weight: 700; background: rgba(217, 246, 239, 0.45); }

/* Visage derrière l'outil */
.founder { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .founder { grid-template-columns: 220px 1fr; gap: 48px; } }
.founder-photo { width: 200px; height: 200px; border-radius: 50%; background: var(--yellow-soft); display: grid; place-items: center; font: 700 4.4rem var(--display); overflow: hidden; border: 6px solid #fff; box-shadow: 0 18px 44px rgba(38, 50, 63, 0.16); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder p { color: var(--ink-soft); margin: 14px 0 0; max-width: 620px; }
.founder .signature { font: 600 0.92rem var(--display); color: var(--ink); }

/* Témoignages */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.quote blockquote { margin: 0 0 16px; font-size: 1rem; }
.quote figcaption b { display: block; font-family: var(--display); }
.quote figcaption span { font-size: 0.82rem; color: var(--ink-soft); }

/* Tarifs */
.prices { align-items: stretch; }
.price { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 26px; padding: 28px 24px; display: flex; flex-direction: column; }
.price.star { border-color: var(--teal); box-shadow: 0 20px 50px rgba(18, 181, 160, 0.18); }
.price .tag { position: absolute; top: -13px; left: 24px; background: var(--teal); color: #fff; font: 700 0.75rem var(--display); padding: 5px 12px; border-radius: 999px; }
.price h3 { font-size: 1.15rem; }
.amount { font: 700 2.5rem var(--display); margin: 10px 0 14px; }
.amount small { font: 600 0.9rem var(--body); color: var(--ink-soft); }
.price ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; font-size: 0.92rem; font-weight: 500; flex: 1; }
.price li::before { content: '✓'; color: var(--teal-ink); font-weight: 800; margin-right: 8px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin-top: 12px; }
summary { cursor: pointer; font: 600 1rem var(--display); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--teal-ink); }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; color: var(--ink-soft); font-size: 0.94rem; }
.narrow h2 { margin-bottom: 8px; }

/* Appel final + pied de page */
.final { background: var(--ink); color: #fff; text-align: center; padding: 76px 0; }
.final h2 { color: #fff; margin: 0 auto; }
.final p { color: rgba(255, 255, 255, 0.8); margin: 14px 0 26px; }
.foot { padding: 44px 0; background: #fff; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 22px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.2fr 1.6fr; } .copy { grid-column: 1 / -1; } }
.foot p { color: var(--ink-soft); font-size: 0.84rem; max-width: 460px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.86rem; font-weight: 600; }
.foot nav a { text-decoration: none; color: var(--ink-soft); } .foot nav a:hover { color: var(--ink); }
.copy { font-size: 0.8rem; color: var(--ink-soft); }


.cta-sub { margin: 18px 0 0; }
.btn-wide { padding: 14px 26px; font-size: 0.98rem; }

/* Page des offres */
.offres { padding-top: clamp(40px, 6vw, 72px); }
.offres-title { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; max-width: 820px; }
.plan-tag { display: inline-block; align-self: flex-start; font: 600 0.74rem var(--display); letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-soft); margin-bottom: 12px; }
.price.star .plan-tag { background: var(--yellow-soft); color: #7A5400; }
.plan-note { margin: 12px 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.plan-msg { text-align: center; font-weight: 700; color: #B42318; min-height: 1.4em; margin: 16px 0 0; }
.price .btn { width: 100%; }
.price button.btn { font-family: var(--display); }
.nav-login { padding: 10px 20px; font-size: 0.88rem; margin-left: 0; }
@media (max-width: 640px) { .nav-login { display: none; } }

/* Pages secondaires : bandeau d'en-tête sans visuel, bloc de partage */
.hero.solo { padding: 56px 0 64px; }
.hero.solo .hero-in { grid-template-columns: 1fr; }
.hero.solo .hero-text { max-width: 780px; }
.pa-share { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.pa-share strong { display: block; margin-bottom: 10px; font-family: var(--display); }
.pa-share textarea { width: 100%; min-height: 120px; border: 1.5px solid var(--line-strong, #CBD3DA); border-radius: 14px; padding: 12px 14px; font: 500 0.92rem Montserrat, sans-serif; color: var(--ink); resize: vertical; box-sizing: border-box; background: var(--bg-soft, #F7F9FA); }
.pa-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
#pa-copied { font-weight: 700; color: var(--teal-ink, #0A8070); }
