:root {
    --marsala: #9C4B45;
    --bg-color: #F8DCE4;
    --text-color: var(--marsala);
    --accent-color: #7A443B;
    --card-text: var(--marsala);
    --white: #ffffff;
    --container-width: 1100px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header & Nav */
header {
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(156, 75, 69, 0.12);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 !important;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.hero-text {
    width: 100%;
    max-width: 720px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    max-width: 720px;
}

.hero-swiper {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--text-color);
    padding-bottom: 0;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.hero-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.75);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    after {
        font-size: 1.2rem;
        font-weight: bold;
    }
}

.hero-swiper .swiper-button-next:after, 
.hero-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
}

.btn-instagram {
    background-color: #E4405F;
    color: white;
    width: 100%;
    text-align: center;
}

/* Sections */
section {
    padding: 3rem 0;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--text-color);
    margin: 10px auto 0;
}

/* About */
.about-grid {
    display: grid;
    gap: 2rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-text {
    text-align: justify;
}

.highlight-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(156, 75, 69, 0.05);
}

/* Stats Section */
.stats {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
.services-grid {
    display: grid;
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Depoimentos */
.testimonials {
    background-color: var(--marsala);
    color: var(--bg-color);
}

.testimonials h2::after {
    background-color: var(--bg-color);
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial-card {
    flex: 0 1 340px;
    max-width: 100%;
    background-color: var(--white);
    color: var(--card-text);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-stars {
    color: var(--accent-color);
    font-size: 1.15rem;
    letter-spacing: 3px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    flex: 1;
}

.testimonial-author {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.05rem;
}

/* Consultório */
.office-content {
    text-align: center;
}

.office-content img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.office-caption {
    font-style: italic;
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.faq h2::after {
    background-color: var(--bg-color);
}

.faq-intro {
    text-align: center;
    margin: -1.5rem auto 2rem;
    max-width: 600px;
}

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

.faq-item {
    background-color: var(--white);
    color: var(--text-color);
    border-radius: 14px;
    margin-bottom: 1rem;
    box-shadow: 5px 5px 15px rgba(156, 75, 69, 0.05);
}

.faq-item summary {
    position: relative;
    padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--accent-color);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 14px;
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
}

/* Contact */
.contact {
    text-align: center;
    background-color: var(--bg-color);
    border-radius: 30px 30px 0 0;
}

.contact-links {
    max-width: 400px;
    margin: 2rem auto;
}

.location {
    margin-top: 2rem;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--bg-color);
    text-align: center;
    padding: 2rem 0;
}

footer p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu logic in JS */
    }
    
    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

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

/* Desktop Responsive */
@media (min-width: 769px) {
    .hero-swiper .swiper-slide img {
        height: 460px;
    }

    .about-grid {
        grid-template-columns: 1.5fr 1fr;
        align-items: center;
    }

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

    .btn-whatsapp, .btn-instagram {
        width: auto;
        margin: 0 0.5rem;
    }

    .contact-links {
        display: flex;
        justify-content: center;
        max-width: 100%;
    }
}
