@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --green: #1f2d2e;
    --gold: #c7a86b;
    --white: #ffffff;
    --dark: #0d0d0d;
    --gray: #f5f5f5;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==== PRELOADER ==== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--green);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

/* ==== HEADER ==== */
header {
    background-color: var(--green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo {
    height: 84px;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

header.scrolled .logo {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn,
.mobile-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    color: var(--gold);
}

.gold-icon {
    color: var(--gold);
}

/* ==== HERO ==== */
.hero {
    background: linear-gradient(to bottom right, var(--green), #1f2d2e);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.hero-main {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-main br {
    display: none;
}


.rotating-words {
    display: inline-block;
    position: relative;
    height: 2.8em;
    margin-top: 0.5rem;
    color: var(--gold);
    font-size: 1.4em;
    overflow: hidden;
    vertical-align: top;
    min-width: 250px;
    text-align: center;
    line-height: 1.4em;
}

.nowrap {
    white-space: nowrap;
    display: inline-block;
}

.rotating-words .word {
    position: absolute;
    width: 100%;
    opacity: 0;
    left: 0;
    text-align: center;
    animation: rotateWords 12s infinite ease-in-out;
    font-size: 1em;
}

.rotating-words .word:nth-child(1) {
    animation-delay: 0s;
}

.rotating-words .word:nth-child(2) {
    animation-delay: 3s;
}

.rotating-words .word:nth-child(3) {
    animation-delay: 6s;
}

.rotating-words .word:nth-child(4) {
    animation-delay: 9s;
}


.rotating-words .word:nth-child(4) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes rotateWords {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    8% {
        opacity: 1;
        transform: translateY(0);
    }

    25% {
        opacity: 1;
        transform: translateY(0);
    }

    33% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

.hero-subtext {
    margin-top: 1rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    background-color: var(--gold);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn.secondary {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn:hover {
    background-color: #d8b97a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn.secondary:hover {
    background-color: rgba(199, 168, 107, 0.1);
}

/* ==== ABOUT ==== */
.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    margin: 80px auto;
}

.about-img {
    flex: 1 1 300px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    max-width: 300px;
    object-fit: fill;
    border: 5px solid var(--gold);
}

.about-text {
    flex: 2 1 400px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--green);
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.about-text p {
    margin-bottom: 1.2rem;
    color: #333;
}


/* ==== ABOUT FULL TEXT SECTION ==== */
.about-text-full {
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
}

.about-text-full h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--green);
    position: relative;
}

.about-text-full h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.about-text-full p {
    margin-bottom: 1.2rem;
    color: #333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==== SERVICES ==== */
.services {
    background-color: var(--gray);
    padding: 80px 0;
    width: 100%;
}

.services h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--green);
    position: relative;
}

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

.services-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: var(--green);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 500;
}

.services-intro span {
    color: var(--gold);
    font-weight: 600;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.service-icon {
    width: 25px;
    height: 40px;
}

.service-item h3 {
    font-size: 1.2rem;
    color: var(--green);
    margin: 0;
}

.service-item p {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    padding-left: 0.5rem;
    border-left: 2px solid var(--gold);
}

/* ==== DIFERENCIAL ==== */
.diferencial {
    text-align: center;
    background-color: var(--green);
    color: var(--white);
    padding: 80px 0;
}

.diferencial p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
}

.diferencial strong {
    color: var(--gold);
    font-weight: 700;
    font-size: 2.5rem;
}

/* ==== CONTATO ==== */
.contact {
    text-align: center;
    padding: 80px 0;
}

.contact h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--green);
    position: relative;
    display: inline-block;
}

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

.call {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.contact-info a:hover {
    color: var(--gold);
}

.contact-info i {
    font-size: 1.2rem;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.map-container {
    flex: 1 1 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

form {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 500px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

input,
textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(199, 168, 107, 0.2);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==== FOOTER ==== */
footer {
    background-color: var(--green);
    color: var(--white);
    padding: 30px 0;
}

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

.logo-footer {
    height: 50px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s;
}

.logo-footer:hover {
    opacity: 1;
}

footer p {
    font-size: 0.9rem;
}

/* ==== WHATSAPP FLOAT BUTTON ==== */
#whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

#whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

#whatsapp-float i {
    font-size: 1.8rem;
}

/* ==== ANIMAÇÕES ==== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ==== MEDIA QUERIES ==== */
@media (max-width: 992px) {
    .hero-main {
        font-size: 2.4rem;
    }

    .about {
        flex-direction: column;
    }

    .about-img {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--green);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links ul.active {
        right: 0;
    }

    .mobile-menu-btn,
    .mobile-close-btn {
        display: block;
    }

    .mobile-close-btn {
        position: fixed;
        top: 25px;
        right: 25px;
        display: none;
        z-index: 1000;
    }

    .nav-links ul.active~.mobile-close-btn {
        display: block;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-main {
        font-size: 1.8rem;
        flex-direction: column;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .diferencial p {
        font-size: 1.4rem;
    }


    .rotating-words .word:nth-child(4) {
        display: flex;
        flex-direction: column;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }
}

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

    .hero-main br {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .logo {
        height: 65px;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .map-container,
    form {
        width: 100%;
    }
}

/* ==== TOAST NOTIFICATION ==== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--green);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    opacity: 1;
}

/* ==== SERVICE CTA ==== */
.service-cta {
    text-align: center;
    margin-top: 3rem;
}

.service-cta .btn {
    font-size: 1.1rem;
    padding: 15px 30px;
}

.desktop-only {
    display: inline;
}

.mobile-only {
    display: none;
}

@media (min-width: 769px) {
    .rotating-words {
        height: 1.4em;
        min-width: 700px;
    }

    .rotating-words .word:nth-child(4) {
        display: inline;
    }

    .hero-main {
        font-size: 2.8rem;
    }
}


.portal-btn a {
    background-color: var(--gold);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.portal-btn a:hover {
    /* background-color: #d8b97a;*/
    color: rgb(31, 45, 46) !important;
    /* transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);*/
}


.portal-btn a::after {
    content: none !important;
}


@media (max-width: 768px) {
    .portal-btn a {
        display: block;
        width: 100%;
        text-align: center;
    }

}