/* SecureCar — vitrine (securecar.fr). Même identité que l'appli : noir profond, bleu #3B8FFF, point orange #F39A45,
   Inter + Cabinet Grotesk (logo). Aucune ressource extérieure. */
@font-face { font-family: 'Inter'; font-weight: 100 900; font-style: normal; font-display: swap; src: url(/fonts/inter-var.woff2) format('woff2'); }
@font-face { font-family: 'Cabinet Grotesk'; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/cabinet-grotesk-800.woff2) format('woff2'); }

:root {
  --noir: #050607; --noir-2: #0B0D10; --noir-3: #13161B; --ligne-n: rgba(255, 255, 255, .1); --texte-n: #D6DBE2; --muted-n: #98A1AD;
  --fond: #F3F6FA; --carte: #FFFFFF; --ink: #0E1116; --ink-2: #2E333B; --muted: #5E6470; --ligne: #E3E8EF;
  --bleu: #3B8FFF; --bleu-2: #0660D8; --bleu-pale: #DAE8F8; --orange: #F39A45; --ok: #178A4C;
  --r: 18px; --r-lg: 28px; --ombre: 0 2px 8px rgba(16, 24, 40, .06), 0 24px 60px rgba(32, 64, 112, .14);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --marque: 'Cabinet Grotesk', var(--font);
  --largeur: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--fond); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu-2); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 20px; }
.wordmark { font-family: var(--marque); font-weight: 800; letter-spacing: -.035em; font-size: 1.6rem; line-height: 1; color: inherit; text-decoration: none; white-space: nowrap; }
.wordmark i { font-style: normal; color: var(--orange); }
.saut { position: absolute; left: -9999px; top: 0; padding: 10px 14px; background: #fff; color: var(--ink); z-index: 100; }
.saut:focus { left: 12px; top: 12px; }

/* ── Navigation ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(5, 6, 7, .82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--ligne-n); color: #fff; }
.nav .conteneur { display: flex; align-items: center; gap: 22px; height: 68px; }
.nav-liens { display: flex; gap: 22px; margin-left: 12px; }
.nav-liens a { color: var(--texte-n); text-decoration: none; font-size: .94rem; }
.nav-liens a:hover { color: #fff; }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 12px; font: 600 1rem/1.2 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, border-color .2s; }
.btn:active { transform: scale(.98); }
.btn-clair { background: #fff; color: var(--ink); }
.btn-clair:hover { background: #E9EEF5; }
.btn-noir { background: var(--ink); color: #fff; }
.btn-noir:hover { background: #1C1F24; }
.btn-contour { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-contour:hover { border-color: rgba(255, 255, 255, .6); }
.btn-petit { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--ligne-n); color: #fff; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }

/* ── Héros ── */
.heros { position: relative; overflow: hidden; color: #fff; background: var(--noir); background-image: radial-gradient(70% 90% at 92% 8%, rgba(243, 154, 69, .26) 0%, rgba(243, 154, 69, 0) 55%), radial-gradient(60% 80% at 0% 100%, rgba(59, 143, 255, .22) 0%, rgba(59, 143, 255, 0) 60%); }
.heros::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 150px); pointer-events: none; }
.heros .conteneur > :first-child { position: relative; z-index: 3; }
.heros .conteneur { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #C9D3E0; }
.kicker b { width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.heros h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; margin: 22px 0 18px; }
.heros h1 em { font-style: normal; color: var(--orange); }
.heros .chapo { font-size: 1.16rem; color: var(--texte-n); max-width: 36em; margin: 0 0 30px; }
.heros-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.heros .note { margin-top: 18px; font-size: .9rem; color: var(--muted-n); }
.scene { position: relative; display: flex; justify-content: center; }
.telephone { position: relative; width: min(330px, 78vw); aspect-ratio: 390 / 844; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2A2E35, #0E1013); box-shadow: 0 50px 120px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.telephone .ecran { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #050607; padding-top: 5.2%; }
.telephone .ecran img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.barre-etat { position: absolute; top: 0; left: 0; right: 0; height: 5.2%; min-height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 4px 9% 0; color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .01em; }
.barre-etat i { width: 52px; height: 11px; background: linear-gradient(90deg, #fff 0 3px, transparent 3px 5px, #fff 5px 8px, transparent 8px 10px, #fff 10px 13px, transparent 13px 15px, #fff 15px 18px, transparent 18px 28px) left center / 28px 11px no-repeat, linear-gradient(#fff, #fff) right center / 22px 10px no-repeat; border-radius: 2px; opacity: .92; }
.telephone::after { content: ''; position: absolute; top: 20px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); border-radius: 20px; background: #050607; }
.bulle-alerte { position: absolute; left: -6%; bottom: 16%; display: flex; gap: 12px; align-items: center; max-width: 290px; padding: 14px 16px; border-radius: 20px; background: rgba(20, 23, 28, .9); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: flotte 5s ease-in-out infinite; }
.bulle-alerte img { width: 40px; height: 40px; }
.bulle-alerte b { display: block; font-size: .95rem; }
.bulle-alerte span { font-size: .82rem; color: var(--muted-n); }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Bande de promesses ── */
.promesses { background: var(--noir-2); color: #fff; border-top: 1px solid var(--ligne-n); }
.promesses ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.promesses li { display: flex; gap: 12px; align-items: center; font-size: .95rem; color: var(--texte-n); }
.promesses li img { width: 34px; height: 34px; flex: 0 0 auto; }
.promesses li b { color: #fff; display: block; font-weight: 600; }

/* ── Sections ── */
section.bloc { padding: 96px 0; }
.entete { max-width: 760px; margin-bottom: 44px; }
.etiquette { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu-2); margin-bottom: 12px; }
.entete h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.entete p { font-size: 1.1rem; color: var(--muted); margin: 16px 0 0; }
.sombre { background: var(--noir); color: #fff; }
.sombre .etiquette { color: #7DB3FF; }
.sombre .entete p, .sombre .atout p { color: var(--muted-n); }
.deux-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.deux-col.inverse > :first-child { order: 2; }
.atouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.atouts.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.atout { padding: 22px; border-radius: var(--r); background: var(--carte); border: 1px solid var(--ligne); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.sombre .atout { background: var(--noir-3); border-color: var(--ligne-n); box-shadow: none; }
.atout img { width: 46px; height: 46px; margin-bottom: 12px; }
.atout h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.atout p { margin: 0; font-size: .96rem; color: var(--muted); }
.visuel { display: flex; justify-content: center; }
.visuel .telephone { width: min(300px, 74vw); }

/* ── Comment ça marche ── */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: etape; }
.etapes li { position: relative; padding: 26px 24px 24px; border-radius: var(--r); background: var(--carte); border: 1px solid var(--ligne); counter-increment: etape; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 16px; }
.etapes h3 { font-size: 1.12rem; margin-bottom: 8px; }
.etapes p { margin: 0; color: var(--muted); font-size: .97rem; }
.encart { margin-top: 26px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r); background: var(--bleu-pale); color: #1B3A63; }
.encart p { margin: 0; flex: 1 1 320px; }

/* ── Tarifs ── */
.tarif { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; padding: 34px; border-radius: var(--r-lg); background: var(--carte); border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.tarif h3 { font-size: 1.5rem; margin-bottom: 10px; }
.tarif ul { margin: 16px 0 0; padding-left: 20px; color: var(--ink-2); }
.tarif li + li { margin-top: 6px; }
.tarif-cote { padding: 24px; border-radius: var(--r); background: var(--fond); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.tarif-cote .gros { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.tarif-cote p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ── Démo ── */
.demo { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 48px; background: var(--noir); color: #fff; background-image: radial-gradient(60% 120% at 100% 0%, rgba(243, 154, 69, .3) 0%, rgba(243, 154, 69, 0) 60%); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.demo h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
.demo p { margin: 10px 0 0; color: var(--texte-n); max-width: 34em; }

/* ── FAQ ── */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--ligne); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* ── Rappel ── */
.rappel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.formulaire { padding: 30px; border-radius: var(--r-lg); background: var(--carte); color: var(--ink); box-shadow: var(--ombre); }
.champ { display: grid; gap: 6px; margin-bottom: 14px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.champ input, .champ textarea, .champ select { font: 400 1rem/1.4 var(--font); color: var(--ink); padding: 13px 14px; border-radius: 12px; border: 1px solid #D3D9E1; background: #fff; width: 100%; }
.champ input:focus, .champ textarea:focus { outline: 2px solid var(--bleu); outline-offset: 1px; border-color: transparent; }
.grille2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin: 6px 0 16px; }
.case input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--ink); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .btn { width: 100%; }
.message { margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.message.ok { background: #E4F4EA; color: #14542F; }
.message.erreur { background: #FCEBEB; color: #8A1F24; }
.coordonnees { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.coordonnees li { display: flex; gap: 12px; align-items: center; }
.coordonnees img { width: 36px; height: 36px; }

/* ── Pied de page ── */
.pied { background: var(--noir); color: var(--muted-n); padding: 56px 0 40px; font-size: .92rem; }
.pied .conteneur { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.pied .wordmark { color: #fff; }
.pied h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied a { color: var(--texte-n); text-decoration: none; }
.pied a:hover { color: #fff; }
.pied .mentions { grid-column: 1 / -1; border-top: 1px solid var(--ligne-n); padding-top: 22px; font-size: .82rem; }

/* ── Pages de texte (mentions, confidentialité) ── */
.page-texte { padding: 64px 0 96px; }
.page-texte .conteneur { max-width: 820px; }
.page-texte h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 10px; }
.page-texte h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.page-texte p, .page-texte li { color: var(--ink-2); }
.page-texte .maj { color: var(--muted); font-size: .92rem; }
.tableau { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 10px 0; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--ligne); }
.tableau th { color: var(--muted); font-weight: 600; }

/* ── Apparition au défilement (désactivée si mouvement réduit) ── */
.apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; transition: none; } .bulle-alerte { animation: none; } html { scroll-behavior: auto; } }

/* ── Tablette et téléphone ── */
@media (max-width: 980px) {
  .heros .conteneur, .deux-col, .rappel, .tarif { grid-template-columns: minmax(0, 1fr); }
  .deux-col.inverse > :first-child { order: 0; }
  .promesses ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atouts.trois { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes { grid-template-columns: minmax(0, 1fr); }
  .pied .conteneur { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pied .conteneur > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-liens, .nav-actions .connexion { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav.ouvert .nav-liens { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; padding: 16px 20px 22px; gap: 4px; margin: 0; background: rgba(5, 6, 7, .97); border-bottom: 1px solid var(--ligne-n); }
  .nav.ouvert .nav-liens a { padding: 12px 0; font-size: 1.05rem; }
  .nav-actions .btn { min-height: 40px; padding: 0 14px; }
  .heros .conteneur { padding-top: 44px; padding-bottom: 64px; gap: 40px; }
  .bulle-alerte { left: 0; bottom: 8%; max-width: 250px; }
  section.bloc { padding: 68px 0; }
  .atouts, .atouts.trois, .grille2 { grid-template-columns: minmax(0, 1fr); }
  .promesses ul { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .demo { padding: 32px 24px; }
  .tarif, .formulaire { padding: 24px 20px; }
  .pied .conteneur { grid-template-columns: minmax(0, 1fr); }
}

/* ── Héros : la berline derrière le téléphone ── */
.scene { min-height: 560px; align-items: center; }
.scene::before { content: ''; position: absolute; left: 50%; bottom: 6%; width: 120%; height: 34%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(59, 143, 255, .28), rgba(59, 143, 255, 0) 70%); filter: blur(10px); }
.scene .berline { position: absolute; z-index: 2; width: 92%; max-width: none; left: -24%; bottom: -2%; filter: drop-shadow(0 34px 36px rgba(0, 0, 0, .6)); }
.scene .telephone { z-index: 1; margin-left: 22%; }
.scene .bulle-alerte { z-index: 3; left: auto; right: -2%; bottom: 60%; }
.note-modele { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 980px) {
  .scene { min-height: 0; padding-bottom: 8px; }
  .scene .berline { width: 104%; left: -6%; bottom: 0; }
  .scene .telephone { margin-left: 0; width: min(280px, 64vw); }
  .scene .bulle-alerte { right: 0; bottom: 64%; }
}
@media (max-width: 760px) { .scene .bulle-alerte { max-width: 220px; padding: 10px 12px; } .scene .bulle-alerte img { width: 32px; height: 32px; } }

@media (max-width: 420px) { .kicker { font-size: .7rem; letter-spacing: .03em; padding: 6px 12px; } }

/* ── Loueurs : la rangée « votre parc » (photos des berlines + état comme dans l'appli) ── */
.parc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 48px; }
.parc figure { margin: 0; padding: 26px 22px 20px; border-radius: var(--r); background: linear-gradient(180deg, var(--noir-3), #0D0F12); border: 1px solid var(--ligne-n); }
.parc img { width: 100%; height: 190px; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55)); }
.parc figcaption { margin-top: 10px; display: grid; gap: 6px; }
.parc .m { font-family: 'Inter', sans-serif; font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.parc .n { font-size: 1.15rem; font-weight: 600; color: #fff; margin-top: -4px; }
.puce { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 10px; border-radius: 99px; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .08); color: var(--texte-n); }
.puce::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.puce.ok { color: #4ADE80; } .puce.bleu { color: #7DB3FF; } .puce.orange { color: #FFC24D; }
@media (max-width: 980px) { .scene .berline { width: 96%; left: -10%; bottom: -3%; } }
@media (max-width: 760px) { .parc { grid-template-columns: minmax(0, 1fr); } .parc img { height: 140px; } }
