*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark2: #1a1a1a;
    --dark3: #222222;
    --white: #ffffff;
    --gray: #888888;
    --light: #e8e8e8;
    --dot-color: rgba(255,255,255,0.05);
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: 'Barlow', sans-serif;
    overflow-x: hidden;
    cursor: none;
    user-select: none;
  }

  ::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

  ::selection {
    background: #393a3bf6;
    color: #888888;
  }

  /* CUSTOM CURSOR */
  .cursor {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    position: fixed;
    width: 30px; height: 30px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
  }
  .cursor.hover { width: 6px; height: 6px; }
  .cursor-ring.hover { width: 40px; height: 40px; }

  /* DOT PATTERN */
  .dot-bg {
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 22px 22px;
  }

  .shadow {
    position: fixed;
    bottom: 0;
      background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.3),
    rgba(0,0,0,0)
  ); height: 180px;
    width: 100%;
    z-index: 500;
    pointer-events: none;
  }

  /* NAV */
  .main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    mix-blend-mode: normal;
    backdrop-filter: blur(20px);
    background-color: rgba(10,10,10,0.6);
    transition: background 0.5s ease;
  }

  .main-nav.scrolled {
    background: transparent;
  }

  .main-nav { display: flex; gap: 36px; align-items: flex-start; }
  .main-nav a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
    cursor: none;
  }
  .main-nav a:hover { color: var(--white); }

  .nav-flags { display: flex; gap: 8px; align-items: center; }
  .nav-flags span { font-size: 20px; cursor: pointer; opacity: 0.8; transition: opacity 0.2s; }
  .nav-flags span:hover { opacity: 1; }

  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeDown 0.8s ease 0.3s forwards;
  }
  .logo-mark {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid rgba(255,255,255,0.4);
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    margin: 0 auto 6px;
  }
  .logo-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    display: block;
  }
  .logo-sub {
    font-size: 8px;
    letter-spacing: 3px;
    color: var(--gray);
    display: block;
  }


  /* HERO */
  #hero {
    position: relative;
    height: 100vh;
    background: var(--black);
    overflow: hidden;
  }
  .hero-photo {
    position: absolute;
    right: 0; top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--black) 0%, transparent 30%),
    url('../img/wagner-hero.jpeg') center/cover no-repeat;
    filter: contrast(1);
    opacity: 0;
    animation: fadeIn 1.2s ease 0.5s forwards;
  }
  .hero-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
  }
  .hero-title {
    font-family: 'helvetica neue', sans-serif;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(60px, 11vw, 120px);
    line-height: 0.88;
    overflow: hidden;
  }
  
  .hero-title-line {
    display: block;
    transform: translateY(110%);
    animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero-title-line:nth-child(1) { animation-delay: 0.6s; }
  .hero-title-line:nth-child(2) { animation-delay: 0.75s; }

  .hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.1s forwards;
    text-decoration: none;
    color: var(--white);
    cursor: none;
  }
  .hero-cta-circle {
    width: 52px; height: 52px;
    border: 1.5px solid var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, transform 0.3s;
  }
  .hero-cta:hover .hero-cta-circle {
    background: var(--white);
    transform: rotate(45deg);
  }
  .hero-cta:hover .hero-cta-circle svg { stroke: var(--black); }
  .hero-cta-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
  }

  /* SECTION BASE */
  section {
    padding: 120px 60px;
    position: relative;
  }

  /* ABOUT */
  #about {
    background: var(--dark);
    padding: 140px 60px;
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
  }
  .section-headline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
  }
  .section-body {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin-top: 28px;
    max-width: 520px;
    font-weight: 400;
  }
  .about-video {
    position: relative;
    background: var(--dark3);
    aspect-ratio: 3/4;
    border-radius: 4px;
    overflow: hidden;
    cursor: none;
  }
  .about-video-inner {
    width: 100%;
    height: 100%;
    background: url('../img/wagner1.jpeg') center/cover;
    background-size: cover;
    background-position: top;
    transition: transform 0.6s ease;
  }
  .about-video:hover .about-video-inner { transform: scale(1.03); }
  .video-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    border: 1.5px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
  }
  .about-video:hover .video-play { background: rgba(255,255,255,0.15); }
  .video-labels {
    position: absolute;
    bottom: 20px; left: 20px;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--white);
  }
  .video-labels span { display: block; margin-bottom: 4px; opacity: 0.7; }
  .video-labels strong { display: block; font-weight: 700; opacity: 1; }

  /* STATS */
  #stats {
    background: var(--black);
    padding: 120px 60px;
  }
  .stats-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
  }
  .stats-headline {
    grid-column: 1;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.05;
    text-align: left;
    width: 100%;
  }
  .stats-badge {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .badge-circle {
    width: 180px; height: 180px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .badge-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 90px;
    font-weight: 900;
    color: var(--black);
    line-height: 1;
  }

  .stats1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  .stats2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

.plus {
  width: 50px;
  aspect-ratio: 1/1;
  position: relative;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background-color: rgb(255, 255, 255);
}

/* linha vertical */
.plus::before {
  width: 1.5px;
  height: 50px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* linha horizontal */
.plus::after {
  height: 1.5px;
  width: 50px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

  .stats1 p {
    color: var(--gray)
  }
  .stats-exp {
    grid-column: 3;
    padding-top: 12px;
  }
  .stats-exp-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 14px;
    color: var(--light);
  }
  .stats-exp-text {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,0.5);
  }
  .stats-items {
    display: flex;
    gap: 66px;
  }
  .stat-item {
    padding: 36px 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
  }
  .stat-item:last-child { border-right: none; padding-left: 40px; }
  .stat-item:nth-child(2) { padding-left: 40px; }
  .stat-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.55);
    max-width: 200px;
  }
  .stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
  }

  /* SERVICES */
  #services {
    background: var(--dark2);
    padding: 120px 60px 0;
    display: flex;
  }

  .services-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
  }

  .dummy-img {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dummy-img img {
    width: 250px;
    object-fit: cover;
  }

  .service-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px;
  }

  .service-header {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(50px, 9vw, 110px);
    font-weight: 900;
    line-height: 1;
  }

  .service-list {
    width: 100%;
  }

  .list-item {
    padding: 8px 0;
    font-size: 17px;
    color: var(--gray);
  }

  .list-item svg {
    width: 16px; height: 16px;
    margin-right: 10px;
    flex-shrink: 0;
    color: var(--white);
  }

  

  .services-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .services-header {
    display: grid;
    gap: 60px;
    align-items: end;
    margin-bottom: 80px;
    width: 100%;
  }
  .services-headline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(40px, 5.5vw, 70px);
    font-weight: 900;
    line-height: 0.95;
    width: 100%;
    text-align: left;
  }
  .services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
  .service-card {
    background: var(--dark3);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
    cursor: none;
  }
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.03);
    transform: translateY(100%);
    transition: transform 0.4s ease;
  }
  .service-card:hover { background: #2a2a2a; }
  .service-card:hover::after { transform: translateY(0); }
  .service-card-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
  }
  .plennos-icon {
    width: 32px; height: 32px;
    background: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: var(--black);
    clip-path: circle(50% at 50% 50%);
  }
  .plennos-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
  }
  .service-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--white);
  }
  .service-link-text { font-size: 13px; letter-spacing: 1px; color: rgba(255,255,255,0.6); }
  .service-link-arrow { font-size: 18px; transition: transform 0.3s; }
  .service-card:hover .service-link-arrow { transform: translate(4px, -4px); }
  .service-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--dark);
    overflow: hidden;
    margin: 24px 0;
  }
  .service-card-img-inner {
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1556761175-4b46a572b786?w=600&q=70&auto=format&fit=crop&grayscale') center/cover;
    filter: grayscale(100%) brightness(0.5);
    transition: transform 0.5s ease;
  }
  .service-card:hover .service-card-img-inner { transform: scale(1.05); }
  .service-label-rotated {
    position: absolute;
    left: -60px; bottom: 80px;
    transform: rotate(-90deg);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.25);
    white-space: nowrap;
  }

  /* CTA SECTION */
  #cta {
    background: var(--dark);
    text-align: center;
    padding: 160px 60px;
    position: relative;
    overflow: hidden;
    height: 100vh;
  }
  #cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 22px 22px;
  }
  .cta-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(50px, 9vw, 110px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 50px;
    position: relative;
  }
  .cta-title em {
    font-style: normal;
    color: rgba(255,255,255,0.85);
    -webkit-text-stroke: 1px rgba(255,255,255,0.4);
  }
  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 6px;
    position: relative;
    cursor: none;
    transition: border-color 0.3s;
  }
  .cta-btn:hover { border-color: var(--white); }

  /* FOOTER */
  footer {
    background: var(--dark2);
    padding: 80px 60px 120px;
  }
  .footer-top {
    display:flex;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 40px;
    width: 100%;
    align-items: start;
  }
  .footer-logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: 600;
  }

  .footer-logo-text span {
    font-weight: 800;
    color: rgba(255,255,255,0.3);
  }

  .footer-logo-sub { font-size: 9px; letter-spacing: 3px; color: var(--gray); }
  .footer-logo-mark {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.3);
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    margin-bottom: 16px;
  }
  .footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
    max-width: 380px;
  }
  .footer-social { display: flex; gap: 20px;}

  .footer-social a svg {
    width: 36px; height: 36px;
    transition: stroke 0.3s;
  }

  .footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: border-color 0.3s, background 0.3s;
    cursor: none;
  }
  .footer-social a:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 1px;
  }

  /* WHATSAPP */
  .whatsapp-btn {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 52px; height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 800;
    cursor: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s;
    animation: fadeIn 0.8s ease 2s both;
  }
  .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  }

  /* SCROLL INDICATOR */
  .scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: rgba(255,255,255,0.6);
    z-index: 1100;
    width: 0%;
    transition: width 0.1s linear;
  }

  /* REVEAL ANIMATIONS */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

  /* KEYFRAMES */
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes fadeDown { from { opacity: 0; transform: translateX(-50%) translateY(-20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
  @keyframes slideUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

  /* HOVER LINE EFFECT */
  .hover-line {
    position: relative;
    display: inline-block;
  }
  .hover-line::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--white);
    transition: width 0.4s ease;
  }
  .hover-line:hover::after { width: 100%; }

  @media (max-width: 900px) {
    section { padding: 80px 30px; }
    nav { padding: 20px 24px; }
    .about-grid, .stats-top, .services-cards, .footer-top { grid-template-columns: 1fr; }
    .stats-top {display:flex; flex-direction: column; gap: 40px;}
    .hero-content { left: 30px; }
    .stats-items { display: grid; grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-left: 0; }
    .footer-nav { flex-wrap: wrap; }
    .services-header { grid-template-columns: 1fr; }

    .hero-photo {
    position: absolute;
    right: 0; top: 0;
    width: 100%;
    height: 100%;
    background:
    url('../img/wagner-hero.jpeg') center/cover no-repeat;
    background-size: cover;
    background-position: 60%;
    opacity: 0;
    animation: fadeIn 1.2s ease 0.5s forwards;
  }
  
  .plus {
    display: none;
  }

  #services {
    padding: 100px 0;
    display: flex;
  }


  .scroll-progress {
    display: none;
  }


  .services-header {
    padding: 60px 60px 0px 60px;
  }

  .card-test {
  width: 100px;
  height: 100%;
  flex-shrink: 0;
  }

  .track { 
  gap: 0 !important;
  }

  .footer-top {
    display:flex;
    flex-direction: column;
    gap: 40px;
  }

  .footer-boxs {
    width: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center;
  }

  .more-area {
    width: 100%;
    display: flex;
    gap: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-logo-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #services {
    display: flex;
    flex-direction: column;
  }


    
  .service-box {
    text-align: center;
  }

  .service-list {
    text-align: left;
    display: flex;
    flex-direction: column;
  }

}

  .hospitals {
    background: var(--dark2);
    padding: 120px 60px 120px;
    display: flex;
    flex-direction: column;
  }

.row-hospital-area {
  width: 100%;
  padding: 12px 0;
  display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  height: 220px;
}

.row-hospital-area::-webkit-scrollbar {
  display: none;
}


.card-test {
  width: 300px;
  height: 100%;
  flex-shrink: 0;
}


.card-test img{
  width: 90%;
  height: 90%;
  object-fit: cover;
}



.track {
  display: flex;
  gap: 20px;
  animation: scroll 28s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


.footer-more {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  align-items: center;
}


.footer-boxs {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.more-area {
  width: 100%;
  display: flex;
  gap: 9px;
  justify-content: center;
  align-items: center;
}

.more-area a{
  text-decoration: none;
  color: var(--white);
  text-align: center;
  padding: 0 10px;
}

.footer-logo-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100px;
}


.location-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
  align-items: center;
}

.location-box a {
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
}

.location-text {
  color: var(--gray);
  text-align: center;
}

/* =============================================
   NAV ADAPTIVE TEXT COLOR
   ============================================= */
/* Default (dark bg) — already styled as white in base CSS */
.nav-dark-bg a {
  color: rgba(255,255,255,0.55);
}
.nav-dark-bg a:hover {
  color: var(--white);
}

/* Light bg — switch to dark text */
.nav-light-bg {
  backdrop-filter: blur(20px);
}
.nav-light-bg a {
  color: rgba(0,0,0,0.55) !important;
}
.nav-light-bg a:hover {
  color: var(--black) !important;
}
.nav-light-bg .hover-line::after {
  background: var(--black);
}

/* =============================================
   MOBILE RESPONSIVENESS IMPROVEMENTS
   ============================================= */
@media (max-width: 640px) {
  /* Nav: compact, smaller font, less padding */
  .main-nav {
    padding: 16px 20px;
    gap: 18px;
    flex-wrap: wrap;
  }
  .main-nav a {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }

  /* Hero */
  #hero { height: 100svh; }
  .hero-content {
    left: 20px;
    right: 20px;
    bottom: 60px;
  }
  .hero-title {
    font-size: clamp(52px, 15vw, 80px);
  }
  .hero-cta { margin-top: 28px; }
  .hero-cta-circle { width: 44px; height: 44px; }

  /* Sections base */
  section { padding: 72px 20px; }

  /* About */
  #about { padding: 100px 20px; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-video {
    max-width: 100%;
    aspect-ratio: 4/5;
  }
  .section-body { max-width: 100%; }

  /* Stats */
  #stats { padding: 80px 20px; }
  .stats-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }
  .stats-items { gap: 0; }
  .stat-item {
    padding: 24px 12px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    border-top: none;
  }
  .stat-item:last-child { border-bottom: none; }

  /* Services */
  #services { padding: 120px 0 60px; }
  .services-header {
    padding: 0 20px 0 20px;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  .services-cards {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .service-card { padding: 36px 20px; }

  /* Hospital carousel */
  .row-hospital-area { height: 160px; }
  .card-test { width: 200px; }

  /* CTA */
  #cta {
    padding: 100px 20px;
    height: auto;
    min-height: 100svh;
  }
  .cta-title {
    font-size: clamp(40px, 12vw, 80px);
    margin-bottom: 36px;
  }

  /* Footer */
  footer { padding: 60px 20px 80px; }
  .footer-top { gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .more-area { flex-direction: column; gap: 24px; }

  /* WhatsApp button */
  .whatsapp-btn { bottom: 20px; right: 20px; width: 46px; height: 46px; }

  /* Cursor hidden on touch devices */
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* Slightly larger phones / small tablets */
@media (min-width: 641px) and (max-width: 900px) {
  .main-nav { padding: 18px 28px; gap: 24px; }
  .hero-content { left: 36px; bottom: 72px; }
  section { padding: 90px 36px; }
  #about { padding: 120px 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-cards { grid-template-columns: 1fr 1fr; }
  .service-card { padding: 40px 28px; }
  #cta { height: auto; min-height: 80vh; padding: 120px 36px; }
  footer { padding: 72px 36px 100px; }
}


/* =============================================
   DOENÇAS TRATADAS — NOVO ESTILO
   ============================================= */
.doencas-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 56px;
}
.doencas-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
}
.doencas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}
.doenca-card {
  background: var(--dark2);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease;
  cursor: default;
}
.doenca-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.doenca-card:hover {
  background: #1e1e1e;
}
.doenca-card:hover::before {
  opacity: 1;
}
.doenca-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.18);
  transition: color 0.35s ease;
}
.doenca-card:hover .doenca-num {
  color: rgba(255,255,255,0.4);
}
.doenca-nome {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,0.6);
  transition: color 0.35s ease;
}
.doenca-card:hover .doenca-nome {
  color: rgba(255,255,255,0.9);
}
.doenca-line {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-top: auto;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.doenca-card:hover .doenca-line {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .doencas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .doencas-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  .doenca-card {
    padding: 24px 16px 20px;
  }
  .doenca-nome {
    font-size: 13px;
  }
}

/* Remove old styles */
.hurt, .grid-hurts { display: none; }



/* MOBILE OVERLAY HERO */
@media (max-width: 900px) {
  #hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.25) 45%,
      rgba(0, 0, 0, 0) 80%
    );
    z-index: 1;
    pointer-events: none;
  }

  /* garante que o conteúdo fique acima do overlay */
  .hero-content {
    position: absolute;
    z-index: 2;
  }

    .services-headline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(40px, 5.5vw, 70px);
    font-weight: 900;
    line-height: 0.95;
    width: 100%;
    text-align: center;
  }

  .hero-photo {
    z-index: 0;
  }
}
