/* ==========================================================================
   FST Distribuidora de Água — Diadema/SP
   Estilo baseado no template "Minerale" (Jegtheme / Envato Elements)
   ========================================================================== */

:root {
  --primary: #1c8cf0;
  --primary-dark: #1567c9;
  --navy: #14235c;
  --navy-2: #1b2a6b;
  --cyan: #46c7f2;
  --bg-light: #eef5ff;
  --bg-soft: #f5f9ff;
  --text: #5a6a85;
  --white: #ffffff;
  --border: #e3ecf7;
  --whats: #25d366;
  --shadow-sm: 0 6px 20px rgba(20, 35, 92, .06);
  --shadow-md: 0 18px 45px rgba(20, 35, 92, .10);
  --shadow-lg: 0 30px 70px rgba(20, 35, 92, .16);
  --radius: 16px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Open Sans", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 26px rgba(28,140,240,.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); }
.btn-whats { background: var(--whats); color: #fff; box-shadow: 0 12px 26px rgba(37,211,102,.35); }
.btn-whats:hover { background: #1ebe5b; transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* --- Cabeçalhos de seção --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--primary); display: inline-block; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }

/* ==========================================================================
   Barra superior (top bar)
   ========================================================================== */
.topbar {
  background: var(--navy-2);
  color: #cdd7f2;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
.topbar-item { display: flex; align-items: center; gap: 10px; }
.topbar-item svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.topbar-item strong { color: #fff; font-weight: 600; font-family: var(--font-head); }
.topbar-social { margin-left: auto; display: flex; gap: 12px; }
.topbar-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.10); display: grid; place-items: center;
  transition: background .25s;
}
.topbar-social a:hover { background: var(--primary); }
.topbar-social svg { width: 15px; height: 15px; color: #fff; }

/* ==========================================================================
   Cabeçalho / Navegação
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 999;
  background: #fff;
  box-shadow: 0 4px 24px rgba(20,35,92,.06);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; flex: none;
}
.logo-text { font-family: var(--font-head); line-height: 1.05; }
.logo-text b { display: block; color: var(--navy); font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.logo-text span { display: block; color: var(--primary); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--navy);
  position: relative; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--primary); transition: width .25s;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--bg-light) 0%, #dcecff 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(70,199,242,.30), transparent 70%);
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: 40px; padding-top: 70px; padding-bottom: 70px; position: relative;
}
.hero-text .eyebrow { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08; margin-bottom: 22px;
}
.hero h1 .accent { color: var(--primary); }
.hero-desc { font-size: 18px; max-width: 540px; margin-bottom: 20px; }
.hero-desc strong { color: var(--navy); font-weight: 700; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-bottom: 32px; }
.hero-highlights li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-family: var(--font-head); font-size: 15px; }
.hero-highlights svg { width: 22px; height: 22px; color: var(--primary); flex: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-media { position: relative; }
.hero-media .hero-img {
  border-radius: 30px 30px 120px 30px;
  box-shadow: var(--shadow-lg);
  width: 100%; height: 520px; object-fit: cover;
}
.hero-badge {
  position: absolute; left: -20px; bottom: 40px;
  background: #fff; border-radius: 20px; padding: 18px 22px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
  max-width: 250px;
}
.hero-badge .badge-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--bg-light);
  display: grid; place-items: center; flex: none;
}
.hero-badge .badge-icon svg { width: 28px; height: 28px; color: var(--primary); }
.hero-badge b { display: block; font-family: var(--font-head); color: var(--navy); font-size: 26px; line-height: 1; }
.hero-badge span { font-size: 13px; }

/* ==========================================================================
   Faixa de destaques (feature bar)
   ========================================================================== */
.feature-bar { margin-top: -50px; position: relative; z-index: 5; }
.feature-bar .grid {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.feature-item {
  padding: 34px 28px; display: flex; gap: 16px; align-items: flex-start;
  border-right: 1px solid var(--border); transition: background .25s;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--bg-soft); }
.feature-item .fi-icon {
  width: 54px; height: 54px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: var(--bg-light);
}
.feature-item .fi-icon svg { width: 28px; height: 28px; color: var(--primary); }
.feature-item h4 { font-size: 17px; margin-bottom: 6px; }
.feature-item p { font-size: 14px; line-height: 1.55; }

/* ==========================================================================
   Sobre
   ========================================================================== */
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img.main {
  border-radius: 24px; box-shadow: var(--shadow-md); width: 100%; height: 480px; object-fit: cover;
}
.about-media img.sub {
  position: absolute; right: -24px; bottom: -34px; width: 210px; height: 210px;
  object-fit: cover; border-radius: 20px; border: 8px solid #fff; box-shadow: var(--shadow-md);
}
.about-media .exp-badge {
  position: absolute; left: -22px; top: 34px; background: var(--primary); color: #fff;
  border-radius: 18px; padding: 20px 24px; box-shadow: 0 20px 40px rgba(28,140,240,.4); text-align: center;
}
.about-media .exp-badge b { font-family: var(--font-head); font-size: 34px; display: block; line-height: 1; }
.about-media .exp-badge span { font-size: 13px; }
.about-text h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.about-text > p { margin-bottom: 28px; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 34px; }
.about-list .al-item { display: flex; gap: 14px; }
.about-list .al-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-light); display: grid; place-items: center; flex: none; }
.about-list .al-icon svg { width: 24px; height: 24px; color: var(--primary); }
.about-list h4 { font-size: 16px; margin-bottom: 4px; }
.about-list p { font-size: 14px; line-height: 1.5; }

/* ==========================================================================
   Estatísticas
   ========================================================================== */
.stats {
  background: linear-gradient(120deg, var(--navy) 0%, var(--primary-dark) 100%);
  position: relative;
}
.stats::after {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background: url("../images/blue-bottles-floor.jpg") center/cover;
  mix-blend-mode: luminosity;
}
.stats .container { position: relative; z-index: 2; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .num { font-family: var(--font-head); font-size: 46px; font-weight: 800; color: #fff; line-height: 1; }
.stat-item .num span { color: var(--cyan); }
.stat-item p { color: #c9d6f5; margin-top: 8px; font-size: 15px; }

/* ==========================================================================
   Produtos
   ========================================================================== */
.products { background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-thumb { position: relative; height: 210px; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.07); }
.product-tag {
  position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 12px; padding: 6px 14px; border-radius: 50px;
}
.product-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 20px; margin-bottom: 10px; }
.product-body p { font-size: 14.5px; margin-bottom: 18px; flex: 1; }
.product-price { font-family: var(--font-head); color: var(--navy); font-weight: 700; margin-bottom: 18px; font-size: 15px; }
.product-price b { color: var(--primary); font-size: 24px; }
.product-body .btn { justify-content: center; width: 100%; }

/* ==========================================================================
   Diferenciais (faixa com imagem)
   ========================================================================== */
.why { position: relative; }
.why .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-media img { border-radius: 24px; box-shadow: var(--shadow-md); width: 100%; height: 460px; object-fit: cover; }
.why-text h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.why-text > p { margin-bottom: 28px; }
.why-item { display: flex; gap: 16px; margin-bottom: 22px; }
.why-item .wi-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--bg-light); display: grid; place-items: center; flex: none; }
.why-item .wi-icon svg { width: 26px; height: 26px; color: var(--primary); }
.why-item h4 { font-size: 17px; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; line-height: 1.55; }

/* ==========================================================================
   Área de atendimento
   ========================================================================== */
.coverage { background: var(--bg-soft); }
.coverage-inner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg); padding: 56px; color: #fff; position: relative; overflow: hidden;
}
.coverage-inner::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(70,199,242,.35), transparent 70%);
}
.coverage-inner .eyebrow { color: var(--cyan); position: relative; }
.coverage-inner .eyebrow::before { background: var(--cyan); }
.coverage-inner h2 { color: #fff; font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 16px; max-width: 620px; position: relative; }
.coverage-inner > p { color: #cfe0ff; max-width: 640px; margin-bottom: 30px; position: relative; }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.coverage-tags span {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  padding: 9px 18px; border-radius: 50px; font-size: 14px; font-family: var(--font-head); font-weight: 500;
  transition: background .25s;
}
.coverage-tags span:hover { background: var(--primary); border-color: var(--primary); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-band .inner {
  background: url("../images/delivery-van.jpg") center/cover;
  border-radius: var(--radius-lg); padding: 72px 56px; position: relative; overflow: hidden;
  text-align: center;
}
.cta-band .inner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20,35,92,.92), rgba(21,103,201,.82)); }
.cta-band .inner > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-band p { color: #dce7ff; max-width: 560px; margin: 0 auto 30px; font-size: 17px; }
.cta-band .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Contato / Mapa
   ========================================================================== */
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.contact-info h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.contact-info > p { margin-bottom: 30px; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px;
  transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-card .cc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary); display: grid; place-items: center; flex: none; }
.contact-card .cc-icon svg { width: 26px; height: 26px; color: #fff; }
.contact-card h4 { font-size: 17px; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: 15px; color: var(--text); }
.contact-card a:hover { color: var(--primary); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 460px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.footer { background: var(--navy); color: #aeb9d8; padding-top: 72px; }
.footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer h5 { color: #fff; font-size: 18px; margin-bottom: 22px; }
.footer .logo-text b { color: #fff; }
.footer-about p { margin: 20px 0; font-size: 14.5px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s; }
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14.5px; transition: color .2s, padding .2s; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 22px 0; text-align: center; font-size: 14px; }
.footer-bottom a { color: var(--cyan); }

/* ==========================================================================
   Botão flutuante do WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 998;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whats);
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.5);
  animation: waPulse 2.4s infinite;
}
.wa-float svg { width: 32px; height: 32px; color: #fff; }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ==========================================================================
   Animações de entrada
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 992px) {
  .section { padding: 72px 0; }
  .hero .container { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-media { order: -1; }
  .hero-media .hero-img { height: 360px; }
  .feature-bar .grid { grid-template-columns: 1fr 1fr; }
  .feature-item:nth-child(2) { border-right: none; }
  .feature-item:nth-child(1), .feature-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .about .container, .why .container, .contact .container { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 520px; }
  .why-media { order: -1; }
  .stats .grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .footer .grid { grid-template-columns: 1fr 1fr; gap: 34px; }

  /* Menu colapsado (tablet + mobile) */
  .nav {
    position: absolute; top: 84px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 20px;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a::after { display: none; }
  .nav-toggle { display: grid; place-items: center; }
}

@media (max-width: 760px) {
  .header-actions .btn span.hide-sm { display: none; }
  .topbar-item.hide-sm { display: none; }
  .topbar-social { margin-left: auto; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .feature-bar .grid, .stats .grid, .product-grid, .footer .grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .about-list { grid-template-columns: 1fr; }
  .about-media img.sub { width: 130px; height: 130px; }
  .coverage-inner, .cta-band .inner { padding: 40px 24px; }
  .hero-cta .btn, .cta-band .btns .btn { flex: 1; justify-content: center; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -28px; }
  .hero-media .hero-img { border-radius: 24px; }
}
