:root {
    --red: #c9271e;
    --red-dark: #8c1c15;
    --yellow: #f5c542;
    --green: #2f7d32;
    --text: #22252b;
    --muted: #667085;
    --bg: #f6f2ea;
    --panel: #fff;
    --line: #e8dfd2;
    --shadow: 0 18px 45px rgba(48, 34, 22, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #fff; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 20px rgba(48, 34, 22, .06);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo {
    display: block;
    width: 104px;
    max-height: 46px;
    object-fit: contain;
}
.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 900;
    font-size: 26px;
}
.brand-text { font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.brand-text strong { color: var(--red); }
.main-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 900; }
.main-nav a, .phone-link { text-decoration: none; }
.header-contact { display: flex; justify-content: flex-end; }
.main-nav a:hover { color: var(--red); }
.phone-link { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 900; white-space: nowrap; }
.phone-link i { width: 24px; font-size: 21px; text-align: center; }
.instagram-icon-img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.hero {
    min-height: 650px;
    display: grid;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(48, 34, 22, .9), rgba(140, 28, 21, .62), rgba(140, 28, 21, .26)),
        url("img/hero-loja-materiais.png") center/cover;
}
.hero-content { max-width: 720px; }
.eyebrow { margin: 0 0 14px; color: var(--yellow); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow.red { color: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.04em; }
h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
h3 { margin-bottom: 10px; font-size: 21px; }
.hero-copy { max-width: 640px; margin-bottom: 30px; color: rgba(255,255,255,.9); font-size: 20px; line-height: 1.65; }
.hero-actions, .service-inner, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 900;
}
.btn.primary { background: var(--red); color: #fff; }
.btn.light { background: #fff; color: var(--red-dark); }
.btn.outline { border-color: var(--red); color: var(--red); background: #fff; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.trust-band { background: #2f251c; color: #fff; padding: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats-grid strong { display: block; color: var(--yellow); font-size: 34px; line-height: 1; }
.stats-grid span { display: block; margin-top: 6px; color: rgba(255,255,255,.75); font-size: 13px; font-weight: 800; }

.photo-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    min-height: 168px;
    background: #221a14;
}
.photo-strip figure,
.memory-photo {
    margin: 0;
    overflow: hidden;
    background: #221a14;
}
.photo-strip img,
.memory-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo-strip img {
    aspect-ratio: 1.2 / 1;
    opacity: .92;
    transition: transform .25s ease, opacity .25s ease;
}
.photo-strip figure:hover img {
    transform: scale(1.04);
    opacity: 1;
}

.section { padding: 78px 0; }
.section-title { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.section-title p, .story-card p, .service-inner p, .contact-grid p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card {
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(48, 34, 22, .06);
}
.category-card i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fde7d1;
    color: var(--red);
    font-size: 28px;
}
.category-card p { color: var(--muted); line-height: 1.58; }

.story-section { background: var(--bg); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.story-card, .differential-list, .contact-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(48, 34, 22, .06);
}
.differential-list { display: grid; gap: 14px; align-content: center; }
.differential-list div { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.differential-list i { color: var(--green); font-size: 23px; }

.story-slider {
    position: relative;
    min-height: 260px;
    margin-top: 22px;
    overflow: hidden;
    border-radius: 8px;
    background: #221a14;
}
.story-slider figure {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    animation: storyFade 24s infinite;
    animation-delay: calc(var(--slide-index) * 4s);
}
.story-slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.story-slider.is-static figure {
    opacity: 1;
    animation: none;
}
@keyframes storyFade {
    0%, 100% { opacity: 0; transform: scale(1.03); }
    8%, 24% { opacity: 1; transform: scale(1); }
    32% { opacity: 0; transform: scale(1.02); }
}

.memory-section { background: #fff; }
.memory-block + .memory-block { margin-top: 38px; }
.memory-block h3 {
    margin-bottom: 16px;
    color: var(--red-dark);
    font-size: 24px;
}
.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.memory-photo {
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(48, 34, 22, .08);
}
.memory-photo img {
    aspect-ratio: 4 / 3;
    transition: transform .25s ease;
}
.memory-photo:hover img { transform: scale(1.035); }

.service-band {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
}
.service-inner { justify-content: space-between; }
.service-inner p { max-width: 780px; color: rgba(255,255,255,.82); }
.service-inner h2 { margin-bottom: 10px; }

.contact-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 20px; align-items: stretch; }
.contact-card { display: grid; align-content: center; gap: 8px; }
.contact-card i { color: var(--red); font-size: 32px; }
.contact-card strong, .contact-card span { display: block; }
.contact-card span, .contact-card a { color: var(--muted); line-height: 1.55; }
.contact-card a { text-decoration: none; font-weight: 900; }
.contact-card a:hover { color: var(--red); }
.map-wrap { margin-top: 22px; }
.map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(48, 34, 22, .08);
}

.site-footer { background: #221a14; color: #fff; padding: 38px 0 18px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-inner strong, .footer-inner span { display: block; }
.footer-inner span, .copyright { color: rgba(255,255,255,.65); }
.footer-inner a { color: var(--yellow); font-weight: 900; text-decoration: none; }
.copyright { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: 13px; }

@media (max-width: 940px) {
    .header-inner { flex-wrap: wrap; padding: 12px 0; }
    .brand-logo { width: 96px; }
    .main-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
    .header-contact { margin-left: auto; }
    .stats-grid, .category-grid, .split, .contact-grid, .memory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .photo-strip { grid-template-columns: repeat(3, 1fr); }
    .contact-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    .container { width: min(100% - 24px, 1180px); }
    .hero { min-height: 580px; }
    .section { padding: 54px 0; }
    .brand-logo { width: 88px; }
    .phone-link { font-size: 13px; }
    .header-contact { justify-content: flex-start; width: 100%; }
    .story-slider { min-height: 210px; }
    .photo-strip { grid-template-columns: repeat(2, 1fr); }
    .stats-grid, .category-grid, .split, .contact-grid, .memory-grid { grid-template-columns: 1fr; }
    .hero-actions, .service-inner, .footer-inner { align-items: stretch; flex-direction: column; }
    .btn { width: 100%; }
}
