:root {
    --brand: #14642e;
    --brand-light: #a5c730;
    --brand-alert: #b34700;
    --dark: #2c3e50;
    --white: #ffffff;
    --soft: #f8f9fa;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--soft);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.text-center { text-align: center; }

.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area {
    display: flex;
    align-items: center;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}
.logo-link img {
    height: 50px !important;
    width: auto !important;
    max-width: 100%;
    display: block;
}
.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand);
}

.btn-outline {
    border: 2px solid var(--brand);
    color: var(--brand);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}
.btn-outline:hover {
    background-color: var(--brand);
    color: var(--white);
}

.btn-primary {
    display: inline-block;
    background-color: var(--brand-alert);
    color: var(--white);
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}
.btn-primary:hover {
    background-color: #8a3700;
    transform: scale(1.05);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--brand);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: 0.3s;
}
.btn-secondary:hover {
    background-color: var(--brand);
}

.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('galerie/hero-bg.webp') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.badge {
    display: inline-block;
    background-color: var(--brand);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-reassurance {
    margin: 35px auto 0 auto;
    font-size: 0.90rem !important;
    font-weight: normal;
    font-style: italic;
    max-width: 260px;
    line-height: 1.5;
    color: #e0e0e0;
    display: block;
}

.reassurance {
    background-color: var(--white);
    padding: 80px 0;
    border-bottom: 1px solid #ddd;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
}
.feature {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--brand);
}
.feature h3 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.feature p {
    color: #555;
    font-size: 0.95rem;
}

.expertises {
    background-color: var(--soft);
    padding: 80px 0;
    border-bottom: 1px solid #ddd;
}
.expertises h2 {
    margin-bottom: 40px;
    color: var(--brand);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.seo-text {
    background-color: var(--white);
    padding: 80px 0;
}
.seo-text h2 {
    color: var(--brand);
    margin-bottom: 20px;
}

.scroll-down {
    display: block;
    color: var(--white);
    font-size: 2.5rem;
    margin-top: 30px;
    animation: bounce 2s infinite;
    text-decoration: none;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--brand);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top.show:hover {
    background-color: var(--dark);
    transform: translateY(-5px);
}

.faq-section {
    background-color: var(--soft);
    padding: 80px 0;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
details {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
summary {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    color: var(--dark);
    list-style: none;
    position: relative;
}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: '\f078';
    font-family: 'FontAwesome';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand);
    transition: transform 0.3s;
}
details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}
details p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 50px 0 20px 0;
}
.footer p { margin-bottom: 10px; }
.copyright {
    margin-top: 40px;
    font-size: 0.8rem;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    .header-grid {
        flex-wrap: nowrap;
        gap: 5px;
        justify-content: space-between;
    }
    .brand-text {
        display: block;
        font-size: 1rem;
        line-height: 1.1;
    }
    .badge-area {
        display: none;
    }
    .logo-link {
        gap: 8px;
    }
    .logo-link img {
        height: 35px !important;
    }
    .btn-outline {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    .btn-area {
        text-align: right;
    }
    .hero {
        padding: 50px 15px;
    }
    .hero h1 { 
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    .btn-primary {
        padding: 12px 15px;
        font-size: 1rem;
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 10px auto 0 auto;
    }
}
