
/* =========================================================
   ARMED FERRO & AÇO - STYLE.CSS
   Estrutura:
   01. Variáveis e reset
   02. Base e utilitários
   03. Header e navegação
   04. Componentes globais
   05. Home e páginas internas
   06. Portfólio e lightbox
   07. Contato e mapa
   08. Footer
   09. Responsivo
========================================================= */

/* 01. Variáveis e reset */
:root {
    --bg-dark: #070b10;
    --bg-dark-2: #0c121a;
    --bg-soft: #f5f5f2;
    --bg-muted: #eeeeea;
    --text: #161a20;
    --text-soft: #5e6671;
    --white: #ffffff;
    --gold: #1e6bff;
    --gold-dark: #174fc4;
    --line: rgba(255, 255, 255, 0.14);
    --line-dark: rgba(10, 15, 22, 0.12);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
    --header-height: 88px;
    --font: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg-soft);
    line-height: 1.6;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 0; background: transparent; }
::selection { background: var(--gold); color: #ffffff; }

/* 02. Base e utilitários */
.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}
.section { padding: 92px 0; }
.section-light { background: var(--bg-soft); }
.section-muted { background: var(--bg-muted); }
.section-dark {
    background:
        radial-gradient(circle at 80% 0%, rgba(30, 107, 255, .13), transparent 30%),
        linear-gradient(135deg, var(--bg-dark), var(--bg-dark-2));
    color: var(--white);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
    border-radius: 20px;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.3rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); text-transform: uppercase; }
h3 { font-size: 1.05rem; }
p { color: var(--text-soft); }
.section-dark p { color: rgba(255,255,255,.72); }
.section-heading { margin-bottom: 36px; }
.section-heading.center { text-align: center; max-width: 790px; margin-inline: auto; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
}
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity .72s ease, transform .72s ease;
}
.reveal.reveal-ready { opacity: 0; transform: translateY(22px); }
.reveal.reveal-ready.is-visible { opacity: 1; transform: none; }

/* 03. Header e navegação */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(7, 11, 16, .86);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
    transition: height .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
    height: 76px;
    background: rgba(7, 11, 16, .96);
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.brand img {
    width: 170px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,.38));
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--white);
}
.nav-link {
    position: relative;
    color: rgba(255,255,255,.84);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    padding: 8px 0;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    background: var(--gold);
    transition: transform .25s ease;
}
.nav-link:hover,
.nav-link.is-active { color: var(--gold); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), #174fc4);
    color: #fff;
    font-size: .82rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: transform .2s ease, background .2s ease;
}
.header-cta:hover { transform: translateY(-2px); background: #4a8cff; }
.header-cta svg, .btn svg, .phone-box svg, .floating-whatsapp svg, .floating-instagram svg, .info-box svg, .specialty-grid svg, .check-list svg, .footer-contact svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; }
.menu-toggle span { width: 20px; height: 2px; background: #fff; margin: 4px auto; border-radius: 10px; transition: .25s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(7,11,16,.98);
    border-bottom: 1px solid rgba(255,255,255,.10);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
}
.mobile-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu-inner { padding: 20px 0 26px; display: grid; gap: 12px; }
.mobile-link { color: var(--white); font-weight: 900; text-transform: uppercase; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-link.is-active { color: var(--gold); }

/* 04. Componentes globais */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 9px;
    font-size: .88rem;
    font-weight: 950;
    letter-spacing: .035em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), #174fc4); color: #fff; box-shadow: 0 16px 38px rgba(30, 107, 255, .30); }
.btn-primary:hover { background: #4a8cff; }
.btn-outline { color: var(--white); border: 1px solid rgba(255,255,255,.28); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { color: var(--text); border: 1px solid var(--line-dark); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold-dark); background: rgba(30,107,255,.13); }
.btn-dark { background: #10151c; color: var(--white); }
.btn-full { width: 100%; }
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
    gap: 58px;
    align-items: center;
}
.section-copy > p { margin-top: 18px; font-size: 1.04rem; }
.split-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    box-shadow: var(--shadow);
    background: #111;
}
.split-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.2));
    pointer-events: none;
}
.split-image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 26px 0 30px;
}
.mini-stats div {
    background: var(--white);
    border: 1px solid var(--line-dark);
    border-radius: 16px;
    padding: 18px;
}
.mini-stats strong { display: block; font-size: 1.25rem; line-height: 1; color: #111; margin-bottom: 8px; }
.mini-stats span { display: block; font-size: .82rem; color: var(--text-soft); line-height: 1.35; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.benefit-card {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.04);
    min-height: 230px;
}
.benefit-card svg { width: 40px; height: 40px; fill: var(--gold); margin-bottom: 22px; }
.benefit-card h3 { color: var(--white); text-transform: uppercase; margin-bottom: 12px; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.product-grid-large { grid-template-columns: repeat(3, 1fr); }
.product-grid-highlight { grid-template-columns: repeat(3, 1fr); }
.product-more-action { margin-top: 32px; text-align: center; }
.product-card a {
    display: grid;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(255,255,255,.045);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.section-light .product-card a, .section-muted .product-card a { background: var(--white); border-color: var(--line-dark); }
.product-card a:hover {
    transform: translateY(-8px);
    border-color: rgba(30,107,255,.62);
    box-shadow: 0 24px 50px rgba(0,0,0,.22);
}
.product-card figure { height: 174px; overflow: hidden; background: #fff; }
.product-grid-large .product-card figure { height: 224px; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card img.product-img { object-fit: contain; padding: 10px; background: #fff; }
.product-card:hover img { transform: scale(1.06); }
.product-card div { padding: 18px; }
.product-card h3 { color: var(--white); text-transform: uppercase; margin-bottom: 7px; }
.section-light .product-card h3, .section-muted .product-card h3 { color: var(--text); }
.product-card p { font-size: .94rem; }
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.specialty-grid li, .check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    background: var(--white);
    border: 1px solid var(--line-dark);
    border-radius: 16px;
    padding: 18px 20px;
    font-weight: 800;
}
.specialty-grid svg, .check-list svg { color: var(--gold-dark); }
.check-list { display: grid; gap: 12px; margin: 24px 0 30px; }
.highlight-box {
    margin-top: 26px;
    padding: 22px;
    border-left: 4px solid var(--gold);
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 14px 35px rgba(0,0,0,.08);
}
.highlight-box strong { display: block; margin-bottom: 8px; text-transform: uppercase; }
.highlight-box span { color: var(--text-soft); }

/* 05. Home e páginas internas */
.hero {
    position: relative;
    min-height: 760px;
    padding-top: var(--header-height);
    overflow: hidden;
    background: var(--bg-dark);
    color: var(--white);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,11,16,1) 0%, rgba(7,11,16,.98) 36%, rgba(7,11,16,.24) 67%, rgba(7,11,16,.35) 100%),
        radial-gradient(circle at 20% 30%, rgba(30,107,255,.15), transparent 28%);
    z-index: 1;
}
.hero-media {
    position: absolute;
    inset: var(--header-height) 0 0 37%;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,11,16,.10), rgba(7,11,16,.12));
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    min-height: calc(760px - var(--header-height));
}
.hero-content { max-width: 650px; padding: 72px 0; }
.hero-content h1 { margin-bottom: 18px; }
.hero-content h1::first-line { color: var(--white); }
.hero-content p { max-width: 570px; color: rgba(255,255,255,.82); font-size: 1.15rem; margin-bottom: 32px; }
.hero-badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 640px;
    margin-bottom: 32px;
}
.hero-badges span {
    display: grid;
    gap: 10px;
    color: rgba(255,255,255,.92);
    font-size: .75rem;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.hero-badges svg { width: 34px; height: 34px; fill: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero {
    position: relative;
    min-height: 620px;
    display: grid;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
    background: var(--bg-dark);
    color: var(--white);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,11,16,1) 0%, rgba(7,11,16,.98) 38%, rgba(7,11,16,.55) 65%, rgba(7,11,16,.38) 100%),
        radial-gradient(circle at 18% 28%, rgba(30,107,255,.15), transparent 30%);
    z-index: 1;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(transparent, rgba(7,11,16,.72));
    z-index: 1;
}
.page-hero-media {
    position: absolute;
    inset: var(--header-height) 0 0 37%;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,11,16,.10), rgba(7,11,16,.14));
}
.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 760px);
    max-width: 760px;
    margin-left: max(20px, calc((100vw - var(--container)) / 2));
    margin-right: auto;
    padding: 94px 0 78px;
    text-align: left;
}
.page-hero p { max-width: 720px; color: rgba(255,255,255,.78); font-size: 1.15rem; margin-top: 18px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card {
    position: relative;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.process-card span { display: block; color: var(--gold-dark); font-size: 2.4rem; font-weight: 950; line-height: 1; margin-bottom: 18px; }
.process-card h3 { text-transform: uppercase; margin-bottom: 10px; }

/* 06. Portfólio e lightbox */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.08);
    background: #111;
    box-shadow: 0 16px 34px rgba(0,0,0,.14);
}
.gallery-preview .gallery-item { height: 220px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .25s ease; }
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.68));
    opacity: 0;
    transition: opacity .25s ease;
}
.gallery-item span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 1;
    color: var(--white);
    font-size: .75rem;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}
.gallery-item:hover img { transform: scale(1.06); opacity: .92; }
.gallery-item:hover::after, .gallery-item:hover span { opacity: 1; transform: none; }
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 80px 92px;
    background: rgba(0,0,0,.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-figure { max-width: min(1100px, 100%); max-height: 100%; color: var(--white); }
.lightbox-figure img {
    max-height: 78vh;
    width: auto;
    margin-inline: auto;
    border-radius: 18px;
    box-shadow: 0 34px 100px rgba(0,0,0,.65);
}
.lightbox-figure figcaption { text-align: center; margin-top: 14px; color: rgba(255,255,255,.76); }
.lightbox-close, .lightbox-nav {
    position: absolute;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.20);
    transition: background .2s ease, transform .2s ease;
}
.lightbox-close { top: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 58px; height: 74px; border-radius: 16px; font-size: 3rem; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: #111; }

/* 07. Contato e mapa */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
    gap: 32px;
    align-items: start;
}
.contact-card, .contact-info, .map-card {
    background: var(--white);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,.10);
}
.contact-card { padding: 36px; }
.contact-card h2 { margin-bottom: 14px; }
.whatsapp-form { display: grid; gap: 16px; margin-top: 28px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: .86rem; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.form-row input, .form-row select, .form-row textarea {
    width: 100%;
    border: 1px solid rgba(10,15,22,.14);
    border-radius: 13px;
    background: #f8f8f6;
    color: var(--text);
    padding: 15px 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(30,107,255,.17);
    background: #fff;
}
.contact-info { padding: 24px; display: grid; gap: 16px; }
.info-box {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: #f8f8f6;
    border: 1px solid var(--line-dark);
    border-radius: 18px;
}
.info-box > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    background: var(--gold);
    flex: 0 0 auto;
}
.info-box strong { display: block; margin-bottom: 4px; text-transform: uppercase; }
.info-box a { font-weight: 900; }
.info-box p { margin: 4px 0 8px; }
.text-link { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 4px; }
.map-section { padding: 0 0 92px; background: var(--bg-soft); }
.map-card { position: relative; overflow: hidden; min-height: 420px; }
.map-card iframe { display: block; filter: grayscale(.25) contrast(1.05); }
.map-overlay {
    position: absolute;
    left: 24px;
    bottom: 24px;
    max-width: 430px;
    display: grid;
    gap: 10px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(7, 11, 16, .92);
    color: var(--white);
    backdrop-filter: blur(14px);
}
.map-overlay span { color: rgba(255,255,255,.76); }

/* 08. Footer */
.footer-cta {
    background:
        linear-gradient(90deg, rgba(7,11,16,.94), rgba(7,11,16,.88)),
        url('../img/gallery/galeria-33.webp') center/cover no-repeat;
    color: var(--white);
    padding: 50px 0;
}
.footer-cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}
.footer-cta h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.footer-cta p { color: rgba(255,255,255,.72); margin-top: 10px; }
.footer-cta-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.phone-box {
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    border: 1px solid rgba(30,107,255,.58);
    border-radius: 12px;
    color: var(--white);
    background: rgba(255,255,255,.04);
}
.phone-box svg { color: var(--gold); }
.site-footer { background: #070b10; color: var(--white); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .85fr 1fr 1fr;
    gap: 40px;
    padding: 54px 0 42px;
}
.footer-brand img { width: 178px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.68); max-width: 280px; }
.site-footer h3 { margin-bottom: 16px; text-transform: uppercase; font-size: .92rem; letter-spacing: .04em; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: rgba(255,255,255,.72); transition: color .2s ease; }
.site-footer a:hover { color: var(--gold); }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 14px; padding: 18px 0; color: rgba(255,255,255,.56); font-size: .86rem; }
.floating-whatsapp,
.floating-instagram {
    position: fixed;
    right: 22px;
    z-index: 1200;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    transition: transform .2s ease;
}
.floating-whatsapp {
    bottom: 22px;
    background: #25d366;
    box-shadow: 0 18px 45px rgba(37,211,102,.38);
}
.floating-instagram {
    bottom: 94px;
    background: linear-gradient(135deg, #f9ce34, #ee2a7b 48%, #6228d7);
    box-shadow: 0 18px 45px rgba(238,42,123,.30);
}
.floating-whatsapp:hover,
.floating-instagram:hover { transform: translateY(-4px) scale(1.02); }
.floating-whatsapp svg,
.floating-instagram svg { width: 31px; height: 31px; fill: currentColor; }

/* 09. Responsivo */
@media (max-width: 1080px) {
    .main-nav { gap: 18px; }
    .header-cta { display: none; }
    .benefits-grid, .product-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid-large { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    :root { --header-height: 78px; }
    .site-header.is-scrolled { height: 70px; }
    .brand img { width: 150px; }
    .main-nav { display: none; }
    .menu-toggle { display: grid; place-content: center; }
    .mobile-menu { display: block; }
    .hero { min-height: auto; }
    .hero::before { background: linear-gradient(180deg, rgba(7,11,16,.86), rgba(7,11,16,.95)); }
    .hero-media { inset: var(--header-height) 0 0 0; clip-path: none; opacity: .42; }
    .hero-grid { min-height: 720px; }
    .hero-content { max-width: 100%; padding: 72px 0 50px; }
    .hero-badges { grid-template-columns: repeat(2, 1fr); }
    .page-hero { min-height: 540px; align-items: end; }
    .page-hero::before { background: linear-gradient(180deg, rgba(7,11,16,.80), rgba(7,11,16,.96)); }
    .page-hero-media { inset: var(--header-height) 0 0 0; clip-path: none; opacity: .42; }
    .page-hero-inner { max-width: 100%; padding: 86px 0 56px; }
    .section { padding: 68px 0; }
    .section-heading.row { align-items: flex-start; flex-direction: column; }
    .split-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
    .reverse-mobile .split-image { order: 2; }
    .mini-stats { grid-template-columns: 1fr; }
    .specialty-grid { grid-template-columns: 1fr 1fr; }
    .footer-cta-grid { grid-template-columns: 1fr; }
    .footer-cta-actions { justify-content: flex-start; }
    .map-overlay { position: static; border-radius: 0; max-width: none; }
}
@media (max-width: 620px) {
    .container { width: min(100% - 28px, var(--container)); }
    h1 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
    h2 { font-size: clamp(1.75rem, 9vw, 2.4rem); }
    .hero-grid { min-height: 690px; }
    .hero-badges, .benefits-grid, .product-grid, .product-grid-large, .gallery-grid, .process-grid, .specialty-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-actions, .footer-cta-actions { width: 100%; }
    .hero-actions .btn, .footer-cta-actions .btn, .phone-box { width: 100%; }
    .product-card figure, .product-grid-large .product-card figure { height: 210px; }
    .gallery-item, .gallery-preview .gallery-item { height: 260px; }
    .contact-card { padding: 24px; }
    .info-box { padding: 18px; }
    .page-hero { min-height: 470px; }
    .page-hero-inner { padding: 74px 0 42px; }
    .lightbox { padding: 70px 16px; }
    .lightbox-nav { width: 46px; height: 58px; font-size: 2.2rem; top: auto; bottom: 24px; transform: none; }
    .lightbox-prev { left: 24px; }
    .lightbox-next { right: 24px; }
    .footer-bottom-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}




.home .hero-content { max-width: 780px; }
.home .hero-title {
    max-width: none;
    display: inline-block;
}
.home .hero-title .line {
    display: block;
}
.home .hero-title .nowrap {
    white-space: nowrap;
}


.footer-bottom a {
    color: rgba(255,255,255,.78);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.footer-bottom a:hover {
    color: var(--gold);
}

/* =========================================================
   AJUSTE MOBILE - TÍTULOS E SUBTÍTULOS
   Evita corte/overflow dos textos principais no celular.
========================================================= */
@media (max-width: 620px) {
    h1, h2, h3,
    .hero-title,
    .hero-content h1,
    .page-hero h1,
    .section-heading h2,
    .footer-cta h2 {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
        line-height: 1.12;
    }

    h1 {
        font-size: clamp(1.95rem, 9vw, 2.75rem);
        letter-spacing: -.04em;
    }

    h2,
    .footer-cta h2 {
        font-size: clamp(1.65rem, 7.5vw, 2.25rem);
        line-height: 1.14;
    }

    .home .hero-title {
        display: block;
        width: 100%;
    }

    .home .hero-title .line,
    .home .hero-title .nowrap {
        display: block;
        white-space: normal;
    }

    .hero-content p,
    .page-hero p {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.55;
        overflow-wrap: break-word;
    }

    .page-hero {
        min-height: auto;
    }

    .page-hero-inner {
        width: min(100% - 28px, var(--container));
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 86px 0 48px;
    }

    .hero-content {
        padding: 78px 0 52px;
    }
}

@media (max-width: 390px) {
    h1 {
        font-size: clamp(1.75rem, 8.6vw, 2.2rem);
        line-height: 1.14;
    }

    h2,
    .footer-cta h2 {
        font-size: clamp(1.48rem, 7vw, 1.95rem);
    }

    .hero-content p,
    .page-hero p {
        font-size: .96rem;
    }

    .eyebrow {
        font-size: .75rem;
        letter-spacing: .06em;
    }
}
