/* Vitrine veydi.com — charte de l'app : Montserrat (Cairo en arabe), bleu Veydi #1565D8, marine #0D2B5E */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/montserrat-latin.a5ec5492.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("/assets/cairo-arabic.714d40cf.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --blue: #1565d8; --blue-dark: #0f4fad; --navy: #0d2b5e;
  --bg: #ffffff; --bg-soft: #f4f7fc; --ink: #14213d; --muted: #4c5b78; --line: #d7dfec;
  --card: #ffffff; --on-blue: #ffffff; --ok: #0f8a5f;
  --shadow: 0 10px 30px rgba(13, 43, 94, .10);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue: #4c8df0; --blue-dark: #3b7bdc; --navy: #dbe6fb;
    --bg: #0b1222; --bg-soft: #101a30; --ink: #e8eefb; --muted: #a3b2cf; --line: #24324f;
    --card: #131f3a; --on-blue: #06142e; --ok: #35c28e;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif; }
html[lang="ar"] body { font-family: "Cairo", "Montserrat", system-ui, sans-serif; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2 { letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--blue); color: var(--on-blue); padding: .7rem 1rem; border-radius: 10px; z-index: 100; }
.skip:focus { top: 1rem; }

/* En-tête */
header.site { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.logo img { height: 34px; width: auto; }
.logo .dark { display: none; }
@media (prefers-color-scheme: dark) { .logo .light { display: none; } .logo .dark { display: block; } }
nav.main { margin-inline-start: auto; display: flex; align-items: center; gap: .25rem; }
nav.main a.link { color: var(--ink); text-decoration: none; padding: .6rem .8rem; border-radius: 10px; font-weight: 600; font-size: .95rem; }
nav.main a.link:hover, nav.main a.link[aria-current="page"] { background: var(--bg-soft); color: var(--blue); }
.langs { display: flex; gap: .15rem; margin-inline-start: .5rem; }
.langs a { min-width: 40px; min-height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: .8rem; }
.langs a[aria-current="true"] { background: var(--navy); color: var(--bg); }
.menu { display: none; margin-inline-start: auto; }
.menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu .panel { position: absolute; inset-inline: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem; display: grid; gap: .25rem; box-shadow: var(--shadow); }
.menu .panel a.link { padding: .85rem 1rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.menu .panel .langs { margin: .5rem 0 0; }
@media (max-width: 980px) { nav.main { display: none; } .menu { display: block; } .bar { position: relative; } }
@media (min-width: 981px) { .only-mobile { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .75rem 1.5rem; border-radius: 14px; background: var(--blue); color: var(--on-blue); font-weight: 700; text-decoration: none; border: 2px solid var(--blue); transition: background .15s, transform .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.line { background: transparent; color: var(--blue); }
.btn.line:hover { background: var(--bg-soft); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .95rem; }
.row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Sections */
section.block { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: .75rem; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; } .center .lead { margin-inline: auto; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 60%); }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero .note { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.hero.sm .grid { grid-template-columns: 1fr; }
@media (max-width: 880px) { .hero .grid { grid-template-columns: 1fr; } .hero .visual { order: -1; } }

/* Téléphone */
.phone { width: min(300px, 74vw); margin-inline: auto; border-radius: 42px; padding: 11px; background: #0d1830; box-shadow: var(--shadow), 0 0 0 2px #26365a inset; }
.phone img { border-radius: 32px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; background: #fff; }
.visual { display: flex; justify-content: center; }
.visual .phone + .phone { margin-inline-start: -90px; margin-top: 3rem; display: none; }
@media (min-width: 881px) { .visual .phone + .phone { display: block; width: 240px; } }

/* Cartes */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 2.5rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card p { color: var(--muted); margin: 0; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
a.card h3 { color: var(--navy); }
.card .more { display: inline-block; margin-top: 1rem; color: var(--blue); font-weight: 700; }
.icon { width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 24px; height: 24px; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Étapes */
.steps { counter-reset: s; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 2.5rem; padding: 0; list-style: none; }
.steps li { counter-increment: s; padding: 1.6rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--bg); font-weight: 800; margin-bottom: 1rem; }
.steps p { color: var(--muted); margin: 0; }

/* Captures */
.shots { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 2.5rem; }
.shots figure { margin: 0; text-align: center; }
.shots .phone { width: min(230px, 100%); border-radius: 36px; padding: 9px; }
.shots .phone img { border-radius: 28px; }
.shots figcaption { margin-top: 1rem; font-weight: 600; font-size: .95rem; color: var(--navy); }
.note-small { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 1.5rem; }

/* Confiance */
.checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checks li { display: flex; gap: .75rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--ok); margin-top: 3px; }

/* Bandeau final */
.cta-band { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
@media (prefers-color-scheme: dark) { .cta-band { background: #16315f; } }
.cta-band h2 { color: #fff; } .cta-band p { color: #d5e1f7; margin-inline: auto; max-width: 52ch; }
.cta-band .row { justify-content: center; margin-top: 1.5rem; }

/* Tarifs */
.tabs { margin-top: 2rem; }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs .labels { display: inline-flex; gap: .25rem; padding: .3rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; }
.tabs label { min-height: 44px; padding: .55rem 1.25rem; border-radius: 10px; cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; }
.tabs .panel { display: none; margin-top: 2rem; }
#r-MA:checked ~ .labels label[for="r-MA"], #r-FR:checked ~ .labels label[for="r-FR"], #r-CA:checked ~ .labels label[for="r-CA"] { background: var(--navy); color: var(--bg); }
#r-MA:checked ~ .p-MA, #r-FR:checked ~ .p-FR, #r-CA:checked ~ .p-CA { display: grid; }
.plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; }
.plan.hl { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: .25rem; }
.plan .who { color: var(--muted); margin: 0 0 1rem; font-size: .95rem; }
.plan .price { font-size: 2.3rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.plan .per { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; flex: 1; }
.plan li { display: flex; gap: .6rem; font-size: .95rem; }
.plan li svg { flex: none; width: 20px; height: 20px; color: var(--ok); margin-top: 3px; }
.badge { align-self: flex-start; background: var(--blue); color: var(--on-blue); font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 99px; margin-bottom: .75rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; margin-top: 2rem; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 700; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.25rem 1.25rem; margin: 0; color: var(--muted); }

/* Texte légal */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose p { color: var(--muted); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

/* Pied de page */
footer.site { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: .95rem; }
footer .cols { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }
footer h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
html[lang="ar"] footer h3 { text-transform: none; letter-spacing: 0; font-size: 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
footer ul a { color: var(--ink); text-decoration: none; display: inline-block; padding: .4rem 0; min-height: 36px; }
footer ul a:hover { color: var(--blue); }
footer .small { color: var(--muted); font-size: .85rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

footer ul a[data-cookie-settings] { cursor: pointer; }

/* Logos des constructeurs */
.brands { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.brands li { background: #fff; border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 1; display: grid; place-items: center; padding: .6rem; }
.brands img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }

/* Cadre de navigateur (captures ordinateur) */
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; max-width: 1040px; margin-inline: auto; }
.browser .chrome { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #eef2f9; border-bottom: 1px solid #d7dfec; }
.browser .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #c7d1e3; }
.browser .chrome span { margin-inline-start: .75rem; flex: 1; max-width: 320px; background: #fff; border-radius: 99px; padding: .15rem .8rem; font-size: .75rem; color: #4c5b78; }
.browser img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.hero .visual .browser { width: 100%; }
@media (min-width: 881px) { .hero .grid.wide { grid-template-columns: .8fr 1.2fr; gap: 2rem; } }
