/* ============================================================
   site.css — IBS Audio Premium shared styles
   Extracted from inline \3c style> blocks across all site pages.
   ============================================================ */

/* View Transitions API (Chrome 126+) — cross-document smooth navigation.
   Compose com Speculation Rules (prerender) pra UX quase nativa.
   Browsers sem suporte ignoram (zero risco). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 200ms; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* DESIGN TOKENS */
:root {
    /* Cinematic Dark palette */
    --black: #020203;
    --dark: #050506;
    --dark2: #0a0a0c;
    --dark3: #141416;
    --dark4: #1c1917;
    --white: #EDEDEF;
    --gray: #8A8F98;
    --gray-light: #b0b3b8;
    /* --gray-text bumped from #64748B (4.38:1 fail) to #8892A0 (~5.4:1 pass WCAG AA)
       fixes .breadcrumb-sep contrast — a11y fix batch 3B 2026-07 */
    --gray-text: #8892A0;
    /* Luxury Brand gold */
    --gold: #c8a96e;
    --gold-dim: rgba(200, 169, 110, 0.12);
    --gold-glow: rgba(200, 169, 110, 0.25);
    --gold-bright: #dfc89e;
    /* Typography */
    --heading: 'Cormorant__subset', 'Cormorant', Georgia, serif;
    --body: 'Montserrat__subset', 'Montserrat', Helvetica, Arial, sans-serif;
    /* Cinematic easing */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(200,169,110,0.3) #020203; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: only dark; -webkit-tap-highlight-color: transparent; }
@media (hover: none) and (pointer: coarse) { input, select, textarea { font-size: 16px; } }
body { background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%); color: var(--white); font-family: var(--body); font-weight: 300; font-size: 16px; line-height: 1.7; overflow-x: hidden; }
a, button, [role="button"], .btn, .carousel-btn, .nav-cta, .product-hero-cta { touch-action: manipulation; }

/* Sprint H P1 — Web platform enhancements 2026 (Samsung + accessibility) */

/* Z Fold 6/7/8 aberto = 2 segmentos horizontais. CSS shipou (Media Queries L5).
   Ainda ninguém em produção usa horizontal-viewport-segments — este é preparação
   pro Samsung Internet 30 GA (2ºsem/2026). Chrome já suporta desde 138 (jun/2025).
   Ver [[samsung_android_premium_web_2026]] · P0.3. */
@media (horizontal-viewport-segments: 2) {
  /* Hero 2-col quando aberto — evita conteúdo sobre a dobra */
  .press-hero-inner, .product-hero-inner {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }
  /* CTAs ficam fora da dobra (right segment) */
  .press-hero-cta, .product-hero-cta {
    grid-column: 2;
    justify-self: start;
  }
}

/* Samsung One UI Accessibility → Settings → Visibility → Reduce transparency and blur.
   Chrome 118+ e Samsung Internet suportam. Fallback: aumenta opacidade + remove blur.
   Ver [[samsung_android_premium_web_2026]] · P1. */
@media (prefers-reduced-transparency: reduce) {
  .nav.scrolled { background: rgba(5,5,6,0.98) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .nav-dropdown-menu, .nav-submenu { background: rgba(5,5,6,1) !important; }
  .mobile-menu { background: var(--black) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

/* HDR displays (S24/S25 Ultra HDR10+ 2600 nits, iPhone Pro XDR) — brand accent com
   luminância maior. Sem gatekeeping por media query, HDR content vaza pra SDR e
   quebra contraste. Chrome Android + Samsung Internet respeitam. Ver
   [[web_platform_baseline_2026_08]]. Ativa gold-bright em vez de gold plano. */
@media (dynamic-range: high) {
  :root { --gold: color(display-p3 0.79 0.66 0.43); --gold-bright: color(display-p3 0.87 0.78 0.62); }
}

/* Tap target accessibility — WCAG 2.5.5 minimum 44x44 */
.nav-menu a, .nav-submenu a, .nav-cta, .mobile-menu a,
.footer-links a, .footer-social a, .product-link, .product-hero-cta,
.btn, button.carousel-btn { min-height: 44px; display: inline-flex; align-items: center; }
a { color: inherit; text-decoration: none; }

/* Link em prosa precisa de pista NÃO-cromática — WCAG 1.4.1 (Use of Color).
   Vários links dentro de <p> herdam exatamente a cor do texto ao redor
   (ratio 1.00) ou só mudam de matiz (dourado sobre cinza, ratio 1.07): sem
   sublinhado nada os identifica como link, nem para quem enxerga cor.
   Escopo `:not([class])` de propósito — CTA e botão já têm forma própria e
   não devem ganhar sublinhado. */
p > a:not([class]), li > a:not([class]) {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    text-decoration-color: rgba(200, 169, 110, 0.55);
}
p > a:not([class]):hover, p > a:not([class]):focus-visible,
li > a:not([class]):hover, li > a:not([class]):focus-visible {
    text-decoration-color: currentColor;
}

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

/* LUXURY POLISH */
::selection { background: var(--gold-dim); color: var(--white); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(200,169,110,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(200,169,110,0.55); }
*:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* AMBIENT LIGHT BLOBS */
.ambient-blob {
    position: fixed; border-radius: 50%; pointer-events: none; z-index: -1;
    filter: blur(40px); opacity: 0.06; will-change: transform, filter;
}
.ambient-blob-1 {
    width: 500px; height: 500px; top: -100px; right: -100px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    animation: blobFloat1 20s ease-in-out infinite alternate;
}
.ambient-blob-2 {
    width: 400px; height: 400px; bottom: 20%; left: -80px;
    background: radial-gradient(circle, rgba(94,106,210,0.5) 0%, transparent 70%);
    animation: blobFloat2 25s ease-in-out infinite alternate;
}
@keyframes blobFloat1 {
    from { transform: translate(0, 0); }
    to { transform: translate(-60px, 80px); }
}
@keyframes blobFloat2 {
    from { transform: translate(0, 0); }
    to { transform: translate(40px, -60px); }
}

/* SKIP NAVIGATION LINK */
.skip-link {
    position: absolute; top: -40px; left: 0; background: var(--white);
    color: var(--black); padding: 8px 16px; text-decoration: none;
    z-index: 101; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* NAVBAR */
.nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 3rem;
    /* env(safe-area-inset-*) respeita Dynamic Island (iPhone 14+) e notch;
       max() garante padding minimo mesmo sem safe-area (desktop / Android sem notch). */
    padding: env(safe-area-inset-top) max(4rem, env(safe-area-inset-right)) 0 max(4rem, env(safe-area-inset-left));
    background: transparent;
    transition: background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), backdrop-filter 0.4s, box-shadow 0.4s, border 0.4s;
}

/* iOS zoom em input <16px NAO desfaz — fix universal pra touch devices.
   Sugerido pelo audit 4h/mobile-audit. Aplica a inputs number, radio, select, textarea, etc. */
@media (hover: none) and (pointer: coarse) {
    input, select, textarea { font-size: 16px; }
}
.nav.scrolled {
    background: rgba(5,5,6,0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 0 rgba(200,169,110,0.08);
    border-bottom: 1px solid rgba(200,169,110,0.06);
}
.nav-logo img { height: 49px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 3rem; align-items: center; list-style: none; }
.nav-links a {
    font-family: var(--body); font-size: 11px; font-weight: 400;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gray-light); transition: color 0.3s;
}
.nav-links a:hover, .nav-links a:focus { color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--white); text-decoration: underline; }
.nav-links > li:last-child { margin-left: -0.5rem; }
.nav-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    padding: 0 24px !important;
    line-height: 1 !important;
    transition: background 0.3s, color 0.3s, border-color 0.3s !important;
    position: relative !important; overflow: hidden !important;
}
.nav-cta::after {
    content: ''; position: absolute; top: 0; left: 0; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200,169,110,0.15), transparent);
    pointer-events: none; transform: translateX(-200%);
}
.nav-cta:hover::after { animation: btnShine 0.8s ease forwards; }
.nav-cta:hover, .nav-cta:focus { background: var(--white) !important; color: var(--black) !important; }

/* NAV DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%;
    background: rgba(5,5,6,0.95);
    border: 1px solid rgba(200,169,110,0.08); padding: 1rem 0;
    min-width: 200px; opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(-50%) translateY(8px);
    overflow: visible;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: block; padding: 0.5rem 1.5rem; font-size: 11px;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gray-light); transition: color 0.2s, transform 0.2s;
    white-space: nowrap;
    border: none !important; padding-left: 1.5rem !important;
}
.nav-dropdown-menu a:hover { color: var(--gold); transform: translateX(0.5rem); }
.nav-dropdown-menu a[aria-current="page"] { color: var(--gold); }
.nav-submenu-item > a { padding-right: 2.5rem !important; }
.nav-submenu-item > a::after { content: '\203A'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); opacity: 0.4; font-size: 14px; }
.nav-submenu {
    position: absolute; left: 100%; top: -0.8rem;
    background: rgba(5,5,6,0.97);
    border: 1px solid rgba(200,169,110,0.08); padding: 0.8rem 0;
    min-width: 180px; opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    transform: translateX(6px);
    z-index: 110;
}
/* Bridge: invisible area between parent and submenu to prevent close on mouse travel */
.nav-submenu::before {
    content: ''; position: absolute; top: 0; left: -20px;
    width: 20px; height: 100%;
}
.nav-submenu-item:hover > .nav-submenu, .nav-submenu-item:focus-within > .nav-submenu {
    opacity: 1; pointer-events: all; transform: translateX(0);
    transition-delay: 0s;
}
/* Delay closing to give user time to move mouse to submenu */
.nav-submenu-item > .nav-submenu {
    transition-delay: 0.15s;
}
.nav-submenu a { display: block; padding: 0.5rem 1.5rem; }

/* HAMBURGER */
.hamburger {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 8px; z-index: 201;
}
.hamburger:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* MOBILE MENU */
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
    /* 100dvh acompanha a barra de endereço do navegador móvel; 100vh fica de
       fallback para quem não suporta. Com 100vh puro, no iOS o menu é calculado
       com as barras RECOLHIDAS e sempre transborda no primeiro paint. */
    height: 100vh; height: 100dvh;
    background: rgba(10,10,10,0.97);
    display: flex; flex-direction: column; align-items: center; gap: 2.5rem;
    /* `safe center` centraliza QUANDO CABE e alinha ao topo quando não cabe.
       Com `center` puro, os 20 links (1138px de conteúdo em 844px de tela)
       eram empurrados para FORA nas duas pontas: medido em 2026-08-06, 8 de 20
       links inalcançáveis no iPhone 12 e 12 de 20 no iPhone SE. */
    justify-content: safe center;
    /* sem isto não há como rolar até o que passou da dobra */
    overflow-y: auto; overscroll-behavior: contain;
    padding: 5.5rem 1.5rem 3rem;
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu a {
    font-family: var(--heading); font-size: 1.8rem; font-weight: 300;
    color: var(--gray-light); transition: color 0.3s, transform 0.3s; letter-spacing: 0.05em;
}
.mobile-menu a:hover, .mobile-menu a:focus { color: var(--white); transform: translateX(8px); }
.mobile-menu .mobile-sub-links { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.mobile-menu .mobile-sub-links a {
    font-family: var(--body); font-size: 0.8rem; font-weight: 400;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gray); padding-left: 1rem;
    border-left: 1px solid rgba(200,169,110,0.3);
}
.mobile-menu .mobile-sub-links a:hover { color: var(--gold); transform: translateX(4px); }
.close-btn {
    position: absolute; top: 2rem; right: 2rem; background: none;
    border: none; color: var(--white); font-size: 2rem; cursor: pointer;
    padding: 8px;
}
.close-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* Mobile menu sub-links — extracted from inline styles */
.mobile-sub-links .sub-l1 { padding-left: 1.5rem; font-size: 13px; color: var(--gray); }
.mobile-sub-links .sub-l2 { padding-left: 3rem; font-size: 12px; color: var(--gray); }
/* a11y fix batch 3B: was rgba(138,143,152,0.4) = ~1.9:1 severe fail.
   Now var(--gray-light) at opacity 0.7 = ~5.2:1 (passes AA) while keeping visual "disabled" cue. */
.mobile-sub-links .sub-disabled { color: var(--gray-light); opacity: 0.7; cursor: default; }
.mobile-sub-links .sub-l1.sub-disabled { padding-left: 1.5rem; font-size: 13px; }
.mobile-sub-links .sub-l2.sub-disabled { padding-left: 3rem; font-size: 12px; }

/* Desktop nav disabled items */
.nav-dropdown-menu .nav-disabled {
    display: block; padding: 0.5rem 1.5rem; font-size: 11px;
    letter-spacing: 0.15em; text-transform: uppercase;
    /* a11y fix batch 3B: was rgba(138,143,152,0.4) = ~1.9:1 severe fail. */
    color: var(--gray-light); opacity: 0.7; cursor: default;
}

/* FOOTER */
.footer {
    padding: 5rem 4rem 2rem;
    background: linear-gradient(180deg, var(--dark4) 0%, var(--black) 100%);
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1400px; margin: 0 auto; }
.footer-logo { margin-bottom: 1.5rem; }
.footer-logo img { height: 48px; width: auto; }
.footer-about { font-size: 0.82rem; color: var(--gray-light); line-height: 1.7; max-width: 300px; }
.footer-heading {
    font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--white); margin-bottom: 1.5rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { font-size: 0.82rem; color: var(--gray-light); transition: color 0.3s; }
.footer-links a:hover, .footer-links a:focus { color: var(--white); }
.footer-bottom {
    max-width: 1400px; margin: 4rem auto 0;
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.72rem; color: var(--gray-light); }

/* BACK TO TOP */
.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(200,169,110,0.35);
    color: var(--gold);
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
}
.back-to-top:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--gold-glow);
    color: var(--gold);
}

/* SECTION SHARED */
.section-label {
    font-size: 11px; font-weight: 500; letter-spacing: 0.4em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 1rem;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--gold); opacity: 0.6; }
.section-title {
    font-family: var(--heading); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2; margin-bottom: 1.5rem; text-wrap: balance;
}

/* BREADCRUMB */
.breadcrumb {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gray); margin-bottom: 2.5rem;
}
.breadcrumb a { color: var(--gray); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--gray-text); }
.breadcrumb span { color: var(--gold-bright); }

/* CTA SECTION */
.cta-section {
    padding: 8rem 4rem; text-align: center; background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.04);
}
.cta-desc { font-size: 0.95rem; color: var(--gray-light); max-width: 500px; margin: 0 auto 3rem; line-height: 1.8; }
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.cta-btn {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 14px 36px; font-size: 11px; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase;
    transition: color 0.4s, background 0.4s, border-color 0.4s, box-shadow 0.4s;
    cursor: pointer; position: relative; overflow: hidden;
}
.cta-btn::after {
    content: ''; position: absolute; top: 0; left: 0; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200,169,110,0.15), transparent);
    transition: none; transform: translateX(-200%);
}
.cta-btn:hover::after { animation: btnShine 0.8s ease forwards; }
.cta-btn.primary { background: var(--white); color: var(--black); border: 1px solid var(--white); }
.cta-btn.primary:hover, .cta-btn.primary:focus { background: transparent; color: var(--white); }
.cta-btn.secondary { border: 1px solid rgba(255,255,255,0.2); color: var(--white); }
.cta-btn.secondary:hover, .cta-btn.secondary:focus { border-color: var(--white); }
.cta-btn svg { flex-shrink: 0; }

/* BACK SECTION */
.back-section { padding: 4rem; background: var(--dark2); border-top: 1px solid rgba(255,255,255,0.04); }
.back-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.back-btn { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-light); transition: color 0.3s, transform 0.3s; }
.back-btn:hover { color: var(--gold); transform: translateX(-4px); }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* KEYFRAMES */
@keyframes btnShine { 0% { transform: translateX(-200%); } 100% { transform: translateX(350%); } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* SMOOTH TRANSITIONS — all interactive elements */
a, button { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, transform 0.3s ease; }

/* RESPONSIVE — Nav & Footer shared breakpoints */
@media (max-width: 768px) {
    .nav { padding: 0 1.5rem; height: 60px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .footer { padding: 4rem 1.5rem 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .cta-section { padding: 5rem 1.5rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .back-section { padding: 2.5rem 1.5rem; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* INLINE-STYLE HOVER HELPERS — replaces onmouseover/onmouseout */
/* Gold border links (Manual PDF buttons, back-section links) */
a[style*="border: 1px solid rgba(200,169,110"]:hover,
a[style*="border:1px solid rgba(200,169,110"]:hover {
    border-color: var(--gold) !important;
    box-shadow: 0 0 20px rgba(200,169,110,0.25);
}
/* White border links (Maiores Informações buttons) */
a[style*="border: 1px solid rgba(255,255,255"]:hover,
a[style*="border:1px solid rgba(255,255,255"]:hover {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
}
/* Gray text links that turn gold on hover (back section cross-links) */
a[style*="color:var(--gray)"]:hover {
    color: var(--gold) !important;
}

/* ACCESSIBILITY — reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .ambient-blob { display: none; }
    html { scroll-behavior: auto; }
}

/* MOBILE OVERFLOW GUARD (P0.4 fix batch 2026-07-11)
   Home showcase estava com div.product-img (padding 2rem) + img.amp-slide
   (transform scale/translate inline) estourando pra 425px em viewport 375px.
   Reforço: max-width:100% no container e no img, height:auto no img.
   Preserva a regra existente em index.html: .amp-slide { transform: none } */
@media (max-width: 768px) {
    img.amp-slide { max-width: 100%; height: auto; }
    div.product-img { overflow: hidden; max-width: 100%; }
}

/* ============================================================
   PERF — content-visibility em seções longas (2026-07)
   Memória css_native_modernization_hand_authored_html (replicando padrão Xcene).
   Browser pula render de seções off-screen → LCP/INP melhor sem quebra visual.
   contain-intrinsic-size reserva altura para evitar CLS quando entram no viewport.
   Safari <18 ignora silenciosamente (sem fallback necessário — degrada limpo).
   Fica em .press-section/.specs-section/.faq-section/related/footer — todas
   below-fold em product pages. NÃO aplicar em hero/above-fold.
   ============================================================ */
.press-section,
.specs-section,
.faq-section,
.related-products,
footer.footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

/* text-wrap: pretty — evita órfã/viúva em parágrafos longos e listas.
   Baseline (Chrome 117+, Safari 17.4+, Firefox 121+). Degrada limpo.
   Complementa balance nos títulos (adicionar em fase futura se necessário). */
p, li {
    text-wrap: pretty;
}
