/* GodMode homepage — mobile-first refresh */
:root {
    --gm-purple: #7a52a1;
    --gm-pink: #e50c77;
    --gm-gradient: linear-gradient(135deg, var(--gm-purple) 0%, var(--gm-pink) 100%);
    --gm-bg: #070b14;
    --gm-bg-elevated: #0f1424;
    --gm-text: #f4f6fb;
    --gm-muted: rgba(244, 246, 251, 0.72);
    --gm-border: rgba(255, 255, 255, 0.1);
    --gm-radius: 16px;
    --gm-radius-lg: 24px;
    --gm-header-h: 76px;
    --gm-container: min(1120px, calc(100% - 2rem));
    --gm-eyebrow-size: 1rem;
    --gm-eyebrow-weight: 700;
    --gm-eyebrow-tracking: 0.12em;
    --gm-eyebrow-line-width: 2rem;
    --gm-eyebrow-color: var(--gm-pink);
}

/* Page shell */
body.gm-homepage {
    background: var(--gm-bg);
    color: var(--gm-text);
}

body.gm-homepage main {
    background: var(--gm-bg);
    padding: 0;
    margin: 0;
    overflow-x: clip;
}

body.gm-homepage .godmode-site-header__bar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: #000 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

body.gm-homepage .godmode-site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 12px;
}

body.gm-homepage .godmode-site-header__nav ul {
    gap: 2px 12px;
    justify-content: center;
}

body.gm-homepage .godmode-site-header__nav-link {
    font-size: 11px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

body.gm-homepage .godmode-site-header__btn {
    padding: 8px 12px;
    font-size: 11px;
}

@media (min-width: 1200px) {
    body.gm-homepage .godmode-site-header__nav-link {
        font-size: 12px;
    }

    body.gm-homepage .godmode-site-header__nav ul {
        gap: 4px 18px;
    }

    body.gm-homepage .godmode-site-header__btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    body.gm-homepage .godmode-site-header__nav ul li:nth-child(n+6) {
        display: none;
    }
}

.gm-home {
    background: var(--gm-bg);
    color: var(--gm-text);
    font-family: "Barlow", system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    width: 100%;
}

/* Reset Bootstrap / legacy theme inside homepage */
.gm-home h1,
.gm-home h2,
.gm-home h3,
.gm-home h4,
.gm-home h5,
.gm-home h6,
.gm-home p {
    font-family: inherit;
}

.gm-home .gm-hero__title {
    font-family: "Barlow", system-ui, -apple-system, sans-serif;
    text-transform: none;
    font-weight: 700;
}

.gm-home .gm-hero__subtitle {
    font-family: "Barlow", system-ui, -apple-system, sans-serif;
}

.gm-home .row {
    margin-left: 0;
    margin-right: 0;
}

.gm-home .container,
.gm-home .container-fluid {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1200px) {
    .gm-home .container {
        max-width: 1140px;
    }
}

.gm-home .section-padding30 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.gm-home .section-tittle {
    margin-bottom: 2rem;
}

.gm-home .section-tittle h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.2;
    margin-bottom: 0;
}

.gm-home .text-center {
    text-align: center;
}

.gm-home *,
.gm-home *::before,
.gm-home *::after {
    box-sizing: border-box;
}

.gm-container {
    width: var(--gm-container);
    margin-inline: auto;
}

.gm-section {
    padding: 3.5rem 0;
}

@media (min-width: 768px) {
    .gm-section {
        padding: 5rem 0;
    }
}

.gm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.gm-eyebrow::before,
.gm-eyebrow::after {
    content: "";
    width: var(--gm-eyebrow-line-width);
    height: 1px;
    background: var(--gm-gradient);
    opacity: 0.85;
    flex-shrink: 0;
}

/* Unified section label typography */
.gm-home .gm-eyebrow,
.gm-home .section-tittle span,
.gm-home .godmode-professionals__eyebrow,
.gm-home .godmode-testimonials__eyebrow,
.gm-home .godmode-packages__eyebrow {
    font-family: "Barlow", system-ui, -apple-system, sans-serif !important;
    font-size: var(--gm-eyebrow-size) !important;
    font-weight: var(--gm-eyebrow-weight) !important;
    letter-spacing: var(--gm-eyebrow-tracking) !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    color: var(--gm-eyebrow-color) !important;
    -webkit-text-fill-color: var(--gm-eyebrow-color) !important;
    background: none !important;
}

.gm-home .section-tittle span {
    display: inline-block !important;
    margin-left: 0 !important;
    margin-bottom: 1rem !important;
    position: static !important;
}

.gm-home .section-tittle span::before {
    display: none !important;
}

.gm-home .godmode-professionals__eyebrow,
.gm-home .godmode-testimonials__eyebrow,
.gm-home .godmode-packages__eyebrow {
    gap: 0.75rem;
    margin-bottom: 1rem !important;
}

.gm-home .godmode-professionals__eyebrow-line,
.gm-home .godmode-testimonials__eyebrow-line,
.gm-home .godmode-packages__eyebrow-line {
    width: var(--gm-eyebrow-line-width);
    flex-shrink: 0;
}

.gm-section-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.65rem, 5vw, 2.35rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.gm-section-lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gm-muted);
    max-width: 38rem;
}

.gm-section-head {
    margin-bottom: 2rem;
}

.gm-section-head--center {
    text-align: center;
}

.gm-section-head--center .gm-section-lead {
    margin-inline: auto;
}

.gm-section-head--center .gm-eyebrow {
    display: inline-flex;
}

.gm-section-head--center .gm-eyebrow::before,
.gm-section-head--center .gm-eyebrow::after {
    display: block;
}

/* Hero */
.gm-hero {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--gm-header-h) + 2rem) 1rem 3rem;
    background:
        linear-gradient(105deg, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.55) 42%, rgba(7, 11, 20, 0.35) 100%),
        url("../img/hero/h1_hero.webp") center center / cover no-repeat;
}

.gm-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 55% at 18% 50%, rgba(122, 82, 161, 0.28) 0%, transparent 58%),
        radial-gradient(ellipse 60% 40% at 100% 80%, rgba(229, 12, 119, 0.12) 0%, transparent 55%);
}

.gm-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1240px, 100%);
    margin-inline: auto;
}

.gm-hero__content {
    max-width: 38rem;
}

.gm-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--gm-border);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(244, 246, 251, 0.9);
    margin-bottom: 1.25rem;
}

.gm-hero__badge i {
    font-size: 0.9em;
    color: var(--gm-pink);
}

.gm-hero__title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.1rem, 6vw, 3rem);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -0.03em;
    max-width: none;
    color: #fff;
}

.gm-hero__title em {
    font-style: normal;
    background: var(--gm-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gm-hero__subtitle {
    margin: 0 0 1.75rem;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    line-height: 1.65;
    color: var(--gm-muted);
    max-width: 36rem;
}

.gm-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 480px) {
    .gm-hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

.gm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    min-height: 3rem;
}

.gm-hero .gm-btn {
    padding: 1rem 1.65rem;
    font-size: 1.05rem;
    min-height: 3.25rem;
}

.gm-btn--primary {
    background: var(--gm-gradient);
    color: #fff !important;
    box-shadow: 0 12px 32px rgba(122, 82, 161, 0.35);
}

.gm-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(229, 12, 119, 0.35);
    color: #fff !important;
}

.gm-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--gm-border);
    color: #fff !important;
}

.gm-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.gm-hero__video {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background: var(--gm-gradient);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 12px 32px rgba(122, 82, 161, 0.45);
    flex-shrink: 0;
}

.gm-hero__video:hover {
    transform: scale(1.05);
    color: #fff !important;
}

.gm-hero__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.gm-hero__stores img {
    height: 44px;
    width: auto;
    display: block;
}

.gm-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.gm-pill {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--gm-border);
    color: var(--gm-muted);
}

@media (min-width: 768px) {
    .gm-hero {
        padding: calc(var(--gm-header-h) + 2.5rem) 1.5rem 4rem;
    }

    .gm-hero__content {
        max-width: 44rem;
    }

    .gm-hero__badge {
        font-size: 1.05rem;
        padding: 0.65rem 1.15rem;
        margin-bottom: 1.5rem;
    }

    .gm-hero__title {
        font-size: clamp(2.75rem, 4.2vw, 4.25rem);
        margin-bottom: 1.5rem;
    }

    .gm-hero__subtitle {
        font-size: clamp(1.15rem, 1.6vw, 1.4rem);
        margin-bottom: 2rem;
        max-width: 40rem;
    }

    .gm-hero .gm-btn {
        padding: 1.05rem 1.85rem;
        font-size: 1.1rem;
        min-height: 3.5rem;
    }

    .gm-hero__stores img {
        height: 50px;
    }

    .gm-pill {
        font-size: 0.85rem;
        padding: 0.5rem 0.95rem;
    }

    .gm-hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 3rem;
        align-items: center;
    }

    .gm-hero__aside {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.35rem 1.5rem;
        border-radius: var(--gm-radius-lg);
        border: 1px solid var(--gm-border);
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(10px);
        min-width: 9rem;
    }

    .gm-hero__aside .gm-pill {
        font-size: 0.9rem;
        color: #fff;
    }

    .gm-hero__video {
        width: 5rem;
        height: 5rem;
        font-size: 1.35rem;
    }
}

@media (min-width: 1200px) {
    .gm-hero__content {
        max-width: 52rem;
    }

    .gm-hero__title {
        font-size: 4.5rem;
        line-height: 1.02;
    }

    .gm-hero__subtitle {
        font-size: 1.4rem;
        line-height: 1.7;
    }

    .gm-hero .gm-btn {
        padding: 1.1rem 2rem;
        font-size: 1.125rem;
        min-height: 3.65rem;
    }

    .gm-hero__stores img {
        height: 54px;
    }

    .gm-hero__video {
        width: 5.5rem;
        height: 5.5rem;
        font-size: 1.45rem;
    }
}

/* App preview */
.gm-app {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(122, 82, 161, 0.12) 0%, transparent 60%),
        var(--gm-bg-elevated);
}

.gm-app__scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 0 1rem;
    margin: 0 -1rem;
    padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gm-app__scroll::-webkit-scrollbar {
    display: none;
}

@media (min-width: 992px) {
    .gm-app__scroll {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow: visible;
        margin: 0;
        padding: 0;
        gap: 1.25rem;
    }
}

.gm-app__card {
    flex: 0 0 min(78vw, 260px);
    scroll-snap-align: center;
    border-radius: var(--gm-radius-lg);
    border: 1px solid var(--gm-border);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
    text-align: center;
}

/* Override legacy app-preview styles inside new homepage */
.gm-home .app-preview-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--gm-border);
    box-shadow: none;
    padding: 1rem;
}

.gm-home .app-preview-card::before {
    display: none;
}

.gm-home .app-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
    border-color: rgba(229, 12, 119, 0.35);
}

.gm-home .app-preview-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.gm-home .app-preview-description {
    color: var(--gm-muted);
    font-size: 0.85rem;
}

.gm-home .app-preview-card:hover .app-preview-title {
    color: #fff;
}

.gm-home .app-preview-card:hover .app-preview-phone-image {
    transform: none;
}

.gm-app__card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 12, 119, 0.35);
}

@media (max-width: 991.98px) {
    .gm-app__scroll {
        margin: 0;
        padding-inline: 0;
        gap: 0;
        scroll-padding-inline: 0;
    }

    .gm-app__card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

@media (min-width: 992px) {
    .gm-app__card {
        flex: none;
    }
}

.gm-home .gm-app__phone,
.gm-home .app-preview-image-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0.85rem;
    border-radius: 14px;
    overflow: hidden;
}

.gm-home .gm-app__phone img,
.gm-home .app-preview-phone-image {
    width: auto;
    max-width: min(100%, 220px);
    height: auto;
    margin-inline: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.gm-home .app-preview-image-popup:hover .app-preview-phone-image,
.gm-home .gm-app__phone:hover img {
    transform: scale(1.03);
}

.gm-app__label {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.gm-app__desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gm-muted);
}

.gm-app__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

/* About */
.gm-about__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .gm-about__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.gm-about__media {
    border-radius: var(--gm-radius-lg);
    overflow: hidden;
    border: 1px solid var(--gm-border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.gm-about__media img {
    width: 100%;
    height: auto;
    display: block;
}

.gm-about__copy p {
    color: var(--gm-muted);
    line-height: 1.7;
    margin: 0 0 1rem;
}

/* CTA strip */
.gm-cta {
    padding: 3.5rem 0;
    background:
        linear-gradient(135deg, rgba(122, 82, 161, 0.35) 0%, rgba(229, 12, 119, 0.22) 100%),
        var(--gm-bg-elevated);
    border-block: 1px solid var(--gm-border);
}

.gm-cta__inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .gm-cta {
        padding: 4rem 0;
    }

    .gm-cta__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2.5rem;
    }
}

.gm-home .gm-cta__title {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.3;
    font-weight: 700;
    max-width: 36rem;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    font-family: "Barlow", system-ui, -apple-system, sans-serif;
    text-transform: none;
}

.gm-cta .gm-btn--primary {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .gm-cta__inner {
        align-items: stretch;
        text-align: center;
    }

    .gm-home .gm-cta__title {
        max-width: none;
    }

    .gm-cta .gm-btn--primary {
        width: 100%;
        justify-content: center;
    }
}

/* Integrate legacy sections inside gm-home */
.gm-home .godmode-social-proof,
.gm-home .godmode-recent-clients,
.gm-home .testimonial-area,
.gm-home .godmode-packages,
.gm-home .godmode-faq {
    background: transparent;
}

.gm-home .section-tittle h2,
.gm-home .godmode-professionals__title,
.gm-home .godmode-testimonials__title,
.gm-home .godmode-packages__title,
.gm-home .godmode-recent-clients__name {
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: none;
}

.gm-home .wantToWork-area {
    display: none;
}

/* Professionals — mobile: avatar inside card (no overlap) */
@media (max-width: 767px) {
    .gm-home .godmode-professionals__grid {
        gap: 1.75rem;
        max-width: 100%;
    }

    .gm-home .godmode-professionals__card {
        padding: 1.5rem 1.25rem;
    }

    .gm-home .godmode-professionals__avatar-wrap {
        position: static;
        transform: none;
        margin: 0 auto 1rem;
        width: 112px;
        height: 112px;
    }

    .gm-home .success-stories-carousel {
        padding-inline: 0.5rem;
    }

    .gm-home .story-image-item {
        flex: 0 0 auto;
    }
}

/* Scroll anchors */
#inicio,
#pacotes,
#resultados,
#sobre-nos,
#faq,
#equipa,
#transformacoes-reais {
    scroll-margin-top: calc(var(--gm-header-h) + 12px);
}
