:root {
  --color-primary: #d4a5a5;
  --color-primary-dark: #b88888;
  --color-secondary: #8b7b7b;
  --color-accent: #f5e6e8;
  --color-text: #2a2a2a;
  --color-text-light: #666666;
  --color-bg: #fefefe;
  --color-bg-light: #f9f6f6;
  --color-border: #e8d8d8;

  --font-serif: 'Cormorant', serif;
  --font-sans: 'Inter', sans-serif;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 8px;
  --radius-card: 12px;
  --shadow-sm: 0 2px 12px rgba(42, 42, 42, 0.06);
  --shadow-md: 0 6px 24px rgba(42, 42, 42, 0.09);
  --shadow-lg: 0 12px 40px rgba(42, 42, 42, 0.12);
  --header-h: 72px;
}

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

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--spacing-sm);
  z-index: 5000;
  padding: 0.5rem 1rem;
  background: var(--color-primary-dark);
  color: white;
  font-weight: 500;
  border-radius: var(--border-radius);
}

.skip-link:focus {
  left: var(--spacing-sm);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  line-height: 1.8;
  color: var(--color-text-light);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

figure {
  margin: 0;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(254, 254, 254, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  min-height: var(--header-h);
  padding: var(--spacing-sm) 0;
}

.logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.logo-img {
  min-width: 120px;
  width: auto;
  height: 48px;
  max-height: 52px;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.logo--footer .logo-img {
  height: 40px;
  max-height: 44px;
  max-width: 200px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text);
  position: relative;
}

.nav-menu a:hover {
  color: var(--color-primary-dark);
}

.nav-menu a:not(.btn-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-menu a:not(.btn-cta):hover::after {
  width: 100%;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(30, 24, 24, 0.45);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-toggle {
  display: none;
  z-index: 1001;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: background var(--transition);
}

.menu-toggle:hover {
  background: var(--color-accent);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 2px;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -7px;
}

.menu-toggle-lines::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.btn-cta, .btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: var(--border-radius);
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.btn-cta, .btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-cta:hover, .btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-cta:active, .btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hero {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  max-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl);
  text-align: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.hero .hero-slide-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Foco por slide: evita crop no meio que esconde o procedimento (altura da seção inalterada) */
.hero-slide:nth-child(1) .hero-slide-img {
  object-position: center 30%;
}

.hero-slide:nth-child(2) .hero-slide-img {
  object-position: center 25%;
}

.hero-slide:nth-child(3) .hero-slide-img {
  object-position: center 20%;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 720px;
  animation: fadeInUp 0.9s ease;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

.hero-title {
  margin-bottom: var(--spacing-md);
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.hero-cta {
  box-shadow: var(--shadow-md);
}

.services {
  padding: var(--spacing-xxl) 0;
  background: var(--color-bg);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.section-title--left {
  text-align: left;
}

.section-subtitle {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.services-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.services-filter {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-family: var(--font-sans);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.service-card {
  background: white;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 1;
  transform: translateY(0);
  border: 1px solid rgba(232, 216, 216, 0.6);
}

.service-card.hidden {
  display: none;
}

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

.service-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.service-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-bg-light);
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(42, 42, 42, 0.14) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover .service-image::after {
  opacity: 1;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-content {
  padding: var(--spacing-md);
  position: relative;
}

.service-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  border-radius: 12px;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-sans);
}

.service-content h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.service-content p {
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.subsection-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-top: var(--spacing-xxl);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.complementary-intro {
  margin-bottom: var(--spacing-lg);
}

.about {
  padding: var(--spacing-xxl) 0;
  background: var(--color-bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.about-text p {
  margin-bottom: var(--spacing-md);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(42, 42, 42, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

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

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

.gallery-item img[src$="boca.JPG"] {
  object-position: center 42%;
}

.gallery-item img[src$="homem.JPG"] {
  object-position: center 28%;
}

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

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.contact {
  padding: var(--spacing-xxl) 0;
  background: var(--color-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  position: relative;
}

.contact-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
}

.contact-icon.phone::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b88888' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact-icon.whatsapp::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b88888' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact-icon.email::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b88888' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact-icon.location::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b88888' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact-icon.clock::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b88888' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3Cpath d='M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.contact-item a {
  color: var(--color-primary-dark);
  font-weight: 400;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item p {
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.contact-map {
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 500px;
  box-shadow: var(--shadow-md);
}

.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  animation: none;
}

.whatsapp-float-icon {
  width: 28px;
  height: 28px;
}

.footer {
  background: var(--color-text);
  color: var(--color-bg-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
  color: var(--color-bg);
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-sans);
  font-weight: 500;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-brand .logo-link {
  margin-bottom: var(--spacing-sm);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-icon {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--color-primary);
  transform: translateY(-4px);
}

.social-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
}

.social-icon.instagram::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.social-icon.facebook::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.social-icon.whatsapp::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .footer-dev-link {
  color: #d4af37;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, filter 0.2s ease, text-shadow 0.2s ease;
}

.footer-bottom .footer-dev-link:hover {
  color: #f0d878;
  filter: brightness(1.06);
  text-shadow: 0 0 12px rgba(240, 216, 120, 0.35);
}

.footer-bottom .footer-dev-link:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.55);
  outline-offset: 3px;
  border-radius: 2px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2200;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-card);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalSlideUp 0.35s ease;
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-light);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
  border-radius: var(--border-radius);
}

.modal-close:hover {
  color: var(--color-text);
  background: var(--color-bg-light);
}

.modal-body {
  padding: var(--spacing-xl);
}

.modal-body h2 {
  margin-bottom: var(--spacing-md);
}

.modal-body p {
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.modal-cta {
  display: inline-block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.65); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .whatsapp-float {
    animation: none;
  }
  .service-card:hover .service-image img {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .gallery-item:hover::after,
  .service-card:hover .service-image::after {
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .header .container {
    padding-left: 0;
    padding-right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--color-bg);
    box-shadow: var(--shadow-md);
    transform: translateX(100%);
    transition: transform var(--transition);
    flex: none;
    justify-content: stretch;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
  }

  .nav-menu li {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-sm);
  }

  .nav-menu li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    padding-top: var(--spacing-sm);
  }

  .nav-menu .btn-cta {
    text-align: center;
    width: 100%;
  }

  .hero {
    min-height: 480px;
    padding-top: calc(var(--header-h) + var(--spacing-lg));
  }

  .services-featured {
    grid-template-columns: 1fr;
  }

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

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 300px;
  }

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

  .nav-backdrop {
    top: var(--header-h);
  }
}

@media (max-width: 768px) and (min-width: 390px) {
  .header {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
}
