/* Sibis Base : site vitrine. Même identité que la base : noir profond, une
   couleur (bordeaux), Anton pour les grands titres, Barlow pour le reste. */

@font-face { font-family: 'Anton'; src: url('fonts/anton-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Anton'; src: url('fonts/anton-400-latin-ext.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-500-latin.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/barlow-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
    --accent: #a3122d;
    --accent-rgb: 163, 18, 45;
    --accent-text: #e0808f;
    --ink: #08080a;
    --ink-2: #0e0e12;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --paper: #f2f1ee;
    --text-2: #b8b7be;
    --muted: #7f7e87;
    --display: 'Anton', Impact, sans-serif;
    --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --r: 12px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .88em; padding: 1px 6px; border-radius: 4px; background: var(--surface-2); color: var(--accent-text); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ----- Boutons ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 26px; border-radius: 9px;
    font-weight: 700; font-size: 15px; letter-spacing: .05em; text-transform: uppercase;
    transition: transform .2s var(--ease), filter .15s, background .15s, box-shadow .2s;
    cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--main {
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0)) var(--accent);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 30px rgba(var(--accent-rgb), .35);
}
.btn--main:hover { filter: brightness(1.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 40px rgba(var(--accent-rgb), .45); }
.btn--ghost { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.btn--ghost:hover { background: var(--surface-2); color: var(--paper); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }

/* ----- Navigation ----- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.nav.is-solid { background: rgba(8, 8, 10, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px;
    background: var(--accent); font-family: var(--display); font-size: 22px; color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.brand__name { font-family: var(--display); font-size: 24px; letter-spacing: .04em; }
.brand__name b { font-weight: 400; color: var(--accent-text); margin-left: 4px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 15px; color: var(--text-2); }
.nav__links a:hover { color: var(--paper); }

/* ----- Typo ----- */
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h2 span, h1 span { color: var(--accent-text); }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.lead { font-size: 18px; color: var(--text-2); margin-top: 18px; max-width: 560px; }

/* ----- Hero ----- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 64px 64px,
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero__glow {
    position: absolute; width: 900px; height: 900px; right: -260px; top: -240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .45), rgba(var(--accent-rgb), 0) 62%);
    filter: blur(20px); animation: glow 12s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-80px, 60px) scale(1.08); } }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(48px, 8.4vw, 112px); max-width: 980px; }
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--text-2); max-width: 640px; margin-top: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 72px; border-radius: var(--r); overflow: hidden; background: var(--line); box-shadow: 0 0 0 1px var(--line); max-width: 920px; }
.stats div { background: rgba(14, 14, 18, .85); padding: 22px 24px; }
.stats dt { font-family: var(--display); font-size: 40px; line-height: 1; }
.stats dd { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ----- Sections ----- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: inset 0 1px 0 var(--line); }
.head { max-width: 760px; margin-bottom: 56px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }

.pillars { display: grid; gap: 14px; }
.pillar { padding: 26px 28px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 2px; background: var(--accent); }
.pillar p { color: var(--text-2); margin-top: 8px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature {
    padding: 28px 24px; border-radius: var(--r);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .06);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .6), 0 20px 50px rgba(0, 0, 0, .4); }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: rgba(var(--accent-rgb), .16); color: var(--accent-text); margin-bottom: 20px; }
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature p { color: var(--text-2); font-size: 15px; margin-top: 10px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shot { border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.shot img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption { display: flex; gap: 10px; align-items: baseline; padding: 16px 20px; }
.shot figcaption span { color: var(--muted); font-size: 15px; }

.checks { list-style: none; display: grid; gap: 14px; }
.checks li { position: relative; padding: 18px 20px 18px 56px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
.checks li b { color: var(--paper); }
.checks li::before {
    content: ""; position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 6px;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks--compact { margin-top: 26px; gap: 10px; }
.checks--compact li { padding: 0 0 0 36px; background: none; box-shadow: none; }
.checks--compact li::before { left: 0; }

/* ----- Offre ----- */
.offer {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding: 56px; border-radius: 18px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(var(--accent-rgb), .35), rgba(var(--accent-rgb), 0) 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px rgba(0, 0, 0, .5);
}
.offer__buy { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px; border-radius: var(--r); background: rgba(8, 8, 10, .6); box-shadow: inset 0 0 0 1px var(--line); }
.offer__price { font-family: var(--display); font-size: 64px; line-height: 1; text-align: center; }
.offer__price.is-text { font-size: 34px; }
.offer__note { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 12px; }

/* ----- FAQ ----- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .55); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent-text); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); }

/* ----- Final ----- */
.final { text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 800px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(var(--accent-rgb), .3), transparent 65%); }
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .lead { margin-left: auto; margin-right: auto; }

/* ----- Pied de page ----- */
.footer { padding: 36px 0; box-shadow: inset 0 1px 0 var(--line); }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer__inner .brand__name { font-size: 20px; color: var(--paper); }
.footer__copy { margin-right: auto; }
.footer a:hover { color: var(--paper); }

/* ----- Pages texte (mentions légales) ----- */
.page { padding: 140px 0 100px; max-width: 820px; }
.page h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 32px; }
.page h2 { font-size: 26px; margin: 40px 0 12px; }
.page p, .page li { color: var(--text-2); margin-bottom: 10px; }
.page ul { padding-left: 20px; }

/* ----- Apparition ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .split, .offer { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
    .nav__links { display: none; }
    .nav__inner { justify-content: space-between; }
    .stats { grid-template-columns: repeat(2, 1fr); margin-top: 52px; }
    .features, .gallery { grid-template-columns: 1fr; }
    .section { padding: 84px 0; }
    .offer { padding: 28px 20px; }
    .offer__buy { padding: 24px 18px; }
    .hero__cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero__glow { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
