/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #e30613;
    --red-dark: #b8050f;
    --black: #1a1a1a;
    --dark-gray: #333333;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-accent: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 16px;
}

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

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

a {
    color: var(--red);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--red-dark);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-mercure {
    font-family: var(--font-accent);
    font-size: 28px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: -1px;
}

.logo-comm {
    font-size: 12px;
    font-weight: 300;
    color: var(--gray);
    letter-spacing: 3px;
    text-transform: lowercase;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--black);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red) 0%, var(--black) 70%);
    opacity: 0.95;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero h1 {
    font-family: var(--font-accent);
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(227,6,19,0.3);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section h2 {
    font-family: var(--font-accent);
    font-size: 42px;
    color: var(--black);
    margin-bottom: 30px;
}

.section-intro {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin-bottom: 50px;
}

/* L'Agence */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--red);
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-image img {
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Quote Section */
.quote-section {
    background: var(--red);
    padding: 80px 0;
    text-align: center;
}

.quote-section blockquote p {
    font-family: var(--font-accent);
    font-size: 32px;
    font-style: italic;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 20px;
}

.quote-section cite {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    font-style: normal;
}

/* Services */
.section-services {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--red);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 20px;
    color: var(--black);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

/* Clients */
.section-clients {
    text-align: center;
}

.testimonial {
    background: var(--light-gray);
    padding: 50px;
    border-radius: 8px;
    margin-bottom: 50px;
    border-left: 5px solid var(--red);
}

.testimonial-text {
    font-family: var(--font-accent);
    font-size: 24px;
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.testimonial-author {
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
}

.client-sectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.sector {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.sector h4 {
    color: var(--red);
    font-size: 18px;
    margin-bottom: 10px;
}

.sector p {
    color: var(--gray);
    font-size: 14px;
}

/* Korean Section */
.section-korean {
    background: var(--black);
    color: var(--white);
}

.section-korean h2 {
    color: var(--white);
    text-align: center;
}

.korean-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.korean-content h3 {
    color: var(--red);
    font-size: 20px;
    margin-bottom: 15px;
}

.korean-content p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.8;
}

.korean-services ul {
    list-style: none;
    padding: 0;
}

.korean-services li {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.korean-services li strong {
    color: var(--white);
}

.korean-contact p {
    margin-bottom: 8px;
}

/* Réalisations */
.section-realisations {
    background: var(--light-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 30px 30px;
    color: var(--white);
}

.portfolio-overlay h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 14px;
    opacity: 0.8;
}

/* Contact */
.section-contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    color: var(--red);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--gray);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 14px;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
}

/* Footer */
.footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-brand .logo-mercure {
    color: var(--red);
}

.footer-brand .logo-comm {
    color: rgba(255,255,255,0.5);
}

.footer h4 {
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer ul a {
    color: rgba(255,255,255,0.7);
}

.footer ul a:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: var(--white);
    font-size: 14px;
    border-radius: 4px 0 0 4px;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--red);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 0 4px 4px 0;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--red-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
}

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

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

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

    .section-grid,
    .services-grid,
    .client-sectors,
    .korean-content,
    .portfolio-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .section h2 {
        font-size: 32px;
    }

    .quote-section blockquote p {
        font-size: 22px;
    }
}
