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

:root {
  /* Color Palette (Extracted and curated from logo.png) */
  --primary-color: #8C1935;
  /* Deep Burgundy/Wine */
  --primary-dark: #660E22;
  /* Dark Wine */
  --primary-light: #B23250;
  /* Lighter Wine for highlights */
  --accent-color: #B48D7C;
  /* Champagne/Bronze Accent */
  --accent-hover: #9A7261;
  /* Darker Bronze */
  --bg-color: #FCFAF8;
  /* Warm Off-White/Ivory background */
  --bg-white: #FFFFFF;
  --bg-alt: #F3EFEA;
  /* Subtle beige divider background */
  --bg-dark: #2B060F;
  /* Rich dark wine black for dark section */
  --text-dark: #1E2220;
  /* Elegant Charcoal */
  --text-muted: #555E59;
  /* Softer text */
  --text-light: #FCFAF8;
  --whatsapp-color: #25D366;
  /* Official WhatsApp Green */
  --whatsapp-hover: #20BA5A;

  /* Font Families */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout Variables */
  --container-width: 1200px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;

  /* Premium Box Shadows */
  --shadow-sm: 0 4px 12px rgba(140, 25, 53, 0.03);
  --shadow-md: 0 10px 30px rgba(12, 24, 18, 0.05);
  --shadow-lg: 0 20px 45px rgba(12, 24, 18, 0.08);
  --shadow-premium-hover: 0 22px 50px rgba(140, 25, 53, 0.12);
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-white {
  background-color: var(--bg-white);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* Typography Utilities */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent-color);
}

.text-primary {
  color: var(--primary-color);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-radius: 50px;
  margin-bottom: 1.2rem;
  border: 1px solid var(--primary-color);
}

.section-dark .badge {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.section-dark .section-title {
  color: var(--text-light);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.section-dark .section-subtitle {
  color: rgba(252, 250, 248, 0.7);
}

/* Button & CTA Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(140, 25, 53, 0.2);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(180, 141, 124, 0.25);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: var(--bg-white);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Pulse animation for key CTAs */
.pulse-animation {
  animation: pulse-effect 2.5s infinite;
}

@keyframes pulse-effect {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Floating WhatsApp Button */
.whatsapp-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--whatsapp-color);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  animation: floating-pulse 2s infinite;
}

.whatsapp-floating svg {
  width: 32px;
  height: 32px;
}

.whatsapp-floating:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

@keyframes floating-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(252, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180, 141, 124, 0.15);
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-cta .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

/* HERO Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image: url('../img/secao-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(43, 6, 15, 0.75) 0%, rgba(43, 6, 15, 0.55) 45%, rgba(12, 24, 18, 0.15) 100%);
  z-index: 1;
}

@media (min-width: 1400px) {
  .hero {
    background-position: center right 15%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 650px;
}

.hero-content .badge {
  background-color: var(--primary-color) !important;
  color: var(--bg-white) !important;
  border-color: var(--primary-color) !important;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--text-light);
}

.hero .sub-headline {
  font-size: 1.1rem;
  color: rgba(252, 250, 248, 0.85);
  margin-bottom: 2.2rem;
  max-width: 550px;
}

/* "Você Sofre Com Varizes?" Section */
.varizes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.varizes-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.varizes-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.problems-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.problem-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.problem-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(140, 25, 53, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.problem-text strong {
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.15rem;
}

.problem-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.varizes-image-wrapper {
  position: sticky;
  top: 110px;
  z-index: 5;
}

.varizes-img-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(180, 141, 124, 0.15);
}

.varizes-image-mobile {
  display: none;
}

/* "Método de Tratamento" Section */
.metodos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.metodo-card {
  background-color: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(180, 141, 124, 0.12);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.metodo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-premium-hover);
  border-color: rgba(180, 141, 124, 0.35);
}

.metodo-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  background-color: rgba(180, 141, 124, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
}

.metodo-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.metodo-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* "Recuperação Acelerada" Section */
#recuperacao {
  position: relative;
  background-image: url('../img/secao-recuperacao-rapida-varizes.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

#recuperacao::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 6, 15, 0.88);
  z-index: -1;
}

.recuperacao-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.recuperacao-text p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.8rem;
  color: rgba(252, 250, 248, 0.95);
}

.recuperacao-text p.highlight-p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-color);
  font-family: var(--font-heading);
}

.recuperacao-cta-block {
  margin-top: 3.2rem;
}

/* "Procedimentos" Section */
.procedimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-bottom: 4rem;
}

.procedimento-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(180, 141, 124, 0.12);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.procedimento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(180, 141, 124, 0.3);
}

.procedimento-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.procedimento-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.procedimento-card:hover .procedimento-img-wrapper img {
  transform: scale(1.05);
}

.procedimento-info {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.procedimento-info h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.procedimento-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.procedimento-card .btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 0.88rem;
}

.procedimentos-footer-cta {
  max-width: 600px;
  margin: 0 auto;
}

/* "Conheça o seu Médico" Section */
.medico-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.medico-image-wrapper {
  position: relative;
}

.medico-img-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background-color: var(--bg-alt);
}

.medico-info-box {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-white);
  padding: 1.2rem 1.8rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--primary-color);
  border-top: 1px solid rgba(180, 141, 124, 0.15);
  border-right: 1px solid rgba(180, 141, 124, 0.15);
  border-bottom: 1px solid rgba(180, 141, 124, 0.15);
}

.medico-info-box .crm-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-hover);
}

.medico-content h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.medico-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent-hover);
  font-weight: 600;
  margin-bottom: 2.2rem;
}

.medico-bio {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.formation-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 1rem;
  width: 1px;
  height: calc(100% + 0.8rem);
  background-color: rgba(180, 141, 124, 0.3);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-color);
  background-color: rgba(140, 25, 53, 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  flex-shrink: 0;
  width: 80px;
  text-align: center;
}

.timeline-text {
  padding-top: 0.35rem;
}

.timeline-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.timeline-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* "Perguntas e Respostas" (FAQ) Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Native Mutually Exclusive Accordion Styling via details */
.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(180, 141, 124, 0.15);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(180, 141, 124, 0.35);
  box-shadow: var(--shadow-md);
}

/* When details is open */
.faq-item[open] {
  border-color: rgba(140, 25, 53, 0.25);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: 1.5rem 2rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
  /* Hide default triangle */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  user-select: none;
  transition: var(--transition-smooth);
}

/* Remove default webkit details marker */
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Custom indicator icon */
.faq-icon-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(180, 141, 124, 0.1);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon-indicator {
  transform: rotate(180deg);
  background-color: rgba(140, 25, 53, 0.08);
  color: var(--primary-color);
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(180, 141, 124, 0.12);
}

.faq-answer {
  padding: 1.5rem 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  background-color: rgba(252, 250, 248, 0.5);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* "Contato" Section */
.contato-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: stretch;
}

.contato-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contato-heading h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.contato-heading p {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  margin-bottom: 3.5rem;
}

.contact-channel-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(180, 141, 124, 0.12);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon.whatsapp-c {
  background-color: rgba(37, 211, 102, 0.1);
  color: var(--whatsapp-color);
}

.channel-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

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

.channel-text a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
}

.channel-text a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.channel-btn-route {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-btn-route:hover {
  color: var(--primary-color);
}

.map-wrapper {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(180, 141, 124, 0.18);
  height: 100%;
  min-height: 420px;
}

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

/* Footer Section */
.footer {
  background-color: var(--primary-dark);
  color: rgba(252, 250, 248, 0.8);
  padding: 3rem 0;
  border-top: 1px solid rgba(180, 141, 124, 0.15);
  font-size: 0.85rem;
}

.footer-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(252, 250, 248, 0.1);
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright p {
  line-height: 1.6;
}

/* Media Queries (Responsive Design) */

@media (max-width: 1024px) {

  .hero-grid,
  .varizes-grid,
  .medico-grid,
  .contato-grid {
    gap: 3rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .metodos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .procedimentos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .procedimento-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --border-radius-lg: 16px;
  }

  html {
    scroll-padding-top: 20px;
  }

  .header {
    position: relative !important;
    top: auto !important;
  }

  .nav-cta {
    display: none !important;
  }

  .section {
    padding: 4.5rem 0;
  }

  .navbar {
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .logo img {
    height: 80px;
  }

  .hero {
    padding: 2.5rem 0 !important;
    min-height: auto !important;
    background-position: center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(43, 6, 15, 0.55) 0%, rgba(43, 6, 15, 0.75) 100%) !important;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero .sub-headline {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .varizes-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .varizes-image-wrapper {
    display: none !important;
  }

  .varizes-image-mobile {
    display: block;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .procedimentos-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .procedimento-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  #recuperacao {
    background-image: url('../img/secao-recuperacao-rapida-varizes-mobile.jpg') !important;
  }

  .medico-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .medico-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

  .medico-info-box {
    right: 1rem;
    bottom: -1rem;
    padding: 0.8rem 1.2rem;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .map-wrapper {
    min-height: 320px;
  }

  .footer-navbar {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .footer-copyright {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  .btn {
    width: 100%;
  }

  .floating-badge {
    display: none;
    /* Hide floating badge on extra small screens for layout safety */
  }

  .whatsapp-floating {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }

  .whatsapp-floating svg {
    width: 28px;
    height: 28px;
  }
}