/* ============================================
   Onde Ir Guararema — Tema & Customizações
   ============================================ */

:root {
    --primary: #6b2b9e;
    --primary-dark: #4a1d6e;
    --primary-darker: #371557;
    --primary-foreground: #ffffff;

    --accent: #f5b800;
    --accent-glow: #ffce3a;
    --accent-foreground: #2a1a3e;

    --bg: #ffffff;
    --bg-soft: #faf7fb;
    --fg: #2a1a3e;
    --muted: #6b6280;
    --card: #ffffff;
    --border: #ebe4f0;

    --shadow-soft: 0 10px 40px -10px rgba(106, 43, 158, 0.15);
    --shadow-glow: 0 20px 60px -20px rgba(245, 184, 0, 0.55);

    --gradient-hero: linear-gradient(135deg, #6b2b9e 0%, #5a248a 45%, #4a1d6e 100%);
}

* {
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

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

.text-accent { color: var(--accent) !important; }
.text-primary-app { color: var(--primary) !important; }
.bg-primary-app { background-color: var(--primary) !important; }

/* ============================================
   BRAND / LOGO
   ============================================ */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    line-height: 0;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    transition: transform .25s ease;
}

.brand-logo:hover { transform: scale(1.03); }

.brand-logo--footer { height: 64px; }

@media (max-width: 575.98px) {
    .brand-logo { height: 42px; }
    .brand-logo--footer { height: 52px; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    padding-bottom: 6rem;
}

.hero-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.hero-blob--top {
    top: -160px;
    right: -160px;
    background: rgba(245, 184, 0, 0.25);
}

.hero-blob--bottom {
    bottom: -160px;
    left: -160px;
    background: rgba(245, 184, 0, 0.12);
}

.footer-blob {
    top: -80px;
    right: 25%;
    width: 280px;
    height: 280px;
    background: rgba(245, 184, 0, 0.15);
}

.hero-navbar {
    position: relative;
    z-index: 2;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.nav-link-anunciar {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color .2s ease;
}

.nav-link-anunciar:hover { color: var(--accent); }

.social-icon {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color .2s ease;
}

.social-icon:hover { color: var(--accent); }

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--primary-foreground);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
    margin-top: 1.5rem;
}

.hero-baixe {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-top: 2rem;
}

/* ============================================
   STORE BUTTONS (Google Play / App Store)
   ============================================ */
.store-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
    transition: transform .2s ease, background .2s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    background: var(--accent-glow);
    color: var(--accent-foreground);
}

.store-button--ghost {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.store-button--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-foreground);
    border-color: var(--accent);
}

.store-button i { font-size: 1.5rem; }

.store-button-label { line-height: 1.1; text-align: left; }
.store-button-small {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
    font-weight: 500;
}
.store-button-name { display: block; font-size: 0.9rem; font-weight: 700; }

/* ============================================
   HERO IMAGE (foto real do app em uso)
   ============================================ */
.hero-image-wrapper {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding: 1rem;
}

.hero-image-glow {
    position: absolute;
    inset: -1rem;
    background:
        radial-gradient(circle at 30% 40%, rgba(245, 184, 0, 0.45), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(245, 184, 0, 0.25), transparent 65%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.55),
        0 12px 30px -10px rgba(245, 184, 0, 0.25);
    transition: transform .4s ease;
    will-change: transform;
}

.hero-image:hover { transform: translateY(-6px) scale(1.01); }

/* ============================================
   SECTIONS — TÍTULOS GERAIS
   ============================================ */
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }

.section-eyebrow {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--primary);
    line-height: 1.1;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CARDS — VANTAGENS
   ============================================ */
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(245, 184, 0, 0.5);
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    color: var(--accent-foreground);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-glow);
}

.feature-card-title {
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.feature-card-text {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   CTA — PONTOS TURÍSTICOS
   ============================================ */
.cta-banner {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    border-radius: 32px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,184,0,0.25), transparent 70%);
    filter: blur(60px);
}

.cta-banner > * { position: relative; }

.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-banner-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ANUNCIANTE SECTION
   ============================================ */
.advertiser-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.benefit-item:last-child { border-bottom: none; }

.benefit-check {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: var(--accent);
    color: var(--accent-foreground);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    box-shadow: var(--shadow-glow);
}

.benefit-text { color: var(--fg); font-size: 1rem; margin: 0; }

.price-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
}

.price-pill .price-from { font-size: 0.85rem; opacity: 0.8; }
.price-pill .price-value { font-size: 1.5rem; font-weight: 900; }
.price-pill .price-period { font-size: 0.8rem; opacity: 0.8; }

/* Aviso "Um representante entrará em contato" */
.contact-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(245, 184, 0, 0.12), rgba(245, 184, 0, 0.04));
    border: 1px solid rgba(245, 184, 0, 0.35);
    border-radius: 18px;
    max-width: 520px;
}

.contact-notice-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--accent-foreground);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
}

.contact-notice strong {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-notice p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.45;
}

/* ============================================
   FORM — PRÉ-CADASTRO
   ============================================ */
.form-card {
    background: #fff;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 30px 80px -20px rgba(106, 43, 158, 0.25);
    border: 1px solid var(--border);
}

.form-card h3 {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.form-card .form-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
}

.form-card .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 0.35rem;
}

.form-card .form-control,
.form-card .form-select {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(106, 43, 158, 0.12);
}

.btn-cta {
    background: var(--accent);
    color: var(--accent-foreground);
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: none;
    box-shadow: var(--shadow-glow);
    transition: transform .2s ease, background .2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-cta:hover {
    transform: translateY(-2px);
    background: var(--accent-glow);
    color: var(--accent-foreground);
}

.form-disclaimer {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1.4;
}

.form-disclaimer i {
    color: var(--accent);
    font-size: 1rem;
}

/* ============================================
   FAQ — ACCORDION
   ============================================ */
.faq-section .accordion-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: box-shadow .25s ease;
}

.faq-section .accordion-item:hover { box-shadow: var(--shadow-soft); }

.faq-section .accordion-button {
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    padding: 1.25rem 1.5rem;
    box-shadow: none !important;
    font-size: 1rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--primary);
}

.faq-section .accordion-button::after {
    background-image: none;
    content: "\F282"; /* bi-chevron-down */
    font-family: "bootstrap-icons";
    color: var(--accent);
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    display: grid;
    place-items: center;
    transition: transform .2s ease;
}

.faq-section .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.faq-section .accordion-body {
    color: var(--muted);
    padding: 0 1.5rem 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    color: var(--primary-foreground);
}

.footer-title {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.footer-text { color: rgba(255, 255, 255, 0.8); }

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-link:hover { color: var(--accent); }

.footer-social {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-foreground);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.footer-social:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

.footer-services {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.footer-services li::before {
    content: "• ";
    color: var(--accent);
    font-weight: 700;
    margin-right: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-foreground);
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover { background: var(--accent-glow); }

/* ============================================
   ALERTS
   ============================================ */
.alert-app {
    border: none;
    border-radius: 16px;
    padding: 1rem 1.25rem;
}

.alert-app.alert-success {
    background: #e8f7ec;
    color: #1b5e20;
}

.alert-app.alert-danger {
    background: #fdecea;
    color: #8e1a14;
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 991.98px) {
    .hero-section { padding-bottom: 4rem; }
    .hero-content { padding-top: 1.5rem; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-image-wrapper { max-width: 480px; margin-top: 2.5rem; }
}

@media (max-width: 575.98px) {
    .section { padding: 3.5rem 0; }
    .form-card { padding: 1.75rem; }
    .cta-banner { padding: 3rem 1.5rem; border-radius: 24px; }
    .footer-services { grid-template-columns: 1fr; }
}
