/* Relève — site vitrine */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--dark); color: #fff; }
.section-soft { background: var(--bg-2); }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .02em; }
.section-dark .eyebrow { color: var(--accent-on-dark); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 44px; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.section-dark .lead { color: var(--on-dark-muted); }
.ticks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; background: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6B3A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.section-dark .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2A37A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246,247,246,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 26px; }
.nav a, .nav-login { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav-login:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav-login { display: none; }
  .header-actions .btn { padding: 0 14px; font-size: 14px; }
}

/* Accroche */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 12px; border-radius: 20px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 580px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.platform { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 500; background: var(--dark); color: #fff; }
.platform-light { background: #fff; color: var(--ink); border: 1px solid #D5DAD8; }
.hero-visual { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; position: relative; }
.hero-visual::before { content: ''; position: absolute; width: 380px; max-width: 90%; aspect-ratio: 1; border-radius: 50%; background: var(--accent-soft); top: 60px; }

/* Téléphones */
.phone { position: relative; width: 290px; height: 590px; border-radius: 46px; background: #0F1316; padding: 12px; box-shadow: 0 30px 60px rgba(21,25,28,.25); flex-shrink: 0; }
.phone-sm { width: 250px; height: 510px; border-radius: 40px; padding: 10px; }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; position: relative; background: var(--bg-2); color: var(--ink); }
.phone-sm .phone-screen { border-radius: 32px; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.scr { position: absolute; inset: 0; padding: 32px 14px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.scr-dark { background: var(--dark); color: #fff; }
.scr-top { font-family: var(--mono); font-size: 10px; color: var(--on-dark-muted); text-align: center; }
.scr-q { background: var(--dark-2); border-radius: 14px; padding: 12px; font-size: 14px; line-height: 1.35; font-weight: 600; }
.scr-q small { display: block; font-size: 10px; color: var(--accent-on-dark); margin-bottom: 4px; font-weight: 600; }
.scr-card { background: #fff; border-radius: 11px; padding: 9px 11px; line-height: 1.45; }
.scr-row { display: flex; justify-content: space-between; gap: 6px; }
.scr-label { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.scr-tip { background: var(--warn-soft); color: #4A2600; border-radius: 10px; padding: 9px 10px; line-height: 1.4; }
.scr-play { background: var(--dark); color: #fff; border-radius: 10px; padding: 9px 11px; }
.scr-title { font-size: 17px; font-weight: 700; line-height: 1.2; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 50px; }
.wave span { width: 5px; height: 40px; border-radius: 3px; background: #F26B3A; transform-origin: center; animation: wave 1.1s ease-in-out infinite; }
.wave span:nth-child(2n) { animation-delay: .2s; } .wave span:nth-child(3n) { animation-delay: .4s; } .wave span:nth-child(5n) { animation-delay: .1s; }
@keyframes wave { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.rec-btn { align-self: center; width: 60px; height: 60px; border-radius: 30px; border: 3px solid #fff; background: var(--accent); flex-shrink: 0; }
.hero-fiche { transform: translateY(105%); animation: ficheUp 9s ease-in-out infinite; }
@keyframes ficheUp { 0%,52% { transform: translateY(105%); } 60%,94% { transform: translateY(0); } 100% { transform: translateY(105%); } }
.ln1 { animation: ln1 9s linear infinite; } .ln2 { animation: ln2 9s linear infinite; } .ln3 { animation: ln3 9s linear infinite; }
@keyframes ln1 { 0%,6% { opacity: 0; } 12%,100% { opacity: 1; } }
@keyframes ln2 { 0%,20% { opacity: 0; } 26%,100% { opacity: 1; } }
@keyframes ln3 { 0%,34% { opacity: 0; } 40%,100% { opacity: 1; } }

/* Bande problème */
.band { padding: 40px 0; }
.band .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.band-item { display: flex; flex-direction: column; gap: 6px; font-size: 17px; line-height: 1.45; }
.band-item .mono { font-size: 12px; color: var(--accent-on-dark); }

/* Modules */
.modules { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.tabs { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.tab { font: inherit; text-align: left; border: 2px solid transparent; background: transparent; color: var(--ink); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.tab:hover { background: #EEF0EF; }
.tab[aria-selected="true"] { border-color: var(--accent); background: #fff; box-shadow: 0 10px 24px rgba(21,25,28,.08); }
.tab-num { font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 3px; }
.tab[aria-selected="true"] .tab-num { color: var(--accent); }
.tab-title { display: block; font-weight: 600; font-size: 18px; }
.tab-short { display: block; font-size: 14px; color: var(--muted); }
.panel { flex: 2 1 560px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.panel-text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.panel-text h3 { font-size: 26px; font-weight: 700; }
.panel-text p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.panel-phone { flex: 0 0 auto; margin: 0 auto; }
.module-screen { display: none; }
.module-screen.active { display: flex; animation: screenIn .45s ease both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.module-text { display: none; }
.module-text.active { display: flex; }

/* Manuel + terrain */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split-text { display: flex; flex-direction: column; gap: 20px; }
.ecart { display: flex; flex-direction: column; gap: 14px; }
.ecart-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; position: relative; }
.ecart-card { border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.ecart-card .val { font-family: var(--mono); font-size: clamp(24px, 6.5vw, 48px); font-weight: 500; white-space: nowrap; }
@media (max-width: 480px) { .ecart-card { padding: 16px; } }
.ecart-card .src { font-size: 13px; }
.ecart-manual { background: var(--dark-2); color: #fff; }
.ecart-manual .src, .ecart-manual .lbl { color: var(--on-dark-muted); }
.ecart-field { background: #fff; color: var(--ink); border: 3px solid var(--accent); animation: ecIn 10s ease-in-out infinite; }
.ecart-field .src, .ecart-field .lbl { color: var(--muted); }
.lbl { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ecart-neq { position: absolute; left: 50%; top: 50%; margin: -22px 0 0 -22px; width: 44px; height: 44px; border-radius: 22px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; box-shadow: 0 0 0 6px var(--dark); animation: ecBadge 10s ease-in-out infinite; }
.ecart-why { background: var(--warn-soft); color: #4A2600; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; animation: ecWhy 10s ease-in-out infinite; }
.ecart-why .k { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--warn-ink); }
.ecart-why q { font-size: 17px; line-height: 1.5; quotes: '« ' ' »'; }
.chip-dark { align-self: flex-start; background: var(--dark); color: #fff; border-radius: 10px; padding: 8px 12px; font-size: 14px; }
@keyframes ecIn { 0%,12% { opacity: 0; transform: translateX(40px); } 22%,92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ecWhy { 0%,34% { opacity: 0; transform: translateY(16px); } 44%,92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ecBadge { 0%,24% { opacity: 0; transform: scale(.6); } 30%,92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Cartes et grilles */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cards-sm { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.card-soft { background: var(--bg); border: none; text-decoration: none; color: var(--ink); }
.card-soft:hover { color: var(--ink); background: #EEF0EF; }
.card-dark { background: var(--dark-2); border: none; color: #fff; }
.card-dark p { color: var(--on-dark-muted); }
.arrows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.arrows li { display: flex; gap: 8px; font-size: 15px; line-height: 1.45; }
.arrows li::before { content: '→'; color: var(--accent); }
.icon { color: var(--accent); }

/* Calculateur */
.calc { background: var(--bg); border-radius: 24px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { font: inherit; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 22px; cursor: pointer; }
.stepper button:hover { background: #F0F2F1; }
.stepper input { font-family: var(--mono); font-size: 22px; font-weight: 500; text-align: center; width: 160px; }
.calc-result { background: var(--dark); color: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.calc-result .big { font-size: clamp(32px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; }
.calc-result small { font-size: 13px; color: var(--on-dark-muted); }

/* Mise en place */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.timeline li { display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--line-2); padding-top: 14px; }
.timeline li:first-child { border-color: var(--accent); }
.timeline .mono { font-size: 13px; color: var(--muted); }
.timeline li:first-child .mono { color: var(--accent); }
.timeline strong { font-size: 17px; }
.timeline span:last-child { font-size: 14px; color: var(--ink-2); }

/* Tarifs */
.price { background: var(--dark); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 36px; }
.price > div { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.price .big { font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.price .k { font-size: 13px; font-weight: 600; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: .06em; }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
.testimonial { border: 1px dashed var(--line-2); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.testimonial q { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.testimonial span { font-size: 14px; font-weight: 600; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.contact-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-text h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; counter-reset: s; }
.steps li { display: flex; gap: 10px; align-items: center; counter-increment: s; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 14px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--accent); flex-shrink: 0; }
.contact-card { flex: 1 1 460px; min-width: 0; background: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 20px 50px rgba(21,25,28,.08); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.sent-icon { width: 72px; height: 72px; border-radius: 36px; background: var(--ok-soft); display: flex; align-items: center; justify-content: center; }

/* Pied de page */
.site-footer { background: var(--dark); color: var(--on-dark-muted); font-size: 14px; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }

/* Pages légales */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; display: flex; flex-direction: column; gap: 18px; }
.legal h1 { font-size: 38px; }
.legal h2 { font-size: 22px; margin-top: 16px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* Apparition au défilement */
.rv { opacity: 1; }
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } .hero-fiche { transform: translateY(105%); } }
