/* ===== STYLES DE BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background: #f4f7fc;
    color: #1e2a3e;
    padding: 20px;
}

/* ===== BANDEAU DE CONTACT ===== */
.contact-bar {
    background-color: #0b3b5f;
    color: white;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
    border-bottom: 1px solid #2c5a7a;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-radius: 15px 15px 0 0;
}

.contact-bar a {
    color: white;
    text-decoration: none;
}

.contact-bar a:hover {
    text-decoration: underline;
}

/* ===== HEADER ===== */
header {
    background: #0b3b5f;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.2rem;
}

/* ===== NAVIGATION ===== */
nav {
    text-align: center;
    margin-bottom: 30px;
}

nav a {
    color: #0b3b5f;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
    padding-bottom: 5px;
}

nav a:hover {
    border-bottom-color: #0b3b5f;
}

nav a.active {
    border-bottom-color: #ff8c00;
    color: #ff8c00;
}

/* ===== MAIN ===== */
main {
    background: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== BLOC HERO (index) ===== */
.hero-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e7ed;
}

.hero-left {
    flex: 1;
    min-width: 280px;
}

.hero-right {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: #ffcd7e;
    color: #0b3b5f;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 2.2rem;
    color: #0b3b5f;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-description {
    font-size: 1rem;
    color: #4a627a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-block;
    background: #0b3b5f;
    color: white;
    padding: 12px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #ff8c00;
    color: white;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #0b3b5f;
    padding: 12px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #0b3b5f;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #0b3b5f;
    color: white;
}

.hero-avantages {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-avantages span {
    font-size: 0.9rem;
    color: #1e5a7d;
    font-weight: 500;
}

/* ===== SECTION CONFIANCE (index) ===== */
.confiance {
    margin-top: 2rem;
}

.confiance h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.confiance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.confiance-card {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: transform 0.2s;
}

.confiance-card:hover {
    transform: translateY(-5px);
}

.confiance-card h3 {
    color: #0b3b5f;
    margin-bottom: 0.5rem;
}

/* ===== PAGE SERVICES (header) ===== */
.services-header {
    text-align: center;
    margin-bottom: 2rem;
}

.services-header h1 {
    color: #0b3b5f;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.services-header p {
    color: #4a627a;
    font-size: 1.1rem;
}

/* ===== GRILLE DES SERVICES ===== */
.services h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    border: 1px solid #e0e7ed;
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #0b3b5f;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #4a627a;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.prix {
    font-size: 1rem;
    margin: 0.8rem 0;
    color: #1e5a7d;
}

.prix strong {
    font-size: 1.2rem;
    color: #0b3b5f;
}

.btn-service {
    display: inline-block;
    color: #0b3b5f;
    text-decoration: none;
    font-weight: bold;
    margin-top: 0.5rem;
    transition: color 0.2s;
}

.btn-service:hover {
    color: #ff8c00;
    text-decoration: underline;
}

/* ===== CTA SERVICES (page services) ===== */
.cta-services {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #f0f4f8;
    border-radius: 20px;
}

.cta-services h2 {
    color: #0b3b5f;
    margin-bottom: 0.5rem;
}

.cta-services p {
    margin-bottom: 1.5rem;
}

/* ===== FORMULAIRE (contact) ===== */
form label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
}

button {
    background: #0b3b5f;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button:hover {
    background: #1e5a7d;
}

#confirmation {
    margin-top: 1rem;
    font-weight: bold;
}

/* ===== FOOTER ===== */
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #0b3b5f;
    color: white;
    padding: 2rem 2rem 1rem 2rem;
    margin-top: 2rem;
    border-radius: 15px 15px 0 0;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1rem;
}

.footer-col h3 {
    color: #ffcd7e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: white;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
    color: #ffcd7e;
}

.footer-col address {
    font-style: normal;
    line-height: 1.6;
}

.legal-footer {
    text-align: center;
    font-size: 0.8rem;
    padding: 1rem;
    background: #062334;
    color: #aaa;
    border-radius: 0 0 15px 15px;
}

.legal-footer a {
    color: #ffcd7e;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-block {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-avantages {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-right {
        order: -1;
    }
    
    .confiance-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .footer-columns {
        flex-direction: column;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-bar {
        font-size: 0.8rem;
        padding: 8px 10px;
        line-height: 1.4;
    }
    
    header h1 {
        font-size: 1.6rem;
    }
    
    main {
        padding: 1.2rem;
    }
    
    nav a {
        margin: 0 10px;
        font-size: 0.9rem;
    }
}