/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #25D366;
    --accent-color: #2c5f8d;
    --text-color: #2c2c2c;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Header and Navigation */
header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.logo-img {
    height: 100px;
    width: auto;
    display: block;
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 140px 0 80px;
    margin-top: 64px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-whatsapp {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-whatsapp:hover {
    background: #1fbd59;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-phone {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

.btn-phone:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 48px;
    font-weight: 700;
}

/* Approche Section */
.approche {
    background: var(--bg-white);
}

.approche-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.approche-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Prestations Section */
.prestations {
    background: var(--bg-light);
}

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.prestation-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.prestation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.prestation-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.prestation-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.prestation-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

/* Service Spécial - Accès Connecté */
.service-special {
    margin-top: 48px;
    background: linear-gradient(135deg, #2c5f8d 0%, #1e4a6f 100%);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 24px rgba(44, 95, 141, 0.3);
}

.service-special-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.service-special h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-special p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.service-special .btn {
    font-size: 18px;
    padding: 16px 40px;
    background: white;
    color: #2c5f8d;
    font-weight: 700;
}

.service-special .btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Important Section (Filtre) */
.important {
    background: #fff9e6;
    border-top: 3px solid #ffc107;
    border-bottom: 3px solid #ffc107;
}

.important-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.important-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.important-exclusion {
    font-weight: 500;
}

.important-devis strong {
    color: var(--primary-color);
}

/* Avis Clients Section */
.avis {
    background: var(--bg-light);
    padding: 30px 0;
}

.avis-rating {
    text-align: center;
    margin-bottom: 56px;
}

.avis-rating .stars {
    font-size: 40px;
    color: #ffc107;
    display: block;
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.avis-rating .rating-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-color);
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.avis-card {
    background: var(--bg-white);
    padding: 36px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.avis-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.avis-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-color: var(--accent-color);
    padding: 40px;
}

.avis-author {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 18px;
}

.avis-stars {
    color: #ffc107;
    font-size: 20px;
    letter-spacing: 2px;
}

.avis-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.avis-text strong {
    color: var(--accent-color);
    font-weight: 600;
}

.avis-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

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

.btn-vcard {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.btn-vcard:hover {
    background: #1a4a6d;
    border-color: #1a4a6d;
    transform: translateY(-2px);
}

.btn-vcard-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-size: 15px;
    padding: 12px 28px;
}

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

/* Pourquoi Section */
.pourquoi {
    background: var(--bg-light);
    padding: 80px 0px 0px 0px;
}

.pourquoi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pourquoi-item {
    text-align: center;
}

.pourquoi-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.pourquoi-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pourquoi-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

/* Réassurance Section */
.reassurance {
    background: var(--bg-light);
}

.reassurance-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.reassurance-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Réalisations Section */
.realisations {
    background: var(--bg-white);
}

.realisations-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.realisations-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.realisation-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.realisation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.realisation-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #e9ecef;
}

.realisation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.realisation-card:hover .realisation-image img {
    transform: scale(1.05);
}

.realisation-content {
    padding: 24px;
}

.realisation-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.realisation-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

/* Zone Section */
.zone {
    background: var(--bg-light);
}

.zone-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.zone-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Présentation Humaine Section */
.presentation {
    background: var(--bg-white);
}

.presentation-content {
    display: flex;
    gap: 56px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.presentation-photo {
    flex-shrink: 0;
    width: 300px;
    padding: 8px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.presentation-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.presentation-text {
    flex: 1;
}

.presentation-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.presentation-name {
    color: var(--accent-color);
    font-size: 19px;
    font-weight: 700;
}

.presentation-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

.contact-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 48px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-signature {
    text-align: left;
}

.footer-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.footer-legal {
    font-size: 14px;
    opacity: 0.7;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-cta {
        width: 100%;
    }

    .hero-cta-primary {
        flex-direction: column;
        width: 100%;
    }

    .contact-cta,
    .presentation-cta {
        flex-direction: column;
    }
    
    .service-special {
        padding: 32px 24px;
    }

    .service-special h3 {
        font-size: 24px;
    }

    .service-special p {
        font-size: 16px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .prestations-grid,
    .pourquoi-grid,
    .realisations-grid {
        grid-template-columns: 1fr;
    }

    .avis-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .avis-rating .stars {
        font-size: 32px;
    }

    .avis-rating .rating-text {
        font-size: 20px;
    }

    .avis-cta {
        flex-direction: column;
        gap: 12px;
    }

    .avis-cta .btn {
        width: 100%;
    }

    .presentation-content {
        flex-direction: column;
        gap: 32px;
    }

    .presentation-photo {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .presentation-name {
        font-size: 18px;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-signature {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 32px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Menu (if needed later) */
.nav-menu {
    display: none;
}

@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
}
