/* ═══════════════════════════════════════════
   LOFFICINA — Main Stylesheet
   ═══════════════════════════════════════════ */

/* ─── BASE ─── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent); color: var(--bg-primary); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── TYPOGRAPHY ─── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--heading);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-btn);
  padding: 0.875rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-gold-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-gold);
}
.btn-gold-outline:hover { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }
.btn-gold-outline:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ─── SECTIONS ─── */
.section { padding: 7rem 0; position: relative; }

.section--secondary { background: var(--bg-secondary); }
.section--surface { background: var(--surface); }
.section--primary { background: var(--bg-primary); }
.section--deep { background: var(--bg-deep); }

.section__header { margin-bottom: 4rem; }
.section__header--centered { text-align: center; }
.section__header--centered .section-subtitle { margin: 0 auto; }

.section-divider {
  border: none;
  border-top: 1px solid var(--border-gold);
  opacity: 0.4;
  max-width: var(--container);
  margin: 0 auto;
}

/* ─── TOPBAR ─── */
.topbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.5rem 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar__group { display: flex; align-items: center; gap: 1.5rem; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s ease;
}
.topbar__item:hover { color: var(--body); }
.topbar__item i { font-size: 0.7rem; color: var(--accent); }
.topbar__divider { width: 1px; height: 12px; background: var(--border); }

.lang-switcher { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0.25rem 0.6rem 0.25rem 0.45rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s ease;
}
.lang-toggle:hover { border-color: var(--border-gold); color: var(--body); }
.lang-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.lang-toggle__flag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
}
.lang-toggle__label { font-size: 0.65rem; font-weight: 600; }
.lang-toggle__arrow { font-size: 0.5rem; transition: transform 0.25s ease; }
.lang-toggle[aria-expanded="true"] .lang-toggle__arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 0.35rem;
  min-width: 140px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 1001;
}
.lang-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  background: none;
  border: none;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-dropdown__item:hover { background: var(--surface); color: var(--body); }
.lang-dropdown__item.active { color: var(--heading); background: var(--surface); }
.lang-dropdown__item.active .lang-dropdown__flag { color: var(--accent); }
.lang-dropdown__flag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
}

/* ─── HEADER ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  font-family: var(--font-display) !important;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--heading);
  letter-spacing: -0.44px;
}
.header__logo span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--body);
  transition: color 0.25s ease;
  position: relative;
}
.nav__link:hover, .nav__link:focus-visible { color: var(--heading); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav__link:hover::after, .nav__link:focus-visible::after { width: 100%; }

.header__cta-mobile { display: none; }
.header > .container > .btn-gold-outline { display: none; }

@media (min-width: 769px) {
  .header > .container > .btn-gold-outline { display: inline-flex !important; }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2,2,2,0.94) 0%, rgba(2,2,2,0.88) 100%),
    url('../images/lofficina-agencia-digital-premium-tecnologia.jpg') center/cover no-repeat;
  opacity: 1;
  z-index: 0;
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,162,44,0.04) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  text-align: center;
  z-index: 2;
  padding: 0 2rem;
}

.hero__slides { position: relative; min-height: 280px; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero__slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--heading);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero__rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.hero__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.hero__arrow {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__arrow:hover { border-color: var(--accent); color: var(--accent); }
.hero__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hero__progress {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hero__dot {
  width: 24px;
  height: 1px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}
.hero__dot.active { background: var(--accent); width: 40px; }
.hero__dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ─── SERVIÇOS ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
  position: relative;
}
.service-card:hover {
  border-color: var(--accent);
  background: var(--surface-elevated);
  transform: translateY(-4px);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.service-card__icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card__icon { transform: translateY(-2px); }

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── PORTFÓLIO ─── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  aspect-ratio: 16 / 10;
  transition: border-color 0.4s ease;
}
.project-card:hover { border-color: var(--accent); }

.project-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.project-card:hover .project-card__media { transform: scale(1.04); }

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.3) 50%, rgba(5,5,5,0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22,1,0.36,1);
}
.project-card:hover .project-card__info { transform: translateY(0); opacity: 1; }

.project-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.4rem;
}

.project-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.project-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-card__tag {
  font-size: 0.7rem;
  color: var(--body);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0.25rem 0.75rem;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 0.75rem;
  transition: gap 0.3s ease;
}
.project-card__link:hover { gap: 0.65rem; }
.project-card__link i { font-size: 0.65rem; }

.project-1 { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%); }
.project-2 { background: linear-gradient(135deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%); }
.project-3 { background: linear-gradient(135deg, #181818 0%, #282828 50%, #181818 100%); }
.project-4 { background: linear-gradient(135deg, #1a1a1a 0%, #262626 50%, #1a1a1a 100%); }

/* ─── DEPOIMENTOS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  transition: border-color 0.3s ease;
}
.testimonial-card:hover { border-color: var(--border-gold); }

.testimonial-card__stars {
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
}

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

/* ─── POR QUE LOFFICINA ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: border-color 0.3s ease;
}
.why-card:hover { border-color: var(--border-gold); }

.why-card__number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.why-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── BRAND STATEMENT ─── */
.brand-statement {
  text-align: center;
  padding: 9rem 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.brand-statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4,4,4,0.95) 0%, rgba(4,4,4,0.88) 100%),
    url('../images/lofficina-experiencias-digitais-estrategia-design.jpg') center/cover no-repeat;
  opacity: 1;
  z-index: 0;
}

.brand-statement__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.brand-statement__rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
}

.brand-statement__text {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.brand-statement__sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.brand-statement__accent {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,162,44,0.03) 0%, transparent 70%);
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
  pointer-events: none;
}

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

.contact-info__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

.contact-info__desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-channels { display: flex; flex-direction: column; gap: 1rem; }

.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.contact-channel:hover { border-color: var(--border-gold); background: var(--surface-elevated); }
.contact-channel i { font-size: 1.15rem; color: var(--accent); width: 24px; text-align: center; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form__group { margin-bottom: 1.25rem; }

.form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--body);
  margin-bottom: 0.5rem;
}

.form__input, .form__textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--heading);
  transition: border-color 0.3s ease;
  outline: none;
}
.form__input:focus, .form__textarea:focus { border-color: var(--accent); }
.form__input::placeholder, .form__textarea::placeholder { color: #555; }

.form__textarea { min-height: 130px; resize: vertical; }

select.form__input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D5A22C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
select.form__input option { color: var(--heading); background: var(--bg-primary); }

/* ─── CTA FINAL ─── */
.cta-final {
  text-align: center;
  padding: 8rem 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6,6,6,0.95) 0%, rgba(6,6,6,0.88) 100%),
    url('../images/lofficina-desenvolvimento-web-aplicacoes-digitais.jpg') center/cover no-repeat;
  opacity: 1;
  z-index: 0;
}

.cta-final__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,162,44,0.05) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-final__inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; padding: 0 2rem; }

.cta-final__text {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--heading);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.cta-final__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-final__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.footer {
  background: #080808;
  border-top: 1px solid var(--border-gold);
  padding: 5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--heading);
  margin-bottom: 1rem;
}
.footer__brand span { color: var(--accent); }

.footer__tagline {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer__hours {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer__hours i { font-size: 0.65rem; color: var(--accent); }

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.65rem; }

.footer__link {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.25s ease;
}
.footer__link:hover { color: var(--body); }

.footer__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: 1.05rem; }
.footer__legal-link { transition: color 0.25s ease; }
.footer__legal-link:hover { color: var(--body); }

/* ─── FLOATING ELEMENTS ─── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  animation: none;
  transform: scale(1.05);
}
.whatsapp-float:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(213,162,44,0.25); }
  50% { box-shadow: 0 0 0 12px rgba(213,162,44,0); }
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.35s ease;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { border-color: var(--accent); color: var(--accent); }
.scroll-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ─── CUSTOM ALERT (SWEETALERT-STYLE) ─── */
.swal-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.swal-overlay[hidden] { display: none; }
.swal-modal {
  width: 100%;
  max-width: 420px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  animation: swal-in 0.3s cubic-bezier(0.22,1,0.36,1);
}
.swal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 2px solid;
  animation: swal-pop 0.4s cubic-bezier(0.22,1,0.36,1);
}
.swal-icon--success {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(213,162,44,0.08);
}
.swal-icon--error {
  color: #e05555;
  border-color: #e05555;
  background: rgba(224,85,85,0.08);
}
.swal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.75rem;
}
.swal-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
@keyframes swal-in {
  0% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes swal-pop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── MOBILE NAV TOGGLE ─── */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--heading);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
}
.mobile-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ─── ACCESSIBILITY ─── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-input) var(--radius-input);
  z-index: 10000;
  transition: top 0.3s ease;
}
.skip-link:focus { top: 0; }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
