/* Ky Delícia — Confeitaria Artesanal
   Identidade: vitrine afetiva de confeitaria. Chocolate #3B2321, rosa glacê #DE7E93,
   caramelo #C98E52, creme de confeitar #FAF3E8, framboesa #9E3B54.
   Fontes: Abril Fatface (display) · Bellota Text (texto) · Pacifico (manuscrito) */

:root {
    --choco: #3B2321;
    --choco-soft: #563530;
    --rosa: #DE7E93;
    --rosa-soft: #F4D7DD;
    --caramelo: #C98E52;
    --creme: #FAF3E8;
    --framboesa: #9E3B54;
    --white: #FFFFFF;
    --muted: #7C6A64;
    --line: #EADFD2;
    --display: 'Abril Fatface', serif;
    --body: 'Bellota Text', sans-serif;
    --script: 'Pacifico', cursive;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    background: var(--creme);
    color: var(--choco);
    line-height: 1.75;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.18;
    color: var(--choco);
}

h1 { font-size: 2.9rem; }
h2 { font-size: 2.15rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; }

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

.container { width: min(1120px, 92%); margin: 0 auto; }
.container.narrow { max-width: 820px; }

.eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--framboesa);
    margin-bottom: 0.6rem;
}

.section-intro { max-width: 640px; color: var(--muted); margin-bottom: 2.2rem; }

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    background: rgba(59, 35, 33, 0.97);
    border-bottom: 3px solid var(--caramelo);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 32px rgba(59, 35, 33, 0.35); }

.header-inner {
    width: min(1240px, 94%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 1.25rem;
    color: var(--white);
    background: var(--framboesa);
    border-radius: 50% 50% 50% 8px;
}
.brand-name {
    font-family: var(--display);
    font-size: 1.4rem;
    color: var(--white);
}
.brand-name em { font-style: normal; color: var(--rosa); }

.nav { margin-left: auto; display: flex; gap: 1.6rem; }
.nav a {
    text-decoration: none;
    color: #EFD9CF;
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    transition: color 0.2s ease;
}
.nav a:hover { color: var(--rosa); }

.header-cta {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--choco);
    background: var(--rosa);
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.2s ease;
}
.header-cta:hover { background: var(--white); transform: translateY(-2px); }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none;
    border: 1px solid rgba(222, 126, 147, 0.6);
    border-radius: 10px;
    cursor: pointer;
    margin-left: auto;
}
.menu-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--rosa);
    margin: 0 auto;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
    background:
        radial-gradient(circle at 88% 12%, rgba(222, 126, 147, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 8% 90%, rgba(201, 142, 82, 0.16) 0%, transparent 40%),
        var(--creme);
    padding: 8.6rem 0 4.6rem;
}
.hero-inner {
    width: min(1140px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 3.2rem;
    align-items: center;
}
.hero-script {
    font-family: var(--script);
    font-size: 1.45rem;
    color: var(--rosa);
    margin-bottom: 0.4rem;
    transform: rotate(-2deg);
}
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.9rem; max-width: 540px; }

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn {
    display: inline-block;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--framboesa); color: var(--white); }
.btn-solid:hover { background: var(--choco); }
.btn-ghost { border: 2px solid var(--caramelo); color: var(--choco); }
.btn-ghost:hover { background: var(--caramelo); color: var(--white); }

.hero-visual { position: relative; }
.hero-visual img {
    border-radius: 170px 22px 22px 22px;
    border: 6px solid var(--white);
    box-shadow: 0 26px 54px rgba(59, 35, 33, 0.22);
}
.hero-badge {
    position: absolute;
    left: -1.2rem;
    bottom: 1.6rem;
    background: var(--choco);
    color: var(--rosa-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 2px solid var(--caramelo);
    transform: rotate(-2deg);
}

/* ============ HISTÓRIA ============ */
.about { background: var(--white); padding: 5.6rem 0; }
.about-grid {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 3.2rem;
    align-items: center;
}
.about-photo img {
    border-radius: 22px 160px 22px 22px;
    border: 6px solid var(--rosa-soft);
}
.about-copy p { margin-bottom: 1.1rem; color: var(--muted); }
.about-copy p:first-of-type { color: var(--choco); font-size: 1.05rem; }
.about-list {
    list-style: none;
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.4rem;
}
.about-list li {
    padding: 0.5rem 0 0.5rem 1.8rem;
    position: relative;
    font-weight: 500;
    font-size: 0.94rem;
}
.about-list li::before {
    content: '✿';
    position: absolute;
    left: 0;
    color: var(--rosa);
}

/* ============ VITRINE ============ */
.showcase { background: var(--creme); padding: 5.6rem 0; }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2.4rem;
}
.filter-btn {
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--choco);
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: 999px;
    padding: 0.55rem 1.3rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { border-color: var(--rosa); color: var(--framboesa); }
.filter-btn.is-active {
    background: var(--choco);
    border-color: var(--choco);
    color: var(--rosa-soft);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.cake-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.35s ease;
}
.cake-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(59, 35, 33, 0.14);
}
.cake-card.is-hidden { display: none; }
.cake-media { margin: 0; }
.cake-media img { width: 100%; height: 215px; object-fit: cover; }
.cake-body { padding: 1.5rem 1.6rem 1.7rem; }
.cake-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--framboesa);
    background: var(--rosa-soft);
    border-radius: 999px;
    padding: 0.28rem 0.85rem;
    margin-bottom: 0.8rem;
}
.cake-body h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.cake-body p { color: var(--muted); font-size: 0.93rem; }

.showcase-note {
    margin-top: 2.4rem;
    padding: 1.1rem 1.4rem;
    background: var(--white);
    border: 1px dashed var(--caramelo);
    border-radius: 16px;
    color: var(--choco-soft);
    font-size: 0.96rem;
}

/* ============ COMO ENCOMENDAR ============ */
.order { background: var(--choco); padding: 5.6rem 0; }
.order .eyebrow { color: var(--rosa); }
.order h2 { color: var(--white); }
.order .section-intro { color: #D9C2BC; }

.order-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    counter-reset: etapa;
}
.order-steps li {
    counter-increment: etapa;
    background: rgba(250, 243, 232, 0.05);
    border: 1px solid rgba(222, 126, 147, 0.35);
    border-radius: 20px;
    padding: 1.7rem 1.5rem 1.8rem;
    position: relative;
}
.order-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 50% 50% 50% 10px;
    background: var(--rosa);
    color: var(--choco);
    font-family: var(--display);
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
}
.order-mark::before { content: counter(etapa); }
.order-steps h3 { color: var(--white); font-size: 1.12rem; margin-bottom: 0.5rem; }
.order-steps p { color: #D9C2BC; font-size: 0.9rem; }

/* ============ DÚVIDAS ============ */
.faq { background: var(--white); padding: 5.6rem 0; }

.accordion {
    background: var(--creme);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}
.accordion-item + .accordion-item { border-top: 1px solid var(--line); }
.accordion-heading { margin: 0; }
.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 1.3rem 1.6rem;
    font-family: var(--body);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--choco);
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease;
}
.accordion-trigger:hover { background: var(--rosa-soft); }
.accordion-trigger[aria-expanded="true"] { color: var(--framboesa); }

.acc-icon { position: relative; flex: 0 0 auto; width: 14px; height: 14px; }
.acc-icon::before, .acc-icon::after {
    content: '';
    position: absolute;
    background: var(--framboesa);
    border-radius: 2px;
    transition: transform 0.25s ease;
}
.acc-icon::before { left: 0; right: 0; top: 6px; height: 2px; }
.acc-icon::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.accordion-trigger[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); }

.accordion-panel { padding: 0 1.6rem 1.5rem; color: var(--muted); }

.faq-sources {
    margin-top: 1.9rem;
    font-size: 0.9rem;
    color: var(--muted);
    border-left: 4px solid var(--rosa);
    padding-left: 1.1rem;
}
.faq-sources a {
    color: var(--framboesa);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dotted var(--framboesa);
}
.faq-sources a:hover { color: var(--choco); }

/* ============ DEPOIMENTOS ============ */
.testimonials { background: var(--creme); padding: 5.6rem 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.testimonial {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.9rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}
.testimonial blockquote p { color: var(--choco-soft); font-size: 0.97rem; }
.testimonial blockquote p::before { content: '❝ '; color: var(--rosa); font-size: 1.2rem; }
.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px dashed var(--line);
    padding-top: 1.1rem;
}
.testimonial img {
    width: 54px; height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--rosa);
}
.testimonial strong { display: block; font-size: 0.96rem; color: var(--choco); }
.testimonial small { color: var(--muted); font-size: 0.8rem; }

/* ============ CONTATO ============ */
.contact { background: var(--white); padding: 5.6rem 0; }
.contact-grid {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
}
.contact-copy > p { color: var(--muted); max-width: 560px; }
.contact-list { list-style: none; margin-top: 1.3rem; }
.contact-list li {
    padding: 0.45rem 0 0.45rem 1.7rem;
    position: relative;
    color: var(--choco-soft);
}
.contact-list li::before {
    content: '✿';
    position: absolute;
    left: 0;
    color: var(--rosa);
}

.contact-card {
    background: var(--rosa-soft);
    border: 1px solid var(--rosa);
    border-radius: 22px;
    padding: 2.2rem;
}
.contact-card h3 { margin-bottom: 1.1rem; }
.contact-card address { font-style: normal; color: var(--choco-soft); margin-bottom: 1.2rem; }
.contact-card address p { margin-bottom: 0.8rem; font-size: 0.95rem; }
.contact-note {
    color: var(--framboesa);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 1.4rem;
}
.contact-card .btn-solid { width: 100%; text-align: center; }

/* ============ AUTORIDADE ============ */
.authority { background: var(--framboesa); padding: 3.2rem 0; }
.authority h3 {
    color: var(--white);
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}
.authority-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.authority-links a {
    display: block;
    color: #FBEFF1;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 14px;
    background: rgba(59, 35, 33, 0.22);
    transition: background 0.2s ease;
}
.authority-links a:hover { background: rgba(59, 35, 33, 0.45); }

/* ============ FOOTER ============ */
.site-footer { background: var(--choco); color: #D9C2BC; }
.footer-grid {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: 2.4rem;
    padding: 3.4rem 0 2.2rem;
}
.footer-brand strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--white);
    display: block;
    margin-bottom: 0.8rem;
}
.footer-brand em { font-style: normal; color: var(--rosa); }
.footer-brand p { font-size: 0.92rem; max-width: 360px; }
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a { color: #D9C2BC; text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--rosa); }
.footer-authority { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-authority a { color: #B79A93; text-decoration: none; font-size: 0.84rem; }
.footer-authority a:hover { color: var(--rosa); }
.footer-bottom {
    border-top: 1px solid #563530;
    padding: 1.1rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: #B79A93;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    right: 1.4rem; bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25A558;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(37, 165, 88, 0.42);
    z-index: 1100;
    transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); }
.wa-icon {
    width: 18px; height: 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, var(--white) 3px, transparent 4px),
        radial-gradient(circle at 68% 32%, var(--white) 3px, transparent 4px),
        radial-gradient(circle at 50% 62%, var(--white) 5px, transparent 6px),
        var(--white);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
