/* ====== RESET & BASE ====== */
/* Fonte ClashGrotesk-Variable local */
@font-face {
    font-family: 'ClashGrotesk';
    src: url('../fonts/ClashGrotesk-Variable.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.justificado {
    text-align: justify;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fdfaf6;
    color: #222;
    line-height: 1.6;
    min-height: 100vh;
}

/* ====== COLORS ====== */
:root {
    --orange-main: #f48c06;
    --orange-highlight: #fca311;
    --green-dark: #344e41;
    --brown: #a56a37;
    --beige: #fdfaf6;
    --white: #fff;
    --shadow: 0 4px 24px 0 rgba(52, 78, 65, 0.08);
    --radius: 18px;
}

/* ====== HEADER ====== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 72px;
    z-index: 100;
    transition: background 0.3s, box-shadow 0.3s;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 58px;
    width: 58px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(244, 140, 6, 0.15);
}

.logo-text {
    font-family: 'ClashGrotesk', 'Lora', serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: 1px;
}

.header__nav {
    display: flex;
    gap: 32px;
}

.header__nav a {
    text-decoration: none;
    color: var(--green-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    position: relative;
    padding: 4px 0;
}

.header__nav a.active,
.header__nav a:hover,
.header__nav a:focus {
    color: var(--orange-main);
}

.header__nav a.active::after,
.header__nav a:hover::after {
    content: '';
    display: block;
    height: 2px;
    background: var(--orange-main);
    border-radius: 2px;
    width: 100%;
    margin-top: 2px;
    transition: width 0.2s;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: #f6f6f6;
}

.main-btn {
    background: var(--orange-main);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.main-btn:hover,
.main-btn:focus {
    background: var(--orange-highlight);
    color: var(--white);
    transform: translateY(-2px) scale(1.04);
}

.main-btn.small {
    padding: 8px 18px;
    font-size: 0.95rem;
}

.main-btn.white {
    background: var(--white);
    color: var(--green-dark);
    border: 2px solid var(--white);
}

.main-btn.white:hover {
    background: var(--orange-main);
    color: var(--white);
    border-color: var(--orange-main);
}

.whatsapp-btn {
    background: var(--green-dark);
    color: var(--white);
}

.whatsapp-btn:hover {
    background: #26382e;
}

.destaque-loja {
    background: linear-gradient(90deg, #fca311, #f48c06) !important;
    color: #fff !important;
    font-weight: 900 !important;
    border: none !important;
    box-shadow: 0 2px 16px #fca31180 !important;
    letter-spacing: 1px;
    transition: filter 0.2s, transform 0.2s;
}

.destaque-loja:hover {
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.06);
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: var(--green-dark);
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(52, 78, 65, 0.18);
    z-index: 200;
    transition: background 0.2s;
    animation: pulse 1.8s infinite;
}

.whatsapp-float:hover {
    background: var(--orange-main);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 78, 65, 0.18);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(52, 78, 65, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 78, 65, 0);
    }
}

/* ====== HERO ====== */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 72px;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(52, 78, 65, 0.72) 0%, rgba(244, 140, 6, 0.18) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    background: rgba(242, 230, 219, 0.704);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 56px 40px;
    max-width: 540px;
    margin: 0 24px;
    text-align: center;
    animation: fadein 1.2s;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero h1 {
    font-family: 'ClashGrotesk', 'Lora', serif;
    font-size: 4.7rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 18px;
    line-height: 0.30;
    letter-spacing: 2px;
}

.hero .highlight {
    font-family: 'Lora', serif;
    font-size: 2.0rem;
    color: var(--brown-dark);
    background: none;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(244, 140, 6, 0.08);
}

.hero .highlight2 {
    font-family: 'Arial', 'Lora', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 18px;
    line-height: 1.15;
    letter-spacing: 1px;
}

.hero .highlight3 {
    font-family: 'Lora', serif;
    font-size: 2.7rem;
    font-weight: bold;
    color: #af5802;
    margin-bottom: 18px;
    line-height: 1.15;
    letter-spacing: 1px;
}

.hero .highlight4 {
    text-align: justify;
    margin: 0 auto;
    display: block;
    width: 100%;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 32px;
}

.hero__actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-btn {
    background: none;
    color: var(--orange-main);
    border: 2px solid var(--orange-main);
    border-radius: var(--radius);
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.secondary-btn:hover,
.secondary-btn:focus {
    background: var(--orange-main);
    color: var(--white);
    transform: translateY(-2px) scale(1.04);
}

.animate-bounce {
    animation: bounce 1.6s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    opacity: 0.8;
    animation: bounce 1.6s infinite;
    z-index: 2;
}

/* ====== HISTORY ====== */
.history {
    padding: 96px 0 48px 0;
    background: var(--beige);
}

.history__container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.history__image {
    flex: 1 1 340px;
    min-width: 320px;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    box-shadow: 0 4px 24px 0 rgba(52, 78, 65, 0.10);
    overflow: hidden;
}

.history__card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    position: absolute;
    left: 18px;
    bottom: 18px;
    font-weight: 700;
    color: var(--green-dark);
    font-size: 1.1rem;
    animation: up 1s;
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.history__content {
    flex: 1 1 380px;
    min-width: 320px;
}

.tag {
    display: inline-block;
    background: var(--orange-main);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 4px 16px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.history__content h2 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    color: var(--green-dark);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.history__content .highlight2 {
    color: var(--orange-highlight);
    background: none;
    font-weight: 700;
}

.history__content p {
    font-size: 1.1rem;
    color: #444;
}

/* ====== FEATURES ====== */
.features {
    position: relative;
    background: var(--brown);
    background-size: cover;
    background-position: center;
    padding: 96px 0;
    overflow: hidden;
}

.features__overlay {
    position: absolute;
    inset: 0;

    z-index: 1;
}

.features__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.features__content h2 {
    font-family: 'Lora', serif;
    font-size: 3.1rem;
    margin-bottom: 10px;
    color: var(--white);
}

.features__content p {
    font-size: 2.1rem;
    margin-bottom: 36px;
    color: #fdfaf6;
}

.features__cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 2px 16px rgba(52, 78, 65, 0.10);
    padding: 32px 24px;
    min-width: 220px;
    max-width: 260px;
    flex: 1 1 220px;
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
    transition: transform 0.18s, box-shadow 0.18s;
    animation: up 1s;
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(244, 140, 6, 0.18);
}

.feature-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    margin: 16px 0 8px 0;
    color: rgb(255, 255, 255);
}

.feature-card p {
    font-size: 1rem;
    color: #fdfaf6;
    margin-bottom: 0;
}

/* ====== PORTFOLIO ====== */
.portfolio {
    background-size: cover;
    background-position: center;
    padding: 96px 0 48px 0;
    position: relative;
}

.portfolio__content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.portfolio__content h2 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.portfolio__content p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 32px;
}

.portfolio__filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 2px solid var(--orange-main);
    color: var(--orange-main);
    border-radius: 22px;
    padding: 8px 22px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--orange-main);
    color: var(--white);
    transform: translateY(-2px) scale(1.04);
}

.portfolio__gallery {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Slider simples para as imagens dos produtos */
.product-image-slider {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.product-image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s;
    z-index: 1;
}

.product-image-slider img.active {
    opacity: 1;
    z-index: 2;
}

.product-image-slider .product-tag,
.product-image-slider .product-hover {
    position: absolute;
    z-index: 10;
}

.product-tag {
    left: 12px;
    top: 12px;
    background: var(--orange-main);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 4px 14px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(244, 140, 6, 0.10);
}

.product-hover {
    inset: 0;
    background: rgba(52, 78, 65, 0.62);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.18s;
    z-index: 3;
    flex-direction: column;
    gap: 8px;
}

.product-card:hover .product-hover {
    opacity: 1;
}

.product-card {
    background: #52330116;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 340px;
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s;
    animation: up 1s;
}

.product-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(244, 140, 6, 0.18);
}

.product-card h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--green-dark);
    padding: 18px 16px 16px 16px;
    text-align: center;
}

/* ====== CONTACT ====== */
.contact {
    background-size: cover;
    background-position: center;
    padding: 96px 0 48px 0;
}

.contact__container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact__form-card {
    background: var(--beige);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 32px;
    flex: 1 1 380px;
    min-width: 320px;
    max-width: 520px;
    animation: up 1s;
}

.contact__form-card h2 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.contact__form-card p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 22px;
}

.contact__form-card form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact__form-card label {
    font-weight: 600;
    color: var(--green-dark);
    font-size: 1rem;
}

.contact__form-card input,
.contact__form-card textarea {
    border: 1.5px solid #e0e0e0;
    border-radius: var(--radius);
    padding: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: #222;
    resize: none;
    transition: border 0.18s;
}

.contact__form-card input:focus,
.contact__form-card textarea:focus {
    border-color: var(--orange-main);
    outline: none;
}

.contact__form-card textarea {
    min-height: 80px;
    max-height: 180px;
}

.contact__form-card button[type="submit"] {
    margin-top: 10px;
}

.contact__whatsapp-card {
    background: var(--green-dark);
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 32px;
    flex: 1 1 260px;
    min-width: 260px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    animation: up 1s;
}

.contact__whatsapp-card h3 {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.contact__whatsapp-card p {
    font-size: 1rem;
    color: #fdfaf6;
    margin-bottom: 10px;
}

.contact__whatsapp-card .main-btn {
    width: 100%;
    justify-content: center;
}

/* ====== FOOTER ====== */
.footer {
    background: var(--green-dark);
    color: var(--white);
    padding: 32px 0 18px 0;
    text-align: center;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
}

.footer>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.logo-img-footer {
    height: 58px;
    width: 58px;
    border-radius: 50%;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
}

.footer a {
    color: var(--white);
    margin-left: 0;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer a:hover {
    color: var(--orange-main);
}

/* ====== GLASS EFFECT ====== */
.glass {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 16px rgba(52, 78, 65, 0.10);
}

/* ====== ANIMATIONS ====== */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.7s, transform 0.7s;
}

.animate-up.animated {
    opacity: 1;
    transform: none;
}

.animate-fadein {
    opacity: 0;
    transition: opacity 1.2s;
}

.animate-fadein.animated {
    opacity: 1;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {

    .history__container,
    .features__cards,
    .contact__container,
    .portfolio__gallery {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .header {
        padding: 0 18px;
    }
}

@media (max-width: 800px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 12px 8px;
        gap: 10px;
    }

    .header__nav {
        gap: 18px;
    }

    .hero__content {
        padding: 32px 12px;
    }

    .history__container,
    .contact__container {
        gap: 24px;
    }

    .features__cards {
        gap: 18px;
    }

    .portfolio__gallery {
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        padding: 8px 2vw;
        height: auto;
    }

    .header__nav {
        gap: 10px;
        font-size: 0.95rem;
    }

    .main-btn,
    .secondary-btn {
        padding: 10px 16px;
        font-size: 0.98rem;
    }

    .hero__content {
        padding: 18px 4vw;
        max-width: 98vw;
    }

    .history__image,
    .history__content,
    .contact__form-card,
    .contact__whatsapp-card {
        min-width: 90vw;
        max-width: 98vw;
        padding: 18px 4vw;
    }

    .footer {
        flex-direction: column;
        gap: 8px;
        font-size: 0.95rem;
        padding: 18px 0 10px 0;
    }
}

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar {
    width: 8px;
    background: #eee;
}

.product-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.product-modal.active {
    display: flex;
}

.product-modal .modal-content {
    position: relative;
    max-width: 700px;
    width: 90vw;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 4px 32px #0008;
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    border: none;
    font-size: 2.5rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    opacity: 0.8;
    transition: background 0.2s;
}

.modal-arrow.left {
    left: -60px;
}

.modal-arrow.right {
    right: -60px;
}

.modal-arrow:hover {
    background: #fca311;
    color: #fff;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
}

::-webkit-scrollbar-thumb {
    background: var(--orange-main);
}