/* ═══════════════════════════════════════════════════════════
   TRACE7 — Site vitrine
   Charte graphique Antifragile Hardware
   ═══════════════════════════════════════════════════════════ */

:root {
    --noir-mat: #1a1a1a;
    --blanc-tactique: #f5f5f5;
    --orange-alerte: #ff6b35;
    --teal-industrie: #4A7F8A;
    --rouge-critique: #B84848;
    --gris-metal: #4a4a4a;
    --gris-acier: #8a8a8a;

    --bg: var(--noir-mat);
    --text: var(--blanc-tactique);
    --accent: var(--orange-alerte);
    --accent-secondary: var(--teal-industrie);
    --accent-critical: var(--rouge-critique);
    --border: var(--gris-metal);
    --text-secondary: var(--gris-acier);

    --nav-button-size: 2.5rem;

    --fs-display: clamp(2.5rem, 6vw, 4rem);
    --fs-hero: clamp(2.75rem, 6vw, 3.75rem);
    --fs-h3: 1.25rem;
    --fs-lead: 1.35rem;
    --fs-subtitle: 1.25rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-caption: 0.75rem;
}

html.light {
    --bg: #ffffff;
    --text: #1a1a1a;
    --border: #e0e0e0;
}

body {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(74, 127, 138, 0.06) 0%, transparent 50%),
        var(--bg);
}

html.light body {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(74, 127, 138, 0.04) 0%, transparent 50%),
        var(--bg);
}

.section--gradient-orange {
    background: radial-gradient(ellipse at 0% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 60%), transparent;
}

.section--gradient-teal {
    background: radial-gradient(ellipse at 100% 50%, rgba(74, 127, 138, 0.1) 0%, transparent 60%), transparent;
}

.section--grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

html.light .section--grid {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text);
    font-size: 1.25rem;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
    padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
    min-height: 100vh;
}

/* ACCESSIBILITY */
.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: var(--bg); padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px; font-weight: 600; text-decoration: none; z-index: 10000;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* CONTAINER */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* HEADER */
.site-header { margin-bottom: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.site-title { font-size: var(--fs-h3); font-weight: 700; text-decoration: none; color: var(--text); letter-spacing: -0.02em; }
.text-accent { color: var(--accent); }

.header-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px; padding: 0.375rem 1rem; font-size: var(--fs-small); color: var(--gris-acier);
}
html.light .header-badge { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); }
.badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* THEME TOGGLE */
.theme-toggle {
    position: fixed; top: 2rem; right: 2rem; z-index: 1000;
    width: 60px; height: 32px; background: var(--border); border-radius: 16px; cursor: pointer;
    transition: background 0.3s;
}
.theme-toggle-thumb {
    position: absolute; width: 28px; height: 28px; background: var(--bg); border-radius: 50%;
    top: 2px; left: 2px; transition: transform 0.3s; display: flex; align-items: center; justify-content: center;
}
.theme-toggle-icon { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.theme-toggle-icon svg { width: 14px; height: 14px; }
html.light .theme-toggle-thumb { transform: translateX(28px); }
.theme-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ICONS */
.icon-sm { width: 1em; height: 1em; }
.icon-accent { stroke: var(--accent); color: var(--accent); }

/* SECTIONS */
.section {
    min-height: 100dvh; min-height: 100vh; padding: 4rem 2rem;
    display: flex; flex-direction: column; justify-content: center;
}
.section--compact { min-height: auto; padding: 3rem 2rem; }
.section-title { font-size: var(--fs-display); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.section-accroche { font-size: var(--fs-lead); line-height: 1.6; max-width: 800px; margin-bottom: 3rem; }

.section-content { max-width: 42rem; margin: 0 auto; }
.section-content p { margin-bottom: 1.5rem; line-height: 1.7; }
.section-content strong { color: var(--accent); font-weight: 600; }
.section-content a { color: var(--accent); text-decoration: none; font-weight: 500; }
.section-content a:hover { text-decoration: underline; }
.section-content a:visited { color: var(--accent); }

.section-content--narrow { max-width: 700px; margin: 0 auto; text-align: center; }
.section-content--narrow p { margin-bottom: 1.5rem; line-height: 1.7; }
.section-content--narrow strong { color: var(--accent); font-weight: 600; }

.section-punchline { margin-top: 3rem; margin-bottom: 2rem; max-width: 800px; }
.section-punchline p { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.5; }

.section-cta { margin: 2rem auto 0; max-width: 900px; text-align: center; }
.section-cta__buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.section--cta { text-align: center; min-height: auto; padding: 6rem 2rem; justify-content: center; }
.cta-intro { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }

/* HERO */
.section--hero {
    padding-top: 2rem; padding-bottom: 6rem; justify-content: flex-start;
    min-height: 100dvh; height: auto;
}
.section--hero .container { display: flex; flex-direction: column; flex: 1; }
.hero-content { margin-block: auto; }
.hero-headline {
    font-size: var(--fs-hero); font-weight: 700; line-height: 1.15;
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
}
.hero-subheadline {
    font-size: var(--fs-lead); line-height: 1.6; margin-bottom: clamp(2rem, 4vh, 3rem);
    color: var(--gris-acier); max-width: 900px;
}
.hero-cta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: clamp(2rem, 4vh, 3rem); }

/* GRID */
.section-grid { display: grid; gap: 2rem; margin-bottom: 3rem; align-items: stretch; }
.section-grid--3 { grid-template-columns: repeat(3, 1fr); }
.section-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* CARDS */
.section-card {
    padding: 1.5rem; background: var(--bg); border-radius: 8px; border: 1px solid var(--gris-acier);
    display: flex; flex-direction: column;
}
html.light .section-card { background: var(--blanc-tactique); border-color: #ddd; }

.section-card h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: 1rem; color: var(--accent); }
.section-card p { font-size: var(--fs-body); line-height: 1.6; }
.section-card__highlight { margin-top: 1rem; font-weight: 500; color: var(--accent); }
.section-card--accent { border-color: var(--accent); border-width: 2px; background: rgba(255, 107, 53, 0.06); }
html.light .section-card--accent { background: rgba(255, 107, 53, 0.06); border-color: var(--accent); }

.card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.card-icon--red { background: rgba(239, 68, 68, 0.1); color: #f87171; }
.card-icon--amber { background: rgba(245, 158, 11, 0.1); color: #fbbf24; }
.card-icon--blue { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }

/* PROOF CARD */
.proof-card {
    display: flex; align-items: center; gap: 2rem; max-width: 700px; margin: 0 auto 1.5rem;
    padding: 1.5rem 2rem; border: 1px solid var(--border); border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}
html.light .proof-card { background: rgba(0, 0, 0, 0.02); }
.proof-card__result { display: flex; flex-direction: column; align-items: center; min-width: 100px; flex-shrink: 0; }
.proof-card__number { font-size: 2.5rem; font-weight: 700; color: var(--accent); line-height: 1; }
.proof-card__label { font-size: var(--fs-small); color: var(--text-secondary); text-align: center; }
.proof-card__context p { margin: 0; font-size: var(--fs-small); color: var(--text-secondary); }
.proof-card__context p:first-child { font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
.proof-card__detail { font-size: var(--fs-small); line-height: 1.6; color: #999; }

/* BUTTONS */
.cta-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1rem 2rem; min-height: 48px; background: var(--accent); color: var(--bg);
    text-decoration: none; font-weight: 600; font-size: var(--fs-body); border-radius: 4px;
    border: 1px solid var(--accent); transition: all 0.3s ease; cursor: pointer;
}
.cta-button:hover { background: transparent; color: var(--accent); }
.cta-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cta-button--secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.cta-button--secondary:hover { background: var(--accent); color: var(--bg); }
.cta-button--teal { background: var(--teal-industrie); border-color: var(--teal-industrie); color: #fff; }
.cta-button--teal:hover { background: transparent; color: var(--teal-industrie); }
.cta-button--large { font-size: 1.25rem; padding: 1.25rem 2.5rem; }

.whatsapp-icon { width: 16px; height: 16px; fill: currentColor; }

/* HIGHLIGHTS */
.highlight-bg--teal, .highlight-bg--rouge {
    padding: 0.1em 0.3em; border-radius: 4px; font-weight: 600;
    background-size: 0% 100%; background-repeat: no-repeat;
    transition: background-size 0.6s ease-out, color 0.3s ease-out 0.3s;
}
.highlight-bg--teal { background-image: linear-gradient(var(--teal-industrie), var(--teal-industrie)); }
.highlight-bg--rouge { background-image: linear-gradient(var(--rouge-critique), var(--rouge-critique)); }
.highlight-bg--teal.highlighted, .highlight-bg--rouge.highlighted { background-size: 100% 100%; color: var(--bg); }

.link-accent { color: var(--accent); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.link-accent:hover { text-decoration: underline; }
.link-accent:visited { color: var(--accent); }

/* TRIPTYQUE */
.section--triptyque { min-height: auto; padding: 2rem 2rem 1rem; display: flex; align-items: center; justify-content: center; }
.section--triptyque .container { display: flex; justify-content: center; }
.triptyque { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1em 0; }
.triptyque-line {
    display: flex; align-items: baseline; gap: 0.4em;
    font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 700; line-height: 1.15;
    opacity: 0; transform: translateY(30px);
}
.triptyque-verb { color: var(--accent); }
.triptyque-article { color: var(--text); font-weight: 400; opacity: 0.7; }
.triptyque-noun { color: var(--text); min-width: 8ch; display: inline-block; }

/* TESTIMONIAL */
.testimonial {
    max-width: 700px; margin: 3rem auto 0; padding: 2rem; border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.02);
}
html.light .testimonial { background: rgba(0, 0, 0, 0.02); }
.testimonial__quote { font-size: 1.1rem; font-style: italic; line-height: 1.7; margin: 0 0 1rem; }
.testimonial__author { font-size: var(--fs-small); color: var(--text-secondary); font-style: normal; }

/* BETA CARD */
.beta-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 900px; margin: 2rem auto;
    padding: 2.5rem; border: 2px solid var(--accent); border-radius: 12px;
    background: rgba(255, 107, 53, 0.04);
}
html.light .beta-card { background: rgba(255, 107, 53, 0.04); }
.beta-card h3 { font-size: var(--fs-h3); font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.beta-card h3 + h3, .beta-card .beta-features + h3 { margin-top: 2rem; }

.beta-features { list-style: none; padding: 0; }
.beta-features li {
    position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; line-height: 1.5; font-size: var(--fs-body);
}
.beta-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.beta-features--ask li::before { content: "→"; color: var(--teal-industrie); }

.beta-card__form { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.tally-embed { text-align: center; }
.tally-reassurance { font-size: var(--fs-small); color: var(--text-secondary); margin-top: 1rem; }

/* FAQ */
.faq-item {
    margin-bottom: 1rem; padding: 1rem 1.5rem; border: 1px solid var(--border);
    border-radius: 8px; background: rgba(255, 255, 255, 0.02);
}
html.light .faq-item { background: rgba(0, 0, 0, 0.02); }
.faq-item[open] { border-color: var(--accent); background: rgba(255, 107, 53, 0.05); }
.faq-question {
    font-size: var(--fs-lead); font-weight: 600; cursor: pointer; list-style: none;
    position: relative; padding-left: 1.5rem; min-height: 44px; display: flex; align-items: center;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }
.faq-question::before { content: "▾"; position: absolute; left: 0; color: var(--accent); font-size: 0.8em; transition: transform 0.3s ease; }
.faq-item[open] .faq-question::before { transform: rotate(180deg); }
.faq-answer { margin-top: 1rem; font-size: var(--fs-body); line-height: 1.6; color: var(--gris-acier); }
.faq-answer a { color: var(--accent); text-decoration: none; font-weight: 500; }
.faq-answer a:hover { text-decoration: underline; }

/* BOTTOM BAR */
.bottom-bar {
    position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 999;
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    padding: 0.75rem; background: var(--bg); transition: background 0.3s;
    width: auto; max-width: calc(100% - 2rem); flex-shrink: 0;
}
.bottom-bar::before { content: ""; position: absolute; top: 0; left: 1.25rem; right: 1.25rem; height: 1px; background: var(--border); }
.bottom-bar-crosshair {
    position: absolute; top: 0; transform: translateY(-50%);
    font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; font-weight: 300;
    color: var(--border); line-height: 1; background: var(--bg); padding: 0 2px;
}
.bottom-bar-crosshair--left { left: 1.25rem; transform: translate(-50%, -50%); }
.bottom-bar-crosshair--right { right: 1.25rem; transform: translate(50%, -50%); }

.whatsapp-button {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.5rem 1rem; background: var(--accent); color: var(--bg); text-decoration: none;
    border-radius: 999px; font-size: 0.9rem; font-weight: 600; transition: all 0.3s;
    white-space: nowrap; box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3); flex-shrink: 0;
}
.whatsapp-button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4); }

.logo-button {
    display: flex; align-items: center; justify-content: center; text-decoration: none;
    transition: all 0.3s; flex-shrink: 0; height: var(--nav-button-size);
}
.logo-button__text { font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }

.nav-sticky { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; }
.nav-sticky__inner { display: flex; align-items: center; gap: 0.25rem; }
.nav-sticky__item {
    position: relative; padding: 0.5rem 1rem; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text); text-decoration: none; font-size: var(--fs-small);
    font-weight: 500; transition: color 0.3s; border-radius: 8px; text-align: center;
}
.nav-sticky__item[data-section] { min-width: 5.5rem; }
@media (hover: hover) { .nav-sticky__item:hover { color: var(--accent); background: rgba(255, 107, 53, 0.1); } }
.nav-sticky__item.active { color: var(--accent); }
.nav-sticky__progress {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    height: 2px; width: 0%; background: var(--accent); border-radius: 1px; transition: width 0.1s linear;
}

/* FOOTER */
.footer-section { padding: 2rem 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: start; }
.footer-column { font-size: var(--fs-small); line-height: 1.8; }
.footer-column--center { text-align: center; }
.footer-column--right { text-align: right; }
.footer-column p { margin-bottom: 1rem; }
.footer-motto { font-family: 'IBM Plex Mono', monospace; font-size: var(--fs-body); color: var(--gris-acier); font-style: italic; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-link { color: var(--text); text-decoration: none; transition: color 0.3s; }
.footer-link:hover { color: var(--accent); }
.footer-link:visited { color: var(--text); }

/* LEGAL */
.legal-summary-box { padding: 1.5rem; border: 1px solid var(--accent); border-radius: 8px; background: color-mix(in srgb, var(--accent) 5%, transparent); margin-bottom: 2rem; }
.section-content h2 { font-size: var(--fs-h3); font-weight: 700; color: var(--accent); margin: 2rem 0 1rem; }
.section-content h3 { font-size: var(--fs-body); font-weight: 600; margin: 1.5rem 0 0.75rem; }
.section-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.section-content li { margin-bottom: 0.5rem; line-height: 1.6; }

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */

@media (min-width: 768px) {
    .bottom-bar { bottom: 1.5rem; padding: 0.5rem 1rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .bottom-bar .whatsapp-button span { display: none; }
    .bottom-bar .whatsapp-button { padding: 0.5rem; width: var(--nav-button-size); height: var(--nav-button-size); border-radius: 50%; }
}

@media (max-width: 767px) {
    .theme-toggle { top: 1rem; right: 1rem; }
    .site-title { font-size: 1.2rem; }
    .header-badge { font-size: var(--fs-caption); padding: 0.25rem 0.75rem; }

    .section-grid--3, .section-grid--2 { grid-template-columns: 1fr; }
    .section-cta__buttons { flex-direction: column; }
    .section-cta__buttons .cta-button { width: 100%; justify-content: center; }

    .section--hero { padding-top: 1rem; padding-bottom: 5rem; padding-left: 1rem; padding-right: 1rem; }
    .site-header { margin-bottom: clamp(1rem, 3vh, 2rem); }
    .hero-headline { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    .hero-subheadline { font-size: clamp(1rem, 2.5vw, 1.1rem); }
    .hero-cta { gap: 0.5rem; flex-direction: column; }
    .hero-cta .cta-button { width: 100%; justify-content: center; }

    .section:not(.section--hero) { padding: 3rem 1rem; }
    .section--compact { padding: 2rem 1rem; }
    .section-title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
    .section-accroche { font-size: var(--fs-body); }
    .section-punchline p { font-size: clamp(1.15rem, 4vw, 1.5rem); }
    .section-content--narrow { text-align: left; }

    .proof-card { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }

    .beta-card { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem; }

    .testimonial { padding: 1.25rem; margin: 2rem auto 0; }
    .testimonial__quote { font-size: var(--fs-body); }

    .nav-sticky { flex: 1; min-width: 0; margin: 0 0.5rem; }
    .nav-sticky__inner { width: 100%; gap: 0; }
    .nav-sticky__item, .nav-sticky__item[data-section] { flex: 1 1 0; min-width: 0; padding: 0.5rem 0.25rem; font-size: var(--fs-small); }

    .logo-button { width: 2rem; height: 2rem; }
    .logo-button__text { font-size: 0.8rem; }

    .bottom-bar .whatsapp-button span { display: none; }
    .bottom-bar .whatsapp-button { padding: 0.5rem; width: 2rem; height: 2rem; border-radius: 50%; }
    .bottom-bar {
        width: 100%; max-width: 100%; left: 0; transform: none; bottom: 0;
        padding: 0.75rem 1rem; padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        gap: 0.5rem; border-radius: 0; min-height: 3.5rem;
    }
    .bottom-bar-crosshair--left { left: 1rem; }
    .bottom-bar-crosshair--right { right: 1rem; }
    .bottom-bar::before { left: 1rem; right: 1rem; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
    .footer-column, .footer-column--center, .footer-column--right { text-align: center; }
    .footer-links { display: flex; flex-direction: column; align-items: center; }

    .faq-item { padding: 0.75rem 1rem; }
    .faq-question { font-size: var(--fs-body); padding-left: 1.25rem; }

    .section--triptyque { padding: 1rem 1rem 0.5rem; }
    .triptyque { gap: 0.15rem; padding: 0.25em 0; }
    .triptyque-line { font-size: clamp(1.15rem, 4.5vw, 1.5rem); gap: 0.2em; }
    .triptyque-noun { min-width: auto; }
}

/* ═══════════════════════════════════
   PRODUCT SCREENSHOTS
   ═══════════════════════════════════ */

.product-screenshots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-screenshot { margin: 0; }

.product-screenshot figcaption {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    margin-top: 0.75rem;
    line-height: 1.5;
}

.screenshot-placeholder {
    aspect-ratio: 16 / 10;
    border: 2px dashed var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

html.light .screenshot-placeholder {
    background: rgba(0, 0, 0, 0.02);
}

.screenshot-placeholder__label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: var(--fs-small);
    color: var(--text-secondary);
    text-align: center;
}

.product-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
}

@media (max-width: 767px) {
    .product-screenshots { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ═══════════════════════════════════
   MODULES GRID
   ═══════════════════════════════════ */

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.module-card {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

html.light .module-card { background: rgba(0, 0, 0, 0.02); }

.module-card--active { border-color: var(--gris-acier); }
.module-card--planned { border-color: var(--teal-industrie); border-style: dashed; }
.module-card--highlight { border-color: var(--accent); border-width: 2px; background: rgba(255, 107, 53, 0.06); }
html.light .module-card--highlight { background: rgba(255, 107, 53, 0.06); }

.module-card h4 { font-size: var(--fs-body); font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.module-card p { font-size: var(--fs-small); color: var(--text-secondary); line-height: 1.5; margin: 0; }
.module-card--highlight h4 { color: var(--accent); }

.module-status {
    display: inline-block; font-size: var(--fs-caption); font-weight: 600;
    padding: 0.15rem 0.5rem; border-radius: 999px; margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.05); color: var(--text-secondary);
}
.module-status--active { background: rgba(255, 107, 53, 0.15); color: var(--accent); }
.module-status--planned { background: rgba(74, 127, 138, 0.15); color: var(--teal-industrie); }

@media (max-width: 1023px) { .modules-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .modules-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } .module-card { padding: 1rem; } }
@media (max-width: 374px) { .modules-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════
   DEPLOY FEATURES
   ═══════════════════════════════════ */

.deploy-features {
    list-style: none; padding: 0; margin: 1rem 0 0;
}
.deploy-features li {
    position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem;
    line-height: 1.5; font-size: var(--fs-small);
}
.deploy-features li::before {
    content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}

/* ═══════════════════════════════════
   AVANCER GRID (ICP cards)
   ═══════════════════════════════════ */

.avancer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2rem; margin-bottom: 3rem; }
.avancer-card {
    padding: 2rem; border: 1px solid var(--border); border-radius: 8px;
    background: rgba(255, 255, 255, 0.02); display: flex; flex-direction: column;
}
html.light .avancer-card { background: rgba(0, 0, 0, 0.02); }
.avancer-card h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: 0.75rem; color: var(--accent); }
.avancer-card > p { margin-bottom: 1rem; line-height: 1.6; font-size: var(--fs-body); }
.avancer-card__offre { font-size: var(--fs-small); color: var(--text-secondary); margin-top: auto; margin-bottom: 1rem; }
.avancer-card .cta-button { align-self: flex-start; }
@media (max-width: 767px) { .avancer-grid { grid-template-columns: 1fr; } .avancer-card { padding: 1.5rem; } }

/* ═══════════════════════════════════
   SECTION SOLUTION
   ═══════════════════════════════════ */

.section-solution { max-width: 700px; margin-top: 3rem; margin-bottom: 2rem; font-size: var(--fs-subtitle); line-height: 1.7; color: var(--text-secondary); }
.section-solution p { margin-bottom: 0; }
.section-solution__strong { color: var(--text); font-weight: 600; font-size: var(--fs-lead); }

@media (max-width: 374px) {
    :root { --fs-body: 0.9375rem; --fs-small: 0.8125rem; --fs-caption: 0.6875rem; }
    .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .hero-headline { font-size: clamp(1.5rem, 7vw, 2rem); }
    .section:not(.section--hero) { padding: 2.5rem 0.75rem; }
    .section--compact { padding: 1.5rem 0.75rem; }
    .container { padding: 0 0.5rem; }
    .nav-sticky__item { font-size: var(--fs-caption); padding: 0.5rem 0.15rem; }
    .bottom-bar { padding: 0.5rem; gap: 0.25rem; }
    .theme-toggle { top: 0.5rem; right: 0.5rem; width: 50px; height: 28px; }
    .theme-toggle-thumb { width: 24px; height: 24px; }
    html.light .theme-toggle-thumb { transform: translateX(22px); }
}