/* ============================================================
   EDUARDA CARDOSO ESTÉTICA – MAIN STYLESHEET
   ============================================================ */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --primary:    #C4748C;
  --primary-dk: #8B4F6F;
  --primary-lt: #F2D1D8;
  --accent:     #D4A5B5;
  --dark:       #2C1820;
  --body-bg:    #FDFAFA;
  --section-alt: #FDF6F6;
  --text:       #3D2B32;
  --text-light: #7A6068;
  --white:      #FFFFFF;
  --border:     #EEDAD8;
  --shadow:     0 4px 24px rgba(196,116,140,.12);
  --shadow-lg:  0 12px 40px rgba(196,116,140,.20);
  --radius:     14px;
  --radius-sm:  8px;
  --transition: .3s ease;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Lato', system-ui, sans-serif;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

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

a { text-decoration: none; color: inherit; touch-action: manipulation; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, [type="button"], [type="submit"] { touch-action: manipulation; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--primary); }

.section-desc {
  max-width: 560px;
  color: var(--text-light);
  font-size: 1rem;
}

.section-header { margin-bottom: 3rem; }
.section-header .section-desc { margin: 0 auto; }

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

/* ---------- LAYOUT ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; }
.section-alt { background: var(--section-alt); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: .02em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dk);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--primary-lt);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 2rem;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.3); }

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 0 1.25rem;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(196,116,140,.15);
  padding: calc(.8rem + env(safe-area-inset-top, 0px)) 0 .8rem;
}

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

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

.nav-logo-img {
  height: 60px;
  max-height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(196,116,140,.25));
  transition: filter .2s;
}
.nav-logo-img:hover { filter: drop-shadow(0 2px 10px rgba(196,116,140,.45)); }


.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  padding: .5rem 1rem;
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  border-radius: 50px;
  transition: all var(--transition);
  letter-spacing: .02em;
}
.navbar.scrolled .nav-link { color: var(--text); }
.nav-link:hover { background: rgba(196,116,140,.12); color: var(--primary); }
.navbar:not(.scrolled) .nav-link:hover { background: rgba(255,255,255,.15); color: #fff; }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: .5rem 1.2rem;
}
.nav-cta:hover { background: var(--primary-dk) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, background var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.open span { background: var(--dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(44,24,32,.75) 0%, rgba(139,79,111,.55) 100%),
    url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(196,116,140,.3) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem 1.5rem;
}

.hero-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.hero-title em { font-style: italic; color: var(--primary-lt); }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}


.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.sobre-img-placeholder {
  background: linear-gradient(135deg, var(--primary-lt), var(--section-alt));
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border-radius: var(--radius);
  border: 2px dashed var(--primary-lt);
}
.sobre-img-placeholder i { font-size: 5rem; margin-bottom: 1rem; opacity: .4; }
.sobre-img-placeholder span { font-size: .85rem; opacity: .6; }

.sobre-img-badge {
  position: absolute;
  bottom: 1.5rem; right: -1rem;
  background: var(--white);
  color: var(--primary-dk);
  padding: .75rem 1.25rem;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 700;
}
.sobre-img-badge i { color: var(--primary); }

.sobre-content .section-title { margin-bottom: 1.25rem; }
.sobre-text { color: var(--text-light); margin-bottom: 1rem; }

.sobre-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.75rem 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text);
}
.feature-item i { color: var(--primary); font-size: .9rem; flex-shrink: 0; }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.servico-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}
.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lt);
}

.servico-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary-lt), rgba(196,116,140,.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--primary);
}

.servico-titulo {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: .6rem;
}

.servico-desc {
  color: var(--text-light);
  font-size: .92rem;
  flex: 1;
  margin-bottom: 1.5rem;
}

.servico-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.servico-preco {
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary-dk);
}

.servico-btn {
  background: var(--primary);
  color: #fff;
  padding: .4rem .9rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  transition: all var(--transition);
}
.servico-btn:hover { background: var(--primary-dk); }

/* ============================================================
   GALERIA
   ============================================================ */
.galeria-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 50px;
  border: 2px solid var(--primary-lt);
  background: transparent;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.galeria-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  transition: all var(--transition);
}
.galeria-item.hidden { display: none; }
.galeria-item > img { width: 100%; height: 100%; object-fit: cover; display: block; }

.galeria-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary-lt) 0%, var(--section-alt) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--primary);
}
.galeria-placeholder i { font-size: 2.5rem; opacity: .4; }
.galeria-placeholder span { font-size: .8rem; opacity: .6; font-weight: 700; text-align: center; padding: 0 .5rem; }

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,79,111,.8), rgba(44,24,32,.7));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition);
  font-weight: 700;
  font-size: .9rem;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }
.galeria-item:hover { transform: scale(1.02); }

.galeria-cta { margin-top: 1rem; }
.galeria-cta p { color: var(--text-light); margin-bottom: .75rem; }
.galeria-cta .btn-outline { border-color: var(--primary); color: var(--primary); }
.galeria-cta .btn-outline:hover { background: var(--primary); color: #fff; }

/* ============================================================
   ANTES E DEPOIS
   ============================================================ */
/* Carrossel wrapper */
.ad-carousel-outer {
  position: relative;
}

.ad-carousel-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.ad-carousel-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.ad-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.ad-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ── Comparison Slider ── */
.ad-compare {
  position: relative;
  overflow: hidden;
  height: 390px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ad-compare-layer {
  position: absolute;
  inset: 0;
}
.ad-compare-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
}
.ad-compare-antes {
  clip-path: inset(0 50% 0 0);
}

/* Handle line + drag button */
.ad-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(255,255,255,.92);
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-compare-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 20px rgba(0,0,0,.22);
  pointer-events: auto;
  cursor: ew-resize;
  flex-shrink: 0;
  transition: transform .15s, box-shadow .15s;
}
.ad-compare-btn:hover { transform: scale(1.12); box-shadow: 0 4px 24px rgba(0,0,0,.28); }

/* Antes / Depois labels */
.ad-badge {
  position: absolute;
  top: .8rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .22rem .7rem;
  border-radius: 50px;
  z-index: 15;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ad-badge-antes  { left: .8rem;  background: rgba(44,24,32,.72); color: #fff; }
.ad-badge-depois { right: .8rem; background: var(--primary);     color: #fff; }

/* Caption gradient at bottom */
.ad-compare-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 1.25rem .9rem;
  background: linear-gradient(to top, rgba(28,12,18,.85) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
  z-index: 16;
  pointer-events: none;
}
.ad-caption-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: rgba(255,255,255,.13);
  color: rgba(255,255,255,.9);
  padding: .22rem .75rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.2);
  white-space: nowrap;
  flex-shrink: 0;
}
.ad-caption-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
  line-height: 1.3;
}

/* Arrows — absolute over the track */
.ad-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  z-index: 10;
}
.ad-arrow-prev { left: .75rem; }
.ad-arrow-next { right: .75rem; }
.ad-arrow:hover { background: var(--primary); color: #fff; transform: translateY(-50%) scale(1.08); }
.ad-arrow:disabled { opacity: .35; pointer-events: none; }

/* Dots */
.ad-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}
.ad-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary-lt);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}
.ad-dot.active { background: var(--primary); transform: scale(1.3); }

/* Desktop: grade lado a lado, sem setas/carrossel */
@media (min-width: 641px) {
  .ad-carousel-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
  .ad-slide { flex: unset; min-width: unset; }
  .ad-carousel-track-wrap { overflow: visible; border-radius: 0; }
  #adPrev, #adNext, .ad-dots { display: none !important; }
  .ad-compare { height: 340px; cursor: ew-resize; }
}

@media (max-width: 640px) {
  .ad-arrow { width: 34px; height: 34px; font-size: .8rem; }
  .ad-arrow-prev { left: .4rem; }
  .ad-arrow-next { right: .4rem; }
  .ad-compare { height: 260px; }
  .ad-compare-btn { width: 38px; height: 38px; font-size: .85rem; }
  .ad-caption-title { font-size: .9rem; }
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.diferencial { padding: 1.5rem; }
.diferencial-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto 1.25rem;
}
.diferencial h4 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--dark); }
.diferencial p { font-size: .9rem; color: var(--text-light); }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.depoimento-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}
.depoimento-card:hover { transform: translateY(-4px); }
.depoimento-texto { flex: 1; }

.depoimento-stars { color: #F59E0B; font-size: .85rem; margin-bottom: .75rem; display: flex; gap: .15rem; }

.depoimento-texto {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.depoimento-autor {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.depoimento-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.depoimento-autor strong { display: block; font-size: .95rem; color: var(--dark); }
.depoimento-autor span { font-size: .8rem; color: var(--primary); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dk) 0%, #5C2B46 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  margin-bottom: 1rem;
}
.cta-content h2 em { font-style: italic; color: var(--primary-lt); }
.cta-content p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }

/* ============================================================
   CONTATO
   ============================================================ */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.info-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary-lt), rgba(196,116,140,.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.info-item h4 { font-size: .9rem; color: var(--dark); margin-bottom: .2rem; }
.info-item a, .info-item span { font-size: .9rem; color: var(--text-light); }
.info-item a:hover { color: var(--primary); }

/* Form */
.contato-form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contato-form h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1.75rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }

.form-group label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--body-bg);
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-errors {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  margin-bottom: 1rem;
}
.form-errors p { font-size: .85rem; color: #dc2626; display: flex; align-items: center; gap: .4rem; }

.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--text-light);
  margin-top: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
}

/* Flash */
.flash-success {
  position: fixed;
  top: 5rem; right: 1.5rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  max-width: 400px;
  font-size: .9rem;
}
.flash-success button {
  background: none; border: none; cursor: pointer;
  color: #166534; margin-left: auto; font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding-top: 4rem;
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(196,116,140,.4));
}

.footer-desc { font-size: .88rem; line-height: 1.7; margin-bottom: 1.25rem; }

.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.footer-links ul li,
.footer-services ul li { margin-bottom: .5rem; font-size: .88rem; }
.footer-links ul a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-links ul a:hover { color: var(--primary-lt); }
.footer-services ul li { color: rgba(255,255,255,.5); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: .88rem;
}
.footer-contact-item i { color: var(--primary); margin-top: .15rem; width: 16px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--primary-lt); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-dev { margin-top: .4rem; font-size: .75rem; color: rgba(255,255,255,.22); }
.footer-dev a { color: rgba(255,255,255,.38); text-decoration: none; transition: color var(--transition); }
.footer-dev a:hover { color: var(--primary-lt); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-inner {
  max-width: 520px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transform: scale(.88);
  transition: transform .3s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.lightbox.open .lightbox-inner { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: .75rem; right: .75rem;
  width: 36px; height: 36px;
  background: rgba(0,0,0,.45);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--primary); }

.lightbox-preview {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary-lt) 0%, var(--section-alt) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}
.lightbox-preview i { font-size: 5rem; opacity: .35; }
#lb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.lightbox-caption {
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.lightbox-caption h4 { font-size: 1.15rem; color: var(--dark); margin-bottom: .35rem; }
.lightbox-caption span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-lt);
  padding: .2rem .65rem;
  border-radius: 50px;
}

/* ============================================================
   FLOAT BUTTONS
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  z-index: 900;
  transition: all var(--transition);
  animation: pulse-wpp 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); background: #1ebe5a; }

@keyframes pulse-wpp {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,.7); }
}

.back-to-top {
  position: fixed;
  bottom: 5.5rem; right: 2rem;
  width: 42px; height: 42px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--primary-dk); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-image { max-width: 460px; margin: 0 auto; }
  .sobre-img-badge { right: 1rem; bottom: 1rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(5rem + env(safe-area-inset-top, 0px)) 2rem calc(2rem + env(safe-area-inset-bottom, 0px)) calc(2rem + env(safe-area-inset-right, 0px));
    box-shadow: -4px 0 20px rgba(0,0,0,.1);
    transition: right var(--transition);
    gap: .25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { right: 0; }
  .nav-link { color: var(--text) !important; width: 100%; padding: .75rem 1rem; }
  .nav-toggle { display: flex; }

  .nav-logo-img { height: 44px; max-height: 44px; max-width: 140px; }

  .footer-container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-contact-item { justify-content: center; text-align: left; max-width: 220px; margin-left: auto; margin-right: auto; }
  .footer-links ul li, .footer-services ul li { text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .sobre-features { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .hero-actions { flex-direction: column; align-items: center; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .contato-form-wrapper { padding: 1.5rem; }
}
