/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B6F47;
    --secondary-color: #C4A57B;
    --accent-color: #E8D5C4;
    --dark-color: #2C2416;
    --light-color: #FAF7F4;
    --text-color: #3A3A3A;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Carrossel de Imagens */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 111, 71, 0.8) 0%, rgba(196, 165, 123, 0.7) 100%);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Indicadores do Carrossel */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background-color: var(--white);
    transform: scale(1.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 300;
}

/* Services Section */
.services {
    background-color: var(--white);
    padding-top: 6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px var(--shadow);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* About Section */
.about {
    background-color: var(--accent-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.credentials {
    margin-top: 2rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.credential-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 20px 50px var(--shadow);
}

/* Location Section */
.location {
    background-color: var(--white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px var(--shadow);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    line-height: 1.8;
}

.map-placeholder {
    background-color: var(--accent-color);
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-color);
    text-align: center;
    padding: 2rem;
}

.map-placeholder p:first-child {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.contact-content {
    text-align: center;
}

.contact .section-title,
.contact .section-subtitle {
    color: var(--white);
}

.contact-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header {
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

    .menu-toggle {
        display: flex;
        min-width: 30px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        max-width: 100vw;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        z-index: 999;
        overflow-x: hidden;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        height: 100vh;
        min-height: 550px;
        max-height: 700px;
        margin-bottom: 1rem;
    }

    .hero-overlay .container {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-content {
        padding: 0 25px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 1.8rem;
        text-align: center;
        max-width: 85%;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    section {
        padding: 3rem 0;
    }

    .services {
        padding-top: 4rem;
    }

    .section-header {
        margin-bottom: 2rem;
        padding: 0 10px;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.3;
        text-align: center;
    }

    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .about-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
    }

    .about-text p {
        text-align: center;
    }

    .credentials {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
        font-size: 5rem;
    }

    .location-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .info-item {
        padding: 1rem;
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
        max-width: 400px;
    }

    .info-item > div {
        width: 100%;
    }

    .info-item h3 {
        text-align: center;
    }

    .info-item p {
        text-align: center;
    }

    .map-placeholder {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo h1 {
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 50px);
    }

    .menu-toggle {
        flex-shrink: 0;
        margin-left: 10px;
    }

    .hero {
        height: 100vh;
        min-height: 500px;
        max-height: 700px;
    }

    .hero-overlay .container {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-content {
        padding: 0 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        text-align: center;
        max-width: 90%;
    }

    .section-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
        text-align: center;
    }

    .section-subtitle {
        font-size: 0.95rem;
        text-align: center;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }

    .btn-whatsapp {
        font-size: 0.95rem;
        padding: 0.85rem 1.5rem;
        white-space: normal;
        line-height: 1.4;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-indicators {
        bottom: 25px;
        gap: 10px;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }
}

/* Small Mobile Devices (430px and below) */
@media (max-width: 430px) {
    .header {
        position: fixed !important;
        width: 100% !important;
        z-index: 1000 !important;
    }

    .nav .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
    }

    .location-info {
        align-items: center;
    }

    .info-item {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Extra Small Devices (iPhone SE, etc) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

    .header {
        padding: 0 5px;
    }

    .nav .container {
        padding: 0 10px;
        display: flex !important;
        justify-content: space-between !important;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo h1 {
        font-size: 1rem;
        max-width: calc(100vw - 80px);
    }

    .menu-toggle {
        display: flex !important;
        min-width: 30px;
        margin-left: 10px;
    }

    .menu-toggle span {
        width: 22px;
    }

    .info-item {
        padding: 0.8rem;
    }

    .info-item h3 {
        font-size: 1.1rem;
    }

    .info-item p {
        font-size: 0.85rem;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .btn {
        padding: 0.8rem 1.3rem;
        font-size: 0.9rem;
    }

    .btn-primary {
        min-width: auto;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .btn-whatsapp {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }

    .whatsapp-icon {
        font-size: 1.3rem;
    }
}
