/* ==========================================================================
   Pointage — site vitrine
   Palette reprise telle quelle de l'application (pointage-client/index.css) :
   le navy porte l'identité, le teal porte l'action.
   ========================================================================== */

:root {
  --navy-900: #121358;
  --navy-800: #1A1D66;
  --navy-700: #232F72;
  --navy-500: #2F578A;
  --teal-500: #36ADA3;
  --teal-600: #2A9189;
  --teal-700: #23776F;
  --teal-tint: #E3F5F2;

  --bg: #FFFFFF;
  --bg-alt: #F3F5FA;
  --ink: #151A4A;
  --ink-soft: #4B5169;
  --border: #E6EAF3;
  --muted: #EAECF8;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(18, 19, 88, .06), 0 2px 8px rgba(18, 19, 88, .05);
  --shadow: 0 4px 12px rgba(18, 19, 88, .07), 0 16px 40px rgba(18, 19, 88, .08);
  --shadow-lg: 0 24px 70px rgba(18, 19, 88, .18);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Cairo", "Noto Kufi Arabic", system-ui, "Segoe UI", sans-serif;

  --header-h: 72px;
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -0.022em; font-weight: 800; color: var(--navy-900); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 6px; }

/* Masquage sans décalage négatif : un `left: -9999px` deviendrait, en RTL,
   10 000 px de défilement horizontal réel — la page partirait dans le vide. */
.skip-link {
  position: absolute; inset-inline-start: 0; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
  width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { width: auto; height: auto; overflow: visible; clip-path: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 820px; }

/* ============================ BOUTONS ============================ */
.btn {
  --btn-bg: var(--teal-500);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 650; letter-spacing: -0.01em;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--teal-500); color: #fff; box-shadow: 0 6px 18px rgba(54, 173, 163, .32); }
.btn-primary:hover { background: var(--teal-600); box-shadow: 0 8px 24px rgba(54, 173, 163, .4); }

.btn-outline { background: transparent; color: var(--navy-700); border-color: var(--border); }
.btn-outline:hover { border-color: var(--teal-500); color: var(--teal-700); background: var(--teal-tint); }

.btn-ghost { background: #fff; color: var(--navy-700); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--navy-500); }

.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--border); box-shadow: 0 2px 20px rgba(18, 19, 88, .05); }

.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 26px; }

.brand { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }
.brand-word { font-size: 22px; letter-spacing: -0.03em; line-height: 1; }
.brand-point { font-weight: 700; color: var(--navy-900); }
.brand-age { font-weight: 800; color: var(--teal-500); }
.brand-dark .brand-point { color: #fff; }

.nav { display: flex; align-items: center; gap: 6px; margin-inline-end: auto; }
.nav a {
  font-size: 15.5px; font-weight: 550; color: var(--ink-soft); white-space: nowrap;
  padding: 8px 12px; border-radius: 999px; transition: color .18s, background-color .18s;
}
.nav a:hover { color: var(--navy-900); background: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }

.lang-switch { display: inline-flex; background: var(--muted); border-radius: 999px; padding: 3px; }
.lang-switch button {
  font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  background: transparent; border: 0; cursor: pointer;
  padding: 5px 12px; border-radius: 999px; min-width: 40px;
  transition: background-color .18s, color .18s;
}
.lang-switch button.is-active { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; background: var(--muted); border: 0; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ HERO ============================ */
.hero { position: relative; padding: 76px 0 84px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(54, 173, 163, .16), transparent 62%),
    radial-gradient(760px 460px at 8% 0%, rgba(35, 47, 114, .13), transparent 60%),
    linear-gradient(180deg, #F7F9FD 0%, #FFFFFF 72%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(35, 47, 114, .10) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(700px 380px at 78% 12%, #000, transparent 70%);
  mask-image: radial-gradient(700px 380px at 78% 12%, #000, transparent 70%);
}

.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }

/* Sur grand écran la maquette déborde vers le bord de l'écran : c'est ce qui
   la rend lisible. `.hero` a overflow:hidden, le dépassement est donc rogné
   proprement. Le débordement est plafonné pour ne pas écraser le texte en
   très large. En RTL, margin-inline-end bascule vers la gauche tout seul. */
@media (min-width: 1280px) {
  .hero-visual {
    margin-inline-end: calc(-1 * min(150px, max(0px, (100vw - var(--maxw)) / 2 - 24px)));
  }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  color: var(--navy-700); font-size: 14px; font-weight: 620;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(54, 173, 163, .18); }

.hero-title { font-size: clamp(2.25rem, 4.5vw, 3.1rem); font-weight: 800; }
.hero-title span { display: block; }
.hero-title .accent { color: var(--teal-500); }

.hero-sub { margin-top: 22px; font-size: 19px; color: var(--ink-soft); max-width: 34em; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.hero-checks li { position: relative; padding-inline-start: 26px; font-size: 15px; color: var(--ink-soft); font-weight: 550; }
.hero-checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .5em;
  width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2323776F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.6 8.3l2.7 2.7 6-6.2'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Le PNG source contient un bandeau de texte en bas : on ne montre que la
   maquette (ordinateur + téléphone) en recadrant par le ratio. */
/* L'image est déjà recadrée au bon format (1345 × 761) : elle remplit le cadre. */
.hero-shot {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: #F4F7FC;
}
.hero-shot img { width: 100%; height: auto; }

/* ============================ STAT BAR ============================ */
.statbar { background: var(--navy-900); color: #fff; }
.statbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 26px; }
.stat { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.stat strong { font-size: 26px; font-weight: 800; color: var(--teal-500); letter-spacing: -0.02em; }
.stat span { font-size: 14px; color: rgba(255, 255, 255, .72); }

/* ============================ SECTIONS ============================ */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .section-sub { color: rgba(255, 255, 255, .74); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.kicker { font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px; }
.kicker-light { color: var(--teal-500); }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
.section-sub { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }

/* ============================ COMPARATIF ============================ */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.compare-col { border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); }
.compare-col h3 { font-size: 19px; margin-bottom: 20px; }
.compare-col li { position: relative; padding-inline-start: 32px; margin-bottom: 13px; color: var(--ink-soft); font-size: 16px; }
.compare-col li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 4px;
  width: 21px; height: 21px; border-radius: 50%; background-size: 13px; background-repeat: no-repeat; background-position: center;
}
.compare-bad { background: #FDF6F3; border-color: #F5DED4; }
.compare-bad h3 { color: #A24A22; }
.compare-bad li::before { background-color: #FBE4DA; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C05621' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7'/%3E%3C/svg%3E"); }
.compare-good { background: var(--teal-tint); border-color: #C4E8E3; }
.compare-good h3 { color: var(--teal-700); }
.compare-good li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2323776F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.6 8.3l2.7 2.7 6-6.2'/%3E%3C/svg%3E"); }

/* ============================ FONCTIONNALITÉS ============================ */
.feature { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D8E0F0; }
.ficon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.ficon svg { width: 24px; height: 24px; }
.ficon-teal { background: var(--teal-tint); color: var(--teal-700); }
.ficon-navy { background: var(--muted); color: var(--navy-700); }
.feature h3 { font-size: 18.5px; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 16px; }

/* ============================ ÉTAPES ============================ */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::after {
  content: ""; position: absolute; top: 27px; inset-inline-start: 56px; inset-inline-end: -24px;
  height: 2px; background: repeating-linear-gradient(to right, var(--border) 0 7px, transparent 7px 14px);
}
.step:last-child::after { display: none; }
html[dir="rtl"] .step::after { background: repeating-linear-gradient(to left, var(--border) 0 7px, transparent 7px 14px); }
.step-n {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy-900); color: #fff; font-size: 21px; font-weight: 800;
  margin-bottom: 20px; box-shadow: 0 8px 20px rgba(18, 19, 88, .22);
}
.step h3 { font-size: 17.5px; margin-bottom: 9px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ============================ VIDÉO ============================ */
.video-wrap { margin: 0; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius-lg); background: #0C0D3C;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .1);
}
.video-poster { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: .55; }
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 88px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--teal-500); color: #fff;
  box-shadow: 0 10px 40px rgba(54, 173, 163, .5);
  display: grid; place-items: center;
  transition: transform .2s ease, background-color .2s ease;
}
.video-play svg { width: 36px; height: 36px; margin-inline-start: 5px; }
html[dir="rtl"] .video-play svg { transform: scaleX(-1); margin-inline-start: 0; margin-inline-end: 5px; }
.video-play:hover { transform: scale(1.07); background: var(--teal-600); }
.video-play::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(54, 173, 163, .45); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .video-play::before { animation: none; } }

.video-note { margin-top: 18px; text-align: center; color: rgba(255, 255, 255, .8); font-size: 15.5px; }
.video-note a { color: var(--teal-500); font-weight: 650; margin-inline-start: 6px; }
.video-note a:hover { text-decoration: underline; }

/* ============================ CAS D'USAGE ============================ */
.usecases .uc {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  border-top: 3px solid var(--teal-500);
}
.uc h3 { font-size: 17.5px; margin-bottom: 9px; }
.uc p { color: var(--ink-soft); font-size: 15.5px; }

/* ============================ TARIFS ============================ */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 21px; }
.plan-for { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
.plan-price { font-size: 27px; font-weight: 800; color: var(--navy-900); margin: 20px 0 22px; letter-spacing: -0.02em; }
.plan ul { margin-bottom: 26px; flex: 1; }
.plan li { position: relative; padding-inline-start: 27px; margin-bottom: 11px; font-size: 15.5px; color: var(--ink-soft); }
.plan li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 5px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2323776F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.6 8.3l2.7 2.7 6-6.2'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan-featured { border-color: var(--teal-500); border-width: 2px; box-shadow: var(--shadow); }
.plan-badge {
  position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--teal-500); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 5px 15px; border-radius: 999px; white-space: nowrap;
}
html[dir="rtl"] .plan-badge { transform: translateX(50%); }

/* ============================ FAQ ============================ */
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: #CFE7E3; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px;
  font-weight: 650; font-size: 17px; color: var(--navy-900); position: relative;
}
html[dir="rtl"] .faq summary { padding: 20px 24px 20px 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: 22px; top: 50%; margin-top: -8px;
  width: 16px; height: 16px; transition: transform .25s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23232F72' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E") center/16px no-repeat;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 16px; }

/* ============================ CONTACT ============================ */
.contact-section { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; align-items: start; }
.contact-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.contact-copy .section-sub { color: rgba(255, 255, 255, .74); }
.contact-copy .kicker { text-align: start; }
.contact-copy .section-sub, .contact-copy h2 { text-align: start; }

.contact-direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; font-size: 15px; font-weight: 600;
  padding: 11px 18px; border-radius: 999px;
  transition: background-color .2s, border-color .2s, transform .15s;
}
.contact-chip:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .35); transform: translateY(-2px); }
.contact-chip svg { width: 19px; height: 19px; flex-shrink: 0; }

/* Un numéro de téléphone reste lu de gauche à droite, même en arabe :
   sans isolation, « +212 6 00 … » s'affiche à l'envers. */
.phone-text { direction: ltr; unicode-bidi: isolate; }

.contact-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }

.form { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field label { font-size: 14px; font-weight: 620; color: var(--navy-700); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; width: 100%; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(54, 173, 163, .16);
}
.field input[aria-invalid="true"] { border-color: #D9534F; }

.hp-field {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.form .btn { margin-top: 6px; }
.form-legal { font-size: 13px; color: var(--ink-soft); text-align: center; }
.form-status { font-size: 15px; font-weight: 600; text-align: center; min-height: 1px; }
.form-status.is-ok { color: var(--teal-700); }
.form-status.is-error { color: #C0392B; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding-top: 62px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-brand p { margin-top: 16px; font-size: 15px; max-width: 32em; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 15px; margin-bottom: 11px; transition: color .18s; }
.footer-col a:hover { color: var(--teal-500); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 22px; font-size: 14px;
}
.footer-domain { color: var(--teal-500); font-weight: 600; }

/* ============================ WHATSAPP FLOTTANT ============================ */
.wa-float {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* ============================ RÉVÉLATION AU DÉFILEMENT ============================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================ RTL ============================ */
html[dir="rtl"] .hero-title, html[dir="rtl"] .section-head { text-align: right; }
html[dir="rtl"] .section-head { text-align: center; }
html[dir="rtl"] .brand { direction: ltr; }

/* ============================ RESPONSIVE ============================ */
/* Entre 860 et 1180 px, les six liens + le bouton ne tiennent plus sur une
   ligne : on retire le bouton de l'en-tête (le hero en porte déjà un) plutôt
   que de laisser la navigation passer à la ligne. */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: 15px; }
  .header-inner { gap: 16px; }
  .hide-sm { display: none; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 640px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .step:nth-child(2)::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px 24px 22px; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 8px; font-size: 17px; border-radius: var(--radius-sm); }
  .nav-toggle { display: flex; }
  .hide-sm { display: none; }
  .grid-3, .compare { grid-template-columns: 1fr; }
  .statbar-inner { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .section { padding: 68px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .hero { padding: 46px 0 60px; }
  .hero-sub { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .contact-card { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; inset-inline-end: 16px; bottom: 16px; }
  .video-play { width: 66px; height: 66px; }
  .video-play svg { width: 28px; height: 28px; }
}
