/* =========================================================
   AkwabaIA - Le Bon IT · Feuille de style principale
   Charte validée : bleu nuit, jaune soleil, vert émeraude, Poppins
   Mobile d'abord, léger, sans framework.
   ========================================================= */

:root {
  --navy: #0F1B2D;        /* dominante */
  --navy-2: #1B2B44;      /* cartes sur fond sombre */
  --yellow: #F5A623;      /* accent : devis, prix, mots clés */
  --green: #1FA37A;       /* WhatsApp, badges */
  --light: #F4F7FA;       /* fonds clairs */
  --white: #FFFFFF;
  --muted: #B8C4D6;       /* texte secondaire sur fond sombre */
  --text: #0F1B2D;
  --text-2: #4A5A72;      /* texte secondaire sur fond clair */
  --line: #E1E7EF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 8px 24px rgba(15, 27, 45, .08);
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.accent { color: var(--yellow); }

/* Accessibilité : lien d'évitement + focus visible */
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Mise en page ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--dark { background: var(--navy); color: var(--light); }
.section--white { background: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.section--dark .eyebrow { color: var(--muted); }
.eyebrow--green::before { background: var(--green); }
.h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-top: 12px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); max-width: 640px; margin-top: 14px; }
.section--dark .lead { color: var(--muted); }
.head { margin-bottom: clamp(28px, 4vw, 48px); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { box-shadow: 0 8px 22px rgba(245, 166, 35, .35); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { box-shadow: 0 8px 22px rgba(31, 163, 122, .35); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #E3F6EF; color: #0B6B4F; }
.badge--dark { background: var(--navy); color: var(--white); }
.badge--yellow { background: #FFF1D6; color: #7A4B00; }
.badge--green { background: var(--green); color: var(--white); }

/* ---------- En-tête ---------- */
.header { background: var(--navy); border-bottom: 1px solid var(--navy-2); position: sticky; top: 0; z-index: 50; }
.header__in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); font-weight: 600; border-bottom-color: var(--yellow); }
.nav .btn { color: var(--navy); border-bottom: 0; }
.burger { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.burger svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 24px;
    border-bottom: 1px solid var(--navy-2); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--navy-2); }
  .nav a[aria-current="page"] { border-bottom-color: var(--navy-2); color: var(--yellow); }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Héros ---------- */
.hero { background: var(--navy); color: var(--light); overflow: hidden; }
.hero__in { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding-top: clamp(40px, 6vw, 88px); }
.hero__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(32px, 5vw, 72px); }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; line-height: 1.08; }
.hero p { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 540px; }
.hero__visual { flex: 1 1 360px; position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 360px; }
.sun { position: absolute; width: min(460px, 90%); aspect-ratio: 1; border-radius: 50%; background: var(--yellow); bottom: 40px; }
.hero__visual img { position: relative; width: min(400px, 80%); }
.name-card { position: absolute; left: 0; bottom: 28px; background: rgba(27, 43, 68, .95); border: 1px solid #2A3D5C; border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--muted); }
.name-card b { display: block; color: var(--white); font-size: 14px; }
.trust { background: var(--navy-2); color: var(--muted); font-size: 14px; }
.trust__in { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 16px; padding-bottom: 16px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--yellow); }

/* En-tête de page intérieure */
.page-hero { background: var(--navy); color: var(--light); padding: clamp(48px, 7vw, 88px) 0; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; margin-top: 12px; }
.page-hero p { color: var(--muted); margin-top: 14px; max-width: 620px; font-size: clamp(16px, 1.5vw, 18px); }

/* ---------- Cartes ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.card--dark { background: var(--navy-2); border-color: #2A3D5C; color: var(--light); box-shadow: none; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { color: var(--text-2); font-size: 15px; }
.card--dark p { color: var(--muted); }
.icon-box { width: 48px; height: 48px; border-radius: 13px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; flex: none; }
.icon-box svg { width: 24px; height: 24px; }
.card--dark .icon-box { background: var(--navy); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.card--dark .card__foot { border-color: #2A3D5C; }

/* Pourquoi */
.why { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.why__quote { font-size: clamp(22px, 2.8vw, 32px); font-weight: 600; line-height: 1.35; }
.why__list { display: grid; gap: 12px; }
.why__item { display: flex; gap: 12px; align-items: center; background: var(--navy-2); border: 1px solid #2A3D5C; border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.why__item svg { width: 20px; height: 20px; color: var(--green); flex: none; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* Témoignages */
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; display: grid; grid-template-columns: 150px 1fr; gap: 18px; box-shadow: var(--shadow); }
.testi img { border-radius: 12px; border: 1px solid var(--line); width: 150px; height: 200px; object-fit: cover; object-position: top; }
.testi blockquote { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.5; }
.testi blockquote::before { content: "“"; display: block; font-size: 40px; line-height: .8; color: var(--yellow); }
.testi small { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--text-2); font-size: 12px; }
.testi small svg { width: 14px; height: 14px; color: var(--green); }
@media (max-width: 420px) { .testi { grid-template-columns: 1fr; } .testi img { width: 100%; height: 220px; } }
.reco { margin-top: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; text-align: center; }
.reco svg { width: 20px; height: 20px; color: var(--green); flex: none; }

/* Réalisations */
.work { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.work__thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; background: var(--navy); color: var(--light); overflow: hidden; }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; }
.work__thumb .mock { text-align: center; padding: 20px; }
.mock__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 22px; display: grid; place-items: center; margin: 0 auto 10px; }
.mock__name { font-weight: 700; font-size: 18px; }
.mock__role { font-size: 13px; color: var(--muted); }
.mock__icon { width: 56px; height: 56px; color: var(--yellow); margin: 0 auto 10px; }
.work__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work__body h3 { font-size: 18px; font-weight: 700; }
.work__body p { font-size: 14px; color: var(--text-2); }
.work__body .link-arrow { margin-top: auto; padding-top: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filter { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid #2A3D5C; background: transparent; color: var(--muted); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.work-group[hidden] { display: none; }

/* ---------- Tarifs ---------- */
.price-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.price-block__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.price-block__head h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; }
.price-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; list-style: none; padding: 0; margin: 0 0 20px; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.price-list li span:first-child { display: flex; flex-direction: column; }
.price-list small { color: var(--text-2); font-size: 12px; }
.price { font-weight: 700; white-space: nowrap; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tier { border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.tier--star { background: var(--navy); color: var(--light); border-color: var(--navy); position: relative; }
.tier h4 { margin: 0; font-size: 17px; }
.tier .price { font-size: 30px; color: var(--yellow); }
.tier:not(.tier--star) .price { color: var(--navy); }
.tier p { font-size: 14px; color: var(--text-2); }
.tier--star p { color: var(--muted); }
.tier .btn { margin-top: auto; }
.currency { display: inline-flex; background: var(--light); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.currency button { font: inherit; font-size: 13px; font-weight: 600; border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; cursor: pointer; color: var(--text-2); }
.currency button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.pay-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); margin-top: 16px; }

/* ---------- Biographie ---------- */
.bio-hero { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; }
.bio-hero__text { flex: 1 1 440px; padding-bottom: clamp(32px, 5vw, 64px); }
.bio-hero__visual { flex: 1 1 320px; position: relative; display: flex; justify-content: center; min-height: 340px; align-items: flex-end; }
.bio-sections { display: grid; gap: 28px; max-width: 820px; }
.bio-sec { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.bio-sec:last-child { border-bottom: 0; }
.bio-sec__num { font-size: 13px; font-weight: 600; color: var(--text-2); }
.bio-sec h2 { font-size: 22px; margin-top: 4px; }
.bio-sec p { color: #2D3B52; }
.bio-sec p + p { margin-top: 12px; }
@media (max-width: 760px) { .bio-sec { grid-template-columns: 1fr; gap: 8px; } }
.vision { position: relative; overflow: hidden; }
.vision blockquote { margin: 0 auto; max-width: 820px; font-size: clamp(22px, 3vw, 34px); font-weight: 600; line-height: 1.35; position: relative; }
.vision cite { display: block; margin-top: 16px; font-size: 15px; font-style: normal; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 64px 20px 1fr; gap: 12px; padding-bottom: 18px; position: relative; font-size: 15px; }
.timeline li::after { content: ""; position: absolute; left: 85px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .year { font-weight: 700; font-size: 14px; }
.timeline .dot { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--navy); background: var(--white); margin-top: 5px; z-index: 1; }
.timeline li.now .dot { border-color: var(--yellow); background: var(--yellow); }
.timeline small { display: block; color: var(--text-2); font-size: 13px; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.cert { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.cert .icon-box { width: 42px; height: 42px; border-radius: 50%; }
.cert small { display: block; color: var(--text-2); font-size: 13px; }

/* ---------- Formulaires ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field .req { color: #C0392B; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #CBD5E1; background: var(--white); color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); outline: 3px solid rgba(245, 166, 35, .25); }
.field .hint { font-size: 12px; color: var(--text-2); }
.field .error { font-size: 13px; color: #C0392B; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C0392B; }
.field.has-error .error { display: block; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips label { font-weight: 500; font-size: 14px; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; left: 0; top: 0; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid #CBD5E1; cursor: pointer; }
.chips input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chips input:focus-visible + span { outline: 3px solid var(--yellow); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* piège anti-spam */
.form-status { border-radius: 12px; padding: 14px 16px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #E3F6EF; color: #0B6B4F; }
.form-status.ko { display: block; background: #FDECEA; color: #8A1F12; }
.aside-box { background: var(--navy); color: var(--light); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 12px; }
.aside-box p { color: var(--muted); font-size: 14px; }
.aside-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--text-2); }
.aside-list li { display: flex; gap: 8px; }
.aside-list svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; }
.contact-item small { display: block; color: var(--text-2); font-size: 13px; }
.contact-item b { font-size: 15px; word-break: break-word; }

/* Texte long (légal, blog) */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { color: #2D3B52; }
.prose p + p { margin-top: 12px; }

/* ---------- Appel final ---------- */
.cta { position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--yellow); right: -120px; top: -60px; }
.cta__in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; max-width: 640px; }
.cta p { color: var(--muted); }
@media (max-width: 700px) { .cta::after { width: 240px; height: 240px; right: -120px; top: -100px; opacity: .9; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy); color: var(--muted); border-top: 1px solid var(--navy-2); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 56px 0 40px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h2 { font-size: 15px; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__contact li { display: flex; gap: 10px; align-items: center; }
.footer__contact svg { width: 16px; height: 16px; color: var(--yellow); flex: none; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.socials a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #2A3D5C; border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.socials svg { width: 16px; height: 16px; }
.footer__bottom { border-top: 1px solid var(--navy-2); padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: var(--white);
  border-radius: 999px; padding: 14px 18px; font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 28px rgba(15, 27, 45, .3);
}
.wa-float svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 15px; } }

/* Animations douces, désactivées si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Icônes intégrées dans les badges et notes (taille fixe) */
.badge svg, .pay-note svg { width: 15px; height: 15px; flex: none; }
.vision .cta__in { position: relative; display: flex; flex-direction: column; gap: 18px; }

/* Grilles : 3 colonnes fixes sur ordinateur (modèles alignés 3 + 2) */
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

/* Capture de fichier Excel : on montre le haut à gauche du tableau */
.work__thumb--sheet { background: #fff; border-bottom: 1px solid var(--line); }
.work__thumb--sheet img { object-fit: cover; object-position: left top; transition: transform .3s ease; }
.work__thumb--sheet:hover img { transform: scale(1.03); }

/* Carrousel de captures (applications) */
.carousel { display: block; }
.carousel__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track img { flex: 0 0 100%; scroll-snap-align: start; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(15,27,45,.75); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.carousel__btn.prev { left: 8px; } .carousel__btn.next { right: 8px; }

/* Actions des cartes d'application (lien en ligne + devis) */
.work__actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.work__actions .link-arrow { padding-top: 0; margin-top: 0; }
.demo-access { display: flex; align-items: center; gap: 8px; font-size: 13px !important; background: var(--light); border: 1px dashed #CBD5E1; border-radius: 10px; padding: 8px 10px; }
.demo-access svg { width: 15px; height: 15px; flex: none; color: var(--green); }
