/* Art et Code — Minimal Site
   Inspiré de vjhardy.art */

/* Google Font - Source Sans Pro */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600&display=swap');

:root {
    --bg-primary: #141414;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #222222;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-muted: #999999;
    --accent: #ffffff;
    --border: #2a2a2a;
    --font-main: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --max-width: 800px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 300;
}

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

a:hover {
    color: var(--accent);
}

/* --- Layout --- */

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

/* --- Header --- */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

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

nav a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border);
}

.lang-switch button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-family: var(--font-main);
    transition: color 0.3s ease;
}

.lang-switch button.active {
    color: var(--accent);
}

.lang-switch button:hover {
    color: var(--accent);
}

/* --- Hero --- */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 4rem;
    text-align: center;
}

.hero-logo {
    width: min(400px, 70vw);
    height: auto;
    margin-bottom: 2rem;
}

.hero .tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 520px;
    margin: 0 auto;
}

.hero-cta {
    margin-top: 3rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-cta:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* --- Sections --- */

section {
    padding: 6rem 0;
}

section + section {
    border-top: 1px solid var(--border);
}

h2 {
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

p + p {
    margin-top: 16px;
}

/* --- Feature list --- */

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
}

.feature {
    padding: 2.5rem 2rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--text-muted);
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- How it works --- */

.flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    font-size: 0.9rem;
}

.flow-step {
    padding: 10px 18px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    white-space: nowrap;
}

.flow-arrow {
    color: var(--text-secondary);
}

/* --- Access / CTA --- */

.access {
    text-align: center;
    padding: 64px 0;
}

.access .badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border: 1px solid var(--text-secondary);
    border-radius: 3px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.access p {
    max-width: 480px;
    margin: 0 auto 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.contact-link {
    margin-top: 16px;
    font-size: 0.9rem;
}

.contact-link a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-link a:hover {
    color: var(--accent);
}

/* --- Footer --- */

footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--accent);
}

footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* --- Terms of Service --- */

.tos {
    padding-top: 120px;
    padding-bottom: 80px;
}

.tos h1 {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 8px;
}

.tos .tos-meta {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 48px;
}

.tos-section {
    margin-bottom: 36px;
}

.tos-section h3 {
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.tos-section p,
.tos-section ul {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.tos-section ul {
    padding-left: 20px;
    margin-top: 8px;
}

.tos-section ul li {
    margin-bottom: 6px;
}

.tos-section a {
    color: var(--text-primary);
    text-underline-offset: 3px;
}

.tos-lang-toggle {
    margin-bottom: 40px;
}

/* --- Responsive --- */

@media (max-width: 768px) {
    .header-inner {
        padding: 1rem;
    }

    .hero {
        padding: 130px 2rem 4rem;
    }

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

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

    .flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}
