/* ==========================================================================
   Aptech — Site vitrine
   ========================================================================== */

:root {
    /* Thème clair — blanc & gris très clair */
    --color-bg: #f5f6f8;
    --color-bg-alt: #ffffff;
    --color-bg-raised: #eef1f5;
    --color-surface: #ffffff;
    --color-surface-elevated: #ffffff;
    --color-surface-card: #ffffff;

    --color-text: #1a2332;
    --color-text-muted: #5a6578;
    --color-text-light: #8b95a5;
    --color-text-on-dark: #f0f2f5;
    --color-text-muted-on-dark: rgba(240, 242, 245, 0.75);

    --color-primary: #2d4a6f;
    --color-primary-dark: #1e3550;
    --color-primary-light: rgba(45, 74, 111, 0.08);

    --color-accent: #9a7a52;
    --color-accent-dark: #7d6340;
    --color-accent-light: rgba(154, 122, 82, 0.1);

    --color-teal: #4a7c76;
    --color-teal-light: rgba(74, 124, 118, 0.1);

    --color-border: rgba(26, 35, 50, 0.1);
    --color-border-strong: rgba(26, 35, 50, 0.16);
    --color-border-light: rgba(26, 35, 50, 0.06);

    --color-dark: #1a2332;
    --color-dark-mid: #243044;
    --color-dark-surface: #2d3a4f;

    --font: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;

    --radius: 6px;
    --radius-lg: 10px;
    --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 35, 50, 0.08);
    --shadow-lg: 0 12px 40px rgba(26, 35, 50, 0.1);
    --container: 1120px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(45, 74, 111, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(154, 122, 82, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-dark); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-text);
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); letter-spacing: -0.01em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); letter-spacing: 0; }
h3 { font-size: 1.375rem; }
h4 { font-family: var(--font); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); font-weight: 600; }

.lead { font-size: 1.125rem; color: var(--color-text-muted); line-height: 1.75; font-weight: 400; }
.section-intro { max-width: 640px; margin-bottom: 3rem; }
.section-intro p { color: var(--color-text-muted); margin-top: 0.75rem; }

.section-label {
    display: inline-block;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent-dark);
    margin-bottom: 0.875rem;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-primary);
    border-color: var(--color-border-strong);
}
.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.btn-accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #fff;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn-lg { padding: 0.9375rem 1.75rem; font-size: 1.0625rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-border);
    min-height: var(--header-h);
    overflow: visible;
    box-shadow: 0 1px 0 rgba(26, 35, 50, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.logo:hover { opacity: 0.92; }

.logo-img {
    display: block;
    height: 48px;
    width: auto;
    max-width: min(200px, 42vw);
}

.logo-img--footer {
    height: 52px;
    max-width: 220px;
    background: #fff;
    border-radius: 6px;
    padding: 4px 8px;
}

.main-nav ul { list-style: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    z-index: 120;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 1;
    min-width: 0;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.45rem 0.55rem;
    color: var(--color-text-muted);
    font-weight: 500;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.875rem;
    white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.main-nav .btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.main-nav .btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 320px;
    max-width: 400px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s;
    z-index: 200;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a,
.dropdown li .soon {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    text-decoration: none;
}
.dropdown li a:hover { background: var(--color-bg); color: var(--color-primary); }

.dropdown-label {
    padding: 0.375rem 1.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
}

.dropdown-divider {
    height: 1px;
    background: var(--color-border-light);
    margin: 0.375rem 0;
}

.dropdown .soon {
    color: var(--color-text-light);
    cursor: default;
}
.dropdown .soon em {
    font-style: normal;
    font-size: 0.75rem;
    background: var(--color-bg-raised);
    padding: 0.125rem 0.5rem;
    border-radius: 99px;
    margin-left: 0.375rem;
    color: var(--color-text-light);
}

.dropdown-all {
    font-weight: 600 !important;
    color: var(--color-primary) !important;
}

.header-tagline-bar {
    background: rgba(238, 241, 245, 0.7);
    border-top: 1px solid var(--color-border-light);
    padding: 0.35rem 0;
    text-align: center;
}

.header-tagline-text {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    padding: 5.5rem 0 5rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 90% 20%, rgba(184, 149, 106, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(74, 124, 118, 0.08) 0%, transparent 45%);
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content { max-width: 560px; }

.hero h1,
.page-hero h1,
.product-hero h1 {
    color: var(--color-text);
}

.hero-subtitle {
    font-family: var(--font);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-accent-dark);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.hero-text,
.page-hero .lead,
.product-hero .product-slogan {
    color: var(--color-text-muted);
}

.hero h1 { margin-bottom: 1rem; }

.hero-text {
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.025rem;
}

.hero .btn-secondary {
    color: var(--color-primary);
    border-color: var(--color-border-strong);
    background: var(--color-surface);
}
.hero .btn-secondary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.hero-visual {
    position: relative;
}

.hero-cascade {
    position: relative;
    height: 360px;
    width: 100%;
}

.hero-cascade img {
    position: absolute;
    width: 78%;
    height: 210px;
    object-fit: cover;
    object-position: top left;
    border-radius: 10px;
    border: 1px solid rgba(26, 35, 50, 0.12);
    box-shadow: 0 12px 32px rgba(26, 35, 50, 0.16);
    background: #12161f;
}

.hero-cascade img:nth-child(1) {
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.9;
}

.hero-cascade img:nth-child(2) {
    top: 48px;
    left: 8%;
    z-index: 2;
    opacity: 0.96;
}

.hero-cascade img:nth-child(3) {
    top: 96px;
    left: 16%;
    z-index: 3;
    width: 82%;
    height: 220px;
    box-shadow: 0 16px 40px rgba(26, 35, 50, 0.22);
}

.mockup-dashboard {
    background: var(--color-dark-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--color-border-strong);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--color-dark-surface);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.mockup-bar span:first-child { background: #e06c75; }
.mockup-bar span:nth-child(2) { background: #e5c07b; }
.mockup-bar span:nth-child(3) { background: #98c379; }

.mockup-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    height: calc(100% - 41px);
}

.mockup-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mockup-sidebar div {
    height: 28px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
}
.mockup-sidebar div:first-child {
    background: rgba(184, 149, 106, 0.35);
    width: 80%;
}

.mockup-main { display: flex; flex-direction: column; gap: 12px; }

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.mockup-cards div {
    height: 56px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
}

.mockup-table {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mockup-table div {
    height: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}
.mockup-table div:nth-child(odd) { width: 90%; }
.mockup-table div:nth-child(even) { width: 70%; }

/* Page hero (inner pages) */
.page-hero {
    padding: 4rem 0 3.5rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 100% at 100% 0%, rgba(196, 165, 116, 0.08) 0%, transparent 55%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lead { max-width: 680px; }
.page-hero .section-label { color: var(--color-accent-dark); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section { padding: 4.5rem 0; }

/* Alternance blanc / gris très clair entre sections */
section:nth-child(even):not(.hero):not(.saas-band):not(.cta-band):not(.page-hero):not(.product-hero) {
    background: var(--color-bg-alt);
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .section-intro { margin: 0.75rem auto 0; }
.section-header .section-intro,
.section-header .section-intro p { color: var(--color-text-muted); }

/* Feature cards (3 columns) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    box-shadow: var(--shadow-sm);
}
.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--color-border-strong);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius);
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(196, 165, 116, 0.2);
}

.feature-card h3 { font-family: var(--font-display); margin-bottom: 0.75rem; }
.feature-card p { color: var(--color-text-muted); font-size: 0.9875rem; }

/* Module cards grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.module-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.module-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    color: inherit;
}

.module-card.disabled {
    opacity: 0.65;
    cursor: default;
    pointer-events: none;
}

.module-icon { font-size: 1.75rem; margin-bottom: 0.875rem; }

.module-card h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.module-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    flex: 1;
    line-height: 1.55;
}

.module-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--color-bg-raised);
    color: var(--color-text-light);
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
}

.module-card .link-arrow {
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
}

/* SaaS band */
.saas-band {
    background:
        linear-gradient(135deg, var(--color-bg-raised) 0%, var(--color-surface) 50%, var(--color-bg-alt) 100%);
    color: var(--color-text);
    padding: 4.5rem 0;
    position: relative;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.saas-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 0% 50%, rgba(184, 149, 106, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.saas-band .container { position: relative; z-index: 1; }
.saas-band h2 { color: var(--color-text); margin-bottom: 1rem; }
.saas-band .lead { color: var(--color-text-muted); margin-bottom: 2.5rem; max-width: 680px; }

.saas-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.saas-point {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.saas-point strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.375rem;
}
.saas-point span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.saas-band .btn-secondary {
    color: var(--color-primary);
    border-color: var(--color-border-strong);
    background: var(--color-surface);
}
.saas-band .btn-secondary:hover {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}

/* CTA band */
.cta-band {
    text-align: center;
    padding: 4rem 0;
    background: var(--color-primary);
    color: var(--color-text-on-dark);
}
.cta-band h2 { margin-bottom: 0.75rem; color: var(--color-text-on-dark); }
.cta-band p {
    color: var(--color-text-muted-on-dark);
    margin-bottom: 1.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cta-band .btn-primary {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}
.cta-band .btn-primary:hover {
    background: var(--color-bg);
    color: var(--color-primary-dark);
    border-color: var(--color-bg);
}

/* --------------------------------------------------------------------------
   Solutions page
   -------------------------------------------------------------------------- */

.solutions-section { padding: 3.5rem 0; }
.solutions-section + .solutions-section {
    border-top: 1px solid var(--color-border);
}

.partner-intro {
    max-width: 720px;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.solution-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    box-shadow: var(--shadow-sm);
}
.solution-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
    color: inherit;
}
.solution-card.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.solution-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border: 1px solid rgba(184, 149, 106, 0.2);
    border-radius: var(--radius);
    font-size: 1.75rem;
}

.solution-card-body h3 { font-family: var(--font-display); margin-bottom: 0.375rem; }
.solution-card-body p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}
.solution-card-body .link-arrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
}

.hub-block {
    background: linear-gradient(145deg, var(--color-dark) 0%, var(--color-dark-mid) 100%);
    color: #f0ece6;
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}
.hub-block h2 { color: #f0ece6; margin-bottom: 0.75rem; }
.hub-block p { color: rgba(240, 236, 230, 0.72); line-height: 1.7; }
.hub-block .section-label { color: var(--color-accent); }

.hub-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.hub-features li {
    list-style: none;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255,255,255,0.85);
    font-size: 0.9375rem;
}
.hub-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.product-hero {
    padding: 4rem 0 3.5rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}
.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 30%, rgba(184, 149, 106, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.product-hero .container { position: relative; z-index: 1; }
.product-hero .product-tag {
    color: var(--color-accent);
    background: var(--color-accent-light);
    border: 1px solid rgba(196, 165, 116, 0.2);
}
.product-hero .btn-secondary {
    color: var(--color-primary);
    border-color: var(--color-border-strong);
    background: var(--color-surface);
}
.product-hero .btn-secondary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-tag {
    display: inline-block;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 0.3rem 0.875rem;
    border-radius: 99px;
    margin-bottom: 1rem;
    border: 1px solid rgba(196, 165, 116, 0.2);
}

.product-hero h1 { margin-bottom: 0.5rem; }

.product-slogan {
    font-size: 1.1875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.product-shot {
    margin: 0;
    background: #12161f;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.product-shot img {
    width: 100%;
    height: auto;
    display: block;
}
.product-shot--hero {
    max-height: 380px;
}
.product-shot--hero img {
    max-height: 380px;
    object-fit: cover;
    object-position: top left;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.75rem;
}
.product-gallery-item {
    display: flex;
    flex-direction: column;
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: inherit;
}
.product-gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: top left;
    background: #12161f;
    display: block;
}
.product-gallery-item span {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.problem-block {
    background: var(--color-surface);
    border-left: 3px solid var(--color-accent);
    padding: 1.75rem 2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.problem-block p { color: var(--color-text-muted); }
.problem-block p + p { margin-top: 0.75rem; }
.problem-block strong { color: var(--color-text); }

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-block {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.feature-block h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.feature-block p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.feature-block ul {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}
.feature-block li + li { margin-top: 0.375rem; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}
.benefit-item .benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.benefit-item h3 { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 0.375rem; }
.benefit-item p { font-size: 0.875rem; color: var(--color-text-muted); }

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.specs-table th,
.specs-table td {
    padding: 0.875rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border-light);
}
.specs-table th {
    width: 35%;
    background: var(--color-surface);
    font-weight: 600;
    color: var(--color-text-muted);
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }

.contact-cta-banner {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg-raised) 100%);
    color: var(--color-text);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    text-align: center;
    margin: 3rem 0;
    border: 1px solid var(--color-border-strong);
    box-shadow: var(--shadow-md);
}
.contact-cta-banner h2 { color: var(--color-text); margin-bottom: 0.5rem; }
.contact-cta-banner p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--color-text-muted); margin-bottom: 2rem; }

.contact-details {
    list-style: none;
    margin-bottom: 2.5rem;
}
.contact-details li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.9375rem;
}
.contact-details li strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.process-steps {
    list-style: none;
    counter-reset: steps;
}
.process-steps li {
    counter-increment: steps;
    position: relative;
    padding-left: 2.5rem;
    padding-bottom: 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}
.process-steps li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.8125rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 165, 116, 0.25);
}
.process-steps li strong { color: var(--color-text); }

.contact-form-wrap {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--color-text);
}
.form-group label .optional {
    font-weight: 400;
    color: var(--color-text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.6875rem 0.875rem;
    font-family: var(--font);
    font-size: 1rem;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-surface-elevated);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
    width: auto;
}

.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}
.form-message.success {
    background: var(--color-teal-light);
    color: #2d6a62;
    border: 1px solid rgba(74, 124, 118, 0.25);
}
.form-message.error {
    background: rgba(155, 44, 44, 0.08);
    color: #9b2c2c;
    border: 1px solid rgba(155, 44, 44, 0.2);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--color-dark);
    color: rgba(240, 236, 230, 0.72);
    padding: 3.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { margin-bottom: 1rem; display: inline-flex; }

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.25rem;
}

.trust-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.trust-badges li {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.06);
    padding: 0.25rem 0.625rem;
    border-radius: 99px;
    color: rgba(255,255,255,0.6);
}

.footer-nav h4,
.footer-contact h4 {
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}

.footer-nav ul,
.footer-contact ul { list-style: none; }
.footer-nav li + li,
.footer-contact li + li { margin-top: 0.5rem; }

.footer-nav a,
.footer-contact a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    text-decoration: none;
}
.footer-nav a:hover,
.footer-contact a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

.footer-legal {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* --------------------------------------------------------------------------
   À propos & pages légales
   -------------------------------------------------------------------------- */

.about-content { max-width: 720px; }
.about-block p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.75;
}
.about-block p:last-child { margin-bottom: 0; }

.legal-content { max-width: 720px; }
.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    margin: 2rem 0 0.75rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.commitments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.commitment-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.commitment-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}
.commitment-no h3 { color: #c49090; }
.commitment-yes h3 { color: var(--color-teal); }

.commitment-card ul {
    list-style: none;
    padding: 0;
}
.commitment-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}
.commitment-no li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #c49090;
    font-weight: 700;
}
.commitment-yes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 700;
}

.dropdown li a em {
    font-style: normal;
    font-size: 0.75rem;
    background: var(--color-bg-raised);
    padding: 0.125rem 0.5rem;
    border-radius: 99px;
    margin-left: 0.375rem;
    color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
}

.faq-nav {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.faq-nav-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.faq-nav ul { list-style: none; }
.faq-nav li + li { margin-top: 0.375rem; }
.faq-nav a {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    text-decoration: none;
}
.faq-nav a:hover { color: var(--color-primary); }

.faq-section + .faq-section { margin-top: 3rem; }

.faq-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.faq-item {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.9875rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--color-text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item summary:hover { background: var(--color-bg); }

.faq-answer {
    padding: 0 1.25rem 1.125rem;
    border-top: 1px solid var(--color-border-light);
}

.faq-answer p {
    margin-top: 1rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-answer a { font-weight: 500; }

/* --------------------------------------------------------------------------
   Achat public
   -------------------------------------------------------------------------- */

.process-steps--large li {
    font-size: 1rem;
    padding-bottom: 1.5rem;
}

.procurement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.procurement-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.procurement-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

.procurement-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

.procurement-note {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Formulaire — consentement RGPD */
.form-consent { margin-bottom: 1.5rem; }

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.55;
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.consent-label a { font-weight: 500; }

.contact-extra-links {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Sécurité Incendie
   -------------------------------------------------------------------------- */

.inc-hero {
    padding: 4rem 0 3.5rem;
    background:
        radial-gradient(ellipse 60% 80% at 90% 10%, rgba(224, 90, 46, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 0% 80%, rgba(74, 124, 118, 0.08) 0%, transparent 45%),
        var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.inc-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
    align-items: center;
}

.inc-tag {
    background: rgba(224, 90, 46, 0.1);
    color: #c2410c;
    border-color: rgba(224, 90, 46, 0.22);
}

.inc-hero h1 { margin-bottom: 0.75rem; }

.inc-hero-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.45;
}

.inc-hero-text {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.inc-pills {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.inc-pills span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c2410c;
    background: rgba(224, 90, 46, 0.1);
    border: 1px solid rgba(224, 90, 46, 0.22);
    padding: 0.25rem 0.7rem;
    border-radius: 99px;
}

.inc-highlight {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.inc-phone {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.inc-phone a {
    color: var(--color-text);
    text-decoration: none;
}
.inc-phone a:hover { color: var(--color-primary); }

.inc-hero-visual,
.inc-split-visual,
.inc-conform-visual,
.inc-cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.inc-hero-visual img,
.inc-split-visual img,
.inc-conform-visual img,
.inc-training-img img,
.inc-cta-visual img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: var(--radius-lg);
}

.inc-hero-visual img {
    max-height: 320px;
}

.inc-split-visual img,
.inc-cta-visual img {
    max-height: 260px;
}

.inc-conform-visual img {
    max-height: 180px;
}

.inc-hero-visual img,
.inc-split-visual img,
.inc-cta-visual img {
    background: #eef3f8;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.inc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.inc-why {
    list-style: none;
    margin-top: 1.5rem;
}
.inc-why li {
    position: relative;
    padding: 0 0 1.25rem 1.75rem;
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: 1.25rem;
}
.inc-why li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.inc-why li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: #c2410c;
    font-weight: 700;
}
.inc-why strong {
    display: block;
    margin-bottom: 0.25rem;
}
.inc-why span {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.inc-conform-wrap {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1.75rem;
    align-items: center;
}

.inc-conform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.inc-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-top: 3px solid #e05a2e;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.inc-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.inc-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

.inc-trainings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.inc-training {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.inc-training-img {
    background: #f3f5f8;
    padding: 1.25rem 1rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}
.inc-training-img img {
    max-height: 120px;
    max-width: 80%;
}
.inc-training h3 {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    margin: 1.25rem 1.25rem 0.5rem;
    line-height: 1.3;
}
.inc-training p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 1.25rem 1.5rem;
}

.inc-intro {
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.inc-audiences {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.25rem;
    margin-top: 0.5rem;
}
.inc-audiences li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text);
}
.inc-audiences li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e05a2e;
}

.inc-cta {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}
.inc-cta-grid {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 2.5rem;
    align-items: center;
}
.inc-motto {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 1.25rem 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
    .hero-grid,
    .product-hero-grid,
    .hub-block,
    .contact-grid,
    .inc-hero-grid,
    .inc-split,
    .inc-cta-grid,
    .inc-conform-wrap { grid-template-columns: 1fr; }

    .inc-split > :not(.inc-split-visual),
    .inc-cta-grid > :not(.inc-cta-visual) {
        order: 1;
    }
    .inc-split-visual,
    .inc-cta-visual {
        order: 2;
    }

    .inc-conform-visual { max-width: 160px; }

    .features-grid,
    .benefits-grid { grid-template-columns: 1fr; }

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

    .saas-points { grid-template-columns: repeat(2, 1fr); }

    .solution-cards,
    .features-list,
    .commitments-grid,
    .inc-conform-grid,
    .inc-trainings,
    .inc-audiences,
    .product-gallery { grid-template-columns: 1fr; }

    .faq-layout { grid-template-columns: 1fr; }
    .faq-nav { position: static; }

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

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

@media (max-width: 960px) {
    .header-tagline-bar { display: none; }
    .nav-toggle { display: flex; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100dvh - var(--header-h));
        background: var(--color-surface);
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem 2rem;
        gap: 1rem;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        border-top: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
        z-index: 110;
        pointer-events: none;
    }
    .main-nav.open {
        transform: translateX(0);
        pointer-events: auto;
    }

    .main-nav > ul > li > a {
        color: var(--color-text-muted);
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        display: none;
        min-width: 0;
        max-width: none;
    }
    .has-dropdown.open .dropdown { display: block; }

    .nav-cta { width: 100%; text-align: center; }

    .modules-grid { grid-template-columns: 1fr; }
    .saas-points { grid-template-columns: 1fr; }

    .form-row,
    .checkbox-group { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

    .hero { padding: 3rem 0; }
    .hero-visual { order: -1; }

    .hero-cascade {
        height: 260px;
        max-width: 420px;
        margin: 0 auto 0.5rem;
    }
    .hero-cascade img {
        height: 150px;
    }
    .hero-cascade img:nth-child(3) {
        height: 160px;
    }

    .logo-img {
        height: 44px;
        max-width: 180px;
    }
}
