/* Variables de couleurs - Style RoofLine Home 02 */
:root {
    --primary: #0a235c; /* Bleu profond */
    --secondary: #ff5e14; /* Orange vif */
    --text-dark: #333;
    --light-bg: #f4f7fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.top-bar i {
    color: var(--secondary);
    margin-right: 5px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 35, 92, 0.8), rgba(10, 35, 92, 0.8)), 
                url('demoussage_versigny.webp') center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    background: #e65512;
}

/* Services Grid */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    background: var(--light-bg);
    border-bottom: 4px solid var(--secondary);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Tech Detail Section */
.tech-detail {
    padding: 80px 0;
    background: #fff;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.check-list li::before {
    content: "✔";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.image-box img {
    width: 100%;
    border-radius: 10px;
}

/* Footer */
footer {
    background: #111;
    color: #eee;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplification pour le mobile sans JS */
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}