:root {
  --primary: #990000;
  --primary-dark: #650000;
  --primary-light: #c62828;
  --background: #f5f6f8;
  --surface: #ffffff;
  --text: #20242a;
  --muted: #687078;
  --border: #e7e9ed;
  --shadow: 0 12px 32px rgba(28, 32, 38, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font-family: "Poppins", sans-serif; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--border); }
.header-content { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 700; line-height: 1.05; }
.brand > span:last-child > span { color: var(--primary); }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .6px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--primary); color: #fff; font-size: 19px; }
.back-link { color: var(--muted); font-size: 13px; font-weight: 500; transition: color .2s; }
.back-link:hover { color: var(--primary); }
.hero { overflow: hidden; background: linear-gradient(115deg, #650000 0%, #990000 58%, #bd2525 100%); color: #fff; }
.hero-content { min-height: 390px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 35px; padding-top: 42px; padding-bottom: 42px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-light); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.hero .eyebrow { color: #ffdada; }
.hero h1 { max-width: 620px; margin: 16px 0 14px; font-size: clamp(32px, 5vw, 51px); line-height: 1.16; letter-spacing: -1.7px; }
.hero-copy > p { max-width: 550px; margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.9; }
.hero-button { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 13px 18px; border-radius: 10px; background: #fff; color: var(--primary-dark); font-size: 12px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.hero-button:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(0,0,0,.18); }
.hero-art { min-height: 285px; position: relative; display: grid; place-items: center; }
.hero-circle { position: absolute; width: 270px; height: 270px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.07); box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 58px rgba(255,255,255,.025); }
.phone-illustration { position: relative; z-index: 1; width: 142px; height: 245px; padding: 9px; border: 4px solid #292929; border-radius: 25px; background: #171717; box-shadow: 0 22px 45px rgba(0,0,0,.35); transform: rotate(8deg); }
.phone-camera { position: absolute; z-index: 2; top: 8px; left: 50%; width: 42px; height: 9px; border-radius: 8px; background: #292929; transform: translateX(-50%); }
.phone-screen { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; border-radius: 15px; background: linear-gradient(145deg, #f4b1b1, #9a0000 70%); color: rgba(255,255,255,.88); font-size: 65px; }
.floating-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); color: #fff; font-size: 10px; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.chip-one { top: 22px; right: 5px; }.chip-two { bottom: 32px; right: 0; }.chip-three { bottom: 4px; left: 0; }
.catalog-section { padding-top: 58px; padding-bottom: 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { margin: 7px 0 5px; font-size: 27px; letter-spacing: -.7px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.device-count { padding: 8px 12px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.filters { display: grid; grid-template-columns: 1fr 245px; gap: 12px; margin-bottom: 22px; }
.search-box, .select-box { min-height: 48px; display: flex; align-items: center; gap: 11px; padding: 0 15px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--muted); }
.search-box:focus-within, .select-box:focus-within { border-color: #c66; box-shadow: 0 0 0 3px rgba(153,0,0,.07); }
.search-box input, .select-box select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 12px; }
.select-box select { cursor: pointer; }
.smartphone-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.phone-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); transition: transform .2s, box-shadow .2s, border-color .2s; }
.phone-card:hover { transform: translateY(-4px); border-color: #e2c5c5; box-shadow: var(--shadow); }
.card-image { height: 190px; display: grid; place-items: center; padding: 18px; background: linear-gradient(145deg, #fafafa, #f0f1f3); }
.card-image img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 17px 17px 18px; }
.card-brand { color: var(--primary); font-size: 9px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
.card-body h3 { margin: 5px 0 8px; font-size: 16px; line-height: 1.4; }
.card-summary { min-height: 42px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 15px 0; }
.highlight { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 8px; border-radius: 8px; background: #f7f7f8; color: #555d65; font-size: 9px; }
.highlight i { color: var(--primary); font-size: 11px; }
.highlight span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-link { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); color: var(--primary); font-size: 11px; font-weight: 700; }
.catalog-message { padding: 24px; color: var(--muted); text-align: center; font-size: 12px; }
.catalog-message:empty { display: none; }
.empty-state { padding: 48px 15px; text-align: center; color: var(--muted); }
.empty-state i { color: #c6c9ce; font-size: 32px; }
.empty-state h3 { margin: 13px 0 5px; color: var(--text); font-size: 16px; }
.empty-state p { margin: 0; font-size: 12px; }
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-content { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer-brand { color: var(--primary); font-size: 14px; font-weight: 700; }
.footer-brand span { display: block; color: var(--muted); font-size: 9px; font-weight: 500; }
.footer-content p, .footer-content > span { color: var(--muted); font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 800px) {
  .hero-content { grid-template-columns: 1fr .7fr; }
  .hero-art { transform: scale(.85); }
  .smartphone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-content { min-height: 66px; }
  .brand { font-size: 18px; }
  .hero-content { min-height: auto; grid-template-columns: 1fr; gap: 4px; padding-top: 43px; padding-bottom: 20px; }
  .hero h1 { max-width: 430px; font-size: 36px; }
  .hero-copy > p { font-size: 12px; }
  .hero-art { min-height: 230px; transform: scale(.78); margin: -5px 0 -15px; }
  .hero-circle { width: 230px; height: 230px; }
  .phone-illustration { width: 120px; height: 210px; }
  .catalog-section { padding-top: 42px; padding-bottom: 55px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading h2 { font-size: 23px; }
  .filters { grid-template-columns: 1fr; }
  .smartphone-grid { grid-template-columns: 1fr; gap: 13px; }
  .phone-card { display: grid; grid-template-columns: 112px 1fr; }
  .card-image { height: auto; min-height: 180px; padding: 10px; }
  .card-body { padding: 13px; }
  .card-body h3 { font-size: 14px; }
  .card-summary { min-height: auto; font-size: 10px; }
  .highlights { gap: 5px; margin: 11px 0; }
  .highlight { padding: 6px; font-size: 8px; }
  .card-link { font-size: 10px; }
  .footer-content { min-height: 90px; flex-wrap: wrap; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
  .footer-content p { order: 3; width: 100%; margin: 0; }
}


/* Página individual do smartphone */
.detail-main { min-height: 65vh; padding-top: 25px; padding-bottom: 70px; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 25px; color: var(--muted); font-size: 10px; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs i { font-size: 8px; color: #aeb3ba; }
.detail-status { padding: 65px 15px; color: var(--muted); text-align: center; font-size: 12px; }
.detail-error { padding: 65px 15px; text-align: center; }
.detail-error > i { color: var(--primary); font-size: 35px; }
.detail-error h1 { margin: 15px 0 8px; font-size: 23px; }
.detail-error p { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.primary-button { display: inline-flex; padding: 11px 17px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; }
.product-hero { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: 42px; align-items: center; padding: 24px 0 45px; }
.product-image-wrap { height: 340px; display: grid; place-items: center; padding: 25px; border: 1px solid var(--border); border-radius: 17px; background: linear-gradient(145deg, #fff, #f0f1f3); }
.product-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.product-intro h1 { margin: 8px 0 13px; font-size: clamp(27px, 4vw, 39px); line-height: 1.2; letter-spacing: -1px; }
.product-intro > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.detail-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.detail-highlight { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.detail-highlight-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px; background: #fff0f0; color: var(--primary); }
.detail-highlight strong, .detail-highlight small { display: block; overflow-wrap: anywhere; }
.detail-highlight strong { font-size: 11px; }
.detail-highlight small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.spec-section, .video-section { margin-top: 28px; }
.detail-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.detail-section-heading h2 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.5px; }
.detail-note { color: var(--muted); font-size: 10px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.spec-card { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.spec-card h3 { display: flex; align-items: center; gap: 9px; margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 12px; }
.spec-card h3 i { color: var(--primary); }
.spec-card dl { margin: 0; padding: 3px 16px; }
.spec-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid #f0f1f3; font-size: 10px; line-height: 1.6; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.spec-empty { padding: 22px; border: 1px dashed #d7d9de; border-radius: 10px; color: var(--muted); text-align: center; font-size: 11px; }
.video-section { padding-top: 15px; }
.video-card { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: #fff; transition: box-shadow .2s, transform .2s; }
.video-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.video-thumb { position: relative; min-height: 180px; overflow: hidden; background: #222; }
.video-thumb img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.play-button { position: absolute; top: 50%; left: 50%; width: 52px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #e62117; color: #fff; transform: translate(-50%, -50%); font-size: 15px; }
.video-caption { align-self: center; padding: 22px; }
.video-channel { color: var(--primary); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.video-caption h3 { margin: 7px 0 15px; font-size: 16px; }
.video-open { color: var(--muted); font-size: 10px; }
@media (max-width: 700px) {
  .product-hero { grid-template-columns: 1fr; gap: 22px; padding-top: 10px; }
  .product-image-wrap { height: 270px; }
  .product-intro h1 { font-size: 30px; }
  .spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .detail-main { padding-top: 18px; }
  .detail-highlights { gap: 7px; }
  .detail-highlight { padding: 8px; gap: 7px; }
  .detail-highlight-icon { width: 29px; height: 29px; flex-basis: 29px; font-size: 11px; }
  .detail-section-heading { align-items: start; flex-direction: column; }
  .detail-section-heading h2 { font-size: 21px; }
  .video-card { grid-template-columns: 1fr; }
  .video-thumb { min-height: 190px; }
  .video-caption { padding: 16px; }
}
