/* ===== Présentation - Mise en page globale ===== */

.card {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: var(--shadow-default);
    line-height: 1.8;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ===== Intro ===== */

#intro {
    text-align: center;
}

#intro .quote {
    font-style: italic;
    font-size: 1.1rem;
    margin: 1.5rem auto;
    max-width: 800px;
    color: var(--color-text);
    opacity: 0.9;
}

.intro-message {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-top: 1rem;
}

/* ===== Portrait : image à gauche, texte à droite ===== */

.teaser-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    animation: fadeIn 0.8s ease-in-out both;
}

.teaser-image {
    flex: 1 1 50%;
    max-width: 50%;
    text-align: center;
    transition: transform 0.3s ease;
}

.teaser-image img {
    width: 100%;
    max-height: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.teaser-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.teaser-image figcaption {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
    color: var(--color-text);
    opacity: 0.7;
}

.teaser-text {
    flex: 1 1 50%;
    min-width: 280px;
    animation: slideInRight 0.8s ease-out both;
    background: inherit;
    padding: inherit;
    border-radius: inherit;
    box-shadow: inherit;
}

/* ===== Titres avec icônes ===== */

.card h2 {
    font-size: 1.5rem;
    color: var(--color-rose);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.card h2 i {
    color: var(--color-rose);
}

/* ===== Contact CTA ===== */

.cta-contact {
    margin-top: 3rem;
    text-align: center;
    background-color: var(--color-beige);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-default);
}

.btn {
    display: inline-block;
    background-color: var(--color-rose);
    color: var(--color-white);
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color var(--transition), transform var(--transition);
}

.btn:hover {
    background-color: #a87e7e;
    transform: translateY(-2px);
}


/* ===== Animations CSS ===== */

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.teaser-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.teaser-image {
    flex: 1 1 45%;
    text-align: center;
}

.traits-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.traits-list li {
    flex: 1 1 30%;
    background-color: var(--color-beige);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    box-shadow: var(--shadow-default);
}

.cta-contact {
    margin-top: 3rem;
    text-align: center;
}

.cta-contact p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .teaser-wrapper {
        flex-direction: column;
    }

    .traits-list {
        flex-direction: column;
        align-items: center;
    }

    .traits-list li {
        width: 100%;
    }
}


/* ===== Responsive ===== */

@media (max-width: 768px) {
    .teaser-wrapper {
        flex-direction: column;
    }

    .teaser-image,
    .teaser-text {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .teaser-image img:hover {
        transform: scale(1.01);
    }

    .card h2 {
        font-size: 1.3rem;
    }

    .btn {
        font-size: 1rem;
        padding: 0.7rem 1.4rem;
    }
}

.traits-list {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 2rem;
}

.traits-list div {
    flex: 1;
    min-width: 120px;
    padding: 1rem;
    background-color: var(--color-beige);
    border-radius: 10px;
    box-shadow: var(--shadow-default);
    font-weight: 500;
    transition: transform 0.3s ease;
}

.traits-list div:hover {
    transform: translateY(-4px);
}
