/* ============================================================
   VARIÁVEIS
   ============================================================ */
:root {
  --menta:       #A8C5B0;
  --menta-dark:  #7fa98a;
  --menta-light: #c8dece;
  --cru:         #F5F0E8;
  --bege:        #EDE8DC;
  --bege-dark:   #d5cfc2;
  --texto:       #2c2c2c;
  --texto-leve:  #5a5a5a;
  --branco:      #ffffff;
  --sombra-sm:   0 1px 4px rgba(0,0,0,.08);
  --sombra:      0 2px 8px rgba(0,0,0,.10);
  --radius:      8px;
  --trans:       .22s ease;
  --font:        'Nunito', Arial, Helvetica, sans-serif;
  --header-h:    64px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font); color: var(--texto); background: var(--cru); line-height: 1.7; }
img   { display: block; max-width: 100%; height: auto; }
ul    { list-style: none; }
a     { text-decoration: none; color: inherit; }
address { font-style: normal; }

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */
.skip-link {
  position: absolute;
  top: -120%;
  left: 16px;
  background: var(--menta-dark);
  color: var(--branco);
  padding: 10px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  font-size: 16px;
  z-index: 9999;
  transition: top var(--trans);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--menta-dark);
  outline-offset: 3px;
}

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1 { font-size: clamp(26px, 5vw, 42px); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(18px, 2.5vw, 22px); font-weight: 700; line-height: 1.35; }
p  { font-size: 16px; }

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}
.section h2 {
  text-align: center;
  margin-bottom: 12px;
  color: var(--texto);
}
.section-lead,
.espaco-desc,
.resultados-texto {
  text-align: center;
  color: var(--texto-leve);
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto 40px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--menta);
  color: var(--texto);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--menta-dark);
  color: var(--branco);
  box-shadow: 0 4px 12px rgba(127,169,138,.35);
}

.btn-lg {
  font-size: 18px;
  padding: 14px 36px;
  min-height: 56px;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--branco);
  box-shadow: var(--sombra);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  gap: 16px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
  gap: 1px;
}
.logo-nome {
  font-size: 22px;
  font-weight: 700;
  color: var(--menta-dark);
  letter-spacing: -.4px;
}
.logo-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--texto-leve);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

#main-nav { flex: 1; }

#nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
#nav-list a {
  font-size: 16px;
  font-weight: 700;
  color: var(--texto);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background var(--trans), color var(--trans);
}
#nav-list a:hover,
#nav-list a:focus-visible {
  background: var(--bege);
  color: var(--menta-dark);
}

.header-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 998;
  cursor: pointer;
}
.nav-overlay.active { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 72px;
  background: linear-gradient(135deg, var(--cru) 60%, var(--bege) 100%);
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.hero-image {
  width: 100%;
  max-width: 340px;
  order: 1;
}
.hero-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 120px 120px 40px 40px;
  box-shadow: var(--sombra);
  margin: 0 auto;
}

.hero-content {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-content h1 {
  color: var(--texto);
  max-width: 600px;
}
.hero-sub {
  font-size: 18px;
  color: var(--texto-leve);
  max-width: 480px;
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre { background: var(--branco); }

.sobre-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}
.sobre-foto img {
  width: 100%;
  max-width: 360px;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  margin: 0 auto;
}
.sobre-texto {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sobre-texto p { color: var(--texto-leve); }

.sobre-video {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.sobre-video video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  background: var(--bege);
}
.video-fallback {
  text-align: center;
  padding: 24px;
  color: var(--texto-leve);
  background: var(--bege);
  border-radius: var(--radius);
  border: 1px solid var(--bege-dark);
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.servicos { background: var(--cru); }

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}

.card-servico {
  background: var(--branco);
  border-radius: var(--radius);
  box-shadow: var(--sombra-sm);
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
  border: 1px solid var(--bege-dark);
}
.card-servico:hover {
  box-shadow: var(--sombra);
  transform: translateY(-3px);
}

.card-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bege);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card-servico:hover .card-img-wrap img { transform: scale(1.04); }

.card-body {
  padding: 20px 24px 24px;
}
.card-body h3 {
  margin-bottom: 8px;
  color: var(--texto);
}
.card-body p {
  color: var(--texto-leve);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   ESPAÇO / GALERIA
   ============================================================ */
.espaco { background: var(--bege); }

.galeria {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}

.galeria-item {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra-sm);
  transition: box-shadow var(--trans), transform var(--trans);
  aspect-ratio: 4/3;
  width: 100%;
}
.galeria-item:hover,
.galeria-item:focus-visible {
  box-shadow: var(--sombra);
  transform: scale(1.02);
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.85);
  cursor: pointer;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
  display: block;
}
.lightbox-caption {
  color: #eee;
  font-size: 15px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--branco);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans);
}
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255,255,255,.3);
}

/* ============================================================
   RESULTADOS
   ============================================================ */
.resultados { background: var(--branco); }

.resultados-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px auto 40px;
  max-width: 860px;
  align-items: stretch;
}

.resultado-item {
  position: relative;
  background: var(--bege);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  border: 1px solid var(--bege-dark);
  display: flex;
  flex-direction: column;
}

/* Imagem ocupa toda a área com altura uniforme */
.resultado-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  display: block;
  flex: 1;
}

/* Badge flutuante Antes / Depois */
.resultado-item figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--menta);
  color: var(--texto);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  line-height: 1;
}

/* Badge "Depois" com cor diferenciada */
.resultado-item:last-child figcaption {
  background: var(--menta-dark);
  color: var(--branco);
}

/* Divisor central entre as imagens */
.resultados-grid::before {
  display: none; /* reservado para pseudo-elemento se necessário */
}

.resultados-cta {
  text-align: center;
}

/* Mobile: empilha verticalmente */
@media (max-width: 540px) {
  .resultados-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .resultado-item img {
    height: 300px;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--cru); }

.faq-list {
  max-width: 760px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--branco);
  border: 1px solid var(--bege-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: var(--texto);
  cursor: pointer;
  text-align: left;
  min-height: 44px;
  transition: background var(--trans);
}
.faq-question:hover,
.faq-question:focus-visible {
  background: var(--bege);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--menta-dark);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.faq-icon::before { width: 2px; height: 12px; top: 4px; left: 9px; }
.faq-icon::after  { width: 12px; height: 2px; top: 9px; left: 4px; }

.faq-question[aria-expanded="true"] .faq-icon::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--texto-leve);
  font-size: 16px;
  line-height: 1.7;
  border-top: 1px solid var(--bege-dark);
}
.faq-answer[hidden] { display: none; }

.faq-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.faq-cta p {
  font-size: 17px;
  color: var(--texto-leve);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--texto);
  color: #e0e0e0;
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-bloco h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 12px;
}
.footer-bloco p,
.footer-bloco address p {
  font-size: 15px;
  color: #c0c0c0;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--menta-light);
  padding: 6px 0;
  min-height: 44px;
  transition: color var(--trans);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--branco);
}

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
}
.footer-copy p {
  font-size: 14px;
  color: #888;
}

.footer-mapa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--menta-light);
  transition: color var(--trans);
  min-height: 44px;
}
.footer-mapa-link:hover,
.footer-mapa-link:focus-visible {
  color: var(--branco);
}

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform var(--trans), box-shadow var(--trans);
}
.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,.55);
}
.whatsapp-fab svg { flex-shrink: 0; }

.fab-tooltip {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: rgba(0,0,0,.75);
  color: var(--branco);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--trans), transform var(--trans);
}
.fab-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-width: 0;
  border-left-color: rgba(0,0,0,.75);
}
.whatsapp-fab:hover .fab-tooltip,
.whatsapp-fab:focus-visible .fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVO — TABLET (≥ 600px)
   ============================================================ */
@media (min-width: 600px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resultados-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVO — DESKTOP (≥ 769px)
   ============================================================ */
@media (min-width: 769px) {

  /* Hero */
  .hero-inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
  }
  .hero-image {
    order: 2;
    max-width: 420px;
    flex-shrink: 0;
  }
  .hero-image img {
    height: 520px;
  }
  .hero-content {
    order: 1;
    align-items: flex-start;
    flex: 1;
  }

  /* Sobre */
  .sobre-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }
  .sobre-foto {
    flex-shrink: 0;
    width: 320px;
  }
  .sobre-foto img {
    width: 100%;
    max-width: none;
    height: 420px;
  }
  .sobre-texto { flex: 1; }

  /* Galeria */
  .galeria {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   RESPONSIVO — WIDE DESKTOP (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

/* ============================================================
   MOBILE — menu overlay (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  .hamburger { display: flex; }
  .header-cta { display: none; }

  #main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 80%;
    max-width: 320px;
    height: calc(100dvh - var(--header-h));
    background: var(--branco);
    box-shadow: 4px 0 16px rgba(0,0,0,.12);
    z-index: 999;
    transform: translateX(-110%);
    transition: transform .3s ease;
    overflow-y: auto;
    padding: 24px 16px;
  }
  #main-nav.open {
    transform: translateX(0);
  }

  #nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  #nav-list li a {
    display: block;
    padding: 14px 20px;
    font-size: 18px;
    border-radius: var(--radius);
    min-height: 52px;
  }

  /* Nav mobile: botão agendar ao fundo */
  #main-nav::after {
    content: '';
    display: block;
    height: 24px;
  }

  .btn { min-height: 48px; }
  .btn-lg { min-height: 56px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }

  .faq-question { font-size: 16px; }

  .whatsapp-fab {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 16px;
  }
}
