/* ==========================================================================
   NOVA CAPRICHO - DESIGN SYSTEM & STYLESHEET
   Oficina Especializada em Câmbio Automático & Troca 100% por Diálise
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #0a0b0e;
  --bg-secondary: #12141a;
  --bg-card: #181a24;
  --bg-card-hover: #202432;
  --bg-glass: rgba(18, 20, 26, 0.88);
  --border-glass: rgba(255, 255, 255, 0.08);

  --accent-red: #e51937;
  --accent-red-hover: #ff2b4a;
  --accent-red-glow: rgba(229, 25, 55, 0.45);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --gold-star: #ffb800;
  --success-green: #22c55e;
  --whatsapp-green: #25d366;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-btn: 'Montserrat', sans-serif;

  /* Layout & Spacing */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px var(--accent-red-glow);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #2a2e3d;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-red {
  color: #ff3555;
  text-shadow: 0 0 10px rgba(255, 53, 85, 0.55), 0 0 22px rgba(255, 53, 85, 0.28), 0 4px 16px rgba(0, 0, 0, 0.65);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 4rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  background: rgba(229, 25, 55, 0.15);
  border: 1px solid rgba(229, 25, 55, 0.45);
  border-radius: var(--radius-full);
  color: #ff3b56;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.badge-hero-two-lines {
  border-radius: 18px !important;
  padding: 0.55rem 1.35rem !important;
  align-items: center !important;
  gap: 0.8rem !important;
  max-width: max-content !important;
  margin-bottom: 1.2rem !important;
  box-shadow: 0 6px 20px rgba(229, 25, 55, 0.2);
}

.badge-hero-two-lines i {
  font-size: 1.25rem;
  color: #ff3b56;
  flex-shrink: 0;
}

.badge-lines {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  text-align: left;
}

.badge-lines span {
  white-space: nowrap !important;
}

.badge-lines span:first-child {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #ff3b56;
}

.badge-lines span:last-child {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.8px;
}

.badge-gold {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.3);
  color: var(--gold-star);
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title-clean,
.service-title {
  font-family: var(--font-heading) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-family: var(--font-body);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 2.4rem;
  border-radius: var(--radius-md);
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), #b51028);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(229, 25, 55, 0.4);
  animation: pulse-red 2s infinite;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-red-hover), var(--accent-red));
  box-shadow: 0 10px 32px rgba(229, 25, 55, 0.6);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #1da851);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2bf075, #25d366);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  transform: translateY(-3px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* ==========================================================================
   NAVBAR & EXTRA LARGE 100% TRANSPARENT LOGO
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0;
  transition: var(--transition-normal);
  background: rgba(10, 11, 14, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  padding: 0.35rem 0;
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.2rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-left: 0;
}

/* Logo */
.logo-img-wrapper {
  width: 230px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent !important;
}

.logo-img-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 80px;
  object-fit: contain;
  object-position: left center;
  filter: contrast(1.08) brightness(1.05);
  transform: scale(1.1);
  transform-origin: left center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-brand:hover .logo-img-wrapper img {
  opacity: 0.95;
  transform: scale(1.14);
}

.navbar nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-red);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.nav-actions .btn-whatsapp {
  padding: 0.6rem 1.25rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  border-radius: 50px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35) !important;
  transition: var(--transition-normal);
}

.nav-actions .btn-whatsapp i {
  font-size: 0.95rem !important;
}

.nav-actions .btn-whatsapp:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (BACKGROUND SHOWING THE TWO CARS ON FIRST SCREEN)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 9.2rem;
  padding-bottom: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Featuring Imagem 06.png with dark contrast backdrop behind central text and red glows on sides */
  background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0.68) 0%, rgba(10, 11, 14, 0.45) 55%, transparent 80%),
              radial-gradient(circle at 0% 50%, rgba(229, 25, 55, 0.35) 0%, transparent 45%),
              radial-gradient(circle at 100% 50%, rgba(229, 25, 55, 0.35) 0%, transparent 45%),
              radial-gradient(circle at 0% 0%, rgba(229, 25, 55, 0.25) 0%, transparent 40%),
              radial-gradient(circle at 100% 0%, rgba(229, 25, 55, 0.25) 0%, transparent 40%),
              linear-gradient(to bottom, rgba(10, 11, 14, 0.3) 0%, transparent 30%, transparent 70%, rgba(10, 11, 14, 0.9) 100%),
              url('Imagem 06.png') center 25% / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 14, 0.88) 0%, transparent 35%, transparent 75%, rgba(10, 11, 14, 0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-text-col .hero-title-clean {
  text-align: left;
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
}

.hero-text-col .hero-highlight-box {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Title: Clean 2-Line Header with Red Highlights */
.hero-title-clean {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15 !important;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  width: 100%;
}

.hero-title-line1 {
  white-space: nowrap;
  display: block !important;
  font-size: 0.9em;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  margin-bottom: 0.35rem !important;
  padding-bottom: 0 !important;
  line-height: 1.15 !important;
}

.hero-title-line2 {
  white-space: nowrap;
  display: block !important;
  font-size: 1.08em;
  font-weight: 900;
  color: #ff3b56;
  text-shadow: 0 0 35px rgba(255, 59, 86, 0.9), 0 0 70px rgba(229, 25, 55, 0.45), 0 4px 18px rgba(0, 0, 0, 0.95);
  margin-top: 0 !important;
  padding-top: 0 !important;
  line-height: 1.15 !important;
}

/* Red Highlight Backdrop Box (Framing Description Text with Red Glow Shadow) */
.hero-highlight-box {
  background: linear-gradient(135deg, rgba(229, 25, 55, 0.22), rgba(8, 9, 12, 0.95));
  border: 1px solid rgba(229, 25, 55, 0.55);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.8rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.92), 0 0 45px rgba(229, 25, 55, 0.4);
  margin-bottom: 1.8rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
}

.hero-description-text {
  font-size: 1.1rem;
  color: #f1f5f9;
  line-height: 1.6;
  margin: 0;
}

/* Crisp & Balanced Hero Video Card */
.hero-video-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-video-card {
  width: 100%;
  max-width: 440px; /* Slightly wider to the side */
  background: linear-gradient(145deg, rgba(24, 26, 36, 0.95), rgba(12, 14, 20, 0.98));
  border: 1px solid rgba(229, 25, 55, 0.55);
  border-radius: var(--radius-lg);
  padding: 0.8rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(229, 25, 55, 0.4);
  backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 50px rgba(229, 25, 55, 0.55);
  border-color: rgba(229, 25, 55, 0.8);
}

.hero-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.5rem 0.75rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-video-header .video-title-tag {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(229, 25, 55, 0.2);
  border: 1px solid rgba(229, 25, 55, 0.5);
  color: #ff3b56;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.live-tag i {
  font-size: 0.45rem;
  color: #ff3b56;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
  100% { opacity: 0.3; transform: scale(0.8); }
}

.hero-video-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
  width: 100%;
  height: 380px; /* Controlled height - doesn't stretch downwards */
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.hero-video-footer {
  padding: 0.65rem 0.4rem 0.15rem 0.4rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-video-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
}

/* ==========================================================================
   DIALYSIS COMPARISON SECTION & VIDEO
   ========================================================================== */
.dialysis-comparison {
  position: relative;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.comparison-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comp-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.comp-card.traditional {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

.comp-card.dialysis {
  background: linear-gradient(135deg, rgba(229, 25, 55, 0.15), rgba(18, 20, 26, 0.9));
  border-color: var(--accent-red);
  box-shadow: var(--shadow-glow);
}

.comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.percentage-badge {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  padding: 0.2rem 1rem;
  border-radius: var(--radius-sm);
}

.comp-card.traditional .percentage-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.comp-card.dialysis .percentage-badge {
  background: var(--accent-red);
  color: #fff;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.comp-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.comp-list li i.fa-xmark {
  color: #ef4444;
}

.dialysis-title-two-lines .title-line-1 {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  white-space: nowrap;
}

.dialysis-title-two-lines .title-line-2 {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  white-space: nowrap;
  margin-top: 0.2rem;
}

.services-title-two-lines .title-line-1 {
  display: block;
  font-size: clamp(1.4rem, 2.8vw, 2.5rem);
  white-space: nowrap;
}

.services-title-two-lines .title-line-2 {
  display: block;
  font-size: clamp(1.4rem, 2.8vw, 2.5rem);
  white-space: nowrap;
  margin-top: 0.3rem;
}

.machine-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.machine-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  height: 380px;
}

.machine-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.machine-img-box:hover img {
  transform: scale(1.05);
}

.machine-full-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(229, 25, 55, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(229, 25, 55, 0.25);
  background: var(--bg-card);
  height: 480px;
  width: 100%;
  padding: 0;
  transition: transform 0.4s ease;
}

.machine-full-image-wrapper:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 25, 55, 0.6);
}

.machine-full-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  display: block;
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-section {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(229, 25, 55, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(229, 25, 55, 0.15);
  color: var(--accent-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.service-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-red);
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 0.8rem;
}

/* ==========================================================================
   GALLERY SHOWCASE (SINGLE FACADE SHOWCASE)
   ========================================================================== */
.facade-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(229, 25, 55, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 35px rgba(229, 25, 55, 0.25);
  height: auto;
  max-height: 580px;
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease;
  background: #000000;
}

.facade-showcase:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 25, 55, 0.7);
}

.facade-showcase img {
  width: 100%;
  height: 480px;
  max-height: 520px;
  object-fit: cover;
  object-position: 50% 32%; /* Positions viewport directly on the red & white storefront logo signboard */
  display: block;
  transition: transform 0.6s ease;
}

.facade-showcase:hover img {
  transform: scale(1.03);
}

.facade-showcase .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.facade-showcase:hover .gallery-overlay {
  opacity: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  border: 1px solid var(--border-glass);
  cursor: pointer;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 14, 0.9), transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Serviced Cars Grid */
.serviced-cars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.serviced-car-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  height: auto !important;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.serviced-car-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 25, 55, 0.55);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(229, 25, 55, 0.25);
}

.car-img-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #000000;
}

.car-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.serviced-car-card:hover .car-img-wrapper img {
  transform: scale(1.06);
}

.car-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 11, 14, 0.88);
  border: 1px solid rgba(229, 25, 55, 0.55);
  color: #ff3b56;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.car-card-body {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--bg-card);
  flex-grow: 1;
}

.car-card-body h4 {
  font-size: 1.15rem;
  color: #ffffff;
  font-family: var(--font-heading);
}

.car-card-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   GOOGLE REVIEWS / TESTIMONIALS
   ========================================================================== */
.reviews-section {
  background: var(--bg-secondary);
}

.reviews-header-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.google-rating-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.rating-score {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold-star);
}

.rating-stars {
  color: var(--gold-star);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.review-card:hover {
  border-color: rgba(255, 184, 0, 0.3);
  transform: translateY(-4px);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2b3042, #181a24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.review-author strong {
  display: block;
  font-size: 1rem;
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   LOCATION & CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin: 2rem 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(229, 25, 55, 0.15);
  color: var(--accent-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.info-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 420px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FOOTER & FLOATING CTA
   ========================================================================== */
.footer {
  background: #000000 !important;
  border-top: none !important;
  box-shadow: none !important;
  padding: 4rem 0 2rem 0;
}

.footer-bottom {
  border-top: none !important;
  background: #000000 !important;
}

.footer-logo-hero {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 1rem 0;
}

.footer-logo-wrapper {
  width: 100% !important;
  max-width: 1100px !important;
  height: auto !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.footer-logo-img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: contrast(1.08) brightness(1.05) drop-shadow(0 12px 35px rgba(0, 0, 0, 0.9)) !important;
  transition: transform 0.3s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 0;
  max-width: 700px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  background: var(--whatsapp-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 25, 55, 0.75);
  }
  70% {
    box-shadow: 0 0 0 22px rgba(229, 25, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 25, 55, 0);
  }
}

/* Lightbox Modal */
.modal-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.modal-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero {
    padding-top: 9rem;
    background-position: center center;
    background-size: cover;
  }

  .hero-title-clean {
    font-size: 1.95rem;
  }

  .logo-img-wrapper {
    width: 250px;
    height: 75px;
  }

  .comparison-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE — EXCLUSIVO PARA DISPOSITIVOS MÓVEIS
   REGRA ABSOLUTA: Todas as regras abaixo são estritamente mobile-only.
   O desktop permanece 100% inalterado.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CLASSES DE VISIBILIDADE — controlam conteúdo desktop vs mobile no HTML
   -------------------------------------------------------------------------- */

/* Desktop: mostrar versões desktop, ocultar versões mobile */
.hero-mobile-text     { display: none !important; }
.hero-desktop-text    { display: inline !important; }
.services-mobile-text { display: none !important; }
.services-desktop-text{ display: inline !important; }

/* Na galeria e contato: <br> de quebra fica oculto no desktop */
.galeria-title-break  { display: none; }
.contato-title-break  { display: none; }

/* Rating: no desktop, mostrar estrelas inline (ao lado do 5.0), ocultar as de baixo */
.rating-score-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.rating-stars-below   { display: none; }
.rating-stars-inline  { display: flex; }

/* Galeria title: no desktop, manter nowrap */
.galeria-title {
  white-space: nowrap;
}

/* Contato title: no desktop, sem forçar quebra */
.contato-title {
  white-space: normal;
}

/* ==========================================================================
   BREAKPOINT MOBILE PRINCIPAL — max-width: 768px
   ========================================================================== */
@media (max-width: 768px) {

  .navbar nav {
    position: static;
    transform: none;
    left: auto;
  }

  /* -----------------------------------------------------------------------
     RESET GLOBAL DE OVERFLOW — Ponto 23
     ----------------------------------------------------------------------- */
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  /* -----------------------------------------------------------------------
     MENU LATERAL MOBILE
     ----------------------------------------------------------------------- */
  .mobile-toggle {
    display: block;
    flex-shrink: 0;
    margin-right: 0.8rem !important;
    font-size: 1.4rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    transition: right 0.35s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    border-left: 1px solid var(--border-glass);
    z-index: 1001;
  }

  .nav-menu.open {
    right: 0;
  }

  /* -----------------------------------------------------------------------
     HEADER MOBILE — LOGO E MENU HAMBÚRGUER COM MARGEM E PAD ALINHADOS
     ----------------------------------------------------------------------- */
  .navbar {
    padding: 0.2rem 0 !important;
  }

  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 1.2rem 0 0.5rem !important;
    width: 100%;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    margin-right: 0.5rem !important;
  }

  .nav-actions .btn-whatsapp {
    display: none !important;
  }

  .navbar .logo-img-wrapper {
    width: clamp(210px, 68vw, 280px) !important;
    height: 90px !important;
    min-height: unset !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
    flex-shrink: 0;
  }

  .navbar .logo-img-wrapper img {
    width: auto;
    height: 100%;
    max-height: 110px;
    object-fit: contain;
    object-position: left center !important;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .whatsapp-float {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }

  /* -----------------------------------------------------------------------
     HERO MOBILE — ESPAÇAMENTO RECALIBRADO PARA O LOGO NO CANTO ESQUERDO
     ----------------------------------------------------------------------- */
  .hero-mobile-text  { display: inline !important; }
  .hero-desktop-text { display: none !important; }

  .hero {
    padding-top: 9.0rem !important;
    padding-bottom: 2.5rem !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    width: 100%;
  }

  .hero-text-col {
    align-items: center;
    text-align: center;
  }

  .hero-text-col .hero-title-clean {
    text-align: center;
  }

  .hero-text-col .hero-highlight-box {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

  .hero-video-card {
    max-width: 100%;
  }

  .hero-text-col .badge-hero-two-lines {
    display: inline-flex !important;
    max-width: 98% !important;
    margin: 0 auto 0.7rem auto !important;
    padding: 0.42rem 0.85rem !important;
    gap: 0.6rem !important;
  }

  .hero-text-col .badge-hero-two-lines i {
    font-size: 1.15rem !important;
  }

  .badge-lines span:first-child {
    font-size: clamp(9px, 2.5vw, 11.5px) !important;
    letter-spacing: 0.4px !important;
  }

  .badge-lines span:last-child {
    font-size: clamp(10px, 2.9vw, 12.8px) !important;
    letter-spacing: 0.4px !important;
  }

  .hero-title-clean {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    line-height: 1.15 !important;
    text-align: center !important;
    margin-bottom: 0.8rem !important;
  }

  .hero-title-line1 {
    font-size: clamp(10.5px, 3.5vw, 16px) !important;
    letter-spacing: 0px !important;
    white-space: nowrap !important;
    display: block !important;
    margin-bottom: 0.3rem !important;
    padding-bottom: 0px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
  }

  .hero-title-line2 {
    font-size: clamp(12.5px, 4.2vw, 19px) !important;
    letter-spacing: 0px !important;
    white-space: nowrap !important;
    display: block !important;
    margin-top: 0 !important;
    padding-top: 0px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    color: #ff3b56 !important;
    text-shadow: 0 0 28px rgba(255, 59, 86, 0.95), 0 0 55px rgba(229, 25, 55, 0.5), 0 3px 12px rgba(0, 0, 0, 0.95) !important;
  }

  .hero-highlight-box {
    padding: 0.9rem 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
  }

  .hero-description-text {
    max-width: 95%;
    margin-inline: auto;
    font-size: clamp(13px, 3.6vw, 15px);
    line-height: 1.45;
  }

  .btn-primary {
    width: min(100%, 300px);
    margin-inline: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.82rem;
    padding: 0.8rem 1.2rem;
  }

  /* -----------------------------------------------------------------------
     PONTO 8 — "RENOVE 100% DO FLUIDO DO SEU CÂMBIO"
     ----------------------------------------------------------------------- */
  .dialysis-title-two-lines .title-line-1,
  .dialysis-title-two-lines .title-line-2 {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.05;
    letter-spacing: -0.3px;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: none;
    display: block;
    max-width: 95%;
    text-wrap: balance;
  }

  /* Grid diálise: coluna única */
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .machine-full-image-wrapper {
    height: 300px;
  }

  .machine-media-grid {
    grid-template-columns: 1fr;
  }

  /* -----------------------------------------------------------------------
     PONTO 9 — SEÇÃO "ESPECIALISTAS": versões desktop/mobile
     ----------------------------------------------------------------------- */
  /* ESPECIALISTAS: mostrar mobile, esconder desktop */
  .services-mobile-text  { display: block !important; }
  .services-desktop-text { display: none !important; }

  /* Título especialistas mobile */
  .services-title-two-lines .title-line-1,
  .services-title-two-lines .title-line-2 {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.02;
    letter-spacing: -0.3px;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: none;
    display: block;
    max-width: 95%;
    margin-inline: auto;
    text-wrap: balance;
  }

  /* -----------------------------------------------------------------------
     PONTO 10 — PARÁGRAFO DOS ESPECIALISTAS
     ----------------------------------------------------------------------- */
  .services-section .section-subtitle {
    max-width: 92%;
    margin-inline: auto;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.55;
  }

  /* -----------------------------------------------------------------------
     PONTO 11 — CARDS DE SERVIÇOS
     ----------------------------------------------------------------------- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* -----------------------------------------------------------------------
     PONTO 12 — "CONHEÇA A OFICINA NOVA CAPRICHO": quebra controlada
     ----------------------------------------------------------------------- */
  .galeria-title {
    white-space: normal !important;
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.05;
    text-align: center;
    overflow-wrap: break-word;
    hyphens: none;
  }

  /* Ativar o <br> de quebra antes de "Nova Capricho" */
  .galeria-title-break {
    display: inline;
  }

  /* "Nova Capricho" permanece em vermelho (já está em .text-red) */
  .galeria-title .text-red {
    white-space: nowrap;
  }

  /* -----------------------------------------------------------------------
     PONTO 13 — TEXTO DA OFICINA: "Barueri" não isolado
     ----------------------------------------------------------------------- */
  #galeria .section-subtitle {
    max-width: 94%;
    margin-inline: auto;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.55;
    text-align: center;
    text-wrap: balance;
  }

  /* -----------------------------------------------------------------------
     PONTO 14 — FOTO DA FACHADA: responsiva, sem distorção
     ----------------------------------------------------------------------- */
  .facade-showcase {
    max-height: 340px;
  }

  .facade-showcase img {
    width: 100%;
    height: auto;
    max-height: 340px;
    display: block;
    object-fit: cover;
    object-position: 50% 32%;
  }

  .serviced-cars-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .car-img-wrapper {
    height: 220px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  /* -----------------------------------------------------------------------
     PONTO 15 & 16 — GOOGLE REVIEWS: 5.0 + estrelas abaixo, organizado
     ----------------------------------------------------------------------- */

  /* Card principal da avaliação */
  .reviews-header-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    padding: 1.4rem;
  }

  /* Rating box: estrutura vertical no mobile */
  .google-rating-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    width: 100%;
  }

  /* Wrapper do 5.0 + estrelas abaixo */
  .rating-score-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* Número 5.0 grande */
  .rating-score {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: var(--gold-star);
  }

  /* Estrelas ABAIXO do 5.0 — visíveis no mobile */
  .rating-stars-below {
    display: flex;
    gap: 2px;
    font-size: 20px;
    color: var(--gold-star);
    letter-spacing: 2px;
    line-height: 1;
  }

  /* Estrelas inline (ao lado do 5.0 no desktop) — ocultas no mobile */
  .rating-stars-inline {
    display: none;
  }

  /* Info de rating */
  .rating-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .rating-info strong {
    font-size: clamp(13px, 4vw, 16px);
    line-height: 1.3;
    display: block;
    white-space: normal;
  }

  .rating-info p {
    font-size: 13px !important;
  }

  /* -----------------------------------------------------------------------
     PONTO 17 — "VER NO GOOGLE": totalmente visível
     ----------------------------------------------------------------------- */
  .reviews-header-card .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 220px);
    min-height: 44px;
    margin: 4px auto 0;
    white-space: nowrap;
    font-size: 0.88rem;
    padding: 0.75rem 1rem;
    align-self: center;
  }

  /* -----------------------------------------------------------------------
     PONTO 18 — COMENTÁRIOS: cards sem overflow
     ----------------------------------------------------------------------- */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .review-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1.4rem;
  }

  .review-text {
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.55;
  }

  /* -----------------------------------------------------------------------
     PONTO 19 — "VENHA CONHECER A / NOVA CAPRICHO": quebra exata
     ----------------------------------------------------------------------- */
  .contato-title {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.05;
    overflow-wrap: break-word;
    hyphens: none;
  }

  /* Ativar o <br> antes de "Nova Capricho" */
  .contato-title-break {
    display: inline;
  }

  /* "Nova Capricho" em vermelho — na segunda linha */
  .contato-title .text-red {
    white-space: nowrap;
  }

  /* Grid de contato: coluna única */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-container {
    min-height: 280px;
  }

  /* -----------------------------------------------------------------------
     FOOTER MOBILE: altura reduzida, fundo preto combinando com o logo
     ----------------------------------------------------------------------- */
  .footer {
    background: #000000 !important;
    padding: 0.8rem 0 0.5rem 0;
  }

  /* Esconder colunas de links no mobile — deixa rodapé compacto */
  .footer-links {
    display: none !important;
  }

  /* Wrapper do logo no footer */
  .footer-logo-hero {
    margin-bottom: 1.5rem;
    padding: 0;
  }

  .footer-logo-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 8px auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Imagem do logo no footer */
  .footer-logo-img {
    width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }

  /* footer-brand: centralizado e compacto */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand p {
    display: none;
  }

  /* Footer grid: coluna única, sem gap */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0.3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
    text-align: center;
    padding-top: 0.4rem;
    font-size: 0.65rem;
  }

  .footer-badge {
    margin: 0.4rem auto 0 auto;
    font-size: 0.72rem;
    padding: 0.35rem 0.9rem;
  }


  /* -----------------------------------------------------------------------
     PONTO 24 — CONTAINERS MOBILE: padding e box-sizing
     ----------------------------------------------------------------------- */
  .container {
    padding-left: 18px;
    padding-right: 18px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  /* -----------------------------------------------------------------------
     PONTO 25 — TIPOGRAFIA RESPONSIVA com clamp()
     ----------------------------------------------------------------------- */
  .section-title {
    font-size: clamp(22px, 6vw, 32px);
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .section-subtitle {
    font-size: clamp(14px, 4vw, 16px);
    overflow-wrap: break-word;
    line-height: 1.55;
  }

  /* Section header: margem inferior reduzida */
  .section-header {
    margin-bottom: 2.2rem;
  }

  /* -----------------------------------------------------------------------
     PONTO 28 — GRIDS DE CARDS: 1 coluna, gap adequado
     ----------------------------------------------------------------------- */
  .section-padding {
    padding: 3.5rem 0;
  }

  /* -----------------------------------------------------------------------
     RESPONSIVIDADE GERAL
     ----------------------------------------------------------------------- */

  /* Botão genérico: respeita viewport */
  .btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }

  /* Botão outline: responsivo */
  .btn-outline {
    font-size: 0.85rem;
    padding: 0.75rem 1.2rem;
  }

  /* Botão whatsapp fora do header: mantém tamanho legível */
  .btn-whatsapp {
    font-size: 0.85rem;
    padding: 0.85rem 1.2rem;
    white-space: nowrap;
  }

  /* Imagens: nunca ultrapassam container */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Badge: responsivo */
  .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    white-space: normal;
    text-align: center;
  }
}

/* ==========================================================================
   BREAKPOINT MOBILE PEQUENO — max-width: 480px
   Para 320px, 360px, 375px, 390px
   ========================================================================== */
@media (max-width: 480px) {

  /* Navbar */
  /* Diálise: título ajustado */
  .dialysis-title-two-lines .title-line-1,
  .dialysis-title-two-lines .title-line-2 {
    font-size: clamp(16px, 4.6vw, 21px);
  }

  /* Especialistas: título ajustado */
  .services-title-two-lines .title-line-1,
  .services-title-two-lines .title-line-2 {
    font-size: clamp(16px, 4.6vw, 21px);
  }

  /* Galeria title */
  .galeria-title {
    font-size: clamp(22px, 6.5vw, 30px);
  }

  /* Reviews: rating score */
  .rating-score {
    font-size: 30px;
  }

  .rating-stars-below {
    font-size: 18px;
  }

  /* Ver no Google: centralizado */
  .reviews-header-card .btn-outline {
    width: 100%;
    max-width: 100%;
  }

  /* Contato title */
  .contato-title {
    font-size: clamp(22px, 6.5vw, 30px);
  }

  /* Footer: fundo preto e logo gigante */
  .footer {
    background: #000000;
    padding: 3rem 0 1.8rem 0;
  }

  .footer-logo-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-inline: auto;
  }

  .footer-logo-img,
  .footer-logo-wrapper img {
    width: 100% !important;
    height: auto !important;
    max-height: 320px !important;
    object-fit: contain;
  }

  /* Containers com padding menor */
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Seção padding ainda menor */
  .section-padding {
    padding: 2.8rem 0;
  }

  /* Section title */
  .section-title {
    font-size: clamp(20px, 5.8vw, 28px);
  }

  /* Botão primário: menor */
  .btn-primary {
    font-size: 0.82rem;
    padding: 0.85rem 1.2rem;
  }

  /* Reviews cards: padding menor */
  .review-card {
    padding: 1.1rem;
  }

  .reviews-header-card {
    padding: 1.1rem;
  }
}

/* ==========================================================================
   BREAKPOINT MOBILE MUITO PEQUENO — max-width: 360px
   Para 320px e 360px
   ========================================================================== */
@media (max-width: 360px) {

  .dialysis-title-two-lines .title-line-1,
  .dialysis-title-two-lines .title-line-2 {
    font-size: clamp(14px, 4.2vw, 18px);
  }

  .services-title-two-lines .title-line-1,
  .services-title-two-lines .title-line-2 {
    font-size: clamp(14px, 4.2vw, 18px);
  }

  .galeria-title,
  .contato-title {
    font-size: clamp(19px, 6vw, 26px);
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .rating-score {
    font-size: 26px;
  }

  .rating-stars-below {
    font-size: 16px;
  }

  .footer {
    background: #000000 !important;
    padding: 1.4rem 0 0.8rem 0;
  }

  .footer-logo-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .footer-logo-img {
    width: 100% !important;
    height: auto !important;
    max-height: 260px !important;
  }
}


