/* =========================================================
   NACIONAL GÁS — Folha de estilo
   Cores:  vermelho #E92735 | vermelho escuro #B91625
           azul #164B9B | cinza #F5F5F7 | texto #252525
   ========================================================= */

:root {
  --red: #E92735;
  --red-dark: #B91625;
  --white: #FFFFFF;
  --blue: #164B9B;
  --gray: #F5F5F7;
  --text: #252525;
  --text-soft: #6d6d72;
  --shadow-sm: 0 4px 16px rgba(37, 37, 37, .07);
  --shadow-md: 0 16px 38px rgba(37, 37, 37, .14);
  --radius: 18px;
  --font: 'Poppins', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--red); color: #fff; }

section[id] { scroll-margin-top: 84px; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(233, 39, 53, .38);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(233, 39, 53, .48);
}

.btn-outline {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .75);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: #fff; color: var(--red-dark); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .65);
  font-size: .85rem;
  padding: .55rem 1.15rem;
}
.btn-outline-light:hover { background: #fff; color: var(--red-dark); }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1.15rem; font-size: .85rem; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ============ CABEÇALHO ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  transition: box-shadow .3s ease, background .3s ease;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(37, 37, 37, .1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}

.logo img {
  height: 52px;
  width: auto;
  border-radius: 10px;
  transition: transform .3s ease;
}
.logo:hover img { transform: scale(1.04); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
.nav-link {
  font-weight: 500;
  font-size: .95rem;
  color: var(--text);
  position: relative;
  padding: .3rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  border-radius: 3px;
  background: var(--red);
  transition: width .3s ease;
}
.nav-link:hover { color: var(--red-dark); }
.nav-link:hover::after { width: 100%; }

.btn-nav { padding: .65rem 1.25rem; font-size: .88rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 6px;
  z-index: 1002;
}
.menu-toggle span {
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--text);
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  /* Foto da loja como background + overlay vermelho */
  background: url('assets/loja.jpg') center 30% / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(185, 22, 37, .94) 0%, rgba(146, 17, 30, .82) 45%, rgba(37, 37, 37, .68) 100%);
}
.hero-inner { padding: 130px 0 90px; }

.hero-content { max-width: 660px; color: #fff; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 1.1rem;
}
.hero h1 strong { font-weight: 800; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, .92);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
  padding: .55rem 1.05rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
}
.hero-chips svg { width: 17px; height: 17px; color: #fff; }

/* ============ SEÇÕES GERAIS ============ */
.section { padding: 96px 0; }
.section-gray { background: var(--gray); }

.section-head { max-width: 640px; margin: 0 auto 3.2rem; text-align: center; }
.section-tag {
  display: inline-block;
  color: var(--red);
  background: rgba(233, 39, 53, .09);
  border: 1px solid rgba(233, 39, 53, .18);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
}
.section-head p { color: var(--text-soft); margin-top: .8rem; }

/* ============ PRODUTOS ============ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1.6rem;
}

.product-card {
  background: #fff;
  border: 1px solid rgba(37, 37, 37, .05);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }

.product-img {
  position: relative;
  height: 215px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 38%, #ffffff 0%, var(--gray) 80%);
}
.product-img img {
  max-height: 180px;
  max-width: 76%;
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(37, 37, 37, .2));
  transition: transform .45s ease;
}
.product-card:hover .product-img img { transform: scale(1.06) translateY(-3px); }

.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: .38rem .85rem;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(233, 39, 53, .35);
}

.product-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.product-name { font-size: 1.22rem; font-weight: 700; letter-spacing: -.3px; }

.price-options { display: flex; flex-direction: column; gap: .75rem; margin-top: auto; }

.price-option {
  border: 1.5px solid #ffd9dd;
  background: #fff6f7;
  border-radius: 14px;
  padding: .9rem .95rem .95rem;
  transition: border-color .25s ease, background .25s ease;
}
.price-option.pickup { border-color: #d5e2f6; background: #f3f7fd; }

.po-label {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--red-dark);
}
.price-option.pickup .po-label { color: var(--blue); }
.po-label svg { width: 16px; height: 16px; }

.po-price {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text);
  margin: .15rem 0 .6rem;
}
.po-price .currency { font-size: .85rem; font-weight: 600; color: var(--text-soft); margin-right: .15rem; }

.btn-buy {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: .88rem;
  padding: .72rem .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(233, 39, 53, .3);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-buy svg { width: 17px; height: 17px; }
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(233, 39, 53, .42); filter: brightness(1.05); }

.products-note {
  text-align: center;
  color: var(--text-soft);
  font-size: .85rem;
  margin-top: 2.2rem;
}

/* ============ DIFERENCIAIS ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: #fff;
  border: 1px solid rgba(37, 37, 37, .05);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.feature-icon {
  width: 62px; height: 62px;
  margin: 0 auto 1.2rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(22, 75, 155, .1), rgba(22, 75, 155, .04));
  border: 1px solid rgba(22, 75, 155, .16);
  transition: transform .35s ease;
}
.feature-card:hover .feature-icon { transform: rotate(-6deg) scale(1.06); }
.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { color: var(--text-soft); font-size: .92rem; }

/* ============ SOBRE NÓS ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 1.1rem;
}
.about-text p { color: var(--text-soft); margin-bottom: .9rem; }
.about-text p strong { color: var(--text); }

.about-list { margin: 1.4rem 0 1.8rem; display: flex; flex-direction: column; gap: .65rem; }
.about-list li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 500;
  font-size: .95rem;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(233, 39, 53, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E92735' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.about-media { position: relative; }
.about-media img {
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: .8rem 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  max-width: calc(100% - 36px);
}

/* ============ CONTATO ============ */
.section-contact {
  background: linear-gradient(135deg, var(--red-dark) 0%, #8c101f 55%, #5f0a15 100%);
  color: #fff;
}
.section-head-light .section-tag {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .3);
}
.section-head-light h2 { color: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2rem;
}
.contact-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  transition: transform .3s ease, background .3s ease;
}
.contact-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .13); }

.contact-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .4rem;
}
.contact-icon svg { width: 25px; height: 25px; }

.contact-card h3 { font-size: 1.02rem; font-weight: 700; }
.contact-card p { color: rgba(255, 255, 255, .88); font-size: .93rem; margin-bottom: .6rem; }

.map-frame {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .3);
  border: 4px solid rgba(255, 255, 255, .9);
  height: 340px;
}
.map-frame iframe { display: block; width: 100%; height: 100%; }

/* ============ RODAPÉ ============ */
.footer { background: #1b1b1f; color: rgba(255, 255, 255, .75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding: 64px 0 44px;
}
.footer-logo {
  height: 74px;
  width: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.footer-desc { font-size: .92rem; max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col a, .footer-col p { display: block; font-size: .92rem; margin-bottom: .55rem; color: rgba(255, 255, 255, .7); transition: color .25s ease; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 1.2rem 0; text-align: center; font-size: .85rem; }
.footer-bottom strong { color: #fff; }

/* ============ BOTÃO FLUTUANTE WHATSAPP ============ */
.float-whatsapp {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 950;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
  transition: transform .3s ease;
}
.float-whatsapp svg { width: 32px; height: 32px; color: #fff; }
.float-whatsapp:hover { transform: scale(1.1) rotate(6deg); }
.float-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);    opacity: .55; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* ============ ANIMAÇÃO DE ENTRADA ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-whatsapp::before { animation: none; }
}

/* ============ RESPONSIVO ============ */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .about-media img { height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: -105%;
    height: 100vh;
    width: min(330px, 86vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 100px 28px 28px;
    gap: .4rem;
    box-shadow: -14px 0 40px rgba(37, 37, 37, .18);
    transition: right .38s ease;
  }
  .nav.open { right: 0; }
  .nav-link { width: 100%; padding: .85rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--gray); }
  .nav-link::after { display: none; }
  .btn-nav { margin-top: 1.1rem; }
}

@media (max-width: 560px) {
  .btn-nav span { display: none; }
  .btn-nav { padding: .65rem .8rem; }
  .hero-inner { padding: 115px 0 70px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .float-whatsapp { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .map-frame { height: 260px; }
}
