/* =============================================
   OLHAR — FOTOGRAFIA EM SINTRA
   Sistema de Design · Silent Luxury
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Montserrat:wght@300;400;500&display=swap');

/* ─── Design Tokens ─────────────────────────── */
:root {
  /* Paleta */
  --clr-bg:           #F9F8F5;
  --clr-bg-alt:       #F2F0EB;
  --clr-text:         #2C302E;
  --clr-text-muted:   #8A8D8B;
  --clr-text-light:   #B4B7B5;
  --clr-accent:       #8C7B5E;   /* Bronze mate profundo */
  --clr-accent-soft:  #B5A48C;
  --clr-accent-dark:  #6A5C47;
  --clr-border:       #E4E2DC;
  --clr-border-light: #EDEBE6;
  --clr-nav-scroll:   rgba(249, 248, 245, 0.97);
  --clr-overlay:      rgba(44, 48, 46, 0.45);

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans:  'Montserrat', 'Inter', sans-serif;

  /* Escala tipográfica */
  --fs-xs:   0.6875rem;  /* 11px */
  --fs-sm:   0.8125rem;  /* 13px */
  --fs-base: 1rem;       /* 16px */
  --fs-md:   1.125rem;   /* 18px */
  --fs-lg:   1.375rem;   /* 22px */
  --fs-xl:   1.875rem;   /* 30px */
  --fs-2xl:  2.5rem;     /* 40px */
  --fs-hero: clamp(3.25rem, 7vw, 6.5rem);

  /* Espacamento */
  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   2rem;
  --sp-lg:   4rem;
  --sp-xl:   7rem;
  --sp-2xl:  11rem;

  /* Transitions */
  --ease-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-base:   300ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow:   600ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-reveal: 800ms cubic-bezier(0.16, 1, 0.3, 1);
}


/* ─── Reset & Base ──────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: none;
}

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

ul { list-style: none; padding-left: 0; }


/* ─── Cursor Customizado ────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity var(--ease-base);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background-color: var(--clr-accent);
  border-radius: 50%;
  transition: transform var(--ease-fast), opacity var(--ease-base);
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 0.75px solid var(--clr-accent);
  border-radius: 50%;
  transition: transform 120ms ease, width var(--ease-base), height var(--ease-base), border-color var(--ease-base), opacity var(--ease-base);
}

.cursor-ring.is-hovering {
  width: 52px;
  height: 52px;
  border-color: var(--clr-accent-soft);
}

.cursor-dot.is-hovering {
  transform: translate(-50%, -50%) scale(0);
}

body:not(:hover) .cursor-dot,
body:not(:hover) .cursor-ring {
  opacity: 0;
}


/* ─── Tipografia Global ─────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}


/* ─── Utilitários ───────────────────────────── */
.section-padding {
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}

.border-top-thin {
  border-top: var(--border-thin, 0.5px solid var(--clr-border));
}

.text-accent { color: var(--clr-accent); }
.text-muted  { color: var(--clr-text-muted); }


/* ─── Reveal Animation ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--ease-reveal), transform var(--ease-reveal);
}

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

.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }
.reveal-delay-4 { transition-delay: 480ms; }




/* ─── Navbar ────────────────────────────────── */
#navbar {
  padding-top: calc(1.25rem + 5px);
  padding-bottom: calc(1.25rem + 5px);
  background-color: transparent;
  border-bottom: none;
  transition: background-color var(--ease-slow),
              border-bottom-color var(--ease-slow),
              backdrop-filter var(--ease-slow);
}

#navbar.scrolled {
  background-color: var(--clr-nav-scroll);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--clr-border) !important;
  /* padding igual ao estado transparente — tamanho fixo sempre */
}

/* Navbar transparente (sobre hero escuro) — texto a branco */
#navbar:not(.scrolled) .nav-brand          { color: #fff !important; }
#navbar:not(.scrolled) .olhar-link         { color: rgba(255,255,255,0.85) !important; }
#navbar:not(.scrolled) .olhar-link:hover,
#navbar:not(.scrolled) .olhar-link.active  { color: #fff !important; }
#navbar:not(.scrolled) .nav-toggler-custom span { background-color: #fff; }

.nav-brand {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--clr-text) !important;
  padding: 0;
  line-height: 1;
  transition: color var(--ease-slow);
}

.olhar-link {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-text) !important;
  padding: 0.25rem 0 !important;
  position: relative;
  transition: color var(--ease-slow);
}

.olhar-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 0.5px;
  background-color: var(--clr-accent);
  transition: width var(--ease-base);
}

.olhar-link:hover,
.olhar-link.active { color: var(--clr-accent) !important; }
.olhar-link:hover::after,
.olhar-link.active::after { width: 100%; }

/* Toggler: três linhas finas, sem ícone Bootstrap */
.nav-toggler-custom {
  border: none;
  background: none;
  box-shadow: none !important;
  padding: 4px;
  cursor: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggler-custom span {
  display: block;
  width: 22px;
  height: 0.5px;
  background-color: var(--clr-text);
  transition: transform var(--ease-base), opacity var(--ease-base);
}

.nav-toggler-custom[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggler-custom[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggler-custom[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ─── Menu Mobile — overlay full-screen ────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--clr-bg);
  z-index: 1029; /* abaixo da navbar (Bootstrap fixed-top = 1030) */
  padding: 5.5rem var(--sp-md) var(--sp-lg);
  flex-direction: column;
  gap: 0;
  transform: translateY(-100%);
  transition: transform 550ms cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu-link {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--clr-text);
  border-bottom: 0.5px solid var(--clr-border);
  padding: 1.125rem 0;
  transition: color var(--ease-base);
  cursor: none;
}

.mobile-menu-link:hover    { color: var(--clr-accent); }
.mobile-menu-link:last-child { border-bottom: none; }

@media (max-width: 991.98px) {
  .mobile-menu       { display: flex; }
  .olhar-link::after { display: none; }
}


/* ─── Hero ───────────────────────────────────── */
.hero-wrap {
  position: relative;
  height: 100svh;
  background-color: #1a1c1a;
}

/* Altura explícita em todos os níveis do carousel — evita stacking de items floatados */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  height: 100%;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85);
}

/* Overlay e conteúdo absolutos sobre o carousel */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 22, 20, 0.28) 0%,
    rgba(20, 22, 20, 0.50) 50%,
    rgba(20, 22, 20, 0.68) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--sp-md);
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-slow) 0.3s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 820px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-slow) 0.6s forwards;
}

.hero-title em { font-style: italic; color: var(--clr-accent-soft); }

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
  margin: 0 auto 3rem;
  line-height: 1.9;
  opacity: 0;
  animation: fadeUp 1s var(--ease-slow) 0.9s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  opacity: 0;
  animation: fadeUp 1s var(--ease-slow) 1.2s forwards;
}

.btn-ghost-light {
  color: #fff;
  border-color: rgba(255,255,255,0.60);
}
.btn-ghost-light::before { background-color: #fff; }
.btn-ghost-light:hover    { color: var(--clr-text); }


/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 2.2s forwards;
}

.hero-scroll-indicator span {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
}

.scroll-line {
  width: 0.5px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.50), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* Botões prev / next do carousel */
.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: none;
  border: 0.75px solid rgba(255,255,255,0.40);
  color: rgba(255,255,255,0.80);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease-base), color var(--ease-base), background-color var(--ease-base);
  cursor: none;
}

.hero-carousel-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-carousel-btn:hover {
  border-color: rgba(255,255,255,0.90);
  color: #fff;
  background-color: rgba(255,255,255,0.08);
}

.hero-carousel-prev { left: 2rem; }
.hero-carousel-next { right: 2rem; }

@media (max-width: 576px) {
  .hero-carousel-prev { left: 1rem; }
  .hero-carousel-next { right: 1rem; }
  .hero-carousel-btn  { width: 38px; height: 38px; }
  .hero-actions { flex-direction: column; }
}

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

@keyframes fadeIn {
  to { opacity: 1; }
}


/* ─── Botões Ghost ──────────────────────────── */
/* Reset total dos botões Bootstrap */
.btn { all: unset; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text);
  border: 0.75px solid var(--clr-text);
  padding: 0.875rem 2rem;
  position: relative;
  overflow: hidden;
  transition: color var(--ease-base), border-color var(--ease-base);
  cursor: none;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--clr-text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease-base);
  z-index: 0;
}

.btn-ghost:hover { color: var(--clr-bg); border-color: var(--clr-text); }
.btn-ghost:hover::before { transform: scaleX(1); }
.btn-ghost span { position: relative; z-index: 1; }

.btn-ghost-accent {
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}

.btn-ghost-accent::before { background-color: var(--clr-accent); }
.btn-ghost-accent:hover { color: var(--clr-bg); }


/* ─── Secção Sobre ──────────────────────────── */
.about {
  background-color: var(--clr-bg);
}

.about-text-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--clr-text);
  letter-spacing: -0.01em;
}

.about-text-body {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--clr-text-muted);
  line-height: 1.9;
  max-width: 42ch;
}

.about-divider {
  width: 40px;
  height: 0.5px;
  background-color: var(--clr-accent);
  margin: var(--sp-md) 0;
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
}

.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: var(--sp-md);
  border: 0.5px solid var(--clr-border);
  z-index: 1;
  pointer-events: none;
}

.about-image-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform var(--ease-slow);
  filter: saturate(0.9) contrast(1.02);
}

.about-image-wrap:hover img {
  transform: scale(1.03);
}

.about-stat {
  border-top: 0.5px solid var(--clr-border);
  padding-top: var(--sp-md);
}

.about-stat-number {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  font-weight: 300;
  color: var(--clr-text);
  line-height: 1;
}

.about-stat-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-top: 0.25rem;
}


/* ─── Secção Serviços ───────────────────────── */
.services {
  background-color: var(--clr-bg-alt);
  border-top: 0.5px solid var(--clr-border);
  border-bottom: 0.5px solid var(--clr-border);
}

.services-header {
  margin-bottom: var(--sp-lg);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: italic;
  color: var(--clr-accent);
}

.service-card {
  padding: var(--sp-lg) 0;
  border-top: 0.5px solid var(--clr-border);
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: start;
  gap: var(--sp-md);
  transition: border-color var(--ease-base);
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.5px;
  background-color: var(--clr-accent);
  transition: width var(--ease-slow);
}

.service-card:hover::after { width: 100%; }

.service-index {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--clr-text-light);
  padding-top: 0.35rem;
}

.service-name {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--clr-text);
  letter-spacing: -0.01em;
  transition: color var(--ease-base);
}

.service-desc {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-top: 0.5rem;
  max-width: 48ch;
}

.service-card:hover .service-name { color: var(--clr-accent); }

.service-arrow {
  width: 20px;
  height: 20px;
  color: var(--clr-text-light);
  transition: transform var(--ease-base), color var(--ease-base);
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.service-card:hover .service-arrow {
  transform: translate(4px, -4px);
  color: var(--clr-accent);
}


/* ─── Galeria ───────────────────────────────── */
.gallery {
  background-color: var(--clr-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1px;
  background-color: var(--clr-border-light);
}

.gallery-item {
  overflow: hidden;
  background-color: var(--clr-bg);
  position: relative;
}

.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 5; }
.gallery-item:nth-child(3) { grid-column: span 5; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 4; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1),
              filter var(--ease-slow);
  filter: saturate(0.85);
}

.gallery-item:nth-child(1) img { aspect-ratio: auto; min-height: 100%; }

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: var(--clr-overlay);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--ease-base);
}

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

.gallery-overlay-text {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 300;
  color: var(--clr-bg);
  font-style: italic;
  letter-spacing: 0.04em;
}

/* Placeholder para imagens ausentes */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-color: var(--clr-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-placeholder svg {
  width: 24px;
  height: 24px;
  color: var(--clr-border);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
}


/* ─── Secção Contacto / CTA ─────────────────── */
.contact-cta {
  background-color: var(--clr-bg-alt);
  border-top: 0.5px solid var(--clr-border);
  text-align: center;
}

.contact-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
}

.contact-cta-title em {
  font-style: italic;
  color: var(--clr-accent);
}

.contact-cta-sub {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--clr-text-muted);
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-lg);
}

.contact-email {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--clr-text);
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.contact-email::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.5px;
  background-color: var(--clr-accent);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--ease-base);
}

.contact-email:hover::after { transform: scaleX(1); }


/* ─── Footer ────────────────────────────────── */
footer {
  background-color: var(--clr-bg);
  border-top: 0.5px solid var(--clr-border);
  padding: var(--sp-lg) 0 var(--sp-md);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--clr-text);
}

.footer-tagline {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-top: 0.375rem;
}

.footer-address {
  font-size: var(--fs-xs);
  font-weight: 300;
  color: var(--clr-text-muted);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: var(--sp-md);
  justify-self: center;
}

.footer-link {
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  transition: color var(--ease-base);
}

.footer-link:hover { color: var(--clr-accent); }

.footer-bottom {
  border-top: 0.5px solid var(--clr-border-light);
  margin-top: var(--sp-lg);
  padding-top: var(--sp-md);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-sm);
}

.footer-copy {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  letter-spacing: 0.08em;
  justify-self: start;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: var(--sp-md);
  justify-self: end;
}

.footer-social a {
  color: var(--clr-text-muted);
  transition: color var(--ease-base);
}

.footer-social a:hover { color: var(--clr-accent); }
.footer-social svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.25;
}


/* ─── Responsividade ────────────────────────── */
@media (max-width: 992px) {
  :root {
    --sp-xl: 5rem;
  }

  .service-card {
    grid-template-columns: 2rem 1fr;
  }

  .service-arrow { display: none; }
}

@media (max-width: 576px) {
  :root {
    --sp-xl: 4rem;
    --sp-lg: 3rem;
  }

  .hero-actions { flex-direction: column; gap: var(--sp-sm); }
  /* Footer — centrar tudo em mobile */
  footer .row > [class*="col"] {
    text-align: center;
  }

  footer .row .footer-address,
  footer .row address {
    text-align: center;
  }

  footer nav ul {
    align-items: center;
  }

  footer .label {
    text-align: center;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: var(--sp-md);
  }

  .footer-copy   { justify-self: center; }
  .footer-links  { justify-self: center; justify-content: center; flex-wrap: wrap; }
  .footer-social { justify-self: center; }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-index { display: none; }
}


/* ─── Scroll to Top ─────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 44px;
  height: 44px;
  background-color: var(--clr-bg);
  border: 0.75px solid var(--clr-border);
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--ease-base),
              transform var(--ease-base),
              border-color var(--ease-base),
              color var(--ease-base);
  pointer-events: none;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.scroll-top svg {
  width: 16px;
  height: 16px;
}


/* ─── Selection ─────────────────────────────── */
::selection {
  background-color: var(--clr-accent);
  color: var(--clr-bg);
}

/* ─── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-accent-soft); }
