:root {
    --cream: #f5efe2;
    --cream-deep: #ece2cb;
    --ink: #2d2a1e;
    --green: #4b5d3f;
    --green-deep: #333f28;
    --purple: #7f6390;
    --purple-deep: #5e4a6d;
    --purple-soft: #ceb9dc;
    --gold: #b8863f;
    --gold-soft: #e3c894;
    --line: rgba(45, 42, 30, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

h1,
h2,
h3,
.script {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

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

::selection {
    background: var(--purple-soft);
    color: var(--purple-deep);
}

/* ---------- utility ---------- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    font-family: 'Jost', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 12px;
    color: var(--green);
    font-weight: 500;
}

.branch-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 18px 0;
}

.branch-divider svg {
    width: 64px;
    height: 20px;
    stroke: var(--gold);
    opacity: 0.75;
}

.branch-divider .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

/* ---------- reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s ease, transform .9s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- header ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(245, 239, 226, 0.0);
    transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}

header.scrolled {
    background: rgba(245, 239, 226, 0.92);
    backdrop-filter: blur(10px);
    padding: 12px 40px;
    box-shadow: 0 6px 24px rgba(45, 42, 30, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    letter-spacing: 0.03em;
    color: var(--green-deep);
}

.logo svg {
    width: 28px;
    height: 28px;
    stroke: var(--green);
}

nav {
    display: flex;
    gap: 38px;
    font-size: 14px;
    letter-spacing: 0.03em;
}

nav a {
    position: relative;
    padding-bottom: 4px;
    color: var(--ink);
    opacity: 0.85;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .3s ease;
}

nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    margin: 5px 0;
}

/* ---------- hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 140px 24px 80px;
    background:
        radial-gradient(circle at 15% 20%, rgba(127, 99, 144, 0.14), transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(75, 93, 63, 0.16), transparent 50%),
        var(--cream);
    overflow: hidden;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

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

.hero .eyebrow {
    opacity: 0;
    animation: riseIn .8s ease forwards 0.1s;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 84px);
    line-height: 1.03;
    color: var(--green-deep);
    margin: 14px 0 10px;
    opacity: 0;
    animation: riseIn .9s ease forwards 0.2s;
}

.hero p.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(18px, 2.4vw, 24px);
    color: var(--gold);
    letter-spacing: 0.02em;
    margin-bottom: 26px;
    opacity: 0;
    animation: riseIn .9s ease forwards 0.32s;
}

.hero p.desc {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(45, 42, 30, 0.75);
    margin-bottom: 34px;
    opacity: 0;
    animation: riseIn .9s ease forwards 0.44s;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 100px;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease, color .35s ease;
}

.btn-primary {
    background: var(--green-deep);
    color: var(--cream);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(51, 63, 40, 0.28);
}

.btn-outline {
    border-color: var(--green-deep);
    color: var(--green-deep);
    background: transparent;
}

.btn-outline:hover {
    background: var(--green-deep);
    color: var(--cream);
}

.hero .cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: riseIn .9s ease forwards 0.5s;
}

.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-hint .line {
    width: 1px;
    height: 34px;
    background: var(--green);
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ---------- section heading ---------- */
.section {
    padding: 110px 0;
}

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.section-head h2 {
    font-size: clamp(32px, 4.4vw, 50px);
    color: var(--green-deep);
    margin: 10px 0 16px;
}

.section-head p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(45, 42, 30, 0.7);
}

/* ---------- about ---------- */
.about {
    background: var(--green-deep);
    color: var(--cream);
    position: relative;
    padding: 20px 0;
}

.about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(184, 134, 63, 0.16), transparent 55%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.about-grid .eyebrow {
    color: var(--gold-soft);
}

.about-grid h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    margin: 14px 0 22px;
}

.about-grid p {
    font-size: 15.5px;
    line-height: 1.9;
    color: rgba(245, 239, 226, 0.82);
    margin-bottom: 16px;
}

.about-signature {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--gold-soft);
    margin-top: 20px;
}

.stat-row {
    display: flex;
    gap: 34px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    color: var(--gold-soft);
}

.stat .label {
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 239, 226, 0.65);
}

/* ---------- carousels ---------- */
.cat-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.cat-pill {
    padding: 9px 20px;
    border-radius: 100px;
    border: 1px solid var(--line);
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all .3s ease;
}

.cat-pill:hover,
.cat-pill.active {
    background: var(--green-deep);
    border-color: var(--green-deep);
    color: var(--cream);
}

.carousel-block {
    margin-bottom: 78px;
}

.carousel-block:last-child {
    margin-bottom: 0;
}

.carousel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0 4px;
}

.carousel-head h3 {
    font-size: 26px;
    color: var(--green-deep);
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.car-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
}

.car-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
}

.car-btn:hover svg {
    stroke: var(--cream);
}

.car-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--ink);
    transition: stroke .3s ease;
}

.carousel-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 26px;
    scrollbar-width: thin;
    scrollbar-color: var(--purple-soft) transparent;
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: var(--purple-soft);
    border-radius: 10px;
}

.carousel-track::-webkit-scrollbar-track {
    background: transparent;
}

.card {
    scroll-snap-align: start;
    flex: 0 0 260px;
    background: #fffdf8;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .4s ease, box-shadow .4s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 40px rgba(45, 42, 30, 0.12);
}

.card-media {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-media img {
    height: 190px;
}

.card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 60%);
}

.card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-deep);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid;
    z-index: 3;
}

.card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-body h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    color: var(--green-deep);
    line-height: 1.2;
}

.card-body p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(45, 42, 30, 0.66);
    flex: 1;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}

.card-foot .price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: var(--purple-deep);
}

.card-foot .add {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cream-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform .3s ease;
    border: 1px solid;
}

.card-foot .add:hover {
    background: var(--gold);
    transform: translateY(-5px);
}

/* ---------- values ---------- */
.values {
    background: var(--cream-deep);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.value-card {
    text-align: center;
    padding: 40px 26px;
}

.value-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: 1px solid var(--line);
}

.value-card .icon-wrap svg {
    width: 28px;
    height: 28px;
    stroke: var(--purple);
}

.value-card h4 {
    font-size: 21px;
    color: var(--green-deep);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 13.5px;
    line-height: 1.8;
    color: rgba(45, 42, 30, 0.68);
}

/* ---------- testimonial strip ---------- */
.quote-strip {
    background: var(--purple);
    color: var(--cream);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-strip::before {
    content: "“";
    font-family: 'Cormorant Garamond', serif;
    font-size: 220px;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.09);
    line-height: 1;
}

.quote-strip p {
    position: relative;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(22px, 3.4vw, 32px);
    max-width: 760px;
    margin: 0 auto 18px;
    line-height: 1.5;
}

.quote-strip span {
    position: relative;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
}

/* ---------- contact ---------- */
.contact-grid {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    justify-content: center;
    text-align: center;
}

.contact-info h2 {
    font-size: clamp(30px, 4vw, 44px);
    color: var(--green-deep);
    margin: 12px 0 20px;
}

.contact-info p {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(45, 42, 30, 0.72);
    margin-bottom: 26px;
    max-width: 420px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
    align-items: center;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    font-size: 14.5px;
}

.contact-list svg {
    width: 20px;
    height: 20px;
    stroke: var(--purple);
    flex-shrink: 0;
}

.social-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-row a {
    height: 50px;
    font-size: 20px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.social-row a:hover {
    background: var(--green-deep);
    border-color: var(--green-deep);
}

.social-row a i {
    margin-right: 5px;
}

.social-row a:hover {
    stroke: var(--cream);
}

/*----------carrinho de produtos--------*/

/* Agrupa painel + barra num único bloco fixo na tela */
#cartWrapper {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: none; /* escondido até existir pelo menos 1 produto no carrinho */
    flex-direction: column;
}

/* Classe adicionada via JS quando o carrinho tem algum item */
#cartWrapper.visible {
    display: flex;
}

/* Barra sempre visível */
#cartBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    background: rgba(245, 239, 226, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 -6px 24px rgba(45, 42, 30, 0.06);
    font-size: 16px;
}

#cartSummary {
    cursor: pointer;
}

/* Seta que abre/fecha o painel */
#abrir-carrinho {
    cursor: pointer;
    display: inline-flex;
    transition: transform .3s ease;
}

/* Gira a seta (vira pra baixo) quando o carrinho está aberto */
#abrir-carrinho.open {
    transform: rotate(180deg);
}

/* Painel com a lista de produtos — escondido por padrão (max-height: 0) */
#cartPanel {
    max-height: 0;
    overflow: hidden;
    background: rgba(245, 239, 226, 0.97);
    backdrop-filter: blur(10px);
    transition: max-height .4s ease;
}

/* Classe adicionada via JS quando o usuário clica na seta */
#cartPanel.open {
    max-height: 50vh;
    overflow-y: auto;
    border-top: 1px solid rgba(45, 42, 30, 0.08);
}

/* Cada linha de produto dentro do painel */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 40px;
    border-bottom: 1px solid rgba(45, 42, 30, 0.08);
}

.cart-item-name {
    flex: 1;
    font-size: 14px;
}

.cart-item-price {
    font-weight: 600;
    min-width: 80px;
    text-align: right;
}

/* Botões de + e - da quantidade */
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(45, 42, 30, 0.2);
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: rgba(45, 42, 30, 0.08);
}

.qty-value {
    min-width: 18px;
    text-align: center;
}

/* Botão de remover o produto inteiro (lixeira) */
.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #b23b3b;
    font-size: 16px;
}

/* Mensagem de "carrinho vazio" */
#cartEmptyMsg {
    text-align: center;
    padding: 24px;
    opacity: 0.6;
    font-size: 14px;
}

/* Escondida via JS quando existem itens no carrinho */
#cartEmptyMsg.hidden {
    display: none;
}

#botaoWhatsapp {
    background-color: #25d366;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    border: 2px solid white;
    cursor: pointer;
}

/* ---------- footer ---------- */
footer {
    background: var(--green-deep);
    color: rgba(245, 239, 226, 0.75);
    padding: 44px 0 28px;
    text-align: center;
}

footer .logo-foot {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--gold-soft);
    margin-bottom: 8px;
}

footer .fine {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 14px;
}

/* ---------- responsive ---------- */
@media (max-width:900px) {

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

    .about-img {
        max-width: 320px;
        margin: 0 auto;
    }

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

@media (max-width:720px) {
    header {
        padding: 16px 22px;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(72vw, 300px);
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 30px;
        padding: 0 40px;
        transform: translateX(100%);
        transition: transform .45s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    nav.open {
        transform: translateX(0);
    }

    .nav-toggle {
        display: block;
    }

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

    .card {
        flex: 0 0 220px;
    }
}

@media (max-width: 480px) {
    #cartBar {
        padding: 20px 24px;
        font-size: 18px;
    }

    .cart-item {
        padding: 10px 16px;
    }
}