/* ── Colver Dirigeant – style.css v4 ── */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── Wrapper ── */
.cdg-wrap {
    max-width: 1185px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

/* ── Bloc principal : 2 colonnes égales en hauteur ── */
.cdg-block {
    display: flex;
    align-items: stretch;   /* les deux colonnes font la même hauteur */
    font-family: 'Montserrat', Arial, sans-serif; 
    position: relative;
}

/* ══════════════════════════════════════════
   COLONNE GAUCHE – photo
══════════════════════════════════════════ */
.cdg-img-zone {
    flex: 0 0 auto; 
    border-radius: 300px 0 0 300px;
    padding: 15px;
    background: #76a47c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    z-index: 2;
}

/* Le cadre photo est centré et prend ~80% de la largeur de la colonne */
.cdg-img-frame {
    position: relative;
    /* taille définie via JS/PHP inline style, par défaut : */ 
}

/* SVG décoratif autour du cercle */

/* Photo ronde */
.cdg-portrait { 
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 1;
    background: #e0e9e3;
}

.cdg-portrait-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c8dace;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.cdg-portrait-placeholder svg { 
    width: 60%; 
    height: 60%; 
}

/* Bouton upload (editor only) */
.cdg-upload-btn {
    margin-top: 10px;
    font-size: .76rem !important;
    padding: .3rem .75rem !important;
}

/* ══════════════════════════════════════════
   COLONNE DROITE – texte vert
══════════════════════════════════════════ */
.cdg-text {
    flex: 1;
    background: #6b9a79;
    padding: 46px 5.8rem;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Titre */
.cdg-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #fff; 
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

/* Séparateur */
.cdg-divider {
    width: 200px;
    height: 12px;
    background: rgba(255,255,255,.32);
    border-radius: 1px;
    margin: 40px 0 30px;
}

/* Zone citations + guillemets ouvrants */
.cdg-citation-wrap {
    position: relative;
    margin-bottom: .7rem;
}

.cdg-quote-open {
    position: absolute;
    left: -90px;
    top: -.5rem;
    width: 63px;
    font-size: 4rem;
    line-height: 1;
    color: rgba(255,255,255,.25);
    font-family: Georgia, serif;
    font-weight: 700;
    pointer-events: none;
}

.cdg-quote {
    font-size: 16px;
    line-height: 1.36;
    color: rgba(255,255,255,.93);
    font-style: italic;
    margin: 0 0 .6rem;
}

.cdg-body {
    font-size: 16px;
    line-height: 1.33;
    color: rgba(255,255,255,.82);
    font-style: italic;
    margin: 0;
}

/* Auteur */
.cdg-author {
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    font-style: normal;
    margin: .9rem 0 0;
}

/* Guillemets fermants bas-droite */
.cdg-quote-close {
    position: absolute;
    height: 30px;
    bottom: 1rem;
    right: 4rem;
    font-size: 3.8rem;
    line-height: 1;
    color: rgba(255,255,255,.2);
    font-family: Georgia, serif;
    font-weight: 700;
    transform: rotateZ(180deg);
    pointer-events: none;
}

/* Cadre angulaire bas-droite – positionné en inline */
.cdg-corner {
    position: absolute;
    pointer-events: none;
    overflow: visible;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .cdg-block       { 
        flex-direction: column; 
    }
    .cdg-img-zone    { 
        width: 100%;
        min-height: 200px;
        padding: 15px 0;
        border-radius: 300px 300px 0 0;
    }
    .cdg-text        {
        padding: 2rem 1.5rem 2.4rem 2rem; 
    }

    .cdg-quote-open  { 
        left: -1.2rem;
        top: -68px;
    }

    .cdg-quote-close { 
        right: 2.5rem; 
    }

    .cdg-img-frame {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 300px !important;
        height: 300px !important;
    }

    .cdg-citation-wrap {
        margin-top: 4rem;
    }
}
