/*!
 * labo4you — styles.css
 * @version 2.3
 * @updated 2026-05-20
 */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    --primary: #ff4d00;
    --primary-dark: #c53800;
    --secondary: #ffd23f;
    --blue: #0077b6;
    --blue-dark: #063b5b;
    --ink: #151515;
    --muted: #5c6470;
    --line: #ece7dc;
    --cream: #fff8ea;
    --white: #ffffff;
    --green: #18a66a;
    --shadow: 0 24px 70px rgba(21, 21, 21, .12);
    --radius: 28px;
    --radius-sm: 18px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: #fffdf8;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--ink); color: white; padding: 10px; z-index: 99; }
.skip-link:focus { left: 10px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 253, 248, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(236, 231, 220, .9);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--ink);
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 12px 28px rgba(255, 77, 0, .28);
}
.brand small { display: block; color: var(--muted); font-weight: 700; font-size: 12px; margin-top: -3px; }
.main-nav { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; }
.main-nav a { padding: 10px 12px; border-radius: 999px; color: #2e2e2e; }
.main-nav a:hover, .main-nav a.active { background: var(--ink); color: white; }
.main-nav a:last-child { background: var(--primary); color: white; box-shadow: 0 10px 24px rgba(255, 77, 0, .24); }
.nav-toggle { display: none; background: white; border: 1px solid var(--line); border-radius: 14px; width: 46px; height: 42px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

h1, h2, h3 { font-family: 'Space Grotesk', 'Manrope', sans-serif; line-height: 1.05; margin: 0 0 18px; letter-spacing: -.04em; }
h1 { font-size: clamp(42px, 7vw, 82px); }
h2 { font-size: clamp(32px, 4.2vw, 54px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: clamp(18px, 2vw, 22px); color: #333; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-dark); background: #fff0d1; border: 1px solid #ffe0a1; padding: 8px 13px; border-radius: 999px; font-weight: 900; margin-bottom: 18px; }
.text-gradient { background: linear-gradient(90deg, var(--primary), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero { padding: 70px 0 46px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 44px; }
.hero-copy { position: relative; z-index: 2; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 900;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), #ff8a00); color: white; box-shadow: 0 16px 36px rgba(255, 77, 0, .28); }
.btn-dark { background: var(--ink); color: white; }
.btn-outline { background: white; color: var(--ink); border-color: var(--line); }
.btn-yellow { background: var(--secondary); color: var(--ink); }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; color: #333; font-weight: 800; }
.trust-row span { background: white; border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; box-shadow: 0 10px 25px rgba(0,0,0,.04); }

.hero-visual { position: relative; min-height: 520px; }
.hero-card-img {
    position: absolute;
    inset: 0 0 40px 40px;
    border-radius: 38px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.floating-panel {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(360px, 92%);
    background: var(--ink);
    color: white;
    border-radius: 26px;
    padding: 22px;
    box-shadow: var(--shadow);
}
.floating-panel p { color: rgba(255,255,255,.76); margin-bottom: 10px; }
.maps-card { display: grid; gap: 10px; }
.map-result { display: flex; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.08); padding: 10px; border-radius: 14px; font-weight: 800; }
.map-result strong { color: var(--secondary); }
.stats-ribbon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.stat { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: 0 12px 35px rgba(0,0,0,.05); }
.stat strong { display: block; font-family: 'Space Grotesk'; font-size: 34px; color: var(--primary); line-height: 1; }
.stat span { color: var(--muted); font-weight: 800; }

.section { padding: 78px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--ink); color: white; }
.section.dark p, .section.dark .muted { color: rgba(255,255,255,.72); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head p { max-width: 590px; }
.center { text-align: center; max-width: 840px; margin: 0 auto 36px; }

.problem-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card, .problem-card, .price-card, .case-card, .metric-card, .service-card, .job-card, .faq-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 16px 42px rgba(21,21,21,.06);
}
.problem-card { position: relative; overflow: hidden; }
.problem-card:before { content: ''; position: absolute; inset: 0 auto auto 0; width: 7px; height: 100%; background: linear-gradient(var(--primary), var(--secondary)); }
.icon-badge { width: 48px; height: 48px; border-radius: 16px; background: #fff0d1; color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.icon-badge.blue { background: #e6f7ff; color: var(--blue); }
.icon-badge.dark { background: var(--ink); color: var(--secondary); }

.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.timeline { display: grid; gap: 16px; counter-reset: step; }
.step { counter-increment: step; background: white; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.step:before { content: counter(step); width: 54px; height: 54px; border-radius: 18px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: grid; place-items: center; font-family: 'Space Grotesk'; font-size: 28px; font-weight: 900; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.image-stack { position: relative; min-height: 470px; }
.image-stack img { position: absolute; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }
.image-stack .img-main { width: 78%; height: 390px; left: 0; top: 0; }
.image-stack .img-small { width: 48%; height: 240px; right: 0; bottom: 0; border: 8px solid white; }
.check-list { display: grid; gap: 12px; margin: 22px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: #333; font-weight: 800; }
.check-list li:before { content: '✓'; color: white; background: var(--green); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 24px; font-size: 14px; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pillar { padding: 34px; border-radius: 34px; background: white; border: 1px solid var(--line); position: relative; overflow: hidden; }
.pillar:nth-child(2) { background: var(--ink); color: white; }
.pillar:nth-child(2) p, .pillar:nth-child(2) li { color: rgba(255,255,255,.78); }
.pillar .big-number { position: absolute; right: 22px; top: 12px; font-family: 'Space Grotesk'; font-size: 90px; color: rgba(255,77,0,.1); }

.jobs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.job-card { padding: 18px; border-radius: 22px; text-align: center; font-weight: 900; }
.job-card i { margin: 0 auto 10px; color: var(--primary); }
.job-card:hover { transform: translateY(-4px); border-color: var(--primary); transition: .22s ease; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border: 3px solid var(--primary); transform: scale(1.03); }
.tag { display: inline-flex; align-self: flex-start; background: var(--secondary); color: var(--ink); padding: 7px 12px; border-radius: 999px; font-weight: 900; margin-bottom: 18px; }
.price { font-family: 'Space Grotesk'; font-size: 44px; font-weight: 900; color: var(--primary); margin: 8px 0; }
.price small { display: block; color: var(--muted); font-size: 14px; font-family: Manrope; }
.price-card ul { padding: 0; list-style: none; display: grid; gap: 10px; margin: 18px 0 24px; }
.price-card li:before { content: '•'; color: var(--primary); font-weight: 900; margin-right: 8px; }
.price-card .btn { margin-top: auto; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { overflow: hidden; padding: 0; }
.case-card img { width: 100%; height: 210px; object-fit: cover; }
.case-body { padding: 24px; }
.metric { display: inline-flex; background: #eafff4; color: #087746; font-weight: 900; border-radius: 999px; padding: 8px 12px; margin-bottom: 12px; }

.audit-widget { background: linear-gradient(135deg, var(--ink), #27313b); color: white; border-radius: 36px; padding: 34px; box-shadow: var(--shadow); }
.audit-widget p { color: rgba(255,255,255,.74); }
.widget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.range-row { display: grid; gap: 8px; margin: 16px 0; }
.range-row label { font-weight: 900; }
.range-row input { accent-color: var(--secondary); width: 100%; }
.score-box { background: white; color: var(--ink); border-radius: 28px; padding: 28px; text-align: center; }
.score-box strong { display: block; font-family: 'Space Grotesk'; font-size: 70px; color: var(--primary); line-height: 1; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item h3 { font-size: 22px; margin-bottom: 10px; }
.cta-band { background: linear-gradient(135deg, var(--primary), #ff8a00 55%, var(--secondary)); border-radius: 40px; padding: clamp(30px, 6vw, 62px); color: white; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; box-shadow: var(--shadow); }
.cta-band p { color: rgba(255,255,255,.86); }
.cta-band .btn { justify-self: end; }

.page-hero { padding: 74px 0 44px; background: radial-gradient(circle at 10% 0%, #fff0d1, transparent 35%), radial-gradient(circle at 90% 15%, #dff5ff, transparent 34%); }
.page-hero .container { display: grid; grid-template-columns: 1fr .72fr; gap: 42px; align-items: center; }
.page-hero img { border-radius: 36px; height: 370px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--muted); font-weight: 800; }
.breadcrumb a { color: var(--primary-dark); }

.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; }
.service-card .btn { margin-top: auto; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric-card strong { display: block; font-family: 'Space Grotesk'; font-size: 36px; color: var(--primary); }
.form-card { background: white; border-radius: 32px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 8px; margin-bottom: 14px; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 900; }
input, select, textarea { width: 100%; border: 1px solid #ddd4c6; border-radius: 16px; padding: 14px 15px; font: inherit; background: #fffdf8; }
textarea { min-height: 130px; resize: vertical; }
.success { background: #eafff4; border: 1px solid #b9f0d1; color: #075c36; padding: 16px; border-radius: 18px; font-weight: 900; margin-bottom: 18px; }

.reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 78px; background: white; border: 1px solid var(--line); border-radius: 24px; padding: 14px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 13px 16px; }
    .hero-grid, .split, .method, .page-hero .container, .widget-grid, .cta-band { grid-template-columns: 1fr; }
    .hero-visual { min-height: 430px; }
    .hero-card-img { inset: 0 0 40px 20px; }
    .problem-grid, .card-grid, .pricing, .case-grid, .service-list { grid-template-columns: 1fr 1fr; }
    .jobs-grid { grid-template-columns: repeat(3, 1fr); }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .cta-band .btn { justify-self: start; }
}

@media (max-width: 680px) {
    .container { width: min(100% - 24px, var(--container)); }
    .hero { padding-top: 42px; }
    .hero-visual { min-height: 360px; }
    .stats-ribbon, .problem-grid, .card-grid, .pillars, .pricing, .case-grid, .service-list, .faq, .metrics-grid, .form-grid { grid-template-columns: 1fr; }
    .jobs-grid { grid-template-columns: 1fr 1fr; }
    .section-head { display: block; }
    .image-stack { min-height: 380px; }
    .image-stack .img-main { height: 310px; width: 86%; }
    .image-stack .img-small { height: 180px; width: 58%; }
    .price-card.featured { transform: none; }
    .step { grid-template-columns: 1fr; }
    .page-hero img { height: 260px; }
    .footer-grid { grid-template-columns: 1fr; }
}

.site-footer { background: #111; color: white; padding: 58px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; }
.site-footer p { color: rgba(255,255,255,.68); }
.site-footer h2 { font-size: 18px; letter-spacing: 0; margin-bottom: 14px; }
.site-footer a:not(.brand) { display: block; color: rgba(255,255,255,.74); margin: 9px 0; font-weight: 700; }
.site-footer a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.58); font-weight: 700; font-size: 14px; }
.footer-brand .brand-mark { box-shadow: none; }
.footer-note { font-size: 14px; margin-top: 14px; }

/* SEO bloc — placé après <nav> dans le source, repositionné en bas via flex order */
body:has(#seo) main { display: flex; flex-direction: column; }
#seo { order: 999; background: var(--cream); border-top: 1px solid var(--line); padding: 64px 0 72px; }
#seo > * { width: min(100% - 32px, var(--container)); margin-left: auto; margin-right: auto; }
#seo h2 { font-family: 'Space Grotesk', 'Manrope', sans-serif; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.25; margin: 0 0 18px; color: var(--ink); max-width: 70ch; }
#seo h3 { font-family: 'Space Grotesk', 'Manrope', sans-serif; font-size: 1.25rem; line-height: 1.3; margin: 34px auto 12px; color: var(--ink); max-width: 70ch; }
#seo p { color: var(--muted); max-width: 70ch; margin: 0 auto 14px; font-size: 1rem; line-height: 1.7; }
#seo ul { max-width: 70ch; margin: 8px auto 18px; padding-left: 22px; color: var(--muted); line-height: 1.7; }
#seo li { margin-bottom: 8px; }
#seo li::marker { color: var(--primary); }

@media (max-width: 680px) {
    #seo { padding: 48px 0 56px; }
    #seo h3 { margin-top: 26px; }
}