/* --- Variables & Reset --- */
:root {
    --gold: #d4af37;
    --gold-dark: #b8952d;
    --gold-light: #f3e5ab;
    --dark-blue: #0a1931;
    --dark-lighter: #162a4d;
    --text-gray: #55585d;
    --white: #ffffff;
    --bg-light: #fdfdfd;
    --shadow: 0 20px 40px rgba(10, 25, 49, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--dark-blue);
    margin: 0;
    line-height: 1.6;
}

/* --- Bannière (Hero Section) --- */
.breadcrumb-area {
    background: linear-gradient(rgba(10, 25, 49, 0.75), rgba(10, 25, 49, 0.75)), 
                url('../img/Children-helped-by-World-Vision-from-its-webiste.webp') center/cover fixed;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.top-badge { 
    background: var(--gold);
    color: var(--dark-blue);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.breadcrumb-area h1 { font-size: 3.5rem; font-weight: 700; margin: 10px 0; }
.breadcrumb-area p a { color: var(--gold); text-decoration: none; transition: 0.3s; }
.breadcrumb-area p a:hover { color: var(--white); }

/* --- Section Témoignages --- */
.testimonials-section { padding: 100px 0; }
.containerr { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section-header { text-align: center; margin-bottom: 70px; }
.section-header .title { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.divider { width: 60px; height: 4px; background: var(--gold); margin: 20px auto; border-radius: 2px; }
.section-description { max-width: 650px; margin: 0 auto; color: var(--text-gray); font-size: 1.1rem; }

/* --- Grille & Cartes --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-bottom: 80px;
}

.testimonial-card {
    background: var(--white);
    padding: 45px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(10, 25, 49, 0.12);
}

.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.stars { color: var(--gold); font-size: 0.85rem; }
.quote-bg { font-size: 2.5rem; color: var(--gold); opacity: 0.15; }

.testimonial-text { 
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--dark-blue);
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.empty-state {
            text-align: center;
            padding: 80px 20px;
            grid-column: 1 / -1;
            color: #888;
        }
        .empty-state i { margin-bottom: 20px; opacity: 0.5; }

.testimonial-author { display: flex; align-items: center; gap: 18px; }
/* --- Correction de l'image dans le cercle --- */
.img-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2.5px solid var(--gold);
    padding: 3px;
    flex-shrink: 0;
    overflow: hidden; /* Important : cache tout ce qui dépasse du cercle */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff; /* Fond blanc si l'image est transparente */
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    /* La solution magique est ici : */
    object-fit: cover; 
    object-position: center; /* Centre le visage dans le cercle */
    border-radius: 50%;
}
.author-info h4 { font-weight: 700; margin: 0; font-size: 1.1rem; }
.author-info .role { color: var(--gold); font-size: 0.9rem; font-weight: 600; opacity: 0.9; }

/* --- Bloc CTA Luxueux --- */
.cta-box {
    position: relative;
    margin-top: 100px;
    padding: 60px 50px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-lighter) 100%);
    border-radius: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(10, 25, 49, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content { position: relative; z-index: 1; max-width: 60%; }
.cta-content h3 { font-size: 2.2rem; color: var(--white); font-weight: 700; margin-bottom: 12px; }
.cta-content p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); margin: 0; }

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark-blue);
    border: none;
    padding: 20px 45px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

/* --- Modale --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 49, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    background: var(--white);
    width: 100%;
    max-width: 650px;
    padding: 50px;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    border: none;
    background: #f0f0f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.3s;
}

.close-modal:hover { background: var(--gold); color: var(--white); }

.modal-header { margin-bottom: 35px; text-align: center; }
.modal-header h2 { font-size: 2rem; margin-bottom: 10px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 0.95rem; }
.input-group input, .input-group textarea {
    width: 100%;
    padding: 18px;
    border: 1.5px solid #eee;
    border-radius: 15px;
    background: #f9f9f9;
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--dark-blue);
    color: var(--white);
    padding: 20px;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover { background: var(--gold); color: var(--dark-blue); }

/* --- Responsive --- */
@media (max-width: 992px) {
    .cta-box { flex-direction: column; text-align: center; }
    .cta-content { max-width: 100%; }
    .btn-primary { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
    .breadcrumb-area h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .modal-box { padding: 40px 25px; }
}