/* styles.css - Design System and Main Stylesheet for remocaodentulhos.com */

/* 1. Global Variables & Reset */
:root {
    --bg-dark: #0A0F1C;
    --bg-card: #151D30;
    --bg-card-hover: #1D2942;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --color-orange: #FF6A00;
    --color-orange-hover: #E05D00;
    --color-green: #25D366;
    --color-green-hover: #20BD5A;
    --color-yellow: #FACC15;
    --color-danger: #EF4444;
    --color-success: #10B981;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(255, 106, 0, 0.5);
    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

/* 2. Utility Classes */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-orange { color: var(--color-orange); }
.text-green { color: var(--color-green); }
.text-yellow { color: var(--color-yellow); }
.text-secondary { color: var(--text-secondary); }

.bg-orange { background-color: var(--color-orange); }
.bg-green { background-color: var(--color-green); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-green);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.2);
}

.btn-secondary {
    background-color: var(--color-orange);
    color: #FFFFFF;
}

.btn-secondary:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 106, 0, 0.2);
}

.btn-outline {
    border-color: var(--border-color);
    background-color: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

/* 3. Header & Top Bar */
.top-bar {
    background-color: #030712;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

.top-bar-marquee {
    display: none;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 4. Hero Section */
.hero {
    position: relative;
    padding: 5rem 0;
    background-image: linear-gradient(180deg, rgba(10, 15, 28, 0.2) 0%, rgba(10, 15, 28, 1) 100%), url('images/hero-translirios.webp');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 15, 28, 0.8);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--color-green);
    border: 1px solid rgba(37, 211, 102, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-green);
    position: relative;
}

.live-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--color-green);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 480px;
}

/* CEP Widget */
.cep-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.cep-widget p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cep-form {
    display: flex;
    gap: 0.5rem;
}

.cep-form input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.cep-form input:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 2px var(--border-focus);
}

.cep-result {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.cep-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-title {
    font-weight: 700;
    font-size: 1rem;
}

.trust-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* 5. Urgency Bar */
.urgency-section {
    background-color: rgba(255, 106, 0, 0.08);
    border-top: 1px solid rgba(255, 106, 0, 0.2);
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
    padding: 2rem 0;
}

.urgency-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.urgency-text h3 {
    font-size: 1.5rem;
    color: var(--color-orange);
    margin-bottom: 0.25rem;
}

.urgency-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 6. Section Titles */
.section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-badge {
    background-color: rgba(255, 106, 0, 0.1);
    color: var(--color-orange);
    border: 1px solid rgba(255, 106, 0, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* 7. Caçambas Grid & Sizes */
.promo-widget {
    background-color: var(--bg-card);
    border: 1px dashed var(--color-orange);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.promo-info h4 {
    color: var(--color-orange);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.promo-info p {
    font-size: 1.15rem;
    font-weight: 700;
}

.promo-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.promo-code {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 700;
    border: 1px solid var(--border-color);
}

.cacambas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cacamba-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-normal);
}

.cacamba-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.cacamba-card.featured {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 1px var(--color-orange);
}

.cacamba-card.featured::before {
    content: 'MAIS PEDIDA';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-orange);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.cacamba-card.premium {
    border-color: var(--color-yellow);
}

.cacamba-header {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cacamba-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.cacamba-price {
    font-size: 1.75rem;
    font-weight: 800;
}

.cacamba-price span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cacamba-capacity {
    color: var(--color-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cacamba-card.premium .cacamba-capacity {
    color: var(--color-yellow);
}

.cacamba-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.cacamba-features {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cacamba-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.cacamba-feature-item svg {
    color: var(--color-green);
    width: 16px;
    height: 16px;
}

.cacamba-cta {
    width: 100%;
}

.cacamba-specialists {
    margin-top: 4rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cacamba-specialists-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cacamba-specialists-text p {
    color: var(--text-secondary);
}

/* Helper Banner */
.helper-banner {
    margin-top: 3rem;
    background-color: #1e1b4b;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.helper-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.helper-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 8. Value Props Grid */
.props-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.prop-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.prop-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 106, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
}

.prop-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.prop-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 9. How it works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--color-orange);
    color: #FFFFFF;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.steps-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    gap: 1.5rem;
}

.steps-highlights {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.steps-highlights span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.steps-highlights svg {
    color: var(--color-green);
    width: 16px;
    height: 16px;
}

/* 10. Risk & Compliance Section */
.risk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.risk-col {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.risk-col.bad {
    border-color: rgba(239, 68, 110, 0.2);
    background-color: rgba(239, 68, 68, 0.02);
}

.risk-col.good {
    border-color: rgba(37, 211, 102, 0.2);
    background-color: rgba(37, 211, 102, 0.02);
}

.risk-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.risk-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.risk-header svg {
    width: 24px;
    height: 24px;
}

.risk-col.bad svg { color: var(--color-danger); }
.risk-col.good svg { color: var(--color-green); }

.risk-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.risk-item {
    display: flex;
    gap: 0.75rem;
}

.risk-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.risk-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.risk-item svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
}

.risk-col.bad .risk-item svg { color: var(--color-danger); }
.risk-col.good .risk-item svg { color: var(--color-green); }

.risk-info-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.cnpj-info {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Stats Block */
.stats-section {
    padding: 4rem 0;
    background-color: #0d1527;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-orange);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 600;
}

.stats-cta {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* 11. Google Reviews Slider */
.reviews-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.reviews-wrapper {
    display: flex;
    transition: transform var(--transition-normal);
}

.review-slide {
    min-width: 100%;
    padding: 2.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.review-stars {
    color: var(--color-yellow);
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.author-name {
    font-weight: 700;
}

.author-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background-color: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.reviews-cta {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* 12. FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 700;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    transition: background-color var(--transition-fast);
}

.faq-header:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-normal);
}

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

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
    padding: 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-item.active .faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 250px; /* arbitrary large enough value */
}

.faq-cta {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* 13. Bottom Banner */
.bottom-banner {
    background-color: #0b1528;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 5rem 0;
    text-align: center;
}

.bottom-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.bottom-banner p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.bottom-banner-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* 14. Footer */
.footer {
    background-color: #030712;
    padding: 4rem 0 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.footer-cnpj {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-policies {
    display: flex;
    gap: 1.5rem;
}

.footer-policies a:hover {
    color: var(--text-primary);
}

/* 15. Floating Widgets */
/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: var(--color-orange);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(255, 106, 0, 0.4);
    transition: all var(--transition-normal);
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--color-orange);
    animation: ripple 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #E2580D;
    transform: scale(1.1);
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Floating Toasts */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background-color: rgba(21, 29, 48, 0.95);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    max-width: 320px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 24px;
    height: 24px;
    color: var(--color-green);
    flex-shrink: 0;
}

.toast-body {
    font-size: 0.85rem;
}

.toast-time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* 16. Subpages Specific Layout */
.subpage-header {
    background-color: #030712;
    border-bottom: 1px solid var(--border-color);
    padding: 5rem 0 3rem 0;
    text-align: center;
}

.subpage-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.subpage-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-orange);
    font-weight: 600;
    margin-bottom: 2rem;
}

.back-link:hover {
    color: var(--color-orange-hover);
}

.subpage-content {
    padding: 5rem 0;
}

/* Budget Form Specifics */
.budget-form-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    color: var(--text-primary);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 2px var(--border-focus);
}

.form-group select option {
    background-color: var(--bg-dark);
}

.form-submit {
    width: 100%;
    margin-top: 2rem;
}

/* Compliance details subpage grid */
.compliance-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.compliance-check-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
}

.compliance-check-card svg {
    color: var(--color-green);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.compliance-check-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.compliance-check-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Evite multas allowed/prohibited tables */
.materials-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.materials-col {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.materials-col.allowed {
    border-color: rgba(37, 211, 102, 0.2);
}

.materials-col.prohibited {
    border-color: rgba(239, 68, 68, 0.2);
}

.materials-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.materials-col.allowed h3 { color: var(--color-green); }
.materials-col.prohibited h3 { color: var(--color-danger); }

.materials-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 8px;
}

.material-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.materials-col.allowed .material-item svg { color: var(--color-green); }
.materials-col.prohibited .material-item svg { color: var(--color-danger); }

/* Standard Legal Text (Privacy Policy / Terms) */
.legal-text {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.legal-text h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-text p {
    color: var(--text-secondary);
}

/* 17. Responsive Design (Media Queries) */

@media (max-width: 1024px) {
    body {
        font-size: 15px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-ctas {
        margin: 0 auto;
    }

    .trust-items {
        justify-content: center;
    }
    
    .props-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .risk-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

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

    .materials-tables {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header {
        position: relative;
        top: auto;
    }

    .top-bar-content {
        display: none;
    }

    .top-bar-marquee {
        display: block;
        white-space: nowrap;
        animation: marquee 25s linear infinite;
        font-size: 0.8rem;
        padding: 0 1.5rem;
        color: var(--text-secondary);
    }

    @keyframes marquee {
        0% { transform: translateX(100%); }
        100% { transform: translateX(-100%); }
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
        text-align: center;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 3.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

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

    .cacamba-card {
        padding: 1.5rem;
    }
    
    .urgency-container {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-widget {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .promo-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .promo-code {
        width: 100%;
        text-align: center;
    }
    
    .cacamba-specialists {
        flex-direction: column;
        text-align: center;
    }
    
    .helper-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .bottom-banner-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .compliance-checklist-grid {
        grid-template-columns: 1fr;
    }

    .budget-form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section {
        padding: 2.25rem 0;
    }
    
    .budget-form-card {
        padding: 1.25rem;
    }

    .cep-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cep-form button {
        width: 100%;
        padding: 0.85rem;
    }

    .props-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .trust-items {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .materials-list {
        grid-template-columns: 1fr;
    }
    
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }

    .toast-container {
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
    }

    .toast {
        max-width: 100%;
    }
}

/* --- INTERNAL LIVE CHAT WIDGET --- */
.floating-chat-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

.chat-widget-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.25);
    cursor: pointer;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    position: relative;
}

.chat-widget-button:hover {
    transform: scale(1.08);
    background-color: var(--color-orange-hover);
}

.chat-widget-button svg {
    width: 28px;
    height: 28px;
}

.chat-widget-button .chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--color-danger);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.chat-widget-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 500px;
    background-color: #121824; /* Dark blue background to match the theme */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.floating-chat-container.chat-open .chat-widget-box {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chat-widget-box.inline-chat {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    width: 100% !important;
    height: 580px !important;
    max-height: 85vh !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

/* Chat Header */
.chat-widget-header {
    background: linear-gradient(135deg, var(--color-orange), #ff4d00);
    padding: 1.25rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.chat-header-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.chat-header-status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.chat-header-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #25d366; /* green */
    box-shadow: 0 0 8px #25d366;
}

.chat-widget-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-widget-close:hover {
    opacity: 1;
}

.chat-widget-close svg {
    width: 20px;
    height: 20px;
}

/* Chat Body / Messages */
.chat-widget-body {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #0b0f19;
}

/* Form Onboarding */
.chat-onboarding-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 0.5rem;
    gap: 1rem;
    text-align: center;
}

.chat-onboarding-form p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.chat-form-group {
    text-align: left;
}

.chat-form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.chat-form-group input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.03);
    color: white;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

.chat-form-group input:focus {
    border-color: var(--color-orange);
}

.chat-onboarding-btn {
    background-color: var(--color-orange);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.chat-onboarding-btn:hover {
    background-color: var(--color-orange-hover);
}

/* Chat Messages style */
.chat-message-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-word;
}

.chat-message-bubble.client {
    align-self: flex-end;
    background-color: var(--color-orange);
    color: white;
    border-bottom-right-radius: 2px;
}

.chat-message-bubble.admin {
    align-self: flex-start;
    background-color: #1e293b;
    color: var(--text-primary);
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-message-time {
    display: block;
    font-size: 0.65rem;
    margin-top: 0.35rem;
    opacity: 0.7;
    text-align: right;
}

/* Chat Footer / Input */
.chat-widget-footer {
    padding: 0.75rem;
    background-color: #121824;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-widget-input {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.03);
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    resize: none;
    height: 38px;
    line-height: 1.4;
    font-family: inherit;
}

.chat-widget-input:focus {
    border-color: var(--color-orange);
}

.chat-widget-send {
    background-color: var(--color-orange);
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.chat-widget-send:hover {
    background-color: var(--color-orange-hover);
}

.chat-widget-send svg {
    width: 18px;
    height: 18px;
}

.chat-whatsapp-fallback {
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.chat-whatsapp-fallback:hover {
    color: var(--color-orange);
}

.chat-whatsapp-fallback svg {
    width: 12px;
    height: 12px;
}

/* Responsive adjustment for Mobile Chat widget */
@media (max-width: 480px) {
    .floating-chat-container {
        bottom: 1rem;
        right: 1rem;
    }
    
    .chat-widget-box {
        bottom: 70px;
        right: 0;
        width: calc(100vw - 2rem);
        height: 420px;
    }
}

/* Typing Indicator Animation */
.typing-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    animation: typingBounce 1.4s infinite both;
    margin: 0 1px;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}
