:root {
    --bg: #f5f5f3;
    --bg-alt: #ffffff;
    --primary: #21526b;
    --primary-soft: #e2edf2;
    --accent: #c9a36b;
    --text: #222222;
    --text-muted: #666666;
    --border-soft: #e0e0dd;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;

    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}
/* Layout utilitaire */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 245, 243, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(224, 224, 221, 0.7);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.logo-img {
    height: 150px;
    width: auto;
    display: block;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #ffffff, #21526b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.logo-text {
    color: var(--primary);
}

/* Navigation */

.nav {
    position: relative;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.4rem;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Hero */

.hero,
.Alpine {
    padding: 4rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 3.2vw, 3rem);
    line-height: 1.1;
    margin: 0 0 1rem;
}

.hero-content h1 span {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-content p {
    margin: 0 0 1.4rem;
    color: var(--text-muted);
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--border-soft);
}

.btn-secondary:hover {
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.hero-meta span {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.8);
}

/* Hero card */

.hero-card {
    background: linear-gradient(145deg, #ffffff, #f0f4f7);
    border-radius: 24px;
    padding: 1.5rem 1.4rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(224, 224, 221, 0.9);
}

.hero-card h2 {
    margin-top: 0;
    font-size: 1.1rem;
}

.hero-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-card ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

/* Sections générales */

.section {
    padding: 3.5rem 0;
}

.section-alt {
    padding: 3.5rem 0;
    background: var(--bg-alt);
}

.section-title {
    font-size: 1.6rem;
    margin: 0 0 0.3rem;
}

.section-subtitle {
    margin: 0 0 2rem;
    color: var(--text-muted);
    max-width: 32rem;
}

/* Cartes & grilles */

.grid {
    display: grid;
    gap: 1.6rem;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.4rem 1.2rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.card ul {
    padding-left: 1.2rem;
    margin: 0;
    font-size: 0.86rem;
}

/* Process */

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.3rem;
}

.step {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 1.1rem 1.1rem 1rem;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
}

.step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: start;
}

.about-highlights {
    display: grid;
    gap: 0.7rem;
}

.highlight {
    background: #fafaf7;
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-soft);
}

.highlight-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.highlight-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.2rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-size: 0.85rem;
    font-weight: 500;
}

input,
select,
textarea {
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    background: #fafaf7;
}

textarea {
    border-radius: 12px;
    resize: vertical;
    min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    background: #ffffff;
}

.btn-full {
    grid-column: 1 / -1;
}

.form-note {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

.contact-info {
    font-size: 0.9rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.contact-info li {
    margin-bottom: 0.4rem;
}

.small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Portfolio */

.portfolio-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio-item {
    padding: 1.4rem 1.4rem 1.2rem;
}

.portfolio-item h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.portfolio-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.2rem 0;
}

/* Footer */

.footer {
    border-top: 1px solid var(--border-soft);
    padding: 1.2rem 0 1.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: #f3f3f0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */

@media (max-width: 880px) {
    .hero-inner,
    .about-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: -1;
    }

    .contact-form {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .header-inner {
        height: 58px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 110%;
        background: #ffffff;
        flex-direction: column;
        padding: 0.8rem 1rem;
        border-radius: 12px;
        border: 1px solid var(--border-soft);
        box-shadow: var(--shadow-soft);
        min-width: 180px;
        display: none;
    }

    .nav-links.show {
        display: flex;
    }

    .hero,
    .Alpine {
        padding-top: 2.4rem;
    }
}
