/* =========================================================
   Solid Health — Landing Page
   Paleta da marca: azul-marinho + azul vibrante
   ========================================================= */

:root {
  --navy: #11335c;
  --navy-deep: #0c2645;
  --blue: #1f7fe0;
  --blue-bright: #2b8ae6;
  --blue-soft: #eaf3fc;
  --blue-soft-2: #f4f9fe;
  --ink: #1c2a3a;
  --muted: #5a6b7e;
  --line: #e3eaf2;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(17, 51, 92, .07);
  --shadow-md: 0 14px 40px rgba(17, 51, 92, .12);
  --shadow-lg: 0 30px 70px rgba(12, 38, 69, .18);
  --container: 1140px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

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

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

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow-center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

.btn-primary {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .35);
}
.btn-primary:hover { background: #1fbe5a; box-shadow: 0 14px 32px rgba(37, 211, 102, .45); }

.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { box-shadow: var(--shadow-lg); }

.wa-icon { display: inline-flex; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 84px;
}
.brand-logo { height: 56px; width: auto; max-width: 180px; object-fit: contain; }
.nav { display: flex; gap: 32px; margin-left: auto; margin-right: 12px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: var(--navy);
  transition: color .15s ease;
}
.nav a:hover { color: var(--blue); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, var(--blue-soft) 0%, rgba(234,243,252,0) 60%),
    linear-gradient(180deg, var(--blue-soft-2) 0%, #fff 70%);
  padding: 72px 0 84px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 22px;
}
.hero-copy h1 .hl { color: var(--blue); }
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { margin-bottom: 26px; }

.hero-anchor {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.hero-anchor li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .98rem;
  color: var(--muted);
}
.hero-anchor li svg { color: var(--blue); flex-shrink: 0; }
.hero-anchor strong { color: var(--navy); font-weight: 600; }

/* Hero visual */
.hero-visual { display: flex; justify-content: center; align-items: flex-start; align-self: start; }
.hero-logo {
  width: auto;
  /* proporcional ao bloco de texto da hero */
  height: clamp(360px, 42vw, 620px);
  max-width: 100%;
  object-fit: contain;
  margin-top: -30px;
}

/* =========================================================
   SECTIONS (base)
   ========================================================= */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* ---------- Seção dor ---------- */
.section-pain {
  position: relative;
  background-color: var(--navy-deep);
  background-image: url("bg-secao2.jpeg");
  background-size: 115%;
  background-position: 35% center;
  color: #dce7f3;
  overflow: hidden;
  padding: 96px 0;
}
/* degradê: forte (marinho) à esquerda → transparente à direita, revelando as pessoas */
.section-pain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 38, 69, .97) 0%,
    rgba(12, 38, 69, .95) 26%,
    rgba(12, 38, 69, .78) 43%,
    rgba(12, 38, 69, .35) 60%,
    rgba(12, 38, 69, .05) 76%,
    rgba(12, 38, 69, 0) 93%
  );
}
.section-pain .container { position: relative; z-index: 1; }
.pain-content { max-width: 540px; }
.pain-image { display: none; }
.section-pain h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 22px;
}
.section-pain p { font-size: 1.1rem; color: #d2dded; margin-bottom: 16px; }
.pain-highlight {
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff !important;
  font-size: 1.18rem !important;
  margin-top: 6px;
}

/* =========================================================
   SERVIÇOS — cards
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #cfe1f5;
}
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  margin-bottom: 20px;
}
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.section-diff {
  background: linear-gradient(115deg, #081a33 0%, #0b2444 38%, #103f7d 74%, #15539e 100%);
  color: #fff;
  overflow: hidden;
}
.diff-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 48px;
  align-items: center;
}
.diff-intro h2 {
  color: #fff;
  font-size: clamp(1.7rem, 2.7vw, 2.3rem);
  line-height: 1.2;
}
.diff-sub {
  color: #9db3d4;
  font-size: 1rem;
  margin-top: 20px;
  max-width: 360px;
}

/* área de scroll */
.diff-scroll-wrap { min-width: 0; }
.diff-cards {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;          /* Firefox */
}
.diff-cards::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

.diff-card {
  position: relative;
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: rgba(7, 19, 38, .55);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  padding: 30px 28px;
  min-height: 270px;
  overflow: hidden;
}
.diff-card-icon { color: var(--blue-bright); margin-bottom: 24px; }
.diff-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.diff-card p {
  color: #94a9c8;
  font-size: .96rem;
  position: relative;
  z-index: 1;
}
/* marca-d'água: ícone grande e suave no canto inferior direito */
.diff-card-watermark {
  position: absolute;
  right: -14px;
  bottom: -18px;
  color: #fff;
  opacity: .045;
  pointer-events: none;
  line-height: 0;
}

/* bolinhas indicadoras de scroll */
.diff-dots {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-left: 4px;
  height: 8px;
}
.diff-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  flex-shrink: 0;
  cursor: pointer;
  transition: background .2s;
}
.diff-dots .dot:hover { background: rgba(255, 255, 255, .4); }
/* pílula deslizante — move via JS (left) */
.dot-pill {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 8px;
  border-radius: 5px;
  background: var(--blue-bright);
  pointer-events: none;
  transition: left .13s ease;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: #cfe1f5; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  padding: 18px 36px 18px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 0 18px; }
.faq-answer p { color: var(--muted); }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final {
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(43,138,230,.5) 0%, rgba(43,138,230,0) 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  text-align: center;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 20px;
}
.cta-inner p {
  color: #cdddf0;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 34px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #fff;
  color: var(--muted);
  padding: 48px 0 32px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo {
  width: min(640px, 90%);
  height: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 12px;
}
.footer-meta { font-size: .92rem; color: var(--muted); }
.footer-copy { font-size: .85rem; color: #aab; margin-top: 6px; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .5);
  animation: wa-pulse 2.4s infinite;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 28px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 10px 28px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 28px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; }
  .hero-logo { height: clamp(180px, 40vw, 260px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; gap: 32px; }
  .diff-sub { max-width: 100%; }
  .diff-card { flex-basis: 82%; }
}

@media (max-width: 820px) {
  /* No mobile a imagem vira um bloco no topo, antes do texto */
  .section.section-pain { padding: 0 0 60px; }
  .section-pain {
    background-image: none;
    background-color: var(--navy-deep);
  }
  .section-pain::before { display: none; }

  .pain-image {
    display: block;
    position: relative;
    height: clamp(240px, 62vw, 360px);
    background-image: url("bg-secao2.jpeg");
    background-size: cover;
    background-position: center 30%;
  }
  /* degradê na parte inferior da imagem, transição para o fundo do texto */
  .pain-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(
      to bottom,
      rgba(12, 38, 69, 0) 0%,
      rgba(12, 38, 69, .55) 55%,
      var(--navy-deep) 96%
    );
  }

  .section-pain .container { padding-top: 28px; }
  .pain-content { max-width: 100%; }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 60px; }
  .nav { display: none; }
  .brand-logo { height: 36px; max-width: 150px; }
  .cards { grid-template-columns: 1fr; }
  .hero-anchor { gap: 12px; }
  .btn-lg { width: 100%; justify-content: center; padding: 14px 18px; font-size: .95rem; }
  .hero-actions { width: 100%; }
}
