/* ========================================================================== 
   HIDRATE — hidrate.css (ATUALIZADO / UNIFICADO)
   Paleta:
   Azul Âncora #1F3A5F | Azul de Apoio #5F86A8
   Branco Quente #F6F7F4 | Grafite Azul #2B2F33 | Cinza Suave #D1D5DB
   Tipografia: Inter
   ========================================================================== */

:root{
  --azul-ancora:#1F3A5F;
  --azul-apoio:#5F86A8;
  --branco-quente:#F6F7F4;
  --grafite-azul:#2B2F33;
  --cinza-suave:#D1D5DB;

  --bg: var(--branco-quente);
  --surface:#ffffff;
  --text: var(--grafite-azul);
  --muted: rgba(43,47,51,.72);
  --line: rgba(209,213,219,.55);

  --font:"Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;

  --radius:18px;
  --radius-sm:14px;
  --shadow: 0 12px 28px rgba(31,58,95,.10);
  --max:1180px;

  --gradient-hero: radial-gradient(120% 90% at 30% 20%,
    var(--surface) 0%,
    rgba(95,134,168,.18) 70%,
    transparent 100%
  );

  --focus: rgba(95,134,168,.30);

  /* WhatsApp */
  --whatsapp: #25D366;
  --whatsapp-dark: #1EBE5D;
}

/* =========================
   Base / Reset
   ========================= */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height:1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.container{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }
.muted{ color: var(--muted); }

h1,h2,h3{ margin:0; letter-spacing:-0.02em; }
p{ margin:0; }
p + p{ margin-top:10px; }

.inline-link{
  color: var(--azul-ancora);
  text-decoration: underline;
  text-decoration-color: rgba(95,134,168,.45);
  text-underline-offset: 3px;
}
.inline-link:hover{ text-decoration-color: rgba(31,58,95,.55); }

.skip-link{
  position:absolute;
  left:-999px;
  top:8px;
  background: var(--surface);
  border:1px solid var(--line);
  padding:10px 12px;
  border-radius:12px;
  z-index:999;
}
.skip-link:focus{ left:12px; }

/* =========================
   Header
   ========================= */
.site-header{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(246,247,244,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-logo{ width:160px; height:auto; }
@media (max-width: 768px){ .brand-logo{ width:130px; } }

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  white-space:nowrap;
  color: rgba(43,47,51,.78);
}
.nav a{
  padding:8px 10px;
  border-radius:999px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav a:hover{
  background: rgba(209,213,219,.28);
  color: var(--grafite-azul);
}
.nav a.is-active{
  background: rgba(95,134,168,.16);
  color: var(--azul-ancora);
  border:1px solid rgba(95,134,168,.24);
}

.header-cta{ display:flex; align-items:center; gap:10px; }

.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background: var(--surface);
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}

.mobile-nav{
  border-top:1px solid var(--line);
  background: rgba(246,247,244,.92);
}
.mobile-nav-inner{
  padding:14px 0 18px;
  display:grid;
  gap:10px;
}
.mobile-nav-inner a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.70);
  color: rgba(43,47,51,.85);
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition: transform .06s ease, background .2s ease, border-color .2s ease, filter .2s ease;
  white-space:nowrap;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn:focus-visible{ outline:3px solid var(--focus); outline-offset:3px; }

.btn-primary{
  background: var(--azul-ancora);
  border-color: rgba(31,58,95,.48);
  color:#fff;
  box-shadow: 0 10px 22px rgba(31,58,95,.14);
}
.btn-primary:hover{ filter: brightness(0.98); }

.btn-ghost{
  background: rgba(255,255,255,.75);
  color: var(--azul-ancora);
  border-color: rgba(95,134,168,.32);
}
.btn-header{ padding:10px 16px; }

/* =========================
   Typography helpers
   ========================= */
.kicker{
  color: var(--azul-apoio);
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}

.page-title{
  margin-top:10px;
  margin-bottom:10px;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height:1.1;
  color: var(--azul-ancora);
  font-weight:600;
}

/* =========================
   Hero (Home)
   ========================= */
.hero{ padding:44px 0 22px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:34px;
  align-items:center;
}
.hero h1{
  margin-top:10px;
  margin-bottom:10px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height:1.08;
  color: var(--azul-ancora);
  font-weight:600;
}
.hero-slogan{
  margin: 0 0 12px;
  color: var(--azul-apoio);
  font-weight:500;
  font-size:16px;
}
.hero p{
  margin-bottom:18px;
  font-size:16px;
  max-width:70ch;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:12px; }

.chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; }
.chip{
  font-size:13px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.70);
  color: rgba(43,47,51,.78);
}
.chip:hover{ background: rgba(255,255,255,.85); }

/* ✅ HERO VISUAL (REVISADO) */
.hero-visual{
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow:hidden;
  background: var(--gradient-hero);
  border:1px solid rgba(95,134,168,.22);
  box-shadow: var(--shadow);
  min-height:360px;

  display:flex;
  align-items:stretch;
  justify-content:stretch; /* garante preenchimento */
}

/* grafismo sempre no fundo */
.hero-water{
  position:absolute;
  inset: auto -10% -20% -10%;
  height:55%;
  background: radial-gradient(70% 80% at 40% 30%,
    rgba(95,134,168,.18),
    transparent 70%
  );
  transform: skewY(-6deg);
  pointer-events:none;
  z-index:0;
}

/* conteúdo acima do grafismo */
.hero-visual > *{
  position: relative;
  z-index: 1;
}

/* ✅ wrapper da imagem do hero */
.hero-media{
  width: 100%;
  height: 100%;
  padding: 18px; /* controla o respiro (antes estava no HTML inline) */
  display: flex;
  align-items: center;
}

.hero-media picture{
  display:block;
  width:100%;
}

/* padrão: sem corte, mantém proporção */
.hero-media img.hero-img{
  display:block;
  width:100%;
  height:auto;
}

/* Placeholder (imagens fase 2) */
.media-placeholder{
  height:320px;
  border-radius: calc(var(--radius) + 8px);
  border:1px dashed rgba(95,134,168,.35);
  background: rgba(255,255,255,.55);
  display:grid;
  place-items:center;
  padding:18px;
}
.media-placeholder strong{ color: var(--azul-ancora); }
.media-placeholder .muted{
  margin-top:8px;
  font-size:14px;
  text-align:center;
  max-width:48ch;
}

/* =========================
   Quickproof (Home) — Diferenciais
   ========================= */
.quickproof{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quickproof-wide{ width: 100%; }

.proof{
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof strong{
  display: block;
  font-weight: 600;
  line-height: 1.2;
}
.proof .muted{
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

.proof-icon{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(95,134,168,.14);
  border: 1px solid rgba(95,134,168,.18);
  flex: 0 0 auto;
}
.proof-icon svg{
  width: 20px;
  height: 20px;
  stroke: var(--azul-ancora);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   Banner institucional — Empresa (FULL-BLEED FINAL)
   ========================================================= */
.empresa-banner{
  position: relative;
  margin: 22px 0 0;
  overflow: hidden;
  background: var(--gradient-hero);
}

/* Full-bleed real (sai do container) */
.empresa-banner--full{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Imagem com proporção de banner */
.empresa-banner img{
  width: 100%;
  aspect-ratio: 4 / 1;   /* mantém 2400x600 */
  height: auto;
  object-fit: cover;
  object-position: 60% 40%;
  display: block;
}

/* Overlay de acabamento (identidade Hidrate) */
.empresa-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(
      70% 120% at 18% 40%,
      rgba(246,247,244,.55) 0%,
      rgba(246,247,244,.20) 50%,
      transparent 72%
    ),
    linear-gradient(
      90deg,
      rgba(31,58,95,.12),
      transparent 65%
    );
  pointer-events:none;
}

/* Ajustes mobile */
@media (max-width: 980px){
  .empresa-banner img{
    aspect-ratio: 3 / 1;
    object-position: 55% 40%;
  }
}

/* =========================
   Sections / Layout
   ========================= */
.section{ padding:56px 0; }
.section-soft{
  background: linear-gradient(180deg, rgba(95,134,168,.10), transparent);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{ margin-bottom:18px; }
.section-head h2{
  margin-bottom:8px;
  font-size:28px;
  font-weight:500;
  color: var(--grafite-azul);
}
.section-stack{ display:grid; gap:14px; }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

/* =========================
   Cards / Grids
   ========================= */
.cards-2, .cards-3{ display:grid; gap:14px; }
.cards-2{ grid-template-columns: repeat(2, 1fr); }
.cards-3{ grid-template-columns: repeat(3, 1fr); }

.card{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 1px 0 rgba(43,47,51,.03);
}
.card h3{ margin-bottom:6px; font-size:16px; font-weight:600; }
.card p{ font-size:14px; }

.card--icon .card-icon-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}
.card--icon .card-icon-top h3{ margin:0; }
.card--icon p{ margin-top:0; }

.equal-cards > .card{
  height:100%;
  display:flex;
  flex-direction: column;
}
.equal-cards > .card .push-bottom{ margin-top:auto; }

.panel{
  background: rgba(255,255,255,.74);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
}
.panel h3{ margin:0 0 6px; font-weight:600; }

.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(43,47,51,.86);
}
.bullets li{ margin: 6px 0; }

.tags{ margin-top:12px; display:flex; flex-wrap:wrap; gap:10px; }
.tag{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(209,213,219,.85);
  background: rgba(95,134,168,.12);
  color: var(--grafite-azul);
  font-size:13px;
}
.note{
  margin-top:14px;
  padding:12px 14px;
  border-radius: var(--radius-sm);
  border:1px solid rgba(95,134,168,.22);
  background: rgba(255,255,255,.86);
}

/* =========================
   FAQ
   ========================= */
.faq{ display:grid; gap:10px; }
details{
  border:1px solid var(--line);
  border-radius:16px;
  background: rgba(255,255,255,.72);
  padding:14px 16px;
}
summary{
  cursor:pointer;
  font-weight:600;
  list-style:none;
}
summary::-webkit-details-marker{ display:none; }
details p{ margin-top:10px; color: rgba(43,47,51,.86); }

/* =========================
   CTA
   ========================= */
.cta-band{
  padding:34px 0;
  background: rgba(95,134,168,.14);
  border-top:1px solid var(--line);
}
.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.cta-inner h2{
  margin-bottom:6px;
  color: var(--azul-ancora);
  font-size:26px;
  font-weight:600;
}
.cta-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* =========================
   Ícones SVG (gerais)
   ========================= */
.icon{
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: var(--azul-ancora);
}
.icon svg{
  width:20px !important;
  height:20px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================
   Footer
   ========================= */
.footer{
  padding:28px 0;
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.55);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer-col{ max-width: 520px; }
.footer-brand{ font-weight:600; margin-bottom:6px; }

.footer-contact{
  margin-top:10px;
  line-height:1.6;
}

.footer-actions{
  margin-top:12px;
}

.footer-links{ display:flex; gap:10px; flex-wrap:wrap; align-items:flex-start; }
.footer-links a{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.70);
  color: rgba(43,47,51,.78);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .nav{ display:none; }
  .nav-toggle{ display:block; }
  .hero-grid{ grid-template-columns:1fr; }
  .quickproof{ grid-template-columns:1fr; }
  .cards-2, .cards-3, .grid-2{ grid-template-columns:1fr; }
  .social-grid{ grid-template-columns:1fr; }

  /* no mobile, reduz respiro interno da imagem do hero */
  .hero-media{ padding: 14px; }
}
@media (max-width: 520px){
  .container{ width:min(var(--max), calc(100% - 28px)); }
  .btn{ width:100%; }
  .cta-actions{ width:100%; }

  /* no mobile pequeno, ainda menos respiro */
  .hero-media{ padding: 12px; }
}

/* ============================================================
   SOLUÇÃO DEFINITIVA: NITIDEZ E TAMANHO FIXO (32px)
   ============================================================ */
.social-row-left {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

.social-row-left a {
  display: block !important;
  width: 32px !important;
  height: 32px !important;
  transition: transform 0.2s ease !important;
}

.social-row-left a:hover {
  transform: translateY(-2px) !important;
}

.social-row-left img {
  width: 32px !important;
  height: 32px !important;
  display: block !important;

  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  shape-rendering: geometricPrecision;

  border-radius: 50%;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
  .social-row-left { justify-content: center !important; }
}

/* =========================
   WhatsApp flutuante (CTA)
   ========================= */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  z-index: 999;
  border: 1px solid rgba(0,0,0,.08);
}
.whatsapp-float:hover{ background: var(--whatsapp-dark); }
.whatsapp-float:focus-visible{ outline:3px solid var(--focus); outline-offset:3px; }
.whatsapp-float svg{
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 520px){
  .whatsapp-float{ right: 14px; bottom: 14px; }
}

/* ============================================================
   Banner dentro de "Produtos e soluções" (mantido apenas o FIX)
   ============================================================ */
.produtos-banner {
  width: 100% !important;
  max-width: none !important;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 14px;
}

.produtos-banner picture {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

.produtos-banner img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Se existir alguma regra global limitando imagens, neutraliza dentro da seção */
.section .produtos-banner img,
.container .produtos-banner img {
  max-width: none !important;
  width: 100% !important;
}




/* =========================
   Home — Banner institucional (Fase 2)
   ========================= */
.home-banner{
  padding-top: 30px;
  padding-bottom: 30px;
}
.home-banner-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items:center;
}
.home-banner h2{
  margin-top: 10px;
  color: var(--azul-ancora);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.home-banner-media{
  margin:0;
  border-radius: calc(var(--radius) + 8px);
  overflow:hidden;
  border:1px solid rgba(95,134,168,.22);
  box-shadow: var(--shadow);
  background: var(--gradient-hero);
}
.home-banner-media img{
  width:100%;
  height:auto;
  display:block;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* =========================
   Home — Visual de apoio (Produtos e soluções)
   ========================= */
.home-products-visual{
  margin: 16px 0 0;
  border-radius: calc(var(--radius) + 8px);
  overflow:hidden;
  border:1px solid rgba(95,134,168,.20);
  background: rgba(255,255,255,.70);
}
.home-products-visual img{
  width:100%;
  height:auto;
  display:block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.home-products-visual figcaption{
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* Responsivo */
@media (max-width: 900px){
  .home-banner-grid{ grid-template-columns: 1fr; }
  .home-banner{ padding-top: 22px; padding-bottom: 22px; }
}
