/* Importando fontes do Google */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* Estilos Gerais */
:root {
    --primary-color: #85A98F;    /* Verde mar */
    --secondary-color: #3CB371;   /* Verde médio */
    --accent-color: #98FB98;      /* Verde claro */
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: var(--dark-color);
    --white: #FFFFFF;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 56px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color) !important;
}

/* Botões */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Seções */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

/* Títulos com traçado verde */
section h2:not(.accordion-button):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Remove traçado do accordion */
.accordion h2:after {
    display: none !important;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

/* FAQ Accordion */
.accordion-button {
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

.accordion-button:focus {
    border-color: rgba(var(--primary-color-rgb), 0.2);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.2);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
}

footer h5 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(46, 139, 87, 0.7), rgba(46, 139, 87, 0.7)), url('../img/hero-image.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-section .item {
    height: 100%;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

/* Efeitos de Animação */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    section h2 {
        font-size: 2rem;
    }
    
    .carousel-caption h5 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

/* Sobre Section */
#sobre {
    padding: 100px 0;
}

#sobre img {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#sobre .crp {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Serviços Section */
#servicos {
    background-color: var(--light-color);
    padding: 100px 0;
}

.service-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
    padding: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
}

.testimonial-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin: 10px;
    background-color: #fff;
}

.blog-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card .content {
    padding: 20px;
}

/* Blog Section */
#blog {
    padding: 100px 0;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Contato Section */
#contato {
    background-color: var(--light-color);
    padding: 100px 0;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.social-links a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Botões Fixos */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-float:hover {
    transform: scale(1.1);
    text-decoration: none;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white !important;
}

.btn-top {
    background-color: var(--primary-color);
    color: white !important;
    display: none;
}

.btn-float i {
    font-size: 24px;
}