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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --gray-50: #f9fafb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: white;
}

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

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

/* Icons */
.icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.icon-arrow {
    transition: transform 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: var(--teal-700);
}

.btn-primary:hover .icon-arrow {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 2.5rem;
    width: auto;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
}

.nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--teal-600);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    color: var(--gray-700);
    transition: color 0.3s;
}

.lang-btn:hover {
    color: var(--teal-600);
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(to bottom right, var(--teal-50), #e0f2fe);
}

.hero--video {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
    overflow: hidden;
    color: white;
    background: #0f172a;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6, 78, 59, 0.75), rgba(15, 23, 42, 0.55));
    z-index: 1;
}

.hero--video .container,
.hero--video .hero-content {
    position: relative;
    z-index: 2;
}

.hero--video .hero-title {
    color: white;
}

.hero--video .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.hero--video .btn-primary {
    background: white;
    color: var(--teal-700);
}

.hero--video .btn-primary:hover {
    background: var(--teal-50);
}

.hero--video .hero-cta {
    padding: 0.9rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 16px 40px -18px rgba(255, 255, 255, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero--video .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px -18px rgba(255, 255, 255, 0.75);
}

.hero-cta-note {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll-dot {
    width: 6px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.hero-scroll-dot::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 2px;
    width: 4px;
    height: 4px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0% { transform: translate(-50%, 0); opacity: 0.2; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
    100% { transform: translate(-50%, 14px); opacity: 0.2; }
}

.hero--video .hero-grid {
    grid-template-columns: 1fr;
}

.hero--video .hero-image {
    display: none;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.hero-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Stats Section */
.stats {
    padding: 3.5rem 0;
    background: var(--teal-50);
}

.stats-grid {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -15px rgba(0, 0, 0, 0.15);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal-700);
    letter-spacing: -0.02em;
}

.stat-label {
    margin-top: 0.5rem;
    color: var(--gray-600);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

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

.service-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--teal-100);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: var(--teal-100);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--teal-600);
    stroke-width: 2;
    fill: none;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.about-subtitle {
    margin: 1.75rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.values-list + .values-list {
    margin-top: 1.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--teal-600);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

.contact-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--teal-100);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--teal-600);
    stroke-width: 2;
    fill: none;
}

.contact-label {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--gray-600);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-600);
}

.form-group textarea {
    resize: vertical;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: #d1d5db;
    padding: 3rem 0;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
    line-height: 0;
}

.footer-logo {
    display: block;
    max-height: 52px;
    width: auto;
    height: auto;
    max-width: 160px;
    object-fit: contain;
    vertical-align: middle;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: #9ca3af;
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact a.footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a.footer-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.footer-legal-link {
    color: #9ca3af;
    margin-left: 0.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal-link:hover {
    color: white;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact links (clickable email/phone) */
.contact-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: color 0.3s, border-color 0.3s;
}

.contact-link:hover {
    color: var(--teal-600);
    border-color: var(--teal-600);
}

/* Legals / Mentions légales */
.legals {
    padding: 4rem 0;
    background: var(--gray-50);
}

.legals-content {
    max-width: 720px;
    margin: 0 auto;
}

.legals-intro,
.legals-text {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.legals-heading {
    color: var(--gray-800);
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.legals-heading:first-of-type {
    margin-top: 0;
}

/* Legal page (standalone) */
.legals-page {
    padding: 2rem 0 4rem;
    min-height: 60vh;
}

.legals-back {
    margin-bottom: 1.5rem;
}

.legals-back-link {
    color: var(--teal-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.legals-back-link:hover {
    color: var(--teal-700);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
