/*
Theme Name: Webtestudio
Author: webtestudio
Description: Thème sur mesure, design indigo et jaune, bilingue FR/EN, sans plugin.
Version: 2.0.0
Requires PHP: 7.4
Text Domain: webtestudio
*/

:root {
  --bg: #0b0d12;
  --bg-alt: #11141b;
  --surface: #161a23;
  --border: #252b38;
  --text: #e8ebf2;
  --muted: #9aa3b5;
  --accent: #5ef0c0;
  --accent-2: #7c8cff;
  --radius: 14px;
  --font: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.accent { color: var(--accent); }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin-bottom: .4rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,13,18,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 700; font-size: 1.15rem; display: inline-flex; align-items: center; gap: .5rem; }
.brand-mark { font-family: var(--mono); color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); font-weight: 500; }
.site-nav a:hover { color: var(--text); }
.lang-switch { display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; font-family: var(--mono); font-size: .8rem; }
.lang-switch a { padding: 4px 10px; }
.lang-switch a.is-active { background: var(--accent); color: var(--bg); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 7px 8px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 20px; background: var(--bg); border-bottom: 1px solid var(--border); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: .9rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.4rem; border-radius: 10px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: inherit; font-size: 1rem; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { color: var(--bg); background: #8cf6d4; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.link-arrow { color: var(--accent); font-weight: 600; }

/* Sections */
.hero { padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem); background:
  radial-gradient(600px 300px at 80% 0%, rgba(124,140,255,.18), transparent 70%),
  radial-gradient(500px 280px at 10% 30%, rgba(94,240,192,.12), transparent 70%),
  linear-gradient(transparent 0 calc(100% - 1px), var(--border) 0) 0 0 / 100% 48px; }
.hero h1 { max-width: 900px; }
.page-head { padding: 4.5rem 0 2.5rem; border-bottom: 1px solid var(--border); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.cta-band { text-align: center; background: linear-gradient(135deg, rgba(94,240,192,.1), rgba(124,140,255,.1)); border-top: 1px solid var(--border); }

/* Grids & cards */
.grid-2, .grid-3 { display: grid; gap: 20px; margin-top: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(94,240,192,.5); transform: translateY(-2px); }
.card h3 { margin-top: .6rem; }
.chip { display: inline-block; font-family: var(--mono); font-size: .75rem; color: var(--accent-2); border: 1px solid rgba(124,140,255,.4); border-radius: 999px; padding: 2px 10px; }
.product .link-arrow { display: inline-block; margin-top: .5rem; }
.thumb { display: block; margin: -1.6rem -1.6rem 1.2rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.hero-thumb { margin: 2rem 0; border-radius: var(--radius); }

/* Content */
.prose { color: #cfd5e1; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose h2, .prose h3 { margin-top: 2em; color: var(--text); }
.prose pre, .prose code { font-family: var(--mono); background: var(--surface); border-radius: 6px; }
.prose pre { padding: 1rem; overflow-x: auto; border: 1px solid var(--border); }
.prose code { padding: 2px 6px; }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; }
.pagination .current { background: var(--accent); color: var(--bg); }

/* Form */
.form { display: grid; gap: 1.2rem; }
.form label { display: grid; gap: .4rem; font-weight: 500; }
.form input, .form textarea { width: 100%; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: .8rem 1rem; font: inherit; }
.form input:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.5rem; }
.notice.ok { background: rgba(94,240,192,.12); border: 1px solid rgba(94,240,192,.4); }
.notice.err { background: rgba(255,107,107,.12); border: 1px solid rgba(255,107,107,.4); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-top: 3.5rem; background: var(--bg-alt); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
.footer-grid .muted { margin-top: 1rem; max-width: 340px; }
.footer-bottom { padding: 2rem 20px; border-top: 1px solid var(--border); margin-top: 3rem; font-size: .85rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* WordPress core */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { color: var(--muted); font-size: .85rem; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* ===== Single post ===== */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: 0 50%; }
.post-hero { padding: 3.5rem 0 2rem; }
.post-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-top: 1rem; }
.post-hero .lead { margin-bottom: 1.2rem; }
.post-meta-top { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.6rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .6rem; color: var(--muted); }
.post-cover img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 1200 / 630; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; justify-content: center; padding-top: 3rem; padding-bottom: 4rem; }
.post-layout.no-toc { grid-template-columns: minmax(0, 720px); }
.toc-inner { position: sticky; top: 100px; }
.post-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.post-toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.post-toc li a:hover { color: var(--text); }
.post-toc li a.is-active { color: var(--accent); border-left-color: var(--accent); }
@media (max-width: 980px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-toc { margin-bottom: 2rem; }
  .toc-inner { position: static; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
}

.prose { font-size: 1.08rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 1.65rem; margin: 2.4em 0 .7em; scroll-margin-top: 90px; }
.prose h2::before { content: '#'; color: var(--accent); font-family: var(--mono); margin-right: .45em; opacity: .7; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose blockquote { margin: 2em 0; padding: 1em 1.4em; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; }

.wts-summary { background: linear-gradient(135deg, rgba(94,240,192,.08), rgba(124,140,255,.08)); border: 1px solid rgba(94,240,192,.3); border-radius: var(--radius); padding: 1.3rem 1.6rem; }
.wts-summary-title { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 0 0 .6rem !important; }
.wts-summary ul { margin: 0; }
.wts-faq { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0 1.2rem; margin-top: .8rem !important; }
.wts-faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.wts-faq summary::-webkit-details-marker { display: none; }
.wts-faq summary::after { content: '+'; font-family: var(--mono); color: var(--accent); font-size: 1.2rem; line-height: 1; }
.wts-faq[open] summary::after { content: '−'; }
.wts-faq p { margin: 0 0 1rem; color: var(--muted); }
.wts-cta { margin-top: 2.5em !important; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent-2); }
.wts-cta p { margin: 0; color: var(--text); font-weight: 500; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 3rem; }
a.tag, span.tag { font-family: var(--mono); font-size: .8rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 4px 10px; border-radius: 8px; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 2rem; padding: 1.2rem 0; border-block: 1px solid var(--border); }
.post-share a, .post-share button { font: inherit; font-size: .88rem; color: var(--text); background: transparent; border: 1px solid var(--border); border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.post-share a:hover, .post-share button:hover { border-color: var(--accent); color: var(--accent); }
.author-box { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 1.4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.author-box .brand-mark { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(94,240,192,.1); }
.author-box p { margin: 0 0 .4rem; }
.author-name { font-weight: 700; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2rem; }
.post-nav .card { display: flex; flex-direction: column; gap: .4rem; padding: 1.2rem; }
.post-nav .nav-next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav .nav-next { grid-column: auto; } }

.post-card h3 a:hover { color: var(--accent); }
.post-card .thumb img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }

/* ===== Home ===== */
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(94,240,192,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(94,240,192,0); } 100% { box-shadow: 0 0 0 0 rgba(94,240,192,0); } }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin: 2rem 0 0; color: var(--muted); font-size: .92rem; }
.hero-points li::before { content: '✓'; color: var(--accent); margin-right: .45rem; }
.hero-visual { position: relative; }
.code-window { background: rgba(22,26,35,.9); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(94,240,192,.05); overflow: hidden; }
.cw-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.cw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.cw-bar i:nth-child(2) { background: #febc2e; } .cw-bar i:nth-child(3) { background: #28c840; }
.cw-bar span { margin-left: auto; font-size: .75rem; color: var(--muted); }
.code-window pre { margin: 0; padding: 1.4rem 1.5rem; font-size: .88rem; line-height: 1.75; color: #cfd5e1; overflow-x: auto; }
.code-window .c { color: #6b7488; } .code-window .k { color: var(--accent-2); } .code-window .s { color: var(--accent); }
.code-window .f { color: #ffb86b; } .code-window .t { color: #f07aa8; } .code-window .n { color: #ffd479; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--accent); vertical-align: text-bottom; margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; font-size: .85rem; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); animation: float 6s ease-in-out infinite; }
.fc-1 { top: -18px; right: -14px; } .fc-2 { bottom: -18px; left: -14px; animation-delay: -3s; display: flex; align-items: center; gap: 8px; }
.dot-ok { width: 8px; height: 8px; border-radius: 50%; background: #28c840; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .pulse, .caret, .float-card { animation: none; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { margin-top: 1rem; } .fc-1 { right: 8px; } .fc-2 { left: 8px; } }

.stack-band { border-block: 1px solid var(--border); background: var(--bg-alt); }
.stack-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.4rem; padding-block: 1.3rem; color: var(--muted); font-size: .85rem; letter-spacing: .04em; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 1.6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(94,240,192,.1); color: var(--accent); margin-bottom: .6rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.why-list li { display: flex; gap: 1rem; padding: 1.2rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.why-list p { margin: .2rem 0 0; }
.check { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(124,140,255,.15); color: var(--accent-2); font-weight: 700; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 2rem; } }
.cta-band .lead.center { margin: 0 auto 2rem; }
.cta-band .eyebrow { margin-bottom: .6rem; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 2rem; }
.card.service { display: flex; flex-direction: column; color: var(--text); }
.card.service .link-arrow { margin-top: auto; padding-top: .8rem; }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--accent); background: rgba(94,240,192,.08); border: 1px solid rgba(94,240,192,.25); }
.service-icon.lg { width: 64px; height: 64px; border-radius: 16px; }
.service-icon.lg svg { width: 32px; height: 32px; }
.card.service:hover .service-icon { background: rgba(94,240,192,.16); }
.service-tags { list-style: none; padding: 0; margin: 0 0 .4rem; display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags li { font-size: .76rem; font-family: var(--mono); color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; }
.service-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.8rem; }
.service-jump a { font-size: .88rem; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; color: var(--muted); }
.service-jump a:hover { border-color: var(--accent); color: var(--accent); }
.service-blocks { display: grid; gap: 24px; }
.service-block { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 2.2rem; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(160deg, var(--surface), var(--bg-alt)); scroll-margin-top: 90px; }
.service-block:target { border-color: rgba(94,240,192,.5); }
.sb-head { display: flex; flex-direction: column; gap: .8rem; }
.sb-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.feature-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .7rem 1.4rem; }
.feature-list li { display: flex; gap: .6rem; align-items: baseline; }
.feature-list li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.sb-for { color: var(--muted); margin-bottom: 1.4rem; }
.sb-for .mono { text-transform: uppercase; letter-spacing: .1em; margin-right: .4rem; }
@media (max-width: 700px) { .service-block { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; } .sb-head { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ===== Footer v2 ===== */
.site-footer { padding-top: 0; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 2.4rem; margin: -64px auto 2.5rem; position: relative; background: linear-gradient(135deg, rgba(94,240,192,.14), rgba(124,140,255,.14)), var(--surface); border: 1px solid var(--border); border-radius: 20px; max-width: 1140px; }
.footer-cta h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .3rem; }
.footer-cta p { margin: 0; }
.site-footer:not(:has(.footer-cta)) { padding-top: 3.5rem; }
body:has(.footer-cta) main { padding-bottom: 64px; }
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; padding-top: 1rem; }
.footer-brand .muted { margin: 1rem 0; max-width: 320px; }
.footer-mail { color: var(--accent); font-size: .9rem; }
.site-footer .plain a { color: var(--muted); }
.site-footer .plain a:hover { color: var(--text); }
.ext { font-size: .8em; opacity: .6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom-right { display: flex; align-items: center; gap: 1.2rem; }
.to-top { color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-cta { padding: 1.6rem; margin-inline: 16px; width: auto; } }

/* ===== Logo ===== */
.brand { gap: .6rem; }
.brand-logo { flex: none; display: block; transition: transform .2s; }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); }
.brand-word { font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--text); }
.brand:hover .brand-word { color: var(--text); }

/* ===== Logo (WS) ===== */
.brand-logo { width: auto; height: 30px; transform: none; }
.brand:hover .brand-logo { transform: translateY(-1px); }
.brand-word { font-size: 1.22rem; letter-spacing: -.02em; }
.bw-a { color: #F4F6FA; font-weight: 700; }
.bw-dot { color: #2FD8AC; font-weight: 700; }
.bw-b { color: #A5B2CD; font-weight: 500; }
.site-footer .brand-logo { height: 34px; }

/* ===== Contact ===== */
.contact-head { background: radial-gradient(600px 260px at 85% 0%, rgba(124,140,255,.14), transparent 70%), radial-gradient(500px 240px at 0% 40%, rgba(94,240,192,.09), transparent 70%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 20px; position: sticky; top: 92px; }
.contact-card:hover, .next-steps:hover, .contact-form-card:hover { transform: none; border-color: var(--border); }
.h3 { font-size: 1.25rem; margin-bottom: 1.2rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list a { color: var(--text); word-break: break-word; }
.contact-list a:hover { color: var(--accent); }
.ci-icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--accent); background: rgba(94,240,192,.08); border: 1px solid rgba(94,240,192,.22); }
.ci-label { display: block; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.btn-wa { width: 100%; gap: .6rem; background: #25D366; color: #06210f; }
.btn-wa:hover { background: #3fe07a; color: #06210f; }
.next-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 1rem; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; column-gap: .8rem; }
.next-steps li::before { content: counter(n); grid-row: span 2; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; font-family: var(--mono); font-size: .85rem; color: var(--accent-2); background: rgba(124,140,255,.12); }
.next-steps strong { color: var(--text); }
.next-steps span { color: var(--muted); font-size: .94rem; }
.contact-form-card { padding: 2rem; scroll-margin-top: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.req { color: var(--accent); }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.form input::placeholder, .form textarea::placeholder { color: #5f6880; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 500; margin-bottom: .6rem; padding: 0; }
.chip-check { display: inline-flex !important; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: .9rem; font-weight: 400; color: var(--muted); background: var(--bg); transition: all .15s; }
.chip-check:hover span { border-color: rgba(94,240,192,.5); color: var(--text); }
.chip-check input:checked + span { background: rgba(94,240,192,.12); border-color: var(--accent); color: var(--accent); }
.chip-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 400 !important; color: var(--muted); font-size: .92rem; }
.consent input { width: 18px !important; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.btn-block { width: 100%; justify-self: stretch !important; padding-block: 1rem; }
.form-success { text-align: center; padding: 2rem 1rem; }
.fs-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(94,240,192,.12); color: var(--accent); font-size: 1.8rem; margin-bottom: 1rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-info { position: static; order: 2; } .form-row { grid-template-columns: 1fr; } .contact-form-card { padding: 1.4rem; } }

/* ===== Mobile fixes ===== */
html, body { max-width: 100%; overflow-x: clip; }
.grecaptcha-badge { visibility: hidden !important; }
.form label { display: block; }
.form label > input, .form label > textarea { display: block; margin-top: .45rem; }
.form label .req, .form label .opt { margin-left: .25rem; }
.consent, .chip-check { display: flex !important; }
.chip-check { display: inline-flex !important; }
.contact-form-card, .contact-card, .next-steps { min-width: 0; }
@media (max-width: 600px) {
  .page-head { padding: 3rem 0 2rem; }
  .contact-form-card { padding: 1.25rem; }
  .chip-check span { padding: 6px 12px; font-size: .86rem; }
}
.chip-check { position: relative; }
.form .chip-check input { position: absolute; width: 1px !important; height: 1px; padding: 0; margin: 0; border: 0; opacity: 0; left: 0; top: 0; }

/* ===== Navigation v2 ===== */
.site-header { transition: background .25s, box-shadow .25s, border-color .25s; }
.header-inner { height: 76px; transition: height .25s; gap: 1.5rem; }
.site-header.is-scrolled { background: rgba(11,13,18,.92); box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); }
/* Hauteur fixe : un changement de hauteur du header sticky décale la page et provoque un tremblement en boucle */
.site-nav { display: flex; align-items: center; gap: 1.6rem; flex: 1; justify-content: flex-end; position: static; padding: 0; background: none; border: 0; flex-direction: row; }
.nav-links { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 4px; background: rgba(22,26,35,.6); border: 1px solid var(--border); border-radius: 999px; flex-direction: row; }
.nav-links a { display: block; padding: 7px 16px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.is-current { color: var(--bg); background: var(--accent); }
.nav-extra { display: flex; align-items: center; gap: 1rem; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; border-radius: 999px; }
.nav-mobile-foot { display: none; }
.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 0; z-index: 70; }
.nav-toggle .bar { position: absolute; left: 12px; right: 12px; height: 2px; margin: 0; border-radius: 2px; background: var(--text); transition: transform .3s, opacity .2s, top .3s; }
.nav-toggle .bar:nth-child(1) { top: 15px; } .nav-toggle .bar:nth-child(2) { top: 21px; } .nav-toggle .bar:nth-child(3) { top: 27px; right: 18px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { top: 21px; right: 12px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; margin-left: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .site-nav { position: fixed; inset: 0; z-index: 65; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: 96px 24px 32px; background: radial-gradient(500px 300px at 100% 0%, rgba(124,140,255,.16), transparent 70%), radial-gradient(400px 300px at 0% 100%, rgba(94,240,192,.1), transparent 70%), var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; overflow-y: auto; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; gap: 0; padding: 0; background: none; border: 0; border-radius: 0; }
  .nav-links li { border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; transition-delay: calc(var(--i) * 45ms + 60ms); }
  .site-nav.is-open .nav-links li { opacity: 1; transform: none; }
  .nav-links a { padding: 18px 4px; border-radius: 0; font-size: 1.6rem; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; }
  .nav-links a::after { content: '→'; font-size: 1.1rem; color: var(--muted); transition: transform .2s; }
  .nav-links a:hover { background: none; color: var(--accent); }
  .nav-links a.is-current { background: none; color: var(--accent); }
  .nav-links a.is-current::after { color: var(--accent); }
  .nav-extra { flex-direction: column-reverse; align-items: stretch; gap: 1.2rem; }
  .nav-extra .nav-cta { padding: 1rem; font-size: 1rem; }
  .nav-extra .lang-switch { align-self: flex-start; }
  .nav-mobile-foot { display: flex; flex-direction: column; gap: .3rem; margin-top: auto; padding-top: 1rem; }
  .nav-mobile-foot a { color: var(--accent); }
}
@media (max-width: 960px) and (min-width: 0px) { .brand { position: relative; z-index: 70; } }
@media (prefers-reduced-motion: reduce) { .site-nav, .nav-links li, .nav-toggle .bar { transition: none !important; } }
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: #0b0d12 !important; font-weight: 600; }
.site-nav .lang-switch { display: inline-flex; align-items: stretch; overflow: hidden; flex: none; height: auto; }
.site-nav .lang-switch a { display: inline-flex; align-items: center; padding: 6px 12px; line-height: 1.2; color: var(--muted); }
.site-nav .lang-switch a.is-active { color: var(--bg); }
@media (max-width: 960px) { .site-nav .lang-switch a { padding: 9px 16px; font-size: .9rem; } }
@media (max-width: 960px) {
  /* no backdrop-filter on mobile: it would re-anchor the fixed menu inside the header while it fades out */
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11,13,18,.97); }
  .site-nav { transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
  .site-nav.is-open { transition: opacity .25s, transform .25s, visibility 0s; }
  .nav-links a { -webkit-tap-highlight-color: transparent; }
}
@media (max-width: 960px) {
  body.nav-open .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 80; }
  .site-nav { top: 76px; padding-top: 24px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; height: calc(100dvh - 76px); }
}

/* ===== Pricing ===== */
.pricing-head { text-align: center; }
.pricing-head .lead { margin-inline: auto; }
.pricing-head .notice { max-width: 640px; margin: 1.5rem auto 0; }
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-top: 2rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.billing-toggle button { font: inherit; font-size: .92rem; font-weight: 500; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 8px 18px; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; }
.billing-toggle button.is-active { background: var(--accent); color: var(--bg); }
.billing-toggle .save { font-size: .72rem; font-family: var(--mono); padding: 2px 7px; border-radius: 999px; background: rgba(124,140,255,.2); color: var(--accent-2); }
.billing-toggle button.is-active .save { background: rgba(11,13,18,.15); color: var(--bg); }
.pricing-section[data-billing="M"] .price-y, .pricing-section[data-billing="Y"] .price-m { display: none !important; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem 1.7rem; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.plan.is-featured { border-color: rgba(94,240,192,.55); background: linear-gradient(180deg, rgba(94,240,192,.08), var(--surface) 40%); box-shadow: 0 30px 60px -30px rgba(94,240,192,.25); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--bg); white-space: nowrap; }
.plan-name { font-size: 1.4rem; margin-bottom: .3rem; }
.plan-tag { min-height: 3em; font-size: .94rem; }
.plan-price { margin: 1rem 0 .2rem; }
.plan-price strong { font-size: 2.6rem; letter-spacing: -.03em; }
.plan-price .muted { margin-left: .25rem; }
.plan-note { min-height: 1.4em; margin-bottom: 1.2rem; }
.plan-cta { margin-bottom: 1.6rem; }
.pp-form { margin: 0; }
.pp-form .btn { cursor: pointer; }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; font-size: .94rem; }
.plan-list li { display: flex; gap: .6rem; align-items: baseline; }
.plan-list em { font-style: normal; color: var(--muted); font-size: .88rem; }
.pl-check { color: var(--accent); font-weight: 700; flex: none; }
.pay-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem .7rem; margin-top: 2.2rem; color: var(--muted); font-size: .88rem; }
.pb { padding: 4px 10px; border: 1px solid var(--border); border-radius: 6px; font-weight: 600; font-size: .8rem; color: var(--text); background: var(--surface); }
.pb-paypal { color: #fff; background: #0070ba; border-color: #0070ba; font-style: italic; }
.compare-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--border); border-radius: 16px; }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .94rem; }
.compare th, .compare td { padding: .9rem 1rem; border-bottom: 1px solid var(--border); text-align: center; }
.compare thead th { font-size: 1rem; background: var(--surface); }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text); }
.compare td { color: var(--muted); }
.compare .is-featured { background: rgba(94,240,192,.05); }
.compare thead .is-featured { color: var(--accent); }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: #4a5266; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.center-cta { text-align: center; margin-top: 2.5rem; color: var(--muted); }
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .plan.is-featured { order: -1; } }

/* ===== À la carte ===== */
.cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 2rem; }
.cat-filter button { font: inherit; font-size: .88rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 15px; cursor: pointer; }
.cat-filter button:hover { color: var(--text); border-color: rgba(94,240,192,.5); }
.cat-filter button.is-active { background: rgba(94,240,192,.12); border-color: var(--accent); color: var(--accent); }
.alacarte-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.ac-item { display: flex; flex-direction: column; }
.ac-item[hidden] { display: none; }
.ac-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.ac-name { font-size: 1.15rem; margin: .9rem 0 .4rem; }
.ac-bottom { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--border); }
.ac-price { margin: 0; }
.ac-price strong { font-size: 1.5rem; letter-spacing: -.02em; }
.sb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.service-jump .sj-price { color: var(--accent); border-color: rgba(94,240,192,.4); }
@media (min-width: 961px) and (max-width: 1180px) { .nav-links a { padding: 7px 11px; font-size: .9rem; } .nav-cta { display: none; } }
.nav-cta, .btn { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1400px) { .nav-links a { padding: 7px 12px; } .site-nav { gap: 1rem; } .nav-extra { gap: .7rem; } }

/* ===== Sub-menu & pricing tabs ===== */
.caret-down { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.pricing-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 1.8rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.pricing-tabs a { padding: 8px 18px; border-radius: 9px; font-weight: 500; font-size: .95rem; color: var(--muted); }
.pricing-tabs a:hover { color: var(--text); }
.pricing-tabs a.is-active { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px rgba(94,240,192,.45); }
@media (min-width: 961px) {
  .nav-links .has-sub { position: relative; }
  .sub-menu { position: absolute; top: calc(100% + 12px); left: 50%; width: 290px; list-style: none; margin: 0; padding: 8px; border: 1px solid var(--border); border-radius: 14px; background: #12151d; box-shadow: 0 24px 50px -20px rgba(0,0,0,.8); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s; }
  .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .sub-menu a { display: flex !important; flex-direction: column; gap: 2px; padding: 10px 12px !important; border-radius: 10px !important; color: var(--text) !important; background: none !important; }
  .sub-menu a:hover { background: rgba(94,240,192,.08) !important; }
  .sub-menu strong { font-size: .93rem; font-weight: 600; }
  .sub-menu span { font-size: .8rem; color: var(--muted); font-weight: 400; }
}
@media (max-width: 960px) {
  .caret-down { display: none; }
  .sub-menu { list-style: none; margin: -6px 0 12px; padding: 0 0 0 14px; border-left: 2px solid var(--border); }
  .sub-menu a { padding: 8px 4px !important; font-size: 1.05rem !important; font-weight: 500 !important; color: var(--muted) !important; }
  .sub-menu a::after { content: none !important; }
  .sub-menu span { display: none; }
  .sub-menu strong { font-weight: 500; }
  .nav-links .has-sub { border-bottom: 1px solid var(--border); }
}
@media (max-width: 960px) { .site-nav > * { flex-shrink: 0; } .nav-links li { flex-shrink: 0; } .sub-menu { margin: -4px 0 14px; } }
@media (max-width: 960px) {
  .site-nav { gap: 1.4rem; padding-top: 12px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .nav-links a { padding: 13px 4px; font-size: 1.35rem; }
  .sub-menu { margin: -6px 0 8px; }
  .sub-menu a { padding: 6px 4px !important; font-size: 1rem !important; }
  .sub-menu li { border: 0 !important; }
  .nav-extra { gap: 1rem; }
  .nav-mobile-foot { padding-top: .5rem; }
}
@media (max-width: 960px) and (max-height: 700px) { .nav-links a { padding: 10px 4px; font-size: 1.2rem; } }

/* ===== Mobile submenu: accordion ===== */
@media (max-width: 960px) {
  .nav-links .has-sub > a::after { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s; color: var(--muted); margin-right: 6px; }
  .nav-links .has-sub.is-expanded > a::after { transform: rotate(-135deg) translate(-2px, -2px); color: var(--accent); }
  .nav-links .has-sub.is-expanded > a { color: var(--accent); }
  .sub-menu { display: grid; gap: 8px; margin: 0 !important; padding: 0 !important; border: 0 !important; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .2s, margin .3s; }
  .has-sub.is-expanded .sub-menu { max-height: 260px; opacity: 1; margin: 0 0 14px !important; }
  .sub-menu li { border: 0 !important; }
  .sub-menu a { display: grid !important; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 12px 14px !important; border: 1px solid var(--border); border-radius: 12px !important; background: var(--surface) !important; color: var(--text) !important; }
  .sub-menu a::after { content: '→' !important; grid-row: span 2; color: var(--accent); font-size: 1rem; }
  .sub-menu a:active { border-color: rgba(94,240,192,.5); }
  .sub-menu strong { font-size: 1rem; font-weight: 600 !important; color: var(--text); }
  .sub-menu span { display: block !important; font-size: .82rem; color: var(--muted); font-weight: 400; }
  .nav-links .has-sub { border-bottom: 1px solid var(--border); }
}
@media (max-width: 960px) {
  .sub-menu a { grid-template-columns: minmax(0,1fr) auto !important; grid-template-rows: auto auto; justify-content: stretch !important; }
  .sub-menu strong { grid-column: 1; grid-row: 1; line-height: 1.3; }
  .sub-menu span { grid-column: 1; grid-row: 2; margin-top: 2px; line-height: 1.35; }
  .sub-menu a::after { grid-column: 2 !important; grid-row: 1 / 3 !important; align-self: center; }
}

/* ===== Home pricing teaser ===== */
.hp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2rem; }
.hp-plan { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.7rem; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); color: var(--text); transition: transform .2s, border-color .2s; }
.hp-plan:hover { transform: translateY(-3px); border-color: rgba(94,240,192,.5); color: var(--text); }
.hp-plan.is-featured { border-color: rgba(94,240,192,.55); background: linear-gradient(180deg, rgba(94,240,192,.08), var(--surface) 45%); }
.hp-plan-name { font-weight: 700; font-size: 1.2rem; }
.hp-plan-price strong { font-size: 2.1rem; letter-spacing: -.03em; }
.hp-plan-tag { font-size: .92rem; min-height: 2.8em; }
.hp-plan ul { list-style: none; padding: 0; margin: .4rem 0 1rem; display: grid; gap: .45rem; font-size: .9rem; }
.hp-plan li::before { content: '✓'; color: var(--accent); font-weight: 700; margin-right: .5rem; }
.hp-plan .link-arrow { margin-top: auto; }
.hp-alacarte { margin-top: 3rem; padding: 2rem; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-alt); }
.hp-ac-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.hp-ac-head h3 { margin-bottom: .3rem; }
.hp-ac-head p { margin: 0; }
.hp-ac-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.hp-ac-item { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 1rem; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); }
.hp-ac-item:hover { border-color: rgba(94,240,192,.5); color: var(--text); }
.hp-ac-name { font-weight: 600; }
.hp-ac-meta { grid-row: 2; }
.hp-ac-price { grid-column: 2; grid-row: 1 / 3; align-self: center; font-weight: 700; font-size: 1.15rem; color: var(--accent); }
@media (max-width: 900px) { .hp-plans { grid-template-columns: 1fr; } .hp-plan.is-featured { order: -1; } .hp-alacarte { padding: 1.3rem; } }
@media (min-width: 961px) {
  .nav-links > li > a { display: inline-flex; align-items: center; white-space: nowrap; }
  .caret-down { margin-left: 8px; transform: translateY(-2px) rotate(45deg); }
  .nav-links .sub-menu { display: flex; flex-direction: column; gap: 2px; width: 300px; background: #12151d; border-radius: 14px; }
  .nav-links .sub-menu li { width: 100%; }
  .nav-links .sub-menu a { white-space: normal; }
}
/* Service blocks: number in the top-right corner */
.service-block { position: relative; }
.sb-head > .mono { position: absolute; top: 2.2rem; right: 2.2rem; font-size: .95rem; }
/* Footer CTA: centree a cheval entre la derniere section et le footer */
.footer-cta { box-sizing: border-box; width: calc(100% - 40px); margin-left: auto; margin-right: auto; }
/* Consecutive sections with the same background: don't double the spacing */
.section:not(.section-alt):not(.cta-band):not(.v2-reviews) + .section:not(.section-alt):not(.cta-band):not(.v2-reviews) { padding-top: 0; }
@media (max-width: 700px) {
  .service-block { grid-template-columns: 1fr !important; gap: 1rem; padding: 1.4rem; }
  .sb-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .service-icon.lg { width: 52px; height: 52px; border-radius: 14px; }
  .service-icon.lg svg { width: 26px; height: 26px; }
  .sb-head > .mono { top: 1.4rem; right: 1.4rem; }
  .sb-actions .btn { width: 100%; }
}
@media (min-width: 901px) {
  .services-grid { grid-template-columns: repeat(6, 1fr); }
  .services-grid > .service { grid-column: span 2; }
  .services-grid > .service:nth-child(4), .services-grid > .service:nth-child(5) { grid-column: span 3; }
}
@media (min-width: 601px) and (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .services-grid > .service:last-child { grid-column: 1 / -1; } }
.brand picture { display: flex; flex: none; }
.brand-logo { max-width: none; aspect-ratio: 2 / 1; object-fit: contain; }
/* Footer CTA : quand la derniere section a le fond alterne, la bande sous le CTA garde ce fond (pas de bande sombre) */
main:has(> .section-alt:last-child, > .stack-band:last-child) { background: linear-gradient(var(--bg-alt), var(--bg-alt)) bottom / 100% 64px no-repeat; }
main > .section-alt:last-child, main > .stack-band:last-child { border-bottom: 0; }
/* Menu desktop : style "code" (mono, page active en "/ Accueil") */
@media (min-width: 961px) {
  .nav-links { background: none; border: 0; padding: 0; gap: 0; }
  .nav-links > li > a { font-family: var(--mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; padding: 7px 9px; border-radius: 8px; color: var(--muted); background: none; }
  .nav-links > li > a:hover { color: var(--text); background: none; }
  .nav-links > li > a.is-current { color: var(--accent); background: none; }
  .nav-links > li > a.is-current::before { content: '/ '; color: var(--accent-2); white-space: pre; }
}
@media (min-width: 961px) and (max-width: 1400px) { .nav-links > li > a { padding: 7px 8px; } }
/* Pourquoi nous v2 : expertise a gauche, cartes 2x2 */
.why-grid { grid-template-columns: 1fr 1.25fr; align-items: center; }
.why-left .lead { margin-bottom: 2rem; }
.why-stats { border-top: 1px solid var(--border); }
.why-stat { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.why-stat b { flex: none; min-width: 72px; font-size: 1.6rem; letter-spacing: -.02em; color: var(--text); }
.why-stat b i { font-style: normal; color: var(--accent); }
.why-stat span { color: var(--muted); font-size: .95rem; }
.why-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { position: relative; padding: 26px 24px 24px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(160deg, var(--surface), var(--bg-alt)); overflow: hidden; transition: border-color .2s, transform .2s; }
.why-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: 0; transition: opacity .2s; }
.why-card:hover { border-color: rgba(94,240,192,.4); transform: translateY(-2px); }
.why-card:hover::before { opacity: 1; }
.why-num { position: absolute; top: 22px; right: 22px; font-size: .8rem; color: #4a5268; }
.why-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(94,240,192,.1); margin-bottom: 18px; }
.why-ic svg { width: 21px; height: 21px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card:nth-child(even) .why-ic { background: rgba(124,140,255,.12); }
.why-card:nth-child(even) .why-ic svg { stroke: var(--accent-2); }
.why-card strong { display: block; font-size: 1.08rem; margin-bottom: 6px; }
.why-card p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .why-card { transition: none; } .why-card:hover { transform: none; } }
