/* =============================================
   CARTÕES E IMPRESSOS - Estilos Principais
   ============================================= */

/* Reset e Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: rgb(10, 81, 159);
    --primary-dark: rgb(8, 65, 127);
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-border: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    width: 100%;
}

main {
    width: 100%;
    display: block;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background-color: #f5f5f5;
    padding: 3px 0;
    border-bottom: 4px solid #A0138E;
}

.top-bar-text {
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.top-bar-cta {
    display: inline-block;
    padding: 4px 16px;
    background-color: #f5f5f5;
    border: 2px solid #2CB604;
    border-radius: 4px;
    color: #2CB604;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
    margin-left: 4px;
}

.top-bar-cta:hover {
    background-color: #2CB604;
    color: var(--white);
}

/* =============================================
   HEADER
   ============================================= */
.header {
    background-color: var(--primary-color);
    padding: 9px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo img {
    height: 42px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* =============================================
   PRODUCT SECTION
   ============================================= */
.product-section {
    padding: 60px 0;
    background-color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    background-color: var(--gray-light);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.thumbnail {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
}

/* Product Info */
.product-info {
    padding: 20px 0;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--whatsapp-green);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

/* Product Note */
.product-note {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--gray-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.product-note p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.testimonials-grid {
    column-count: 4;
    column-gap: 25px;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    break-inside: avoid;
    margin-bottom: 25px;
    display: block;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.contact-icon.whatsapp-icon {
    background-color: var(--whatsapp-green);
}

.contact-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* =============================================
   SEO SECTION
   ============================================= */
.seo-section {
    padding: 80px 0;
    background-color: var(--gray-light);
    clear: both;
    position: relative;
    width: 100%;
    display: block;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.seo-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

.seo-content p:last-child {
    margin-bottom: 0;
}

.seo-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* =============================================
   PRE-FOOTER
   ============================================= */
.pre-footer {
    background-color: var(--primary-color);
    padding: 6px 0;
    color: var(--white);
    width: 100%;
    clear: both;
    display: block;
}

.pre-footer section {
    width: 100%;
}

.pre-footer-content {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 28px;
    align-items: center;
    justify-content: center;
}

.pre-footer-text {
    font-size: 0.67rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.pre-footer-text p {
    margin: 0;
}

.pre-footer-logo {
    padding-left: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.pre-footer-logo::before {
    content: '';
    position: absolute;
    left: 0;
    width: 1px;
    height: 25px;
    background-color: white;
}

.pre-footer-logo img {
    height: 31.5px;
    width: auto;
}

.pre-footer-social {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 20px;
    position: relative;
}

.pre-footer-social::before {
    content: '';
    position: absolute;
    left: 0;
    width: 1px;
    height: 25px;
    background-color: white;
}

.pre-footer-social a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    transition: var(--transition);
}

.pre-footer-social a:hover {
    opacity: 0.8;
}

.pre-footer-social svg {
    flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
#footer-container {
    width: 100%;
    clear: both;
    display: block;
    position: relative;
    width: 100%;
}

.footer {
    background-color: #0a2540;
    padding: 3px 0;
    width: 100%;
    display: block;
    clear: both;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
    .testimonials-grid {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: static;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        column-count: 2;
        column-gap: 20px;
    }

    .top-bar {
        padding-left: 5%;
        padding-right: 5%;
    }

    .top-bar-text {
        font-size: 0.85rem;
        padding: 0;
        white-space: nowrap;
    }
    
    .top-bar-cta {
        display: inline-block;
        font-size: 0.85rem;
        padding: 3px 12px;
        border-width: 1px;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        box-shadow: var(--shadow);
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .thumbnail-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .pre-footer-content {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .pre-footer-logo::before,
    .pre-footer-social::before {
        display: none;
    }

    .pre-footer-logo,
    .pre-footer-social {
        padding-left: 0;
    }

    .pre-footer-text {
        order: 2;
        width: 100%;
        margin-top: 5px;
    }

    .pre-footer-logo {
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .pre-footer-logo img {
        height: 31.5px;
        margin: 0;
    }

    .pre-footer-social {
        order: 1;
        justify-content: center;
        gap: 15px;
    }

    .footer-text {
        font-size: 0.8rem;
        padding: 0 10px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .testimonials-grid {
        column-count: 1;
        column-gap: 15px;
    }

    .top-bar {
        padding-left: 2%;
        padding-right: 2%;
    }

    .top-bar-text {
        white-space: nowrap;
        font-size: 0.78rem;
        overflow: hidden;
    }

    .top-bar-cta {
        font-size: 0.78rem;
        padding: 2px 8px;
        margin-left: 2px;
    }

    .container {
        padding: 0 15px;
    }

    .product-section {
        padding: 40px 0;
    }

    .testimonials-section,
    .contact-section {
        padding: 60px 0;
    }

    .logo img {
        height: 40px;
    }

    .product-title {
        font-size: 1.4rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .btn-whatsapp {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* =============================================
   BANNER SECTION
   ============================================= */
.banner-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.banner-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* =============================================
   DIFERENCIAIS SECTION
   ============================================= */
.diferenciais-section {
    padding: 80px 0;
    background-color: var(--white);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.diferencial-item {
    text-align: center;
}

.diferencial-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.diferencial-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.diferencial-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* =============================================
   RESPONSIVE - BANNER & SERVICES
   ============================================= */
@media (max-width: 768px) {
    .banner-section {
        padding: 60px 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .banner-description {
        font-size: 1rem;
    }

    .services-section,
    .diferenciais-section {
        padding: 60px 0;
    }

    .services-grid,
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }

    .banner-description {
        font-size: 0.95rem;
    }

    .service-item {
        padding: 20px;
    }
}

/* =============================================
   SEO INTERNAL SECTIONS (DENTRO DA SEO SECTION)
   ============================================= */

/* SEO Banner */
.seo-banner {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.seo-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.seo-banner-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* SEO Services */
.seo-services {
    margin-bottom: 60px;
}

.seo-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
}

.seo-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.seo-service-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.seo-service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.seo-service-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.seo-service-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* SEO Diferenciais */
.seo-diferenciais {
    margin-bottom: 60px;
}

.seo-diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.seo-diferencial-item {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.seo-diferencial-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.seo-diferencial-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.seo-diferencial-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.seo-diferencial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive para SEO Sections */
@media (max-width: 768px) {
    .seo-banner {
        padding: 30px 15px;
        margin-bottom: 40px;
    }

    .seo-page-title {
        font-size: 1.6rem;
    }

    .seo-banner-desc {
        font-size: 1rem;
    }

    .seo-section-title {
        font-size: 1.5rem;
    }

    .seo-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .seo-diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .seo-page-title {
        font-size: 1.4rem;
    }

    .seo-service-item,
    .seo-diferencial-item {
        padding: 20px;
    }
}

/* =============================================
   AJUSTE PARA DIFERENCIAIS - DESKTOP
   Três diferenciais lado a lado em desktop
   ============================================= */
@media (min-width: 769px) {
    .seo-diferenciais-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =============================================
   FOOTER FIX - Garante que o footer fique no final
   ============================================= */
#footer-container {
    clear: both !important;
    float: none !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.pre-footer,
.footer {
    clear: both !important;
    float: none !important;
    position: relative !important;
    width: 100% !important;
}

/* Garante que sections não flutem sobre o footer */
section {
    position: relative !important;
    clear: both !important;
}

/* Clearfix para garantir fluxo normal */
#footer-container::before,
#footer-container::after {
    content: '';
    display: table;
    clear: both;
}

/* Garante ordem correta: seo-section > pre-footer > footer */
main {
    display: block;
    width: 100%;
    clear: both;
}

/* Garante que footer-container apareça após seo-section */
.seo-section + #footer-container,
.seo-section ~ #footer-container {
    display: block;
    clear: both;
    width: 100%;
}

/* Garante que pre-footer e footer apareçam na ordem correta */
#footer-container > section.pre-footer {
    display: block;
    clear: both;
    width: 100%;
}

#footer-container > footer.footer {
    display: block;
    clear: both;
    width: 100%;
}

