:root {
    --primary-white: #ffffff;
    --light-grey: #f2f2f2;
    --dark-grey: #333333;
    --text-main: #2d2d2d;
    --text-muted: #555555;
    --whatsapp-green: #25d366;
    --focus-blue: #008ac8;
    --focus-green: #a5c544;
    --border-grey: #eeeeee;
    --max-width: 1200px;
    --transition-speed: 0.8s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--primary-white);
    color: var(--text-main);
    line-height: 1.6;
}

/* 1. HEADER & NAVIGATION */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-left {
    background: #FFFFFF;
    flex: 0 0 auto;
    /* Logo takes only needed space */
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.header-right {
    background: #FFFFFF;
    flex: 1;
    /* Menu takes remaining space */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 3%;
    position: relative;
}

/* Separator line removed to keep it all white as requested */
.header-right::before {
    display: none;
}

.logo img {
    height: 50px;
    /* Ajuste a altura conforme necessário */
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    /* Smaller text size as requested */
    font-weight: 600;
    text-transform: uppercase;
    padding: 25px 10px;
    cursor: pointer;
    display: block;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-item:hover>.nav-link {
    color: var(--focus-blue);
    background: rgba(0, 132, 189, 0.05);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    /* Largura exata da coluna da opção pai */
    min-width: 220px;
    /* Garante largura para o texto não quebrar em itens curtos */
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    display: none;
    list-style: none;
    padding: 0;
    /* Remove padding para a seleção preencher tudo */
    z-index: 1010;
    overflow: visible;
    /* Mantém visível para o pseudo-elemento da borda */
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--focus-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-item:hover::after {
    transform: scaleX(1);
}

@media (min-width: 1025px) {
    .nav-item:hover .dropdown {
        display: block;
    }
}

.nav-item.active .dropdown {
    display: block;
}

.dropdown li a {
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-grey);
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: var(--focus-blue);
    color: white;
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-grey);
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.whatsapp-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-grey);
    font-weight: 700;
    transition: transform 0.3s;
}

.whatsapp-nav:hover {
    transform: scale(1.05);
}

.whatsapp-nav i {
    font-size: 20px;
    color: var(--focus-green);
}

/* 2. HERO SECTION */
.hero {
    margin-top: 70px;
    height: 70vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: transparent;
    /* Inverted House Roof Effect - Smoother and shifted towards "Mais Serviços" (~70% width) */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 70% 100%, 0 90%);
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 5%;
    gap: 10px;
}

.hero-cards-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    /* O grupo terá a largura do elemento mais largo que NÃO for a descrição */
    gap: 10px;
}

.hero-card-title {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 22px 35px;
    border-radius: 16px;
    color: white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease-out forwards;
    width: fit-content;
    /* O título mantém seu tamanho padrão */
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.hero-card-description {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 22px 35px;
    border-radius: 16px;
    color: white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease-out forwards;
    width: 0;
    /* Não contribui para a largura do grupo */
    min-width: 100%;
    /* Mas expande para ocupar toda a largura definida pelo título */
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.hero-card-whatsapp {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    animation: fadeInUp 0.8s ease-out forwards;
    margin-top: 10px;
    transition: all 0.3s ease;
    background: transparent !important;
    /* Sem fundo no container principal */
    border: none !important;
    /* Sem borda no container principal */
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
}

.hero-card-whatsapp i {
    font-size: 48px;
    /* Ícone Grande */
    color: #25d366;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.hero-card-whatsapp .btn-text {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 211, 102, 0.4);
    /* Borda com leve tom verde */
    background: rgba(37, 211, 101, 0.589);
    /* Transparência verde clara */
    padding: 10px 22px;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    animation: text-pulse 2s infinite ease-in-out;
}

@keyframes text-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
        background: rgba(37, 211, 101, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
}

.hero-card-whatsapp:hover i {
    transform: scale(1.1) rotate(5deg);
}

.hero-card-whatsapp:hover .btn-text {
    background: #075e54;
    border-color: #075e54;
    transform: translateX(5px);
}

.hero-card-title,
.hero-card-description {
    background: rgba(15, 183, 255, 0.664);
    /* Focus Blue with transparency */
    /* Azul Tubarão - Deep Shark Blue glass */
}

.hero-card-title h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-card-description p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    opacity: 0.95;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3. SERVICES SECTION */
.section-padding {
    padding: 80px 0;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.centralized-title {
    text-align: center;
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-card h4 {
    color: var(--dark-grey);
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid var(--light-grey);
    padding-bottom: 10px;
}

.service-list {
    list-style: none;
}

.service-list li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--focus-green);
}

.more-services {
    display: none;
}

.btn-show-more {
    background: none;
    border: none;
    color: var(--dark-grey);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-show-more:hover {
    color: var(--focus-green);
}

/* 4. NUMBERS SECTION */
.numbers-section {
    background-color: var(--light-grey);
    background-image: url('../images/fundo-nossos-numeros.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Este efeito mantém o fundo parado enquanto a tela rola, movendo só o texto! */
    padding: 120px 0;
    /* Centered peaks: Top points UP at 50% | Bottom points DOWN at 50% */
    clip-path: polygon(0 10%, 50% 0, 100% 10%, 100% 90%, 50% 100%, 0 90%);
    margin-top: -60px;
    margin-bottom: -60px;
    position: relative;
    z-index: 1;
}

.numbers-section h2 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Sombra suave para a letra branca se destacar no fundo */
}

.numbers-section .number-item h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.numbers-section .number-item p {
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.number-item h3 {
    font-size: 36px;
    color: #777;
}

.number-item p {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

/* 5. TESTIMONIALS (GOOGLE STYLE) */
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border: 1px solid #f1f1f1;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--focus-blue);
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h5 {
    font-size: 15px;
    margin: 0;
    color: var(--dark-grey);
}

.local-guide {
    font-size: 11px;
    color: #f4511e;
    /* Google Orange */
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
}

.google-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #4285F4;
    font-size: 20px;
}

.stars-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: #fbbc04;
    /* Google Star Yellow */
    font-size: 14px;
    letter-spacing: 1px;
}

.review-time {
    font-size: 12px;
    color: #777;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    font-style: italic;
}

/* 6. FOOTER */
footer {
    background: var(--dark-grey);
    color: white;
    padding: 100px 0 20px;
    /* Increased top padding for the clip-path */
    /* Mirroring the Hero effect: Peak at 70% width, but at the top */
    clip-path: polygon(0 10%, 70% 0, 100% 10%, 100% 100%, 0 100%);
    margin-top: -50px;
    /* Pulling up to overlap slightly and look integrated */
    position: relative;
    z-index: 3;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h5 {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--light-grey);
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 24px;
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 12px;
    color: #999;
}

/* 7. SCROLL REVEAL (Desativado) */
.reveal {
    opacity: 1;
    transform: none;
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block;
    }

    .header-right {
        clip-path: none;
        padding-right: 20px;
    }

    .header-right::before {
        clip-path: none;
        background: transparent;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px;
        gap: 0;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1050;
        display: flex;
        /* Ensure it's flex but hidden off-screen */
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-grey);
        width: 100%;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        min-width: 100%;
        border-top: none;
    }

    .hero {
        height: 50vh;
    }

    .hero-cta {
        margin: 0 auto;
        max-width: 90%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .header-left {
        padding-left: 20px;
    }

    .hero-cta h2 {
        font-size: 16px;
    }
}

/* 8. FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1) rotate(5deg);
    color: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

/* 9. COMMERCIAL SECTION (CALL TO ACTION) */
.commercial-section {
    background: var(--light-grey);
    padding: 60px 0 120px;
    text-align: center;
    /* Top Peak UP at 30% | Bottom is open to be integrated by Footer top peak */
    clip-path: polygon(0 10%, 30% 0, 100% 10%, 100% 100%, 0 100%);
    margin-top: 20px;
    margin-bottom: -100px;
    /* Pulls footer up for perfect integration */
    position: relative;
    z-index: 2;
}

.commercial-title {
    color: var(--focus-blue);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.commercial-subtitle {
    font-size: 18px;
    color: var(--dark-grey);
    margin-bottom: 35px;
    font-weight: 500;
}

/* Hero WhatsApp standard alignment for center */
.commercial-section .hero-card-whatsapp {
    justify-content: center !important;
    margin: 0 auto !important;
    animation: none !important;
    display: flex !important;
}

.commercial-section .hero-card-whatsapp .btn-text {
    animation: none !important;
    /* Retirando o pulse para ficar mais sóbrio no encerramento se preferir, ou manter se desejar igual ao manual */
}

/* Re-enabling Pulse for consistency if needed */
.commercial-section .hero-card-whatsapp .btn-text {
    animation: text-pulse 2s infinite ease-in-out !important;
}

/* --- PADRÃO DE PERFEIÇÃO: CATALOG CARDS --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.catalog-card {
    background: white;
    border-radius: 16px;
    /* overflow: hidden removido para lista suspensa flutuante */
    box-shadow: 0 10px 30px rgba(15, 15, 15, 0.05);
    border: 1px solid var(--border-grey);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(17, 17, 17, 0.1);
}

.catalog-card img {
    border-radius: 16px 16px 0 0;
    width: 100%;
    height: 112px;
    object-fit: cover;
    /* Identidade Focus: Bico centralizado (50%) para baixo */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    margin-bottom: -10px;
}

.card-content {
    padding: 15px 8px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    color: #777;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.1;
}

.card-content p {
    color: #888;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 8px;
    flex-grow: 1;
    text-align: justify;
}

.card-whatsapp-btn {
    display: flex !important;
    /* Garantir que apareça como flex */
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #6ee79c;
    color: white;
    text-decoration: none;
    padding: 4px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.card-whatsapp-btn i {
    font-size: 18px;
}

.card-whatsapp-btn:hover {
    background: #075e54;
    transform: scale(1.02);
}

@media (min-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
}