/* =========================================================
   Meupetfugiu
   SITE.CSS
   Identidade: Terra + Areia + Terracota
========================================================= */


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

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background: var(--color-primary);

    box-shadow:
        0 4px 18px rgba(59, 36, 24, 0.12);
}


.header-inner {
    min-height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.site-logo {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--color-white);

    font-size: 19px;

    font-weight: 800;

    white-space: nowrap;
}


.site-logo:hover {
    color: var(--color-white);
}


.logo-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    padding: 3px;
}


/* =========================================================
   MENU
========================================================= */

.site-nav {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 25px;
}


.site-nav a {
    position: relative;

    color: rgba(255, 255, 255, 0.88);

    font-size: 14px;

    font-weight: 600;

    transition:
        color var(--transition);
}


.site-nav a:hover {
    color: var(--color-white);
}


.site-nav a:not(.nav-login)::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 2px;

    border-radius: 10px;

    background: var(--color-accent);

    transition:
        width var(--transition);
}


.site-nav a:not(.nav-login):hover::after {
    width: 100%;
}


/* =========================================================
   LOGIN
========================================================= */

.nav-login {
    padding: 9px 16px;

    border-radius: 10px;

    background: var(--color-accent);

    color: var(--color-white) !important;

    box-shadow:
        0 5px 15px rgba(201, 107, 69, 0.22);
}


.nav-login:hover {
    background: var(--color-accent-dark);
}


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

.mobile-menu-button {
    display: none;

    width: 42px;

    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 10px;

    background: transparent;

    color: var(--color-white);

    font-size: 22px;
}


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

.hero {
    position: relative;

    overflow: hidden;

    padding:
        90px 0
        100px;

    background:
        linear-gradient(
            135deg,
            var(--color-background) 0%,
            #F4E7D4 100%
        );
}


.hero::before {
    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    top: -180px;

    right: -120px;

    border-radius: 50%;

    background:
        rgba(201, 107, 69, 0.08);
}


.hero::after {
    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    bottom: -160px;

    left: -120px;

    border-radius: 50%;

    background:
        rgba(90, 56, 37, 0.06);
}


.hero-inner {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, .95fr);

    align-items: center;

    gap: 70px;
}


.hero-content {
    max-width: 620px;
}


.hero-content .section-eyebrow {
    margin-bottom: 22px;
}


.hero h1 {
    max-width: 620px;

    margin-bottom: 22px;

    font-size: clamp(
        42px,
        5vw,
        66px
    );

    letter-spacing: -1.5px;
}


.hero h1 span {
    display: block;

    color: var(--color-accent);
}


.hero-content > p {
    max-width: 570px;

    margin-bottom: 30px;

    color: var(--color-text-light);

    font-size: 18px;
}


.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 25px;
}


.hero-note {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--color-text-light);

    font-size: 13px;
}


.hero-note span:first-child {
    font-size: 20px;
}


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

.hero-visual {
    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.hero-card {
    position: relative;

    width: 330px;

    min-height: 390px;

    overflow: hidden;

    padding: 20px;

    border-radius: 30px;

    background: var(--color-white);

    border: 1px solid var(--color-border-light);

    box-shadow:
        0 25px 60px rgba(59, 36, 24, 0.16);

    transform: rotate(2deg);
}


.hero-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 10px;

    color: var(--color-danger);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .05em;
}


.hero-animal {
    height: 225px;

    margin:
        0
        -20px
        20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--color-sand),
            #F3DEC0
        );

    font-size: 125px;

    line-height: 1;
}


.hero-card-info {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.hero-card-info strong {
    color: var(--color-text-dark);

    font-size: 25px;
}


.hero-card-info span {
    color: var(--color-text-light);

    font-size: 13px;
}


.hero-map-line {
    position: relative;

    height: 55px;

    margin-top: 18px;

    display: flex;

    align-items: center;

    justify-content: space-around;
}


.hero-map-line::before {
    content: "";

    position: absolute;

    left: 10%;

    right: 10%;

    top: 50%;

    height: 2px;

    background:
        var(--color-accent);

    opacity: .35;
}


.hero-map-line span {
    position: relative;

    z-index: 1;

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: var(--color-accent);

    border: 3px solid var(--color-white);
}


.hero-map-line span:first-child {
    width: 18px;

    height: 18px;

    background: var(--color-danger);
}


/* =========================================================
   HERO ELEMENTOS FLUTUANTES
========================================================= */

.hero-floating {
    position: absolute;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 65px;

    height: 65px;

    border-radius: 20px;

    background: var(--color-white);

    box-shadow:
        0 15px 30px rgba(59, 36, 24, 0.14);

    font-size: 32px;
}


.hero-floating-one {
    top: 55px;

    right: 25px;

    transform: rotate(8deg);
}


.hero-floating-two {
    bottom: 55px;

    left: 30px;

    transform: rotate(-8deg);
}


/* =========================================================
   COMO FUNCIONA
========================================================= */

.how-section {
    background: var(--color-white);
}


.steps-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


.step-card {
    position: relative;

    padding: 30px 25px;

    border:
        1px solid var(--color-border-light);

    border-radius: var(--radius-lg);

    background: var(--color-background-soft);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.step-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}


.step-icon {
    width: 62px;

    height: 62px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background: var(--color-sand);

    font-size: 30px;
}


.step-card > span {
    display: block;

    margin-bottom: 7px;

    color: var(--color-accent);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .08em;
}


.step-card h3 {
    margin-bottom: 10px;

    font-size: 20px;
}


.step-card p {
    color: var(--color-text-light);

    font-size: 14px;
}


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

.site-footer {
    background: var(--color-primary);

    color: var(--color-white);
}


.footer-inner {
    min-height: 190px;

    padding-top: 45px;

    padding-bottom: 40px;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 50px;
}


.footer-brand .site-logo {
    margin-bottom: 12px;
}


.footer-brand p {
    color: rgba(255, 255, 255, .68);

    font-size: 14px;
}


.footer-links {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: flex-end;

    gap: 20px;
}


.footer-links a {
    color: rgba(255, 255, 255, .78);

    font-size: 13px;

    transition:
        color var(--transition);
}


.footer-links a:hover {
    color: var(--color-white);
}


.footer-bottom {
    border-top:
        1px solid rgba(255, 255, 255, .10);

    padding:
        18px 0;
}


.footer-bottom p {
    color: rgba(255, 255, 255, .52);

    font-size: 12px;

    text-align: center;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: var(--color-background);
}


/* =========================================================
   RESPONSIVO — TABLET
========================================================= */

@media (max-width: 1050px) {

    .site-nav {
        gap: 17px;
    }


    .site-nav a {
        font-size: 13px;
    }


    .hero-inner {
        gap: 40px;
    }


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

}


/* =========================================================
   RESPONSIVO — MOBILE
========================================================= */

@media (max-width: 800px) {

    .header-inner {
        min-height: 68px;
    }


    .site-nav {
        display: none;
    }


    .mobile-menu-button {
        display: flex;

        align-items: center;

        justify-content: center;
    }


    .hero {
        padding:
            65px 0
            70px;
    }


    .hero-inner {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 45px;
    }


    .hero-content {
        max-width: none;
    }


    .hero-content > p {
        margin-left: auto;

        margin-right: auto;
    }


    .hero-actions {
        justify-content: center;
    }


    .hero-note {
        justify-content: center;
    }


    .hero-visual {
        min-height: 390px;
    }


    .footer-inner {
        flex-direction: column;

        align-items: center;

        text-align: center;
    }


    .footer-links {
        justify-content: center;
    }

}


/* =========================================================
   RESPONSIVO — CELULAR
========================================================= */

@media (max-width: 550px) {

    .site-logo {
        font-size: 17px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }


    .hero h1 {
        font-size: 38px;

        letter-spacing: -1px;
    }


    .hero-content > p {
        font-size: 16px;
    }


    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .hero-actions .btn {
        width: 100%;
    }


    .hero-visual {
        min-height: 350px;
    }


    .hero-card {
        width: 285px;

        min-height: 350px;
    }


    .hero-animal {
        height: 190px;

        font-size: 100px;
    }


    .hero-floating-one {
        right: 0;

        top: 35px;
    }


    .hero-floating-two {
        left: 0;

        bottom: 30px;
    }


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


    .footer-links {
        flex-direction: column;

        gap: 12px;
    }

}

/* =========================================================
   MENU MOBILE — ABERTO
========================================================= */

@media (max-width: 800px) {

    .mobile-menu-button {
        display: flex;

        align-items: center;

        justify-content: center;

        width: 42px;

        height: 42px;

        border:
            1px solid rgba(255, 255, 255, 0.25);

        border-radius: 10px;

        background: transparent;

        color: var(--color-white);

        font-size: 22px;

        cursor: pointer;
    }


    .site-nav {
        display: none;
    }


    .site-nav.is-open {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;

        gap: 0;

        padding: 12px 20px 20px;

        background: var(--color-primary);

        border-top:
            1px solid rgba(255, 255, 255, 0.10);

        box-shadow:
            0 12px 25px rgba(59, 36, 24, 0.18);

        z-index: 1000;
    }


    .site-nav.is-open a {

        display: block;

        width: 100%;

        padding: 13px 4px;

        color: rgba(255, 255, 255, 0.92);

        text-align: left;
    }


    .site-nav.is-open a:hover {

        color: var(--color-white);
    }


    .site-nav.is-open a:not(.nav-login)::after {

        display: none;
    }


    .site-nav.is-open .nav-login {

        margin-top: 8px;

        text-align: center;
    }

}



/* ==========================================
   COMBO ASSUNTO — FORMULÁRIO DE CONTATO
========================================== */

.contact-form #contactSubject {
    display: block;
    width: 100%;
    min-height: 48px;

    padding: 12px 42px 12px 15px;

    border: 1px solid var(--color-border-light);
    border-radius: 12px;

    background-color: var(--color-white);
    color: var(--color-text-dark);

    font-family: inherit;
    font-size: 14px;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;

    /* Seta personalizada */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B756D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.contact-form #contactSubject:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 107, 69, 0.10);
}


/* =========================================================
   CONTATO
========================================================= */

.contact-section {
    background: var(--color-white);
}


.contact-form-wrapper {
    max-width: 850px;

    margin: 0 auto;
}


.contact-form {
    padding: 35px;

    border:
        1px solid var(--color-border-light);

    border-radius: var(--radius-lg);

    background: var(--color-background-soft);

    box-shadow: var(--shadow-sm);
}


.contact-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 20px;
}


.form-group label {
    color: var(--color-text-dark);

    font-size: 14px;

    font-weight: 700;
}


.form-group label span {
    color: var(--color-text-light);

    font-size: 12px;

    font-weight: 400;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 15px;

    border:
        1px solid var(--color-border-light);

    border-radius: 10px;

    background: var(--color-white);

    color: var(--color-text-dark);

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}


.form-group textarea {
    min-height: 140px;

    resize: vertical;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);

    box-shadow:
        0 0 0 3px rgba(201, 107, 69, 0.10);
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A99A90;
}


.contact-form-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 5px;
}


.contact-form-footer small {
    max-width: 400px;

    color: var(--color-text-light);

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   FOOTER — CONTATO
========================================================= */

.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.footer-contact h3 {
    margin-bottom: 5px;

    color: var(--color-white);

    font-size: 15px;
}


.footer-contact-link {
    color: rgba(255, 255, 255, .72);

    font-size: 13px;

    transition:
        color var(--transition);
}


.footer-contact-link:hover {
    color: var(--color-white);
}


/* =========================================================
   RESPONSIVO — CONTATO
========================================================= */

@media (max-width: 800px) {

    .contact-form-grid {
        grid-template-columns: 1fr;
    }


    .contact-form {
        padding: 25px 20px;
    }


    .contact-form-footer {
        flex-direction: column;

        align-items: stretch;
    }


    .contact-form-footer .btn {
        width: 100%;
    }


    .footer-contact {
        align-items: center;
    }

}


@media (max-width: 550px) {

    .contact-form {
        padding: 20px 16px;
    }

}




/* =========================================================
   CAROUSEL — ESTADO VAZIO
========================================================= */

.carousel-empty {

    display: block;

}


.carousel-empty-state {

    max-width: 620px;

    margin: 0 auto;

    padding: 48px 32px;

    text-align: center;

    border:
        1px dashed var(--color-border-light);

    border-radius:
        var(--radius-lg);

    background:
        var(--color-background-soft);

}


.carousel-empty-icon {

    width: 64px;

    height: 64px;

    margin:
        0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background:
        var(--color-sand);

    font-size: 30px;

}


.carousel-empty-state h3 {

    margin:
        8px 0 10px;

    color:
        var(--color-text-dark);

    font-size: 22px;

}


.carousel-empty-state p {

    max-width: 470px;

    margin: 0 auto;

    color:
        var(--color-text-light);

    font-size: 14px;

    line-height: 1.7;

}

/* =========================================================
   ÂNCORAS / SCROLL
========================================================= */

section[id] {
    scroll-margin-top: 110px;
}


#contactSubject {
    width: 100%;
    min-height: 45px;
    padding: 11px 14px;
    border: 1px solid #d8e0da;
    border-radius: 12px;
    background-color: #fff;
    color: #25352c;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}

#contactSubject:focus {
    border-color: #4f8b62;
    box-shadow: 0 0 0 3px rgba(79, 139, 98, .12);
}