/* Deck Casa Metais — Metais Sanitários & Acabamentos
   Identidade: showroom elegante. Café espresso #2B2523, rose gold #B76E79,
   champagne #D9B98D, creme #F7F2EB, sálvia #6E8B74.
   Fontes: Vidaloka (display) · Quicksand (texto) · Jura (etiquetas) */

:root {
    --espresso: #2B2523;
    --rose: #B76E79;
    --rose-deep: #9C5560;
    --champagne: #D9B98D;
    --creme: #F7F2EB;
    --sage: #6E8B74;
    --white: #FFFFFF;
    --text: #453B37;
    --muted: #7C6F68;
    --line: #E5D9C9;
    --display: 'Vidaloka', serif;
    --body: 'Quicksand', sans-serif;
    --label: 'Jura', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

h1 { font-size: 2.9rem; }
h2 { font-size: 2.1rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

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

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

.eyebrow {
    font-family: var(--label);
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 0.6rem;
}

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

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    background: rgba(247, 242, 235, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(43, 37, 35, 0.12); }

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

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark {
    width: 34px; height: 34px;
    border: 1px solid var(--rose);
    border-radius: 50% 50% 50% 8px;
    background: linear-gradient(135deg, var(--rose) 0%, var(--champagne) 100%);
    box-shadow: inset 0 0 0 5px var(--creme);
}
.brand-name {
    font-family: var(--display);
    font-size: 1.25rem;
    color: var(--espresso);
    letter-spacing: 0.04em;
}
.brand-name em { font-style: normal; color: var(--rose); }

.nav { margin-left: auto; display: flex; gap: 1.6rem; }
.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    position: relative;
    padding: 0.3rem 0;
}
.nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--rose);
    transition: width 0.25s ease;
}
.nav a:hover { color: var(--espresso); }
.nav a:hover::after { width: 100%; }

.header-cta {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--white);
    background: var(--espresso);
    padding: 0.7rem 1.3rem;
    border-radius: 999px;
    border: 1px solid var(--espresso);
    transition: background 0.25s ease, border-color 0.25s ease;
}
.header-cta:hover { background: var(--rose-deep); border-color: var(--rose-deep); }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    margin-left: auto;
}
.menu-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--espresso);
    margin: 0 auto;
    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 {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
    padding: 8.5rem 0 5rem;
    width: min(1240px, 94%);
    margin: 0 auto;
}
.eyebrow-line { display: flex; align-items: center; gap: 0.9rem; }
.hero .lead { font-size: 1.06rem; color: var(--muted); margin: 1.2rem 0 1.8rem; max-width: 520px; }

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

.btn {
    display: inline-block;
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.85rem 1.7rem;
    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(--rose); color: var(--white); }
.btn-solid:hover { background: var(--rose-deep); }
.btn-ghost { border: 1px solid var(--espresso); color: var(--espresso); }
.btn-ghost:hover { background: var(--espresso); color: var(--white); }

.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    margin-top: 2rem;
}
.hero-badges li {
    font-family: var(--label);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--sage);
    padding-left: 1.3rem;
    position: relative;
}
.hero-badges li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.32em;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--champagne);
}

.hero-frame { position: relative; }
.hero-frame img {
    border-radius: 180px 24px 24px 24px;
    box-shadow: 0 30px 60px rgba(43, 37, 35, 0.18);
}
.hero-frame::before {
    content: '';
    position: absolute;
    inset: -14px 14px 14px -14px;
    border: 1px solid var(--champagne);
    border-radius: 180px 24px 24px 24px;
    z-index: -1;
}

/* ============ SOBRE ============ */
.about { background: var(--white); padding: 5.5rem 0; }
.about-grid {
    width: min(1140px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 3rem;
    align-items: center;
}
.about-photo img {
    border-radius: 24px 24px 140px 24px;
    border: 1px solid var(--line);
}
.about-copy p { margin-bottom: 1.1rem; color: var(--muted); }
.about-copy p:first-of-type { color: var(--text); }

/* ============ COLEÇÕES ============ */
.collections { padding: 5.5rem 0; }
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(43, 37, 35, 0.14); }
.card-media { margin: 0; }
.card-media img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.5rem 1.6rem 1.8rem; }
.card-body h3 { margin-bottom: 0.6rem; }
.card-body > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0.9rem; }
.card-body ul { list-style: none; }
.card-body li {
    font-size: 0.9rem;
    color: var(--text);
    padding: 0.35rem 0 0.35rem 1.4rem;
    position: relative;
    border-bottom: 1px dashed var(--line);
}
.card-body li:last-child { border-bottom: 0; }
.card-body li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--rose);
    font-size: 0.62rem;
    top: 0.62em;
}

/* ============ ACABAMENTOS (TABS) ============ */
.finishes { background: var(--espresso); padding: 5.5rem 0; }
.finishes .eyebrow { color: var(--champagne); }
.finishes h2 { color: var(--creme); }
.finishes .section-intro { color: #C9BBB2; }

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.8rem;
}
.tab {
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.9rem;
    color: #C9BBB2;
    background: none;
    border: 1px solid #4A403C;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tab:hover { color: var(--creme); border-color: var(--champagne); }
.tab.is-active {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--white);
}

.tab-panel {
    background: #372F2B;
    border: 1px solid #4A403C;
    border-radius: 20px;
    padding: 2.2rem 2.4rem;
    max-width: 820px;
}
.tab-panel h3 { color: var(--champagne); margin-bottom: 0.7rem; font-size: 1.35rem; }
.tab-panel p { color: #D8CCC4; font-size: 0.99rem; }

/* ============ AMBIENTES ============ */
.rooms { padding: 5.5rem 0; }
.rooms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    margin-bottom: 2rem;
}
.room-photo { position: relative; }
.room-photo img {
    border-radius: 20px;
    height: 300px;
    width: 100%;
    object-fit: cover;
}
.room-photo figcaption {
    position: absolute;
    left: 1.2rem; bottom: 1.2rem;
    font-family: var(--display);
    color: var(--white);
    background: rgba(43, 37, 35, 0.82);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--champagne);
    letter-spacing: 0.05em;
}
.rooms-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}
.rooms-text p { color: var(--muted); }
.rooms-text strong { color: var(--espresso); font-weight: 700; }

/* ============ GUIA (ACCORDION) ============ */
.guide { background: var(--white); padding: 5.5rem 0; }
.accordion { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.accordion-item + .accordion-item { border-top: 1px solid var(--line); }
.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 1.25rem 1.6rem;
    font-family: var(--body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--espresso);
    text-align: left;
    transition: background 0.2s ease;
}
.accordion-trigger:hover { background: var(--creme); }
.acc-icon {
    position: relative;
    flex: 0 0 auto;
    width: 14px; height: 14px;
}
.acc-icon::before, .acc-icon::after {
    content: '';
    position: absolute;
    background: var(--rose);
    transition: transform 0.25s ease;
}
.acc-icon::before { inset: 6px 0 auto 0; height: 2px; }
.acc-icon::after { inset: 0 6px auto 6px; height: 14px; width: 2px; left: 50%; transform: translateX(-50%); }
.accordion-trigger[aria-expanded="true"] .acc-icon::after { transform: translateX(-50%) scaleY(0); }
.accordion-panel { padding: 0 1.6rem 1.4rem; color: var(--muted); }

.guide-sources {
    margin-top: 1.8rem;
    font-size: 0.88rem;
    color: var(--muted);
    border-left: 3px solid var(--champagne);
    padding-left: 1.1rem;
}
.guide-sources a { color: var(--rose-deep); font-weight: 600; text-decoration: none; border-bottom: 1px dotted var(--rose); }
.guide-sources a:hover { color: var(--espresso); }

/* ============ DEPOIMENTOS ============ */
.testimonials { background: var(--creme); padding: 5.5rem 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.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.testimonial blockquote p {
    font-family: var(--display);
    font-size: 1.02rem;
    color: var(--espresso);
    line-height: 1.6;
}
.testimonial blockquote p::before { content: '“'; color: var(--rose); }
.testimonial blockquote p::after { content: '”'; color: var(--rose); }
.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px dashed var(--line);
    padding-top: 1.1rem;
}
.testimonial img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--champagne);
}
.testimonial strong { display: block; font-size: 0.95rem; color: var(--espresso); }
.testimonial small { color: var(--muted); font-size: 0.8rem; }

/* ============ CONTATO ============ */
.contact { padding: 5.5rem 0; }
.contact-grid {
    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.4rem; }
.contact-list li {
    padding: 0.45rem 0 0.45rem 1.7rem;
    position: relative;
    color: var(--text);
}
.contact-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.95em;
    width: 10px; height: 10px;
    border-radius: 2px;
    background: var(--rose);
    transform: rotate(45deg);
}
.contact-card {
    background: var(--espresso);
    border-radius: 20px;
    padding: 2.2rem;
    border-top: 5px solid var(--rose);
}
.contact-card h3 { color: var(--creme); margin-bottom: 1.1rem; }
.contact-card address { font-style: normal; color: #C9BBB2; margin-bottom: 1.3rem; }
.contact-card address p { margin-bottom: 0.8rem; font-size: 0.94rem; }
.contact-note {
    font-family: var(--label);
    color: var(--champagne);
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.4rem;
}
.contact-card .btn { width: 100%; text-align: center; }
.contact-card .btn-solid { background: var(--rose); }

/* ============ AUTORIDADE ============ */
.authority { background: var(--sage); padding: 3.2rem 0; }
.authority h3 {
    color: var(--white);
    font-family: var(--label);
    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: #EDF3EE;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    background: rgba(43, 58, 47, 0.35);
    transition: background 0.2s ease;
}
.authority-links a:hover { background: rgba(43, 58, 47, 0.6); }

/* ============ FOOTER ============ */
.site-footer { background: var(--espresso); color: #C9BBB2; }
.footer-grid {
    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-size: 1.4rem;
    color: var(--creme);
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.8rem;
}
.footer-brand em { font-style: normal; color: var(--rose); }
.footer-brand p { font-size: 0.92rem; max-width: 360px; }
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a { color: #C9BBB2; text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--champagne); }
.footer-authority { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-authority a {
    color: #A7968E;
    text-decoration: none;
    font-size: 0.84rem;
    font-family: var(--label);
}
.footer-authority a:hover { color: var(--champagne); }
.footer-bottom {
    border-top: 1px solid #423834;
    padding: 1.1rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: #8D7E77;
}

/* ============ 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); }
