/* PARAMETRES GENERAUX */
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
html {
    scroll-behavior: smooth;
}
 
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f2f1ee;
    color: #11151a;
    line-height: 1.6;
}
 
a {
    transition: color 0.2s ease, background 0.2s ease;
}
 
img {
    max-width: 100%;
}
 
/* BARRE LATERALE */
 
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 218px;
    height: 100vh;
    background: #111419;
    color: white;
    border-right: 4px solid #e8e8e8;
    z-index: 100;
}
 
.logo {
    height: 110px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
}
 
.logo span {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0078d7;
    border-radius: 2px;
    font-size: 16px;
    font-weight: bold;
}
 
.logo strong {
    font-size: 15px;
}
 
.sidebar nav {
    padding: 15px 10px;
}
 
.sidebar nav a {
    display: block;
    padding: 13px 12px;
    margin-bottom: 5px;
    color: #d5d9dd;
    text-decoration: none;
    font-size: 13px;
    border-left: 2px solid transparent;
}
 
.sidebar nav a:hover {
    background: #1d2329;
    color: white;
}
 
.sidebar nav a.active {
    background: #1c2228;
    border-left-color: #0088ee;
    color: white;
}
 
/* CONTENU PRINCIPAL */
 
.page {
    margin-left: 218px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
 
/* BANDEAU D'ACCUEIL */
 
.hero {
    min-height: 390px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            rgba(8, 14, 21, 0.78),
            rgba(8, 14, 21, 0.82)
        ),
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=85")
        center / cover no-repeat;
}
 
.hero-content {
    max-width: 760px;
    padding: 55px 45px;
    color: white;
}
 
.small-title {
    display: block;
    margin-bottom: 15px;
    color: #0078d7;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}
 
.hero h1,
.page-hero h1 {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 15px;
}
 
.hero h1 span,
.page-hero h1 span {
    color: #0088ee;
}
 
.slogan {
    margin-bottom: 15px;
    font-size: 19px;
    color: #e0e4e8;
}
 
.hero-content > p:not(.slogan) {
    max-width: 570px;
    color: #d5d9dd;
    font-size: 13px;
    line-height: 1.8;
}
 
.button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 20px;
    background: #0078d7;
    color: white;
    text-decoration: none;
    font-size: 12px;
}
 
.button:hover {
    background: #0068bd;
}
 
/* BANDEAU DES PAGES SERVICES ET CONTACT */
 
.page-hero {
    min-height: 220px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    background:
        linear-gradient(
            rgba(8, 14, 35, 0.84),
            rgba(8, 14, 35, 0.88)
        ),
        url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600&q=85")
        center / cover no-repeat;
}
 
.page-hero p {
    font-size: 13px;
    color: #d5d9dd;
}
 
/* SECTIONS */
 
.section {
    padding: 40px;
}
 
.section h2 {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 500;
    margin-bottom: 18px;
}
 
.section > p {
    max-width: 750px;
    color: #606873;
    font-size: 13px;
    line-height: 1.9;
}
 
.text-link {
    display: inline-block;
    margin-top: 20px;
    color: #0078d7;
    font-size: 12px;
    text-decoration: none;
}
 
.text-link:hover {
    color: #005da8;
    text-decoration: underline;
}
 
/* APERCU DES SERVICES SUR L'ACCUEIL */
 
.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 25px;
}
 
.preview-card {
    background: white;
    border-top: 2px solid #0078d7;
    padding-bottom: 20px;
}
 
.preview-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
 
.preview-card h3 {
    padding: 18px 18px 5px;
    font-size: 18px;
    font-weight: 500;
}
 
.preview-card p {
    padding: 0 18px;
    color: #606873;
    font-size: 12px;
}
 
/* LISTE DES SERVICES */
 
.service-list {
    padding: 0 40px 55px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
 
.service-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: white;
    min-width: 0;
}
 
.service-item.reverse .service-image {
    order: 2;
}
 
.service-image {
    min-height: 320px;
    overflow: hidden;
    background: #d9dfe4;
}
 
.service-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}
 
.service-content {
    padding: 30px;
    border-top: 2px solid #0078d7;
}
 
.service-number {
    display: block;
    margin-bottom: 25px;
    color: #0078d7;
    font-size: 10px;
    font-weight: bold;
}
 
.service-content h2 {
    margin-bottom: 15px;
    font-size: 23px;
    font-weight: 500;
}
 
.service-content > p {
    color: #606873;
    font-size: 13px;
    line-height: 1.8;
}
 
.service-content .service-price {
    margin-top: 22px;
    color: #11151a;
    font-size: 15px;
    font-weight: bold;
}
 
/* CONTACT */
 
.contact-content {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 45px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 40px;
}
 
.contact-info h2 {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
}
 
.contact-intro {
    margin-bottom: 25px;
    color: #606873;
    font-size: 13px;
}
 
.contact-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
    border-bottom: 1px solid #d5d5d3;
}
 
.contact-number {
    color: #0078d7;
    font-size: 10px;
    font-weight: bold;
}
 
.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    overflow-wrap: anywhere;
}
 
.contact-details strong {
    font-size: 13px;
}
 
.contact-details p,
.contact-details a {
    color: #424950;
    font-size: 12px;
    text-decoration: none;
}
 
.contact-details a:hover {
    color: #0078d7;
}
 
/* FORMULAIRE */
 
.contact-form-box {
    padding: 25px;
    background: white;
    border-top: 2px solid #0078d7;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.05);
    align-self: start;
}
 
.contact-form-box h2 {
    margin-bottom: 22px;
    font-size: 20px;
    font-weight: 500;
}
 
.form-group {
    margin-bottom: 17px;
}
 
.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: bold;
}
 
.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5d8;
    border-radius: 0;
    background: #f8f9fa;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
 
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0078d7;
}
 
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
 
.contact-form-box button {
    width: 100%;
    padding: 13px;
    border: none;
    background: #0078d7;
    color: white;
    text-align: left;
    font-size: 12px;
    cursor: pointer;
}
 
.contact-form-box button:hover {
    background: #0068bd;
}
 
.form-note {
    margin-top: 12px;
    color: #777;
    font-size: 10px;
}
 
/* PIED DE PAGE COMMUN */
 
footer {
    margin-top: auto;
    padding: 35px 40px 20px;
    background: #111419;
    color: white;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
 
footer strong {
    font-size: 13px;
}
 
footer p {
    margin-top: 12px;
    color: #aeb4ba;
    font-size: 11px;
    line-height: 1.9;
}
 
footer a {
    color: #aeb4ba;
    text-decoration: none;
}
 
footer a:hover {
    color: white;
}
 
footer .copyright {
    grid-column: 1 / -1;
    padding-top: 15px;
    border-top: 1px solid #292d32;
    color: #9299a0;
    font-size: 10px;
}
 
/* TABLETTES */
 
@media (max-width: 1000px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
 
    .service-item {
        grid-template-columns: 1fr;
    }
 
    .service-item.reverse .service-image {
        order: 0;
    }
 
    .service-image,
    .service-image img {
        min-height: 260px;
        max-height: 360px;
    }
}
 
/* MOBILES */
 
@media (max-width: 700px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 3px solid #e8e8e8;
    }
 
    .logo {
        height: 75px;
    }
 
    .sidebar nav {
        display: flex;
        padding: 0 10px 10px;
        gap: 5px;
    }
 
    .sidebar nav a {
        flex: 1;
        padding: 11px 6px;
        margin: 0;
        text-align: center;
        font-size: 12px;
    }
 
    .page {
        margin-left: 0;
    }
 
    .hero {
        min-height: 330px;
    }
 
    .hero-content {
        padding: 35px 24px;
    }
 
    .hero h1,
    .page-hero h1 {
        font-size: 30px;
    }
 
    .slogan {
        font-size: 16px;
    }
 
    .page-hero {
        min-height: 190px;
        padding: 30px 24px;
    }
 
    .section {
        padding: 30px 24px;
    }
 
    .section h2 {
        font-size: 24px;
    }
 
    .preview-grid {
        grid-template-columns: 1fr;
    }
 
    .service-list {
        padding: 0 24px 35px;
    }
 
    .service-content {
        padding: 24px;
    }
 
    .contact-content {
        padding: 30px 24px;
    }
 
    .contact-form-box {
        padding: 20px;
    }
 
    footer {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 24px 20px;
    }
 
    footer .copyright {
        grid-column: auto;
    }
}
