/* Style général moderne, inspiré d’un site corporate, aux couleurs Assur’Futur */

:root {
    --bg-body: #0f172a;
    --bg-soft: #f3f7fb;
    --bg-soft-alt: #e1f6fb;
    --bg-gradient: linear-gradient(135deg, #0ea5e9, #22c1c3);

    --color-primary: #0ea5e9;
    --color-primary-soft: #e0f5ff;
    --color-secondary: #0f172a;
    --color-text: #0f172a;
    --color-text-soft: #64748b;
    --color-white: #ffffff;

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 999px;

    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.25);
    --shadow-card: 0 14px 32px rgba(15, 23, 42, 0.16);

    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: #f1f5f9;
    line-height: 1.6;
}

/* Layout de base */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header / navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(241, 245, 249, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.topbar-accent {
    height: 3px;
    background: var(--bg-gradient);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.brand img {
    width: 64px;
    height: auto;
    border-radius: 16px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
}

.brand-tagline {
    font-size: 0.82rem;
    color: var(--color-text-soft);
}

.main-nav {
    display: flex;
    gap: 18px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-soft);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: rgba(148, 163, 184, 0.16);
    color: var(--color-text);
}

.nav-link.active {
    background: var(--color-primary);
    color: var(--color-white);
}

/* HERO */

.hero {
    padding: 64px 0 56px;
}

.hero-gradient {
    background: radial-gradient(circle at top left, #e0f2fe 0, #e0f2fe 32%, #f9fafb 90%);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    line-height: 1.15;
    margin: 14px 0 14px;
    color: #020617;
}

.hero-copy h1 span {
    display: block;
    margin-top: 8px;
    font-weight: 500;
    font-size: 0.9em;
    color: var(--color-text-soft);
}

.hero-lead {
    font-size: 1rem;
    color: var(--color-text-soft);
    max-width: 580px;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pill-solid {
    background: var(--bg-gradient);
    color: var(--color-white);
}

.pill-outline {
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: var(--color-text-soft);
    background: rgba(255, 255, 255, 0.7);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 10px;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

.hero-points li {
    margin-bottom: 4px;
}

/* HERO VISUEL */

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-image-card {
    background: var(--bg-gradient);
    border-radius: var(--radius-lg);
    padding: 10px 10px 14px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

.hero-image {
    display: block;
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    max-height: 360px;
}

.hero-image-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero-image-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    font-size: 0.75rem;
}

.hero-image-pill-light {
    background: rgba(241, 245, 249, 0.9);
    color: #020617;
}

.hero-info-strip {
    margin-top: 10px;
    padding: 6px 8px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.35);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.hero-strip-label {
    display: block;
    font-size: 0.7rem;
    opacity: 0.9;
}

.hero-strip-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Sections */

.section {
    padding: 56px 0;
}

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

.section-soft {
    background: #f9fafb;
}

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

.section-split {
    background: #ffffff;
}

.section-dark {
    background: linear-gradient(135deg, #020617, #020e1f 60%, #0f172a 100%);
    color: var(--color-white);
}

.section h2 {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.section-lead {
    max-width: 640px;
    color: var(--color-text-soft);
    margin-top: 6px;
}

.section-lead-light {
    color: rgba(226, 232, 240, 0.85);
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

/* Grilles / cartes */

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

.feature-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 14px 14px 16px;
    box-shadow: var(--shadow-card);
}

.feature-card h3 {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature-card p {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--color-text-soft);
}

.feature-image {
    width: 100%;
    border-radius: 14px;
    display: block;
    object-fit: cover;
    max-height: 220px;
}

.link-more {
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
}

.link-more:hover {
    text-decoration: underline;
}

/* Split grid */

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 28px;
    align-items: flex-start;
}

/* Boxes */

.highlight-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-card);
}

.simple-box {
    background: var(--color-primary-soft);
    border-radius: var(--radius-md);
    padding: 18px;
}

/* Steps */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.step-card {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 18px;
    padding: 16px 16px 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.step-card h3 {
    margin-top: 4px;
    margin-bottom: 8px;
    font-size: 1rem;
}

.step-card p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.88);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.9rem;
}

/* Lists */

.tick-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.tick-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    color: var(--color-text-soft);
}

.tick-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-size: 0.85rem;
}

.section-dark .tick-list li {
    color: rgba(226, 232, 240, 0.9);
}

.section-gradient-soft {
    background: radial-gradient(circle at top left, #0ea5e9 0, #22c1c3 28%, #0f172a 100%);
    color: var(--color-white);
}

.tick-list-light li {
    color: rgba(241, 245, 249, 0.94);
}

.tick-list-light li::before {
    color: #facc15;
}

/* Sous-hero */

.sub-hero {
    padding: 46px 0 24px;
    background: linear-gradient(135deg, #e0f2fe, #f9fafb);
}

.sub-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 24px;
    align-items: center;
}

.sub-hero-image {
    width: 100%;
    max-width: 440px;
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    object-fit: cover;
    max-height: 320px;
}

/* Images latérales dans les sections */

.section-side-image {
    width: 100%;
    border-radius: 18px;
    margin-top: 12px;
    object-fit: cover;
    max-height: 260px;
}

.garanties-complementaires-visual {
    margin-top: 18px;
    max-width: 420px;
}

/* CTA row */

.section-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.cta-final {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 20px;
    align-items: center;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Boutons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--color-white);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
    background: #ffffff;
    color: var(--color-text);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover {
    background: rgba(248, 250, 252, 0.9);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

.btn-cookie {
    margin-top: 6px;
    padding-inline: 18px;
}

.full-width {
    width: 100%;
}

/* Formulaire */

.contact-form {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 20px 18px 18px;
    box-shadow: var(--shadow-card);
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.form-row label {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.form-row input,
.form-row select,
.form-row textarea {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    font: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.4);
}

/* Footer */

.site-footer {
    background: #020617;
    color: rgba(226, 232, 240, 0.88);
    padding: 20px 0 24px;
    margin-top: 32px;
    font-size: 0.85rem;
}

.footer-inner {
    text-align: center;
}

.footer-small {
    margin-top: 8px;
}

.site-footer a {
    color: #93c5fd;
}

/* Page Merci */

.thanks-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #0ea5e9 0, #020617 70%);
    padding: 20px;
}

.thanks-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 28px 24px 22px;
    max-width: 480px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

/* WhatsApp flottant */

.whatsapp-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #22c55e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 35px rgba(22, 163, 74, 0.6);
    z-index: 50;
}

.whatsapp-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(22, 163, 74, 0.7);
}

.whatsapp-icon {
    font-size: 0.9rem;
}

/* Cookie banner */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -200px;
    background: rgba(15, 23, 42, 0.96);
    color: #e5e7eb;
    z-index: 60;
    transition: bottom 0.3s ease;
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.86rem;
}

/* Mentions légales */

.legal-text h2 {
    margin-top: 18px;
    margin-bottom: 8px;
}

.legal-text p {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-text-soft);
}

/* Responsif */

@media (max-width: 960px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hero-layout,
    .split-grid,
    .card-grid,
    .steps-grid,
    .cta-final,
    .sub-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 40px;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .hero-image-card {
        margin-top: 10px;
    }

    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .brand img {
        width: 52px;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-inner {
        padding-bottom: 16px;
    }
}
