/* ==========================================================================
   Variables & Reset
   ========================================================================== */
   :root {
    --primary-color: #F6A500;
    --primary-hover: #D69306;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #111111;
    --white: #ffffff;
    --border-color: #e0e0e0;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-primary: 0 8px 20px rgba(246, 165, 0, 0.3);
    
    --transition: all 0.3s ease;
    
    --font-main: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--bg-dark);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }

.highlight {
    color: var(--primary-color);
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }

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

.section-padding {
    padding: 4rem 0;
}

.badge {
    display: inline-block;
    background-color: rgba(246, 165, 0, 0.15);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.desktop-only { display: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   Header
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 5px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: auto;
    max-height: 100px;
    max-width: 250px;
    transition: var(--transition);
}

.main-header.scrolled .logo {
    max-height: 70px;
}

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

.btn-whatsapp-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.btn-whatsapp-top:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}

.btn-call {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 11rem 0 4rem;
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.8) 0%, rgba(17, 17, 17, 0.6) 100%), url('../img/img2.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-content {
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.9);
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.btn-whatsapp-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: var(--white);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 1.1rem;
}

.btn-whatsapp-hero:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    color: var(--white);
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: none;
    border-top: 4px solid var(--primary-color);
}

.hero-form-card h3 {
    margin-bottom: 0.5rem;
}

.hero-form-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.premium-form .input-icon {
    position: relative;
    margin-bottom: 1rem;
}

.premium-form .input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.1rem;
    z-index: 2;
}

.premium-form .input-icon input,
.premium-form .input-icon select {
    width: 100%;
    height: 54px;
    padding: 0.8rem 1rem 0.8rem 45px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.premium-form .input-icon select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.premium-form .input-icon input:focus,
.premium-form .input-icon select:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(246, 165, 0, 0.1);
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 2rem 0;
}

.trust-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 1.1rem;
    line-height: 1.1;
}

.trust-text span {
    font-size: 0.8rem;
    color: #aaaaaa;
}

/* ==========================================================================
   Presentation Section
   ========================================================================== */
.presentation-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.presentation-image-wrapper {
    position: relative;
    border-radius: 12px;
}

.presentation-img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    width: 100%;
}

.image-accent {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 12px;
    z-index: 1;
    opacity: 0.2;
}

.presentation-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.check-list {
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.check-list i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-header {
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid transparent;
    overflow: hidden;
    padding: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(246, 165, 0, 0.3);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.service-content {
    padding: 2rem;
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(246, 165, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
    background-color: var(--primary-color);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-shadow {
    background-color: var(--bg-dark);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-shadow:hover {
    background-color: #222;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.communes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.commune-tag {
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.commune-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(246, 165, 0, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    background: white; /* Pour le contraste si logo noir */
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #aaaaaa;
    font-size: 0.95rem;
}

.main-footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.main-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #aaaaaa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1rem;
    color: #aaaaaa;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 4px;
}

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

.footer-bottom {
    background-color: #0a0a0a;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: #777777;
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   Fixed WhatsApp
   ========================================================================== */
.btn-whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.btn-whatsapp-fixed:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
}

/* ==========================================================================
   Media Queries (Tablet & Desktop)
   ========================================================================== */
@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    .desktop-only { display: inline; }
    
    .btn-whatsapp-top {
        width: auto;
        height: auto;
        padding: 0.6rem 1rem;
        border-radius: 8px;
        gap: 8px;
        font-weight: 600;
        font-size: 0.95rem;
    }
    
    .hero-container {
        flex-direction: row;
        align-items: center;
    }
    
    .hero-content {
        flex: 1;
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-form-card {
        flex: 0 0 400px;
    }
    
    .trust-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .presentation-container {
        flex-direction: row;
        align-items: center;
    }
    
    .presentation-image-wrapper {
        flex: 1;
    }
    
    .presentation-content {
        flex: 1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        flex-direction: row;
        align-items: center;
    }
    
    .contact-info {
        flex: 1;
    }
    
    .contact-form-wrapper {
        flex: 0 0 450px;
    }
    
    .footer-container {
        grid-template-columns: 2fr 1fr 1.5fr;
    }
}

@media (min-width: 992px) {
    h1 { font-size: 3.5rem; }
    .hero { padding: 13rem 0 6rem; }
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .cta-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    .cta-banner h2 { margin-bottom: 0.5rem; }
    .cta-text p { margin-bottom: 0; }
}
