/* style.css */
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --font-main: 'Arsenal', sans-serif;
}

/* Reset de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arsenal', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    text-align: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Empêcher le scroll quand le menu est ouvert */
body.no-scroll {
    overflow: hidden;
}

/* --- Header et Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 3px;
}

/* Menu Burger (2 barres) */
.burger-menu {
    position: absolute;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}

.burger-menu .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animation du Burger en croix */
.burger-menu.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger-menu.active .bar:nth-child(2) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay Navigation Mobile */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin: 2rem 0;
}

.mobile-nav a {
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s ease;
    letter-spacing: -0.025em;
}

.mobile-nav a:hover {
    opacity: 0.5;
}

/* --- Sections et Contenu --- */
main {
    padding-top: 80px; /* Espace pour le header fixe */
    min-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
}

section {
    padding: 2rem 1.5rem;
    display: none; /* Caché par défaut */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: auto; /* Centre verticalement si le main est flex */
    flex: 1;
    animation: fadeIn 0.4s ease forwards;
}

section.active-section {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400; /* Plus fin */
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
    font-weight: 400; /* Plus fin */
    letter-spacing: -0.025em;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Liste de services */
.services-list {
    list-style: none;
    width: 100%;
}

.services-list li {
    font-size: 1.125rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eaeaea;
}

.services-list li:last-child {
    border-bottom: none;
}

/* --- Formulaire de Contact --- */
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

button[type="submit"] {
    background-color: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 0.5rem;
}

button[type="submit"]:hover {
    background-color: #333;
}

input, textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #e5e7eb;
    background: transparent;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    border-radius: 0.5rem;
    -webkit-appearance: none;
}

input:focus, textarea:focus {
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

/* --- Footer --- */
footer {
    padding: 2rem 1.5rem;
    font-size: 0.875rem;
    color: #666;
    margin-top: auto;
}


#result {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}