/* Multigás Sorriso v2 — tokens de claude/design-system-multigas.md */

:root {
  /* Marca */
  --brand-blue-dark: #054A6D;
  --brand-blue:      #0986C6;
  --brand-red:       #DA251D;
  --white:           #FFFFFF;

  /* Produto */
  --gas-blue:        #0040A8;
  --gas-blue-light:  #1058B8;
  --gas-blue-deep:   #002880;
  --badge-red:       #E30613;

  /* Ambiente / neutros */
  --tile-blue:       #5FA8D6;
  --surface:         #F4F8FB;
  --text:            #1A2B36;
  --text-muted:      #4A6373;

  /* WhatsApp (preferência do cliente: CTA verde) */
  --whats-green:      #25D366;
  --whats-green-dark: #1DA851;

  --grad-hero: linear-gradient(135deg, #054A6D 0%, #0986C6 100%);

  --font-display: 'Signika', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --fs-h1: clamp(2rem, 5vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 2.25rem);
  --fs-h3: 1.25rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--brand-blue-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--brand-blue); }

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow { max-width: 760px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.btn-lg { padding: 0.9rem 2rem; font-size: 1.1rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.9rem; }

.btn-whats {
  background: var(--whats-green);
  color: #fff;
}
.btn-whats:hover { background: var(--whats-green-dark); }

.btn-outline {
  border: 2px solid currentColor;
  color: var(--brand-blue-dark);
  background: transparent;
}
.hero .btn-outline { color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(5, 74, 109, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand { flex-shrink: 0; }

.brand img { display: block; width: auto; height: 44px; }

/* Em telas estreitas o botão do header fica só com o ícone */
@media (max-width: 479px) {
  .header-actions .btn-label { display: none; }
  .header-actions .btn-sm { padding: 0.45rem 0.6rem; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-badge {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.status-badge.open { background: #E6F9EE; color: #157347; }
.status-badge.closed { background: #EEF1F4; color: var(--text-muted); }

/* ---------- Hero ---------- */

.hero {
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* padrão azulejo da fachada */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95, 168, 214, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 168, 214, 0.10) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  text-align: center;
}

.hero h1 { color: #fff; }

.hero-sub {
  font-size: 1.1rem;
  max-width: 38em;
  color: #E3F1FA;
}

.hero-hours {
  font-size: 0.95rem;
  font-weight: 600;
  color: #BBE0F5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-media {
  position: relative;
  display: none;
}

.hero-media img { filter: drop-shadow(0 12px 24px rgba(0, 20, 60, 0.4)); }

/* ---------- Seções ---------- */

.section { padding: 3rem 0; }

.section-alt { background: var(--white); }

.section h2 { text-align: center; margin-bottom: 1.5em; }

/* ---------- Cards de produto ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid #E1ECF4;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card p { color: var(--text-muted); flex-grow: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg { width: 32px; height: 32px; }

.badge-pill {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--badge-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.card-cta {
  font-weight: 600;
  color: var(--whats-green-dark);
  text-decoration: none;
}
.card-cta:hover { text-decoration: underline; }

/* ---------- Por que a Multigás ---------- */

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}

.feature p { color: var(--text-muted); }

/* ---------- FAQ ---------- */

details {
  background: var(--white);
  border: 1px solid #E1ECF4;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  padding: 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--brand-blue-dark);
  padding: 1rem 1.25rem;
  list-style-position: outside;
}

details p { padding: 0 1.25rem 1rem; margin: 0; color: var(--text-muted); }

/* ---------- Localização ---------- */

.location {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.location-info address {
  font-style: normal;
  margin-bottom: 1rem;
}

.location-hours { color: var(--text-muted); }

.location-map iframe {
  border-radius: 16px;
  display: block;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brand-blue-dark);
  color: #A8CFE3;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.95rem;
}

.site-footer a { color: #fff; }

.site-footer strong { color: #fff; }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-copy {
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
}

/* ---------- WhatsApp flutuante ---------- */

.whats-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 110;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whats-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.15s, transform 0.15s;
}

.whats-float:hover { background: var(--whats-green-dark); transform: scale(1.06); }

.whats-float .icon { width: 32px; height: 32px; }

/* ---------- Breakpoints (mobile-first) ---------- */

@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
  .hero-cta { justify-content: flex-start; }
  .hero-media { display: block; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .location { grid-template-columns: 2fr 3fr; align-items: start; }
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
}
