.g4f-story {
    --story-dark: #251455;
    --story-accent: #8acb3f;
    --story-paper: #f7f4ed;
    background: var(--story-paper);
    color: #211a2a;
    padding-top: 78px;
    font-family: Inter, Arial, sans-serif;
}
.g4f-story--pedebrasil {
    --story-dark: #345e30;
    --story-accent: #922179;
    --story-paper: #f4f6ed;
}
.g4f-story *, .g4f-story *::before, .g4f-story *::after { box-sizing: border-box; }
.g4f-story__topline {
    display: flex; justify-content: space-between; gap: 1rem;
    background: var(--story-dark); color: white;
    padding: .8rem max(24px, calc((100vw - 1480px) / 2));
    font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.g4f-story__nav {
    position: sticky; top: 70px; z-index: 60;
    display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: thin;
    background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
    padding: .65rem max(16px, calc((100vw - 1480px) / 2));
    border-bottom: 1px solid rgba(30,30,30,.1);
    box-shadow: 0 7px 24px rgba(0,0,0,.055);
}
.g4f-story__nav a {
    display: inline-flex; align-items: center; gap: .48rem; flex: 0 0 auto;
    padding: .55rem .8rem; border-radius: 999px;
    color: #49504b; text-decoration: none; font-size: .78rem; font-weight: 650;
    transition: background .2s, color .2s, transform .2s;
}
.g4f-story__nav a:hover, .g4f-story__nav a[aria-current="location"] {
    background: var(--story-dark); color: white;
}
.g4f-story__nav-number { font-size: .67rem; opacity: .72; letter-spacing: .08em; }
.g4f-story__progress { position: sticky; top: 123px; z-index: 60; height: 3px; background: transparent; }
.g4f-story__progress span { display: block; height: 100%; width: 0; background: var(--story-accent); transition: width .25s; }
.g4f-story__section {
    max-width: 1520px; margin: 0 auto; padding: clamp(28px,5vw,76px) clamp(14px,3.5vw,50px) 0;
    scroll-margin-top: 90px;
}
.g4f-story__section-head, .g4f-story__section-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    max-width: 1440px; margin: 0 auto;
}
.g4f-story__section-head { margin-bottom: 1rem; }
.g4f-story__section-head > span { color: var(--story-accent); font-size: .8rem; font-weight: 800; letter-spacing: .15em; white-space: nowrap; }
.g4f-story__section-head h2 { color: var(--story-dark); font-family: Montserrat, sans-serif; font-size: clamp(1.7rem,3vw,2.6rem); font-weight: 700; margin: 0; text-align: left; }
.g4f-story__artwork {
    max-width: 1440px; margin: 0 auto; overflow: hidden; border-radius: clamp(12px,2vw,24px);
    box-shadow: 0 24px 65px rgba(30,15,55,.18); background: var(--story-dark);
}
.g4f-story__artwork a { display: block; }
.g4f-story__artwork img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.g4f-story__section-foot { padding: 1.3rem .15rem 0; align-items: flex-start; }
.g4f-story__section-foot p { max-width: 780px; margin: 0; color: #44434a; line-height: 1.65; font-size: clamp(.86rem,1.1vw,1rem); }
.g4f-story__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 1rem; flex: 0 0 auto; }
.g4f-story__button, .g4f-story__text-link, .g4f-story__zoom, .g4f-story__product-link {
    display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-size: .86rem; font-weight: 700;
}
.g4f-story__button { background: var(--story-dark); color: white; border-radius: 999px; padding: .8rem 1.15rem; }
.g4f-story__button:hover { color: white; background: var(--story-accent); }
.g4f-story__text-link, .g4f-story__zoom, .g4f-story__product-link { color: var(--story-dark); }
.g4f-story__zoom { background: none; border: 0; padding: .55rem 0; cursor: pointer; }
.g4f-story__zoom:hover, .g4f-story__text-link:hover, .g4f-story__product-link:hover { color: var(--story-accent); }
.g4f-story__benefits { max-width: 1440px; margin: clamp(40px,7vw,90px) auto 0; padding: 0 clamp(14px,3.5vw,50px); }
.g4f-story__benefits h2 { color: var(--story-dark); font: 600 clamp(1.35rem,3vw,2.4rem)/1.2 Montserrat,sans-serif; margin: .5rem 0 1.4rem; }
.g4f-story__benefit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.g4f-story__benefit { background: white; border: 1px solid #e6e3e1; border-radius: 15px; padding: 1.1rem; }
.g4f-story__benefit summary { display: flex; justify-content: space-between; gap: 1rem; color: var(--story-dark); font-weight: 700; cursor: pointer; list-style: none; }
.g4f-story__benefit summary::-webkit-details-marker { display: none; }
.g4f-story__benefit summary span { color: var(--story-accent); font-size: 1.25rem; line-height: 1; }
.g4f-story__benefit[open] summary span { transform: rotate(45deg); }
.g4f-story__benefit p { margin: .8rem 0 0; color: #52545a; font-size: .88rem; line-height: 1.5; }
.g4f-story__shop {
    max-width: 1440px; margin: clamp(50px,8vw,110px) auto 0;
    padding: clamp(26px,4vw,54px); background: white; border-radius: 26px;
    box-shadow: 0 12px 50px rgba(30,15,55,.07); scroll-margin-top: 150px;
}
.g4f-story__shop-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.g4f-story__eyebrow { color: var(--story-accent); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.g4f-story__shop-heading h2 { color: var(--story-dark); font-family: Montserrat, sans-serif; font-size: clamp(1.35rem,3vw,2.5rem); line-height: 1.2; margin: .5rem 0 0; }
.g4f-story__products { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; }
.g4f-story__product { border: 1px solid #e8e6e3; border-radius: 17px; padding: 1.1rem; }
.g4f-story__product > a:first-child { color: var(--story-dark); text-decoration: none; }
.g4f-story__product img { width: 100%; height: 190px; object-fit: contain; }
.g4f-story__product h3 { font-size: 1rem; margin: .9rem 0 .4rem; font-weight: 700; }
.g4f-story__product p { color: #52545a; margin: .3rem 0 1rem; }
.g4f-story__empty { margin: 0; color: #56575b; }
.g4f-story__end { margin-top: 6rem; padding: 3rem 1.5rem; text-align: center; background: var(--story-dark); color: white; }
.g4f-story__end p { margin: 0 0 .5rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; }
.g4f-story__end a { color: white; font: 600 clamp(1.3rem,3vw,2.4rem) Montserrat,sans-serif; text-decoration: none; }
.g4f-story__end a:hover { color: var(--story-accent); }
.g4f-story__dialog { position: fixed; inset: 0; max-width: min(96vw,1700px); max-height: 94vh; padding: 2.7rem 1rem 1rem; border: 0; border-radius: 15px; background: #171020; overflow: auto; }
.g4f-story__dialog::backdrop { background: rgba(0,0,0,.84); }
.g4f-story__dialog img { display: block; max-width: 100%; height: auto; margin: auto; }
.g4f-story__dialog-close { position: absolute; right: .5rem; top: .2rem; border: 0; background: transparent; color: white; font-size: 2rem; cursor: pointer; }
.g4f-story a:focus-visible, .g4f-story button:focus-visible { outline: 3px solid var(--story-accent); outline-offset: 3px; }
@media (max-width: 900px) {
    .g4f-story__section-foot { flex-direction: column; }
    .g4f-story__actions { justify-content: flex-start; }
    .g4f-story__shop { margin-inline: 14px; }
    .g4f-story__benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
    .g4f-story { padding-top: 65px; }
    .g4f-story__topline { font-size: .57rem; padding: .7rem 14px; }
    .g4f-story__nav { top: 61px; }
    .g4f-story__progress { top: 114px; }
    .g4f-story__nav a { font-size: .74rem; }
    .g4f-story__section { scroll-margin-top: 80px; padding-top: 2rem; }
    .g4f-story__section-head h2 { font-size: clamp(1.5rem,7vw,2rem); }
    .g4f-story__section-foot { padding-top: 1rem; gap: .6rem; }
    .g4f-story__section-foot p { font-size: .95rem; }
    .g4f-story__shop-heading { flex-direction: column; align-items: start; }
    .g4f-story__products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
    .g4f-story__benefit-grid { grid-template-columns: 1fr; }
    .g4f-story__product { padding: .6rem; }
    .g4f-story__product img { height: 130px; }
    .g4f-story__product h3 { font-size: .86rem; }
}
@media (max-width: 400px) { .g4f-story__products { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .g4f-story *, .g4f-story *::before, .g4f-story *::after { scroll-behavior: auto !important; transition: none !important; } }
