:root{--bg:#f5f6f8;--ink:#15171a;--muted:#68707a;--card:#fff;--line:#e3e6ea;--accent:#ff5a1f}
*{box-sizing:border-box}
html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > footer {
    margin-top: auto;
}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,Arial}
a{color:inherit}
.wrap{width:min(1120px,calc(100% - 32px));margin:auto}
.site-header,header{background:#111316;color:white}
.nav{height:70px;display:flex;align-items:center;justify-content:space-between}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo span,
.logo em {
    color: #ff7a45;
    font-style: normal;
}
.nav nav{display:flex;gap:24px}
.nav nav a{text-decoration:none}
.hero{background:linear-gradient(135deg,#111316,#252a30);color:white;padding:85px 0}
.hero-in{display:grid;grid-template-columns:1.4fr .8fr;gap:50px;align-items:center}
.hero h1{font-size:clamp(44px,6vw,72px);line-height:1;letter-spacing:-3px}
.hero p{color:#c9cdd2;font-size:19px}
.hero-card{border:1px solid #ffffff25;border-radius:22px;padding:28px}
.btn{display:inline-block;background:var(--accent);color:white;border:0;border-radius:10px;padding:12px 18px;text-decoration:none;font-weight:800;cursor:pointer}
.btn:disabled {
    background: #3a3a3a;
    color: #aaa;
    opacity: 1;
    cursor: not-allowed;
}.ghost,.ghost2{background:#e9ebee;color:#111}
.section{padding:65px 0}
.head{background:white;border-bottom:1px solid var(--line);padding:55px 0}
.head h1{font-size:52px;line-height:1;margin:10px 0}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.card{background:white;border:1px solid var(--line);border-radius:18px;padding:22px}
.cat{text-decoration:none;transition:.18s}
.cat:hover{transform:translateY(-3px);box-shadow:0 12px 30px #0001}
.cat b{font-size:34px}
.cat span{color:var(--muted)}
.band{background:white;border-block:1px solid var(--line)}
.features{display:flex;justify-content:space-between;padding:28px 0}
.pricing{display:grid;grid-template-columns:230px 1fr;gap:28px;padding-top:35px}
.pricing aside{height:max-content;position:sticky;top:85px;background:white;border:1px solid var(--line);border-radius:15px;padding:10px}
.pricing aside a{display:block;padding:10px;border-radius:8px;text-decoration:none}
.pricing aside a.active,.pricing aside a:hover{background:#eee;font-weight:800}
.model{margin-bottom:15px}
.service{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:12px 0}
.service b{color:var(--accent)}
.notes{color:var(--muted);font-size:13px;margin-top:20px}
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.stars{color:#f59e0b}
.contact{display:grid;grid-template-columns:.8fr 1.2fr;gap:20px;padding-top:40px}
label{display:block;font-weight:700;margin:13px 0}
input,textarea{width:100%;padding:12px;border:1px solid #ccd0d5;border-radius:9px;font:inherit}
textarea{min-height:120px}
.ok{background:#e7f6ea;padding:10px}
.err{background:#fee;padding:10px}
.login{max-width:480px;margin-top:80px}
footer{background:#111316;color:white;padding:35px 0}
footer .wrap{display:flex;justify-content:space-between}
@media(max-width:800px){.hero-in,.contact{grid-template-columns:1fr}.cards,.review-grid{grid-template-columns:1fr 1fr}.pricing{grid-template-columns:1fr}.pricing aside{position:static;display:flex;overflow:auto;gap:4px}.pricing aside a{white-space:nowrap}.features{display:grid;gap:12px}}
@media(max-width:520px){.cards,.review-grid{grid-template-columns:1fr}.nav nav{gap:12px;font-size:14px}.hero{padding:55px 0}.head h1{font-size:42px}}

/* =========================================================
   PAGE TARIFS
   ========================================================= */

.pricing-page {
    padding-top: 30px;
    padding-bottom: 60px;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.pricing-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 35px;
    align-items: start;
}


/* =========================================================
   FABRICANTS
   ========================================================= */

.pricing-brands {
    position: sticky;
    top: 25px;
}

.pricing-brands h2 {
    margin: 0 0 15px;
    font-size: 18px;
}


.brand-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.brand-button {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px 15px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;

    background: var(--card);
    color: inherit;

    font-size: 15px;
    font-weight: 800;

    text-align: left;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.brand-button:hover {
    transform: translateX(3px);
    border-color: var(--accent);
}


.brand-button.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}


.brand-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


.brand-icon img {
    max-width: 34px;
    max-height: 34px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   PANNEAUX CATÉGORIES
   ========================================================= */

.category-panel {
    display: none;
}

.category-panel.active {
    display: block;
}


.category-header {
    margin-bottom: 25px;
}


.category-header small {
    opacity: .55;
    font-weight: 800;
}


.category-header h2 {
    margin: 4px 0 0;
    font-size: 30px;
}


/* =========================================================
   BOUTONS DES MODÈLES
   ========================================================= */

.model-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 25px;
}


.model-button {
    min-width: 90px;

    padding: 14px 20px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;

    background: var(--card);
    color: inherit;

    font-size: 16px;
    font-weight: 900;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.model-button:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}


.model-button.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}


/* =========================================================
   TARIFS
   ========================================================= */

.model-price-panel {
    display: none;

    background: var(--card);

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;

    padding: 25px;
}


.model-price-panel.active {
    display: block;
}


.model-price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 20px;

    padding-bottom: 15px;

    border-bottom: 1px solid rgba(255,255,255,.10);
}


.model-price-header h3 {
    margin: 0;

    font-size: 24px;
}


.model-price-header span {
    font-size: 13px;
    opacity: .55;
}


/* =========================================================
   LIGNES DES PRESTATIONS
   ========================================================= */

.service-list {
    display: flex;
    flex-direction: column;
}


.service-row {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid rgba(255,255,255,.07);
}


.service-row:last-child {
    border-bottom: 0;
}


.service-row span {
    flex: 1;
}


.service-row strong {
    white-space: nowrap;
}


/* =========================================================
   AUCUN TARIF
   ========================================================= */

.pricing-empty {
    padding: 25px;

    text-align: center;

    opacity: .6;
}


/* =========================================================
   NOTES
   ========================================================= */

.pricing-notes {
    margin-top: 25px;

    padding: 20px;

    font-size: 13px;

    opacity: .65;

    border-top: 1px solid rgba(255,255,255,.10);
}


.pricing-notes p {
    margin: 5px 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .pricing-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    .pricing-brands {
        position: static;
    }


    .pricing-brands h2 {
        margin-bottom: 10px;
    }


    .brand-list {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 8px;
    }


    .brand-button {
        padding: 10px;
    }


    .category-header h2 {
        font-size: 26px;
    }


    .model-buttons {
        gap: 8px;
    }


    .model-button {
        min-width: 75px;

        padding: 11px 15px;

        font-size: 14px;
    }


    .model-price-panel {
        padding: 18px;
    }


    .model-price-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .service-row {
        align-items: flex-start;
        flex-direction: column;

        gap: 5px;
    }

}


.tariff-category {
    margin-bottom: 25px;
}

.tariff-category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid rgba(255,255,255,.12);
    cursor: pointer;
    list-style: none;
    font-size: 22px;
    font-weight: 900;
}

.tariff-category-title::-webkit-details-marker {
    display: none;
}

.tariff-category-title::before {
    content: "▶";
    font-size: 13px;
    margin-right: 5px;
    transition: transform .2s ease;
}

.tariff-category[open] .tariff-category-title::before {
    transform: rotate(90deg);
}

.category-name {
    flex: 1;
}

.category-add {
    font-size: 14px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 8px;
    background: var(--accent);
    color: white;
}

.tariff-category-content {
    margin-top: 10px;
}

.admin-btn-notif {
    position: relative;
}

.notif-badge {
    position: absolute;
    top: -9px;
    right: -9px;

    min-width: 22px;
    height: 22px;
    padding: 0 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e53935;
    color: #fff;

    border: 2px solid #fff;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 900;
    line-height: 1;

    box-sizing: border-box;
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    margin: 8px 0 18px;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    font-size: 36px;
    line-height: 1;
    color: #c7c7c7;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}

/* Survol */
.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: var(--accent);
}

/* Étoiles sélectionnées */
.rating-stars input:checked ~ label {
    color: var(--accent);
}

/* Petit effet au survol */
.rating-stars label:hover {
    transform: scale(1.12);
}

.about-home {
    padding: 75px 0;
    background: #fff;
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1.6fr .8fr;
    gap: 70px;
    align-items: center;
}

.about-home-content > small {
    display: block;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 800;
}

.about-home-content h2 {
    margin: 0 0 25px;
    font-size: 38px;
    line-height: 1.1;
}

.about-home-content h2 em {
    color: var(--accent);
}

.about-home-content p {
    max-width: 700px;
    color: var(--muted);
    line-height: 1.7;
}

.about-points {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 25px;
    font-weight: 800;
}

.about-home-box {
    padding: 35px;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.about-home-box .about-icon {
    display: block;
    margin-bottom: 25px;
    font-size: 25px;
}

.about-home-box strong {
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
}

.about-home-box p {
    line-height: 1.6;
}

.about-home-box small {
    color: var(--muted);
}

@media (max-width: 750px) {
    .about-home {
        padding: 50px 0;
    }

    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-home-content h2 {
        font-size: 30px;
    }
}

.about-commitments {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-commitments li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-commitments li > span {
    color: var(--accent);
    font-weight: 900;
    font-size: 16px;
}

.about-commitments b {
    display: block;
    margin-bottom: 4px;
}

.about-commitments small {
    display: block;
    color: var(--muted);
    line-height: 1.5;
}

.process-section {
    padding: 65px 0;
    background: #f5f6f8;
}

.process-section small {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.process-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    min-height: 180px;
}

.process-number {
    display: block;
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 22px;
}

.process-card h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 700px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

.review-form-toggle {
    margin-top: 22px;
}

.review-form-container {
    display: none;
    margin-bottom: 30px;
}

.review-form-container.open {
    display: block;
}