/* ========================================================
   GIULIA CHAVES - DERMATOLOGIA VETERINÁRIA
   Folha de Estilos Principal (CSS3 Moderno e Responsivo)
   Fidelidade ao Mockup de Referência Visual
   ======================================================== */

/* --------------------------------------------------------
   1. DESIGN TOKENS (VARIÁVEIS DE COR, TIPOGRAFIA E ESPAÇOS)
   -------------------------------------------------------- */
:root {
  /* Cores Principais */
  --color-bg: #FAF7F2;            /* Fundo creme / marfim acolhedor */
  --color-bg-card: #FFFFFF;       /* Fundo branco puro */
  --color-teal: #4F7F7A;          /* Verde azulado institucional (botões e painel Sobre) */
  --color-teal-dark: #3F6A65;     /* Tom mais escuro para hover */
  --color-teal-light: #EBF2F1;    /* Fundo suave verde azulado */

  /* Paleta Pastel dos Cartões de Serviço */
  --card-lilac-bg: #EAE4F5;       /* Cartão 1: Lilás pastel */
  --card-peach-bg: #FCE7D6;       /* Cartão 2: Pêssego pastel */
  --card-mint-bg: #DCF0E2;        /* Cartão 3: Verde menta pastel */
  --card-rose-bg: #FCE4E5;        /* Cartão 4: Rosa pastel */
  --brush-lilac: #B4A2DE;         /* Pincelada / realce lilás dos títulos */

  /* Textos e Contraste */
  --color-text-main: #202D2B;     /* Grafite escuro azulado elegante */
  --color-text-muted: #566764;    /* Texto de apoio secundário */
  --color-text-light: #839591;    /* Tags e overlines */
  --color-white: #FFFFFF;

  /* Tipografia */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-handwriting: 'Caveat', cursive, sans-serif;

  /* Espaçamentos e Geometria */
  --container-max: 1180px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Sombras e Transições */
  --shadow-sm: 0 4px 12px rgba(44, 62, 59, 0.04);
  --shadow-md: 0 12px 28px -6px rgba(44, 62, 59, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(44, 62, 59, 0.12);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* --------------------------------------------------------
   2. RESET E ESTILOS GLOBAIS
   -------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------
   3. ELEMENTOS DECORATIVOS: PINCELADAS E ANOTAÇÕES
   -------------------------------------------------------- */
/* Realce em estilo pincelada/marca-texto lilás sob palavras-chave */
.brush-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.brush-svg {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

/* Traço duplo estilo marca-texto em 'toda' com leve curvatura invertida (afastado sutilmente para baixo) */
.brush-hero-double {
  bottom: -10px;
  height: 18px;
  left: -4%;
  width: 108%;
}

/* Traço suave com barriguinha invertida (para cima) em 'pele' (afastado sutilmente para baixo) */
.brush-services-curve {
  bottom: -10px;
  height: 14px;
  left: -4%;
  width: 108%;
}

/* Traço menorzinho com barriguinha invertida (para cima) em 'conversar?' (afastado sutilmente para baixo) */
.brush-contact-curve {
  bottom: -9px;
  height: 14px;
  left: 0;
  width: 62%; /* Menorzinha, sem cobrir toda a palavra extensa como solicitado */
}

/* Tipografia Manuscrita Aconchegante */
.handwritten-text {
  font-family: var(--font-handwriting);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: #3B4B48;
}

/* --------------------------------------------------------
   4. BOTÕES E COMPONENTES DE INTERAÇÃO
   -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(79, 127, 122, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 127, 122, 0.35);
}

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

.btn-hero {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-about {
  background-color: var(--color-white);
  color: var(--color-teal);
  padding: 12px 26px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-about:hover {
  background-color: #F7FAF9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.arrow-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------
   5. CABEÇALHO (SITE HEADER)
   -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logomarca */
.brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-specialty {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: #6C7D79;
  letter-spacing: 0.2em;
  margin-top: 2px;
}

/* Menu de Navegação */
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 6px 2px;
}

.nav-link:hover {
  color: var(--color-text-main);
}

/* Indicador ativo do menu com traço lilás como no mockup */
.nav-link.active {
  color: var(--color-text-main);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--brush-lilac);
  border-radius: var(--radius-pill);
}

/* Botão Mobile Hambúrguer */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: rgba(79, 127, 122, 0.08);
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------
   6. SEÇÃO HERO
   -------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: 44px;
  padding-bottom: 24px;
}

/* --------------------------------------------------------
   ADEREÇOS COLORIDOS ORGÂNICOS NAS LATERAIS
   Estilo vetorial leve (<1KB total, aceleração por GPU, zero peso no Cloudflare)
   -------------------------------------------------------- */
.bg-ornament {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  transition: opacity var(--transition-normal);
  will-change: transform;
}

.ornament-hero-left {
  left: 0;
  top: 36%;
  transform: translateY(-50%);
  animation: ornamentFloatSlow 7s ease-in-out infinite alternate;
}

.ornament-hero-top-left {
  left: 3%;
  top: 10px;
  animation: ornamentDrift 9s ease-in-out infinite alternate;
}

.ornament-hero-right {
  right: 0;
  top: 18%;
  animation: ornamentFloatSlow 8s ease-in-out infinite alternate-reverse;
}

.ornament-services-right {
  right: 0;
  top: 35%;
  animation: ornamentFloatSlow 8.5s ease-in-out infinite alternate;
}

.ornament-contact-left {
  left: 0;
  top: 25%;
  animation: ornamentDrift 7.5s ease-in-out infinite alternate-reverse;
}

@keyframes ornamentFloatSlow {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(2deg);
  }
  100% {
    transform: translateY(4px) rotate(-1.5deg);
  }
}

@keyframes ornamentDrift {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) translateX(4px) rotate(2.5deg);
  }
  100% {
    transform: translateY(3px) translateX(-2px) rotate(-2deg);
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

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

.hero-location-tag {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(235, 242, 241, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-teal);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  border: 1px solid rgba(79, 127, 122, 0.22);
  width: fit-content;
  box-shadow: 0 2px 8px rgba(79, 127, 122, 0.06);
  animation: locationBadgePulse 4s ease-in-out infinite;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.hero-location-tag:hover {
  transform: translateY(-2px);
  background-color: rgba(79, 127, 122, 0.16);
  border-color: rgba(79, 127, 122, 0.35);
  box-shadow: 0 6px 16px rgba(79, 127, 122, 0.14);
}

.hero-location-tag .location-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-teal);
  display: inline-block;
  flex-shrink: 0;
}

.hero-location-tag .location-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--color-teal);
  opacity: 0.8;
  animation: locationDotRadar 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes locationBadgePulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(79, 127, 122, 0.06);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(79, 127, 122, 0.12);
  }
}

@keyframes locationDotRadar {
  0% {
    transform: scale(0.7);
    opacity: 0.95;
  }
  60% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.hero-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.3vw, 3.65rem);
  font-weight: 600;
  line-height: 1.16;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--color-text-muted);
  margin-bottom: 34px;
}

.hero-cta-wrapper {
  margin-bottom: 48px;
}

/* Micro-benefícios */
.hero-benefits {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
}

.benefit-icon {
  display: inline-flex;
  color: var(--color-teal);
}

.benefit-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-main);
}

/* Hero Visual (Foto com Recorte Orgânico e Doodles) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}



/* Moldura Arqueada da Foto Fiel ao Mockup (proporções compactas e orgânicas, foto 100% limpa) */
.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 400px;
  border-radius: 180px 145px 36px 36px / 165px 135px 36px 36px;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(44, 62, 59, 0.12);
  background-color: #EFE9E0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover .hero-image {
  transform: scale(1.03);
}

/* --------------------------------------------------------
   7. SEÇÃO DE SERVIÇOS (NOSSOS SERVIÇOS)
   -------------------------------------------------------- */
.services-section {
  position: relative;
  padding-top: 24px;
  padding-bottom: 64px;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.section-overline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.22;
}

.services-intro {
  max-width: 380px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Grade de 4 Cartões */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 32px 24px 28px;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  min-height: 320px;
}

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

/* Cores específicas dos 4 cartões de acordo com o mockup */
.card-lilac {
  background-color: var(--card-lilac-bg);
}

.card-peach {
  background-color: var(--card-peach-bg);
}

.card-mint {
  background-color: var(--card-mint-bg);
}

.card-rose {
  background-color: var(--card-rose-bg);
}

.card-icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.card-icon {
  width: 48px;
  height: 48px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 14px;
  line-height: 1.25;
}

.card-description {
  font-size: 0.92rem;
  color: #495855;
  line-height: 1.55;
  margin-bottom: 28px;
  flex-grow: 1;
}

/* Botão Redondo com Seta no final do card */
.card-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(44, 59, 56, 0.08);
  color: var(--color-text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  align-self: flex-start;
}

.service-card:hover .card-action-btn {
  background-color: var(--color-teal);
  color: var(--color-white);
  transform: translateX(3px);
}

/* --------------------------------------------------------
   8. SEÇÃO SOBRE A GIULIA (PAINEL VERDE AZULADO)
   -------------------------------------------------------- */
.about-section {
  padding-top: 36px;
  padding-bottom: 72px;
}

.about-card {
  background-color: var(--color-teal);
  border-radius: var(--radius-xl);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.45fr;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.18;
}

.about-paragraph {
  font-size: 1.05rem;
  color: #E2ECE9;
  line-height: 1.68;
  margin-bottom: 36px;
  max-width: 440px;
}

/* Foto com arco orgânico vazado em tom creme */
.about-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo-arch {
  width: 100%;
  max-width: 320px;
  height: 390px;
  background-color: #FBF8F3;
  border-radius: 170px 170px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  position: relative;
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.6s ease;
}

.about-photo-arch:hover .about-photo {
  transform: scale(1.04);
}

/* Anotação Manuscrita à direita no painel Sobre */
.about-handwritten-note {
  display: flex;
  justify-content: center;
  align-items: center;
}

.handwritten-quote {
  font-family: var(--font-handwriting);
  font-size: 1.7rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
  transform: rotate(3deg);
  text-align: center;
}

.handwritten-quote .heart-symbol {
  font-size: 1.9rem;
  display: inline-block;
  margin-top: 4px;
}

/* --------------------------------------------------------
   9. SEÇÃO DE CONTATO ("VAMOS CONVERSAR?")
   -------------------------------------------------------- */
.contact-section {
  position: relative;
  padding-top: 48px;
  padding-bottom: 84px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text-main);
  margin-bottom: 20px;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.contact-channels {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.02rem;
  color: var(--color-text-main);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-teal-light);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-label {
  font-weight: 600;
  color: var(--color-text-main);
}

.contact-value {
  color: var(--color-text-muted);
}

.contact-value a {
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-value a:hover {
  color: var(--color-teal-dark);
}

.status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background-color: rgba(79, 127, 122, 0.12);
  color: var(--color-teal);
}

/* Lado Direito do Contato: Ilustração Artística e Nota Manuscrita */
.contact-doodle-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  position: relative;
}

.contact-pets-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.contact-heart-floating {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  animation: floatHeart 3s ease-in-out infinite;
}

@keyframes floatHeart {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.contact-pets-illustration {
  width: 100%;
  max-width: 310px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(44, 62, 59, 0.04));
  transition: transform var(--transition-normal);
}

.contact-pets-wrap:hover .contact-pets-illustration {
  transform: scale(1.02);
}

.contact-handwritten-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-handwriting);
  font-size: 1.55rem;
  line-height: 1.22;
  color: #384A47;
  transform: rotate(-3deg);
  margin-top: 24px;
}

.contact-arrow-curve {
  margin-bottom: 2px;
  transform: rotate(-5deg);
}

/* --------------------------------------------------------
   10. RODAPÉ (SITE FOOTER)
   -------------------------------------------------------- */
.site-footer {
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 24px 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--color-teal);
}

.back-to-top:hover {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

/* --------------------------------------------------------
   11. MODAL DE AVISO (WHATSAPP PENDENTE)
   -------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(32, 45, 43, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity var(--transition-normal);
}

.modal-backdrop[hidden] {
  display: none;
  opacity: 0;
}

.modal-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  animation: modalPopIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from {
    transform: scale(0.92) translateY(12px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #F1F4F3;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-badge-icon {
  font-size: 1.5rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-text-main);
}

.modal-body {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-instruction {
  margin-top: 14px;
  padding: 12px 14px;
  background-color: var(--color-teal-light);
  border-radius: var(--radius-sm);
  color: var(--color-teal-dark);
  line-height: 1.5;
}

.modal-instruction code {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-family: monospace;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-modal-confirm {
  width: 100%;
}

/* --------------------------------------------------------
   12. RESPONSIVIDADE E ADAPTAÇÃO PARA TABLETS E CELULARES
   -------------------------------------------------------- */

/* Tablets (1024px e abaixo) */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .about-card {
    grid-template-columns: 1.2fr 1fr;
    padding: 44px;
  }

  .about-handwritten-note {
    grid-column: span 2;
    margin-top: 16px;
  }

  .hero-container {
    gap: 36px;
  }

  .hero-image-frame {
    height: 380px;
  }
}

/* Celulares e Telas Pequenas (768px e abaixo) */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  /* Cabeçalho Mobile */
  .mobile-menu-btn {
    display: flex;
  }

  .header-action {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-md);
    padding: 24px;
    display: none;
    animation: slideDown 0.25s ease-out;
  }

  .main-nav.open {
    display: block;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  /* Seção Hero em Coluna Única */
  .hero-section {
    padding-top: 32px;
    padding-bottom: 20px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-benefits {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 8px;
  }

  .hero-image-frame {
    max-width: 100%;
    height: 330px;
    border-radius: 120px 100px 24px 24px;
  }

  /* Adereços nas laterais no mobile */
  .bg-ornament {
    opacity: 0.55;
    transform: scale(0.75);
    z-index: 0;
  }

  .ornament-hero-left {
    z-index: 0;
  }

  .hero-location-tag {
    position: relative;
    z-index: 3;
  }

  .ornament-hero-top-left {
    display: none; /* Mantém o topo limpo no celular */
  }

  /* Serviços em Coluna Única no Celular */
  .services-section {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .service-card {
    min-height: auto;
    padding: 26px 20px;
  }

  /* Sobre a Giulia em Coluna Única */
  .about-section {
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 32px;
    text-align: left;
  }

  .about-photo-arch {
    max-width: 240px;
    height: 300px;
  }

  .about-handwritten-note {
    grid-column: span 1;
  }

  /* Contato em Coluna Única */
  .contact-section {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-doodle-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-pets-illustration {
    max-width: 260px;
  }
}

/* --------------------------------------------------------
   13. ACESSIBILIDADE E PREFERÊNCIAS DE MOVIMENTO
   -------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------
   14. ANIMAÇÕES SUAVES DE ENTRADA AO ROLAR (SCROLL FADE-UP)
   -------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Delays escalonados para sequência graciosa */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
