/* ============================================================
   SuperCaleiras — Stylesheet Principal
   Design: Refinado industrial com acentos em âmbar/cobre
   ============================================================ */

:root {
    /* Brand */
    --primary:       #c8860a;   /* cobre/âmbar */
    --primary-dark:  #9e6a07;
    --primary-light: #f5c04a;
    --dark:          #0f1117;
    --dark-2:        #1a1f2e;
    --mid:           #2d3347;
    --text:          #3a3f52;
    --text-light:    #6b7185;
    --white:         #ffffff;
    --off-white:     #f8f7f4;
    --border:        #e4e1d8;

    /* Dynamic (overridden via PHP inline style) */
    --header-bg:     #ffffff;
    --header-tc:     #1a1f2e;
    --footer-bg:     #1a1f2e;
    --footer-tc:     #ffffff;

    /* Typography */
    --font-display:  'Syne', sans-serif;
    --font-body:     'DM Sans', sans-serif;

    /* Spacing */
    --section-py:    6rem;
    --radius:        6px;
    --radius-lg:     12px;

    /* Transitions */
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --dur:           0.3s;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    background: var(--dark-2);
    color: rgba(255,255,255,.75);
    font-size: .8rem;
    padding: .45rem 0;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.topbar__contact { display: flex; gap: 1.25rem; }
.topbar__contact a, .topbar__hours {
    color: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    gap: .35rem;
    transition: color var(--dur);
}
.topbar__contact a:hover { color: var(--primary-light); }
.topbar__social { display: flex; gap: .75rem; }
.topbar__social a {
    color: rgba(255,255,255,.6);
    display: flex;
    align-items: center;
    transition: color var(--dur);
}
.topbar__social a:hover { color: var(--primary-light); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    background: var(--header-bg);
    color: var(--header-tc);
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    transition: background var(--dur), box-shadow var(--dur);
}
.header--scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.15); }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
}
.header__logo img { transition: opacity var(--dur); }
.header__logo:hover img { opacity: .85; }

/* Nav */
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
    font-family: var(--font-display);
    font-size: .80rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--header-tc);
    padding: .5rem .75rem;
    border-radius: var(--radius);
    position: relative;
    transition: color var(--dur), background var(--dur);
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%; right: 50%;
    height: 2px;
    background: var(--primary);
    transition: left var(--dur) var(--ease), right var(--dur) var(--ease);
    border-radius: 2px;
}
.nav a:hover::after, .nav a.active::after { left: .75rem; right: .75rem; }
.nav a:hover, .nav a.active { color: var(--primary); }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--header-tc);
    border-radius: 2px;
    transition: transform var(--dur), opacity var(--dur);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    height: 580px;
    background: var(--dark);
}
.hero__slides { position: relative; height: 100%; }
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s var(--ease);
    display: flex;
    align-items: center;
}
.hero__slide.active { opacity: 1; }
.hero__slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 6s var(--ease);
}
.hero__slide.active .hero__slide-bg { transform: scale(1); }
.hero__slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(10,12,20,.72) 40%, rgba(10,12,20,.2) 100%);
}
.hero__slide-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    color: var(--white);
    padding-left: 4rem;
    transform: translateY(24px);
    opacity: 0;
    transition: transform .8s .3s var(--ease), opacity .8s .3s var(--ease);
}
.hero__slide.active .hero__slide-content {
    transform: translateY(0);
    opacity: 1;
}
.hero__slide-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hero__slide-content h1 span { color: var(--primary-light); }
.hero__slide-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
    margin-bottom: 1.75rem;
    max-width: 480px;
}
.hero__btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Controls */
.hero__controls {
    position: absolute;
    bottom: 1.5rem; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: .6rem;
}
.hero__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: background var(--dur), transform var(--dur);
}
.hero__dot.active {
    background: var(--primary-light);
    transform: scale(1.4);
}
.hero__arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.2);
    color: white;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur);
    cursor: pointer;
}
.hero__arrow:hover { background: var(--primary); }
.hero__arrow--prev { left: 1.5rem; }
.hero__arrow--next { right: 1.5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .04em;
    padding: .75rem 1.75rem;
    border-radius: var(--radius);
    transition: background var(--dur), color var(--dur), transform var(--dur), box-shadow var(--dur);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 8px 24px rgba(200,134,10,.35); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-white:hover { background: var(--white); color: var(--dark-2); }

/* ============================================================
   SECTIONS COMMONS
   ============================================================ */
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--off-white); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .6rem;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--dark-2);
    line-height: 1.2;
}
.section-header p {
    margin-top: .75rem;
    color: var(--text-light);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.service-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur);
    cursor: pointer;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.service-card__img { aspect-ratio: 4/3; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 1.25rem 1.5rem; }
.service-card__body h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-2);
    margin-bottom: .3rem;
}
.service-card__body p { font-size: .9rem; color: var(--text-light); }
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: .8rem;
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary);
    transition: gap var(--dur);
}
.service-card:hover .service-card__link { gap: .6rem; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.why-item { aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    text-align: center; }
.why-item__icon {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(200,134,10,.25);
}
.why-item__icon img { width: 64px; filter: brightness(0) invert(1); }
.why-item h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark-2);
    margin-bottom: .4rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.why-item p { font-size: .88rem; color: var(--text-light); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--mid) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}
.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: .75rem;
}
.cta-band p { color: rgba(255,255,255,.7); margin-bottom: 2rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,12,20,.5);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--dur);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__caption { color: white; font-size: .9rem; font-weight: 500; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-2);
    margin-bottom: 1.5rem;
}
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}
.contact-info-item__icon {
    width: 42px; height: 42px; flex-shrink: 0;
    border-radius: 8px;
    background: rgba(200,134,10,.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info-item__text strong { display: block; font-weight: 600; color: var(--dark-2); font-size: .9rem; margin-bottom: .15rem; }
.contact-info-item__text span { font-size: .88rem; color: var(--text-light); }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-light);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: .8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font: inherit;
    font-size: .95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--dur), box-shadow var(--dur);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(200,134,10,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* Alert */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: .93rem;
    font-weight: 500;
}
.alert--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--footer-bg);
    color: var(--footer-tc);
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
}
.footer__brand p { font-size: .88rem; opacity: .7; margin-top: .75rem; line-height: 1.7; }
.footer__brand p + p { margin-top: .4rem; }
.footer__social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer__social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--footer-tc);
    transition: background var(--dur), color var(--dur);
}
.footer__social a:hover { background: var(--primary); color: white; }
.footer__links h4, .footer__contact h4 {
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .5;
    margin-bottom: 1rem;
}
.footer__links ul li + li { margin-top: .5rem; }
.footer__links a { font-size: .9rem; opacity: .75; transition: opacity var(--dur), color var(--dur); }
.footer__links a:hover { opacity: 1; color: var(--primary-light); }
.footer__contact p { font-size: .88rem; opacity: .7; margin-bottom: 1.25rem; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.25rem 0;
    font-size: .82rem;
    opacity: .6;
    text-align: center;
}
.footer__bottom a { opacity: .8; transition: opacity var(--dur); }
.footer__bottom a:hover { opacity: 1; }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--mid) 100%);
    padding: 4rem 0;
    color: var(--white);
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}
.page-hero p { opacity: .7; margin-top: .5rem; }
.page-hero .breadcrumb { font-size: .85rem; opacity: .6; margin-bottom: .75rem; }
.page-hero .breadcrumb a { opacity: .8; }
.page-hero .breadcrumb span { margin: 0 .4rem; }

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content {
    padding: 4rem 0;
}
.page-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-2);
    margin: 1.75rem 0 .75rem;
}
.page-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-2);
    margin: 1.25rem 0 .5rem;
}
.page-content p { margin-bottom: .9rem; }
.page-content ul { margin: .75rem 0 .75rem 1.5rem; list-style: disc; }
.page-content ul li { margin-bottom: .4rem; }
.page-content a { color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer__brand { grid-column: 1 / -1; }
    .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    :root { --section-py: 4rem; }

    .nav {
        position: fixed;
        top: 0; right: -100%;
        height: 100dvh;
        width: min(320px, 85vw);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        background: var(--white);
        box-shadow: -4px 0 30px rgba(0,0,0,.15);
        transition: right var(--dur) var(--ease);
        gap: .25rem;
        z-index: 999;
    }
    .nav.open { right: 0; }
    .nav a { width: 100%; padding: .8rem 1rem; font-size: 1rem; }
    .nav-toggle { display: flex; z-index: 1000; }

    .hero { height: 480px; }
    .hero__slide-content { padding-left: 1.5rem; padding-right: 1.5rem; }

    .services-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .topbar__hours { display: none; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .hero__slide-content h1 { font-size: 1.6rem; }
}

/* ============================================================
   SOBRE NÓS — Layout duas colunas
   ============================================================ */
.about-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    align-items: start;
}

/* Coluna esquerda: box com imagem + botão play */
.about-media__box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--off-white);
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-media__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.about-media__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.35);
    cursor: pointer;
    transition: background var(--dur);
}
.about-media__play:hover { background: rgba(0,0,0,.5); }
.about-media__play svg {
    width: 64px;
    height: 64px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
    transition: transform var(--dur);
}
.about-media__play:hover svg { transform: scale(1.12); }

/* Coluna direita: textos */
.about-content h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--dark-2);
    margin: 1.5rem 0 .65rem;
}
.about-content h2:first-child { margin-top: 0; }
.about-content__text {
    color: var(--text);
    line-height: 1.75;
    font-size: .97rem;
}

/* VIDEO POPUP */
.video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    padding: 1.5rem;
}
.video-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.video-modal {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.video-modal__close {
    position: absolute;
    top: -.5rem;
    right: -2.5rem;
    font-size: 2rem;
    color: rgba(255,255,255,.8);
    background: none;
    cursor: pointer;
    line-height: 1;
    transition: color var(--dur);
    z-index: 1;
}
.video-modal__close:hover { color: #fff; }
.video-modal__frame {
    aspect-ratio: 16/9;
    width: 100%;
}

@media (max-width: 768px) {
    .about-layout { grid-template-columns: 1fr; gap: 2rem; }
    .video-modal__close { right: 0; top: -2.5rem; }
}

/* ============================================================
   PRODUCT PAGE — Caleiras / Rufos
   ============================================================ */

/* Bloco principal: duas colunas 45/55 */
.product-block {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 3rem;
    align-items: start;
}
.product-block--sep {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

/* ---- Slider de imagens ---- */
.product-slider {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--off-white);
    border: 1px solid var(--border);
}
.product-slider__track { position: relative; }
.product-slider__slide { display: none; }
.product-slider__slide.active { display: block; }
.product-slider__slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.product-slider__dots {
    display: flex;
    justify-content: center;
    gap: .45rem;
    padding: .65rem 0;
    background: rgba(0,0,0,.03);
}
.product-slider__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    border: none;
    transition: background var(--dur), transform var(--dur);
}
.product-slider__dot.active {
    background: var(--primary);
    transform: scale(1.3);
}
.product-slider__placeholder {
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    gap: .5rem;
    font-size: .85rem;
}

/* ---- Info coluna direita ---- */
.product-block__title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--dark-2);
    margin-bottom: .75rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.product-block__text {
    color: var(--text-light);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* ---- Tabs ---- */
.product-tabs { margin-top: .5rem; }
.product-tabs__nav {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.25rem;
    gap: 0;
}
.product-tabs__btn {
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .6rem 1.25rem;
    border: none;
    background: none;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    border-radius: 4px 4px 0 0;
    transition: color var(--dur), border-color var(--dur);
}
.product-tabs__btn:hover { color: var(--text); }
.product-tabs__btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.product-tabs__panel { display: none; }
.product-tabs__panel.active { display: block; }

/* ---- Grelha de cores ---- */
.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: .6rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: .25rem;
}
.colors-grid::-webkit-scrollbar { width: 4px; }
.colors-grid::-webkit-scrollbar-track { background: var(--border); border-radius: 2px; }
.colors-grid::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
.color-swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    cursor: default;
}
.color-swatch__circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,.1);
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    flex-shrink: 0;
    transition: transform var(--dur);
}
.color-swatch:hover .color-swatch__circle { transform: scale(1.12); }
.color-swatch__name {
    font-size: .68rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
}

/* ---- Grelha de materiais ---- */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}
.material-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    text-align: center;
    background: var(--white);
    transition: box-shadow var(--dur), transform var(--dur);
}
.material-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateY(-3px); }
.material-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.material-card__info {
    padding: .6rem .5rem;
}
.material-card__info strong {
    display: block;
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    color: var(--dark-2);
    text-transform: uppercase;
}
.material-card__info span {
    display: block;
    font-size: .75rem;
    color: var(--text-light);
    margin-top: .2rem;
}

@media (max-width: 900px) {
    .product-block { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---- Iframe embed area (rufos) ---- */
.product-iframe-wrap {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
}
.product-iframe-wrap iframe {
    display: block;
    width: 100%;
    border: none;
}
