:root {
    --kaki: #7A8466;
    --kaki-dark: #4F5A45;
    --text: #2E2E2E;
    --bg: #F6F6F4;
}

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

/* ===== Base ===== */
body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== Page ===== */
.page {
    max-width: 1000px;
    width: 100%;
    padding: 80px 20px;
}

/* ===== Logo ===== */
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo img {
    max-width: 300px;
    height: auto;
}

/* ===== Titre ===== */
h1 {
    text-align: center;
    font-size: 2rem;
    color: var(--kaki-dark);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.subtitle {
    text-align: center;
    font-weight: 400;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 4rem;
    color: var(--text);
}

/* ===== Zone principale 50/50 ===== */
.main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    margin-bottom: 40px;
}

/* ===== Texte ===== */
.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    height: 100%;
    gap: 28px;

    font-size: 1.15rem;
}

.text p {
    max-width: 460px;
}

/* Accroche */
.text .lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--kaki-dark);
    max-width: 500px;
}

/* Contexte */
.text .context {
    font-size: 1rem;
    color: #555;
}

/* Signature */
.text .tagline {
    margin-top: 30px;
    font-weight: 600;
    color: var(--kaki);
    font-size: 1.1rem;
}

/* ===== Visuel ===== */
.visual {
    height: 100%;
}

.visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ===== Contact ===== */
.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

.contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Séparateurs "-" */
.contact span:not(:last-child)::after {
    content: "-";
    margin-left: 12px;
    margin-right: 12px;
    color: #888;
}

.contact a {
    color: var(--text);
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

.contact i {
    font-size: 1.1rem;
    color: var(--kaki-dark);
}

/* ===== Animation ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text,
.visual {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.text {
    animation-delay: 0.2s;
}

.visual {
    animation-delay: 0.5s;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
    }

    .page {
        padding: 60px 20px;
    }

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

    .contact {
        flex-direction: column;
        gap: 10px;
    }

    .contact span:not(:last-child)::after {
        content: "";
        margin: 0;
    }

    .text {
        padding: 20px;
    }

    .text p {
        max-width: 100%;
    }
}
