:root {
    --bg: #0a0f1f;
    --bg-soft: #12192e;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-2: rgba(255, 255, 255, 0.08);
    --text: #f4f7ff;
    --muted: #b6c0dc;
    --primary: #4f7cff;
    --primary-strong: #3560e6;
    --border: rgba(255, 255, 255, 0.1);
    --success: #163a22;
    --success-border: #2d7a49;
    --container: 1180px;
    --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(79, 124, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #09101f 0%, #0f172d 100%);
    color: var(--text);
    line-height: 1.6;
}
main { min-height: 70vh; }
.container { width: min(92%, var(--container)); margin: 0 auto; }
.narrow { max-width: 760px; }
a { color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(9, 16, 31, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo {
    text-decoration: none;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: 1.2rem; }
.nav-links a { text-decoration: none; color: var(--muted); transition: 0.2s ease; }
.nav-links a:hover { color: var(--text); }
.messages-wrap { padding-top: 1rem; }
.alert { border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.alert.success { background: var(--success); border: 1px solid var(--success-border); }
.hero, .page-hero { padding: 5.5rem 0 4rem; }
.small-hero { padding-bottom: 2rem; }
.small-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.hero-grid, .split-grid, .contact-grid, .footer-grid { display: grid; gap: 2rem; }
.hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
.split-grid { grid-template-columns: 1fr 1fr; align-items: center; }
.contact-grid { grid-template-columns: 0.9fr 1.1fr; }
.footer-grid { grid-template-columns: 1.3fr 0.8fr 0.8fr; }
.badge, .section-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #cfe0ff;
}
.badge {
    background: rgba(79, 124, 255, 0.14);
    border: 1px solid rgba(79, 124, 255, 0.25);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.04; margin: 0 0 1rem; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.15; margin: 0 0 1rem; }
h3, h4 { margin-top: 0; }
.lead { font-size: 1.2rem; color: #d8e3ff; margin-bottom: 1rem; }
.hero-text, .section p, .card p, .contact-card p, .legal-content p, .footer-grid p, .footer-grid li, .hero-panel li, .testimonial-meta, .faq-item p {
    color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    padding: 0.95rem 1.3rem;
    border-radius: 14px;
    transition: 0.25s ease;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-strong); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: white; border: 1px solid var(--border); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; border-radius: 10px; }
.nav-phone { font-weight: 700; color: var(--text) !important; letter-spacing: 0.01em; }
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 100;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-open span:nth-child(2) { opacity: 0; }
.burger-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hero-panel, .card, .contact-card, .cta-box, .stat-card, .feature-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.hero-panel, .contact-card, .card, .cta-box { padding: 1.6rem; }
.card {
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: default;
}
.card .btn {
    margin-top: auto;
    align-self: flex-start;
}
.card:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 124, 255, 0.18);
    border-color: var(--primary);
}
.hero-panel ul, .footer-grid ul { padding-left: 1.2rem; margin: 0; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.stat-card { padding: 1rem 1.1rem; }
.stat-card span { display: block; margin-top: 0.35rem; color: var(--muted); }
.section { padding: 4rem 0; }
.section-alt { background: rgba(255, 255, 255, 0.025); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.service-icon { font-size: 1.7rem; margin-bottom: 0.8rem; }

/* Service blocks (page services détaillée) */
.service-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 2.2rem;
    margin-bottom: 1.8rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 124, 255, 0.18);
    border-color: var(--primary);
}
.service-block-header {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
    margin-bottom: 1.4rem;
}
.service-icon-lg { font-size: 2.4rem; flex-shrink: 0; margin-top: 0.2rem; }
.service-photo { display: flex; align-items: center; justify-content: center; }
.service-photo-img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.service-block h2 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.service-desc { margin: 0; line-height: 1.7; }
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: grid;
    gap: 0.55rem;
}
.service-features li {
    padding: 0.5rem 0.8rem 0.5rem 2rem;
    background: rgba(79, 124, 255, 0.06);
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
}
.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0.5rem;
    color: var(--primary);
    font-weight: 700;
}
.feature-list, .faq-list { display: grid; gap: 1rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: default;
}
.step-card:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 124, 255, 0.18);
    border-color: var(--primary);
}
.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(79, 124, 255, 0.25);
    line-height: 1;
    margin-bottom: 1rem;
}
.feature-item { padding: 1rem 1.1rem; }
.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }

/* À propos */
.about-photo, .about-placeholder { display: flex; align-items: center; justify-content: center; }
.about-img { width: 100%; max-width: 380px; border-radius: var(--radius); object-fit: cover; aspect-ratio: 3/4; }
.about-placeholder { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-height: 280px; }
.about-initials { font-size: 4rem; font-weight: 800; color: var(--primary); opacity: 0.4; }

/* Blog */
.blog-card { display: flex; flex-direction: column; gap: 0.6rem; }
.blog-card h3 { margin: 0; font-size: 1.1rem; }
.blog-card h3 a { text-decoration: none; color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-date { font-size: 0.82rem; color: var(--muted); }
.blog-read-more { margin-top: auto; color: var(--primary); text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.blog-read-more:hover { text-decoration: underline; }
.blog-back { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.blog-back:hover { color: var(--text); }
.blog-empty { text-align: center; padding: 4rem 0; color: var(--muted); }
.article-body { line-height: 1.8; }
.article-body p { color: var(--muted); margin: 0 0 1.2rem; }
.article-body h2 { margin: 2.5rem 0 1rem; }
.article-body h3 { margin: 2rem 0 0.75rem; }
.article-body ul, .article-body ol { color: var(--muted); margin: 0 0 1.2rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote { border-left: 3px solid var(--primary); padding-left: 1rem; margin: 1.5rem 0; color: var(--muted); font-style: italic; }
.article-body a { color: var(--primary); }

/* Calendly */
.calendly-wrapper { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.calendly-iframe { width: 100%; height: 700px; display: block; }
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 0.45rem; }
.form-row label { font-weight: 700; }
.form-row input, .form-row textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: white;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    font: inherit;
}
.form-row textarea { resize: vertical; }
.legal-content h2 { margin-top: 2rem; }
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.pricing-highlight {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}
.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
    color: var(--muted);
}
.pricing-list li::before { content: "✓  "; color: var(--primary); font-weight: 700; }
.quote { font-size: 1.05rem; margin-bottom: 1rem; }
.testimonial-meta { display: block; margin-top: 0.25rem; }
.faq-item {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 16px;
    padding: 1rem 1.1rem;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0.9rem 0 0; }
.site-footer {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 2.5rem;
    padding-bottom: 1rem;
}
.footer-grid a { text-decoration: none; color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { padding-top: 1.5rem; color: var(--muted); }

/* Animations au scroll (déclenchées par IntersectionObserver) */
.reveal, .reveal-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible, .reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.08s; }
.reveal-2 { transition-delay: 0.2s; }
.cards .reveal-up:nth-child(1), .cards-3 .reveal-up:nth-child(1) { transition-delay: 0.05s; }
.cards .reveal-up:nth-child(2), .cards-3 .reveal-up:nth-child(2) { transition-delay: 0.12s; }
.cards .reveal-up:nth-child(3), .cards-3 .reveal-up:nth-child(3) { transition-delay: 0.19s; }
.cards .reveal-up:nth-child(4), .cards-3 .reveal-up:nth-child(4) { transition-delay: 0.26s; }

@media (max-width: 1024px) {
    .hero-grid, .split-grid, .contact-grid, .footer-grid, .cards, .cards-3, .section-head, .steps {
        grid-template-columns: 1fr 1fr;
    }
    .section-head { align-items: start; }
}

@media (max-width: 720px) {
    .burger { display: flex; }
    .nav { flex-wrap: wrap; padding: 0.6rem 0; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid var(--border);
        margin-top: 0.5rem;
    }
    .nav-links.nav-open { display: flex; }
    .nav-links a { padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
    .nav-links .btn { margin-top: 0.5rem; text-align: center; }
    .hero, .page-hero { padding-top: 3.5rem; }
    .hero-grid, .split-grid, .contact-grid, .footer-grid, .cards, .cards-3, .hero-stats, .section-head, .cta-box, .steps {
        grid-template-columns: 1fr;
        display: grid;
    }
    .cta-box { justify-content: start; }
}

.brand-logo-big {
  height: 42px;
  width: auto;
  display: block;
}