/* Welkoa — public landing page. Mobile-first, big type, big buttons, one idea per screen. */

:root {
  --bg: #ffffff;
  --bg-soft: #f3f7fa;
  --ink: #1a2430;
  --muted: #55606c;
  --line: #dde4ea;
  --brand: #0b5c8a;
  --brand-dark: #073e5e;
  --brand-soft: #e6f1f8;
  --accent: #d9531e;
  --accent-dark: #b8431a;
  --accent-soft: #fdeee6;
  --ok: #1a7f4b;
  --ok-soft: #e7f6ee;
  --err: #b3261e;
  --err-soft: #fbe9e7;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 92, 138, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", "Noto Sans Arabic", sans-serif;
  font-size: 18px; line-height: 1.55; overflow-x: hidden;
}
html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", system-ui, sans-serif; }
img, svg { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 6vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 4.2vw, 38px); font-weight: 800; margin-bottom: 10px; }
h3 { font-size: 20px; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0 auto 32px; }
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
.ico { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.big-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.big-ico .ico { width: 34px; height: 34px; }
.big-ico.warm { background: var(--accent-soft); color: var(--accent); }

/* Buttons: big, obvious, thumb friendly */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 18px; text-decoration: none; cursor: pointer;
  background: var(--accent); color: #fff; transition: transform .12s ease, background .15s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.blue { background: var(--brand); }
.btn.blue:hover { background: var(--brand-dark); }
.btn.ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.sm { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.btn.full { width: 100%; }

/* ---- Header ---------------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.logo svg { width: 40px; height: 40px; flex: 0 0 auto; }
.topnav { display: flex; gap: 22px; margin-inline-start: 28px; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; }
.topnav a:hover { color: var(--brand); }
.top .spacer { flex: 1; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px;
  border: 2px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-weight: 700;
  font-size: 15px; color: var(--ink); cursor: pointer;
}
.lang-trigger:hover { border-color: var(--brand); }
.lang-trigger .ico { width: 22px; height: 22px; }
.lang-trigger .code { text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 860px) { .topnav { display: none; } }
@media (max-width: 480px) {
  .top .wrap { gap: 8px; }
  .logo span { display: none; }
  .top .btn.sm { padding: 8px 14px; font-size: 15px; }
  .lang-trigger { padding: 6px 10px; }
}

/* ---- Language panel (globe) ------------------------------------------------- */
.lang-panel {
  display: none; position: fixed; top: 72px; inset-inline-end: 16px; width: 380px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.18);
  z-index: 100; flex-direction: column; overflow: hidden; max-height: min(78vh, 640px);
}
.lang-panel.open { display: flex; animation: wkDrop .18s ease-out; }
@keyframes wkDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.lang-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px; border-bottom: 1px solid var(--line); }
.lang-head .search { flex: 1; position: relative; }
.lang-head .search .ico { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.lang-head input {
  width: 100%; min-height: 46px; padding: 10px 14px; padding-inline-start: 40px; border: 2px solid var(--line); border-radius: 999px;
  font: inherit; font-size: 16px; color: var(--ink); outline: none;
}
.lang-head input:focus { border-color: var(--brand); }
.lang-close { display: none; min-height: 44px; min-width: 44px; border: none; background: var(--bg-soft); border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; padding: 0 14px; }
.lang-list { overflow-y: auto; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.lang-item {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border-radius: 12px; border: none; background: none;
  font: inherit; font-size: 16px; color: var(--ink); cursor: pointer; text-align: start; width: 100%;
}
.lang-item:hover { background: var(--brand-soft); }
.lang-item.on { background: var(--brand); color: #fff; }
.lang-item .cc {
  flex: 0 0 auto; width: 40px; height: 28px; border-radius: 8px; background: var(--bg-soft); color: var(--brand);
  font-size: 12px; font-weight: 800; letter-spacing: .5px; display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase;
}
.lang-item.on .cc { background: rgba(255,255,255,.22); color: #fff; }
.lang-item[hidden] { display: none; }
@media (max-width: 640px) {
  .lang-panel { top: 0; inset-inline: 0; bottom: 0; width: auto; max-width: none; max-height: none; border-radius: 0; }
  .lang-close { display: inline-flex; align-items: center; }
  .lang-list { grid-template-columns: 1fr; }
  .lang-item { min-height: 54px; font-size: 18px; }
}

/* ---- Hero ------------------------------------------------------------------- */
.hero { padding: 56px 0 48px; background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero .lead { font-size: 21px; color: var(--muted); margin: 18px 0 28px; max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .tags { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-top: 24px; font-weight: 700; color: var(--brand-dark); font-size: 16px; }
.hero .tags span { display: inline-flex; align-items: center; gap: 6px; }
.hero .tags .ico { width: 20px; height: 20px; color: var(--ok); stroke-width: 3; }
.phone {
  justify-self: center; width: 300px; max-width: 100%; background: #fff; border-radius: 34px; border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 22px 18px 18px; position: relative;
}
.phone .bar { width: 90px; height: 6px; border-radius: 3px; background: var(--line); margin: 0 auto 18px; }
.bub { border-radius: 18px; padding: 12px 14px; font-size: 16px; line-height: 1.4; margin-bottom: 10px; position: relative; }
.bub small { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; opacity: .8; }
.bub.client { background: var(--brand); color: #fff; border-end-start-radius: 4px; }
.bub.pro { background: var(--accent-soft); color: var(--ink); border-end-end-radius: 4px; margin-inline-start: 18px; }
.bub.pro small { color: var(--accent); }
.phone .mic {
  margin: 14px auto 0; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(217,83,30,.35);
}
.phone .mic .ico { width: 38px; height: 38px; stroke-width: 2.2; }
.phone .hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 700; }
@media (max-width: 860px) {
  .hero { padding: 36px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero .lead { font-size: 19px; }
  .phone { width: 280px; }
}

/* ---- Cards / grids ----------------------------------------------------------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.card p { color: var(--muted); margin-top: 6px; font-size: 17px; }
.card a { font-weight: 700; display: inline-block; margin-top: 10px; }
.step { text-align: center; padding: 30px 22px; }
.step .n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 17px; }
.langs-box { margin-top: 28px; background: var(--brand); color: #fff; border-radius: var(--radius); padding: 26px 28px; display: flex; gap: 18px; align-items: center; }
.langs-box .big-ico { background: rgba(255,255,255,.16); color: #fff; margin: 0; flex: 0 0 auto; }
.langs-box h3 { color: #fff; font-size: 22px; }
.langs-box p { color: rgba(255,255,255,.88); margin-top: 4px; }
@media (max-width: 600px) { .langs-box { flex-direction: column; align-items: flex-start; } }

/* who */
.who { text-align: center; padding: 26px 16px; }
.who .big-ico { margin-bottom: 10px; }
.who h3 { font-size: 18px; }
.who p { font-size: 15px; }

/* ---- Prices ------------------------------------------------------------------ */
.prices { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
.price { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 30px 28px; display: flex; flex-direction: column; }
.price.main { border-color: var(--accent); box-shadow: var(--shadow); position: relative; }
.price .tier { font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-size: 14px; }
.price .amount { font-size: 48px; font-weight: 800; line-height: 1.1; margin-top: 8px; color: var(--brand-dark); }
.price .amount small { font-size: 16px; font-weight: 700; color: var(--muted); display: block; margin-top: 2px; }
.price .alt-amount { color: var(--muted); font-size: 16px; margin-top: 6px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.price li .ico { width: 22px; height: 22px; flex: 0 0 auto; color: var(--ok); stroke-width: 3; margin-top: 3px; }
.price .btn { margin-top: auto; }
.multi { margin-top: 20px; background: var(--brand-soft); border-radius: 14px; padding: 16px 20px; font-size: 17px; font-weight: 700; color: var(--brand-dark); }
.options { margin-top: 22px; }
.options h3 { font-size: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px; }
.options .grid { gap: 12px; }
.options .card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-size: 16px; }
.options .card strong { white-space: nowrap; color: var(--brand-dark); font-size: 18px; }

/* other uses (hotel, event stand, association) */
.prices.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.usages .price .big-ico { margin-bottom: 10px; }
.usages .price li { font-size: 16px; }
.price .sec-link { display: block; text-align: center; margin-top: 12px; font-weight: 700; font-size: 16px; }
.price .note { color: var(--muted); font-size: 14px; margin-top: 12px; text-align: center; line-height: 1.4; }
#usages + .drivers { border-top: 1px solid var(--line); }
.usage-links { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; margin: -14px auto 26px; font-weight: 700; font-size: 16px; }
.usage-links a { text-decoration: none; }
.usage-links a:hover { text-decoration: underline; }

/* minutes */
.packs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.pack { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 22px 18px; text-align: center; }
.pack .min { font-size: 34px; font-weight: 800; color: var(--brand-dark); line-height: 1; }
.pack .min small { font-size: 16px; color: var(--muted); font-weight: 700; }
.pack .eur { font-size: 22px; font-weight: 800; color: var(--accent); margin: 8px 0 14px; }
.pack-label { font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-size: 14px; margin: 22px 0 10px; }
.pack-label:first-of-type { margin-top: 0; }

/* ---- Drivers ------------------------------------------------------------------- */
.drivers .hook { font-size: 22px; font-weight: 800; color: var(--brand-dark); margin: 4px 0 26px; }
.drivers .list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.drivers .list li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.drivers .list .ico { width: 22px; height: 22px; color: var(--ok); stroke-width: 3; flex: 0 0 auto; margin-top: 3px; }

/* ---- FAQ ----------------------------------------------------------------------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--brand); flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 14px; font-size: 17px; }

/* ---- Trial form ------------------------------------------------------------------ */
.form-card { background: #fff; border: 2px solid var(--brand); border-radius: 24px; padding: 30px 26px; max-width: 720px; margin: 0 auto; box-shadow: var(--shadow); }
form.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
form.lead label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; color: var(--muted); }
form.lead input, form.lead select { font: inherit; font-size: 17px; min-height: 52px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
form.lead input:focus, form.lead select:focus { outline: none; border-color: var(--brand); }
form.lead .full { grid-column: 1 / -1; }
.hp, form.lead input.hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.msg { padding: 14px 16px; border-radius: 12px; margin-top: 4px; display: none; font-weight: 700; }
.msg.ok { display: block; background: var(--ok-soft); color: var(--ok); }
.msg.err { display: block; background: var(--err-soft); color: var(--err); }
.form-priv { font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (max-width: 600px) { form.lead { grid-template-columns: 1fr; } section { padding: 48px 0; } .form-card { padding: 24px 18px; } }

/* ---- Footer ---------------------------------------------------------------------- */
footer { background: var(--brand-dark); color: rgba(255,255,255,.8); padding: 34px 0; font-size: 15px; }
footer .wrap { display: flex; flex-direction: column; gap: 14px; }
footer .links { display: flex; gap: 8px 20px; flex-wrap: wrap; }
footer a { color: #fff; font-weight: 700; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .logo { color: #fff; font-size: 20px; }

/* ---- Vidéo « Voir comment ça marche » (landing.html #video, guide.html) ------------------------ */
.vidbox { background: #0f1c26; border-radius: 24px; padding: 14px; max-width: 420px; margin: 0 auto; box-shadow: var(--shadow); }
.vidbox video { display: block; width: 100%; height: auto; max-height: 72vh; border-radius: 14px; background: #000; aspect-ratio: 9 / 16; object-fit: contain; }
.vidnote { text-align: center; color: var(--muted); font-size: 15px; margin-top: 12px; }
.vidnote a { font-weight: 700; }

/* Print: keep it readable */
@media print { .top, .lang-panel, .btn { display: none !important; } }
