

:root {
    --bg-pure: #ffffff;
    --bg-subtle: #f8f9fa;
    --text-main: #111827;
    --text-muted: #4b5563;
    --primary-green: #059669;
    --dark-green: #065f46;
    --light-green: #ecfdf5;
    --border-color: #e5e7eb;
    --max-width: 1200px;
}

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

body {
    font-family: 'Lora', serif;
    background-color: var(--bg-pure);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--dark-green);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    margin-left: 12px;
}

.btn-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: var(--text-muted);
}

header {
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

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

.logo span {
    color: var(--primary-green);
    font-style: italic;
}

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

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--primary-green);
}

.hero-carousel-container {
    position: relative;
    width: 100%;
    height: 950px;
    overflow: hidden;
    background-color: #000;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-inscription {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-inscription .container {
    pointer-events: auto;
}

.hero-eyebrow {
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 18px;
}

.hero-inscription h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.12;
    color: #ffffff;
    max-width: 14ch;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hero-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    max-width: 36rem;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
    margin-left: 0;
}

.hero-actions .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.85);
    color: #ffffff;
}

.services-section {
    background-color: var(--bg-pure);
}

.services-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.services-content h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
}

.services-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.tag {
    font-size: 0.85rem;
    background-color: var(--light-green);
    color: var(--dark-green);
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 500;
}

.cta {
    background-color: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 32px auto;
}

footer {
    padding: 40px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-content h2 {
        font-size: 2.4rem;
    }
    .hero-carousel-container {
        height: 520px;
    }
    .hero-inscription h1 {
        max-width: none;
    }
    .hero-lead {
        margin-bottom: 28px;
    }
    nav {
        display: none;
    }
}