:root {
    --primary-color: #0B192C;
    --secondary-color: #1E50A2;
    --accent-color: #2563EB;
    --text-light: #ffffff;
    --text-dark: #1E293B;
    --bg-light: #F0F4F8;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

header {
    background: #0f4000;
    color: var(--text-light);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
}

nav a:hover {
    color: var(--secondary-color);
}

/* Submenu Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #072600;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    z-index: 1001;
    padding: 8px 0;
    margin-top: 5px;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    color: var(--text-light);
    padding: 10px 18px;
    text-decoration: none;
    display: block !important;
    white-space: nowrap;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #60A5FA;
}

.contact-header {
    display: flex;
    gap: 15px;
}

.contact-header a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #0f4000;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
    background: url('https://funerecife.com.br/image/fachada1.jpeg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 25, 44, 0.7);
    z-index: 0;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.cta-button:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.section {
    padding: 80px 5%;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

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

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.about-section {
    background: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #1d4ed8;
}

/* Google Reviews Section */
.google-reviews-section {
    background-color: #ffffff;
    padding: 70px 5%;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.google-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.google-badge-info h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin: 8px 0 4px 0;
    font-family: 'Playfair Display', serif;
}

.google-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.google-icon {
    font-size: 1.5rem;
    color: #4285F4;
}

.google-reviews-title {
    font-weight: 700;
    color: #475569;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.google-address {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.google-rating-score {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rating-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.stars-wrapper {
    color: #FBBC04;
    font-size: 1.2rem;
    display: flex;
    gap: 2px;
}

.reviews-count {
    color: #64748b;
    font-weight: 500;
    font-size: 1rem;
}

.btn-google-eval {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid #dadce0;
    border-radius: 50px;
    color: #1a73e8;
    font-weight: 600;
    text-decoration: none;
    background: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(60,64,67,0.15);
}

.btn-google-eval:hover {
    background: #f8faff;
    border-color: #1a73e8;
    box-shadow: 0 2px 6px rgba(26,115,232,0.25);
    transform: translateY(-1px);
}

.google-filter-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.google-filter-pills .pill {
    padding: 8px 18px;
    border: 1px solid #dadce0;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #3c4043;
    background: #ffffff;
    white-space: nowrap;
    cursor: default;
}

.google-filter-pills .pill.active {
    background: #e8f0fe;
    color: #1a73e8;
    border-color: #d2e3fc;
    font-weight: 600;
}

.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.google-review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.reviewer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.avatar-blue { background-color: #0288d1; }
.avatar-brown { background-color: #5d4037; }
.avatar-green { background-color: #2e7d32; }
.avatar-darkblue { background-color: #1565c0; }

.reviewer-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #202124;
    margin: 0;
    line-height: 1.2;
}

.review-stats {
    font-size: 0.8rem;
    color: #70757a;
}

.google-card-icon {
    margin-left: auto;
    color: #4285f4;
    font-size: 1.2rem;
    opacity: 0.7;
}

.review-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.review-rating-row .stars {
    color: #fbbc04;
    font-size: 0.95rem;
    display: flex;
    gap: 1px;
}

.review-time {
    font-size: 0.85rem;
    color: #70757a;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #3c4043;
    margin: 0;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

footer {
    background: #070f1e;
    color: #94a3b8;
    padding: 40px 5%;
    text-align: center;
}

.footer-contacts {
    margin-bottom: 20px;
}

.footer-contacts a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2rem;
}

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-phone {
    background-color: var(--accent-color);
}

@media (max-width: 968px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .contact-header {
        flex-direction: column;
        gap: 5px;
        font-size: 0.9rem;
    }
}

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

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

    h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    p {
        font-size: 0.95rem;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .contact-header {
        display: none;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    .whatsapp-float {
        display: none;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Seção de Galeria */
.gallery-section {
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

/* Efeitos de Hover */
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Responsividade adicional para Galeria */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    .gallery-item {
        height: 200px;
    }
}
