/* DevPrestaDev v1.6 — front office (pages de présentation). Chargé en plus de devprestadev.css. */

:root { --warm: #fff8ef; --ink-soft: #2b3753; --radius-lg: 22px; }
body.is-public { background: #fff; }
:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }

/* ---------- En-tête public ---------- */
.topbar-public { position: sticky; top: 0; z-index: 40; padding-top: 14px; padding-bottom: 14px; backdrop-filter: saturate(1.4) blur(8px); background: rgba(255, 255, 255, .94); }
.public-nav { display: flex; gap: 6px 22px; align-items: center; flex-wrap: wrap; }
.public-nav a[aria-current] { color: var(--brand); }
.public-nav .nav-cta { color: #fff !important; padding: 10px 16px; border-radius: 999px; font-size: 14px; }
.public-nav .nav-cta:hover { color: #fff !important; }
.menu-toggle { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 14px; }
.menu-toggle:hover { background: var(--brand-soft); transform: none; }
@media (max-width: 900px) {
  .has-menu-js .public-nav { display: none; }
  .has-menu-js .public-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px);
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: 0 24px 60px #1b254326;
  }
  .has-menu-js .public-nav.is-open a { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
  .has-menu-js .public-nav.is-open a:hover { background: var(--bg); }
  .has-menu-js .public-nav.is-open .nav-cta { text-align: center; margin-top: 6px; }
}
@media (min-width: 901px) { .menu-toggle { display: none; } }

/* ---------- Mise en page ---------- */
main.front-main { max-width: 1180px; margin: 0 auto; padding: 0 22px 10px; }
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.front-main > .flash { margin-top: 18px; }
.fsection { padding: 64px 0; }
.fsection + .fsection { border-top: 1px solid #eef1f6; }
.fsection-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.fsection-head h2, .page-hero h1 { margin: 10px 0 12px; }
.fsection h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.fsection-mini { font-size: 15px !important; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); text-align: center; margin: 0 0 18px; }
.center { text-align: center; }
.link-more { font-weight: 800; text-decoration: none; }
.link-more:hover { text-decoration: underline; }
.btn-lg { padding: 15px 24px; font-size: 16px; border-radius: 14px; }
.pill { display: inline-block; margin: 0; padding: 7px 13px; border-radius: 999px; background: var(--brand-soft); color: #4932bd; font-size: 13px; font-weight: 800; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }
.page-hero { padding: 46px 0 34px; max-width: 900px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.1; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.anchor-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink-soft); }
.anchor-nav a:hover, .anchor-nav a[aria-current="page"] { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* ---------- Bandeau d'accueil ---------- */
.fhero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; padding: 52px 0 60px; }
.fhero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; margin: 20px 0 18px; letter-spacing: -.045em; }
.fhero-trade h1 { font-size: clamp(32px, 4.2vw, 52px); }
.fhero h1 em { font-style: normal; background: linear-gradient(90deg, #5a3fd8, #b062d8); color: transparent; -webkit-background-clip: text; background-clip: text; }
.fhero-lead { font-size: 18px; color: var(--ink-soft); max-width: 600px; }
.fhero .eyebrow { margin-bottom: 4px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.checks li::before { content: "✓"; color: #16a34a; font-weight: 900; margin-right: 7px; }
.fhero-visual { position: relative; padding: 18px 10px 30px; }
.fhero-caption { position: absolute; right: 8px; bottom: -6px; margin: 0; font-size: 12px; color: var(--muted); }
.notif { position: absolute; display: flex; gap: 11px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 15px; box-shadow: 0 18px 44px #1b254324; font-size: 14px; max-width: 280px; }
.notif strong { display: block; color: var(--ink); }
.notif small { color: var(--muted); font-size: 12.5px; }
.notif-icon { flex: 0 0 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 17px; }
.notif-star { background: #fff4d6; color: #b77900; }
.notif-lead { left: -22px; bottom: 6px; }
.notif-review { right: -12px; top: -4px; }

/* ---------- Aperçu de site (designs) ---------- */
.site-mock { --mock-scale: 1; display: block; background: var(--bg); color: var(--fg); font-family: var(--body-font); border-radius: 16px; overflow: hidden; border: 1px solid #dfe3ec; box-shadow: 0 30px 70px #1f2a4a26; text-align: left; }
.sm-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: #f2f3f7; border-bottom: 1px solid #e2e5ec; }
.sm-dots { display: flex; gap: 5px; }
.sm-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d6d9e1; }
.sm-dots i:first-child { background: #f87171; } .sm-dots i:nth-child(2) { background: #fbbf24; } .sm-dots i:nth-child(3) { background: #34d399; }
.sm-url { flex: 1; background: #fff; border-radius: 6px; padding: 3px 10px; font: 500 11px system-ui, sans-serif; color: #6b7280; }
.sm-header { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--header-bg); color: var(--header-fg); border-bottom: 1px solid var(--line); }
.sm-logo { font: var(--head-weight) 14px/1 var(--head-font); text-transform: var(--head-case); letter-spacing: var(--head-spacing); white-space: nowrap; }
.sm-nav { display: flex; gap: 8px; margin-left: auto; }
.sm-nav i { width: 30px; height: 5px; border-radius: 3px; background: currentColor; opacity: .35; }
.sm-call { background: var(--accent); color: var(--on-accent); font: 700 10.5px system-ui, sans-serif; padding: 5px 10px; border-radius: var(--btn-radius); }
.sm-hero { padding: 30px 22px 28px; background: linear-gradient(180deg, var(--surface), var(--bg)); }
.sm-title { margin: 0 0 8px; font: var(--head-weight) 25px/1.15 var(--head-font); text-transform: var(--head-case); letter-spacing: var(--head-spacing); color: inherit; max-width: 22ch; }
.sm-text { margin: 0 0 16px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 44ch; }
.sm-btn { display: inline-block; background: var(--accent); color: var(--on-accent); font: 700 12px system-ui, sans-serif; padding: 9px 15px; border-radius: var(--btn-radius); }
.sm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 16px 18px; }
.sm-card { background: var(--surface); border: 1px solid var(--line); border-radius: min(var(--radius), 12px); overflow: hidden; }
.sm-card-img { display: block; height: 54px; background: var(--accent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, #ffffff), color-mix(in srgb, var(--accent) 20%, var(--surface))); }
.sm-card-title { display: block; padding: 8px 9px 10px; font: 700 11px/1.3 var(--body-font); }
.d-cards-shadow .sm-card { border-color: transparent; background: var(--bg); box-shadow: 0 6px 16px #0f172a1f; }
.d-cards-flat .sm-card { border-color: transparent; }
.d-hero-plain .sm-hero { background: var(--bg); }
.d-hero-center .sm-hero { text-align: center; background: var(--surface); }
.d-hero-center .sm-title, .d-hero-center .sm-text { margin-left: auto; margin-right: auto; }
.d-hero-band .sm-hero { background: var(--surface); border-left: 6px solid var(--accent); }
.d-hero-accent .sm-hero { background: var(--accent); color: var(--on-accent); }
.d-hero-accent .sm-text { color: inherit; opacity: .85; }
.d-hero-accent .sm-btn { background: var(--on-accent); color: var(--accent); }
.d-hero-dark .sm-hero { background: #0c111b; color: #f3f5f9; }
.d-hero-dark .sm-text { color: #c9d1de; }
.d-hero-image .sm-hero { background: #4b5a6b; background: linear-gradient(rgba(10, 12, 18, .52), rgba(10, 12, 18, .36)), linear-gradient(135deg, color-mix(in srgb, var(--accent) 45%, #6b7c5e), #4b5a6b 70%); color: #fff; }
.d-hero-image .sm-text { color: #e8ecf2; }
.d-dark .sm-text { color: var(--muted); }
.sm-large .sm-title { font-size: clamp(22px, 2.6vw, 31px); }
.sm-large .sm-hero { padding: 40px 28px 36px; }
.sm-medium .sm-title { font-size: 22px; }
.sm-small { border-radius: 12px; box-shadow: 0 12px 30px #1f2a4a1c; }
.sm-small .sm-bar { padding: 6px 9px; }
.sm-small .sm-dots i { width: 7px; height: 7px; }
.sm-small .sm-url { font-size: 9.5px; }
.sm-small .sm-header { padding: 8px 11px; }
.sm-small .sm-logo { font-size: 11px; }
.sm-small .sm-nav i { width: 18px; height: 4px; }
.sm-small .sm-call { font-size: 9px; padding: 4px 7px; }
.sm-small .sm-hero { padding: 18px 13px 16px; }
.sm-small .sm-title { font-size: 16px; }
.sm-small .sm-text { font-size: 11px; margin-bottom: 10px; }
.sm-small .sm-btn { font-size: 10px; padding: 6px 10px; }
.sm-small .sm-cards { gap: 6px; padding: 9px 11px 12px; }
.sm-small .sm-card-img { height: 30px; }
.sm-small .sm-card-title { font-size: 9px; padding: 5px 6px 7px; }

/* ---------- Métiers, étapes, cartes ---------- */
.trades-strip { padding: 22px 0 46px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips a { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft); font-weight: 700; font-size: 14px; text-decoration: none; }
.chips a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--bg); border-radius: var(--radius-lg); padding: 28px; }
.steps h3 { margin: 14px 0 8px; font-size: 20px; }
.steps p { margin: 0; color: var(--ink-soft); }
.step-num, .need-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 900; }
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.fcard { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.fcard:hover { border-color: #c9c0f6; box-shadow: 0 18px 40px #4932bd18; transform: translateY(-2px); }
.fcard h3 { margin: 14px 0 8px; font-size: 19px; }
.fcard p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.fcard-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: 20px; }
.fcard-tag, .feature-tag { display: inline-block; margin-top: 14px; padding: 5px 10px; border-radius: 999px; background: #ecfdf3; color: #166534; font-size: 12.5px; font-weight: 700; }

/* ---------- Parcours client, histoire ---------- */
.journey { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.timeline { list-style: none; counter-reset: step; padding: 0; margin: 22px 0 0; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 18px 50px; color: var(--ink-soft); }
.timeline li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 900; }
.timeline li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: #e4e0fb; }
.timeline li:last-child::after { display: none; }
.timeline strong { display: block; color: var(--ink); }
.ui-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 24px 60px #1b254318; }
.ui-card-head { margin: 0 0 14px; font-weight: 800; }
.ui-card dl { margin: 0; display: grid; gap: 10px; }
.ui-card dl div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; font-size: 14px; }
.ui-card dt { color: var(--muted); }
.ui-card dd { margin: 0; font-weight: 700; }
.ui-thumbs { display: flex; gap: 6px; }
.ui-thumbs i { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #a3c585, #5d8a4a); }
.ui-thumbs i:nth-child(2) { background: linear-gradient(135deg, #d8c8a6, #9a8461); }
.ui-thumbs i:nth-child(3) { background: linear-gradient(135deg, #9cc4d8, #4f7f99); }
.ui-badge { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; background: #eef2ff; color: #3730a3; font-size: 12px; font-weight: 800; }
.story { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; background: var(--warm); border-radius: 28px; padding: 44px !important; margin: 20px 0; border: 0 !important; }
.story h2 { margin: 8px 0 12px; }
.story p { font-size: 17px; color: var(--ink-soft); max-width: 760px; }
.story-mark { width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, #6048db, #b062d8); color: #fff; display: grid; place-items: center; font-size: 28px; }

/* ---------- FAQ, articles, appel final ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 800; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--brand); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 18px; color: var(--ink-soft); }
.faq-group h2 { font-size: 24px; max-width: 820px; margin: 0 auto 16px; }
.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.post-card-cover { display: grid; place-items: center; aspect-ratio: 16 / 9; text-decoration: none; background: linear-gradient(135deg, #ede9ff, #dbeafe); color: #4932bd; font-weight: 900; font-size: 18px; }
.post-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card-cover.cat-google { background: linear-gradient(135deg, #dcfce7, #dbeafe); color: #166534; }
.post-card-cover.cat-avis { background: linear-gradient(135deg, #fef3c7, #ffe4e6); color: #92400e; }
.post-card-cover.cat-gestion { background: linear-gradient(135deg, #e0f2fe, #f1f5f9); color: #075985; }
.post-card-body { padding: 20px 22px 24px; }
.post-card-meta { margin: 0; font-size: 13px; color: var(--muted); }
.post-card h3 { margin: 8px 0 8px; font-size: 19px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--brand); }
.post-card p:last-child { margin: 0; color: var(--ink-soft); font-size: 15px; }
.front-cta { margin: 40px 0 60px; padding: 56px 40px; border-radius: 30px; text-align: center; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #7b5cf0 0%, #5235cf 45%, #2c1f86 100%); }
.front-cta h2 { color: #fff; margin: 0 0 10px; font-size: clamp(26px, 3.2vw, 38px); }
.front-cta p { margin: 0 auto 24px; max-width: 640px; color: #e4ddff; font-size: 17px; }
.front-cta .actions { justify-content: center; }
.btn-light { background: #fff; color: #3b27b0; }
.btn-light:hover { background: #f1edff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid #ffffff66; }
.btn-ghost:hover { background: #ffffff1a; }

/* ---------- Fonctionnalités ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid #eef1f6; scroll-margin-top: 90px; }
.feature-row.is-reversed > :first-child { order: 2; }
.feature-row h2 { font-size: clamp(25px, 2.8vw, 34px); margin: 8px 0 12px; line-height: 1.15; }
.feature-row > div > p { color: var(--ink-soft); font-size: 16.5px; }
.ticks { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-soft); line-height: 1.6; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 900; }
.feature-visual { min-width: 0; }
.design-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.design-stack .design-thumb { height: 120px; }
.ui-blocks { display: flex; flex-wrap: wrap; gap: 8px; }
.ui-blocks span { padding: 10px 13px; border-radius: 12px; background: var(--bg); border: 1px dashed #cdd5e3; font-size: 14px; font-weight: 700; }
.ui-pipeline ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ui-pipeline li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-weight: 700; font-size: 14px; }
.st { padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.st-new { background: #eef2ff; color: #3730a3; } .st-quoted { background: #fef3c7; color: #92400e; } .st-won { background: #dcfce7; color: #166534; }
.ba-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-visual span { display: flex; align-items: flex-start; padding: 12px; aspect-ratio: 4 / 3; border-radius: 16px; color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.ba-before { background: linear-gradient(160deg, #b6c5d6 0 40%, #7d8f63 40% 100%); }
.ba-after { background: linear-gradient(160deg, #a9d1f2 0 40%, #4f9a44 40% 70%, #d8c8a6 70% 100%); }
.ui-review .ui-stars { color: #d98a00; letter-spacing: 3px; font-size: 20px; margin: 0 0 8px; }
.ui-review p { margin: 0 0 8px; font-size: 17px; }
.ui-review-author { color: var(--muted); font-size: 13px !important; }
.ui-score { text-align: center; }
.ui-gauge { width: 140px; height: 140px; margin: 6px auto 12px; border-radius: 50%; background: conic-gradient(#16a34a 0 92%, #e5e7eb 92% 100%); display: grid; place-items: center; }
.ui-gauge span { width: 108px; height: 108px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 34px; font-weight: 900; }
.ui-domain { font-size: 20px; font-weight: 800; text-align: center; padding: 34px 18px; }
.ui-lock { margin-right: 6px; }
.ui-shield { display: grid; place-items: center; padding: 40px; }
.ui-shield span { width: 110px; height: 126px; display: grid; place-items: center; font-size: 46px; color: #fff; background: linear-gradient(160deg, #22c55e, #15803d); clip-path: polygon(50% 0, 100% 16%, 100% 55%, 50% 100%, 0 55%, 0 16%); }

/* ---------- Exemples, métiers ---------- */
.trade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.trade-card { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.trade-card .site-mock { transition: transform .2s; margin-bottom: 8px; }
.trade-card:hover .site-mock { transform: translateY(-3px); }
.trade-card-name { font-weight: 800; font-size: 17px; }
.trade-card-text { color: var(--muted); font-size: 14px; }
.design-family { padding: 44px 0; scroll-margin-top: 90px; }
.design-family h2 { font-size: 24px; margin: 0 0 18px; }
.design-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.design-card { margin: 0; }
.design-card figcaption { margin-top: 10px; font-weight: 800; font-size: 14px; text-align: center; }
.need-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.need-card { background: var(--bg); border-radius: var(--radius-lg); padding: 26px; }
.need-card h3 { margin: 14px 0 8px; font-size: 19px; }
.need-card p { margin: 0; color: var(--ink-soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-item { border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; background: #fff; }
.service-item h3 { margin: 0 0 6px; font-size: 17px; }
.service-item p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.client-questions { max-width: 820px; margin: 34px auto 0; display: grid; gap: 10px; }
.client-questions h3 { text-align: center; margin: 0 0 8px; }
.other-trades { padding-top: 30px; }

/* ---------- À propos ---------- */
.about-story { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.about-portrait { width: 200px; height: 200px; border-radius: 40px; background: linear-gradient(145deg, #4d7c0f, #a16207 60%, #6048db); display: grid; place-items: center; color: #fff; font: 900 54px "Avenir Next", system-ui, sans-serif; letter-spacing: -.04em; }
.about-text h2 { margin-top: 0; }
.about-portrait-alt { background: linear-gradient(145deg, #1d4ed8, #6048db 55%, #0f766e); }
.about-partner { border-top: 0 !important; padding-top: 10px; }
.about-text p { font-size: 17px; color: var(--ink-soft); }
.values { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; gap: 14px; }
.values li { padding: 18px 22px; border-radius: 16px; background: var(--bg); color: var(--ink-soft); }
.values strong { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; padding-bottom: 50px; }
.contact-form .grid-2 { gap: 0 18px; }
.contact-aside .card { background: var(--bg); box-shadow: none; }
.contact-aside h2 { font-size: 20px; margin-top: 0; }
.contact-sent h2 { margin-top: 0; }

/* ---------- Offres ---------- */
.compare h2 { text-align: center; }
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid #eef1f6; text-align: center; font-size: 14.5px; }
.compare-table th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink-soft); }
.compare-table thead th { background: var(--bg); font-size: 15px; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table .yes { color: #16a34a; font-weight: 900; font-size: 17px; }
.compare-table .no { color: #9aa3b2; }
.compare > .muted { text-align: center; margin-top: 14px; }

/* ---------- Blog ---------- */
.blog-article { max-width: 1040px; margin: 0 auto; padding: 26px 0 20px; }
.blog-head { max-width: 760px; }
.blog-head h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; margin: 10px 0 12px; }
.blog-head .eyebrow a { text-decoration: none; }
.blog-meta { color: var(--muted); font-size: 14px; }
.blog-cover { margin: 22px 0 10px; }
.blog-cover img { display: block; width: 100%; aspect-ratio: 16 / 7; height: auto; object-fit: cover; border-radius: 22px; }
.blog-layout { display: grid; grid-template-columns: 1fr; gap: 34px; margin-top: 22px; }
.blog-layout:has(.blog-toc) { grid-template-columns: 220px minmax(0, 760px); }
.blog-toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.blog-toc p { font-weight: 800; margin: 0 0 8px; }
.blog-toc ol { padding-left: 18px; margin: 0; display: grid; gap: 8px; }
.blog-toc a { color: var(--ink-soft); text-decoration: none; }
.blog-toc a:hover { color: var(--brand); }
.blog-body { font-size: 17.5px; line-height: 1.75; color: #24304a; min-width: 0; }
.blog-body h2 { font-size: 28px; margin: 40px 0 12px; scroll-margin-top: 90px; }
.blog-body h3 { font-size: 21px; margin: 28px 0 8px; scroll-margin-top: 90px; }
.blog-body p, .blog-body ul, .blog-body ol { margin: 0 0 18px; }
.blog-body li { margin-bottom: 6px; }
.blog-body blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--brand); background: var(--bg); border-radius: 0 14px 14px 0; }
.blog-body blockquote p { margin: 0; }
.blog-cta { margin-top: 40px; padding: 28px; border-radius: 22px; background: var(--brand-soft); }
.blog-cta-title { margin: 0 0 6px; font-weight: 900; font-size: 20px; color: var(--ink); }
.blog-cta p { font-size: 16px; }
.blog-textarea { font: 15px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.blog-cover-preview { max-width: 320px; border-radius: 12px; }
.format-help { margin-top: -8px; }
.format-help summary { cursor: pointer; color: var(--brand); font-weight: 700; font-size: 14px; }

/* ---------- Pied de page public ---------- */
.front-footer { background: #121a2e; color: #c3cad9; margin-top: 30px; }
.front-footer-inner { max-width: 1180px; margin: 0 auto; padding: 56px 22px 34px; display: grid; grid-template-columns: 1.4fr 1fr 1.6fr 1fr; gap: 34px; }
.front-footer .brand { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; line-height: 0; }
.front-footer .brand img { display: block; height: 30px; width: auto; }
.front-footer-brand p { font-size: 14.5px; margin: 12px 0 18px; max-width: 300px; }
.front-footer nav { display: flex; flex-direction: column; gap: 9px; }
.front-footer nav[aria-label="Métiers"] { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; align-content: start; }
.front-footer nav[aria-label="Métiers"] .front-footer-title { grid-column: 1 / -1; }
.front-footer-title { margin: 0 0 4px; color: #fff; font-weight: 800; font-size: 14px; }
.front-footer nav a { color: #c3cad9; text-decoration: none; font-size: 14px; }
.front-footer nav a:hover, .front-footer-legal a:hover { color: #fff; text-decoration: underline; }
.front-footer-legal { max-width: 1180px; margin: 0 auto; padding: 18px 22px 30px; border-top: 1px solid #ffffff1a; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; }
.front-footer-legal a { color: #c3cad9; }

/* ---------- Modèles de sites (v1.8) : démonstrations en direct, réduites ---------- */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; margin-top: 8px; }
.tpl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 18px 44px #1b25430f; transition: transform .2s, box-shadow .2s; }
.tpl-card:hover { transform: translateY(-3px); box-shadow: 0 26px 60px #1b25431f; }
.tpl-shot { display: block; border-bottom: 1px solid var(--line); background: #f3f4f9; }
.tpl-browser { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: #eef0f6; border-bottom: 1px solid #e3e6ef; }
.tpl-browser i { width: 8px; height: 8px; border-radius: 50%; background: #cfd4e0; }
.tpl-url { margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 11px; }
.tpl-frame { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #f1edff, #f7f8fb); }
/* Cadre 4,8 fois plus grand, réduit d'autant : la démonstration s'affiche comme sur un écran d'ordinateur (menu complet). */
.tpl-frame iframe { position: absolute; top: 0; left: 0; width: 480%; height: 480%; border: 0; transform: scale(.208333); transform-origin: 0 0; pointer-events: none; }
.tpl-frame.is-large { aspect-ratio: 16 / 11; }
.tpl-frame.is-large iframe { width: 280%; height: 280%; transform: scale(.357143); }
.tpl-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.tpl-body h3 { margin: 0; font-size: 20px; }
.tpl-body p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.tpl-body .tpl-for { color: var(--muted); font-size: 13.5px; }
.tpl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; padding-top: 12px; }
.fhero-stage { position: relative; }
.fhero-visual:has(.fhero-stage) .notif-lead { bottom: -18px; }
.fhero-visual:has(.live-preview) .fhero-caption { position: static; margin: 30px 0 0; text-align: right; }
.live-preview { display: block; border-radius: 18px; overflow: hidden; border: 1px solid #dfe3ec; background: #fff; box-shadow: 0 30px 70px #1f2a4a26; text-decoration: none; }
.live-preview:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.templates-home .tpl-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.templates-home .tpl-body p:not(.tpl-for) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1080px) { .templates-home .tpl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .templates-home .tpl-grid, .tpl-grid { grid-template-columns: 1fr; }
  .tpl-frame.is-large iframe { width: 480%; height: 480%; transform: scale(.208333); }
}
@media (prefers-reduced-motion: reduce) { .tpl-card, .tpl-card:hover { transition: none; transform: none; } }
.tpl-grid > *, .live-preview { min-width: 0; }

/* ---------- Écrans moyens et petits ---------- */
@media (max-width: 1080px) {
  .design-cards { grid-template-columns: repeat(3, 1fr); }
  .front-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .fhero, .journey, .feature-row, .about-story { grid-template-columns: 1fr; gap: 34px; }
  .feature-row.is-reversed > :first-child { order: 0; }
  .fhero { padding-top: 30px; }
  .notif-lead { left: 0; } .notif-review { right: 0; }
  .steps, .need-cards, .service-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .blog-layout:has(.blog-toc) { grid-template-columns: 1fr; }
  .blog-toc { position: static; background: var(--bg); border-radius: 16px; padding: 16px 18px; }
  .about-portrait { width: 140px; height: 140px; border-radius: 30px; font-size: 40px; }
}
@media (max-width: 640px) {
  main.front-main { padding: 0 16px 10px; }
  .fsection { padding: 44px 0; }
  .fhero h1 { font-size: 36px; }
  .fhero-lead, .lead { font-size: 16.5px; }
  .notif { position: static; margin-top: 12px; max-width: none; }
  .fhero-caption { position: static; margin-top: 8px; }
  .design-cards { grid-template-columns: repeat(2, 1fr); }
  .design-stack { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; padding: 28px !important; }
  .front-cta { padding: 40px 22px; border-radius: 24px; }
  .front-footer-inner { grid-template-columns: 1fr; }
  .sm-cards { grid-template-columns: repeat(2, 1fr); }
  .sm-cards .sm-card:nth-child(3) { display: none; }
  .ui-card dl div { grid-template-columns: 74px 1fr; }
  .blog-body { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .fcard, .trade-card .site-mock { transition: none; }
  a.fcard:hover, .trade-card:hover .site-mock { transform: none; }
}

/* Les aperçus ne doivent jamais élargir leur colonne. */
.design-cards > *, .trade-grid > *, .fhero > *, .feature-row > *, .journey > * { min-width: 0; }
.site-mock { max-width: 100%; }
.sm-header { min-width: 0; }
.sm-logo { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sm-small .sm-nav { display: none; }
.sm-small .sm-call { margin-left: auto; }
.faq-short > h2, .compare > h2 { text-align: center; }
.front-main [id] { scroll-margin-top: 90px; }
