/* ════════════════════════════════════════════
   VoyageMais — Shared Stylesheet
   styles.css
   ════════════════════════════════════════════ */

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

:root {
  --ink: #1e1a22;
  --muted: #6b6570;
  --light: #f4f2f7;
  --border: rgba(94,56,110,0.12);
  --accent: #5E386E;
  --accent-light: #f0eaf4;
  --accent-dark: #43285f;
  --blue: #47C6E8;
  --gold: #D8A029;
  --green: #576E31;
  --green-light: #658339;
  --white: #ffffff;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

/* ── LANGUAGE BAR ── */
.lang-bar {
  background: var(--ink);
  padding: 0.4rem 2.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem;
  position: sticky;
  top: 0;
  z-index: 200;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s, color 0.15s;
}
.lang-btn:hover { background: rgba(255,255,255,0.10); color: #fff; }
.lang-btn.active { background: rgba(255,255,255,0.15); color: #fff; }
.lang-btn .flag { font-size: 1rem; line-height: 1; }
.lang-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); margin: 0 0.1rem; }

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 34px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  z-index: 100;
}

/* ── LOGO ── */
.logo-img {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.logo-wrap {
  height: 44px;
  display: flex;
  align-items: center;
  overflow: visible;
}
.logo-img-el {
  height: 76px;
  width: auto;
  display: block;
}

/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

/* ── HAMBURGER (hidden on desktop) ── */
.nav-hamburger { display: none; }

/* ── TYPOGRAPHY ── */
h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h1 em { font-style: italic; color: var(--accent); }
h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; }
h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 0.4rem; }

/* ── SECTIONS COMMON ── */
.section { padding: 5rem 2.5rem; }
.section-kicker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 500; margin-bottom: 0.4rem; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; }
.see-all { font-size: 0.85rem; color: var(--muted); text-decoration: none; border-bottom: 0.5px solid var(--border); padding-bottom: 1px; transition: color 0.2s; }
.see-all:hover { color: var(--ink); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 0.5px solid rgba(0,0,0,0.25);
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--ink); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding: 3rem 2.5rem 2rem;
}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: 0.83rem; color: rgba(255,255,255,0.4); margin-top: 0.75rem; line-height: 1.7; width: 240px; }
.footer-logo-wrap { display: block; margin-bottom: 0.75rem; }
.footer-logo-wrap img {
  height: 48px;
  width: auto;
  max-width: 200px;
  display: block;
  filter: brightness(0) invert(1);
  object-fit: contain;
  object-position: left center;
}
.footer-col h5 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255,255,255,0.45); font-weight: 500; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { text-decoration: none; font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 0.5px solid rgba(255,255,255,0.08); }
.footer-bottom small { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ── INSTAGRAM ── */
.ig-link { display: inline-flex; align-items: center; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.ig-link:hover { color: var(--white); }
.ig-icon { width: 72px; height: 72px; flex-shrink: 0; }

.lang-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── FOCUS STYLES ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── SKIP NAVIGATION LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── LANGUAGE VISIBILITY ── */
[data-lang] { display: none; }
[data-lang].active { display: inline; }
[data-lang].block-active { display: block; }

/* ── MOBILE ── */
@media (max-width: 768px) {

  /* LANG BAR */
  .lang-bar {
    font-size: 0.72rem;
    padding: 0.4rem 1rem;
    gap: 0.5rem;
  }

  /* NAV */
  nav {
    padding: 0.75rem 1.25rem;
    flex-wrap: wrap;
    top: 34px;
  }
  .logo-wrap {
    height: 32px;
  }
  .logo-img-el {
    height: 32px;
  }
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    z-index: 200;
  }
  .nav-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    order: 3;
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
    border-bottom: 0.5px solid var(--border);
    color: var(--muted);
  }
  .nav-links li:last-child a {
    border-bottom: 0.5px solid var(--border);
    margin-top: 0;
    text-align: left;
    background: none;
    color: var(--accent);
    font-weight: 500;
    border-radius: 0;
    padding: 0.75rem 0.5rem;
  }

  /* FOOTER */
  footer {
    padding: 2rem 1.25rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
  }
  .footer-brand p {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding-top: 1.25rem;
  }

  /* SECTIONS */
  .section {
    padding: 3rem 1.25rem;
  }
  .section-header {
    flex-direction: column;
    gap: 1rem;
  }
}
