/* RESET TOTAL - MOBILE FIRST */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
    color: #333;
    background: #f8f9fa;
    padding-top: 60px; /* HEADER BAIXINHO */
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* HEADER SUPER COMPACTO */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    height: 60px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 12px;
    max-width: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    color: #27ae60;
    font-size: 1.1rem; /* PEQUENO */
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.logo span {
    color: #666;
    font-size: 0.7rem; /* PEQUENO */
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 8px; /* ESPAÇO MÍNIMO */
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 0.75rem; /* PEQUENO */
    font-weight: 500;
    padding: 4px 6px;
    white-space: nowrap;
}

/* HERO - TUDO EM UMA COLUNA */
.hero {
    padding: 20px 12px;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-text {
    width: 100%;
}

.hero-subtitle {
    font-size: 1.1rem; /* PEQUENO E LEGÍVEL */
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    padding: 0 5px;
    word-break: break-word;
}

/* FORMULÁRIO SUPER COMPACTO */
.quote-form-section {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    width: 100%;
}

.quote-form-title {
    font-size: 1.05rem; /* PEQUENO */
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.quote-form-subtitle {
    font-size: 0.8rem; /* PEQUENO */
    color: #666;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.3;
    padding: 0 3px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.form-input,
.form-textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
    width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
    font-size: 0.85rem;
}

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

.form-submit-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 5px;
}

.quote-form-note {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    line-height: 1.3;
    padding: 0 5px;
}

/* BOTÕES CTA - COMPACTOS */
.cta-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
    width: 100%;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem; /* PEQUENO */
    width: 100%;
    text-align: center;
}

.whatsapp-cta {
    background: #25d366;
    color: white;
}

.phone-cta {
    background: #3498db;
    color: white;
}

/* IMAGEM DO HERO */
.hero-image {
    width: 100%;
    margin-top: 15px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* SEÇÕES GERAIS */
.services, .testimonials, .contact {
    padding: 25px 12px;
}

.section-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    padding: 0 10px;
}

/* SERVIÇOS */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.service-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.service-image {
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.service-card p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

/* DEPOIMENTOS */
.testimonials {
    background: #f1f8ff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.testimonial-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #444;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.8rem;
    color: #333;
}

.stars {
    color: #f39c12;
    font-size: 0.8rem;
}

/* CONTATO */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.contact-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.contact-icon i {
    font-size: 1rem;
    color: white;
}

.contact-card h3 {
    font-size: 0.9rem;
    margin-bottom: 3px;
    color: #333;
}

.contact-card p {
    font-size: 0.8rem;
    color: #666;
}

/* CORES DOS ÍCONES */
.whatsapp .contact-icon { background: #25d366; }
.phone .contact-icon { background: #3498db; }
.maps .contact-icon { background: #34a853; }
.google-my-business .contact-icon { background: #4285f4; }

/* RODAPÉ */
.footer {
    background: #2c3e50;
    color: white;
    padding: 20px 12px 15px;
    text-align: center;
}

.footer-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-cta {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    padding: 0 10px;
}

.social-media-footer {
    display: flex;
    gap: 12px;
}

.social-media-footer a {
    color: white;
    font-size: 1.1rem;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 10px;
}

/* ========== TABLET (480px+) ========== */
@media (min-width: 480px) {
    html {
        font-size: 15px;
    }
    
    body {
        padding-top: 65px;
    }
    
    .header {
        height: 65px;
    }
    
    .header .container {
        padding: 0 20px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo span {
        font-size: 0.8rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    
    .hero {
        padding: 25px 20px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .quote-form-section {
        padding: 18px;
    }
    
    .quote-form-title {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== DESKTOP (768px+) ========== */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .header {
        height: 70px;
    }
    
    .header .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 30px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo span {
        font-size: 0.9rem;
    }
    
    .nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 40px 30px;
    }
    
    .hero-content {
        flex-direction: row;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        gap: 40px;
    }
    
    .hero-text {
        flex: 1;
        text-align: left;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
        text-align: left;
        padding: 0;
    }
    
    .quote-form-section {
        max-width: 500px;
    }
    
    .cta-buttons-group {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .cta-button {
        width: auto;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-image {
        flex: 1;
        margin-top: 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .footer-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ========== CELULAR MUITO PEQUENO (até 320px) ========== */
@media (max-width: 320px) {
    html {
        font-size: 13px;
    }
    
    body {
        padding-top: 55px;
    }
    
    .header {
        height: 55px;
    }
    
    .header .container {
        padding: 0 8px;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo span {
        font-size: 0.65rem;
    }
    
    .nav {
        gap: 5px;
    }
    
    .nav-link {
        font-size: 0.7rem;
        padding: 3px 4px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 8px;
        font-size: 0.8rem;
    }
}