/* ============================================
   Anderson Motion — Design System & Global CSS
   Estilo: Dark Premium
   ============================================ */

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

:root {
  /* Brand Colors */
  --violet: #7552EF;
  --violet-light: #9b7ff5;
  --violet-dark: #5a3dc7;
  --violet-glow: rgba(117, 82, 239, 0.3);
  --violet-glow-strong: rgba(117, 82, 239, 0.5);

  /* Backgrounds */
  --bg-dark: #0b0c12;
  --bg-card: #13141c;
  --bg-surface: #1a1b26;
  --bg-hover: #1f2133;

  /* Text */
  --text-primary: #F5F4F0;
  --text-secondary: #9ca3af;
  --text-muted: #8a91a0;
  --white: #ffffff;

  /* Borders */
  --border-subtle: rgba(117, 82, 239, 0.15);
  --border-hover: rgba(117, 82, 239, 0.4);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --container-max: 1200px;
  --gap: 24px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Dot texture background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(117, 82, 239, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

a { color: var(--violet-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--violet); }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.section__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--violet-light);
  margin-bottom: 12px;
  display: block;
}

.section__title { margin-bottom: 16px; }

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
}

.section__subtitle--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--violet-light), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Altura = botão "Orçamento" (42px) + este padding. 14px deixa o header
     em ~70px, perto dos 65px da referência (AM Tech). */
  padding: 14px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 12, 18, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Proporção medida na referência (AM Tech): a altura das letras é metade
   da altura do quadrado. Montserrat tem caixa alta de 0,70em, então
   1,35rem (21,6px) dá ~15px de letra para um chip de 32px. */
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 11px;
}

/* Símbolo dentro de um "chip" claro, no padrão da AM Tech: o container leva
   uma cor da marca e o símbolo troca para a versão contrastante — aqui a
   oficial de fundo claro (violeta + preto). O off-white é o #F5F4F0 do manual.
   Altura de 20px dá 48,5px de largura, respeitando o mínimo de 48px do manual. */
.nav__logo-icon {
  height: 20px;
  width: auto;
  display: block;
  box-sizing: content-box;
  padding: 6px 5px;
  background: var(--text-primary);
  border-radius: 9px;
}

/* Dentro do chip vai só o símbolo. O nome "Anderson Motion" continua
   ao lado, em texto, fora do quadrado. */

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--violet);
  border-radius: 1px;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  color: var(--white);
  box-shadow: 0 4px 24px var(--violet-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--violet-glow-strong);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--violet-light);
  border: 1px solid var(--border-hover);
}

.btn--outline:hover {
  background: rgba(117, 82, 239, 0.1);
  color: var(--white);
  border-color: var(--violet);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn--nav {
  padding: 10px 24px;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* --- Sections --- */
section {
  padding: var(--section-pad) 0;
  position: relative;
  z-index: 1;
}

section:nth-child(even) {
  background: var(--bg-card);
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(117, 82, 239, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--violet);
}

.card__icon svg { width: 28px; height: 28px; }

.card__title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.card__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--violet-light);
  background: rgba(117, 82, 239, 0.1);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 20px;
}

.card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--violet-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.card__link:hover { gap: 10px; }

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* .hero é flex: sem width o .container encolheria até o conteúdo
   e sairia do alinhamento da navbar e das seções */
.hero > .container { width: 100%; }

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(117, 82, 239, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 60%, rgba(117, 82, 239, 0.08) 0%, transparent 40%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__content--center {
  max-width: 100%;
  text-align: center;
}

.hero__content--center .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero__content--center .hero__actions { justify-content: center; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--violet-light);
  background: rgba(117, 82, 239, 0.1);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: 40px;
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--violet);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Process Steps --- */
.process {
  display: flex;
  gap: 0;
  align-items: flex-start;
  position: relative;
}

.process__step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.process__number {
  width: 48px;
  height: 48px;
  background: rgba(117, 82, 239, 0.1);
  border: 2px solid var(--violet);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--violet-light);
  margin: 0 auto 16px;
}

.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 2px;
  background: linear-gradient(90deg, var(--violet), transparent);
}

.process__label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.process__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Pricing --- */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface);
}

.pricing-card--highlight {
  border-color: var(--violet);
  background: var(--bg-surface);
  box-shadow: 0 0 30px var(--violet-glow);
}

.pricing-card__info {
  flex: 1;
}

.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.pricing-card__detail {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--violet-light);
  white-space: nowrap;
}

.pricing-card__price small {
  font-size: 0.7em;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-section {
  margin-bottom: 60px;
}

.pricing-section__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-section__title svg {
  width: 24px;
  height: 24px;
  color: var(--violet);
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Photo packages grid */
.photo-packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.photo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.photo-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.photo-card--featured {
  border-color: var(--violet);
  background: var(--bg-surface);
  box-shadow: 0 0 30px var(--violet-glow);
  transform: scale(1.03);
}

.photo-card--featured:hover { transform: scale(1.05); }

.photo-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--violet-light);
  font-weight: 700;
  margin-bottom: 8px;
}

.photo-card__qty {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.photo-card__unit {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.photo-card__price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--violet-light);
  margin-bottom: 4px;
}

.photo-card__per {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Portfolio --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition);
}

.portfolio-item:hover {
  border-color: var(--border-hover);
  transform: scale(1.02);
}

.portfolio-item__video,
.portfolio-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-item--image {
  aspect-ratio: 4/5;
}

.portfolio-item__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(117, 82, 239, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 2;
}

.portfolio-item__play svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  stroke: var(--white);
  margin-left: 3px;
}

.portfolio-item:hover .portfolio-item__play { opacity: 1; }

.portfolio-item__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(117, 82, 239, 0.25);
  color: var(--violet-light);
  border: 1px solid rgba(117, 82, 239, 0.35);
  z-index: 2;
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 12, 18, 0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item__overlay h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.portfolio-item__overlay span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }

/* Fullscreen video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal__content {
  position: relative;
  max-width: 420px;
  max-height: 90vh;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 16px;
  overflow: hidden;
}

.video-modal__content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.video-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: background var(--transition);
}

.video-modal__close:hover { background: rgba(117, 82, 239, 0.7); }

/* Gallery modal */
.gallery-modal__content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  width: 94%;
  overflow-y: auto;
  padding: 48px 24px 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(117, 82, 239, 0.4) transparent;
}

.gallery-modal__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: center;
}

.gallery-modal__subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
}

.gallery-section {
  margin-bottom: 36px;
}

.gallery-section__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--violet-light);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.gallery-section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-top: 16px;
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 8px;
}

.gallery-carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0;
}

.gallery-carousel__track::-webkit-scrollbar { display: none; }

.gallery-carousel__track img {
  flex: 0 0 auto;
  width: 200px;
  border-radius: 10px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border-subtle);
}

.gallery-carousel__track img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(117, 82, 239, 0.3);
  border-color: var(--violet);
}

/* Filters */
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(117, 82, 239, 0.15);
  border-color: var(--violet);
  color: var(--white);
}

/* Before/After — vertical video pair */
.before-after-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  max-width: 560px;
  margin: 0 auto;
}

.before-after {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 9/16;
  background: var(--bg-surface);
}

.before-after video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.before-after__label--before {
  left: 16px;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.before-after__label--after {
  right: 16px;
  background: rgba(117, 82, 239, 0.2);
  color: var(--violet-light);
  border: 1px solid var(--border-subtle);
}

/* --- About / Values --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(117, 82, 239, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
}

.value-card__icon svg { width: 28px; height: 28px; }

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tool-tag {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.tool-tag:hover {
  border-color: var(--border-hover);
  color: var(--white);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  /* 1rem evita o zoom automático do Safari no iOS ao focar o campo */
  font-size: 1rem;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  transition: border-color var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-glow);
}

.form-textarea { min-height: 140px; resize: vertical; }

.form-select {
  appearance: none;
  cursor: pointer;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b7ff5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px 18px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(117, 82, 239, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
}

.contact-item__icon svg { width: 22px; height: 22px; }

.contact-item__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item__value {
  font-weight: 600;
  color: var(--white);
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  position: relative;
}

.testimonial-card__quote {
  font-size: 2.5rem;
  color: var(--violet);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(117, 82, 239, 0.15) 0%, rgba(117, 82, 239, 0.05) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--violet-glow) 0%, transparent 50%);
  animation: cta-glow 6s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.5; }
}

.cta-banner > * { position: relative; z-index: 1; }

/* --- Footer --- */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-dark);
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer__brand {
  max-width: 300px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer__link:hover { color: var(--violet-light); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.footer__social a:hover {
  border-color: var(--violet);
  color: var(--violet);
  transform: translateY(-2px);
}

.footer__social svg { width: 18px; height: 18px; }

/* --- Animations (IntersectionObserver) ---
   O estado oculto depende da classe .js, que o main.js aplica ao rodar.
   Sem JS (ou se o script falhar), o conteúdo continua visível. */
.reveal {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
}

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

/* --- Foco por teclado --- */
:focus-visible {
  outline: 2px solid var(--violet-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible { outline: none; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .photo-packages { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; --gap: 16px; }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-card);
    padding: 80px 32px 32px;
    gap: 20px;
    border-left: 1px solid var(--border-subtle);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav__links.open { right: 0; }

  /* Alvos de toque de 44px no menu do celular */
  .nav__links .nav__link {
    display: block;
    padding: 14px 16px;
  }

  .nav__links .nav__link.active::after { bottom: 8px; left: 16px; right: 16px; }

  .nav__toggle {
    display: flex;
    z-index: 1001;
    padding: 14px 10px;
    margin-right: -6px;
  }

  /* No celular o chip mantém o símbolo em 20px de altura — é o piso para não
     ficar abaixo dos 48px de largura do manual. Só o nome encolhe. */
  .nav__logo { font-size: 1.1rem; gap: 10px; }
  .nav__logo-icon { padding: 5px; }

  .hero__title { font-size: 2rem; }

  .hero__actions { flex-direction: column; align-items: flex-start; }

  .grid-2,
  .grid-3,
  .grid-4,
  .values-grid,
  .testimonial-grid { grid-template-columns: 1fr; }

  .photo-packages { grid-template-columns: repeat(2, 1fr); }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .before-after-pair { grid-template-columns: 1fr 1fr; max-width: 100%; }

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

  .process { flex-direction: column; gap: 24px; }
  .process__step:not(:last-child)::after { display: none; }

  .footer__grid { grid-template-columns: 1fr; gap: 24px; }

  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  .pricing-card { flex-direction: column; text-align: center; }
}

/* Telas bem estreitas: o manual autoriza o símbolo sozinho em espaços pequenos.
   O nome sai da tela mas continua no acessível do link. */
@media (max-width: 359px) {
  .nav__logo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .photo-packages { grid-template-columns: 1fr; }
  .photo-card--featured { transform: none; }
  .photo-card--featured:hover { transform: translateY(-4px); }
}

/* --- Bottom Bar (mobile navigation) --- */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 12, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  padding: 6px 0 env(safe-area-inset-bottom, 6px);
}

.bottom-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.bottom-bar__item svg {
  width: 22px;
  height: 22px;
}

.bottom-bar__item--active {
  color: var(--violet);
}

.bottom-bar__item--cta {
  color: var(--violet);
}

.bottom-bar__item--cta.bottom-bar__item--active {
  color: var(--white);
}

@media (max-width: 768px) {
  .bottom-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .nav__toggle { display: none !important; }
  .nav__links .btn--nav { display: none; }

  body { padding-bottom: 64px; }
}

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

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

  .js .reveal { opacity: 1; transform: none; }
}
