/* ===================================================================
 * naza.css — NazaApp Design System
 * Dark theme, glassmorphism, 3D cards, glow effects
 * =================================================================== */

/* -------------------------------------------------------------------
 * 1. Reset & Base
 * ------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:            #F8F9FC;
    --surface:       #FFFFFF;
    --surface-2:     #F0F4FF;
    --orange:        #F26522;
    --accent:        #F26522;
    --orange-dim:    rgba(242, 101, 34, 0.10);
    --orange-glow:   rgba(242, 101, 34, 0.20);
    --white:         #ffffff;
    --text:          #1A1D27;
    --text-muted:    #6B7280;
    --border:        rgba(0, 0, 0, 0.08);
    --glass:         rgba(0, 0, 0, 0.02);
    --radius:        16px;
    --header-h:      72px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body:not(.ss-show) {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--text);
}

ul, ol {
    list-style: none;
}

/* -------------------------------------------------------------------
 * 2. Preloader
 * ------------------------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.ss-loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

#loader {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------------
 * 3. Header
 * ------------------------------------------------------------------- */
.s-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s,
                opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.s-header.sticky {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.s-header.sticky.offset {
    transform: translateY(-100%);
}

.s-header.sticky.scrolling {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.s-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding: 0 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Logo --- */
.s-header__block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.s-header__logo a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.naza-logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 12px rgba(242, 101, 34, 0.25));
    flex-shrink: 0;
}

.naza-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.naza-logo-text em {
    font-style: normal;
    color: var(--orange);
}

/* --- Navigation --- */
.s-header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.s-header__menu-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.s-header__menu-links li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.s-header__menu-links li a:hover,
.s-header__menu-links li.current a {
    color: var(--text);
    background: var(--glass);
}

.s-header__menu-links .nav-cta a {
    background: var(--orange);
    color: var(--white) !important;
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.s-header__menu-links .nav-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--orange-glow);
    background: var(--orange);
}

/* --- Social --- */
.s-header__social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.s-header__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
}

.s-header__social a:hover {
    color: var(--text);
    background: var(--glass);
}

.s-header__social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --- Language Switcher --- */
.s-header__lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border);
}

.lang-switcher-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0.4;
}

.lang-switcher-btn:hover {
    opacity: 1;
    background: var(--glass);
    border-color: var(--border);
}

.lang-switcher-btn.is-active {
    opacity: 1;
    background: var(--orange-dim);
    border-color: var(--orange-glow);
}

.lang-switcher-btn svg {
    width: 20px !important;
    height: 15px !important;
    min-width: 20px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    overflow: hidden;
    display: block;
}

/* --- Mobile Toggle --- */
.s-header__menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    z-index: 110;
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: background 0.2s, color 0.2s;
}

.s-header__menu-toggle:hover {
    background: var(--glass);
    color: var(--text);
}

.s-header__menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: background 0.2s;
}

.s-header__menu-toggle span::before,
.s-header__menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s, top 0.3s, bottom 0.3s, opacity 0.3s;
}

.s-header__menu-toggle span::before { top: -6px; }
.s-header__menu-toggle span::after  { bottom: -6px; }

.s-header__menu-toggle.is-clicked span {
    background: transparent;
}

.s-header__menu-toggle.is-clicked span::before {
    top: 0;
    transform: rotate(45deg);
}

.s-header__menu-toggle.is-clicked span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* --- Mobile Menu Overlay --- */
.menu-is-open .s-header__nav {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 105;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
}

.menu-is-open .s-header__menu-links {
    flex-direction: column;
    gap: 0.5rem;
}

.menu-is-open .s-header__menu-links li a {
    font-size: 1.25rem;
    padding: 0.75rem 1rem;
    display: block;
    text-align: center;
}

/* -------------------------------------------------------------------
 * 4. Buttons
 * ------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    text-decoration: none;
    border: none;
    letter-spacing: 0.01em;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--orange-glow);
    color: var(--white);
}

.btn--stroke {
    background: transparent;
    color: var(--text);
    border: 1.5px solid rgba(0, 0, 0, 0.20);
}

.btn--stroke:hover {
    transform: translateY(-3px);
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: 0 8px 24px var(--orange-dim);
}

.btn--white {
    background: #1A1D27;
    color: #ffffff;
}

.btn--white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26, 29, 39, 0.25);
    color: #ffffff;
}

/* -------------------------------------------------------------------
 * 5. Hero Section (#intro)
 * ------------------------------------------------------------------- */
#intro {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg);
    padding: calc(var(--header-h) + 4rem) 2rem 4rem;
}

/* -------------------------------------------------------------------
 * Video Background
 * ------------------------------------------------------------------- */
.hero-video-bg {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.4s ease;
    pointer-events: none;
}

.hero-video.is-active {
    opacity: 1;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(248, 249, 252, 0.82) 0%,
        rgba(248, 249, 252, 0.74) 45%,
        rgba(248, 249, 252, 0.84) 100%
    );
    z-index: 1;
}

/* Grid background */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
}

/* Gradient orbs */
.naza-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.naza-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.10;
}

.naza-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #F26522, transparent 70%);
    top: -150px;
    right: -100px;
    animation: orb-float 8s ease-in-out infinite;
}

.naza-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #1E40AF, transparent 70%);
    bottom: -100px;
    left: -80px;
    animation: orb-float 10s ease-in-out infinite reverse;
}

.naza-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #7C3AED, transparent 70%);
    top: 40%;
    left: 35%;
    animation: orb-float 12s ease-in-out infinite 2s;
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    33%       { transform: translateY(-30px) scale(1.05); }
    66%       { transform: translateY(20px) scale(0.97); }
}

/* Hero content */
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--orange);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    background: var(--orange-dim);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--orange) 0%, #FF8C42 50%, #FFB347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
}

.hero-stat {
    background: var(--surface);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: background 0.2s;
}

.hero-stat:hover {
    background: var(--surface-2);
}

.hero-stat strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.hero-stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--orange), transparent);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
    50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* -------------------------------------------------------------------
 * 6. Section Shared Styles
 * ------------------------------------------------------------------- */
.naza-section {
    padding: 6rem 2rem;
    position: relative;
}

.section-inner {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 560px;
}

.section-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 4rem;
}

.section-header-full {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header-full .section-desc {
    margin: 0 auto;
}

/* -------------------------------------------------------------------
 * 7. About Section (#about)
 * ------------------------------------------------------------------- */
#about {
    background: var(--surface);
}

#about .section-header-grid {
    align-items: start;
}

.about-feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.about-feat {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    transform-style: preserve-3d;
    cursor: default;
}

.about-feat:hover {
    transform: translateY(-4px) perspective(400px) rotateX(4deg);
    border-color: var(--orange-glow);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10), 0 0 0 1px var(--orange-dim);
}

.about-feat-icon {
    width: 42px;
    height: 42px;
    background: var(--orange-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(242, 101, 34, 0.2);
}

.about-feat-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-feat h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.about-feat p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* -------------------------------------------------------------------
 * 8. Services / Features Section (#services)
 * ------------------------------------------------------------------- */
#services {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
    cursor: default;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--orange-dim) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.03), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px) perspective(600px) rotateX(6deg) rotateY(-3deg);
    border-color: var(--orange-glow);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10), 0 0 0 1px var(--orange-dim),
                0 0 40px -10px var(--orange-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    left: 140%;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.2), rgba(242, 101, 34, 0.08));
    border: 1px solid rgba(242, 101, 34, 0.3);
    box-shadow: 0 0 20px -4px var(--orange-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(242, 101, 34, 0.5));
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* -------------------------------------------------------------------
 * 9. Mobile Section (#mobile)
 * ------------------------------------------------------------------- */
#mobile {
    background: var(--surface);
}

.mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

.mobile-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    display: block;
    margin-bottom: 1rem;
}

.mobile-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.mobile-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.mobile-points {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.925rem;
    color: var(--text);
}

.mobile-points li::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F26522' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Phone 3D frame */
.phone-3d-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-3d-frame {
    position: relative;
    width: 280px;
    border-radius: 36px;
    border: 8px solid #E2E8F0;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 0 60px -10px var(--orange-glow);
    transform: perspective(800px) rotateY(-12deg) rotateX(4deg);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    background: #F1F5F9;
}

.phone-3d-frame:hover {
    transform: perspective(800px) rotateY(-4deg) rotateX(1deg) translateY(-8px);
}

/* -------------------------------------------------------------------
 * Devices Wrap — iMac + Phone composition
 * ------------------------------------------------------------------- */
.devices-wrap {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 64px;
    padding-right: 60px;
}

/* ─── iMac Mockup ───────────────────────────────────────────── */
.imac-3d-wrap {
    position: relative;
    z-index: 1;
}

.imac-frame {
    width: 410px;
    background: linear-gradient(160deg, #F3F5F8 0%, #E6E9EF 100%);
    border-radius: 14px 14px 4px 4px;
    padding: 16px 13px 8px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-bottom: 7px solid #CDD2DA;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.13),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.imac-frame:hover {
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateY(-6px);
}

.imac-camera {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #AAB3C0;
    margin: 0 auto 10px;
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.10), 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.imac-screen-bezel {
    background: #0F172A;
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.18);
}

.imac-display {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top left;
}

.imac-neck {
    width: 52px;
    height: 32px;
    background: linear-gradient(to bottom, #CDD2DA 0%, #BDC3CB 100%);
    margin: 0 auto;
    clip-path: polygon(18% 0%, 82% 0%, 100% 100%, 0% 100%);
}

.imac-base {
    width: 165px;
    height: 8px;
    background: linear-gradient(to right, #BDC3CB 0%, #CDD2DA 50%, #BDC3CB 100%);
    border-radius: 0 0 8px 8px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.09);
}

.imac-label {
    text-align: center;
    margin-top: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ─── Phone overlay sobre o iMac ────────────────────────────── */
.phone-3d-wrap--overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    perspective: 600px;
}

.phone-3d-wrap--overlay .phone-3d-frame {
    width: 150px;
    border-radius: 24px;
    border-width: 5px;
    min-height: unset;
    box-shadow:
        0 20px 44px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(0, 0, 0, 0.07),
        0 0 30px -6px rgba(124, 58, 237, 0.40);
    transform: perspective(600px) rotateY(-10deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-3d-wrap--overlay .phone-3d-frame:hover {
    transform: perspective(600px) rotateY(-3deg) rotateX(0deg) translateY(-8px);
}

.phone-3d-wrap--overlay .phone-3d-notch {
    width: 55px;
    height: 16px;
}

.phone-3d-wrap--overlay .phone-3d-screen {
    min-height: 260px;
}

.phone-3d-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #CBD5E1;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-3d-screen {
    display: block;
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    border-radius: 28px;
}

/* -------------------------------------------------------------------
 * 10. Platform Section (#platform)
 * ------------------------------------------------------------------- */
#platform {
    background: var(--bg);
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.platform-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: default;
}

.platform-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}

.platform-card:hover {
    transform: translateY(-6px);
    border-color: var(--orange-glow);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.25), rgba(242, 101, 34, 0.08));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 0 24px -6px var(--orange-glow);
}

.platform-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.platform-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.platform-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.platform-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s;
}

.platform-link:hover {
    gap: 0.6rem;
    color: var(--orange);
}

/* CTA Box */
.platform-cta-box {
    background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.platform-cta-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--orange-glow), transparent, var(--orange-dim));
    z-index: -1;
}

.platform-cta-box h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.platform-cta-box p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.platform-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* -------------------------------------------------------------------
 * 11. Testimonials Section (#testimonials)
 * ------------------------------------------------------------------- */
#testimonials {
    background: var(--surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: default;
}

.testimonial-card:hover {
    transform: translateY(-6px) perspective(600px) rotateX(3deg);
    border-color: var(--orange-glow);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 1rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

blockquote {
    position: relative;
}

blockquote::before {
    content: '\201C';
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    font-size: 5rem;
    line-height: 1;
    color: var(--orange);
    opacity: 0.25;
    font-family: Georgia, serif;
    pointer-events: none;
}

blockquote p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-info strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #34D399;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.testimonial-badge svg {
    width: 14px;
    height: 14px;
    stroke: #34D399;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* CTA Testimonial Card */
.testimonial-card--cta {
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.15), rgba(242, 101, 34, 0.04));
    border-color: rgba(242, 101, 34, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.cta-icon {
    width: 56px;
    height: 56px;
    background: var(--orange);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 30px -6px var(--orange-glow);
}

.cta-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.testimonial-card--cta h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
}

.testimonial-card--cta p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 320px;
}

/* -------------------------------------------------------------------
 * 12. Footer (#footer)
 * ------------------------------------------------------------------- */
#footer {
    background: #1A1D27;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
}

/* Footer: overrides para manter legibilidade no fundo escuro */
#footer a:hover {
    color: #ffffff;
}
#footer .footer-callout-wrap {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
#footer .footer-callout p {
    color: rgba(255, 255, 255, 0.55);
}
#footer .footer-brand p {
    color: rgba(255, 255, 255, 0.55);
}
#footer .footer-links-col h5 {
    color: rgba(255, 255, 255, 0.45);
}
#footer .footer-links-col ul li a {
    color: rgba(255, 255, 255, 0.55);
}
#footer .footer-links-col ul li a:hover {
    color: #ffffff;
}
#footer .ss-copyright {
    color: rgba(255, 255, 255, 0.45);
}
#footer .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
}
#footer .footer-social a {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.55);
}
#footer .footer-social a:hover {
    color: #ffffff;
    border-color: var(--orange);
    background: var(--orange-dim);
}

.footer-callout-wrap {
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.footer-callout {
    max-width: 640px;
    text-align: center;
}

.footer-callout h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.footer-callout p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    background: #25D366;
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
    color: var(--white);
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    flex-shrink: 0;
}

/* Footer body */
.footer-body {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.35rem;
}

.footer-brand a {
    color: var(--orange);
    font-size: 0.875rem;
}

.footer-links-col h5 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links-col ul li a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-col ul li a:hover {
    color: var(--white);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.ss-copyright {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
    color: var(--white);
    border-color: var(--orange);
    background: var(--orange-dim);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Go to top */
.ss-go-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.ss-go-top.link-is-visible {
    opacity: 1;
    visibility: visible;
}

.ss-go-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 8px 24px var(--orange-glow);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.ss-go-top a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--orange-glow);
}

.ss-go-top svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

/* -------------------------------------------------------------------
 * 13. Scroll Reveal (.js-reveal)
 * ------------------------------------------------------------------- */
.js-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-reveal[data-delay="1"] { transition-delay: 0.1s; }
.js-reveal[data-delay="2"] { transition-delay: 0.2s; }
.js-reveal[data-delay="3"] { transition-delay: 0.3s; }
.js-reveal[data-delay="4"] { transition-delay: 0.4s; }

.js-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------
 * 14. Utility
 * ------------------------------------------------------------------- */
.u-screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* -------------------------------------------------------------------
 * 15. Responsive — 1200px
 * ------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .platform-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -------------------------------------------------------------------
 * 16. Responsive — 1024px
 * ------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .section-header-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mobile-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .phone-3d-wrap {
        order: -1;
    }

    .devices-wrap {
        order: -1;
        padding-bottom: 52px;
        padding-right: 48px;
    }

    .imac-frame {
        width: 320px;
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    }

    .phone-3d-wrap--overlay .phone-3d-frame {
        width: 118px;
        border-radius: 20px;
    }

    .phone-3d-frame {
        transform: perspective(800px) rotateY(-6deg) rotateX(2deg);
        width: 240px;
    }

    .about-feats {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------
 * 17. Responsive — 800px (mobile nav breakpoint)
 * ------------------------------------------------------------------- */
@media (max-width: 800px) {
    .s-header__menu-toggle {
        display: flex;
    }

    .s-header__nav {
        display: none;
    }

    .s-header__inner {
        padding: 0 1.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-cards {
        grid-template-columns: 1fr;
    }

    .about-feats {
        grid-template-columns: 1fr;
    }

    .footer-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .platform-cta-box {
        padding: 2rem 1.5rem;
    }

    .naza-section {
        padding: 4rem 1.5rem;
    }
}

/* -------------------------------------------------------------------
 * 18. Responsive — 480px
 * ------------------------------------------------------------------- */
@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .feature-card {
        padding: 1.25rem 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .platform-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .platform-cta-actions .btn {
        justify-content: center;
    }

    .phone-3d-frame {
        width: 200px;
    }

    .imac-frame {
        width: 260px;
    }

    .imac-neck { width: 42px; height: 26px; }
    .imac-base { width: 130px; }

    .phone-3d-wrap--overlay .phone-3d-frame {
        width: 98px;
        border-radius: 18px;
    }

    .phone-3d-wrap--overlay .phone-3d-notch {
        width: 44px;
        height: 13px;
    }

    .phone-3d-wrap--overlay .phone-3d-screen {
        min-height: 200px;
    }

    .devices-wrap {
        padding-bottom: 42px;
        padding-right: 38px;
    }
}

/* ===================================================================
 * 19. Module Benefits Section (#modulos)
 * =================================================================== */
#modulos {
    background: var(--surface);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.module-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: default;
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange-glow);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10), 0 0 0 1px var(--orange-dim);
}

.module-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.2), rgba(242, 101, 34, 0.08));
    border: 1px solid rgba(242, 101, 34, 0.3);
    box-shadow: 0 0 20px -4px var(--orange-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.module-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.module-benefit {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.module-content p:last-child {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===================================================================
 * 20. Plans Section (#planos)
 * =================================================================== */
#planos {
    background: var(--bg);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: var(--border);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
}

.plan-card--featured {
    border-color: var(--orange-glow);
    background: linear-gradient(160deg, rgba(242, 101, 34, 0.1) 0%, var(--glass) 60%);
}

.plan-card--featured:hover {
    border-color: var(--orange);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--orange-dim),
                0 0 60px -15px var(--orange-glow);
}

.plan-card--complete {
    border-color: rgba(255, 179, 71, 0.3);
    background: linear-gradient(160deg, rgba(255, 179, 71, 0.07) 0%, var(--glass) 60%);
}

.plan-card--complete:hover {
    border-color: rgba(255, 179, 71, 0.5);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10),
                0 0 60px -15px rgba(255, 179, 71, 0.15);
}

.plan-badge-top {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--orange-dim);
    color: var(--orange);
    border: 1px solid var(--orange-glow);
    margin-bottom: 1.25rem;
    width: fit-content;
}

.plan-badge-top--gold {
    background: rgba(255, 179, 71, 0.12);
    color: #FFB347;
    border-color: rgba(255, 179, 71, 0.3);
}

.plan-header {
    margin-bottom: 1.75rem;
}

.plan-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.plan-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
}

.plan-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.03em;
}

.plan-period {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.plan-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
    flex: 1;
}

.plan-features li {
    font-size: 0.875rem;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    line-height: 1.5;
}

.plan-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F26522' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.plan-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.plans-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plans-note a {
    color: var(--orange);
}

/* ===================================================================
 * 21. FAQ Section (#faq)
 * =================================================================== */
#faq {
    background: var(--surface);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s;
}

.faq-item[open] {
    border-color: var(--orange-glow);
}

.faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    transition: background 0.2s;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    display: none;
}

.faq-question:hover {
    background: var(--surface-2);
}

.faq-icon {
    width: 18px;
    height: 18px;
    stroke: var(--orange);
    fill: none;
    flex-shrink: 0;
    transition: transform 0.25s;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    border-top: 1px solid var(--border);
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    padding-top: 1rem;
}

/* ===================================================================
 * 22. Responsive additions for new sections
 * =================================================================== */
@media (max-width: 1200px) {
    .plans-grid {
        gap: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 800px) {
    .module-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .plans-grid {
        max-width: 100%;
    }

    .plan-card {
        padding: 1.75rem 1.5rem;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 1rem 1.25rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1rem;
    }
}

/* -------------------------------------------------------------------
 * Para qualquer Igreja — #para-sua-igreja
 * ------------------------------------------------------------------- */

/* Header hero da seção */
.custom-hero {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.custom-hero .section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.custom-hero .section-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Terminologia — grid de comparação */
.custom-term-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 5rem;
}

.custom-term-copy .section-desc {
    max-width: 100%;
    margin-bottom: 0;
}

.custom-term-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.custom-term-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 110px;
    gap: 0;
    background: rgba(242, 101, 34, 0.1);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem;
}

.custom-term-header span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
}

.custom-term-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 110px;
    gap: 0;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    align-items: center;
}

.custom-term-row:last-child {
    border-bottom: none;
}

.custom-term-row span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.custom-term-row span:first-child {
    color: var(--text);
    font-weight: 600;
}

.custom-term-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* Estrutura — reutiliza about-feats com header */
.custom-struct-wrap {
    margin-bottom: 5rem;
}

.custom-struct-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 2.5rem;
}

.custom-struct-header .section-desc {
    max-width: 100%;
}

/* White-label — 3 colunas */
.custom-brand-wrap {
    margin-bottom: 5rem;
}

.custom-brand-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.custom-brand-header .section-desc {
    max-width: 560px;
    margin: 0 auto;
}

.custom-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.custom-brand-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: default;
}

.custom-brand-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange-glow);
    box-shadow: 0 16px 40px rgba(0,0,0,0.10), 0 0 0 1px var(--orange-dim);
}

.custom-brand-icon {
    width: 44px;
    height: 44px;
    background: var(--orange-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(242, 101, 34, 0.2);
}

.custom-brand-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.custom-brand-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
}

.custom-brand-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Prova de robustez — 3 colunas com número grande */
.custom-proof-wrap {
    margin-bottom: 5rem;
}

.custom-proof-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 2.5rem;
}

.custom-proof-header .section-desc {
    max-width: 100%;
}

.custom-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.custom-proof-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.custom-proof-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), transparent);
}

.custom-proof-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-variant-numeric: tabular-nums;
}

.custom-proof-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.custom-proof-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* CTA inline */
.custom-cta-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.custom-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(242, 101, 34, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.custom-cta-box h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.custom-cta-box p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.custom-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .custom-term-grid,
    .custom-struct-header,
    .custom-proof-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .custom-brand-grid,
    .custom-proof-grid {
        grid-template-columns: 1fr 1fr;
    }

    .custom-term-header,
    .custom-term-row {
        grid-template-columns: 1fr 1fr 1fr 90px;
    }
}

@media (max-width: 480px) {
    .plan-value {
        font-size: 2.2rem;
    }

    .module-icon {
        width: 44px;
        height: 44px;
    }

    .custom-brand-grid,
    .custom-proof-grid {
        grid-template-columns: 1fr;
    }

    .custom-term-header,
    .custom-term-row {
        grid-template-columns: 1fr 1fr 80px;
    }

    .custom-term-header span:nth-child(2),
    .custom-term-row span:nth-child(2) {
        display: none;
    }

    .custom-cta-box {
        padding: 2rem 1.25rem;
    }
}

/* ===================================================================
 * Light-theme: overrides de inline styles dos HTMLs (sem tocar no HTML)
 * =================================================================== */

/* Borda do label de grupo no FAQ — era rgba branca, agora escura */
.faq-group-label {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

/* Cards dos módulos com var(--glass) inline — reforça bg branco */
.ia-signal-item {
    background: var(--surface) !important;
}

/* ===================================================================
 * Thematic Section Backgrounds
 * Decorativos, sem interferência no layout ou conteúdo.
 * Cada seção recebe um motivo visual relacionado ao seu tema.
 * =================================================================== */

/* Clip das decorações ao limite de cada seção */
#about, #services, #modulos, #ebd, #mobile,
#platform, #para-sua-igreja, #planos, #faq, #testimonials {
    overflow: hidden;
}

/* Propriedades compartilhadas dos ::before decorativos */
#about::before, #services::before, #modulos::before, #ebd::before,
#mobile::before, #platform::before, #para-sua-igreja::before,
#planos::before, #faq::before, #testimonials::before {
    content: '';
    position: absolute;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
}

/* ─────────────────────────────────────────────────────────────
   #about — Hub-spoke: centralização de operações
   Nós conectados a um centro = operação unificada
   ───────────────────────────────────────────────────────────── */
#about::before {
    top: -80px;
    right: -80px;
    width: 500px;
    height: 500px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg stroke='%23F26522' fill='%23F26522'%3E%3Cline x1='100' y1='100' x2='35' y2='35' stroke-width='2'/%3E%3Cline x1='100' y1='100' x2='165' y2='35' stroke-width='2'/%3E%3Cline x1='100' y1='100' x2='35' y2='165' stroke-width='2'/%3E%3Cline x1='100' y1='100' x2='165' y2='165' stroke-width='2'/%3E%3Cline x1='100' y1='100' x2='100' y2='18' stroke-width='2'/%3E%3Cline x1='100' y1='100' x2='182' y2='100' stroke-width='2'/%3E%3Ccircle cx='100' cy='100' r='15'/%3E%3Ccircle cx='35' cy='35' r='9'/%3E%3Ccircle cx='165' cy='35' r='9'/%3E%3Ccircle cx='35' cy='165' r='9'/%3E%3Ccircle cx='165' cy='165' r='9'/%3E%3Ccircle cx='100' cy='18' r='9'/%3E%3Ccircle cx='182' cy='100' r='9'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.07;
}

/* ─────────────────────────────────────────────────────────────
   #services — Favo de mel: muitos módulos encaixados
   Hexágonos em tile = 14+ features organizadas
   ───────────────────────────────────────────────────────────── */
#services::before {
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='70'%3E%3Cpolygon points='30,2 58,17 58,52 30,67 2,52 2,17' fill='none' stroke='%23F26522' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 60px 70px;
    opacity: 0.04;
}

/* ─────────────────────────────────────────────────────────────
   #modulos — Camadas empilhadas: módulos organizados
   Retângulos sobrepostos = lista de módulos por categoria
   ───────────────────────────────────────────────────────────── */
#modulos::before {
    top: 50%;
    right: -55px;
    transform: translateY(-50%);
    width: 340px;
    height: 260px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160'%3E%3Crect x='20' y='12' width='160' height='36' rx='9' fill='none' stroke='%231A1D27' stroke-width='2.5'/%3E%3Crect x='20' y='62' width='160' height='36' rx='9' fill='none' stroke='%231A1D27' stroke-width='2.5'/%3E%3Crect x='20' y='112' width='160' height='36' rx='9' fill='none' stroke='%231A1D27' stroke-width='2.5'/%3E%3C/svg%3E");
    opacity: 0.06;
}

/* ─────────────────────────────────────────────────────────────
   #ebd — Bíblia aberta: Escola Bíblica Dominical
   Livro com linhas de texto = estudo bíblico / EBD
   ───────────────────────────────────────────────────────────── */
#ebd::before {
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 460px;
    height: 340px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 180'%3E%3Cpath d='M120 22 Q60 10 10 26 L10 156 Q60 142 120 156 Q180 142 230 156 L230 26 Q180 10 120 22Z' fill='none' stroke='%231A1D27' stroke-width='4'/%3E%3Cline x1='120' y1='22' x2='120' y2='156' stroke='%231A1D27' stroke-width='4'/%3E%3Cpath d='M28 68 Q72 60 114 70' fill='none' stroke='%23F26522' stroke-width='2.5'/%3E%3Cpath d='M28 94 Q72 86 114 96' fill='none' stroke='%23F26522' stroke-width='2.5'/%3E%3Cpath d='M28 120 Q72 112 114 122' fill='none' stroke='%23F26522' stroke-width='2.5'/%3E%3Cpath d='M126 68 Q166 60 212 70' fill='none' stroke='%23F26522' stroke-width='2.5'/%3E%3Cpath d='M126 94 Q166 86 212 96' fill='none' stroke='%23F26522' stroke-width='2.5'/%3E%3Cpath d='M126 120 Q166 112 212 122' fill='none' stroke='%23F26522' stroke-width='2.5'/%3E%3C/svg%3E");
    opacity: 0.08;
}

/* ─────────────────────────────────────────────────────────────
   #mobile — Ondas de sinal / broadcast
   Círculos concêntricos = notificações push, conectividade
   ───────────────────────────────────────────────────────────── */
#mobile::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    height: 520px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='25' fill='none' stroke='%23F26522' stroke-width='2.5'/%3E%3Ccircle cx='100' cy='100' r='52' fill='none' stroke='%23F26522' stroke-width='2'/%3E%3Ccircle cx='100' cy='100' r='79' fill='none' stroke='%23F26522' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='100' r='95' fill='none' stroke='%23F26522' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='7' fill='%231A1D27'/%3E%3C/svg%3E");
    opacity: 0.07;
}

/* ─────────────────────────────────────────────────────────────
   #platform — Três círculos sobrepostos (Venn)
   Web + iOS + Android = três plataformas integradas
   ───────────────────────────────────────────────────────────── */
#platform::before {
    top: -70px;
    right: -90px;
    width: 460px;
    height: 460px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='72' cy='82' r='57' fill='none' stroke='%23F26522' stroke-width='2.5'/%3E%3Ccircle cx='128' cy='82' r='57' fill='none' stroke='%231A1D27' stroke-width='2.5'/%3E%3Ccircle cx='100' cy='132' r='57' fill='none' stroke='%23F26522' stroke-width='2' stroke-dasharray='5 4'/%3E%3C/svg%3E");
    opacity: 0.08;
}

/* ─────────────────────────────────────────────────────────────
   #para-sua-igreja — Templo / Igreja
   Fachada com cruz = plataforma para qualquer denominação
   ───────────────────────────────────────────────────────────── */
#para-sua-igreja::before {
    bottom: -20px;
    right: -45px;
    width: 300px;
    height: 400px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 185'%3E%3Cline x1='70' y1='4' x2='70' y2='62' stroke='%231A1D27' stroke-width='6' stroke-linecap='round'/%3E%3Cline x1='44' y1='26' x2='96' y2='26' stroke='%231A1D27' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M14 84 L70 52 L126 84' fill='none' stroke='%231A1D27' stroke-width='5' stroke-linejoin='round'/%3E%3Crect x='20' y='84' width='100' height='98' fill='none' stroke='%231A1D27' stroke-width='5'/%3E%3Cpath d='M57 182 L57 144 Q57 128 70 128 Q83 128 83 144 L83 182' fill='none' stroke='%231A1D27' stroke-width='4'/%3E%3Ccircle cx='36' cy='114' r='12' fill='none' stroke='%23F26522' stroke-width='3'/%3E%3Ccircle cx='104' cy='114' r='12' fill='none' stroke='%23F26522' stroke-width='3'/%3E%3C/svg%3E");
    background-position: bottom right;
    opacity: 0.08;
}

/* ─────────────────────────────────────────────────────────────
   #testimonials — Aspas abertas
   Guillemets estilizados = depoimentos / testemunhos
   ───────────────────────────────────────────────────────────── */
#testimonials::before {
    top: -10px;
    left: -20px;
    width: 340px;
    height: 260px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Cpath d='M10 82 Q4 30 56 18 L56 56 Q30 56 30 72 L30 102 L10 102 Z' fill='%231A1D27'/%3E%3Cpath d='M82 82 Q76 30 128 18 L128 56 Q102 56 102 72 L102 102 L82 102 Z' fill='%231A1D27'/%3E%3C/svg%3E");
    opacity: 0.05;
}

/* ─────────────────────────────────────────────────────────────
   #planos — Estrela / valor
   Estrela de 5 pontas = planos e benefícios
   ───────────────────────────────────────────────────────────── */
#planos::before {
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,7 61,35 91,35 68,56 77,84 50,65 23,84 32,56 9,35 39,35' fill='none' stroke='%23F26522' stroke-width='2.5'/%3E%3C/svg%3E");
    opacity: 0.08;
}

/* ─────────────────────────────────────────────────────────────
   #faq — Ponto de interrogação
   Símbolo "?" = dúvidas frequentes
   ───────────────────────────────────────────────────────────── */
#faq::before {
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    width: 220px;
    height: 330px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 150'%3E%3Cpath d='M24 42 Q24 10 50 10 Q76 10 76 40 Q76 64 50 76 L50 102' fill='none' stroke='%231A1D27' stroke-width='10' stroke-linecap='round'/%3E%3Ccircle cx='50' cy='128' r='9' fill='%231A1D27'/%3E%3C/svg%3E");
    opacity: 0.07;
}

/* ===================================================================
 * Cor de referência por seção
 * box-shadow inset = faixa colorida no topo
 * ::after = gradiente de tint suave a partir do topo
 * =================================================================== */

/* Shared ::after properties */
#about::after, #services::after, #modulos::after, #ebd::after,
#mobile::after, #platform::after, #para-sua-igreja::after,
#planos::after, #faq::after, #testimonials::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ─── #about — Laranja (identidade NazaApp / gestão) ───── */
#about {
    box-shadow: inset 0 5px 0 rgba(242, 101, 34, 0.60);
}
#about::after {
    background: linear-gradient(180deg,
        rgba(242, 101, 34, 0.07) 0%,
        transparent 35%);
}

/* ─── #services — Azul (tecnologia / 14+ recursos) ──────── */
#services {
    box-shadow: inset 0 5px 0 rgba(59, 130, 246, 0.65);
}
#services::after {
    background: linear-gradient(180deg,
        rgba(59, 130, 246, 0.06) 0%,
        transparent 35%);
}

/* ─── #modulos — Laranja escuro (módulos organizados) ───── */
#modulos {
    box-shadow: inset 0 5px 0 rgba(234, 88, 12, 0.60);
}
#modulos::after {
    background: linear-gradient(180deg,
        rgba(234, 88, 12, 0.06) 0%,
        transparent 35%);
}

/* ─── #ebd — Âmbar (calor bíblico / escola dominical) ───── */
#ebd {
    box-shadow: inset 0 5px 0 rgba(217, 119, 6, 0.70);
}
#ebd::after {
    background: linear-gradient(180deg,
        rgba(217, 119, 6, 0.07) 0%,
        transparent 35%);
}

/* ─── #mobile — Violeta (digital / app / conectividade) ─── */
#mobile {
    box-shadow: inset 0 5px 0 rgba(124, 58, 237, 0.60);
}
#mobile::after {
    background: linear-gradient(180deg,
        rgba(124, 58, 237, 0.06) 0%,
        transparent 35%);
}

/* ─── #platform — Teal (plataformas / alcance) ──────────── */
#platform {
    box-shadow: inset 0 5px 0 rgba(8, 145, 178, 0.65);
}
#platform::after {
    background: linear-gradient(180deg,
        rgba(8, 145, 178, 0.06) 0%,
        transparent 35%);
}

/* ─── #para-sua-igreja — Laranja-fé (missão / qualquer Igreja) */
#para-sua-igreja {
    box-shadow: inset 0 5px 0 rgba(242, 101, 34, 0.65);
}
#para-sua-igreja::after {
    background: linear-gradient(180deg,
        rgba(242, 101, 34, 0.06) 0%,
        transparent 30%);
}

/* ─── #testimonials — Esmeralda (confiança / crescimento) ── */
#testimonials {
    box-shadow: inset 0 5px 0 rgba(5, 150, 105, 0.60);
}
#testimonials::after {
    background: linear-gradient(180deg,
        rgba(5, 150, 105, 0.06) 0%,
        transparent 35%);
}

/* ─── #planos — Dourado (valor / escolha de plano) ─────── */
#planos {
    box-shadow: inset 0 5px 0 rgba(245, 158, 11, 0.65);
}
#planos::after {
    background: linear-gradient(180deg,
        rgba(245, 158, 11, 0.07) 0%,
        transparent 35%);
}

/* ─── #faq — Índigo (conhecimento / informação) ─────────── */
#faq {
    box-shadow: inset 0 5px 0 rgba(99, 102, 241, 0.65);
}
#faq::after {
    background: linear-gradient(180deg,
        rgba(99, 102, 241, 0.06) 0%,
        transparent 35%);
}

/* ===================================================================
 * Floating CTA Bar — Barra suspensa de conversão
 * Aparece após scroll, some próximo ao footer, fechável
 * =================================================================== */

.naza-float-bar {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 40px));
    z-index: 200;
    width: calc(100% - 3rem);
    max-width: 860px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s ease,
                visibility 0.4s ease;
    will-change: transform, opacity;
}

.naza-float-bar.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.naza-float-bar__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.85rem 1rem 0.85rem 1.25rem;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(242, 101, 34, 0.18);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 12px 32px rgba(0, 0, 0, 0.10),
        0 0 0 1px rgba(242, 101, 34, 0.08),
        0 -3px 0 rgba(242, 101, 34, 0.70) inset;
    position: relative;
}

/* Accent dot + brand */
.naza-float-bar__brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.naza-float-bar__brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.35);
}

.naza-float-bar__brand-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.naza-float-bar__brand-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.naza-float-bar__brand-name em {
    font-style: normal;
    color: var(--orange);
}

/* Divider */
.naza-float-bar__divider {
    width: 1px;
    height: 30px;
    background: var(--border);
    flex-shrink: 0;
}

/* Copy */
.naza-float-bar__copy {
    flex: 1;
    min-width: 0;
}

.naza-float-bar__copy strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.naza-float-bar__copy span {
    display: block;
    font-size: 0.775rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Actions */
.naza-float-bar__actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.naza-float-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
}

.naza-float-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.naza-float-btn--primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 14px rgba(242, 101, 34, 0.30);
}

.naza-float-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 101, 34, 0.40);
    color: #fff;
}

.naza-float-btn--whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.naza-float-btn--whatsapp svg {
    fill: #fff;
}

.naza-float-btn--whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.38);
    color: #fff;
}

/* Close button */
.naza-float-bar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 0.25rem;
    transition: background 0.2s, color 0.2s;
    padding: 0;
}

.naza-float-bar__close:hover {
    background: var(--glass);
    color: var(--text);
}

.naza-float-bar__close svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    fill: none;
}

/* Pulse badge */
.naza-float-bar__pulse {
    position: absolute;
    top: -6px;
    right: 48px;
    background: #EF4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    animation: float-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.06); }
}

/* ─── Responsivo ─────────────────────────────────────────── */
@media (max-width: 860px) {
    .naza-float-bar__copy { display: none; }
    .naza-float-bar__divider { display: none; }
}

@media (max-width: 600px) {
    .naza-float-bar {
        width: calc(100% - 2rem);
        bottom: 20px;
    }
    .naza-float-bar__inner {
        padding: 0.75rem 0.85rem;
        border-radius: 14px;
        gap: 0.75rem;
    }
    .naza-float-bar__brand-name { display: none; }
    .naza-float-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 380px) {
    .naza-float-bar__actions { gap: 0.4rem; }
    .naza-float-btn--primary { display: none; }
}

/* ─── Responsivo: reduz tamanho em mobile ─────────────────── */
@media (max-width: 768px) {
    #about::before    { width: 280px; height: 280px; }
    #ebd::before      { width: 240px; height: 180px; right: -40px; }
    #mobile::before   { width: 320px; height: 320px; }
    #platform::before { width: 260px; height: 260px; }
    #para-sua-igreja::before { width: 180px; height: 240px; }
    #testimonials::before    { width: 200px; height: 160px; }
    #planos::before   { width: 180px; height: 180px; }
    #faq::before      { width: 140px; height: 210px; }
}
