/* --- Pas d'import Google Fonts --- */

body {
    font-family: 'Bahnschrift', 'Barlow', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: #f8f9fa;
    color: #2B4568;
}

/* Header et Navigation */
header {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    box-shadow: 0 4px 20px rgba(43,69,104,0.05);
    z-index: 120;
    position: relative;
}
.logo img {
    height: 52px;
}
nav {
    position: relative;
    z-index: 110;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
    margin: 0;
    padding: 0;
    transition: all 0.28s cubic-bezier(.38,.92,.6,1);
}

/* Liens nav classiques */
nav a {
    text-decoration: none;
    color: #2B4568;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s, background 0.2s;
    padding: 8px 16px;
    border-radius: 14px;
}
nav a:hover,
nav a.active,
nav .btn-orange:hover,
nav .btn-orange.active {
    color: #fff !important;
    background: #D67F2A;
}
.btn-orange {
    background: #D67F2A;
    color: #fff !important;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(214,127,42,0.14);
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

/* --- Burger menu --- */
.burger-menu {
    display: flex; /* TOUJOURS visible */
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 36px;
    height: 36px;
    z-index: 130;
}
.burger-menu span {
    display: block;
    height: 4px;
    width: 100%;
    background: #2B4568;
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.25s;
}
#burger-toggle {
    display: none;
}

/* Menu burger et nav en version mobile (overlay menu) */
nav ul {
    position: fixed;
    top: 60px; /* hauteur header */
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 210px;
    box-shadow: 0 6px 24px #2B456826;
    padding: 24px 0;
    border-radius: 0 0 0 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    height: calc(100vh - 60px);
    overflow-y: auto;
    transition: all 0.28s cubic-bezier(.38,.92,.6,1);
    gap: 0;
    margin: 0;
    z-index: 120;
}
nav ul li {
    margin: 12px 24px 12px 0;
    text-align: right;
}

/* Quand burger coché : menu visible */
#burger-toggle:checked ~ ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* Burger to X animation */
#burger-toggle:checked + .burger-menu span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
#burger-toggle:checked + .burger-menu span:nth-child(2) {
    opacity: 0;
}
#burger-toggle:checked + .burger-menu span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* VERSION DESKTOP : menu horizontal visible, burger caché */
@media (min-width: 651px) {
    nav ul {
        position: static !important;
        flex-direction: row !important;
        width: auto !important;
        box-shadow: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        padding: 0 !important;
        gap: 18px !important;
        height: auto !important;
        overflow: visible !important;
    }
    .burger-menu {
        display: none !important;
    }
}

/* Hero Accueil */
.hero {
    background: linear-gradient(90deg, #2B4568 70%, #D67F2A 130%);
    color: #fff;
    text-align: center;
    padding: 90px 16px 70px 16px;
}
.hero h1 {
    font-size: 2.7em;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}
.hero p {
    font-size: 1.35em;
    margin-bottom: 32px;
}
.hero .btn-orange {
    font-size: 1.15em;
    padding: 12px 36px;
}

/* Sections générales */
section {
    max-width: 1200px;
    margin: 54px auto 0 auto;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 8px 32px rgba(43,69,104,0.08);
    padding: 44px 32px;
}
section h2 {
    color: #2B4568;
    font-size: 2em;
    margin-bottom: 22px;
    text-align: center;
    font-weight: 700;
}

/* Services */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.service-card {
    background: #F6F8FB;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(43,69,104,0.07);
    border-left: 8px solid #D67F2A;
    transition: transform 0.15s;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(214,127,42,0.14);
}
.service-card h3 {
    color: #2B4568;
    font-size: 1.25em;
    margin-bottom: 12px;
}

/* Avantages */
.advantages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    font-size: 1.17em;
    padding: 0;
    list-style: none;
}
.advantages li {
    background: #D67F2A;
    color: #fff;
    border-radius: 18px;
    padding: 14px 34px;
    box-shadow: 0 2px 10px rgba(214,127,42,0.11);
    margin: 10px 0;
}

/* Témoignages */
.testimonial-list {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
blockquote {
    background: #F6F8FB;
    border-left: 6px solid #2B4568;
    border-radius: 12px;
    padding: 24px 18px;
    max-width: 360px;
    font-size: 1.09em;
    margin: 0;
}
blockquote span {
    display: block;
    margin-top: 16px;
    color: #D67F2A;
    font-weight: 600;
}

/* Partenaires */
.partners-list {
    display: flex;
    gap: 38px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 18px;
}
.partners-list img {
    max-height: 48px;
    max-width: 160px;
    filter: grayscale(15%);
}

/* Simulateur devis */
section#devis form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}
section#devis input, section#devis select, section#devis textarea {
    border: 1px solid #BFD4E6;
    border-radius: 10px;
    padding: 12px 10px;
    font-size: 1em;
    width: 100%;
}
section#devis button {
    margin-top: 8px;
}

/* FAQ */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}
details {
    background: #F6F8FB;
    margin-bottom: 16px;
    border-radius: 10px;
    padding: 14px 18px;
    border-left: 6px solid #D67F2A;
    font-size: 1.08em;
    cursor: pointer;
}
details[open] summary {
    color: #D67F2A;
}
summary {
    font-weight: 600;
    outline: none;
    user-select: none;
}

/* À propos */
section#about {
    display: flex;
    align-items: center;
    gap: 38px;
    flex-wrap: wrap;
    justify-content: center;
}
section#about img {
    width: 100px; /* ou la taille que tu veux */
    border-radius: 0;
    box-shadow: none;
    background: none;
}

/* Contact */
section#contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin-bottom: 24px;
}
section#contact input, section#contact textarea {
    border: 1px solid #BFD4E6;
    border-radius: 10px;
    padding: 12px 10px;
    font-size: 1em;
}
section#contact button {
    margin-top: 8px;
}
section#contact .infos {
    margin-top: 18px;
    color: #2B4568;
    font-size: 1.07em;
    line-height: 1.7;
}
section#contact a {
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
}

/* Footer */
footer {
    background: #2B4568;
    color: #fff;
    padding: 24px 10px 14px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 24px 24px;
    margin-top: 44px;
    font-size: 1em;
}
footer a {
    color: #D67F2A;
    text-decoration: none;
    font-weight: 600;
    margin: 0 8px;
}

/* Responsive pour images */
@media (max-width: 600px) {
    .hero img, section > img {
        border-radius: 12px !important;
        margin-top: 16px !important;
    }
}
