/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
    /* Basic Palette */
    --clr-bg: #f8f9fa; 
    --clr-bg-alt: #f1f2f6;
    --clr-text: #1a1a1a;
    --clr-pink: #ff007f;
    --clr-pink-hover: #e00070;
    --clr-black: #1a1a1a;
    --clr-white: #ffffff;

    /* Soft Design Tokens */
    --border-radius: 30px;
    --border-thickness: 0px;
    --shadow-soft: 0 8px 25px rgba(255, 0, 127, 0.15);
    --shadow-hover: 0 12px 30px rgba(255, 0, 127, 0.25);
    --shadow-card: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-sticker: 0px 8px 20px rgba(0,0,0,0.1);
    --shadow-main: var(--shadow-soft);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-brush: 'Caveat', cursive;
}

/* ==========================================================================
   Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    background-image: radial-gradient(at 10% 20%, hsla(330,100%,75%,0.1) 0px, transparent 50%), radial-gradient(at 90% 80%, hsla(200,100%,80%,0.1) 0px, transparent 50%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.1;
    color: var(--clr-black);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Base Typography utilities */
.brush-highlight {
    font-family: var(--font-brush);
    color: var(--clr-pink);
    font-weight: 700;
    display: inline-block;
    transform: rotate(-2deg);
    font-size: 1.4em;
    padding: 0 4px;
}

.section-title {
    font-size: 3.5rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: var(--clr-white);
    color: var(--clr-black);
    text-align: center;
}

.btn:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

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

.btn-primary:hover {
    background-color: var(--clr-pink); /* Prevent hover color overriding text contrast */
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background-color: var(--clr-white);
}

/* Brutalist Cards */
.brutalist-card {
    background-color: var(--clr-white);
    border: var(--border-thickness) solid var(--clr-black);
    box-shadow: var(--shadow-main);
    padding: 32px;
    border-radius: 4px;
}

/* Sticker Effect Images */
.sticker-effect, .sticker-image {
    background-color: var(--clr-white);
    border: 10px solid var(--clr-white);
    border-radius: 20px;
    box-shadow: var(--shadow-sticker);
    object-fit: cover;
}

/* ==========================================================================
   Layout Sections
   ========================================================================== */
/* Navbar */
.navbar {
    border-bottom: var(--border-thickness) solid var(--clr-black);
    background-color: var(--clr-white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    align-items: baseline;
    font-family: var(--font-heading);
    color: var(--clr-black);
}

.logo span {
    color: var(--clr-pink);
    font-size: 2.5rem;
    line-height: 0;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 700;
    position: relative;
    padding: 4px;
    font-family: var(--font-heading);
}

.nav-links a:hover {
    color: var(--clr-pink);
}

/* Hero */
.hero {
    padding: 100px 0;
    background-color: var(--clr-bg);
    background-image: radial-gradient(var(--clr-bg-alt) 2px, transparent 2px);
    background-size: 30px 30px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-graphic {
    background-color: var(--clr-pink);
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: var(--border-thickness) solid var(--clr-black);
    box-shadow: var(--shadow-main);
    transform: rotate(3deg);
    transition: transform 0.3s;
}

.hero-graphic:hover {
    transform: rotate(0deg);
}

.graphic-placeholder {
    font-size: 5rem;
    font-weight: 900;
    color: var(--clr-white);
    font-family: var(--font-brush);
}

/* Torn Paper Dividers using SVG technique */
.torn-paper-top {
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" fill="white" opacity=".25"/><path d="M0 0v15.81c13 21.11 27.64 41.05 47.69 56.24C99.41 111.27 165 111 224.58 91.58c31.15-10.15 60.09-26.07 89.67-39.8 40.92-19 84.73-46 130.83-49.67 36.26-2.85 70.9 9.42 98.6 31.56 31.77 25.39 62.32 62 103.63 73 40.44 10.79 81.35-6.69 119.13-24.28s75.16-39 116.92-43.05c59.73-5.85 113.28 22.88 168.9 38.84 30.2 8.66 59 6.17 87.09-7.5 22.43-10.89 48-26.93 60.65-49.24V0z" fill="white" opacity=".1"/><path d="M0 0v5.63C149.93 59 314.09 71.32 475.83 42.57c43-7.64 84.23-20.12 127.61-26.46 59-8.63 112.48 12.24 165.56 35.4C827.93 77.22 886 95.24 951.2 90c86.53-7 172.46-45.71 248.8-84.81V0z" fill="%23000"/></svg>') no-repeat center center;
    background-size: cover;
    margin-bottom: -1px; /* seamless fix */
}

/* Sobre Nós */
.sobre {
    padding: 80px 0 100px;
    background-color: var(--clr-black);
    color: var(--clr-white);
}

.sobre .section-title {
    color: var(--clr-white);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.sobre .brutalist-card {
    background-color: var(--clr-white);
    color: var(--clr-black);
    margin-bottom: 24px;
}

.mascot-card {
    background-color: var(--clr-pink) !important;
    color: var(--clr-black) !important;
    text-align: center;
    border-color: var(--clr-white) !important;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--clr-pink-hover) !important;
    transform: rotate(1deg);
}

.mascot-card:hover {
    transform: rotate(0deg);
}

.mascot-image-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.mascot-image-wrapper img {
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border: 5px solid var(--clr-white);
}

.mascot-info h4 {
    color: var(--clr-white);
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-shadow: 2px 2px 0px var(--clr-black);
}

.badge {
    display: inline-block;
    background-color: var(--clr-white);
    color: var(--clr-black);
    padding: 4px 12px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 2px solid var(--clr-black);
    margin-bottom: 16px;
    transform: rotate(-2deg);
    box-shadow: 2px 2px 0px var(--clr-black);
}

.mascot-info p:not(.badge) {
    color: var(--clr-white);
    font-weight: 500;
    font-size: 1.05rem;
}

/* Torn Paper Bottom */
.torn-paper-bottom {
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" fill="white" opacity=".25"/><path d="M0 0v15.81c13 21.11 27.64 41.05 47.69 56.24C99.41 111.27 165 111 224.58 91.58c31.15-10.15 60.09-26.07 89.67-39.8 40.92-19 84.73-46 130.83-49.67 36.26-2.85 70.9 9.42 98.6 31.56 31.77 25.39 62.32 62 103.63 73 40.44 10.79 81.35-6.69 119.13-24.28s75.16-39 116.92-43.05c59.73-5.85 113.28 22.88 168.9 38.84 30.2 8.66 59 6.17 87.09-7.5 22.43-10.89 48-26.93 60.65-49.24V0z" fill="white" opacity=".1"/><path d="M0 0v5.63C149.93 59 314.09 71.32 475.83 42.57c43-7.64 84.23-20.12 127.61-26.46 59-8.63 112.48 12.24 165.56 35.4C827.93 77.22 886 95.24 951.2 90c86.53-7 172.46-45.71 248.8-84.81V0z" fill="%23000"/></svg>') no-repeat center center;
    background-size: cover;
    transform: rotate(180deg);
    margin-top: -1px;
    background-color: var(--clr-bg);
}

/* Footer */
.footer {
    padding: 100px 0 60px;
    background-color: var(--clr-bg);
    text-align: center;
}

.footer h2 {
    font-size: 3rem;
    margin-bottom: 32px;
}

.footer-copy {
    margin-top: 60px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container, .sobre-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .section-title {
        font-size: 2.5rem;
    }
}

/* New Logic: Pink Creator Logo */
.logo { font-size: 2.5rem; font-weight: 900; display: flex; align-items: center; font-family: var(--font-heading); color: var(--clr-pink); text-transform: lowercase; position: relative; letter-spacing: -3px; text-decoration: none; }
.logo-creator { font-family: var(--font-brush); color: var(--clr-pink); font-size: 2rem; position: absolute; bottom: -8px; right: -45px; transform: rotate(-5deg); text-shadow: 2px 2px 0px var(--clr-white), -2px -2px 0px var(--clr-white), 2px -2px 0px var(--clr-white), -2px 2px 0px var(--clr-white); z-index: 2; }

/* New Logic: Services & Blog */
.service-category { margin-top: 40px; }
.category-title { font-size: 2rem; text-align: center; margin-bottom: 2rem; }
.pricing-grid { display: grid; gap: 30px; margin-bottom: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); align-items: start;}
.grid-2 { grid-template-columns: repeat(2, 1fr); align-items: start;}
.pricing-card { background-color: var(--clr-white); border-radius: 24px; padding: 40px 30px; box-shadow: var(--shadow-card); text-align: center; transition: transform 0.3s; position: relative;}
.pricing-card:hover { transform: translateY(-10px); }
.pricing-card.highlighted { border: 3px solid var(--clr-pink); transform: scale(1.05); }
.pricing-card.highlighted:hover { transform: scale(1.05) translateY(-5px); }
.plan-name { font-weight: 900; font-size: 1.5rem; color: var(--clr-pink); margin-bottom: 15px; text-transform: uppercase; }
.plan-price { font-size: 1.1rem; color: #666; margin-bottom: 20px; }
.price-value { font-size: 2.2rem; font-weight: 900; color: var(--clr-black); }
.plan-desc { margin-bottom: 20px; color: #555; }
.plan-features { text-align: left; margin-bottom: 20px; list-style: none; padding: 0; }
.plan-features li { margin-bottom: 10px; font-weight: 500; font-size: 0.95rem; }
.plan-features i { color: var(--clr-pink); margin-right: 8px; }
.disabled-feature { color: #aaa; text-decoration: line-through; }
.disabled-feature i { color: #aaa; }
.extra-card { padding: 40px; display: flex; flex-direction: column; justify-content: center; height: 100%;}
.ai-card { background: linear-gradient(135deg, #1a1a1a, #333); color: var(--clr-white); text-align: center; min-height: 250px;}
.ai-icon { font-size: 4rem; color: var(--clr-pink); margin-bottom: 20px; }
.coming-soon { font-family: var(--font-brush); font-size: 2.5rem; color: var(--clr-pink); transform: rotate(-5deg); }
.data-options { margin-top: 20px; display: flex; flex-direction: column; gap: 20px; text-align: left;}
.price-tag { display: inline-block; background-color: var(--clr-bg); padding: 8px 16px; border-radius: 8px; font-weight: 700; margin-top: 10px; color: var(--clr-black); }
.soft-card { background: var(--clr-white); padding: 30px; border-radius: 20px; box-shadow: var(--shadow-card); }
.dark-card { background: var(--clr-black); color: var(--clr-white); }
.dark-card h3 { color: var(--clr-white); margin-bottom: 15px;}
.sobre-testimonials { margin-top: 30px; border-top: 1px solid #333; padding-top: 20px; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 15px; }
.video-placeholder, .print-placeholder { background: #2a2a2a; border-radius: 12px; height: 100px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #888; text-align: center; }
.video-placeholder i, .print-placeholder i { font-size: 1.5rem; margin-bottom: 5px; }
.social-links-section { margin-top: 30px; }
.social-icons { display: flex; gap: 15px; margin-top: 10px; }
.social-icons a { background: #2a2a2a; color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.social-icons a:hover { background: var(--clr-pink); transform: translateY(-3px); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-image { height: 150px; background: #eee; }
.blog-content { padding: 20px; }
.blog-content h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* ==========================================================================
   Jubs Guided Service Modal (Typebot Clone)
   ========================================================================== */
#jubs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

#jubs-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.jubs-modal-box {
    background: var(--clr-white);
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

#jubs-modal.active .jubs-modal-box {
    transform: translateY(0);
}

.jubs-header {
    background: var(--clr-bg-alt);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.jubs-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.jubs-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--clr-pink);
    border: 3px solid var(--clr-white);
    box-shadow: 0 4px 10px rgba(255, 0, 127, 0.3);
    object-fit: cover;
}

.jubs-title {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--clr-black);
    margin: 0;
}

.jubs-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.jubs-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: 0.2s;
}

.jubs-close:hover {
    color: var(--clr-pink);
    transform: scale(1.1);
}

.jubs-progress-container {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
}

.jubs-progress-bar {
    height: 100%;
    background: var(--clr-pink);
    width: 15%; /* Varia dinamicamente */
    transition: width 0.4s ease;
}

.jubs-body {
    padding: 30px;
    flex-grow: 1;
    overflow-y: auto;
}

.jubs-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.jubs-step.active {
    display: block;
}

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

.jubs-question {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--clr-black);
    text-align: center;
}

.jubs-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jubs-option-btn {
    background: var(--clr-white);
    border: 2px solid #eee;
    padding: 15px 20px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-text);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jubs-option-btn i {
    color: #ccc;
    transition: 0.2s;
}

.jubs-option-btn:hover {
    border-color: var(--clr-pink);
    background: #fff5fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.1);
}

.jubs-option-btn:hover i {
    color: var(--clr-pink);
    transform: translateX(5px);
}

.jubs-form-group {
    margin-bottom: 15px;
    text-align: left;
}

.jubs-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}

.jubs-input, .jubs-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.jubs-input:focus, .jubs-textarea:focus {
    outline: none;
    border-color: var(--clr-pink);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 0, 127, 0.1);
}

.jubs-textarea {
    resize: vertical;
    min-height: 80px;
}

.jubs-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #666;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.jubs-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--clr-pink);
}

.jubs-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 15px;
}

.jubs-btn-back {
    background: none;
    border: none;
    color: #888;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.2s;
    font-family: var(--font-body);
}

.jubs-btn-back:hover {
    color: var(--clr-black);
}

.jubs-btn-next {
    background: var(--clr-black);
    color: var(--clr-white);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.jubs-btn-next:hover {
    background: var(--clr-pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 127, 0.3);
}

.jubs-btn-next:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.jubs-success-msg {
    text-align: center;
    padding: 40px 20px;
}

.jubs-success-msg i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.jubs-success-msg h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--clr-black);
}

.jubs-success-msg p {
    color: #666;
}

.jubs-btn-preferencia {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.jubs-btn-preferencia button {
    flex: 1;
    background: var(--clr-white);
    border: 2px solid #eee;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: #888;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.jubs-btn-preferencia button.selected {
    border-color: var(--clr-pink);
    background: #fff5fa;
    color: var(--clr-pink);
}

.jubs-btn-preferencia button:hover {
    border-color: var(--clr-pink);
}

/* Spinner for Loading State */
.jubs-loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--clr-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: jubsSpin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes jubsSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
