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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

:root {
    --primary: #1B3A4B;
    --primary-dark: #122a37;
    --primary-light: #2a5570;
    --secondary: #E8A824;
    --secondary-dark: #c78e1c;
    --secondary-light: #f0be4f;
    --dark: #111827;
    --dark-gray: #374151;
    --gray: #6B7280;
    --light-gray: #E5E7EB;
    --off-white: #F3F4F6;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

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

.urgence-bar {
    background: var(--secondary);
    color: var(--dark);
    text-align: center;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 1001;
}

.urgence-bar i {
    margin-right: 6px;
}

.urgence-bar a {
    color: var(--primary-dark);
    text-decoration: underline;
    margin-left: 8px;
    font-weight: 700;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: top 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 44px;
    width: auto;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-gray);
    transition: color 0.3s;
    white-space: nowrap;
}

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

.nav .btn-cta-nav {
    background: var(--secondary);
    color: var(--dark);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.3s, transform 0.3s;
}

.nav .btn-cta-nav:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
}

.hero-hub {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(27,58,75,0.92) 0%, rgba(18,42,55,0.85) 100%), url('https://webflash.pro/images/hero_1776174100_69de4414a8c5d.webp') center/cover no-repeat;
    padding-top: 160px;
    padding-bottom: 80px;
    color: var(--white);
    text-align: center;
}

.hero-hub h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-hub h1 span {
    color: var(--secondary);
}

.hero-hub p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.breadcrumb {
    max-width: 1200px;
    margin: 0 auto 20px;
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
    text-align: center;
}

.breadcrumb a {
    color: var(--secondary);
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: var(--dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--white);
    transition: background 0.3s, color 0.3s, transform 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-gray {
    background: var(--off-white);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 12px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.75);
}

.section-bar {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 16px auto 30px;
    border-radius: 2px;
}

.prose {
    max-width: 850px;
    margin: 0 auto;
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.8;
}

.prose p {
    margin-bottom: 18px;
}

.prose h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-top: 28px;
    margin-bottom: 14px;
}

.prestations-list {
    max-width: 850px;
    margin: 0 auto;
    list-style: none;
}

.prestations-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.prestations-list li i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.villes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.ville-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.ville-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.ville-card i {
    font-size: 1.6rem;
    color: var(--secondary);
}

.ville-card-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.ville-card-sub {
    font-size: 0.82rem;
    color: var(--gray);
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.engagement-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.engagement-card:hover {
    transform: translateY(-4px);
}

.engagement-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.4rem;
    color: var(--secondary);
}

.engagement-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.engagement-card p {
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.5;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid var(--light-gray);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--light-gray);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

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

.service-card h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.88rem;
}

.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
}

.cta-band h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-band p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 26px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.4rem;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.footer-links i {
    font-size: 0.7rem;
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

.footer-bottom a {
    color: rgba(255,255,255,0.65);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--secondary);
}

@media (max-width: 992px) {
    .hero-hub h1 { font-size: 2.2rem; }
    .villes-grid { grid-template-columns: repeat(2, 1fr); }
    .engagements-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .hamburger { display: block; }
    .hero-hub h1 { font-size: 1.8rem; }
    .hero-hub p { font-size: 1rem; }
    .section-title { font-size: 1.6rem; }
    .villes-grid { grid-template-columns: 1fr 1fr; }
    .engagements-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}