:root {
    color-scheme: light;
    --red: #b51e2b;
    --red-dark: #8e1520;
    --red-soft: #fbeaec;
    --ink: #111820;
    --ink-soft: #28333d;
    --slate: #596672;
    --line: #dfe4e8;
    --surface: #ffffff;
    --surface-soft: #f5f7f8;
    --warm: #f7f4f2;
    --success: #17643f;
    --success-bg: #eaf7f0;
    --danger: #8d1722;
    --danger-bg: #fff0f1;
    --shadow-sm: 0 12px 32px rgba(17, 24, 32, 0.08);
    --shadow-lg: 0 28px 80px rgba(17, 24, 32, 0.16);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --container: 1180px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-underline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.8rem, 6.8vw, 5.8rem);
}

h2 {
    font-size: clamp(2rem, 4.2vw, 3.55rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
    margin-top: 0;
}

.site-container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    padding: 10px 16px;
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    color: #fff;
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.utility-bar {
    color: #fff;
    background: var(--ink);
    font-size: 0.78rem;
    font-weight: 680;
    letter-spacing: 0.035em;
}

.utility-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.utility-inner p {
    margin: 0;
    text-transform: uppercase;
}

.utility-inner div {
    display: flex;
    align-items: center;
    gap: 24px;
}

.utility-inner a {
    text-decoration: none;
}

.utility-inner a:hover {
    text-decoration: underline;
}

.site-header {
    height: 94px;
    border-bottom: 1px solid rgba(223, 228, 232, 0.82);
    background: rgba(255, 255, 255, 0.96);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 180ms ease, height 180ms ease;
}

.site-header.is-scrolled {
    height: 80px;
    box-shadow: 0 12px 34px rgba(17, 24, 32, 0.1);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--ink);
    text-decoration: none;
}

.site-brand img {
    width: 66px;
    height: 66px;
    flex: 0 0 auto;
    object-fit: contain;
}

.is-scrolled .site-brand img {
    width: 56px;
    height: 56px;
}

.site-brand span {
    min-width: 0;
    display: grid;
    line-height: 1.15;
}

.site-brand strong {
    font-size: 0.98rem;
    letter-spacing: -0.015em;
}

.site-brand small {
    margin-top: 5px;
    color: var(--slate);
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 28px);
}

.site-navigation > a {
    padding: 12px 0;
    color: var(--ink-soft);
    font-size: 0.87rem;
    font-weight: 740;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

.site-navigation > a:not(.nav-cta)::after {
    width: 0;
    height: 2px;
    position: absolute;
    right: 0;
    bottom: 5px;
    background: var(--red);
    content: "";
    transition: width 170ms ease;
}

.site-navigation > a:hover::after,
.site-navigation > a[aria-current="page"]::after {
    width: 100%;
    right: auto;
    left: 0;
}

.site-navigation .nav-cta {
    min-height: 46px;
    border-radius: 999px;
    padding: 12px 20px;
    color: #fff;
    background: var(--red);
    box-shadow: 0 10px 26px rgba(181, 30, 43, 0.24);
}

.site-navigation .nav-cta:hover {
    background: var(--red-dark);
}

.menu-toggle {
    min-width: 82px;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--ink);
    background: #fff;
    font-weight: 760;
    cursor: pointer;
}

.menu-toggle-lines {
    width: 18px;
    display: grid;
    gap: 4px;
}

.menu-toggle-lines i {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    display: block;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] i:first-child {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] i:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    min-height: min(780px, calc(100vh - 134px));
    display: grid;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8, 13, 18, 0.94) 0%, rgba(8, 13, 18, 0.84) 45%, rgba(8, 13, 18, 0.28) 100%),
        url("/images/protection-incendie-extincteur.jpg") center / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    width: 46vw;
    height: 46vw;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    position: absolute;
    right: -16vw;
    bottom: -31vw;
    content: "";
    box-shadow:
        0 0 0 80px rgba(255, 255, 255, 0.025),
        0 0 0 160px rgba(255, 255, 255, 0.018);
}

.hero-grid {
    padding-block: clamp(72px, 10vw, 126px);
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
    align-items: end;
    gap: clamp(40px, 8vw, 100px);
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 800px;
    margin: 14px 0 24px;
    color: #fff;
}

.hero h1 span {
    color: #ff5663;
}

.hero-lead {
    max-width: 660px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.button {
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 13px 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: var(--red);
    box-shadow: 0 12px 28px rgba(181, 30, 43, 0.24);
    font-weight: 780;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.button:hover {
    background: var(--red-dark);
    box-shadow: 0 16px 36px rgba(181, 30, 43, 0.3);
    transform: translateY(-2px);
}

.button-light {
    color: var(--ink);
    background: #fff;
    box-shadow: none;
}

.button-light:hover {
    color: var(--ink);
    background: #f3f3f3;
}

.button-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.button-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.button-dark {
    color: #fff;
    background: var(--ink);
    box-shadow: 0 12px 28px rgba(17, 24, 32, 0.2);
}

.button-dark:hover {
    background: #000;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red-dark);
    font-weight: 780;
    text-decoration: none;
}

.text-link::after {
    content: "→";
    transition: transform 160ms ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

.section-kicker {
    margin-bottom: 12px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero .section-kicker {
    color: #ff7a84;
}

.hero-proof {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    padding: 26px;
    background: rgba(17, 24, 32, 0.48);
    backdrop-filter: blur(12px);
}

.hero-proof strong {
    display: block;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.hero-proof > span {
    margin-top: 7px;
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.hero-proof ul {
    margin: 22px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    gap: 11px;
    list-style: none;
}

.hero-proof li {
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
}

.hero-proof li::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    top: 0.68em;
    left: 0;
    background: #ff5966;
    content: "";
}

.trust-strip {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.trust-grid {
    min-height: 104px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
    padding: 24px clamp(16px, 3vw, 32px);
    display: grid;
    align-content: center;
    gap: 4px;
}

.trust-item + .trust-item {
    border-left: 1px solid var(--line);
}

.trust-item strong {
    color: var(--ink);
    font-size: 0.98rem;
}

.trust-item span {
    color: var(--slate);
    font-size: 0.82rem;
}

.section {
    padding-block: clamp(78px, 10vw, 132px);
}

.section-soft {
    background: var(--surface-soft);
}

.section-dark {
    color: #fff;
    background: var(--ink);
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-heading {
    max-width: 760px;
    margin-bottom: clamp(36px, 5vw, 60px);
}

.section-heading h2 {
    margin-bottom: 18px;
}

.section-heading > p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--slate);
    font-size: 1.05rem;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-dark .section-heading > p:last-child {
    color: rgba(255, 255, 255, 0.68);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    min-height: 300px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: clamp(26px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    box-shadow: 0 1px 0 rgba(17, 24, 32, 0.02);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    border-color: #c6ccd1;
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.service-index {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--red-dark);
    background: var(--red-soft);
    font-size: 0.78rem;
    font-weight: 880;
    letter-spacing: 0.04em;
}

.service-card h3 {
    margin: 28px 0 12px;
}

.service-card p {
    margin-bottom: 24px;
    color: var(--slate);
}

.service-card .text-link {
    margin-top: auto;
}

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 8vw, 110px);
}

.split-content h2 {
    margin-bottom: 24px;
}

.split-content > p:not(.section-kicker) {
    color: var(--slate);
}

.check-list {
    margin: 28px 0 34px;
    padding: 0;
    display: grid;
    gap: 14px;
    list-style: none;
}

.check-list li {
    padding-left: 31px;
    color: var(--ink-soft);
    font-weight: 680;
    position: relative;
}

.check-list li::before {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: absolute;
    top: 0.18em;
    left: 0;
    color: #fff;
    background: var(--red);
    content: "✓";
    font-size: 0.7rem;
    font-weight: 900;
}

.media-frame {
    min-height: 560px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.media-frame img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.media-note {
    max-width: 260px;
    border-radius: var(--radius-md);
    padding: 22px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    color: #fff;
    background: rgba(17, 24, 32, 0.9);
    backdrop-filter: blur(12px);
}

.media-note strong {
    display: block;
    font-size: 1.05rem;
}

.media-note span {
    margin-top: 4px;
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.16);
}

.process-step {
    min-height: 270px;
    padding: clamp(28px, 4vw, 46px);
    background: var(--ink);
}

.process-step > span {
    color: #ff6b76;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.process-step h3 {
    margin: 28px 0 14px;
}

.process-step p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.64);
}

.intervention-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: repeat(2, 280px);
    gap: 18px;
}

.intervention-card {
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    background: var(--ink);
}

.intervention-card:first-child {
    grid-row: 1 / 3;
}

.intervention-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.intervention-card:first-child img {
    object-position: center 38%;
}

.intervention-card:hover img {
    transform: scale(1.035);
}

.intervention-caption {
    padding: 52px 24px 22px;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    color: #fff;
    background: linear-gradient(transparent, rgba(8, 13, 18, 0.9));
}

.intervention-caption strong {
    display: block;
    font-size: 1.04rem;
}

.intervention-caption span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
}

.cta-panel {
    border-radius: var(--radius-lg);
    padding: clamp(38px, 7vw, 78px);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    align-items: center;
    gap: 40px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(181, 30, 43, 0.96), rgba(125, 15, 25, 0.96)),
        var(--red);
    box-shadow: 0 28px 80px rgba(181, 30, 43, 0.2);
}

.cta-panel h2 {
    max-width: 760px;
    margin-bottom: 14px;
    color: #fff;
}

.cta-panel p {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
}

.cta-panel .section-actions {
    justify-content: flex-end;
}

.page-banner {
    padding-block: clamp(76px, 9vw, 116px);
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(181, 30, 43, 0.45), transparent 26rem),
        var(--ink);
    overflow: hidden;
}

.page-banner-inner {
    max-width: var(--container);
}

.page-banner h1 {
    max-width: 900px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 5rem);
}

.page-banner .section-kicker {
    color: #ff7a84;
}

.page-banner-inner > p:last-child {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.service-detail {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: clamp(28px, 4vw, 42px);
    background: #fff;
}

.service-detail h2 {
    margin: 22px 0 14px;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.service-detail p {
    margin-bottom: 0;
    color: var(--slate);
}

.about-copy {
    max-width: 840px;
}

.about-copy p {
    color: var(--slate);
    font-size: 1.05rem;
}

.fact-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fact-card {
    border-top: 3px solid var(--red);
    padding: 28px;
    background: var(--surface-soft);
}

.fact-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.fact-card span {
    color: var(--slate);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(34px, 6vw, 80px);
}

.contact-panel {
    border-radius: var(--radius-md);
    padding: clamp(30px, 4vw, 42px);
    color: #fff;
    background: var(--ink);
    align-self: start;
}

.contact-panel h2 {
    margin-bottom: 16px;
    color: #fff;
}

.contact-panel > p {
    color: rgba(255, 255, 255, 0.66);
}

.contact-list {
    margin: 32px 0 0;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    gap: 22px;
    list-style: none;
}

.contact-list li {
    display: grid;
    gap: 4px;
}

.contact-list span {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.75rem;
    font-weight: 780;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-list a,
.contact-list strong {
    color: #fff;
    font-weight: 720;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.site-form {
    display: grid;
    gap: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.site-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 760;
}

.site-form label.full {
    grid-column: 1 / -1;
}

.site-form input,
.site-form select,
.site-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #cbd2d8;
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    outline: 0;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.site-form input,
.site-form select {
    min-height: 52px;
}

.site-form textarea {
    min-height: 160px;
    resize: vertical;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(181, 30, 43, 0.11);
}

.site-form input::placeholder,
.site-form textarea::placeholder {
    color: #89939c;
}

.site-form .button {
    justify-self: start;
}

.form-note {
    margin: -6px 0 0;
    color: var(--slate);
    font-size: 0.8rem;
}

.form-note a {
    color: var(--red-dark);
}

.form-alert {
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 16px 18px;
}

.form-alert.success {
    border-color: #b9dfca;
    color: var(--success);
    background: var(--success-bg);
}

.form-alert.error {
    border-color: #efc5c9;
    color: var(--danger);
    background: var(--danger-bg);
}

.form-alert ul {
    margin: 0;
    padding-left: 20px;
}

.hp-field {
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    position: absolute !important;
    left: -10000px !important;
    overflow: hidden !important;
}

.legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: clamp(36px, 6vw, 80px);
}

.legal-nav {
    border-left: 3px solid var(--red);
    padding: 8px 0 8px 20px;
    display: grid;
    gap: 10px;
    position: sticky;
    top: 110px;
}

.legal-nav a {
    color: var(--slate);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.legal-nav a:hover {
    color: var(--red-dark);
}

.legal-content {
    max-width: 800px;
}

.legal-content section {
    margin-bottom: 48px;
    scroll-margin-top: 120px;
}

.legal-content h2 {
    margin-bottom: 16px;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-content h3 {
    margin: 24px 0 10px;
}

.legal-content p,
.legal-content li {
    color: var(--slate);
}

.legal-content a {
    color: var(--red-dark);
}

.site-footer {
    padding-top: 68px;
    color: rgba(255, 255, 255, 0.7);
    background: #090e13;
}

.footer-grid {
    padding-bottom: 58px;
    display: grid;
    grid-template-columns: 1.45fr 0.7fr 1fr;
    gap: clamp(32px, 7vw, 90px);
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.footer-brand img {
    width: 78px;
    height: 78px;
    border-radius: 16px;
    object-fit: contain;
    background: #fff;
}

.footer-brand strong {
    color: #fff;
    font-size: 1.1rem;
}

.footer-brand p {
    max-width: 390px;
    margin: 9px 0 0;
    font-size: 0.9rem;
}

.footer-grid h2 {
    margin-bottom: 17px;
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-grid ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
    list-style: none;
}

.footer-grid li,
.footer-grid a {
    font-size: 0.88rem;
}

.footer-grid a {
    text-decoration: none;
}

.footer-grid a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    min-height: 76px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    font-size: 0.78rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom p:last-child {
    text-align: right;
}

.footer-bottom div {
    display: flex;
    gap: 18px;
}

.footer-bottom a {
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

:focus-visible {
    outline: 3px solid rgba(181, 30, 43, 0.36);
    outline-offset: 3px;
}

@media (max-width: 1080px) {
    .site-brand small {
        display: none;
    }

    .site-navigation {
        gap: 15px;
    }

    .site-navigation > a {
        font-size: 0.82rem;
    }
}

@media (max-width: 920px) {
    .utility-inner > p {
        display: none;
    }

    .utility-inner {
        justify-content: flex-end;
    }

    .site-header,
    .site-header.is-scrolled {
        height: 80px;
    }

    .site-brand img,
    .is-scrolled .site-brand img {
        width: 56px;
        height: 56px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-navigation {
        max-height: calc(100vh - 120px);
        padding: 22px 24px 28px;
        display: none;
        align-items: stretch;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 25px 45px rgba(17, 24, 32, 0.14);
    }

    .site-navigation.is-open {
        display: grid;
    }

    .site-navigation > a {
        min-height: 46px;
        border-bottom: 1px solid var(--line);
        display: flex;
        align-items: center;
        font-size: 1rem;
    }

    .site-navigation > a:not(.nav-cta)::after {
        display: none;
    }

    .site-navigation .nav-cta {
        margin-top: 8px;
        border-bottom: 0;
        justify-content: center;
    }

    .hero {
        min-height: 720px;
        background:
            linear-gradient(90deg, rgba(8, 13, 18, 0.93), rgba(8, 13, 18, 0.66)),
            url("/images/protection-incendie-extincteur.jpg") 62% center / cover no-repeat;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .hero-proof {
        max-width: 520px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .trust-item:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-grid {
        grid-template-columns: 1fr;
    }

    .media-frame {
        min-height: 520px;
        order: -1;
    }

    .cta-panel {
        grid-template-columns: 1fr;
    }

    .cta-panel .section-actions {
        justify-content: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        display: flex;
        flex-wrap: wrap;
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 0.8fr;
    }

    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        padding-block: 22px;
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-bottom p:last-child {
        text-align: left;
    }
}

@media (max-width: 680px) {
    .site-container {
        width: min(100% - 28px, var(--container));
    }

    .utility-inner {
        min-height: 38px;
        justify-content: center;
    }

    .utility-inner div {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .utility-inner div a:last-child {
        max-width: 48vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-brand {
        gap: 8px;
    }

    .site-brand img,
    .is-scrolled .site-brand img {
        width: 50px;
        height: 50px;
    }

    .site-brand strong {
        max-width: 165px;
        font-size: 0.8rem;
    }

    .menu-toggle {
        min-width: 50px;
        width: 50px;
        padding: 8px;
    }

    .menu-toggle > span:last-child {
        width: 1px;
        height: 1px;
        position: absolute;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .hero {
        min-height: 680px;
    }

    .hero-grid {
        padding-block: 66px;
        gap: 34px;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 14vw, 4rem);
    }

    .hero-actions,
    .section-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button,
    .section-actions .button {
        width: 100%;
    }

    .hero-proof {
        padding: 22px;
    }

    .trust-grid,
    .services-grid,
    .service-detail-grid,
    .fact-grid,
    .form-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .trust-item + .trust-item {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .service-card {
        min-height: 260px;
    }

    .media-frame {
        min-height: 440px;
        border-radius: 24px;
    }

    .media-note {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .intervention-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 330px);
    }

    .intervention-card:first-child {
        grid-row: auto;
    }

    .cta-panel {
        border-radius: 24px;
    }

    .site-form label.full {
        grid-column: auto;
    }

    .site-form .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-bottom div {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
