/* Root Variables */
:root {
    --background: #D7D7D9;
    --foreground: #05080D;
    --card: #D7D7D9;
    --card-foreground: #05080D;
    --primary: #0F1726;
    --primary-foreground: #D7D7D9;
    --secondary: #181E26;
    --secondary-foreground: #D7D7D9;
    --muted: #9C9FA6;
    --muted-foreground: #05080D;
    --accent: #D91E2E;
    --accent-foreground: #ffffff;
    --border: #181E26;
    --input: #9C9FA6;
    --ring: #0F1726;
    --radius: 0.75rem;

    --brand-blue: #0F1726;
    --brand-red: #D91E2E;
    --brand-dark-blue: #05080D;
    --brand-medium-blue: #181E26;
    --brand-black: #05080D;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #20BD5A;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.1s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utilities */
.text-accent { color: var(--accent); }
.text-white { color: #ffffff; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 0.625rem;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--brand-medium-blue);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.875rem 1.875rem;
    font-size: 1.0625rem;
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-lg svg {
    width: 1.375rem;
    height: 1.375rem;
}

@media (max-width: 640px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.125rem;
        width: 100%;
    }

    .btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    .btn-lg svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: rgba(43, 48, 140, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.badge-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .section-header h2 { font-size: 2.5rem; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .header-container { height: 5rem; }
}

.logo img {
    height: 2.5rem;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo img { height: 3rem; }
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.desktop-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(13, 13, 13, 0.8);
}

.desktop-nav a:hover {
    color: var(--primary);
}

.desktop-cta {
    display: none;
    gap: 0.75rem;
    align-items: center;
}

.desktop-cta .btn-whatsapp {
    padding: 0.4rem 0.8rem;
    font-size: 0.8125rem;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .desktop-nav, .desktop-cta { display: flex; }
    .mobile-menu-toggle { display: none; }
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    background-color: var(--background);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    gap: 1rem;
}

.mobile-nav-content a:not(.btn) {
    padding: 0.5rem 0;
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 3rem;
    background: linear-gradient(135deg, var(--brand-dark-blue), var(--brand-medium-blue), var(--brand-blue));
    color: #ffffff;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero { padding-top: 7rem; padding-bottom: 5rem; }
}

.hero-bg-patterns {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.pattern-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 18rem;
    height: 18rem;
    background-color: var(--primary);
    border-radius: 50%;
    filter: blur(64px);
    transform: translate(-50%, -50%);
}

.pattern-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background-color: var(--primary);
    border-radius: 50%;
    filter: blur(64px);
    transform: translate(33%, 33%);
}

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .hero-container { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
}

.hero-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content { text-align: left; }
}

.hero-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
}

@media (min-width: 1280px) {
    .hero-content h1 { font-size: 3.75rem; }
}

.hero-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 32rem;
    margin: 0 auto 1.5rem;
}

@media (min-width: 1024px) {
    .hero-content p { margin-left: 0; }
}

.hero-cta {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .hero-cta { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .hero-cta { margin-left: 0; }
}

.cta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.cta-item svg {
    color: #ffffff;
    flex-shrink: 0;
}

.cta-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero-image-container {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 30, 89, 0.5), transparent);
}

.floating-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .floating-badge { bottom: -1.5rem; left: -1.5rem; }
}

.badge-title { font-weight: 700; font-size: 1.125rem; }
.badge-text { font-size: 0.875rem; opacity: 0.9; }

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: rgba(244, 244, 245, 0.3);
}

@media (min-width: 768px) {
    .services { padding: 6rem 0; }
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background-color: var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: #ffffff;
}

.service-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #ffffff;
    color: var(--primary);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.service-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--background);
}

@media (min-width: 768px) {
    .about { padding: 6rem 0; }
}

.about-container {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about-container { grid-template-columns: repeat(2, 1fr); align-items: center; }
}

.about-visual {
    position: relative;
}

.about-visual-wrapper {
    position: relative;
    aspect-ratio: 1;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .about-visual-wrapper { margin-left: 0; }
}

.visual-bg-1, .visual-bg-2 {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
}

.visual-bg-1 {
    background: linear-gradient(to bottom right, rgba(43, 48, 140, 0.2), rgba(38, 42, 115, 0.2));
    transform: rotate(3deg);
}

.visual-bg-2 {
    background: linear-gradient(to top right, rgba(217, 30, 46, 0.1), rgba(43, 48, 140, 0.1));
    transform: rotate(-3deg);
}

.about-brand-box {
    position: relative;
    height: 100%;
    background: linear-gradient(to bottom right, var(--brand-dark-blue), var(--brand-blue));
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    padding: 2rem;
}

.brand-number { font-size: 4rem; font-weight: 700; line-height: 1; }
.brand-name { font-size: 1.5rem; font-weight: 600; opacity: 0.9; }
.brand-sub { font-size: 0.875rem; opacity: 0.7; margin-top: 0.5rem; }

@media (min-width: 768px) {
    .brand-number { font-size: 6rem; }
    .brand-name { font-size: 1.75rem; }
}

.brand-stats {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.stat-number { display: block; font-size: 1.75rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.75rem; opacity: 0.7; }

@media (min-width: 768px) {
    .stat-number { font-size: 2.25rem; }
}

.about-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; }
.about-content p { color: var(--muted-foreground); font-size: 1.125rem; margin-bottom: 1.5rem; line-height: 1.7; }

.highlights-grid {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-item svg {
    color: var(--whatsapp-green);
    flex-shrink: 0;
}

.highlight-item span { font-size: 0.875rem; }

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: linear-gradient(to bottom right, var(--brand-dark-blue), var(--brand-medium-blue), var(--brand-blue));
    color: #ffffff;
}

.benefits .section-header h2,
.benefits .section-header p {
    color: #ffffff;
}

@media (min-width: 768px) {
    .benefits { padding: 6rem 0; }
}

.benefits-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background-color: #ffffff;
    color: var(--primary);
    transform: scale(1.1);
}

.benefit-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }

.benefits-cta {
    text-align: center;
}

.benefits-cta p { font-size: 1.125rem; opacity: 0.8; margin-bottom: 1.5rem; }

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background-color: rgba(244, 244, 245, 0.3);
}

@media (min-width: 768px) {
    .faq { padding: 6rem 0; }
}

.faq-container {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card);
    border: 1px solid rgba(228, 228, 231, 0.5);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--foreground);
    font-weight: 600;
}

.faq-trigger svg {
    transition: transform 0.3s ease;
    color: var(--muted-foreground);
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 15rem;
}

.faq-content p {
    padding: 0 1.5rem 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: var(--background);
    overflow: hidden;
}

@media (min-width: 768px) {
    .testimonials { padding: 6rem 0; }
}

.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1rem;
    background-color: #f5f5f5;
}

.gallery-carousel {
    display: flex;
    gap: 0;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
    user-select: none;
}

.gallery-carousel:active {
    cursor: grabbing;
}

.gallery-carousel img {
    min-width: 100%;
    flex: 0 0 100%;
    height: 400px;
    object-fit: contain;
    object-position: center;
    border-radius: 1rem;
    background-color: #f5f5f5;
}

@media (max-width: 640px) {
    .gallery-carousel img {
        height: 300px;
    }
}

@media (min-width: 768px) {
    .gallery-carousel img {
        height: 450px;
    }
}

/* Footer */
.footer {
    background-color: var(--brand-black);
    color: #ffffff;
    padding: 4rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    font-size: 1.75rem;
    font-weight: 700;
}

 .footer-brand p { font-size: 0.875rem; color: #ffffff; opacity: 0.95; margin-top: 0.25rem; }

 .footer-desc {
    max-width: 28rem;
    color: #ffffff; /* maior contraste no footer */
    margin: 1.5rem 0 2rem;
    line-height: 1.6;
 }

.footer-divider {
    width: 100%;
    max-width: 20rem;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

 .copyright {
    font-size: 0.875rem;
    color: #ffffff;
    opacity: 0.95;
 }

 /* Footer links contrast */
 .footer a { color: #ffffff; }

.whatsapp-icon {
    flex-shrink: 0;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float .whatsapp-icon {
    width: 36px;
    height: 36px;
}

/* Footer Responsive Grid */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
    }

    .footer > div > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .footer h4 {
        font-size: 1rem;
    }

    .footer p {
        font-size: 0.875rem;
    }
}

/* Google Maps Responsive */
iframe {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .footer > div > div:nth-child(2) {
        height: 250px !important;
    }
}
