/* =====================================================
   ILLUMINATI ESCAPE ROSSIO — Global Stylesheet
   ===================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-primary:    #0a0a0a;
  --bg-secondary:  #111111;
  --bg-card:       #161616;
  --bg-card-hover: #1e1e1e;
  --accent-gold:   #c9a84c;
  --accent-gold-l: #e8c96a;
  --accent-red:    #8b0000;
  --accent-red-l:  #a50000;
  --text-primary:  #f0f0f0;
  --text-secondary:#aaaaaa;
  --text-muted:    #666666;
  --border:        #2a2a2a;
  --border-gold:   rgba(201,168,76,0.3);
  --font-title:    'Cinzel', serif;
  --font-display:  'Cinzel Decorative', serif;
  --font-body:     'Inter', sans-serif;
  --transition:    0.35s ease;
  --shadow:        0 4px 30px rgba(0,0,0,0.6);
  --shadow-gold:   0 0 30px rgba(201,168,76,0.15);
  --radius:        4px;
  --nav-h:         80px;
}

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

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--dark { background: var(--bg-secondary); }
.section--card { background: var(--bg-card); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.gold { color: var(--accent-gold); }
.red  { color: var(--accent-red); }

/* --- Divider --- */
.divider {
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  margin: 20px auto;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar__logo img {
  height: 48px;
  width: auto;
}
/* Ocultar logo img enquanto sem src (evita ícone quebrado) */
.navbar__logo img[src=""] { display: none; }

.navbar__logo-text {
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  line-height: 1.3;
}

.navbar__logo-text span {
  display: block;
  font-size: 0.65rem;
  color: var(--accent-gold);
  letter-spacing: 0.2em;
  font-weight: 400;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar__link {
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent-gold);
  transition: width var(--transition);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--accent-gold);
}

.navbar__link:hover::after,
.navbar__link.active::after { width: 100%; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 8px;
}

.lang-btn {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 14px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: none;
}

.lang-btn.active {
  background: var(--accent-gold);
  color: #000;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  transform-origin: center;
}

.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(12px);
  padding: 32px 24px;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--border);
  z-index: 999;
}

.navbar__mobile.open { display: flex; }

.navbar__mobile .navbar__link {
  font-size: 1rem;
  letter-spacing: 0.15em;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
  display: block;
}
/* ocultar enquanto src está vazio (antes do JS carregar) */
.hero__img[src=""] { display: none; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.2) 50%,
    rgba(10,10,10,0.9) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 24px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: block;
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  letter-spacing: 0.06em;
}

.hero__title .accent { color: var(--accent-gold); }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 20px;
  color: var(--accent-gold);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-gold);
  color: #000;
  border: 2px solid var(--accent-gold);
}
.btn--primary:hover {
  background: var(--accent-gold-l);
  border-color: var(--accent-gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  padding: 10px 22px;
  font-size: 0.72rem;
}
.btn--ghost:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--accent-gold);
}

.btn--red {
  background: var(--accent-red);
  color: var(--text-primary);
  border: 2px solid var(--accent-red);
}
.btn--red:hover {
  background: var(--accent-red-l);
  border-color: var(--accent-red-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139,0,0,0.3);
}

/* =====================================================
   EXPERIENCE CARDS
   ===================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

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

.card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #1a1a1a;
}

.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card__media img { transform: scale(1.05); }

.card__media-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #222);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__media-placeholder svg {
  width: 48px;
  color: var(--border);
}

.card__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--accent-gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.card__badge--red {
  background: var(--accent-red);
  color: #fff;
}

.card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.card__meta {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.card__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.card__meta-item svg { width: 14px; color: var(--accent-gold); }

.card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  background: none;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.filter-tab.active { background: var(--accent-gold); border-color: var(--accent-gold); color: #000; }

/* =====================================================
   STATS COUNTER
   ===================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
}

.stat {
  background: var(--bg-secondary);
  padding: 48px 32px;
  text-align: center;
}

.stat__number {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =====================================================
   TIMELINE
   ===================================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent-gold), transparent);
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  padding-left: 80px;
  position: relative;
}

.timeline-item__dot {
  position: absolute;
  left: 24px;
  top: 8px;
  width: 16px; height: 16px;
  background: var(--bg-primary);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.timeline-item__year {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 6px;
  display: block;
}

.timeline-item__content h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-item__content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* =====================================================
   TEAM CARDS
   ===================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding-bottom: 28px;
}

.team-card__photo {
  height: 240px;
  overflow: hidden;
  background: #1a1a1a;
}

.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.team-card__photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #222);
}

.team-card__photo-placeholder svg {
  width: 64px;
  color: var(--border);
}

.team-card__name {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--text-primary);
  margin: 20px 0 4px;
  letter-spacing: 0.05em;
}

.team-card__role {
  font-size: 0.78rem;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.team-card__full-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =====================================================
   QUOTE SECTION
   ===================================================== */
/* ── Logos Banner ─────────────────────────────────────── */
.logos-banner-section {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.logos-banner-img {
  display: block;
  width: 100%;
  height: 250px;        /* Fixa a altura para não crescer demasiado no PC */
  object-fit: contain;  /* Garante que a imagem (1366x768) caiba toda dentro dos 250px */
  background: #FFF;     /* Preenche as sobras com preto */
  }
}
}
.logos-banner-img[src=""] { display: none; }

.quote-section {
  background: var(--bg-secondary);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '"';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(201,168,76,0.04);
  pointer-events: none;
  line-height: 1;
}

.quote-text {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--text-primary);
  max-width: 800px;
  margin: 0 auto 20px;
  font-style: italic;
  line-height: 1.6;
}

.quote-author {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* =====================================================
   CONTACT / LOCATION
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-title);
  color: var(--text-primary);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg { width: 18px; color: var(--accent-gold); }

.contact-item__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item__value {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 400px;
  display: block;
  filter: grayscale(80%) invert(90%) contrast(80%);
}

/* =====================================================
   FORMS
   ===================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-label .required { color: var(--accent-gold); }

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

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

/* Checkboxes / Radio */
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.check-item input[type="checkbox"],
.check-item input[type="radio"] {
  appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg-secondary);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all var(--transition);
}

.check-item input[type="radio"] { border-radius: 50%; }

.check-item input[type="checkbox"]:checked,
.check-item input[type="radio"]:checked {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.check-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 8px; height: 12px;
  border: 2px solid #000;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

.check-item input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #000;
  border-radius: 50%;
}

.check-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Day/Time pills */
.pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-input {
  display: none;
}

.pill-label {
  padding: 8px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.pill-input:checked + .pill-label {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000;
  font-weight: 600;
}

/* =====================================================
   FEATURES / BENEFITS
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.feature:hover { border-color: var(--border-gold); }

.feature__icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature__icon svg { width: 22px; color: var(--accent-gold); }

.feature h4 {
  font-family: var(--font-title);
  color: var(--text-primary);
  margin-bottom: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.feature p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* =====================================================
   STEPS
   ===================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  background: linear-gradient(to right, var(--accent-gold), var(--accent-gold));
  opacity: 0.3;
}

.step {
  text-align: center;
  padding: 0 16px;
}

.step__number {
  width: 64px; height: 64px;
  background: var(--bg-card);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-gold);
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
}

.step h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.step p { font-size: 0.88rem; margin: 0; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

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

.footer__brand img { height: 56px; margin-bottom: 20px; }

.footer__brand p {
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer__social svg { width: 16px; color: var(--text-muted); transition: color var(--transition); }
.footer__social:hover { border-color: var(--accent-gold); }
.footer__social:hover svg { color: var(--accent-gold); }

.footer__col h5 {
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--accent-gold); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-float svg { width: 28px; color: #fff; }

  .lang-floating-container {
    position: fixed;
    bottom: 25px;
    left: 25px; /* Lado esquerdo para não chocar com o WhatsApp na direita */
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #1a1a1a; /* Cor escura elegante */
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
  }

  .lang-floating-container .lang-btn {
    background: none;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 2px 5px;
    transition: color 0.3s;
  }

  .lang-floating-container .lang-btn:hover {
    color: var(--primary-color, #f1c40f);
  }
.lang-floating-container .lang-btn.active {
    color: #f1c40f !important; /* Cor dourada do seu site */
    text-decoration: underline; /* Opcional: ajuda a destacar */
    font-weight: 800;
}
<button class="lang-btn active" data-lang="pt">PT</button
/* Garante que o botão flutuante mude de cor ao passar o rato também */
.lang-floating-container .lang-btn:hover {
    color: #f1c40f;
}

/* =====================================================
   PAGE HERO (sub-pages)
   ===================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-secondary);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 { color: var(--text-primary); margin-bottom: 16px; }
.page-hero p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent-gold); }
.breadcrumb span { color: var(--accent-gold); }

/* =====================================================
   MODAL
   ===================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--bg-secondary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition);
}

.modal__close:hover { background: var(--accent-red); }
.modal__close svg { width: 16px; color: var(--text-primary); }

.modal__media { height: 320px; overflow: hidden; background: #1a1a1a; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__media iframe { width: 100%; height: 100%; border: none; }

.modal__body { padding: 40px; }
.modal__body h3 { color: var(--text-primary); margin-bottom: 16px; }
.modal__body p { font-size: 0.95rem; margin-bottom: 20px; }

.modal__details {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
}

/* =====================================================
   ANIMATIONS (AOS)
   ===================================================== */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-in"] {
  opacity: 0;
  transition: opacity 0.6s ease;
}

[data-aos="fade-in"].aos-animate { opacity: 1; }

/* =====================================================
   UTILITY
   ===================================================== */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .section { padding: 64px 0; }

  .navbar__menu { display: none; }
  .navbar__hamburger { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 320px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  .hero__title { font-size: 2rem; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .stats { grid-template-columns: 1fr; }
  .modal__body { padding: 24px; }
}
/* Regras para evitar que o texto esmague a imagem */
.responsive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.image-container {
  height: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quando o ecrã for pequeno (telemóvel vertical) */
@media (max-width: 768px) {
  .responsive-grid {
    grid-template-columns: 1fr; /* Uma coluna só */
    gap: 24px;
  }
  
  .image-container {
    height: 280px; /* Altura fixa para não deformar */
  }
}
/* =====================================================
   ESPECÍFICO PARA A SECÇÃO DE EMPRESAS (MOBILE)
   ===================================================== */

@media (max-width: 768px) {
  /* Seleciona o container de grid da secção dark (Companies) */
  .section--dark .container > div[style*="display:grid"] {
    grid-template-columns: 1fr !important; /* Força 1 coluna */
    gap: 40px !important;                 /* Reduz o espaço exagerado */
    text-align: center;                    /* Centraliza textos e botões no mobile */
  }

  /* Ajusta a grid das 4 boxes de funcionalidades */
  .section--dark .features-grid {
    grid-template-columns: 1fr !important; /* Força 1 coluna para as boxes */
    gap: 24px !important;
    margin-top: 40px;
  }

  /* Alinha os botões ao centro no mobile */
  .section--dark .hero__ctas, 
  .section--dark div[style*="display:flex"] {
    justify-content: center !important;
  }
  
  /* Ajusta a margem da divisória */
  .section--dark .divider {
    margin: 20px auto !important; /* Centraliza a linha horizontal */
  }
}