/* ==================== VARIÁVEIS ==================== */
:root {
    --primary: #b5521a;
    --secondary: #8e2a13;
    --accent: #5f875b;
    --gray: #f7f7f7;
    --text: #333;
    --white: #fff;
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== LINKS ==================== */
a {
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
    text-decoration: none;
}

a:hover {
    color: var(--accent);
    text-decoration: none;
}

a, a:focus, a:active {
    text-decoration: none;
    box-shadow: none;
    text-decoration: none;
}


/* ==================== NAVBAR ==================== */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(181, 82, 26, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    object-fit: contain;
}

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

.nav-links ul li a {
    color: var(--text);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

.nav-links ul li a:hover {
    background-color: var(--primary);
    color: white;
    text-decoration: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: var(--primary);
    border-radius: 5px;
    transition: 0.3s;
}

/* ==================== BOTÕES ==================== */
.btn-whatsapp,
.btn-agendar {
    background-color: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp:hover,
.btn-agendar:hover {
    background-color: #779f73;
    transform: translateY(-2px);
}

/* ==================== HERO ==================== */
.hero {
    background-color: var(--gray);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.hero-text {
    max-width: 600px;
}

.hero-content h1 {
    color: var(--primary);
    font-size: 2rem;
}

.hero-content p {
    margin: 10px 0 20px;
}

.profile img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary);
}

/* ==================== SEÇÕES ==================== */
section {
    padding: 60px 0;
}

h2 {
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.sobre p {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

/* ==================== SERVIÇOS ==================== */
.servicos-swiper .swiper-slide {
    background-color: rgba(181, 82, 26, 0.08);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(181, 82, 26, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.servicos-swiper .swiper-slide:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
}

.servicos-swiper .swiper-slide:hover h3,
.servicos-swiper .swiper-slide:hover p {
    color: white;
}

/* ==================== BLOG ==================== */
.blog-swiper .swiper-slide a.card-clicavel {
    display: block;
    background-color: rgba(181, 82, 26, 0.08);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(181, 82, 26, 0.2);
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-swiper .swiper-slide a.card-clicavel:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
}

.blog-swiper .swiper-slide a.card-clicavel h3,
.blog-swiper .swiper-slide a.card-clicavel p {
    color: var(--text);
}

.blog-swiper .swiper-slide a.card-clicavel:hover h3,
.blog-swiper .swiper-slide a.card-clicavel:hover p {
    color: white;
}

/* ==================== CONTATO ==================== */
.contato {
    text-align: center;
}

.contato p {
    margin-bottom: 20px;
}

/* ==================== SWIPER ==================== */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
}

.swiper-pagination-bullet {
    background: var(--primary);
}

.swiper-pagination {
    margin-top: 20px;
    position: relative;
    bottom: auto;
}

.swiper-wrapper {
    padding: 0 40px;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 15px 0;
    width: 100%;
}

footer p {
    margin: 0;
}

/* ==================== TEXTO DE BLOG ==================== */
main p {
    margin-bottom: 20px;
}

main ul {
    margin-bottom: 20px;
}

main li {
    margin-bottom: 10px;
}

main h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

main h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary);
}

.call-to-action {
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(181, 82, 26, 0.08);
    border-radius: 12px;
    text-align: center;
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: var(--white);
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: 0.3s;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
    }

    .nav-links.open {
        height: auto;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }

    .hero-text {
        max-width: 600px;
    }
}
