/* CSS principal da Clínica Podologia Pé Feliz */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #2a9d8f;
  --primary-rgb: 42, 157, 143;
  --primary-hover: #218276;
  --secondary: #264653;
  --secondary-rgb: 38, 70, 83;
  --accent: #e76f51;
  --accent-rgb: 231, 111, 81;
  --bg-light: #f4f9f8;
  --bg-white: #ffffff;
  --text-dark: #2c3e50;
  --text-muted: #5a738e;
  --text-light: #ffffff;
  --shadow-sm: 0 4px 6px rgba(42, 157, 143, 0.05);
  --shadow-md: 0 10px 30px rgba(38, 70, 83, 0.08);
  --shadow-lg: 0 20px 40px rgba(38, 70, 83, 0.12);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

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

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

.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 10px 20px rgba(42, 157, 143, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(42, 157, 143, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--text-light);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.45);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--text-light);
  box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
}

.btn-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(220, 39, 67, 0.45);
  opacity: 0.95;
}

/* Float WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 9999;
  transition: var(--transition-smooth);
  animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

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

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

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

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--secondary);
}

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

.contact-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-num {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 1.5rem 4rem;
  background: radial-gradient(circle at 80% 20%, rgba(42, 157, 143, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
              linear-gradient(135deg, rgba(244, 249, 248, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.badge {
  background-color: rgba(42, 157, 143, 0.1);
  color: var(--primary);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.15;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 550px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-subtext {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: var(--transition-smooth);
}

.hero-img-card:hover {
  transform: rotate(0) scale(1.02);
}

/* Section Common Styles */
section {
  padding: 5rem 1.5rem;
}

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

.section-header {
  max-width: 800px;
  margin: 0 auto 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.section-header h2 {
  font-size: 2.5rem;
}

.section-header .line {
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Stats Section */
.stats {
  padding: 3rem 1.5rem;
  background-color: var(--secondary);
  color: var(--text-light);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-num {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.stat-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 250px;
}

/* Services Grid */
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(42, 157, 143, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: var(--transition-smooth);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(42, 157, 143, 0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.35rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* CTA Mid Banner */
.cta-banner {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, var(--secondary) 0%, rgba(38, 70, 83, 0.9) 100%);
  color: var(--text-light);
  text-align: center;
}

.cta-banner-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-banner h2 {
  color: var(--text-light);
  font-size: 2.2rem;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Experience / Why Us */
.experience-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 4rem;
}

.exp-img-wrapper {
  position: relative;
}

.exp-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  font-family: var(--font-title);
}

.exp-badge .num {
  font-size: 2rem;
  font-weight: 800;
  display: block;
}

.exp-badge .text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.exp-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.exp-item {
  display: flex;
  gap: 1.2rem;
}

.exp-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(42, 157, 143, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.exp-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

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

/* Testimonials Carousel */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.slider-wrapper {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  padding: 1rem;
}

.testimonial-card {
  background-color: var(--bg-white);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(42, 157, 143, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
}

.testimonial-author {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -1.2rem;
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: var(--transition-smooth);
  z-index: 10;
}

.slider-btn:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.slider-btn-prev {
  left: -70px;
}

.slider-btn-next {
  right: -70px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(42, 157, 143, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background-color: var(--primary);
  width: 25px;
  border-radius: 5px;
}

/* How It Works - Steps */
.how-it-works-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.step-num {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(42, 157, 143, 0.15);
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.step-title {
  font-size: 1.2rem;
  margin-top: 1rem;
}

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

/* Map & Location Section */
.location-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.map-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

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

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-info h3 {
  font-size: 1.8rem;
}

.info-item {
  display: flex;
  gap: 1rem;
}

.info-icon {
  width: 46px;
  height: 46px;
  background-color: rgba(42, 157, 143, 0.1);
  border-radius: 50%;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
}

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

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

/* Footer Section */
footer {
  background-color: var(--secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 1.5rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-brand .logo-text {
  color: var(--text-light);
}

.footer-brand p {
  max-width: 400px;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  color: var(--text-light);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

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

.footer-col a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display:flex;
  justify-content:center;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  .hero-content {
    align-items: center;
  }
  .hero-cta {
    align-items: center;
  }
  .hero-image-wrapper {
    order: -1;
  }
  .experience-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .exp-badge {
    bottom: 10px;
    right: 10px;
  }
  .location-container {
    grid-template-columns: 1fr;
  }
  .slider-btn {
    display: none;
  }
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .hero-content h1 {
    font-size: 2.6rem;
  }
  .stats-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Galeria de Tratamentos (Abaixo dos Service Cards) */
.treatments-gallery-container {
  max-width: 1200px;
  margin: 4.5rem auto 1rem;
  padding-top: 3.5rem;
  border-top: 1px dashed rgba(42, 157, 143, 0.2);
}

.treatments-header {
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.treatments-header h3 {
  font-size: 2rem;
  color: var(--secondary);
}

.treatments-header .sub-line {
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.treatments-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.treatment-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(42, 157, 143, 0.08);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(42, 157, 143, 0.3);
}

.treatment-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-light);
}

.treatment-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatment-card:hover .treatment-img-wrapper img {
  transform: scale(1.08);
}

.treatment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 70, 83, 0.6) 0%, rgba(38, 70, 83, 0) 50%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.treatment-card:hover .treatment-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(42, 157, 143, 0.7) 0%, rgba(38, 70, 83, 0.1) 60%);
}

.treatment-zoom-icon {
  width: 34px;
  height: 34px;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.treatment-card:hover .treatment-zoom-icon {
  background-color: var(--text-light);
  color: var(--primary);
  transform: scale(1.1);
}

/* Lightbox Modal */
.image-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

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

.image-modal-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-modal.active .image-modal-content {
  transform: scale(1);
}

.image-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 10001;
  line-height: 1;
}

.image-modal-close:hover {
  background-color: var(--primary);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .treatments-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
  }
  .treatments-gallery-container {
    margin-top: 3rem;
    padding-top: 2.5rem;
  }
}

