/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 96px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

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

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

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

.contact-btn {
    padding: 0.5rem 1rem;
    background-color: #b8860b;
    color: white !important;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #8b6914;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 96px;
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(184,134,11,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

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

/* ===== BUTTONS ===== */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

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

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

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

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

.btn-submit {
    width: 100%;
    padding: 0.75rem;
    background-color: #b8860b;
    color: white;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s;
}

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

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 0;
    background: linear-gradient(to bottom, white, #faf8f3);
}

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

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

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

.about-image {
    display: flex;
    justify-content: center;
}

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

/* ===== SERVICES SECTION ===== */
.services {
    padding: 5rem 0;
    background-color: 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(280px, 1fr));
    gap: 2rem;
}

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

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

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(184, 134, 11, 0.15);
    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 {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #faf8f3, white);
}

.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;
}

/* ===== CLIENTS SECTION ===== */
.clients {
    padding: 3rem 0;
    background-color: 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.75rem;
    color: #333;
}

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

.carousel {
    display: flex;
    gap: 3rem;
    animation: scroll 20s linear infinite;
    padding: 1rem 0;
}

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

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

.carousel-item svg {
    max-width: 100%;
    height: auto;
}

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

/* ===== QUOTE SECTION ===== */
.quote {
    padding: 5rem 0;
    background: linear-gradient(to bottom, white, #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;
    padding: 2rem;
    border: 2px solid #b8860b;
    border-radius: 0.5rem;
    text-align: center;
    background-color: white;
}

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

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

.quote-checklist {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.quote-checklist li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.quote-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #b8860b;
    font-weight: 700;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 0;
    background-color: #1a1a1a;
    color: white;
}

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

.contact-info p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

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

.contact-details {
    margin-top: 2rem;
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.contact-detail a {
    color: #ffd700;
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: white;
}

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

.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-color: #1a1a1a;
    border: 1px solid #444;
    border-radius: 0.25rem;
    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: 120px;
}

.form-status {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 0.25rem;
    display: none;
}

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

.form-status.error {
    display: block;
    background-color: #4d1a1a;
    border: 1px solid #7a2d2d;
    color: #ff6b6b;
}

/* ===== ACTUALITES HERO ===== */
.actualites-hero {
    margin-top: 96px;
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
}

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

.actualites-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.article-card:hover {
    border-color: #b8860b;
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.15);
}

.article-header {
    margin-bottom: 1rem;
}

.article-date {
    font-size: 0.875rem;
    color: #b8860b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.article-card h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
}

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

/* ===== FAQ SECTION ===== */
.faq-section {
    background-color: white;
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item h4 {
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    user-select: none;
}

.faq-item h4:hover {
    color: #b8860b;
}

.faq-toggle {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

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

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

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

/* ===== QUOTE BAR ===== */
.quote-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right center;
    background-color: #b8860b;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s;
    white-space: nowrap;
    letter-spacing: 1px;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.2);
}

.quote-bar:hover {
    background-color: #8b6914;
    padding-right: 2rem;
}

.quote-bar.hidden {
    display: none;
}

/* ===== FOOTER ===== */
footer {
    background-color: #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: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #b8860b;
}

.footer-content p {
    font-size: 0.875rem;
}

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

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    nav {
        height: 70px;
    }

    .nav-links {
        display: none;
    }

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

    .hero {
        margin-top: 70px;
        min-height: calc(100vh - 70px);
    }

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

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

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

    .btn {
        width: 100%;
    }

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

    .about h2 {
        font-size: 1.75rem;
    }

    .services h2 {
        font-size: 1.75rem;
    }

    .portfolio-header h2 {
        font-size: 1.75rem;
    }

    .quote-header h2 {
        font-size: 1.75rem;
    }

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

    .contact h2 {
        font-size: 1.75rem;
    }

    .actualites-hero h1 {
        font-size: 1.75rem;
    }

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

    .quote-bar {
        display: none;
    }

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

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

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

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

    .about h2,
    .services h2,
    .portfolio-header h2,
    .quote-header h2 {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 1rem;
    }

    .quote-box {
        padding: 1rem;
    }

    .contact-form {
        padding: 1rem;
    }
}
