/* =====================================================
   HORSE GARAGE — style.css
   Mobile-first | Preto + Dourado + Prata
   ===================================================== */

/* ─── 1. VARIÁVEIS E RESET ─── */
:root {
  --gold:          #c9a84c;
  --gold-light:    #e2c06e;
  --gold-dark:     #9a7a2e;
  --gold-glow:     rgba(201, 168, 76, 0.25);
  --black:         #0a0a0a;
  --black-soft:    #111111;
  --black-card:    #161616;
  --black-border:  #1e1e1e;
  --white:         #ffffff;
  --gray-light:    #c8c8c8;
  --gray-mid:      #888888;
  --gray-dark:     #3a3a3a;

  --font-base:     'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display:  'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;

  --header-h:      90px;
  --transition:    0.3s ease;
  --transition-slow: 0.5s ease;

  --shadow-gold:   0 0 20px rgba(201, 168, 76, 0.15);
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ─── 2. CONTAINER ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ─── 3. TIPOGRAFIA UTILITÁRIA ─── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--gray-light);
  font-size: 0.95rem;
  max-width: 560px;
}

.section-header {
  margin-bottom: 2.5rem;
}

/* ─── 4. BOTÕES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Tamanhos */
.btn--sm  { padding: 0.5rem 1rem;  font-size: 0.8rem; }
.btn--lg  { padding: 0.9rem 1.75rem; font-size: 0.95rem; }
.btn--full{ width: 100%; }

/* Variante dourada */
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 18px var(--gold-glow);
  transform: translateY(-1px);
}
.btn--gold:active { transform: translateY(0); }

/* Variante outline */
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--gray-dark);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Variante ghost (cards) */
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
  font-size: 0.78rem;
  padding: 0.45rem 0.9rem;
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--gold-glow);
  border-color: var(--gold);
}

/* Botão WhatsApp header — pill outline verde */
.btn--wpp {
  background: transparent;
  color: #25d366;
  border: 1.5px solid #25d366;
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  gap: 0.35rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn--wpp .icon-wpp { width: 17px; height: 17px; flex-shrink: 0; }
.btn--wpp:hover,
.btn--wpp:focus-visible {
  background: rgba(37,211,102,0.12);
  border-color: #1ebe5b;
  color: #1ebe5b;
  transform: translateY(-1px);
}

/* Focus ring acessível */
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ─── 5. SEÇÃO BASE ─── */
.section {
  padding-block: 3rem;
}

/* ─── 6. HEADER ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--black-border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Logo — coluna central do grid */
.header__logo {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.logo__img {
  height: 76px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo__text-fallback {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}
.logo__accent { color: var(--gold); }

/* Ações header — coluna direita do grid */
.header__actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

/* Hamburger */
.header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.header__menu-btn:hover { background: var(--black-card); }
.hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
/* Estado aberto */
.header__menu-btn.is-open .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__menu-btn.is-open .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.header__menu-btn.is-open .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── 7. MENU FULLSCREEN ─── */
.nav-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
  border-left: 1px solid rgba(255,255,255,0.05);
}

.nav-fullscreen.is-open {
  transform: translateX(0);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-fullscreen__close {
  position: absolute;
  top: 1.2rem;
  right: 1.25rem;
  font-size: 1.4rem;
  color: var(--gray-mid);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}
.nav-fullscreen__close:hover { color: var(--white); background: var(--black-card); }

.nav-fullscreen__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  padding-inline: 2rem;
}

.nav-fullscreen__list li {
  list-style: none;
}

.nav-fullscreen__link {
  display: inline-block;
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.4s ease;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-fullscreen__link:hover,
.nav-fullscreen__link:focus-visible { 
  color: var(--gold); 
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(201, 168, 76, 0.4);
}

.nav-fullscreen__link--wpp { 
  color: #25d366; 
  margin-top: 1rem;
  border: 1px solid rgba(37,211,102,0.3);
  padding: 1rem 2rem;
  border-radius: 100px;
}
.nav-fullscreen__link--wpp:hover { 
  color: #1ebe5b; 
  background: rgba(37,211,102,0.1);
  border-color: #25d366;
  text-shadow: none;
}

/* Stagger animation for nav items */
.nav-fullscreen.is-open .nav-fullscreen__list li {
  animation: navItemIn 0.4s ease forwards;
  opacity: 0;
}
.nav-fullscreen.is-open .nav-fullscreen__list li:nth-child(1) { animation-delay: 0.08s; }
.nav-fullscreen.is-open .nav-fullscreen__list li:nth-child(2) { animation-delay: 0.14s; }
.nav-fullscreen.is-open .nav-fullscreen__list li:nth-child(3) { animation-delay: 0.20s; }
.nav-fullscreen.is-open .nav-fullscreen__list li:nth-child(4) { animation-delay: 0.26s; }
.nav-fullscreen.is-open .nav-fullscreen__list li:nth-child(5) { animation-delay: 0.32s; }
.nav-fullscreen.is-open .nav-fullscreen__list li:nth-child(6) { animation-delay: 0.38s; }

@keyframes navItemIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 8. HERO ─── */
.hero {
  position: relative;
  min-height: 95svh;
  min-height: 95vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  /* Fundo com textura automotiva sutil */
  background:
    linear-gradient(to right, rgba(17, 17, 17, 0.95) 0%, rgba(10, 10, 10, 0.5) 100%),
    url('hero.png') center/cover no-repeat;
  z-index: 0;
}

/* Linhas decorativas de velocidade */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent 0px,
      transparent 48px,
      rgba(201,168,76,0.025) 48px,
      rgba(201,168,76,0.025) 50px
    );
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--black) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-inline: 1.25rem;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.hero__title--accent {
  display: block;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  color: var(--gray-light);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 340px;
}
.hero__cta .btn {
  width: 100%;
  justify-content: center;
}

/* Seta de scroll */
.hero__scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite ease-in-out;
  opacity: 0.7;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* ─── 9. SERVIÇOS ─── */
.services { background: var(--black-soft); }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Card */
.card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  flex-shrink: 0;
}
.card__icon svg { width: 100%; height: 100%; }

.card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.card__text {
  color: var(--gray-light);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}

.card__price {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.35rem 0;
  border-top: 1px solid var(--black-border);
}

/* ─── 10. DIFERENCIAIS ─── */
.differentials {
  background: var(--black);
  background-image: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(201,168,76,0.05) 0%, transparent 70%);
}

.diff__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.diff__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.diff__item:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
}

.diff__icon {
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.diff__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.diff__desc {
  color: var(--gray-light);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ─── 11. GALERIA ─── */
.gallery { background: var(--black-soft); }

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--black-border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
}
.gallery__item:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.gallery__item--large {
  grid-column: 1 / -1;
}

.gallery__image-wrap {
  aspect-ratio: 4 / 3;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--black-card);
}
.gallery__item--large .gallery__image-wrap {
  aspect-ratio: 16 / 7;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}
.gallery__item:hover .gallery__img {
  transform: scale(1.1);
}
.gallery__img-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, transparent 100%);
  opacity: 0.8;
  transition: opacity var(--transition);
}
.gallery__item:hover .gallery__img-overlay {
  opacity: 1;
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  pointer-events: none;
  transform: translateY(10px);
  opacity: 0.9;
  transition: transform var(--transition), opacity var(--transition);
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.gallery__item:hover .gallery__caption {
  transform: translateY(0);
  opacity: 1;
  color: var(--gold);
}

/* ─── 13. FORMULÁRIO DE AGENDAMENTO E MODAL ─── */
.scheduling {
  background: var(--black);
}

.modal {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}
.modal::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.modal[open] {
  animation: modalIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__inner {
  position: relative;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem 1.5rem;
  width: min(90vw, 600px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-card);
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--gray-light);
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition);
}
.modal__close:hover {
  color: var(--white);
}
.modal__header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.modal__title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.modal__sub {
  color: var(--gray-mid);
  font-size: 0.9rem;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.schedule-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-light);
  text-transform: uppercase;
}
.form-label span { color: var(--gold); }

.form-input {
  background: var(--black-soft);
  border: 1px solid var(--gray-dark);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--gray-mid); }
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.form-input:invalid:not(:placeholder-shown) {
  border-color: #e05c5c;
}

.form-select { cursor: pointer; }
.form-select option { background: var(--black-card); color: var(--white); }

.form-textarea { resize: vertical; min-height: 90px; }

/* Input de data */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(70%) sepia(50%) saturate(200%) hue-rotate(5deg);
  cursor: pointer;
}

.form-required-note {
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: -0.25rem;
}
.form-required-note span { color: var(--gold); }

/* ─── 13. VESTUÁRIO ─── */
.vestuario {
  background: var(--black);
  overflow: hidden;
}

.vestuario__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.vestuario__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 540px;
}

.vestuario__text {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.vestuario__img-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--black-border);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), border-color var(--transition);
  text-align: center;
}
.vestuario__img-wrap:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.vestuario__img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  object-fit: cover;
  margin-inline: auto;
}

.vestuario__img-caption {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.65rem 1rem;
  background: var(--black-card);
  text-align: center;
}

@media (min-width: 760px) {
  .vestuario__inner {
    flex-direction: row-reverse;
    align-items: center;
    gap: 3rem;
  }
  .vestuario__content { flex: 1; }
  .vestuario__img-wrap { flex: 1; }
}

/* ─── 14. CTA FINAL ─── */
.cta-final {
  background: linear-gradient(160deg, #111 0%, #0d0c08 50%, #0a0a0a 100%);
  border-top: 1px solid var(--black-border);
  text-align: center;
}

.cta-final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-final__title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(90deg, var(--white) 40%, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-final__sub {
  color: var(--gray-light);
  font-size: 0.95rem;
  max-width: 480px;
}

/* ─── 15. FOOTER ─── */
.footer {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer__logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity var(--transition);
}
.footer__logo-img:hover { opacity: 1; }
.footer__name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
}
.footer__tagline {
  font-size: 0.8rem;
  color: var(--gray-mid);
  letter-spacing: 0.03em;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__links a {
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer__contact a {
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: color var(--transition);
}
.footer__contact a:hover { color: var(--gold); }

.footer__note {
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: 0.25rem;
}

.footer__copy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-dark);
  border-top: 1px solid var(--black-border);
  padding-top: 1.25rem;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ─── 16. ANIMAÇÕES DE SCROLL ─── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay cascata para grids */
[data-animate]:nth-child(2) { transition-delay: 0.08s; }
[data-animate]:nth-child(3) { transition-delay: 0.14s; }
[data-animate]:nth-child(4) { transition-delay: 0.20s; }
[data-animate]:nth-child(5) { transition-delay: 0.26s; }
[data-animate]:nth-child(6) { transition-delay: 0.32s; }

/* ─── 18. RESPONSIVIDADE ─── */

/* Tablet — 600px+ */
@media (min-width: 600px) {
  .services__grid    { grid-template-columns: repeat(2, 1fr); }
  .diff__list        { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid     { grid-template-columns: repeat(2, 1fr); }
  .form-row          { grid-template-columns: repeat(2, 1fr); }

  /* Hero CTA lado a lado */
  .hero__cta { flex-direction: row; max-width: none; }
  .hero__cta .btn { width: auto; }
}

/* Desktop — 900px+ */
@media (min-width: 900px) {
  :root { --header-h: 110px; }

  .logo__img { height: 96px; }

  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .diff__list     { grid-template-columns: repeat(3, 1fr); }

  .gallery__grid        { grid-template-columns: repeat(3, 1fr); }
  .gallery__item--large { grid-column: 1 / -1; }

  .footer__inner  { grid-template-columns: 2fr 1fr 1.5fr; }
  .schedule-form  { padding: 2.5rem; }
}

/* Desktop largo — 1100px+ */
@media (min-width: 1100px) {
  .section { padding-block: 5rem; }
  .hero { min-height: 90vh; }
}

/* ─── 19. ACESSIBILIDADE / PREFERÊNCIAS ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-arrow { animation: none; }
  .chatbot__pulse { animation: none; }
}
