@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Outfit:wght@300;400;600&display=swap');

:root {
    --bg-deep: #FFFFFF;
    --bg-elevated: #FDFDFD;
    --primary-blue: #002D62; /* Deep Navy */
    --accent-blue: #0056B3; /* Royal Blue */
    --gold-accent: #C5A059; /* Subtle Gold for premium feel */
    --text-main: #0A0A0A;
    --text-muted: #555555;
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-bold: 0 20px 50px rgba(0, 45, 98, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.bg-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 45, 98, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.blob-1 { top: -200px; left: -200px; }
.blob-2 { bottom: -200px; right: -200px; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

/* --- Header & Nav --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 5px 0;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    padding: 3px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

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

header .logo img {
    height: 85px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.6;
    transition: var(--transition);
    text-transform: uppercase;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.8rem;
    transition: var(--transition);
}

.cta-button-nav {
    background: var(--primary-blue);
    padding: 12px 25px;
    border-radius: 2px;
    color: white !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--bg-deep);
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-deep) 0%, transparent 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2070') no-repeat center center/cover;
    z-index: 1;
    opacity: 0.9;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-deep) 10%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-subtitle {
    color: var(--gold-accent);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 30px;
    display: block;
    letter-spacing: 5px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 40px;
    color: #000000;
}

.hero h1 span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary-blue);
    margin-top: 10px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 550px;
    font-weight: 400;
    border-left: 2px solid var(--glass-border);
    padding-left: 30px;
}

.hero-btns {
    display: flex;
    gap: 25px;
}

.btn-premium.solid,
.cta-button-nav {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 74, 173, 0.3);
    border-radius: 2px;
}

.btn-premium {
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition);
    border: none;
    display: inline-block;
}

.btn-premium.outline {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 45, 98, 0.1);
    color: var(--primary-blue);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.btn-premium.outline:hover {
    background: #FFFFFF;
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 45, 98, 0.15);
}

.btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Services --- */
.services {
    padding: 80px 0;
}

.section-label {
    display: block;
    text-align: center;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gold-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: #FFFFFF;
    padding: 50px 40px;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 45, 98, 0.1);
    border-color: rgba(0, 45, 98, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.highlight {
    background: var(--primary-blue);
    border: none;
    box-shadow: 0 15px 40px rgba(0, 45, 98, 0.3);
}

.service-card.highlight h3,
.service-card.highlight p {
    color: #FFFFFF;
}

.service-card.highlight p {
    opacity: 0.9;
}

.service-card.highlight .card-num {
    color: #FFFFFF;
    opacity: 0.05;
}

.service-card.highlight .card-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-accent);
}

.card-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    opacity: 0.12;
    position: absolute;
    bottom: 15px;
    right: 20px;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transition: var(--transition);
}

.service-card:hover .card-num {
    transform: scale(1.1);
    opacity: 0.25;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 45, 98, 0.05);
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.card-icon i {
    width: 30px;
    height: 30px;
}

.service-card:hover .card-icon {
    background: var(--primary-blue);
    color: #FFFFFF;
    transform: scale(1.1) rotate(5deg);
}

.service-card.highlight:hover .card-icon {
    background: #FFFFFF;
    color: var(--primary-blue);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: var(--primary-blue);
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* --- Services Carousel --- */
.services {
    background: radial-gradient(circle at top right, rgba(0, 45, 98, 0.03) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(0, 45, 98, 0.03) 0%, transparent 40%),
                #fcfcfc;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 45, 98, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 45, 98, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.services-carousel {
    padding: 20px 0 60px !important;
    width: 100%;
    overflow: hidden !important;
}

.services-carousel .swiper-slide {
    width: 320px;
    height: 320px;
    transition: var(--transition);
    filter: brightness(0.8) grayscale(0.2);
}

.services-carousel .swiper-slide-active {
    filter: brightness(1) grayscale(0);
}

.service-slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 45, 98, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    -webkit-box-reflect: below 15px linear-gradient(transparent, rgba(0,0,0,0.1));
}

.service-slide-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 45, 98, 0.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: #FFFFFF;
    background: transparent;
    width: 55px;
    height: 55px;
    transition: none;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-prev {
    left: 10% !important;
}

.swiper-button-next {
    right: 10% !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: transparent;
    color: #FFFFFF;
    transform: translateY(-50%);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Custom Pagination dots */
.services-carousel .swiper-pagination {
    bottom: 20px !important;
}

.services-carousel .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #ccc !important;
    opacity: 0.5 !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
}

.services-carousel .swiper-pagination-bullet-active {
    width: 35px !important;
    height: 12px !important;
    border-radius: 6px !important;
    background: var(--primary-blue) !important;
    opacity: 1 !important;
}

/* --- About Us --- */
.about {
    padding: 120px 0;
    background: var(--bg-deep);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 600px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

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

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 45, 98, 0.05);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-icon i {
    width: 20px;
    height: 20px;
}

.feature-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
    color: var(--primary-blue);
}

.feature-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-card {
    background: #F8FAFC;
    padding: 40px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow-soft);
    border-color: var(--accent-blue);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--text-muted);
}

.stat-card.highlight {
    background: var(--primary-blue);
    color: white;
}

.stat-card.highlight i {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.stat-card.highlight .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

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

/* --- Locations (Refined) --- */
.locations {
    padding: 80px 0;
    background: linear-gradient(to bottom, #FFFFFF, #F8FAFC);
    position: relative;
}

.locations::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 45, 98, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 45, 98, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.locations .container {
    position: relative;
    z-index: 1;
}

.location-wrapper {
    display: flex;
    align-items: center;
    gap: 100px;
}

.location-content {
    flex: 1;
}

.location-img {
    flex: 1;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1590674000180-255964267204?auto=format&fit=crop&q=80&w=2070') no-repeat center center/cover;
    position: relative;
    border: 1px solid var(--glass-border);
}

.location-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 20px solid var(--bg-deep);
    mix-blend-mode: multiply;
}

.location-list {
    list-style: none;
    margin-top: 40px;
}

.location-list li {
    padding: 25px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}

.location-list li span {
    color: var(--primary-blue);
    font-weight: 700;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
}

.contact-card {
    background: #FFFFFF;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-bold);
    overflow: hidden;
    border-radius: 4px;
}

.contact-info-panel {
    background: var(--primary-blue);
    padding: 80px 60px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.contact-form-panel {
    padding: 80px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
}

/* --- Footer --- */
footer {
    padding: 60px 0 30px;
    background: #FFFFFF;
    position: relative;
    text-align: center;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px; /* Altura da parte azul */
    background: linear-gradient(178deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    clip-path: url(#footer-wave); /* Referência para o SVG que adicionaremos no HTML */
    z-index: 0;
}

/* Fallback/Modern approach with mask or inline SVG if clip-path is tricky */
footer {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23002D62' fill-opacity='1' d='M0,0 C150,0 300,50 450,150 C600,250 900,300 1440,320 L1440,320 L0,320 Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

footer .logo {
    margin-bottom: 60px; /* Aumentar para empurrar logo para cima da onda */
    position: relative;
    z-index: 2;
}

footer .logo img.footer-logo {
    height: 150px !important;
    width: auto;
    opacity: 1;
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 1;
}

.social-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.social-btn:hover {
    background: #FFFFFF;
    color: var(--primary-blue);
}

.social-btn i {
    width: 24px;
    height: 24px;
}

/* --- FAQ Section --- */
.faq {
    padding: 80px 0;
    background-color: var(--bg-elevated);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.faq-item {
    background: #FFFFFF;
    padding: 40px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* --- Blog Section --- */
.blog {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #FFFFFF;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 550px;
    box-shadow: var(--shadow-soft);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.instagram-media {
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    width: 35px;
    height: 35px;
}

/* --- Promo Popup --- */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none; /* Inicia oculto, JS mostrará */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: #FFFFFF;
    max-width: 450px;
    width: 100%;
    padding: 50px 40px;
    border-radius: 30px;
    position: relative;
    text-align: center;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f2f5;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-popup:hover {
    background: var(--primary-blue);
    color: #FFFFFF;
}

.popup-badge {
    background: rgba(0, 45, 98, 0.1);
    color: var(--primary-blue);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.popup-content h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.promo-value {
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-value span {
    font-size: 1.5rem;
    background: var(--gold-accent);
    color: var(--bg-deep);
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 10px;
}

.popup-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 35px;
    line-height: 1.6;
}

.popup-content .btn-premium {
    width: 100%;
    display: block;
    text-align: center;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }

    .hero h1 {
        font-size: 3.8rem;
    }

    .hero-content {
        margin-top: 100px;
    }

    .hero p {
        font-size: 1.05rem;
        max-width: 450px;
        margin-bottom: 30px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    header {
        padding: 15px 0;
    }

    .logo img {
        height: 80px;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-content {
        margin-top: 120px;
    }

    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .faq-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        margin-top: 100px;
    }

    .location-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 25px;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-deep);
        padding: 120px 40px;
        transition: var(--transition);
        border-left: 1px solid var(--glass-border);
        align-items: flex-start;
        gap: 30px;
    }

    .nav-links .cta-button-nav {
        white-space: nowrap;
        width: auto;
        padding: 15px 30px;
        margin-top: 10px;
    }

    .nav-links.active {
        right: 0;
    }

    /* Refinamento das especialidades no mobile */
    .service-card {
        padding: 90px 30px 50px;
    }

    .card-num {
        font-size: 3.5rem;
        top: 15px;
        left: 20px;
    }

    .location-img {
        height: 300px;
    }

    /* Correção da Seção de Contato que quebrava no mobile */
    .contact {
        padding: 80px 0;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 40px 20px;
    }

    .contact-info-panel h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-all;
    }

    .contact-methods p {
        word-break: break-all;
        font-size: 0.9rem;
    }

    .contact-card {
        max-width: 100%;
        overflow: hidden;
    }

    /* Popup Responsivo */
    .popup-content h2 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .popup-content {
        padding: 40px 25px;
    }

    /* Swiper Arrows no bottom */
    .services-carousel .swiper-button-next,
    .services-carousel .swiper-button-prev {
        top: auto;
        bottom: 10px;
        width: 40px;
        height: 40px;
    }

    .services-carousel .swiper-button-prev {
        left: 30%;
    }

    .services-carousel .swiper-button-next {
        right: 30%;
    }
}

@media (max-width: 480px) {
    .contact-info-panel h2 {
        font-size: 1.4rem;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 35px 15px;
    }

    .services-carousel .swiper-slide {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .btn-premium {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .about-stats-grid {
        gap: 15px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
}
/* --- Service Modal (Instagram Style) --- */
.clickable-slide {
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 100%;
    max-width: 1100px;
    height: 85vh;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
}

.modal-content-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.modal-image-side {
    flex: 1.5;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-image-side img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-info-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid #efefef;
    min-width: 350px;
    min-height: 0;
}

.modal-header {
    padding: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #efefef;
}

.modal-profile-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 1px solid #efefef;
}

.modal-profile-info {
    display: flex;
    flex-direction: column;
}

.modal-username {
    font-weight: 700;
    font-size: 0.9rem;
    color: #262626;
}

.modal-location {
    font-size: 0.75rem;
    color: #262626;
}

.modal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.modal-caption {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #262626;
}

.modal-caption .username {
    font-weight: 700;
    margin-right: 5px;
}

#modal-description {
    margin-top: 10px;
    color: #444;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #efefef;
    display: flex;
    justify-content: center;
}

.modal-cta {
    background: #002D62; /* Using var(--primary-blue) equivalent */
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    text-align: center;
}

.modal-cta:hover {
    background: #0056B3; /* Using var(--accent-blue) equivalent */
    transform: translateY(-2px);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
}

@media (max-width: 992px) {
    .modal-content-wrapper {
        flex-direction: column;
    }
    
    .modal-container {
        height: 90vh;
        max-width: 600px;
    }
    
    .modal-image-side {
        flex: none;
        height: 40%;
    }
    
    .modal-info-side {
        flex: 1;
        min-width: 0;
        min-height: 0;
    }

    .close-modal {
        top: 10px;
        right: 15px;
        color: #fff;
        text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        z-index: 2005;
    }
}


html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .about-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .stat-card {
        padding: 25px !important;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 2rem !important;
    }
    .stat-label {
        font-size: 0.8rem !important;
    }
}
