.agq-page{--agq-ink:#26364a;--agq-muted:#68717b;--agq-gold:#b69a70;--agq-paper:#f8f7f4;color:var(--agq-muted);width:100vw;max-width:none;position:relative;left:50%;transform:translateX(-50%);margin:0 auto 80px;padding:0 clamp(28px,5vw,90px);font-size:17px;line-height:1.8}
.agq-page *{box-sizing:border-box}.agq-hero{text-align:center;padding:35px 0 55px}.agq-kicker{font-size:12px;letter-spacing:2.3px;font-weight:600;color:#a98255;text-transform:uppercase;margin-bottom:18px}.agq-hero h1{font-family:Georgia,'Times New Roman',serif;color:var(--agq-ink);font-size:clamp(38px,5vw,58px);font-weight:400;line-height:1.15;margin:0 auto 22px}.agq-rule{display:block;width:52px;height:2px;background:var(--agq-gold);margin:20px auto 0}.agq-rule-left{margin:20px 0 28px}.agq-section{width:100%;max-width:1450px;margin:0 auto 82px}.agq-copy:after{content:"";display:block;clear:both}.agq-section p{color:var(--agq-muted);font-size:17px;line-height:1.85;margin:0 0 20px}.agq-portrait-wrap{float:left;width:390px;max-width:40%;margin:0 72px 30px 0;text-align:center;shape-outside:circle(50%);shape-margin:24px}.agq-portrait-wrap img,.agq-round-image img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:50%;box-shadow:0 0 0 1px var(--agq-gold);padding:5px;background:#fff}.agq-portrait-wrap img{object-position:center 28%}.agq-photo-caption{display:block;margin-top:15px;font-size:10px;letter-spacing:1.7px;color:#a98255;line-height:1.5}.agq-signature{width:100%;max-width:1250px;margin:15px auto 90px;text-align:center;padding:35px 30px 38px;border-top:1px solid #e7e1d8;border-bottom:1px solid #e7e1d8}.agq-signature span{display:block;font-family:Georgia,serif;color:var(--agq-gold);font-size:58px;line-height:.7}.agq-signature p{font-family:Georgia,serif;font-style:italic;color:var(--agq-ink);font-size:clamp(22px,3vw,30px);line-height:1.4;margin:12px 0 0}.agq-outside-section h2,.agq-why-section h2{font-family:Georgia,'Times New Roman',serif;color:var(--agq-ink);font-weight:400;font-size:clamp(30px,3.5vw,40px);line-height:1.2;margin:0}.agq-image-right{float:right;width:390px;max-width:40%;margin:0 0 30px 72px;text-align:center;shape-outside:circle(50%);shape-margin:24px}.agq-why-section{width:100%;max-width:1350px;padding:54px 65px 60px;background:var(--agq-paper);text-align:left}.agq-why-section h2{margin-bottom:0}.agq-why-copy{max-width:850px}.agq-button{display:inline-flex;align-items:center;gap:26px;margin-top:22px;padding:15px 24px;border:1px solid var(--agq-gold);color:var(--agq-ink)!important;text-decoration:none!important;font-size:12px;letter-spacing:1.5px;font-weight:600;transition:background .2s,color .2s}.agq-button span{font-size:18px;color:#a98255}.agq-button:hover{background:var(--agq-ink);color:#fff!important;border-color:var(--agq-ink)}
@media(max-width:767px){.agq-page{width:100vw;padding:0 17px;font-size:16px;margin-bottom:45px}.agq-hero{padding:20px 0 38px}.agq-hero h1{font-size:38px}.agq-section{margin-bottom:48px}.agq-section p{font-size:16px;line-height:1.72}.agq-portrait-wrap,.agq-image-right{float:none;width:min(76vw,300px);max-width:100%;margin:0 auto 30px;shape-outside:none}.agq-photo-caption{font-size:9px}.agq-signature{margin:0 auto 55px;padding:28px 12px}.agq-outside-section h2,.agq-why-section h2{font-size:30px;text-align:center}.agq-rule-left{margin:18px auto 25px}.agq-why-section{padding:34px 22px 38px}.agq-why-section .agq-kicker{text-align:center}.agq-why-section .agq-button{display:flex;width:max-content;max-width:100%;margin:24px auto 0}}


/* V1.0.3 — libérer aussi les conteneurs Astra/WordPress autour du shortcode */
body:has(.agq-page) .site-content,
body:has(.agq-page) .site-content .ast-container,
body:has(.agq-page) .content-area,
body:has(.agq-page) .site-main,
body:has(.agq-page) article,
body:has(.agq-page) .entry-content,
body:has(.agq-page) .entry-content > * {
    width: 100% !important;
    max-width: none !important;
}
body:has(.agq-page) .site-content .ast-container {
    display: block !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body:has(.agq-page) .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}
.agq-page {
    width: 100% !important;
    max-width: none !important;
    left: auto !important;
    transform: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.agq-section {
    width: min(100% - 80px, 1450px) !important;
    max-width: 1450px !important;
}
@media (max-width: 767px) {
    body:has(.agq-page) .site-content .ast-container,
    body:has(.agq-page) .entry-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .agq-section {
        width: calc(100% - 34px) !important;
    }
}

/* Conclusion – image ronde, centrée indépendamment du contenu texte */
.agq-why-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
    gap: clamp(38px, 5vw, 78px);
    align-items: center;
}
.agq-why-copy { max-width: none; min-width: 0; }
.agq-why-image {
    width: min(100%, 460px);
    max-width: 460px;
    justify-self: center;
    align-self: center;
    min-width: 0;
}
.agq-why-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    padding: 5px;
    background: #fff;
    box-shadow: 0 0 0 1px #b69a70;
    box-sizing: border-box;
}

/* Titres mobiles */
@media (max-width: 767px) {
    .agq-page .agq-why-section h2,
    .agq-page .agq-section h2,
    .agq-page h1 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: clamp(29px, 7.2vw, 35px) !important;
        line-height: 1.14 !important;
        letter-spacing: -0.025em !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
        text-wrap: balance !important;
    }
    .agq-page .agq-why-section h2 {
        text-align: left !important;
    }

    /* La conclusion devient une colonne : le texte occupe la largeur,
       la photo reçoit une largeur fixe plafonnée et se centre dans la section. */
    .agq-page .agq-why-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 28px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .agq-page .agq-why-copy {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        align-self: stretch !important;
    }
    .agq-page .agq-why-image {
        display: block !important;
        float: none !important;
        position: static !important;
        flex: 0 0 auto !important;
        align-self: center !important;
        justify-self: auto !important;
        width: min(76vw, 300px) !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto 30px !important;
        padding: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }
    .agq-page .agq-why-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin: 0 auto !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }
    .agq-why-section { padding: 34px 22px 38px; }
    .agq-why-section .agq-kicker { text-align: center; }
    .agq-why-section .agq-button {
        display: flex;
        width: max-content;
        max-width: 100%;
        margin: 24px auto 0;
    }
}
