/* ================================================================
   Nova Construtiza — estilos globais e identidade visual
   ================================================================ */
:root {
  --branco: #FFFFFF;
  --gelo: #F4FCFB;
  --preto: #000000;
  --azul: #203CAE;
  --azul-hover: #182E88;
  --azul-suave: #E8ECFF;
  --vermelho: #AA1F1C;
  --vermelho-hover: #821714;
  --azul-escuro: #06457F;
  --dourado: #E6C85C;
  --verde-whatsapp: #1FA855;
  --cinza-texto: #424958;
  --cinza-borda: #DDE4E7;
  --sombra: 0 18px 46px rgba(12, 31, 69, .12);
  --raio: 22px;
  --container: 1180px;
  --header-height: 112px;
  --font-title: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
  --font-body: 'Aptos', 'Segoe UI', -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--branco); color: var(--preto); font-family: var(--font-body); line-height: 1.65; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.55rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.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; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; transform: translateY(-150%); background: var(--preto); color: var(--branco); padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--dourado); outline-offset: 4px; }

/* Imagens futuras: o fallback permanece visível até o arquivo carregar. */
.media-fallback { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(145deg, var(--azul-suave), var(--gelo)); }
.media-fallback > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; z-index: 2; }
.media-fallback > img.is-loaded { opacity: 1; }
.media-fallback > span { position: relative; z-index: 1; }

/* Cabeçalho */
.site-header { position: relative; z-index: 1000; height: var(--header-height); background: #FFFFFF; border-bottom: 1px solid rgba(32,60,174,.09); }
.header-shell { height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.brand { display: inline-flex; align-items: center; justify-content: center; }
.brand-logo { height: 50px; width: auto; max-width: 100%; display: block; object-fit: contain; }
.menu-toggle { position: absolute; right: 0; min-width: 64px; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 13px; background: transparent; color: var(--preto); cursor: pointer; }
.menu-toggle:hover { background: var(--azul-suave); color: var(--azul); }
.menu-toggle__label { font: 800 .69rem/1 Arial, sans-serif; letter-spacing: .15em; }
.menu-toggle__icon { display: grid; gap: 5px; width: 28px; }
.menu-toggle__icon i { display: block; height: 3px; background: currentColor; border-radius: 99px; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-8px) rotate(-45deg); }
.menu-backdrop { position: fixed; inset: 0; background: rgba(0, 12, 35, .48); opacity: 0; visibility: hidden; transition: .25s ease; }
.menu-panel { position: fixed; top: 0; right: 0; width: min(90vw, 390px); height: 100dvh; padding: 30px; background: var(--branco); box-shadow: -25px 0 70px rgba(0, 20, 65, .22); transform: translateX(105%); transition: transform .3s ease; display: flex; flex-direction: column; gap: 8px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.menu-panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; color: var(--cinza-texto); font-weight: 700; }
.menu-close { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--gelo); color: var(--azul); font-size: 2rem; line-height: 1; cursor: pointer; }
.menu-panel > a:not(.button) { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--cinza-borda); font: 700 1.05rem Arial, sans-serif; }
.menu-panel > a:not(.button):hover { color: var(--azul); padding-left: 6px; }
.menu-panel .button { margin-top: 20px; }
.menu-hours { margin-top: auto; color: var(--cinza-texto); font-size: .93rem; }
body.menu-open .menu-panel { transform: translateX(0); }
body.menu-open .menu-backdrop { opacity: 1; visibility: visible; }

/* Botões e títulos de seção */
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 2px solid transparent; border-radius: 9px; font: 800 .92rem/1.2 Arial, sans-serif; letter-spacing: .015em; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--azul); color: var(--branco); box-shadow: 0 10px 24px rgba(32,60,174,.22); }
.button--primary:hover { background: var(--vermelho); }
.button--light { background: var(--branco); color: var(--azul); }
.button--light:hover { background: var(--dourado); color: #171000; }
.section-heading { max-width: 760px; margin: 0 auto clamp(38px, 6vw, 62px); text-align: center; }
.section-heading h2 { margin-bottom: 17px; text-transform: none; }
.section-heading p { color: var(--cinza-texto); font-size: 1.08rem; }
.section-heading--compact { margin-bottom: 34px; }
.section-heading--compact h2 { text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 3rem); }
.section-kicker { display: block; margin-bottom: 13px; color: var(--vermelho); font: 800 .77rem/1.3 Arial, sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.section-kicker--gold { color: var(--dourado); }
.section-kicker--light { color: #D8E1FF; }

/* Hero */
.hero { position: relative; min-height: min(720px, calc(100svh - var(--header-height))); background: var(--azul-escuro); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .85s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.media-fallback--hero { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 28%, rgba(255,255,255,.22), transparent 24%), linear-gradient(125deg, var(--azul-escuro), var(--azul)); color: rgba(255,255,255,.12); font: 900 clamp(2.5rem, 8vw, 8rem)/.9 var(--font-title); text-align: center; padding-left: 36%; }
.media-fallback--hero.fallback-2 { background: radial-gradient(circle at 28% 42%, rgba(255,255,255,.18), transparent 26%), linear-gradient(125deg, #091E5F, #AA1F1C); }
.media-fallback--hero.fallback-3 { background: radial-gradient(circle at 72% 58%, rgba(230,200,92,.28), transparent 26%), linear-gradient(125deg, #052F58, #203CAE); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,18,58,.93) 0%, rgba(0,24,73,.72) 48%, rgba(0,18,58,.18) 100%); }
.hero-content { position: relative; z-index: 2; min-height: min(720px, calc(100svh - var(--header-height))); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 76px; padding-bottom: 90px; color: var(--branco); }
.hero-content h1, .hero-content h2 { max-width: 800px; margin-bottom: 22px; font-size: clamp(2.6rem, 8vw, 5.6rem); }
.hero-content p { max-width: 650px; margin-bottom: 30px; font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: #EBF0FF; }
.eyebrow { display: inline-flex; margin-bottom: 17px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; font: 800 .74rem/1 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.hero-progress { position: absolute; z-index: 5; left: 50%; bottom: 27px; transform: translateX(-50%); display: flex; gap: 9px; }
.hero-progress span { width: 38px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); }
.hero-progress span.is-active { background: var(--dourado); }

/* Quem somos */
.about { background: var(--azul-escuro); color: #FFFFFF; }
.about-grid { display: grid; gap: clamp(36px, 7vw, 80px); align-items: center; }
.about-copy h2 { margin-bottom: 28px; color: #FFFFFF; }
.about-copy p { color: #FFFFFF; font-size: 1.02rem; }
/* Força branco em qualquer texto da seção Quem Somos */
.about, .about h2, .about h3, .about p, .about li, .about span, .about a,
.about .section-kicker, .about .section-kicker--gold { color: #FFFFFF; }
.media-fallback--about { min-height: 420px; aspect-ratio: 650 / 506; border-radius: var(--raio); display: grid; place-items: end start; padding: 30px; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(32,60,174,.45)); border: 1px solid rgba(255,255,255,.35); box-shadow: 0 28px 60px rgba(0, 18, 50, .3); color: #FFFFFF; font: 900 clamp(1.6rem, 3.4vw, 2.6rem)/1.05 var(--font-title); }

/* Produtos */
.products { background: var(--gelo); }
.product-carousel { touch-action: pan-y; }
.product-viewport { overflow: hidden; }
.product-track { display: flex; gap: 20px; transition: transform .55s cubic-bezier(.22,.68,0,1); will-change: transform; }
.product-card { flex: 0 0 100%; background: var(--branco); border: 1px solid var(--cinza-borda); border-radius: var(--raio); overflow: hidden; box-shadow: 0 12px 28px rgba(15,47,93,.08); }
.product-image { aspect-ratio: 3/2; display: grid; place-items: center; color: rgba(255,255,255,.82); font: 900 clamp(1.55rem, 4vw, 2.4rem)/1 var(--font-title); text-transform: uppercase; letter-spacing: -.04em; }
.fallback-a,.fallback-f,.fallback-k { background: linear-gradient(145deg, #142E86, #4160D6); }
.fallback-b,.fallback-g,.fallback-l { background: linear-gradient(145deg, #84201E, #C84A46); }
.fallback-c,.fallback-h,.fallback-m { background: linear-gradient(145deg, #075083, #1687B0); }
.fallback-d,.fallback-i,.fallback-n { background: linear-gradient(145deg, #901B53, #D34A70); }
.fallback-e,.fallback-j,.fallback-o { background: linear-gradient(145deg, #155637, #2A9869); }
.product-card__body { padding: 25px; }
.product-card__body h3 { margin-bottom: 10px; }
.product-card__body p { margin-bottom: 0; color: var(--cinza-texto); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.carousel-arrow { width: 50px; height: 50px; display: grid; place-items: center; border: 2px solid var(--azul); border-radius: 50%; background: var(--branco); color: var(--azul); cursor: pointer; }
.carousel-arrow:hover { background: var(--azul); color: var(--branco); }
.carousel-dots { max-width: min(520px, 55vw); display: flex; gap: 8px; padding: 8px; overflow-x: auto; scrollbar-width: none; }
.carousel-dots::-webkit-scrollbar { display: none; }
.carousel-dot { flex: 0 0 12px; width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #B7C0CD; cursor: pointer; }
.carousel-dot.is-active { background: var(--vermelho); transform: scale(1.18); }

/* Vantagens */
.advantages { background: var(--branco); }
.advantage-grid { display: grid; gap: 22px; }
.advantage-card { padding: clamp(26px, 5vw, 40px); border: 1px solid var(--cinza-borda); border-radius: var(--raio); background: var(--branco); box-shadow: 0 12px 30px rgba(11, 43, 95, .07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.advantage-card:hover { transform: translateY(-7px); box-shadow: var(--sombra); border-color: rgba(32,60,174,.32); }
.advantage-image { width: 92px; height: 92px; margin-bottom: 25px; display: grid; place-items: center; border-radius: 24px; background: var(--azul-suave); color: var(--azul); font: 900 2.4rem/1 Arial, sans-serif; }
.fallback-service { background: #FDECEB; color: var(--vermelho); }
.fallback-delivery { background: #E8F8EF; color: #177B43; }
.advantage-card h3 { margin-bottom: 12px; }
.advantage-card p { margin-bottom: 0; color: var(--cinza-texto); }

/* Marcas */
.brands { background: var(--gelo); overflow: hidden; }
.brand-marquee { width: 100%; overflow: hidden; padding: 4px 0; mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.brand-track { width: max-content; display: flex; animation: marquee 42s linear infinite; }
.brand-list { display: flex; gap: 8px; padding-right: 8px; }
.brand-item { flex: 0 0 104px; height: 34px; display: grid; place-items: center; padding: 8px 12px; border: 1px solid var(--cinza-borda); border-radius: 9px; background: var(--branco); color: #7A8290; font: 800 .66rem/1 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.brand-item img { object-fit: contain; }
.brand-marquee:hover .brand-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Chamada final e rodapé */
.final-cta { padding: clamp(24px, 3vw, 34px) 0; background: linear-gradient(115deg, var(--azul), var(--azul-escuro)); color: var(--branco); }
.final-cta__inner { display: grid; gap: 16px; align-items: center; }
.final-cta h2 { margin-bottom: 6px; font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.15; }
.final-cta p { margin-bottom: 0; color: #DDE6FF; font-size: .93rem; }
.final-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.final-cta .section-kicker { margin-bottom: 7px; font-size: .68rem; }
.final-cta .button { padding: 11px 22px; font-size: .85rem; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.site-footer { background: #071224; color: #DDE4EF; }
.footer-grid { display: grid; gap: 40px; padding-top: 70px; padding-bottom: 60px; }
.site-footer h2 { margin-bottom: 20px; color: var(--branco); font: 800 1rem/1 Arial, sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-links a, .footer-contact a:not(.whatsapp-outline) { min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover, .footer-contact a:hover { color: var(--dourado); }
.footer-brand { text-align: center; }
.footer-brand p { max-width: 380px; margin: 0 auto 26px; }
.footer-logo-link { display: inline-block; padding: 10px 16px; border-radius: 10px; background: #FFFFFF; }
.brand-logo--footer { margin-inline: auto; }
.footer-contact { font-style: normal; }
.footer-contact p { margin-bottom: 15px; }
.whatsapp-outline { width: 132px; min-height: 56px; display: grid; place-items: center; margin-top: 16px; border: 2px solid var(--verde-whatsapp); border-radius: 4px; color: #72D49C; font-weight: 800; }
.whatsapp-outline:hover { background: var(--verde-whatsapp); color: var(--branco) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; padding: 23px 0; text-align: center; font-size: .88rem; color: #AEB8C7; }
.whatsapp-float { position: fixed; z-index: 900; right: max(17px, env(safe-area-inset-right)); bottom: max(17px, env(safe-area-inset-bottom)); width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--verde-whatsapp); color: var(--branco); box-shadow: 0 12px 28px rgba(9,88,46,.35); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); }

/* Animações discretas de entrada */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Tablet e desktop */
@media (min-width: 700px) {
  .container { width: min(calc(100% - 64px), var(--container)); }
  .about-grid { grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); }
  .product-card { flex-basis: calc((100% - 20px) / 2); }
  .advantage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: .8fr 1.2fr 1fr; }
  .final-cta__inner { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (min-width: 1000px) {
  .product-card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 699px) {
  :root { --header-height: 94px; }
  .brand-logo { height: 42px; }
  .menu-toggle { right: -8px; }
  .hero, .hero-content { min-height: 640px; }
  .hero-content { padding-top: 54px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(0,18,58,.91), rgba(0,30,90,.68)); }
  .media-fallback--hero { padding: 30% 18px 0; }
  .media-fallback--about { min-height: 0; aspect-ratio: 650 / 506; }
  .brand-item { flex-basis: 92px; height: 32px; }
  .final-cta__actions { align-items: stretch; flex-direction: column; }
  .final-cta__actions .button, .final-cta__actions .text-link { width: 100%; justify-content: center; }
}

/* Preferências de movimento e impressão */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .brand-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .hero-progress, .carousel-controls, .brand-marquee, .whatsapp-float, .final-cta { display: none !important; }
  .section { padding: 28px 0; }
  .about { color: #000; background: #fff; }
}


/* ===== Marcas que representamos — bloco de 995 x 258px ===== */
.brands { width: 100%; max-width: 620px; margin-inline: auto; padding: 0 !important; }
.brands .section-heading { margin-bottom: 8px; }
.brands .section-heading h2 { font-size: clamp(.8rem, 1.2vw, .98rem); margin-bottom: 0; letter-spacing: .04em; }
.brands .section-kicker { margin-bottom: 5px; font-size: .55rem; letter-spacing: .14em; }

@media (min-width: 900px) {
  .brands {
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }
}


/* ===== Quem Somos: branco absoluto ===== */
#quem-somos, #quem-somos * { color: #FFFFFF !important; }
