/* === CSS RESET & VARIÁVEIS === */
:root {
    --primary: #FDBA12;
    /* Amarelo vibrante - alerta/guincho */
    --primary-hover: #e5a70f;
    --dark: #1F2022;
    /* Chumbo escuro - asfalto/sólido */
    --darker: #121212;
    /* Fundo quase preto */
    --light: #F8F9FA;
    /* Texto / Fundo claro */
    --gray: #6C757D;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;

    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === UTILS & COMPONENTS === */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--darker);
    box-shadow: 0 4px 15px rgba(253, 186, 18, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(31, 32, 34, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-ligar-nav {
    background: var(--primary);
    color: var(--darker) !important;
    padding: 8px 18px;
    border-radius: 4px;
}

.btn-ligar-nav:hover {
    background: var(--primary-hover);
    color: var(--darker) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset header */
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(31, 32, 34, 0.8) 100%), url('hero-guincho.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    /* Removido o bg radial já que agora temos uma imagem real com overlay */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-logo {
    width: 220px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: block;
}

@media (max-width: 900px) {
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-logo {
        width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

.badge {
    display: inline-block;
    background: rgba(43, 44, 46, 0.8);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--primary);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    background: linear-gradient(to right, var(--white), #ddd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* === SERVIÇOS === */
.services {
    padding: 100px 0;
    background-color: var(--dark);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 0;
    /* Removido padding interno para a imagem preencher o topo */
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    /* Garante que a imagem respeite os cantos arredondados */
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(253, 186, 18, 0.3);
    box-shadow: var(--shadow);
}

.card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
    padding: 0 30px;
    /* Recuperando padding para o texto */
}

.card p {
    color: #aaa;
    font-size: 0.95rem;
    padding: 0 30px 40px 30px;
    /* Padding inferior do card */
}


/* === INFORMAÇÕES (HORÁRIOS & LOCAL) === */
.info-section {
    padding: 100px 0;
    background-color: var(--darker);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.info-text p {
    color: #bbb;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.schedule-list li {
    background: var(--dark);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid var(--primary);
}

.schedule-list i {
    color: var(--primary);
}

.callout-tel {
    display: inline-block;
    margin-top: 30px;
    font-size: 1.2rem;
    color: var(--light);
}

.callout-tel span {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.8rem;
    display: block;
}

.info-image {
    padding: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(253, 186, 18, 0.1) 0%, transparent 100%);
}

.map-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* === SEO ARTICLE (Guia Semântico) === */
.seo-article {
    padding: 80px 0;
    background-color: var(--dark);
    border-top: 1px solid var(--glass-border);
}

.seo-title {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
}

.seo-intro {
    font-size: 1.2rem;
    color: #bbb;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--darker);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.article-content h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

/* === FOOTER === */
.footer {
    background-color: #0b0c0d;
    padding: 60px 0 20px 0;
    border-top: 4px solid var(--primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #aaa;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* === MOBILE FIXED CTA BAR === */
.mobile-fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    gap: 10px;
    padding: 12px 15px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
}

.btn-cta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition);
}

.btn-whatsapp-cta {
    background: var(--whatsapp);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-cta:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
}

.btn-phone-cta {
    background: var(--primary);
    color: var(--darker);
    box-shadow: 0 4px 15px rgba(253, 186, 18, 0.3);
}

.btn-phone-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-cta svg {
    width: 20px;
    height: 20px;
}

/* Hide on Desktop, Show on Mobile */
@media (min-width: 901px) {
    .mobile-fixed-cta {
        width: auto;
        left: auto;
        right: 30px;
        bottom: 30px;
        flex-direction: column;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .btn-cta {
        width: 180px;
        flex: none;
    }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    body {
        padding-bottom: 80px;
    }

    .nav-links {
        display: none;
        /* Mobile menu toggled by JS classes if intended */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--darker);
        padding: 30px 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .article-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* === GALLERY STYLES === */
.gallery {
    padding: 100px 0;
    background-color: var(--darker);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    background: var(--dark);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 186, 18, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* === LIGHTBOX STYLES === */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 20px 15px;
    cursor: pointer;
    font-size: 24px;
    transition: var(--transition);
    border-radius: 4px;
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    color: var(--darker);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

@media (max-width: 1100px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}