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

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2933;
    background-color: #f5f6f8;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #0B2347;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* CONTENEUR */

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

/* HEADER */

.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e3e6ea;
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 20px;
    color: #0B2347;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FF8A00;
    color: #fff;
    font-size: 14px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
}

.btn-nav {
    padding: 8px 14px;
    border-radius: 999px;
    background: #0B2347;
    color: #fff;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}

.burger span {
    width: 20px;
    height: 2px;
    background: #0B2347;
}

/* HERO */

.hero {
    background: linear-gradient(135deg, #0B2347 0%, #122b5c 60%, #FF8A00 100%);
    color: #ffffff;
    padding: 50px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin-bottom: 6px;
}

.hero-highlights li::before {
    content: "✔";
    font-size: 13px;
}

/* BOUTONS */

.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background: #FF8A00;
    color: #0B2347;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary:hover {
    background: #ff9f33;
    text-decoration: none;
}

/* SECTIONS */

.section {
    padding: 48px 0;
}

.section-alt {
    background-color: #ffffff;
}

.section h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.section-intro {
    max-width: 720px;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* GRIDS & CARTES */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    border: 1px solid #e3e6ea;
}

.card h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
}

.card p {
    font-size: 14px;
    line-height: 1.7;
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* LISTES */

.list-check,
.list-dot {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.list-check li::before {
    content: "✔";
    margin-right: 8px;
    color: #0B2347;
}

.list-dot li::before {
    content: "•";
    margin-right: 8px;
    color: #FF8A00;
}

/* CONTACT */

.contact-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    font-size: 14px;
}

.contact-list li {
    margin-bottom: 6px;
}

/* FORMULAIRES (DEVIS) */

.quote-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    border: 1px solid #e3e6ea;
}

.quote-form-full {
    margin-top: 24px;
}

.form-block + .form-block {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.form-block h2 {
    font-size: 18px;
    margin: 0 0 10px 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 500;
    color: #374151;
}

input,
select,
textarea {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
    background: #f9fafb;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #FF8A00;
    background: #ffffff;
}

textarea {
    resize: vertical;
}

.field-help {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

/* RADIO CLIENT */

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    font-size: 14px;
    cursor: pointer;
}

.radio-item input {
    margin: 0;
}

/* DETAILS MARCHANDISE */

.marchandise-details {
    margin-top: 12px;
}

.hidden {
    display: none !important;
}

/* SUBMIT */

.form-submit {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.form-submit-center {
    justify-content: flex-start;
}

.form-note {
    font-size: 12px;
    color: #6b7280;
}

/* ERREURS */

.field-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2;
}

/* PAGE DEVIS */

.devis-page h1 {
    font-size: 26px;
    margin-bottom: 8px;
}

/* FOOTER */

.main-footer {
    border-top: 1px solid #e3e6ea;
    padding: 16px 0;
    background: #ffffff;
    margin-top: 24px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #6b7280;
}

.footer-links a {
    color: #4b5563;
}

/* PAGE RESULT */

.page-result {
    background: #f5f6f8;
}

.result-container {
    padding: 60px 0;
    max-width: 600px;
    text-align: center;
}

.result-container h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .main-nav {
        position: absolute;
        top: 54px;
        right: 0;
        background: #ffffff;
        border-left: 1px solid #e3e6ea;
        border-bottom: 1px solid #e3e6ea;
        padding: 12px 16px;
        display: none;
        flex-direction: column;
        gap: 10px;
        min-width: 180px;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .burger {
        display: flex;
    }
}
