/* ============================================
   BONNARD - Styles CSS Complets
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 96px;
}

.logo {
    height: 96px;
    width: auto;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    color: #b8860b;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #b8860b;
}

.nav-links a.contact-btn {
    background: #b8860b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-links a.contact-btn:hover {
    background: #8b6508;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 96px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f5f5f5" width="1200" height="800"/><circle cx="100" cy="100" r="150" fill="%23d4a574" opacity="0.1"/><circle cx="1100" cy="700" r="200" fill="%23b8860b" opacity="0.1"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #fff, #faf8f3);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.about-content strong {
    color: #b8860b;
}

.about-image {
    text-align: center;
}

.about-image svg {
    max-width: 100%;
    height: auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: 4rem 0;
    background: white;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.services-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: #b8860b;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.15);
    transform: translateY(-5px);
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(184, 134, 11, 0.2);
    margin-bottom: 0.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: #b8860b;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #faf8f3, #fff);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.portfolio-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.portfolio-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */

.clients {
    padding: 3rem 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.clients-header {
    text-align: center;
    margin-bottom: 2rem;
}

.clients-header h3 {
    font-size: 1.5rem;
    color: #333;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 3rem;
    animation: scroll 20s linear infinite;
    align-items: center;
}

.carousel:hover {
    animation-play-state: paused;
}

.carousel-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.carousel-item img {
    max-height: 100%;
    max-width: 150px;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   QUOTE SECTION
   ============================================ */

.quote {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #fff, #faf8f3);
}

.quote-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quote-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.quote-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.quote-box {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border: 2px solid #b8860b;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.quote-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.quote-box p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.quote-checklist {
    text-align: left;
    margin: 2rem 0;
    display: inline-block;
}

.quote-checklist li {
    list-style: none;
    margin-bottom: 0.75rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quote-checklist li::before {
    content: '✓';
    color: #b8860b;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 4rem 0;
    background: #1a1a1a;
    color: white;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
}

.contact-detail-label {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.contact-detail a {
    color: #b8860b;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: #d4a574;
}

.contact-form {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 4px;
    color: white;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b8860b;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-status {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    display: none;
}

.form-status.success {
    background: #1a3a1a;
    border: 1px solid #2d5a2d;
    color: #90ee90;
    display: block;
}

.form-status.error {
    background: #3a1a1a;
    border: 1px solid #5a2d2d;
    color: #ff6b6b;
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 0.75rem;
    background: #b8860b;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #8b6508;
}

.btn-submit:disabled {
    background: #666;
    cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #000;
    color: #999;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-weight: bold;
    font-size: 20px;
    color: #b8860b;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #b8860b;
}

/* ============================================
   QUOTE BAR (Sidebar)
   ============================================ */

.quote-bar {
    position: fixed;
    right: -60px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background: #b8860b;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 40;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.quote-bar.show {
    right: 20px;
    opacity: 1;
    pointer-events: auto;
}

.quote-bar:hover {
    background: #8b6508;
    transform: translateY(-50%) rotate(-90deg) scale(1.05);
}

/* ============================================
   ACTUALITÉS PAGE
   ============================================ */

.actualites-hero {
    margin-top: 96px;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23d4a574" width="1200" height="400"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
}

.actualites-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.actualites-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-header {
    background: linear-gradient(135deg, #b8860b 0%, #d4a574 100%);
    color: white;
    padding: 1.5rem;
}

.article-date {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.article-body {
    padding: 1.5rem;
}

.article-body p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.faq-section h2 {
    margin-bottom: 2rem;
}

.faq-item {
    background: #f9f9f9;
    border-left: 4px solid #b8860b;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
    user-select: none;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item p {
    color: #666;
    display: none;
    margin-top: 1rem;
    line-height: 1.6;
}

.faq-item.active p {
    display: block;
}

.faq-toggle {
    color: #b8860b;
    font-weight: bold;
    transition: transform 0.3s;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about .container {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact .container {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .quote-bar {
        display: none;
    }

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

    .footer-links {
        justify-content: center;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

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

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .quote-box {
        padding: 1.5rem;
    }

    .quote-box h3 {
        font-size: 1.5rem;
    }
}
