/* Site vitrine ALVICA Sécurité — rouge et noir du logo, fond blanc. */
@font-face { font-family: 'Archivo'; font-weight: 400; font-display: swap; src: url("../fonts/archivo-400-StE8AAs.woff2") format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 600; font-display: swap; src: url("../fonts/archivo-600-StE8AAs.woff2") format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 800; font-display: swap; src: url("../fonts/archivo-800-StE8AAs.woff2") format('woff2'); }

:root {
    --red: #e3000f;
    --red-dark: #b8000c;
    --black: #111111;
    --grey: #5a5f66;
    --line: #e4e6e9;
    --soft: #f5f6f7;
    --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--black); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 6px; border: 2px solid transparent; font: 600 15px var(--sans); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: var(--black); color: var(--black); background: transparent; }
.btn-line:hover { background: var(--black); color: #fff; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.logo img { width: 52px; height: 52px; object-fit: contain; }
.logo em { font-style: normal; color: var(--red); }
.menu { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; }
.menu a:not(.btn):hover { color: var(--red); }
.menu .btn { min-height: 40px; padding: 0 16px; }

.hero { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); padding: 72px 0 80px; }
.hero-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; }
.hero h1 span { color: var(--red); }
.lead { font-size: 19px; color: var(--grey); max-width: 560px; margin: 20px 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo img { width: min(380px, 100%); margin-inline: auto; mix-blend-mode: multiply; }

.band { padding: 80px 0; }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 36px; max-width: 640px; }
.band-dark { background: var(--black); color: #fff; }
.band-dark .kicker { color: #ff5a64; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards article { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 8px; padding: 28px; background: #fff; }
.cards h3 { font-size: 20px; margin: 16px 0 8px; }
.cards p { color: var(--grey); margin: 0; }
.ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--black); }
.ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: s; border-top: 2px solid #333; padding-top: 18px; display: grid; gap: 6px; }
.steps li::before { content: '0' counter(s); color: var(--red); font-weight: 800; font-size: 14px; letter-spacing: .1em; }
.steps b { font-size: 20px; }
.steps span { color: #b9bec4; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.contact h2 { margin-bottom: 16px; }
.contact p { color: var(--grey); }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form textarea { font: 400 16px var(--sans); color: var(--black); padding: 12px 14px; border: 1px solid #c8ccd1; border-radius: 6px; background: #fff; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 0, 15, .2); }
.form .btn { justify-self: start; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { padding: 14px 16px; border-radius: 6px; margin-bottom: 18px; border-left: 4px solid; font-size: 15px; }
.note ul { margin: 0; padding-left: 18px; }
.note-ok { background: #e8f5ec; border-color: #1f8a4c; color: #14532d; }
.note-err { background: #fdecec; border-color: var(--red); color: #7f1d1d; }

.foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: 14px; color: var(--grey); }
.foot-in { display: flex; justify-content: space-between; gap: 12px; }
.foot a:hover { color: var(--red); }

@media (max-width: 860px) {
    .hero { padding: 40px 0 56px; }
    .hero-in, .contact { grid-template-columns: 1fr; }
    .hero-logo { order: -1; }
    .hero-logo img { width: 200px; }
    .cards, .steps { grid-template-columns: 1fr; }
    .band { padding: 56px 0; }
    .menu a:not(.btn) { display: none; }
    .contact { gap: 28px; }
}
@media (max-width: 520px) {
    .form .row { grid-template-columns: 1fr; }
    .logo span { font-size: 17px; }
    .cta .btn { flex: 1 1 100%; }
}
