/* ===== PAGE CONTACT - STYLE MODERNE (IMAGE CORRIGÉE) ===== */

/* Configuration */
:root {
    --primary-color: #CF8CD6;
    --text-dark: #333;
    --text-grey: #666;
    --bg-light: #f9fbfc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #CF8CD6 0%, #9e6cbd 100%);
}

body {
    background-color: var(--bg-light);
}

.main-content {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* En-tête */
.page-header-container {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-subtitle {
    color: var(--text-grey);
    font-size: 1.1rem;
}

.title-decoration {
    width: 60px;
    height: 4px;
    background: var(--gradient);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* --- GRILLE PRINCIPALE --- */
.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* --- COLONNE GAUCHE (VISUEL) --- */
.contact-visual-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-card {
    background: transparent;
}

.intro-card h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.intro-card p {
    color: var(--text-grey);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Style du personnage */
.character-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.blob-bg {
    position: absolute;
    width: 320px; /* Un peu plus grand pour matcher la nouvelle taille d'image */
    height: 320px;
    background: rgba(207, 140, 214, 0.2);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseBlob 4s infinite ease-in-out;
}

@keyframes pulseBlob {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* --- MODIFICATION ICI : IMAGE DU PERSONNAGE --- */
.character-img {
    width: 280px;   /* Largeur fixe un peu plus grande */
    height: auto;   /* IMPORTANT : La hauteur s'adapte pour ne pas couper l'image */
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 4px solid white;
    z-index: 1;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}
/* ------------------------------------------- */

.character-img:hover {
    transform: rotate(0deg) scale(1.05);
}

.logo-credit {
    margin-top: 1rem;
    color: #999;
    z-index: 1;
}

/* --- COLONNE DROITE (CARTES CONTACT) --- */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(207, 140, 214, 0.15);
    border: 1px solid rgba(207, 140, 214, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(207, 140, 214, 0.3);
    border-color: rgba(207, 140, 214, 0.4);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #fdf5fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover .icon-box {
    background: var(--gradient);
    color: white;
}

.card-text { flex: 1; }
.card-text .label { display: block; font-size: 0.85rem; text-transform: uppercase; color: #999; font-weight: 600; margin-bottom: 4px; }
.card-text .value { font-size: 1.1rem; color: var(--text-dark); font-weight: 500; }

.arrow-icon { color: #ddd; transition: all 0.3s ease; }
.contact-card:hover .arrow-icon { color: var(--primary-color); transform: translateX(5px); }

/* Section Réseaux Sociaux */
.social-section { margin-top: 2rem; }
.social-section h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 1rem; }
.social-buttons { display: flex; gap: 1rem; }

.social-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 1rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; background: white; border: 2px solid transparent; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.social-btn.linkedin { color: #0077b5; border-color: #0077b5; }
.social-btn.linkedin:hover { background: #0077b5; color: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3); }

.social-btn.instagram { color: #E1306C; border-color: #E1306C; }
.social-btn.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; border-color: transparent; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(225, 48, 108, 0.3); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .contact-grid-wrapper { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .contact-visual-col { align-items: center; }
    .contact-card { text-align: left; }
    .intro-card { max-width: 600px; margin: 0 auto; }
}

@media (max-width: 600px) {
    .social-buttons { flex-direction: column; }
    .page-title { font-size: 2.2rem; }
    .contact-card { flex-direction: column; text-align: center; gap: 1rem; }
    .icon-box { margin-right: 0; }
    .arrow-icon { display: none; }
    .character-img { width: 100%; max-width: 280px; } /* Sécurité sur mobile */
}