/* Variáveis CSS para design system */
:root {
    /* Cores primárias */
    --primary-blue: #1e40af;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1e3a8a;

    /* Cores secundárias */
    --secondary-orange: #f59e0b;
    --secondary-orange-light: #fbbf24;
    --secondary-orange-dark: #d97706;

    /* Cores neutras */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    /* Cores de status */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Raios de borda */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Espaçamentos */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
    color: var(--neutral-700);
    line-height: 1.7;
    scroll-behavior: smooth;
    font-size: 16px;
}

header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #0033a0 0%, #001f6e 100%);
    z-index: -1;
}

.logo img {
    height: 60px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: var(--space-xl);
}

nav li {
    position: relative;
}

nav a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

nav a:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.login a {
    color: var(--primary-blue);
    text-decoration: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    background: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.login a:hover {
    background: var(--neutral-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero {
    background: url('img/placas.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    color: white;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.botao-cotacao {
    background: linear-gradient(135deg, var(--secondary-orange) 0%, var(--secondary-orange-dark) 100%);
    color: white;
    padding: var(--space-lg) var(--space-2xl);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: var(--space-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.botao-cotacao::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.botao-cotacao:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.botao-cotacao:hover::before {
    left: 100%;
}

.botao-whatsapp {
    background: linear-gradient(135deg, #15ce59 0%, #1fb855 100%);
    color: white;
    padding: var(--space-lg) var(--space-2xl);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.botao-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.botao-whatsapp i {
    width: 24px;
    height: 24px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.bvsol-text {
    font-weight: 700;
    color: #ffffff;
}

.hero p {
    font-size: 1.2em;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.9;
}

.form-orcamento {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-orcamento:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


.form-orcamento input {
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    max-width: 450px;
    transition: box-shadow 0.3s ease;
}

.form-orcamento input:focus {
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.form-orcamento button {
    background-color: #000;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
    width: 100%;
    max-width: 450px;
}

.form-orcamento button:hover {
    background-color: #ff8c00;
    transform: translateY(-2px);
}

nav a:hover {
    color: #fff5ee;
}

nav a span {
    transition: color 0.3s ease;
}

nav a:hover span {
    color: #ff8c00;
}

.servicos {
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-50) 100%);
    position: relative;
}

.servicos h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-2xl);
    color: var(--primary-blue-dark);
    font-weight: 700;
    position: relative;
}

.servicos h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-orange) 0%, var(--secondary-orange-light) 100%);
    border-radius: var(--radius-sm);
}

.servicos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.servico-item {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--neutral-200);
}

.servico-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-orange) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.servico-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue-light);
}

.servico-item:hover::before {
    transform: scaleX(1);
}

.servico-item h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-lg);
    color: var(--primary-blue-dark);
    font-weight: 600;
    position: relative;
    padding-left: var(--space-2xl);
}

.servico-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--secondary-orange) 0%, var(--secondary-orange-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.servicos p {
    color: var(--neutral-600);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Seção de Depoimentos/Avaliações */
.depoimentos {
    padding: 60px 20px;
    text-align: center;
    background-color: #f4f4f4;
}

.depoimentos h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #001f6e;
}

/* Container de Avaliações - Carrossel */
.reviews-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto 0;
    overflow: hidden;
}

#google-reviews {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

/* Controles do Carrossel */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Indicadores do Carrossel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(66, 133, 244, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-indicator.active {
    background: rgba(66, 133, 244, 0.7);
    transform: scale(1.1);
}

.carousel-indicator:hover {
    background: rgba(66, 133, 244, 0.4);
}

/* Autoplay controls */
.carousel-autoplay {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.autoplay-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 0.2rem 0.3rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.autoplay-btn:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

.autoplay-btn.active {
    background: rgba(66, 133, 244, 0.1);
    color: #4285f4;
    border-color: rgba(66, 133, 244, 0.3);
}

.autoplay-btn svg {
    width: 12px;
    height: 12px;
}

.review-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: calc(33.333% - 1rem); /* 3 colunas no desktop */
    min-height: 250px;
}

/* Desktop: 3 colunas */
@media (min-width: 769px) {
    .review-item {
        width: calc(33.333% - 1rem);
    }
}

/* Mobile: 1 coluna */
@media (max-width: 768px) {
    .review-item {
        width: calc(100% - 1rem);
    }
    
    #google-reviews {
        padding: 0 1rem;
    }
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335);
}

.review-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar-container {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.review-avatar,
.review-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.review-avatar {
    object-fit: cover;
    border: 2px solid #e8f0fe;
}

.review-avatar-placeholder {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    position: absolute;
    top: 0;
    left: 0;
}

.review-info {
    flex: 1;
    min-width: 0;
}

.review-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.stars {
    color: #ffd700;
    font-size: 1rem;
    letter-spacing: 1px;
}

.rating-number {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.review-date {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
}

.review-text {
    color: #333;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.review-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.review-source {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Loading State */
.loading-reviews {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #001f6e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Compatibilidade com estilos antigos */
.depoimentos-lista {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.depoimento-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depoimento-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.depoimento-item p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.depoimento-item p:last-child {
    font-weight: bold;
    text-align: right;
    color: #333;
}

.scroll-down {
    margin-top: 50px;
    color: white;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
}

.scroll-down:hover {
    background-color: white;
    color: #001f6e;
    border-color: white;
    transform: translateY(-5px);
}


/* Seção Ajuda */
.ajuda {
    padding: 60px 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.ajuda h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #001f6e;
    font-weight: 700;
}

.bvsol-highlight {
    color: #ff8c00;
    font-weight: 700;
}

.ajuda-sub {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 40px;
}

.ajuda-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.ajuda-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ajuda-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.ajuda-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #001f6e;
    font-weight: 600;
}

.ajuda-card p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* FAQ */
.faq {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

.faq h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #001f6e;
    font-weight: 700;
}

.faq-lista {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-pergunta {
    width: 100%;
    background-color: #f5f5f5;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    padding-right: 50px;
}

.faq-pergunta:hover {
    background-color: #e9ecef;
}

.faq-pergunta::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-right: 2px solid #001f6e;
    border-bottom: 2px solid #001f6e;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-pergunta::after {
    transform: translateY(-50%) rotate(225deg);
}

.faq-resposta {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fff;
}

.faq-item.active .faq-resposta {
    max-height: 200px;
    padding: 20px;
}

.faq-resposta p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Rodapé */
.rodape {
    background: linear-gradient(90deg, #0033a0 0%, #001f6e 100%);
    color: white;
    padding: 40px 0 20px;
}

.rodape-conteudo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.rodape .coluna h3 {
    margin-bottom: 15px;
    color: #ff8c00;
    font-weight: 600;
}

.rodape .coluna p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #ccc;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons a i {
    transition: color 0.3s ease;
}

.social-icons a:hover i {
    color: #ffb366 !important;
}

.rodape-direitos {
  background: linear-gradient(90deg, #fb9b2a 0%, #d2981a 100%);
  color: white;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9em;
  width: 100vw;
  margin: 0;
  box-sizing: border-box;
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-float i {
    width: 30px;
    height: 30px;
}

/* Botão de Simulação */
.botao-cotacao {
    background: linear-gradient(135deg, var(--secondary-orange) 0%, var(--secondary-orange-dark) 100%);
    color: white;
    padding: var(--space-lg) var(--space-2xl);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: var(--space-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.botao-cotacao::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.botao-cotacao:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.botao-cotacao:hover::before {
    left: 100%;
}

/* Modal de Cotação */
.cotacao-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cotacao-container {
    background: white;
    border-radius: var(--radius-2xl);
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.4s ease;
    border: 1px solid var(--neutral-200);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cotacao-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    padding: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.cotacao-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%);
    z-index: -1;
}

.cotacao-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.fechar-modal {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.fechar-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cotacao-progress {
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--neutral-200);
    background: var(--neutral-50);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--neutral-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-orange) 100%);
    border-radius: var(--radius-md);
    transition: width 0.5s ease;
    width: 20%;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--neutral-600);
    font-weight: 500;
}

.cotacao-content {
    height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    padding: var(--space-xl);
    overflow-y: auto;
    min-height: 0;
    background: var(--neutral-50);
    box-sizing: border-box;
}

.chat-message {
    margin-bottom: var(--space-lg);
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.chat-message.user {
    text-align: right;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: white;
    margin-left: auto;
}

.message-content {
    background: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    display: inline-block;
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.4;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
}

.chat-input-area {
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--neutral-200);
    background: white;
    min-height: 120px;
    max-height: 300px;
    overflow-y: auto;
    flex-shrink: 0;
    box-sizing: border-box;
}

.input-group {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    position: relative;
}

.chat-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-xl);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: var(--neutral-50);
}

.chat-input:focus {
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.input-prefix {
    position: absolute;
    left: var(--space-lg);
    color: var(--neutral-500);
    font-weight: 500;
    pointer-events: none;
}

.input-group .chat-input[placeholder*="Ex:"] {
    padding-left: 40px;
}

.btn-enviar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: white;
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-xl);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* === ESTADOS DE VALIDAÇÃO DOS INPUTS === */
.chat-input.input-success {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.chat-input.input-success:focus {
    border-color: #059669;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.chat-input.input-error {
    border-color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.chat-input.input-error:focus {
    border-color: #dc2626;
    background: #fef2f2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Ícones de validação */
.input-group {
    position: relative;
}

.input-group::after {
    content: '';
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-group.input-success::after {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: none;
}

.input-group.input-error::after {
    content: '✗';
    color: #ef4444;
    font-weight: bold;
    font-size: 18px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: none;
}

/* Animação suave para mudanças de estado */
.chat-input {
    transition: all 0.3s ease, border-color 0.2s ease, background-color 0.2s ease;
}

/* === RESPONSIVIDADE PARA VALIDAÇÃO DE INPUTS === */
@media (max-width: 768px) {
    .input-group::after {
        right: 60px;
        width: 16px;
        height: 16px;
        font-size: 14px;
    }
    
    .chat-input {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }
    
    .btn-enviar {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .input-group::after {
        right: 50px;
        width: 14px;
        height: 14px;
        font-size: 12px;
    }
    
    .chat-input {
        padding: 10px var(--space-sm);
        font-size: 0.85rem;
    }
    
    .btn-enviar {
        padding: 10px var(--space-sm);
        font-size: 0.85rem;
    }
}

/* Opções de Valor da Conta */
.opcoes-valor {
    display: flex;
    gap: var(--space-md);
    max-height: 50vh;
    overflow-y: auto;
    padding: var(--space-sm);
    -webkit-overflow-scrolling: touch; /* Scroll suave no iOS */
}

.opcoes-coluna {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.opcao-espaco {
    height: 80px; /* Mesmo tamanho de um botão para manter alinhamento */
    visibility: hidden;
}

.opcao-valor {
    background: white;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 80px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.opcao-valor:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #f0f4ff 0%, white 100%);
}

.opcao-valor.maior {
    border-color: var(--secondary-orange);
    background: linear-gradient(135deg, #fffbf0 0%, white 100%);
}

.opcao-valor.maior:hover {
    border-color: var(--secondary-orange-dark);
    background: linear-gradient(135deg, #fff4e6 0%, white 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.opcao-valor i {
    color: var(--primary-blue);
    margin-bottom: var(--space-xs);
}

.opcao-valor.maior i {
    color: var(--secondary-orange);
}

.valor-range {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 2px;
    display: block;
    line-height: 1.2;
}

.opcao-valor.maior .valor-range {
    color: var(--secondary-orange-dark);
}

.valor-desc {
    font-size: 0.8rem;
    color: var(--neutral-600);
    font-weight: 500;
    display: block;
    line-height: 1.1;
}

.opcao-valor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.opcao-valor.maior::before {
    background: linear-gradient(90deg, var(--secondary-orange) 0%, var(--secondary-orange-light) 100%);
}

/* === NOVO LAYOUT GRID 2x2 PARA OPÇÕES DE VALOR === */
.opcoes-valor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    padding: var(--space-sm);
    width: 100%;
    max-width: 100%;
}

.opcao-valor-compact {
    background: white;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 60px;
    position: relative;
    overflow: hidden;
}

.opcao-valor-compact:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #f0f4ff 0%, white 100%);
}

.opcao-valor-compact.destacado {
    border-color: var(--secondary-orange);
    background: linear-gradient(135deg, #fffbf0 0%, white 100%);
}

.opcao-valor-compact.destacado:hover {
    border-color: var(--secondary-orange-dark);
    background: linear-gradient(135deg, #fff4e6 0%, white 100%);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.opcao-valor-compact i {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.opcao-valor-compact.destacado i {
    color: var(--secondary-orange);
}

.valor-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
}

.valor-info .valor-range {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    line-height: 1.1;
}

.opcao-valor-compact.destacado .valor-info .valor-range {
    color: var(--secondary-orange-dark);
}

.valor-info .valor-desc {
    font-size: 0.75rem;
    color: var(--neutral-600);
    font-weight: 500;
    line-height: 1.1;
}

/* === SELEÇÃO TIPO DE LOCAL (RURAL/CAPITAL) === */
.opcoes-tipo-local {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    padding: var(--space-sm);
    width: 100%;
}

.opcao-local {
    background: white;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.opcao-local:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #f0f4ff 0%, white 100%);
}

.opcao-local i {
    color: var(--primary-blue);
    margin-bottom: var(--space-sm);
}

.local-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: var(--space-xs);
    display: block;
    line-height: 1.2;
}

.local-desc {
    font-size: 0.85rem;
    color: var(--neutral-600);
    font-weight: 500;
    display: block;
    line-height: 1.2;
}

.opcao-local::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.opcao-local:hover::before {
    transform: scaleX(1);
}

/* Container de Kits com melhor responsividade */
.kits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-sm);
    max-height: 300px;
    overflow-y: auto;
    padding: var(--space-sm);
    background: #f8f9fa;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
}

.kit-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: var(--space-md);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kit-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.kit-card.recomendado {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

.kit-card.selecionado {
    border-color: var(--primary-color);
    background: rgba(139, 195, 74, 0.05);
    box-shadow: 0 4px 20px rgba(139, 195, 74, 0.2);
}

.kit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    min-height: 20px;
}

.kit-categoria {
    background: #6c757d;
    color: white;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.kit-categoria.residencial { background: #28a745; }
.kit-categoria.comercial { background: #007bff; }
.kit-categoria.industrial { background: #dc3545; }
.kit-categoria.rural { background: #fd7e14; }

.recomendado {
    background: var(--accent-color);
    color: white;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}

.kit-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.kit-specs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--space-sm);
    flex-grow: 1;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #6c757d;
}

.spec-item i {
    color: var(--primary-color);
    flex-shrink: 0;
}

.kit-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    padding: 6px;
    background: rgba(139, 195, 74, 0.1);
    border-radius: 8px;
    margin-bottom: var(--space-xs);
}

.kit-ideal {
    font-size: 0.65rem;
    color: #6c757d;
    text-align: center;
    font-style: italic;
    line-height: 1.2;
}

.kit-categoria.residencial {
    background: var(--primary-blue);
}

.kit-categoria.comercial {
    background: var(--secondary-orange);
}

.kit-categoria.industrial {
    background: var(--neutral-700);
}

.kit-categoria.rural {
    background: #16a34a;
}

/* Correções para scroll no mobile - Opções de Valor e Kits */
.kits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    max-height: 60vh;
    overflow-y: auto;
    padding: var(--space-sm);
    -webkit-overflow-scrolling: touch; /* Scroll suave no iOS */
}

/* === RESPONSIVIDADE DESKTOP === */
@media (min-width: 1024px) {
    .cotacao-container {
        width: 90%;
        max-width: 700px;
        max-height: 85vh;
    }

    .cotacao-content {
        height: 550px;
    }

    .chat-messages {
        max-height: 320px;
        padding: var(--space-lg);
    }

    .chat-input-area {
        padding: var(--space-lg);
        min-height: 150px;
        max-height: 250px;
    }

    .kits-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        max-height: 320px;
        gap: var(--space-md);
    }

    .kit-card {
        min-height: 170px;
        padding: var(--space-lg);
    }

    .kit-title {
        font-size: 1rem;
    }

    .spec-item {
        font-size: 0.8rem;
    }

    .kit-price {
        font-size: 0.9rem;
    }
}

/* === RESPONSIVIDADE TABLET === */
@media (max-width: 1023px) and (min-width: 769px) {
    .cotacao-container {
        width: 95%;
        max-width: 600px;
        max-height: 80vh;
    }

    .cotacao-content {
        height: 480px;
    }

    .chat-messages {
        max-height: 280px;
        padding: var(--space-lg);
    }

    .chat-input-area {
        padding: var(--space-lg);
        min-height: 140px;
        max-height: 200px;
    }

    .kits-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-height: 280px;
    }

    .kit-card {
        min-height: 155px;
    }
}
/* === RESPONSIVIDADE MOBILE === */
@media (max-width: 768px) {
    .cotacao-container {
        width: 96%;
        max-width: 500px;
        max-height: 90vh;
    }

    .cotacao-header {
        padding: var(--space-md);
    }

    .cotacao-header h3 {
        font-size: 1rem;
    }

    .cotacao-content {
        height: 420px;
    }

    .chat-messages {
        max-height: 240px;
        padding: var(--space-md);
    }

    .chat-input-area {
        padding: var(--space-md);
        min-height: 140px;
        max-height: 180px;
    }

    .opcoes-valor {
        max-height: 40vh;
        gap: var(--space-xs);
        padding: var(--space-xs);
        flex-direction: column; /* Stack colunas em mobile */
    }
    
    .opcoes-coluna {
        gap: var(--space-xs);
    }
    
    .opcao-espaco {
        display: none; /* Ocultar espaço em mobile */
    }
    
    .kits-container {
        grid-template-columns: 1fr;
        max-height: 40vh;
        gap: var(--space-xs);
        padding: var(--space-xs);
    }
    
    .opcao-valor {
        min-height: 65px;
        padding: var(--space-sm);
    }
    
    .kit-card {
        min-height: 130px;
        padding: var(--space-sm);
    }
    
    .kit-title {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .spec-item {
        font-size: 0.7rem;
    }

    .kit-price {
        font-size: 0.8rem;
        padding: 4px;
    }

    .kit-ideal {
        font-size: 0.6rem;
    }

    .valor-range {
        font-size: 0.85rem;
    }
    
    .valor-desc {
        font-size: 0.75rem;
    }

    .opcao-valor i {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .cotacao-container {
        width: 98%;
        max-height: 95vh;
    }

    .cotacao-header {
        padding: var(--space-sm);
    }

    .cotacao-header h3 {
        font-size: 0.9rem;
    }

    .cotacao-content {
        height: 400px;
    }

    .chat-messages {
        max-height: 220px;
        padding: var(--space-sm);
    }

    .chat-input-area {
        padding: var(--space-sm);
        min-height: 130px;
        max-height: 160px;
    }

    .opcoes-valor {
        max-height: 35vh;
        flex-direction: column; /* Stack colunas em mobile */
    }
    
    .opcoes-coluna {
        gap: var(--space-xs);
    }
    
    .opcao-espaco {
        display: none; /* Ocultar espaço em mobile */
    }
    
    .kits-container {
        max-height: 35vh;
    }
    
    .opcao-valor {
        min-height: 55px;
        padding: var(--space-xs);
    }
    
    .kit-card {
        min-height: 120px;
        padding: 8px;
    }
    
    .kit-title {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .spec-item {
        font-size: 0.65rem;
        gap: 4px;
    }

    .spec-item i {
        width: 9px;
        height: 9px;
    }

    .kit-price {
        font-size: 0.75rem;
        padding: 3px;
    }

    .kit-ideal {
        font-size: 0.55rem;
    }

    .kit-categoria {
        font-size: 0.5rem;
        padding: 2px 4px;
    }

    .recomendado {
        font-size: 0.5rem;
        padding: 2px 4px;
    }

    .valor-range {
        font-size: 0.8rem;
    }
    
    .valor-desc {
        font-size: 0.7rem;
    }

    .opcao-valor i {
        width: 14px;
        height: 14px;
        margin-bottom: 4px;
    }
}

@media (max-width: 360px) {
    .cotacao-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        max-height: none;
    }

    .cotacao-header {
        border-radius: 0;
        padding: 10px;
    }

    .cotacao-header h3 {
        font-size: 0.85rem;
    }

    .cotacao-content {
        height: calc(100vh - 140px);
    }

    .chat-messages {
        max-height: calc(100vh - 280px);
        padding: 10px;
    }

    .chat-input-area {
        padding: 10px;
        min-height: 120px;
    }

    .opcoes-valor {
        max-height: 30vh;
        flex-direction: column; /* Stack colunas em mobile pequeno */
        gap: 4px;
    }
    
    .opcoes-coluna {
        gap: 4px;
    }
    
    .opcao-espaco {
        display: none; /* Ocultar espaço em mobile pequeno */
    }
    
    .kits-container {
        max-height: 30vh;
    }
    
    .opcao-valor {
        min-height: 50px;
        padding: 6px;
    }
    
    .kit-card {
        min-height: 110px;
        padding: 6px;
    }

    .kit-title {
        font-size: 0.75rem;
        margin-bottom: 3px;
    }

    .spec-item {
        font-size: 0.6rem;
        gap: 3px;
    }

    .spec-item i {
        width: 8px;
        height: 8px;
    }

    .kit-price {
        font-size: 0.7rem;
        padding: 2px;
    }

    .kit-ideal {
        font-size: 0.5rem;
    }

    .valor-range {
        font-size: 0.75rem;
    }
    
    .valor-desc {
        font-size: 0.65rem;
    }

    .opcao-valor i {
        width: 12px;
        height: 12px;
        margin-bottom: 3px;
    }
}

/* Header retrátil para telas muito pequenas */
@media (max-width: 480px) {
    .header-toggle-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    .toggle-text {
        font-size: 0.75rem;
    }

    .header-title h3 {
        font-size: 0.9rem;
    }

    /* Indicador visual de que é clicável */
    .header-toggle-btn::after {
        content: '👆';
        position: absolute;
        top: -5px;
        right: -5px;
        font-size: 12px;
        animation: bounce-hint 2s infinite;
    }
}

@keyframes bounce-hint {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Personalizar scrollbar para melhor visual */
.opcoes-valor::-webkit-scrollbar,
.kits-container::-webkit-scrollbar {
    width: 6px;
}

.opcoes-valor::-webkit-scrollbar-track,
.kits-container::-webkit-scrollbar-track {
    background: var(--neutral-200);
    border-radius: 3px;
}

.opcoes-valor::-webkit-scrollbar-thumb,
.kits-container::-webkit-scrollbar-thumb {
    background: var(--secondary-orange);
    border-radius: 3px;
}

.opcoes-valor::-webkit-scrollbar-thumb:hover,
.kits-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-orange-dark);
}

/* Garantir que as opções de valor tenham layout consistente no mobile */
@media (max-width: 768px) {
    .opcoes-valor {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
    }
    
    .opcoes-coluna {
        flex: none !important;
    }
    
    .opcao-espaco {
        display: none !important;
    }
}

/* Responsividade para opções de valor */
@media (max-width: 768px) {
    .kits-container {
        max-height: 220px;
        gap: var(--space-sm);
    }
    
    .kit-card {
        padding: var(--space-sm);
        min-height: 120px;
    }
    
    .kit-card h4 {
        font-size: 0.9rem;
        padding-right: var(--space-xl);
    }
    
    .kit-info {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }
    
    .kit-info p {
        font-size: 0.8rem;
    }
    
    .kit-info strong {
        font-size: 0.7rem;
    }
    
    .kit-ideal {
        font-size: 0.75rem;
        padding: 2px var(--space-xs);
    }
    
    .kit-preco {
        font-size: 0.9rem !important;
        padding: 2px !important;
    }
    
    .recomendado {
        font-size: 0.65rem;
        padding: 2px 6px;
        top: 6px;
        right: 6px;
    }
    
    .kit-categoria {
        font-size: 0.6rem;
        padding: 1px 4px;
        top: 6px;
        left: 6px;
    }
}

@media (max-width: 480px) {
    .kits-container {
        max-height: 200px;
    }
    
    .kit-card {
        min-height: 110px;
        padding: 8px;
    }
    
    .kit-card h4 {
        font-size: 0.85rem;
        margin-bottom: 4px;
        padding-right: var(--space-lg);
    }
    
    .kit-info {
        gap: 2px;
    }
    
    .kit-info p {
        font-size: 0.75rem;
    }
    
    .kit-info strong {
        font-size: 0.65rem;
    }
    
    .kit-ideal {
        font-size: 0.7rem;
        padding: 1px 4px;
        margin-top: 2px;
    }
    
    .kit-preco {
        font-size: 0.8rem !important;
        margin-top: 4px !important;
    }
    
    .recomendado {
        font-size: 0.6rem;
        padding: 1px 4px;
        top: 4px;
        right: 4px;
    }
    
    .kit-categoria {
        font-size: 0.55rem;
        padding: 1px 3px;
        top: 4px;
        left: 4px;
    }
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1fb855 100%);
    color: white;
    border: none;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-xl);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .cotacao-container {
        width: 95%;
        max-height: 95vh;
    }

    /* ATIVAR HEADER SANFONA NO MOBILE */
    .header-toggle-btn {
        display: flex !important;
    }

    .cotacao-header {
        padding: 12px 15px;
        min-height: auto;
    }

    .header-title h3 {
        font-size: 1rem;
    }

    .cotacao-content {
        height: 350px;
    }

    .chat-messages {
        max-height: 230px;
    }

    .kit-card {
        padding: 12px;
    }

    .kit-card h4 {
        font-size: 1em;
    }

    .kit-info p {
        font-size: 0.85em;
    }
}

/* Responsividade principal */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .logo img {
        height: 50px;
        margin-bottom: var(--space-sm);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
        width: 100%;
    }

    nav li {
        margin: 0;
    }

    .login {
        margin-top: var(--space-sm);
    }

    .hero {
        padding: var(--space-2xl) var(--space-lg);
        min-height: 60vh;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: var(--space-md);
    }

    .hero p {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: var(--space-lg);
    }

    .botao-cotacao,
    .botao-whatsapp {
        font-size: 1rem;
        padding: var(--space-md) var(--space-lg);
        margin: var(--space-xs) 0;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .destaque-economia {
        font-size: 1rem;
        padding: var(--space-sm) var(--space-md);
        margin: var(--space-lg) auto;
    }

    .form-orcamento {
        width: 95%;
        padding: var(--space-lg);
    }

    .form-orcamento input,
    .form-orcamento button {
        width: 100%;
        font-size: 1rem;
        padding: var(--space-md);
    }

    .servicos-lista {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .servico-item {
        padding: var(--space-lg);
        width: 100%;
    }

    .servico-item h3 {
        font-size: 1.2rem;
        padding-left: var(--space-lg);
    }

    .depoimentos-lista {
        flex-direction: column;
        align-items: stretch;
    }

    .depoimento-item {
        width: 100%;
        max-width: none;
        margin: 0 0 var(--space-lg) 0;
    }

    .faq-pergunta {
        padding: var(--space-md) var(--space-lg);
        padding-right: calc(var(--space-lg) + 45px);
        font-size: 1rem;
    }

    .faq-pergunta::after {
        width: 28px;
        height: 28px;
        right: var(--space-md);
    }

    .faq-pergunta::before {
        right: calc(var(--space-md) + 6px);
        font-size: 1rem;
    }

    .faq-resposta {
        padding: 0 var(--space-lg);
    }

    .faq-item.active .faq-resposta {
        padding: var(--space-md) var(--space-lg);
    }

    .ajuda-cards {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .ajuda-card {
        margin-bottom: 0;
    }

    .rodape-conteudo {
        grid-template-columns: 1fr;
        padding: 0 var(--space-lg) var(--space-lg);
        gap: var(--space-lg);
    }

    .rodape .coluna {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: var(--space-lg);
        right: var(--space-lg);
    }

    .whatsapp-float i {
        width: 28px;
        height: 28px;
    }

    /* Modal responsivo */
    .cotacao-container {
        width: 95%;
        max-width: 450px;
        max-height: 90vh;
    }

    .cotacao-content {
        height: 350px;
    }

    .chat-messages {
        max-height: 220px;
        padding: var(--space-md);
    }

    .chat-input-area {
        padding: var(--space-md);
    }

    .kit-card {
        padding: var(--space-md);
    }

    .kit-card h4 {
        font-size: 1rem;
    }

    .kit-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    header {
        padding: var(--space-md);
    }

    .logo img {
        height: 45px;
    }

    .hero {
        padding: var(--space-xl) var(--space-md);
        min-height: 50vh;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 8vw, 2rem);
        line-height: 1.2;
    }

    .hero p {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }

    .botao-cotacao,
    .botao-whatsapp {
        font-size: 0.9rem;
        padding: var(--space-sm) var(--space-md);
        width: 100%;
        max-width: 280px;
    }

    .destaque-economia {
        font-size: 0.9rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .destaque-economia img {
        width: 20px;
        height: 20px;
    }

    .form-orcamento {
        width: 100%;
        padding: var(--space-md);
    }

    .form-orcamento input,
    .form-orcamento button {
        font-size: 0.9rem;
        padding: var(--space-sm);
    }

    .servicos h2,
    .depoimentos h2,
    .faq h2,
    .ajuda h2 {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }

    .servico-item,
    .depoimento-item,
    .ajuda-card {
        padding: var(--space-md);
    }

    .servico-item h3 {
        font-size: 1.1rem;
        padding-left: var(--space-md);
    }

    .servico-item h3::before {
        width: 16px;
        height: 16px;
    }

    .faq-pergunta {
        padding: var(--space-sm) var(--space-md);
        padding-right: calc(var(--space-md) + 40px);
        font-size: 0.95rem;
    }

    .faq-pergunta::after {
        width: 24px;
        height: 24px;
        right: var(--space-sm);
    }

    .ajuda-card h3 {
        font-size: 1rem;
    }

    .ajuda-card p {
        font-size: 0.9rem;
    }

    .rodape-conteudo {
        padding: 0 var(--space-md) var(--space-md);
    }

    .rodape .coluna h3 {
        font-size: 1.1rem;
    }

    .rodape .coluna p {
        font-size: 0.9rem;
    }

    .rodape-direitos {
        font-size: 0.8rem;
        padding: var(--space-md);
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: var(--space-md);
        right: var(--space-md);
    }

    .whatsapp-float i {
        width: 24px;
        height: 24px;
    }

    /* Modal mobile pequeno */
    .cotacao-container {
        width: 98%;
        max-height: 85vh;
    }

    .cotacao-header {
        padding: var(--space-md);
    }

    .cotacao-header h3 {
        font-size: 1.1rem;
    }

    .cotacao-progress {
        padding: var(--space-md);
    }

    .cotacao-content {
        height: 300px;
    }

    .chat-messages {
        max-height: 180px;
        padding: var(--space-sm);
    }

    .chat-input-area {
        padding: var(--space-sm);
    }

    .chat-input {
        font-size: 0.9rem;
        padding: var(--space-sm) var(--space-md);
    }

    .btn-enviar {
        font-size: 0.9rem;
        padding: var(--space-sm) var(--space-md);
    }

    .kit-card {
        padding: var(--space-sm);
    }

    .kit-card h4 {
        font-size: 0.95rem;
    }

    .kit-info p {
        font-size: 0.8rem;
    }

    .recomendado {
        font-size: 0.7rem;
        padding: 2px var(--space-xs);
    }
}

/* Melhorias específicas para mobile */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .botao-cotacao,
    .botao-whatsapp {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .destaque-economia {
        font-size: 0.8rem;
    }

    .ajuda-card h3,
    .servico-item h3 {
        font-size: 0.95rem;
    }

    .cotacao-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .cotacao-content {
        height: calc(100vh - 140px);
    }
}

/* Media query específica para ajuda cards em mobile */
@media (max-width: 768px) {
    .ajuda-cards {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .ajuda-card {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .ajuda-cards {
        gap: 15px;
    }

    .ajuda-card {
        padding: 20px;
    }

    .ajuda-card h3 {
        font-size: 1.1em;
    }

    .ajuda-card p {
        font-size: 0.95em;
    }
}

/* Garantir que elementos não quebrem */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Melhorar toque em dispositivos móveis */
@media (hover: none) and (pointer: coarse) {

    .faq-pergunta,
    .btn-enviar,
    .botao-cotacao,
    .botao-whatsapp,
    nav a,
    .kit-card {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .faq-pergunta {
        padding: var(--space-lg);
        min-height: 60px;
    }

    .btn-enviar,
    .botao-cotacao,
    .botao-whatsapp {
        min-height: 48px;
    }

    nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Estilos para ícones Lucide */
[data-lucide] {
    display: inline-block;
    vertical-align: middle;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.btn-enviar [data-lucide],
.botao-cotacao [data-lucide],
.botao-whatsapp [data-lucide] {
    vertical-align: text-bottom;
}

.ajuda-card h3 [data-lucide],
.servico-item h3 [data-lucide] {
    vertical-align: text-top;
}

.rodape [data-lucide] {
    vertical-align: text-bottom;
}

/* Animações sutis para ícones */
.ajuda-card:hover h3 [data-lucide],
.servico-item:hover h3 [data-lucide] {
    transform: scale(1.1);
}

/*Sobre*/
.sobre-nos {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.sobre-nos h2 {
    color: var(--primary-blue-dark);
    margin-bottom: var(--space-md);
    font-size: 2rem;
    border-bottom: 2px solid var(--secondary-orange);
    padding-bottom: 0.5rem;
}

.sobre-nos p, .sobre-nos li {
    color: var(--neutral-700);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

/*Fotos de Instalação*/
.galeria-servicos {
  padding: 60px 20px;
  background-color: #f9fafb;
  text-align: center;
}

.titulo-secao {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--primary-blue-dark);
  position: relative;
}

.titulo-secao::after {
  content: '';
  width: 60px;
  height: 4px;
  background: var(--secondary-orange);
  display: block;
  margin: 10px auto 0;
  border-radius: var(--radius-sm);
}

.categoria-bloco {
  margin-bottom: 60px;
}

.categoria-titulo {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-blue-dark);
  position: relative;
}

.categoria-titulo.residencial { color: var(--primary-blue); }
.categoria-titulo.empresarial { color: var(--secondary-orange-dark); }
.categoria-titulo.rural { color: #16a34a; }

.galeria-imagens {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.galeria-imagens img {
  width: 360px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.galeria-imagens img:hover {
  transform: scale(1.05);
}

/*Financiamento*/
.financiamento {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.financiamento h2 {
  font-size: 2.5rem;
  color: var(--primary-blue-dark);
  margin-bottom: 20px;
  position: relative;
}

.financiamento h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 10px auto 0;
  background: var(--secondary-orange);
  border-radius: var(--radius-sm);
}

.descricao-financiamento {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--neutral-700);
  line-height: 1.7;
}

.bancos-parceiros {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.bancos-parceiros img {
  height: 60px;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: grayscale(30%);
}

.bancos-parceiros img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.financiamento-destaque {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 30px;
  animation: pulse 1.5s infinite ease-in-out;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === HEADER RETRÁTIL MOBILE (VERDADEIRO EFEITO SANFONA) === */

/* Botão toggle - escondido por padrão, visível apenas no mobile */
.header-toggle-btn {
    display: none;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.header-toggle-btn:active {
    transform: translateY(0);
}

.toggle-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Header principal */
.cotacao-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Conteúdo do header que será escondido/mostrado */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    transition: all 0.3s ease;
}

.header-title h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Estado colapsado do header */
/* Animação de pulso no botão para chamar atenção */
@keyframes pulse-attention {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(139, 195, 74, 0.7);
    }
    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(139, 195, 74, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(139, 195, 74, 0);
    }
}

.header-toggle-btn {
    animation: pulse-attention 3s infinite;
}

/* === NAVEGAÇÃO MOBILE SANFONA === */

/* Botão toggle da navegação - apenas para mobile */
.nav-mobile-toggle {
    display: none;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-mobile-toggle:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-mobile-toggle i {
    width: 18px;
    height: 18px;
}

/* Estados da navegação mobile */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center; /* Centralizar todos os elementos */
        text-align: center; /* Centralizar texto */
        gap: var(--space-sm);
        position: relative;
    }
    
    .logo {
        order: 1;
        margin-bottom: var(--space-xs);
    }
    
    .nav-mobile-toggle {
        display: flex !important;
        order: 2;
        align-self: center; /* Centralizar o botão */
        margin: 0; /* Remover margem negativa */
    }
    
    .main-nav {
        width: 100%;
        order: 3; /* Colocar navegação por último */
    }
    
    .main-nav.nav-collapsed {
        display: none;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: var(--space-md);
        margin: var(--space-sm) auto 0; /* Centralizar horizontalmente */
        text-align: center;
    }
    
    .main-nav li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: var(--space-sm) var(--space-md);
        border-radius: 6px;
        transition: background-color 0.2s ease;
        color: white !important; /* Texto branco no fundo azul */
        text-align: center;
        justify-content: center;
    }
    
    .main-nav a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white !important;
    }
}

@media (max-width: 480px) {
    .nav-mobile-toggle {
        padding: 6px 12px;
        font-size: 0.8rem;
        margin: 0; /* Remover margin-top negativo */
    }
    
    .nav-mobile-toggle i {
        width: 16px;
        height: 16px;
    }
    
    .main-nav ul {
        padding: var(--space-sm);
        margin: var(--space-xs) auto 0; /* Reduzir margem superior */
    }
    
    .main-nav a {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.9rem;
        text-align: center;
    }
}

/* Estilos para imagens do WhatsApp */
.botao-whatsapp img,
.whatsapp-float img,
.btn-whatsapp img {
    transition: all 0.3s ease;
    border-radius: 4px; /* Pequeno arredondamento */
}

.botao-whatsapp:hover img,
.whatsapp-float:hover img,
.btn-whatsapp:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

/* Responsividade adicional para Avaliações Google */
@media (max-width: 768px) {
    .reviews-carousel-container {
        margin: 1rem auto 0;
    }
    
    #google-reviews {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .review-item {
        padding: 1rem;
        width: calc(100% - 1rem);
        min-height: 200px;
    }
    
    .review-header {
        gap: 0.75rem;
    }
    
    .review-avatar,
    .review-avatar-placeholder {
        width: 40px;
        height: 40px;
    }
    
    .review-author {
        font-size: 0.9rem;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
    
    .carousel-controls {
        margin-top: 1.5rem;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    #google-reviews {
        padding: 0 0.5rem;
        gap: 0.75rem;
    }
    
    .review-item {
        padding: 0.75rem;
        width: calc(100% - 0.5rem);
        min-height: 180px;
    }
    
    .review-avatar,
    .review-avatar-placeholder {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .review-author {
        font-size: 0.85rem;
    }
    
    .review-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .review-date,
    .review-source {
        font-size: 0.75rem;
    }
    
    .carousel-controls {
        gap: 0.5rem;
        flex-direction: column;
    }
    
    .carousel-indicators {
        gap: 0.25rem;
    }
    
    .carousel-indicator {
        width: 6px;
        height: 6px;
    }
    
    .carousel-autoplay {
        font-size: 0.75rem;
        gap: 0.3rem;
        margin-top: 0.3rem;
    }
    
    .autoplay-btn {
        width: 20px;
        height: 20px;
    }
    
    .autoplay-btn svg {
        width: 10px;
        height: 10px;
    }
}

/* === RESPONSIVIDADE PARA NOVOS LAYOUTS === */

/* Mobile First - Manter Grid 2x2 para Valores */
@media (max-width: 768px) {
    .opcoes-valor-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xs);
        padding: var(--space-xs);
    }
    
    .opcao-valor-compact {
        min-height: 50px;
        padding: var(--space-xs);
        gap: var(--space-xs);
    }
    
    .opcao-valor-compact i {
        width: 16px !important;
        height: 16px !important;
    }
    
    .valor-info .valor-range {
        font-size: 0.8rem;
    }
    
    .valor-info .valor-desc {
        font-size: 0.7rem;
    }
    
    /* Tipo de Local em Mobile - Manter lado a lado */
    .opcoes-tipo-local {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xs);
        padding: var(--space-xs);
    }
    
    .opcao-local {
        min-height: 70px;
        padding: var(--space-sm);
    }
    
    .opcao-local i {
        width: 18px !important;
        height: 18px !important;
        margin-bottom: var(--space-xs);
    }
    
    .local-title {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
    
    .local-desc {
        font-size: 0.65rem;
    }
}

/* Tablet - Manter Grid 2x2 */
@media (min-width: 769px) and (max-width: 1024px) {
    .opcoes-valor-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
    
    .opcao-valor-compact {
        min-height: 55px;
        padding: var(--space-sm);
    }
    
    .opcoes-tipo-local {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
        max-width: 500px;
        margin: 0 auto;
    }
    
    .opcao-local {
        min-height: 85px;
    }
}

/* Desktop - Grid 2x2 otimizado */
@media (min-width: 1025px) {
    .opcoes-valor-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
        max-width: 500px;
        margin: 0 auto;
    }
    
    .opcao-valor-compact {
        min-height: 65px;
        padding: var(--space-md);
    }
    
    .opcoes-tipo-local {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
        max-width: 550px;
        margin: 0 auto;
    }
    
    .opcao-local {
        min-height: 100px;
    }
}

/* Micro dispositivos */
@media (max-width: 360px) {
    .opcoes-valor-grid {
        gap: 4px;
        padding: 4px;
    }
    
    .opcao-valor-compact {
        min-height: 45px;
        padding: 6px;
        gap: 6px;
    }
    
    .opcao-valor-compact i {
        width: 14px !important;
        height: 14px !important;
    }
    
    .valor-info .valor-range {
        font-size: 0.75rem;
    }
    
    .valor-info .valor-desc {
        font-size: 0.65rem;
    }
    
    .opcoes-tipo-local {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        padding: 4px;
    }
    
    .opcao-local {
        min-height: 60px;
        padding: var(--space-xs);
    }
    
    .opcao-local i {
        width: 16px !important;
        height: 16px !important;
        margin-bottom: 4px;
    }
    
    .local-title {
        font-size: 0.7rem;
    }
    
    .local-desc {
        font-size: 0.6rem;
    }
}

/* === MELHORIAS UX GERAIS === */

/* Feedback visual melhorado */
.opcao-valor-compact:active,
.opcao-local:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Animações suaves */
.opcoes-valor-grid,
.opcoes-tipo-local {
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de carregamento */
.opcao-valor-compact:disabled,
.opcao-local:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Melhor contraste para acessibilidade */
@media (prefers-contrast: high) {
    .opcao-valor-compact,
    .opcao-local {
        border-width: 3px;
    }
    
    .valor-info .valor-range,
    .local-title {
        font-weight: 800;
    }
}

/* === LAYOUT COMPACTO PARA 4 KITS === */
.kits-container-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-sm);
    padding: var(--space-sm);
    max-height: none; /* Remover limitação de altura */
    overflow: visible;
    background: #f8f9fa;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
}

.kit-card-compact {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1;
}

.kit-card-compact:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.kit-card-compact.kit-recomendado {
    border-color: var(--secondary-orange);
    background: linear-gradient(135deg, #fffbf0 0%, white 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.kit-card-compact.kit-recomendado:hover {
    border-color: var(--secondary-orange-dark);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.kit-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
    min-height: 20px;
}

.kit-categoria-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    background: var(--neutral-200);
    color: var(--neutral-700);
}

.kit-categoria-badge.residencial {
    background: #e3f2fd;
    color: #1976d2;
}

.kit-categoria-badge.comercial {
    background: #f3e5f5;
    color: #7b1fa2;
}

.kit-categoria-badge.rural {
    background: #e8f5e8;
    color: #388e3c;
}

.recomendado-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: linear-gradient(45deg, var(--secondary-orange), var(--secondary-orange-light));
    color: white;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.3);
}

.kit-title-compact {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}

.kit-specs-compact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: var(--space-xs);
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--neutral-600);
}

.spec-row i {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.kit-price-compact {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-orange);
    margin-bottom: 2px;
}

.kit-ideal-compact {
    font-size: 0.65rem;
    color: var(--neutral-500);
    font-style: italic;
    line-height: 1.2;
    margin-top: auto;
}

/* === RESPONSIVIDADE KITS COMPACTOS === */

/* Mobile - Manter 2 colunas */
@media (max-width: 768px) {
    .kits-container-compact {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: var(--space-xs);
        padding: var(--space-xs);
    }
    
    .kit-card-compact {
        min-height: 90px;
        padding: var(--space-xs);
    }
    
    .kit-title-compact {
        font-size: 0.7rem;
        margin-bottom: 3px;
    }
    
    .spec-row {
        font-size: 0.6rem;
        gap: 2px;
    }
    
    .spec-row i {
        width: 9px !important;
        height: 9px !important;
    }
    
    .kit-price-compact {
        font-size: 0.7rem;
    }
    
    .kit-ideal-compact {
        font-size: 0.55rem;
    }
    
    .kit-categoria-badge,
    .recomendado-badge {
        font-size: 0.45rem;
        padding: 1px 3px;
    }
}

/* Tablet - Grid 2x2 compacto */
@media (min-width: 769px) and (max-width: 1024px) {
    .kits-container-compact {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: var(--space-sm);
        max-width: 500px;
        margin: 0 auto;
    }
    
    .kit-card-compact {
        min-height: 100px;
        padding: var(--space-sm);
    }
    
    .kit-title-compact {
        font-size: 0.8rem;
    }
    
    .spec-row {
        font-size: 0.7rem;
    }
}

/* Desktop - Grid 2x2 centrado com altura fixa */
@media (min-width: 1025px) {
    .kits-container-compact {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: var(--space-md);
        max-width: 550px;
        margin: 0 auto;
        height: 280px; /* Altura fixa para evitar problemas de scroll */
        overflow: visible;
    }
    
    .kit-card-compact {
        min-height: 120px;
        max-height: 130px;
        padding: var(--space-md);
        overflow: hidden;
    }
    
    .kit-title-compact {
        font-size: 0.85rem;
        line-height: 1.1;
        margin-bottom: 4px;
    }
    
    .spec-row {
        font-size: 0.75rem;
        gap: 6px;
        line-height: 1.2;
    }
    
    .kit-price-compact {
        font-size: 0.85rem;
    }
    
    .kit-ideal-compact {
        font-size: 0.7rem;
        line-height: 1.1;
    }
}

/* Micro dispositivos - Manter 2 colunas mas mais compacto */
@media (max-width: 360px) {
    .kits-container-compact {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 3px;
        padding: 3px;
    }
    
    .kit-card-compact {
        min-height: 80px;
        padding: 4px;
    }
    
    .kit-title-compact {
        font-size: 0.65rem;
        margin-bottom: 2px;
    }
    
    .kit-specs-compact {
        gap: 1px;
        margin-bottom: 3px;
    }
    
    .spec-row {
        font-size: 0.55rem;
        gap: 1px;
    }
    
    .spec-row i {
        width: 8px !important;
        height: 8px !important;
    }
    
    .kit-price-compact {
        font-size: 0.65rem;
    }
    
    .kit-ideal-compact {
        font-size: 0.5rem;
    }
    
    .kit-categoria-badge,
    .recomendado-badge {
        font-size: 0.4rem;
        padding: 1px 2px;
    }
}

/* Seção de Endereço */
.address-section p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Container da imagem e do mapa */
.address-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Foto da fachada */
.faixada img {
    width: 100%;
    border-radius: 10px;
}

/* Mapa */
.map {
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

/* Responsivo: em telas pequenas, empilha */
@media (max-width: 768px) {
    .address-content {
        flex-direction: column;
    }
}

/* Título "Onde estamos" */
.address-section h2 {
    text-align: center;
    font-size: 2rem; /* Aumente conforme necessário */
    margin-bottom: 15px;
}

