/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

/* Images générales */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo-img {
    max-width: 200px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

/* Images dans le contenu */
.service-image,
.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Images dans les sections */
.section-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px auto;
    display: block;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    background: #1e3a8a;
    color: white;
}

.phone-cta {
    flex-shrink: 0;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1e3a8a;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 18px;
}

/* Navigation mobile */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }
    
    .nav a {
        display: block;
        width: 100%;
    }
    
    .logo-img {
        max-width: 150px;
        max-height: 45px;
    }
}

/* Hero sections */
.hero-service,
.hero-local {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #f97316;
    color: white;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
}

.btn-large {
    padding: 18px 35px;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 60px 0;
}

.section-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: #1e3a8a;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1e3a8a;
}

h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

/* Grilles */
.services-grid,
.benefits-grid,
.tarifs-grid,
.services-local-grid,
.tarifs-hasnon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card,
.benefit-card,
.tarif-card,
.service-local-card,
.tarif-hasnon-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover,
.benefit-card:hover,
.tarif-card:hover,
.service-local-card:hover,
.tarif-hasnon-card:hover {
    transform: translateY(-5px);
}

/* Listes */
ul {
    margin: 20px 0;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* Tableaux */
table,
.tarif-local-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #1e3a8a;
    color: white;
    font-weight: 600;
}

tr:hover {
    background: #f8f9fa;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #cbd5e1;
}

/* CTA sections */
.cta-content {
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    margin: 40px 0;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .benefits-grid,
    .tarifs-grid,
    .services-local-grid,
    .tarifs-hasnon-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        padding: 40px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.benefit-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1e3a8a;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #1e40af;
    transform: translateY(-3px);
}

