/* ==========================================================================
   Agzap — página inicial (tema claro)
   As demais páginas (portfólio, briefing, fale-conosco) seguem no style.css.
   ========================================================================== */

:root {
    --brand-900: #2a0a4a;
    --brand-800: #490178;
    --brand-700: #5b21b6;
    --brand-600: #6d28d9;
    --brand-500: #7c3aed;
    --brand-400: #a78bfa;
    --brand-200: #ddd6fe;
    --brand-100: #ede9fe;
    --brand-50: #f5f3ff;

    --orange-700: #c2410c;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --orange-100: #ffedd5;
    --orange-50: #fff7ed;

    --green-700: #15803d;
    --green-100: #dcfce7;
    --wa-dark: #128c7e;

    --ink: #16112b;
    --text: #3b3653;
    --muted: #625d78;
    --line: #e9e6f3;
    --line-strong: #d9d4ea;

    --bg: #ffffff;
    --bg-soft: #f8f7fc;
    --bg-tint: #f3f0fd;
    --footer-bg: #140a26;

    --radius: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-xs: 0 1px 2px rgba(22, 17, 43, 0.04);
    --shadow-sm: 0 1px 2px rgba(22, 17, 43, 0.05), 0 1px 1px rgba(22, 17, 43, 0.03);
    --shadow-md: 0 12px 28px -16px rgba(22, 17, 43, 0.18);
    --shadow-hover: 0 1px 2px rgba(22, 17, 43, 0.04), 0 16px 32px -18px rgba(46, 10, 79, 0.22);
    --shadow-lg: 0 28px 56px -30px rgba(46, 10, 79, 0.3);

    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --header-h: 68px;
    --container: 1360px;
}

/* ===== BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

section[id],
#modulos,
#modulo-delivery {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

:focus-visible {
    outline: 3px solid var(--brand-400);
    outline-offset: 2px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--brand-700);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    position: relative;
    padding: 104px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-600);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-head h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
}

.section-head p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--muted);
}

.text-gradient {
    background: linear-gradient(120deg, var(--brand-600) 0%, #9333ea 45%, var(--orange-600) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-lg {
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 0.92rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
    color: #fff;
    box-shadow:
        0 1px 2px rgba(22, 17, 43, 0.12),
        0 8px 18px -10px rgba(109, 40, 217, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
    box-shadow:
        0 1px 2px rgba(22, 17, 43, 0.12),
        0 12px 24px -12px rgba(109, 40, 217, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Reflexo que passa pelos botões principais */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
    transform: skewX(-22deg);
    pointer-events: none;
    animation: btnShine var(--shine-dur, 9s) ease-in-out infinite;
    animation-delay: var(--shine-delay, 0s);
}

@keyframes btnShine {
    0% { left: -150%; }
    14% { left: 150%; }
    100% { left: 150%; }
}

.btn-outline {
    background: #fff;
    color: var(--ink);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--brand-200);
    background: var(--bg-soft);
    color: var(--brand-700);
    transform: translateY(-1px);
}

.btn-outline .fa-whatsapp {
    color: var(--wa-dark);
    font-size: 1.1em;
}

.btn-white {
    background: #fff;
    color: var(--brand-700);
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45);
}

.btn-white:hover {
    transform: translateY(-2px);
    color: var(--brand-800);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px -18px rgba(22, 17, 43, 0.35);
}

.header-inner {
    max-width: var(--container);
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-logo {
    display: inline-flex;
    flex-shrink: 0;
}

.header-logo img {
    height: 38px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.nav a {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s, background-color 0.15s;
}

.nav a:hover {
    color: var(--brand-700);
    background: var(--brand-50);
}

.nav .nav-cta-mobile {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions .btn {
    min-height: 38px;
    padding: 8px 16px;
    font-size: 0.875rem;
}

.menu-mobile {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-mobile span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-mobile.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-mobile.active span:nth-child(2) { opacity: 0; }
.menu-mobile.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: calc(var(--header-h) + 72px) 0 104px;
    overflow: hidden;
    background: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(620px 420px at 8% 8%, rgba(167, 139, 250, 0.24), transparent 70%),
        radial-gradient(540px 400px at 92% 24%, rgba(251, 146, 60, 0.16), transparent 70%),
        radial-gradient(760px 520px at 70% 100%, rgba(124, 58, 237, 0.1), transparent 70%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(109, 40, 217, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109, 40, 217, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 25%, transparent 75%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
    align-items: center;
}

/* Aviso discreto acima da headline */
.hero-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-top: 6px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.hero-new-sup {
    position: relative;
    z-index: 0;
    top: -0.6em;
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--orange-50);
    color: var(--orange-700);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.5;
    text-transform: uppercase;
    vertical-align: baseline;
    animation: novoGlow 2s ease-in-out infinite;
}

/* Anel que pulsa em volta do "Novo" */
.hero-new-sup::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    border: 1.5px solid var(--orange-500);
    animation: novoPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes novoPing {
    0% { transform: scale(1); opacity: 0.7; }
    80%, 100% { transform: scale(1.7, 2); opacity: 0; }
}

@keyframes novoGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
    50% { box-shadow: 0 0 10px 1px rgba(249, 115, 22, 0.4); }
}

.hero-new i {
    font-size: 0.7rem;
    color: var(--brand-600);
    transition: transform 0.25s var(--ease);
}

.hero-new:hover {
    color: var(--ink);
}

.hero-new:hover i {
    transform: translateX(3px);
}

.hero h1 {
    font-size: clamp(2.3rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}

.hero-lead {
    max-width: 560px;
    margin-bottom: 34px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
}

.hero-lead strong {
    color: var(--ink);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 36px;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--brand-600);
}

.hero-stat span {
    font-size: 0.85rem;
    color: var(--muted);
}

.meta-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 600;
}

.meta-partner-badge .fa-meta {
    color: #0866ff;
    font-size: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 440px;
    height: 440px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4), transparent 65%);
    pointer-events: none;
}

/* Cartões flutuantes (hero e módulos) */
.float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 250px;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    animation: floaty 6s ease-in-out infinite;
}

.float-card div > strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.float-card div > span {
    display: block;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--muted);
}

.float-card .fc-icon {
    flex-shrink: 0;
}

.fc-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 0.95rem;
}

.fc-orange { background: var(--orange-100); color: var(--orange-700); }
.fc-purple { background: var(--brand-100); color: var(--brand-700); }
.fc-green { background: var(--green-100); color: var(--green-700); }

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== CELULAR DO HERO (chat com a IA) ===== */
.phone-frame {
    position: relative;
    z-index: 1;
    width: 300px;
    padding: 10px;
    border-radius: 46px;
    background: #0f0d18;
    box-shadow:
        0 0 0 2px #2a2735,
        0 40px 70px -36px rgba(46, 10, 79, 0.45),
        0 18px 36px -24px rgba(22, 17, 43, 0.3);
}

.phone-frame-btn {
    position: absolute;
    background: #2a2735;
    border-radius: 2px;
}

.phone-btn-silent { width: 3px; height: 24px; left: -3px; top: 100px; }
.phone-btn-vol-up { width: 3px; height: 40px; left: -3px; top: 140px; }
.phone-btn-vol-down { width: 3px; height: 40px; left: -3px; top: 190px; }
.phone-btn-power { width: 3px; height: 50px; right: -3px; top: 155px; }

.phone-screen {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 36px;
    background: #fff;
}

.phone-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #111;
}

.phone-time-indicator { width: 44px; }

.phone-dynamic-island {
    width: 90px;
    height: 24px;
    border-radius: 20px;
    background: #0f0d18;
}

.phone-status-icons {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    width: 44px;
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 10px;
    border-bottom: 1px solid #eceae6;
}

.phone-header-back {
    color: var(--brand-600);
    font-size: 14px;
}

.phone-header-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-800));
    color: #fff;
    font-size: 14px;
}

.phone-header-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.phone-header-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111b21;
}

.phone-header-status {
    font-size: 0.68rem;
    color: var(--green-700);
}

.phone-header-actions {
    display: flex;
    gap: 14px;
    color: var(--brand-600);
    font-size: 14px;
}

.phone-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 400px;
    padding: 14px 10px;
    overflow-y: auto;
    background-color: #efeae2;
    background-image: radial-gradient(rgba(17, 27, 33, 0.05) 1px, transparent 1px);
    background-size: 14px 14px;
    scrollbar-width: thin;
    scrollbar-color: #cfc8bd transparent;
}

.phone-chat::-webkit-scrollbar { width: 4px; }
.phone-chat::-webkit-scrollbar-thumb { background: #cfc8bd; border-radius: 4px; }

.chat-bubble {
    position: relative;
    max-width: 82%;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #111b21;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

.chat-bubble p { margin: 0; }

.chat-incoming {
    align-self: flex-start;
    background: #fff;
    border-top-left-radius: 4px;
}

.chat-outgoing {
    align-self: flex-end;
    background: #d9fdd3;
    border-top-right-radius: 4px;
}

.chat-time {
    display: block;
    margin-top: 2px;
    text-align: right;
    font-size: 0.6rem;
    color: #667781;
}

.chat-animate-in {
    animation: chatSlideIn 0.3s var(--ease);
}

@keyframes chatSlideIn {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.typing-dots {
    display: flex;
    gap: 5px;
    padding: 4px 2px;
}

.typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8696a0;
    animation: typingBounce 1.2s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
    0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

.chat-cta-btn {
    align-self: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.chat-cta-schedule,
.chat-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s var(--ease);
}

.chat-cta-schedule {
    background: #fff;
    color: var(--brand-700);
    border: 1.5px solid var(--brand-200);
}

.chat-cta-whatsapp {
    background: var(--wa-dark);
    color: #fff;
}

.chat-cta-schedule:hover,
.chat-cta-whatsapp:hover {
    transform: scale(1.04);
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f6f5f3;
    border-top: 1px solid #ebe8e3;
}

.phone-input-field {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ebe8e3;
    color: #8696a0;
    font-size: 0.78rem;
}

.phone-input-field i {
    font-size: 16px;
    color: #8696a0;
}

.phone-input-real {
    display: none;
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    outline: none;
    color: #111b21;
    font-family: inherit;
    font-size: 0.8rem;
}

.phone-input-real::placeholder { color: #8696a0; }
.phone-input.active .phone-input-real { display: block; }
.phone-input.active #phoneInputPlaceholder { display: none; }

.phone-input-send {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.phone-home-indicator {
    width: 120px;
    height: 4px;
    margin: 8px auto 6px;
    border-radius: 4px;
    background: #111;
}

/* ===== FUNCIONALIDADES + MÓDULOS ===== */
.modules {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

.module {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border-radius: var(--radius-xl);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.module::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.module-delivery::before {
    background:
        radial-gradient(760px 460px at 100% 0%, rgba(251, 146, 60, 0.12), transparent 65%),
        radial-gradient(560px 400px at 0% 100%, rgba(254, 215, 170, 0.22), transparent 70%);
}

.module-imob::before {
    background:
        radial-gradient(760px 460px at 0% 0%, rgba(167, 139, 250, 0.16), transparent 65%),
        radial-gradient(560px 400px at 100% 100%, rgba(221, 214, 254, 0.3), transparent 70%);
}

.module > * {
    position: relative;
}

.module-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 44px;
}

/* Rótulo do módulo: texto simples, sem cápsula */
.module-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.module-delivery .module-badge {
    color: var(--orange-700);
}

.module-imob .module-badge {
    color: var(--brand-700);
}

.module-copy h3 {
    font-size: clamp(1.65rem, 2.9vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.module-copy > p {
    max-width: 520px;
    margin-bottom: 22px;
    font-size: 1.06rem;
    line-height: 1.7;
    color: var(--muted);
}

.module-copy > p.module-for {
    margin-top: -6px;
    margin-bottom: 28px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--muted);
}

.module-for strong {
    font-weight: 600;
    color: var(--text);
}

/* Botão que leva da Imobiliária ao Delivery */
.btn-cross {
    position: absolute;
    top: -12px;
    right: 0;
    z-index: 2;
    background: var(--orange-50);
    border-color: #fed7aa;
    color: var(--orange-700);
    animation: crossPulse 2.2s ease-out infinite;
}

/* Pulso laranja em volta do botão */
@keyframes crossPulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.45); }
    70% { box-shadow: 0 0 0 12px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.btn-cross:hover {
    animation-play-state: paused;
    transform: translateY(-1px);
    background: var(--orange-100);
    border-color: #fdba74;
}

.btn-cross-arrow {
    font-size: 0.75em;
    transition: transform 0.25s var(--ease);
}

.btn-cross:hover .btn-cross-arrow {
    transform: translateY(2px);
}

.module-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.module-note {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--muted);
}

.btn-demo .fa-arrow-up-right-from-square {
    font-size: 0.85em;
    color: var(--brand-600);
}

.module-visual {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-visual .float-card-b,
.imob-showcase .float-card-b { animation-delay: -3s; }

/* Delivery — print real do cardápio no celular */
.delivery-phone-shot {
    position: relative;
    width: 300px;
    height: auto;
    filter: drop-shadow(0 34px 44px rgba(46, 10, 79, 0.28));
}

.module-delivery .module-visual { padding: 24px 0; }
.module-delivery .float-card { max-width: 230px; }
/* Cartões sobre a barra do navegador e a lateral do produto, sem cobrir o banner */
.module-delivery .float-card-a { bottom: 6%; left: -8%; }
.module-delivery .float-card-b { top: 60%; right: -8%; }

/* Imobiliária — texto em cima, prints do site e das métricas embaixo */
.module-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 40px;
}

.module-intro .module-copy > p {
    margin-bottom: 0;
}

.module-intro .module-copy > p.module-for {
    margin: 12px 0 0;
}

.imob-showcase {
    position: relative;
    padding-bottom: 120px;
    margin-bottom: 48px;
}

.shot {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.shot-site {
    width: 78%;
}

.shot-metrics {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
}

.shot-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}

.mb-dots {
    display: flex;
    gap: 6px;
}

.mb-dots i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mb-dots i:nth-child(1) { background: #fca5a5; }
.mb-dots i:nth-child(2) { background: #fcd34d; }
.mb-dots i:nth-child(3) { background: #86efac; }

.mb-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 320px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 0.72rem;
    color: var(--muted);
}

.mb-url i {
    font-size: 0.6rem;
    color: var(--green-700);
}

.shot-label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink);
}

.shot-label i {
    color: var(--brand-600);
}

.imob-showcase .float-card-a { top: 8%; right: 0; }
.imob-showcase .float-card-b { top: 30%; right: 3%; }

/* Modelos ao vivo */
.demo-link {
    position: relative;
    display: inline-block;
    border-radius: 44px;
    text-decoration: none;
}

.demo-link .delivery-phone-shot {
    transition: transform 0.25s var(--ease);
}

.demo-link:hover .delivery-phone-shot {
    transform: translateY(-4px);
}

.demo-pill {
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.demo-pill i,
.shot-open i,
.demo-live i {
    font-size: 0.5rem;
    color: #22c55e;
    animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.shot-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--brand-600);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s;
}

.shot-open:hover {
    background: var(--brand-700);
}

.shot-open i {
    color: #86efac;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-700);
    text-decoration: none;
}

.feature-link:hover {
    text-decoration: underline;
}

.feature-link i {
    font-size: 0.75em;
}

.demo-strip {
    display: grid;
    grid-template-columns: minmax(200px, 0.7fr) 2.3fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 104px;
    padding: 28px 32px;
    border-radius: var(--radius-xl);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.demo-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-700);
}

.demo-strip-head h3 {
    margin-bottom: 4px;
    font-size: 1.25rem;
    font-weight: 800;
}

.demo-strip-head p {
    font-size: 0.9rem;
    color: var(--muted);
}

.demo-cards {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.demo-card {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    text-decoration: none;
    transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.demo-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-200);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.demo-card-ico {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 1rem;
}

.demo-card-delivery .demo-card-ico {
    background: var(--orange-50);
    color: var(--orange-700);
    border: 1px solid var(--orange-100);
}

.demo-card-vitrine .demo-card-ico {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #d1fae5;
}

.demo-card-imob .demo-card-ico {
    background: var(--brand-50);
    color: var(--brand-700);
    border: 1px solid var(--brand-100);
}

.demo-card-text {
    flex: 1;
    min-width: 0;
}

.demo-card-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ink);
}

.demo-card-text span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.76rem;
    color: var(--muted);
}

.demo-card-go {
    font-size: 0.8rem;
    color: var(--brand-600);
}

/* Chamada da Imobiliária para o módulo Delivery */
.module-crosslink {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(90deg, var(--orange-50), #fff 70%);
    border: 1px solid var(--orange-100);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.module-crosslink:hover {
    transform: translateY(-2px);
    border-color: #fed7aa;
    box-shadow: 0 1px 2px rgba(22, 17, 43, 0.04), 0 16px 32px -18px rgba(234, 88, 12, 0.3);
}

.mc-ico {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--orange-100), #fff);
    border: 1px solid #fed7aa;
    color: var(--orange-700);
    font-size: 1.05rem;
}

.mc-text {
    flex: 1;
    min-width: 0;
}

.mc-text strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--ink);
}

.mc-text span {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
}

.mc-go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--orange-500), var(--orange-600));
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(22, 17, 43, 0.1), 0 8px 18px -10px rgba(234, 88, 12, 0.6);
}

.mc-go i {
    font-size: 0.75rem;
    transition: transform 0.25s var(--ease);
}

.module-crosslink:hover .mc-go i {
    transform: translateY(2px);
}

/* Recursos de cada módulo */
.module-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.module-feature {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}

.mf-ico {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 1rem;
}

.mf-ico {
    transition: transform 0.25s var(--ease);
}

.module-delivery .mf-ico {
    background: linear-gradient(180deg, var(--orange-50), #fff);
    color: var(--orange-700);
    border: 1px solid var(--orange-100);
    box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(234, 88, 12, 0.08);
}

.module-imob .mf-ico {
    background: linear-gradient(180deg, var(--brand-50), #fff);
    color: var(--brand-700);
    border: 1px solid var(--brand-100);
    box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(109, 40, 217, 0.08);
}

.module-feature h4 {
    margin-bottom: 4px;
    font-size: 0.98rem;
    font-weight: 700;
}

.module-feature p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--muted);
}

/* Recursos da plataforma */
.section-subhead {
    max-width: 640px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-subhead h3 {
    margin-bottom: 8px;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.015em;
}

.section-subhead p {
    color: var(--muted);
}

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

.feature-card {
    padding: 26px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 11px;
    color: var(--brand-600);
    font-size: 1rem;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
}

/* ===== VANTAGENS ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.advantage-card {
    padding: 30px 28px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}

.advantage-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 13px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-600);
    font-size: 1.1rem;
}

.advantage-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.advantage-card p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--muted);
}

.advantage-card.is-highlight {
    border-color: transparent;
    background:
        radial-gradient(340px 220px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
        linear-gradient(145deg, var(--brand-800), var(--brand-600));
    box-shadow: var(--shadow-lg);
}

.advantage-card.is-highlight h3 { color: #fff; }
.advantage-card.is-highlight p { color: rgba(255, 255, 255, 0.86); }

.advantage-card.is-highlight .advantage-icon {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

/* ===== O SISTEMA (prints) ===== */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.screenshot-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}

.screenshot-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tint);
    border-bottom: 1px solid var(--line);
}

.screenshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    cursor: zoom-in;
    transition: transform 0.4s var(--ease);
}

.screenshot-card:hover .screenshot-image img {
    transform: scale(1.04);
}

.screenshot-info {
    padding: 16px 18px 20px;
}

.screenshot-info h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.98rem;
    font-weight: 700;
}

.screenshot-info h4 i {
    color: var(--brand-600);
    font-size: 0.9rem;
}

.screenshot-info p {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--muted);
}

/* ===== PROVA SOCIAL ===== */
.logo-marquee {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    padding: 6px 0 10px;
    animation: logoScroll 50s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
    width: 250px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.logo-thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
}

.logo-thumb img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
}

.logo-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

@keyframes logoScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== PLANOS ===== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 440px));
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 38px 34px 32px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}

.plan-card.is-highlight {
    border: 1.5px solid var(--brand-500);
    box-shadow: var(--shadow-lg);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.plan-name {
    margin-bottom: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-600);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.plan-price-value {
    font-family: var(--font-head);
    font-size: 3.1rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.plan-price-currency {
    margin-right: 4px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
}

.plan-price-period {
    font-weight: 500;
    color: var(--muted);
}

.plan-price-hint {
    margin-bottom: 14px;
    font-size: 0.93rem;
    color: var(--muted);
}

.plan-price-hint strong {
    color: var(--ink);
}

.plan-save-line {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: var(--green-700);
    font-size: 0.84rem;
    font-weight: 600;
}

.plan-mini-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0 28px;
    list-style: none;
}

.plan-mini-features li {
    display: flex;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text);
}

.plan-mini-features i {
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--brand-600);
}

.plan-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.plan-note {
    font-size: 0.83rem;
    color: var(--muted);
}

.plan-includes {
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
}

.plan-includes h3 {
    margin-bottom: 26px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
}

.plan-features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 28px;
    list-style: none;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
    color: var(--text);
}

.plan-features-list i {
    margin-top: 5px;
    font-size: 0.78rem;
    color: #16a34a;
}

.plan-includes-more {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    color: var(--brand-600);
}

.addons-block {
    text-align: center;
}

.addons-block h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
    font-weight: 800;
}

.addons-block > p {
    color: var(--muted);
}

.addons-block > p strong {
    color: var(--ink);
}

.addon-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 22px 0 6px;
    padding: 22px 40px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.addon-qty {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-600);
}

.addon-price-value {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--ink);
}

.addon-price-unit {
    margin-left: 4px;
    color: var(--muted);
}

.addon-foot {
    font-size: 0.82rem;
    color: var(--muted);
}

.addons-note {
    margin-top: 12px;
    font-size: 0.92rem;
    color: var(--muted);
}

.addons-note a {
    color: var(--brand-700);
    font-weight: 600;
}

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.active {
    border-color: var(--brand-200);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border: none;
    background: none;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--brand-600);
    transition: transform 0.25s var(--ease);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s var(--ease);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}

.faq-answer p {
    padding: 0 22px 20px;
    line-height: 1.7;
    color: var(--muted);
}

/* ===== PARCEIROS ===== */
.partners-audience {
    margin-bottom: 36px;
    padding: 26px 30px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
}

.partners-audience-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--ink);
}

.partners-audience-label i {
    color: var(--brand-600);
}

.partners-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    list-style: none;
}

.partners-audience-grid li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text);
}

.partners-audience-grid i {
    font-size: 0.8rem;
    color: #16a34a;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.partner-card {
    padding: 26px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}

/* ===== CARDS — acabamento comum ===== */
.feature-card,
.module-feature,
.advantage-card,
.partner-card,
.screenshot-card {
    position: relative;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.feature-card,
.module-feature,
.advantage-card,
.partner-card {
    overflow: hidden;
}

/* Linha de destaque que acende no topo ao passar o mouse */
.feature-card::before,
.module-feature::before,
.advantage-card:not(.is-highlight)::before,
.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, transparent, var(--brand-500), transparent);
    opacity: 0;
    transition: opacity 0.25s var(--ease);
}

.module-delivery .module-feature::before {
    background: linear-gradient(90deg, transparent, var(--orange-500), transparent);
}

.feature-card:hover,
.module-feature:hover,
.advantage-card:not(.is-highlight):hover,
.partner-card:hover,
.screenshot-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before,
.module-feature:hover::before,
.advantage-card:hover::before,
.partner-card:hover::before {
    opacity: 1;
}

.advantage-card.is-highlight:hover {
    transform: translateY(-2px);
}

/* Ícones com acabamento sutil */
.feature-icon,
.advantage-icon,
.partner-icon {
    background: linear-gradient(180deg, var(--brand-50), #fff);
    border: 1px solid var(--brand-100);
    box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(109, 40, 217, 0.08);
    transition: transform 0.25s var(--ease);
}

.feature-card:hover .feature-icon,
.advantage-card:hover .advantage-icon,
.partner-card:hover .partner-icon,
.module-feature:hover .mf-ico {
    transform: translateY(-1px) scale(1.04);
}

.partner-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 12px;
    color: var(--brand-600);
}

.partner-card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 700;
}

.partner-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
}

.partners-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
    padding: 48px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(520px 320px at 100% 0%, rgba(255, 255, 255, 0.14), transparent 70%),
        linear-gradient(140deg, var(--brand-900), var(--brand-700));
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.partners-panel-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.partners-panel h3 {
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.partners-panel-text p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.partners-panel-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.partners-panel-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.93rem;
}

.partners-panel-features i {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
}

.partners-flow {
    margin-bottom: 56px;
    text-align: center;
}

.partners-flow h3 {
    margin-bottom: 30px;
    font-size: 1.35rem;
    font-weight: 800;
}

.partners-flow-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 12px;
    margin-bottom: 20px;
}

.flow-step {
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 22px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
}

.flow-step-num {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: 0.85rem;
    font-weight: 700;
}

.flow-step strong {
    color: var(--ink);
}

.flow-step-desc {
    font-size: 0.83rem;
    line-height: 1.45;
    color: var(--muted);
}

.flow-step.is-highlight {
    border: 2px solid var(--brand-500);
    box-shadow: var(--shadow-md);
}

.flow-step.is-highlight .flow-step-num {
    background: var(--brand-600);
    color: #fff;
}

.flow-arrow {
    align-self: center;
    color: var(--brand-400);
}

.partners-flow-note {
    max-width: 640px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: var(--muted);
}

.partners-flow-note i {
    margin-right: 6px;
    color: var(--brand-600);
}

.partners-cta {
    padding: 48px 32px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--brand-50), #fff);
    border: 1px solid var(--brand-100);
    text-align: center;
}

.partners-cta h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 800;
}

.partners-cta p {
    margin-bottom: 24px;
    color: var(--muted);
}

.partners-cta .cta-hint {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--muted);
}

/* ===== RODAPÉ ===== */
.site-footer {
    padding: 64px 0 32px;
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.75);
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 14px;
}

.footer-brand p {
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.site-footer .meta-partner-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: none;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.footer-links a {
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-top: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== BOTÕES FLUTUANTES ===== */
.link-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 60px;
    height: 60px;
    transition: transform 0.2s var(--ease);
}

.link-whatsapp img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 16px rgba(18, 140, 126, 0.35));
}

.link-whatsapp:hover {
    transform: scale(1.07);
}

.btn-back-to-top {
    position: fixed;
    right: 32px;
    bottom: 96px;
    z-index: 90;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    color: var(--brand-700);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== MODAL DE CADASTRO ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(22, 17, 43, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 40px 80px -20px rgba(22, 17, 43, 0.45);
    animation: modalIn 0.25s var(--ease);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.97) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.modal-close:hover {
    background: var(--brand-50);
    color: var(--brand-700);
}

.cadastro-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    max-height: 90vh;
    overflow-y: auto;
}

.cadastro-left {
    padding: 40px 36px 32px;
}

.cadastro-left h2 {
    margin-bottom: 4px;
    font-size: 1.45rem;
    font-weight: 800;
}

.cadastro-sub {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.cadastro-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
    list-style: none;
}

.cadastro-step {
    display: flex;
    gap: 14px;
}

.cadastro-step-num {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-600);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.cadastro-step div > strong {
    display: block;
    color: var(--ink);
}

.cadastro-step div > span {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--muted);
}

.cadastro-help {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    font-size: 0.9rem;
    color: var(--text);
}

.cadastro-help i {
    color: var(--brand-600);
    font-size: 1.1rem;
}

.cadastro-help strong {
    color: var(--ink);
}

.modal-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.modal-cta-group .btn {
    flex: 1 1 180px;
}

.modal-hint {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
}

.cadastro-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 32px 28px;
    background: var(--bg-soft);
    border-left: 1px solid var(--line);
}

.cadastro-tip-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
}

.cadastro-tip-label i {
    color: #ca8a04;
}

.cadastro-right img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    cursor: zoom-in;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 9, 24, 0.88);
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: modalIn 0.25s var(--ease);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

/* ===== ANIMAÇÃO DE ENTRADA ===== */
.animate-target {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.animate-target.animate-in {
    opacity: 1;
    transform: none;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1100px) {
    .features-grid,
    .module-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-strip {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 1080px) {
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0;
        padding: 12px 24px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -24px rgba(22, 17, 43, 0.35);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 12px 14px;
        font-size: 1rem;
    }

    .nav .nav-cta-mobile {
        display: flex;
        margin-top: 8px;
        color: #fff;
    }

    .nav .nav-cta-mobile:hover {
        color: #fff;
        background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    }

    .header-actions {
        margin-left: auto;
    }

    .menu-mobile {
        display: flex;
    }
}

@media (max-width: 960px) {
    .btn-cross {
        position: static;
        margin-top: 12px;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        padding: calc(var(--header-h) + 40px) 0 72px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .module {
        padding: 36px 28px;
    }

    .module-main {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .module .module-visual {
        min-height: 0;
        padding: 32px 0;
    }

    .module-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

    .partners-panel {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 28px;
    }

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

    .cadastro-right {
        border-left: none;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 760px) {
    .demo-cards {
        grid-template-columns: 1fr;
    }

    .imob-showcase {
        padding-bottom: 0;
        margin-bottom: 36px;
    }

    .shot-site {
        width: 100%;
    }

    .shot-metrics {
        position: relative;
        width: 100%;
        margin-top: 16px;
    }

    .imob-showcase .float-card {
        display: none;
    }

    .plans-grid {
        grid-template-columns: minmax(0, 460px);
    }

    .plan-card.is-highlight {
        order: -1;
    }

    .plans-grid {
        row-gap: 36px;
    }

    .partners-flow-steps {
        flex-direction: column;
        align-items: center;
    }

    .flow-step {
        width: 100%;
        max-width: 300px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 560px) {
    :root {
        --header-h: 64px;
    }

    .container {
        padding: 0 16px;
    }

    .header-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .header-logo img {
        height: 32px;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .btn {
        min-height: 44px;
    }

    .nav {
        padding: 12px 16px 20px;
    }

    .section {
        padding: 64px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .hero-ctas .btn {
        flex: 1 1 100%;
    }

    .hero-stats {
        gap: 16px 28px;
    }

    .phone-frame {
        width: 280px;
    }

    .phone-chat {
        height: 360px;
    }

    .phone-input-real {
        font-size: 16px;
    }

    .modules {
        margin-bottom: 24px;
    }

    .module {
        padding: 28px 16px;
        border-radius: 22px;
    }

    .module-actions .btn,
    .btn-cross {
        width: 100%;
    }

    .module-actions {
        justify-content: center;
        text-align: center;
    }

    .module-note {
        text-align: center;
    }

    .module-crosslink {
        flex-wrap: wrap;
        padding: 16px;
    }

    .mc-go {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .shot-site .mb-url {
        display: none;
    }

    .demo-strip {
        margin-bottom: 72px;
        padding: 22px 16px;
    }

    .feature-card .feature-link {
        grid-column: 2;
    }

    .module-visual .float-card {
        max-width: 200px;
        padding: 10px 12px 10px 10px;
        gap: 10px;
    }

    .module-visual .float-card .fc-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .delivery-phone-shot {
        width: 250px;
    }

    .module-delivery .module-visual {
        padding: 8px 0 16px;
    }

    .module-delivery .float-card {
        display: none;
    }

    .shot {
        border-radius: 12px;
    }

    .shot-bar {
        padding: 7px 10px;
    }

    .mb-url {
        font-size: 0.66rem;
    }

    .shot-label {
        left: 8px;
        bottom: 8px;
        padding: 5px 10px;
        font-size: 0.72rem;
    }

    .features-grid,
    .module-features,
    .advantages-grid,
    .screenshots-grid,
    .partners-grid,
    .plan-features-list,
    .partners-audience-grid {
        grid-template-columns: 1fr;
    }

    .module-feature {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .mf-ico {
        flex-shrink: 0;
    }

    .feature-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 14px;
        padding: 18px;
    }

    .feature-card .feature-icon {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .plan-card {
        padding: 34px 22px 26px;
    }

    .plan-includes {
        padding: 28px 20px;
    }

    .partners-audience {
        padding: 22px 18px;
    }

    .partners-panel {
        padding: 28px 20px;
    }

    .partners-cta {
        padding: 36px 20px;
    }

    .partners-cta .btn {
        width: 100%;
    }

    .logo-item {
        width: 210px;
        margin: 0 7px;
        padding: 10px 12px;
        gap: 11px;
    }

    .logo-thumb {
        width: 42px;
        height: 42px;
    }

    .cadastro-left {
        padding: 32px 20px 24px;
    }

    .cadastro-right {
        padding: 24px 20px;
    }

    .link-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }

    .btn-back-to-top {
        right: 21px;
        bottom: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .btn-primary::after {
        display: none;
    }

    .animate-target {
        opacity: 1;
        transform: none;
    }
}
