/*
|------------------------------------
| Variáveis e Estilos Globais
|------------------------------------
*/
:root {
  --branco: #fff;
  --brand: #0C4973;
  --brand-2: #07B0EF;
  --brand-green: #28a745;
  --bg: #fff;
  --ink: #1f2937;
  --muted: #6b7280;
  --accent: #FF8A00;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(12, 73, 115, .15);
  --max-width: 1200px;
  --ultra-blue: #000FFF;
  --ultra-blue-deg: #3b55ff;
  --text-on-blue: #FFFFFF;
  --ring-size: 280px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--brand);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  outline: 0;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/*
|------------------------------------
| Botões e Separador
|------------------------------------
*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-green);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  font-size: 1rem;
}

.btn img {
  height: 22px;
  width: 22px;
}

.separator {
  height: 6px;
  background: #00aeef;
  width: 100%;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}

/*
|------------------------------------
| Cabeçalho (Header)
|------------------------------------
*/
.site-header {
  background: var(--branco);
  padding: 18px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  position: relative;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  background: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 72px;
  width: auto;
}

nav.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-list a {
  color: var(--brand);
  padding: 8px 6px;
  font-weight: 600;
  transition: .2s;
}

.nav-list a:hover {
  color: var(--brand-2);
}

.nav-toggle {
  background: 0 0;
  border: 0;
  color: var(--brand);
  font-size: 28px;
  cursor: pointer;
  padding: 6px;
}

nav.primary {
  position: fixed;
  inset: 0 auto 0 auto;
  right: 0;
  width: min(340px, 78vw);
  height: 100vh;
  background: #fff;
  color: var(--ink);
  transform: translateX(110%);
  transition: .28s;
  padding: 20px;
  display: flex;
  flex-direction: column;
  z-index: 60;
}

nav.primary.open {
  transform: translateX(0);
}

.nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.nav-list-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-list-mobile a {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #eef2f6;
  color: var(--ink);
  font-weight: 600;
}

.nav-list-mobile a:hover {
  background: #f7fafc;
}

/*
|------------------------------------
| Seção Hero
|------------------------------------
*/
.hero {
  background: var(--brand);
  color: #fff;
  padding: 64px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.hero-content {
  max-width: 540px;
  z-index: 10;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  margin: 0 0 18px;
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.hero p {
  line-height: 1.5;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .95);
  font-weight: 600;
}

.hero-figure {
  margin-left: auto;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  padding-right: 40px;
}

.hero-figure img {
  height: 380px;
  max-height: 60vh;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .3));
  transform: translateY(8px);
}

/*
|------------------------------------
| Seções e Títulos Genéricos
|------------------------------------
*/
section {
  padding: 11px 0;
  background: var(--bg);
}

.section-title {
  font-size: 1.8rem;
  color: var(--brand);
  margin-bottom: 18px;
  text-align: center;
  font-weight: 700;
}

/*
|------------------------------------
| Seção Produtos
|------------------------------------
*/
#produtos {
  padding: 50px 20px;
  background: #f9fafb;
}

#produtos .wrap {
  max-width: 1200px;
  margin: 0 auto;
}

#produtos .section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #0C4973;
  margin-bottom: 30px;
  font-weight: 700;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 8px;
  align-items: stretch;
}

.card-link {
  display: block;
}

.card {
  background: #fff;
  border: 1px solid #eef2f6;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: .22s;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(12, 73, 115, .08);
}

.card img {
  height: 180px;
  object-fit: contain;
  margin: 0 auto 8px;
  border-radius: 12px;
  max-width: 180px;
}

.card h3 {
  margin: 20px 0 10px;
  font-size: 1.4rem;
  color: #0C4973;
}

.card p {
  line-height: 1.5;
  font-size: 1rem;
  color: #374151;
  margin-bottom: 20px;
}

.btn-whatsapp {
  display: inline-block;
  padding: 12px 25px;
  background: #28a745;
  color: #fff;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
}

.delivery-banner {
  background: var(--brand);
  color: #fff;
  padding: 13px 17px;
  margin-top: 19px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  font-size: 40px;
}

.delivery-banner img {
  height: 94px;
  width: 94px;
}

/*
|------------------------------------
| Galeria e Lightbox
|------------------------------------
*/
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .82);
  z-index: 120;
  padding: 20px;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}

/*
|------------------------------------
| Seção Contatos
|------------------------------------
*/
#contatos {
  padding: 26px 20px;
  background: var(--bg);
}

#contatos h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  color: var(--brand);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.contato-card {
  background: var(--branco);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  transition: .2s;
  color: var(--ink);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contato-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.contato-card h3 {
  margin-bottom: 10px;
  color: var(--brand);
}

.contato-card h3 span {
  font-weight: 400;
  color: var(--muted);
  font-size: .9em;
}

.contato-card p {
  line-height: 1.5;
  margin: 6px 0;
}

.whatsapp-link {
  color: var(--brand-green);
  font-weight: 700;
}

.whatsapp-link:hover {
  text-decoration: underline;
}

.btn-maps {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: var(--brand);
  color: var(--branco);
  border-radius: 30px;
  font-weight: 700;
  transition: .3s;
}

.btn-maps:hover {
  background: var(--brand-2);
}

/*
|------------------------------------
| Rodapé (Footer) e FAB
|------------------------------------
*/
footer {
  background: linear-gradient(90deg, #0b3756 0%, #0f5d94 100%);
  color: #e5ecf2;
  padding: 40px 0;
  text-align: center;
  margin-top: 30px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

footer .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

footer p {
  margin-bottom: 20px;
}

.social-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  color: #fff;
}

footer .social-links a svg {
  transition: transform 0.3s ease;
}

footer .social-links a:hover svg {
  transform: scale(1.2);
}

.developer-info {
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
}

.developer-info a {
  text-decoration: none;
  color: inherit;
}

.fab {
  position: fixed;
  bottom: 18px;
  right: 18px;
  color: #fff;
  padding: 10px;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
}

.fab img {
  width: 75px;
  height: 75px;
}

/*
|------------------------------------
| Seção de Segurança (Dicas)
|------------------------------------
*/
.seguranca {
  padding: 20px 20px;
  background: #fff;
}

.seguranca .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #0c4973;
}

.dicas-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.dica-card {
  position: relative;
  border-radius: 14px;
  padding: 20px;
  color: #0057a8;
  font-weight: 600;
  background-size: cover;
  background-position: center;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.dica-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 165 221 / 8%);
  border-radius: 14px;
  z-index: 1;
}

.dica-card h3,
.dica-card p {
  line-height: 1.5;
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
}

.dicas-lista .dica-card:nth-child(1) {
  background-image: url("img/dica1.png");
}

.dicas-lista .dica-card:nth-child(2) {
  background-image: url("img/dica2.png");
}

.dicas-lista .dica-card:nth-child(3) {
  background-image: url("img/dica3.png");
}

.dicas-lista .dica-card:nth-child(4) {
  background-image: url("img/dica4.png");
}

.dicas-lista .dica-card:nth-child(5) {
  background-image: url("img/dica5.png");
}

.dicas-lista .dica-card:nth-child(6) {
  background-image: url("img/dica6.png");
}

/*
|------------------------------------
| Seção Institucional
|------------------------------------
*/
.institucional {
  padding: 20px 20px;
  background: url("img/institucional.png") center/cover no-repeat;
  position: relative;
  color: #333;
}

.institucional::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: brightness(1.1);
}

.institucional .wrap {
  position: relative;
  z-index: 1;
}

.institucional .mvvs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.institucional .mvv-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  color: #333;
}

.institucional .mvv-card h3 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #0054a6;
}

.institucional .mvv-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.institucional .mvv-card p,
.institucional .mvv-card li {
  text-align: center;
  margin: 0 0 10px;
  line-height: 1.5;
  font-size: 1rem;
  color: #333;
}

.institucional .mvv-card li:last-child,
.institucional .mvv-card p:last-child {
  margin-bottom: 0;
}

/*
|------------------------------------
| Selo Ultragaz
|------------------------------------
*/
.selo-ultragaz {
  width: min(60vw, var(--ring-size));
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  margin: 24px auto;
}

.selo-ring {
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .92) 0 49%, transparent 50%),
    linear-gradient(135deg, var(--ultra-blue) 0%, var(--ultra-blue-deg) 100%);
  border: 8px solid var(--ultra-blue);
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  overflow: hidden;
}

.selo-face {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, var(--ultra-blue) 0%, var(--ultra-blue-deg) 100%);
  isolation: isolate;
}

.selo-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .14), rgba(0, 0, 0, .08) 70%);
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.selo-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  z-index: 1;
}

.selo-top,
.selo-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  text-align: center;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-on-blue);
  z-index: 1;
  text-transform: uppercase;
  font-family: "Mangueira", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.selo-top {
  top: 12%;
  font-size: clamp(10px, 1.8vw, 14px);
}

.selo-bottom {
  bottom: 12%;
  font-size: clamp(10px, 1.9vw, 15px);
}

/*
|------------------------------------
| Responsivo (Media Queries)
|------------------------------------
*/
@media (max-width: 520px) {
  :root {
    --ring-size: 240px;
  }
}

@media (max-width: 380px) {
  :root {
    --ring-size: 210px;
  }
}

@media (min-width: 980px) {
  .brand img {
    height: 96px;
  }

  nav.main-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 979px) {
  .brand img {
    height: 96px;
  }

  .hero-figure img {
    height: 348px;
  }

  .hero {
    padding: 44px 0;
    min-height: 380px;
  }

  .delivery-banner {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 10px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-figure {
    display: block;
    padding-right: 12px;
    margin-top: 16px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 16px;
  }
}