/* Perché questo sito — lettura moderna, allineata alla home */

body.itemid-274 #sp-main-body {
    background: #f3f0eb;
}

body.itemid-274 #sp-component {
    background: transparent;
}

body.itemid-274 .article-details {
    background: transparent;
    padding-top: 0;
}

body.itemid-274 .article-details .article-header,
body.itemid-274 .article-details .article-info,
body.itemid-274 .article-details ul.tags,
body.itemid-274 .article-details .pagenavigation,
body.itemid-274 .article-details .icons {
    display: none !important;
}

.gs-perche {
    --gs-ink: #171513;
    --gs-muted: #5a554e;
    --gs-paper: #f3f0eb;
    --gs-card: #ebe7e0;
    --gs-line: rgba(23, 21, 19, 0.12);
    --gs-accent: #2a4a7a;
    --gs-display: "Cormorant Garamond", Georgia, serif;
    --gs-body: "DM Sans", "Segoe UI", sans-serif;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1rem, 3vw, 1.5rem) clamp(3rem, 7vw, 4.5rem);
    color: var(--gs-ink);
    font-family: var(--gs-body);
    background:
        radial-gradient(1200px 420px at 12% -10%, rgba(42, 74, 122, 0.08), transparent 60%),
        linear-gradient(180deg, #f7f4ef 0%, var(--gs-paper) 40%, #efebe4 100%);
    border-radius: 0;
}

.gs-perche__hero {
    margin: 0 0 clamp(2rem, 5vw, 3rem);
    animation: gsPercheRise 0.7s ease both;
}

.gs-perche__eyebrow {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gs-accent);
}

.gs-perche__title {
    margin: 0 0 0.9rem;
    font-family: var(--gs-display);
    font-size: clamp(2.6rem, 7vw, 4.2rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.gs-perche__lead {
    margin: 0;
    max-width: 38rem;
    font-family: var(--gs-display);
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    line-height: 1.45;
    color: var(--gs-muted);
}

.gs-perche__intro {
    display: grid;
    grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: start;
    margin: 0 0 clamp(2rem, 5vw, 3rem);
    animation: gsPercheRise 0.85s ease 0.08s both;
}

.gs-perche__portrait {
    margin: 0;
}

.gs-perche__portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border: 0;
    box-shadow: 0 18px 40px rgba(23, 21, 19, 0.12);
}

.gs-perche__intro-copy {
    display: grid;
    gap: 1rem;
    padding-top: 0.35rem;
}

.gs-perche__intro-copy p,
.gs-perche__split-copy p,
.gs-perche__invite p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gs-ink);
}

.gs-perche__quote {
    margin: 0 0 clamp(2rem, 5vw, 3rem);
    padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 1.75rem);
    border: 0;
    border-left: 3px solid var(--gs-accent);
    background: rgba(255, 255, 255, 0.55);
    animation: gsPercheRise 0.9s ease 0.14s both;
}

.gs-perche__quote p {
    margin: 0;
    font-family: var(--gs-display);
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    line-height: 1.45;
    color: var(--gs-ink);
}

.gs-perche__quote-end {
    margin-top: 0.85rem !important;
    color: var(--gs-muted) !important;
    font-style: italic;
}

.gs-perche__split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 280px);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: center;
    margin: 0 0 clamp(2rem, 5vw, 3rem);
    animation: gsPercheRise 0.95s ease 0.18s both;
}

.gs-perche__h2 {
    margin: 0 0 0.85rem;
    font-family: var(--gs-display);
    font-size: clamp(1.7rem, 3.2vw, 2.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gs-perche__split-copy {
    display: grid;
    gap: 1rem;
}

.gs-perche__book {
    margin: 0;
}

.gs-perche__book img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(23, 21, 19, 0.12);
}

.gs-perche__invite {
    display: grid;
    gap: 1rem;
    margin: 0 0 clamp(2.25rem, 5vw, 3.25rem);
    padding: clamp(1.35rem, 3vw, 1.85rem);
    background: var(--gs-card);
    animation: gsPercheRise 1s ease 0.22s both;
}

.gs-perche__sign {
    display: grid;
    gap: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gs-line);
    animation: gsPercheRise 1.05s ease 0.26s both;
}

.gs-perche__name {
    margin: 0;
    font-family: var(--gs-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gs-perche__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.gs-perche__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1.15rem;
    background: #111;
    border: 1px solid #111;
    color: #f7f5f2 !important;
    text-decoration: none !important;
    font-size: 0.92rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gs-perche__btn:hover,
.gs-perche__btn:focus {
    background: #000;
    transform: translateY(-1px);
}

.gs-perche__btn--ghost {
    background: transparent;
    color: var(--gs-ink) !important;
    border-color: rgba(23, 21, 19, 0.35);
    font-weight: 600;
}

.gs-perche__btn--ghost:hover,
.gs-perche__btn--ghost:focus {
    background: rgba(23, 21, 19, 0.05);
}

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

@media (max-width: 760px) {
    .gs-perche__intro,
    .gs-perche__split {
        grid-template-columns: 1fr;
    }

    .gs-perche__portrait {
        max-width: 220px;
    }

    .gs-perche__book {
        max-width: 280px;
        order: -1;
    }

    .gs-perche__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gs-perche__hero,
    .gs-perche__intro,
    .gs-perche__quote,
    .gs-perche__split,
    .gs-perche__invite,
    .gs-perche__sign,
    .gs-perche__btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Dark mode Helix */
body.dark-mode .gs-perche {
    --gs-ink: #f2efe9;
    --gs-muted: #b7b0a6;
    --gs-paper: #1b1916;
    --gs-card: #24211d;
    --gs-line: rgba(242, 239, 233, 0.14);
    background:
        radial-gradient(1000px 380px at 10% -10%, rgba(90, 130, 190, 0.12), transparent 60%),
        linear-gradient(180deg, #1f1c18 0%, #181612 100%);
}

body.dark-mode .gs-perche__quote {
    background: rgba(255, 255, 255, 0.04);
}

body.dark-mode .gs-perche__btn {
    background: #f2efe9;
    border-color: #f2efe9;
    color: #171513 !important;
}

body.dark-mode .gs-perche__btn--ghost {
    background: transparent;
    color: #f2efe9 !important;
    border-color: rgba(242, 239, 233, 0.35);
}
