/* =========================================================
   HUMANIZE - BRAND SYSTEM
   ========================================================= */

:root {
  --green-metal: #00c976;                 /* verde metalizado claro */
  --green-deep: #03643a;                  /* verde profundo */
  --green-dark: #012a19;                  /* quase preto esverdeado */
  --ink: #0d1412;                         /* texto */
  --muted: #6b7a86;                       /* texto secundário */
  --white: #ffffff;
  --line: #e9f1ee;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .15);
  --grad-metal: linear-gradient(135deg, #00f0a5, #00c976 45%, #01a861 55%, #0b9444 70%, #03643a 100%);
  --grad-deep: linear-gradient(135deg, rgba(0,201,118,.12), rgba(3,100,58,.22) 60%, rgba(1,42,25,.28));
  --transition: all .35s cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   BASE GLOBAL
   ========================================================= */

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Poppins, system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--ink);
  background: #f6fbf9;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* =========================================================
   BOTÕES
   ========================================================= */



.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--grad-metal);
  color: #083a27;
  box-shadow: 0 8px 18px rgba(0, 201, 118, .25);
  position: relative;
  overflow: hidden;
  z-index: 1; /* mantém o texto acima do brilho */
}


/* Efeito de brilho esverdeado metálico */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(0, 255, 180, 0.15), rgba(255, 255, 255, 0.25));
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
  z-index: -1; /* brilho por baixo do texto */
}

.btn-primary:hover::after {
  opacity: 1;
  animation: shimmer 1.2s linear forwards;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Hover com brilho sutil sem alterar o texto */
.btn-primary:hover {
  filter: brightness(1.15) saturate(1.1);
}

/* --------------------------------------------------------- */
/* Botão "Ver serviços" - efeito de brilho invertido */
.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid #ffffff;
  transition: all .3s ease-in-out;
}

.btn-ghost:hover {
  background: rgba(0, 70, 35, 0.712);
  color: #fff;
  filter: brightness(0.9) contrast(1.2);
  border-color: rgba(255, 255, 255, .65);
}

/* =========================================================
   MENU / NAV
   ========================================================= */

header.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    height: 80px;
    display: flex;
    align-items: center;
}

header.nav.scrolled {
    background: linear-gradient(135deg, #039b54, #01251a);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    height: 70px;
    transition: background 0.5s ease, box-shadow 0.5s ease, height 0.3s ease;
    opacity: 0.9;
}

/* Hover quando o menu estiver rolado (scrolled) */
header.nav.scrolled .nav-links a:hover {
  color: #00ffcc;                 /* mesma cor que você já usa no topo */
  text-shadow: 0 0 6px rgba(0,255,204,.45);
  transition: color .25s ease, text-shadow .25s ease;
}


header .container.inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
}

header .brand img {
  height: 45px;
  transition: filter 0.4s ease;
}

header.nav.scrolled .brand img {
  filter: brightness(0) invert(1);
}

header.nav.scrolled .brand b,
header.nav.scrolled .nav-links a {
  color: #fff;
}

header .nav-links a {
  color: #fff;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

header .nav-links a:hover {
  color: #00ffcc;
}

.menu-toggle {
  display: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* -------- MOBILE MENU -------- */
@media (max-width: 768px) {
  header .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }
  header .nav-links.active { 
        display: flex; 
    }
    .menu-toggle { 
        display: block; 
    }
}

/* =========================================================
   HERO — IMPACTO VISUAL
   ========================================================= */

.hero {
  position: relative;
  height: 92vh;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 50% 20%, rgba(0,201,118,.28), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.45) 100%);
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.media-slide.active {
  opacity: 1;
  z-index: 2;
}

.media-slide img,
.media-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  text-align: center;
  padding: 0 20px;
  text-shadow: 0 0 15px rgba(0,0,0,0.4);
  animation: fadeInUp 1s ease forwards;
}

.hero h1 {
  font-size: 2.4rem;
  min-height: 60px;
}

.hero p {
  font-size: 1.2rem;
  margin: 20px 0;
  color: #f0f0f0;
}

.hero.dark-text h1,
.hero.dark-text p {
  color: #222;
  text-shadow: none;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SHAPES PARALLAX
   ========================================================= */

.shape {
  position: absolute;
  border-radius: 22px;
  filter: blur(0.2px);
  opacity: .28;
  pointer-events: none;
  z-index: 2;
  background: var(--grad-metal);
  box-shadow: var(--shadow);
}

.s1 { width: 280px; height: 180px; top: 12%; left: 6%; }
.s2 { width: 220px; height: 140px; bottom: 8%; right: 8%; }
.s3 { width: 140px; height: 140px; top: 22%; right: 22%; border-radius: 50%; }

/* =========================================================
   SEÇÕES — SERVIÇOS, IMPACTO, CTA
   ========================================================= */

.section {
  padding: 84px 0;
}
.section h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0 0 10px;
}
.section p.lead {
  color: var(--muted);
  margin: 0 0 26px;
}

/* Serviços (cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  transition: var(--transition);
}
.card.reveal { transform: none; opacity: 1; }
.card .media { position: relative; overflow: hidden; }
.card .media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .8s ease;
}
.card:hover .media img { transform: scale(1.06); }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, .55);
  color: #bff7da;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .78rem;
}
.card .txt { padding: 16px 16px 20px; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; }

/* Impacto */
.impact {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 980px) { .impact { grid-template-columns: 1fr; } }

.high {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}
.hi {
  background: var(--grad-deep);
  border-radius: 14px;
  padding: 14px;
  color: #0b2c20;
  border: 1px solid #b7e9d0;
}
.hi b { display: block; font-size: 1.4rem; }

/* CTA */
.cta {
  background: radial-gradient(80% 80% at 50% 0%, rgba(0,201,118,.22), rgba(0,0,0,0)), #021c13;
  color: #eafff4;
  text-align: center;
  padding: 86px 0;
}
.cta h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0 0 12px;
}
.cta p {
  color: #bff7da;
  margin: 0 0 22px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: #071a12;
  color: #cfeee0;
  border-top: 1px solid #103425;
}
footer .grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 22px;
}
@media (max-width: 980px) { footer .grid { grid-template-columns: 1fr; } }
footer a { color: #a7f3c7; }

/* =========================================================
   UTILITÁRIOS
   ========================================================= */

.whats {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--grad-metal);
    color: #083a27;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 30px rgba(0,201,118,.28);
    z-index: 70;
}



/* ===================== STRIP DEPOIMENTOS ===================== */
.strip{
    background:#0d2e22; 
    color:#bff7da; 
    padding:10px 0; 
    overflow:hidden
}
.marquee{
    display:flex; 
    gap:50px; 
    white-space:nowrap; 
    will-change:transform; 
    animation:slide 22s linear infinite
}
.marquee span{
    display:inline-flex; 
    align-items:center; 
    gap:8px
}
.marquee svg{
    opacity:.9
}
@keyframes slide{
    from{
        transform:translateX(0)
    } 
    to{
        transform:translateX(-50%)
    } 
}

/* ====== SERVIÇOS — CARDS APRIMORADOS ====== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 32px;
}

.card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.6s ease;
}
.card.reveal { transform: translateY(0); opacity: 1; }

.card .media {
  position: relative;
  overflow: hidden;
}
.card .media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 1.2s ease, filter 0.8s ease;
}
.card .media .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 180, 0.15) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.55) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.8s ease;
    transform: scale(1.1);
    pointer-events: none;
}
.card .badge {
    position: absolute;
    bottom: 16px;
    left: 18px;
    background: linear-gradient(135deg, #00eda1, #046a3b);
    color: #fff;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
    box-shadow: 0 0 12px rgba(0, 255, 150, 0.35);
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.6s ease;
}

.card:hover .badge {
  opacity: 0.5;
  transform: translateY(0);
  animation: badgeGlow 3s ease-in-out infinite alternate;
}

/* efeito de brilho suave no selo */
@keyframes badgeGlow {
  0% {
    box-shadow: 0 0 6px rgba(0, 255, 180, 0.25), 0 0 12px rgba(0, 255, 180, 0.15);
    filter: brightness(1);
  }
  100% {
    box-shadow: 0 0 14px rgba(0, 255, 200, 0.45), 0 0 22px rgba(0, 255, 180, 0.35);
    filter: brightness(1.15);
  }
}

.card:hover .media .overlay {
    opacity: 1;
    transform: scale(1);
    animation: overlayShine 2.5s linear forwards;
}

/* brilho diagonal em movimento */
@keyframes overlayShine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.card .txt {
  padding: 22px 20px 26px;
  text-align: left;
}
.card h3 {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 1.25rem;
  transition: color 0.4s ease;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hover animado */
.card:hover .media img {
  transform: scale(1.08);
  filter: brightness(1.15) saturate(1.1);
}
.card:hover .media .overlay { opacity: 1; }
.card:hover .badge {
  background: var(--grad-metal);
  transform: translateY(-4px);
}
.card:hover h3 { color: var(--green-metal); }

/* Mobile ajuste */
@media (max-width: 640px) {
  .card .media img { height: 200px; }
}

.badge[data-type="enfermagem"] { background: linear-gradient(135deg, #00f0a5, #03643a); }
.badge[data-type="fisioterapia"] { background: linear-gradient(135deg, #00b8ff, #046a9e); }
.badge[data-type="acompanhante"] { background: linear-gradient(135deg, #ffd76a, #c99a00); }