/* ========================================
   RESET
======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #FAF1E8;
    color: #5A5939;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font-family: inherit;
}

img {
    max-width: 100%;
}


/* ========================================
   CONTAINER
======================================== */

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


/* ========================================
   HEADER
======================================== */

.header {
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 10;
    color: #FAF1E8;
    background: #fffcf8;
    position: fixed;

}

.header-content {
    min-height: 80px;
    display: flex;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #C9A227;
    object-fit: cover;
    box-sizing: border-box;
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;
    width: 100%;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    background: #111;
}


/* ========================================
   CARROSSEL
======================================== */

.hero .mzaCarousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    z-index: 1;
    overflow: hidden;
}

.hero .mzaCarousel-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero .mzaCarousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero .mzaCarousel-slide {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

.hero .mzaCard {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    cursor: grab;
}

.hero .mzaCard::before {
    content: "";
    position: absolute;
    inset: -3%;
    background-image: var(--mzaCard-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform:
        translateZ(-60px)
        scale(1.12)
        translate3d(
            var(--mzaParBgX, 0px),
            var(--mzaParBgY, 0px),
            0
        );

    filter:
        contrast(1.02)
        saturate(1.05)
        brightness(0.95);

    transition:
        transform 800ms cubic-bezier(0.2, 0.7, 0, 1),
        filter 800ms cubic-bezier(0.2, 0.7, 0, 1);
}

.hero .mzaCard::after {
    display: none;
}


/* ========================================
   ESCURECIMENTO DO HERO
======================================== */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.55) 38%,
        rgba(0, 0, 0, 0.20) 70%,
        rgba(0, 0, 0, 0.10) 100%
    );
}


/* ========================================
   CONTEÚDO DO HERO
======================================== */

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-top: 80px;
    pointer-events: none;
}

.hero-text {
    max-width: 680px;
    pointer-events: auto;
}

.hero-label,
.section-label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.hero h1 strong {
    display: block;
    font-weight: 400;
}

.hero p {
    max-width: 580px;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}


/* ========================================
   BOTÕES
======================================== */

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 26px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.primary-button {
    background: #fff;
    color: #222;
}

.primary-button:hover {
    transform: translateY(-2px);
    background: #eee;
}

.secondary-button {
    background: #fff;
    color: #222;
}

.secondary-button:hover {
    transform: translateY(-2px);
    background: #eee;
}


/* ========================================
   FORMULÁRIO
======================================== */

.form-section {
    position: relative;
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: -150px auto 0;
    position: relative;
    z-index: 6;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.form-header {
    margin-bottom: 30px;
}

.form-header .section-label {
    color: #927a3e;
}

.form-header h2 {
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.form-header p {
    color: #666;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 22px;
}

.form-group > label,
.project-fieldset legend {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.form-group input:not([type="checkbox"]) {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
}

.form-group input:focus {
    border-color: #927a3e;
    box-shadow: 0 0 0 3px rgba(146, 122, 62, 0.12);
}


/* ========================================
   OPÇÕES DE AMBIENTES
======================================== */

.project-fieldset {
    min-width: 0;
    border: 0;
}

.project-fieldset legend {
    padding: 0;
}

.project-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.project-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.project-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.project-option span {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: 0.2s;
}

.project-option input:checked + span {
    border-color: #292929;
    background: #292929;
    color: #fff;
}

.project-option input:focus-visible + span {
    outline: 3px solid #b59b55;
    outline-offset: 3px;
}

.project-option:hover span {
    border-color: #927a3e;
}

.project-option-full {
    grid-column: 1 / -1;
}


/* ========================================
   BOTÃO DO FORMULÁRIO
======================================== */

.submit-button {
    width: 100%;
    min-height: 54px;
    margin-top: 5px;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    background: #292929;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.submit-button:hover {
    background: #484848;
    transform: translateY(-1px);
}

.submit-button:focus-visible {
    outline: 3px solid #b59b55;
    outline-offset: 3px;
}

.form-security {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}


/* ========================================
   BENEFÍCIOS
======================================== */

.benefits {
    padding: 90px 0;
    background: #fff;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-header .section-label {
    color: #927a3e;
}

.section-header h2 {
    font-size: 38px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.section-header p {
    color: #666;
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.benefit-card {
    padding: 30px;
    text-align: center;
}

.benefit-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f1eee8;
    color: #927a3e;
    font-size: 22px;
}

.benefit-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
}


/* ========================================
   NOSSA HISTÓRIA
======================================== */

.about-quarantuno {
    padding: 90px 0;
    background: #f7f5f1;
}

.about-heading {
    max-width: 850px;
    margin-bottom: 45px;
}

.about-heading .section-label {
    color: #927a3e;
}

.about-heading h2 {
    max-width: 800px;
    margin-bottom: 20px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.about-intro {
    max-width: 800px;
    color: #666;
    font-size: 17px;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.about-card {
    padding: 32px;
    background: #fff;
    border: 1px solid #eee9df;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.about-number {
    display: inline-block;
    margin-bottom: 18px;
    color: #a58a43;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.about-card h3 {
    margin-bottom: 14px;
    color: #292929;
    font-size: 22px;
    line-height: 1.3;
}

.about-card p,
.about-card li {
    color: #626262;
    font-size: 15px;
    line-height: 1.8;
}

.about-card ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.about-card li {
    margin-bottom: 5px;
}


/* ========================================
   LOCALIZAÇÃO + INSTAGRAM
======================================== */

.social-location {
    padding: 90px 0;
    background: #fff;
}

.social-location-header {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

.social-location-header .section-label {
    color: #927a3e;
}

.social-location-header h2 {
    margin-bottom: 15px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
}

.social-location-header p {
    color: #666;
    line-height: 1.7;
}

.social-location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.social-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px;
    background: #fff;
    border: 1px solid #eae7e1;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.social-card-header {
    margin-bottom: 20px;
}

.social-card-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #927a3e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.social-card h3 {
    margin-bottom: 10px;
    color: #292929;
    font-size: 25px;
    line-height: 1.25;
}

.social-card-header p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.embed-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #f2f0ec;
}

.embed-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.maps-frame {
    height: 380px;
}

.instagram-frame {
    height: 380px;
    background: #faf9f7;
}

.social-card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    background: #292929;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.social-card-button:hover {
    background: #484848;
    transform: translateY(-2px);
}

.social-card-button:focus-visible {
    outline: 3px solid #b59b55;
    outline-offset: 3px;
}


/* ========================================
   CTA FINAL
======================================== */

.final-cta {
    padding: 100px 0;
    text-align: center;
    background: #292929;
    color: #fff;
}

.final-cta .section-label {
    color: #d5bd7c;
}

.final-cta h2 {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 15px;
}

.final-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #ccc;
    line-height: 1.7;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    padding: 25px 0;
    background: #191919;
    color: #888;
    text-align: center;
    font-size: 13px;
}


/* ========================================
   TABLETS
======================================== */

@media (max-width: 900px) {

    .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero {
        min-height: 650px;
    }

    .hero h1 {
        font-size: clamp(40px, 7vw, 60px);
    }

    .benefits-grid {
        gap: 15px;
    }

    .benefit-card {
        padding: 22px 15px;
    }

    .social-location-grid {
        gap: 18px;
    }

    .social-card {
        padding: 20px;
    }

    .social-card h3 {
        font-size: 22px;
    }

    .maps-frame,
    .instagram-frame {
        height: 350px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }


    /* HEADER */

    .header {
        height: 50px;
    }

    .logo {
        width: 58px;
        height: 58px;
    }


    /* HERO */

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.76) 0%,
            rgba(0, 0, 0, 0.58) 100%
        );
    }

    .hero h1 {
        font-size: clamp(40px, 11vw, 58px);
        letter-spacing: -1.5px;
    }

    .hero p {
        max-width: 90%;
        font-size: 16px;
        line-height: 1.6;
    }

    .primary-button {
        width: 100%;
    }

    .hero .mzaCarousel-controls {
        padding: 0 10px;
    }

    .hero .mzaCarousel-prev,
    .hero .mzaCarousel-next {
        width: 40px;
        height: 40px;
    }


    /* FORMULÁRIO */

    .form-section {
        padding: 30px 0 70px;
    }

    .form-container {
        margin-top: -80px;
        padding: 28px 20px;
    }

    .form-header h2 {
        font-size: 28px;
    }


    /* BENEFÍCIOS */

    .benefits {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .benefit-card {
        padding: 25px 15px;
    }


    /* NOSSA HISTÓRIA */

    .about-quarantuno {
        padding: 65px 0;
    }

    .about-heading {
        margin-bottom: 30px;
    }

    .about-heading h2 {
        font-size: 32px;
    }

    .about-intro {
        font-size: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card {
        padding: 25px 22px;
    }

    .about-card h3 {
        font-size: 21px;
    }


    /* MAPS + INSTAGRAM */

    .social-location {
        padding: 65px 0;
    }

    .social-location-header {
        margin-bottom: 30px;
    }

    .social-location-header h2 {
        font-size: 30px;
    }

    .social-location-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .social-card {
        padding: 20px;
        border-radius: 12px;
    }

    .social-card h3 {
        font-size: 23px;
    }

    .social-card-header p {
        font-size: 15px;
    }

    .maps-frame {
        height: 340px;
    }

    .instagram-frame {
        height: 420px;
    }


    /* CTA */

    .final-cta {
        padding: 75px 0;
    }

    .final-cta h2 {
        font-size: 31px;
    }

    .secondary-button {
        width: 100%;
    }

}


/* ========================================
   CELULARES PEQUENOS
======================================== */

@media (max-width: 420px) {

    .hero {
        min-height: 620px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .form-container {
        padding: 25px 18px;
    }

    .project-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-option span {
        min-height: 55px;
        padding: 10px 6px;
        font-size: 14px;
    }

    .about-heading h2 {
        font-size: 29px;
    }

    .about-card {
        padding: 22px 18px;
    }

    .social-card {
        padding: 16px;
    }

    .social-card h3 {
        font-size: 21px;
    }

    .maps-frame {
        height: 300px;
    }

    .instagram-frame {
        height: 380px;
    }

}


/* ========================================
   ANIMAÇÕES
======================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);

    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-text {
    opacity: 0;
    transform: translateY(18px);

    animation: heroFadeIn 0.9s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.1s forwards;
}


@keyframes heroFadeIn {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

}