:root {
  --bg: #f5f3ef;
  --bg-alt: #fdfbf8;
  --text: #191919;
  --muted: #6f6a63;
  --accent: #111111;
  --border: #e0d9cf;
  --card: #f9f6f1;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,243,239,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(224,217,207,0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-text {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.03em;
  font-size: 18px;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  border: 1px;
}

.nav-links {
  display: none !important;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-lang {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(249,246,241,0.9);
  color: var(--muted);
  cursor: default;
}

.lang-switch {
  display: inline-flex;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  overflow: hidden;
  font-size: 11px;
}

.lang-switch button {
  border: none;
  background: transparent;
  padding: 4px 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
}

.lang-switch button.active {
  background: #111;
  color: #fdfbf8;
}

.btn-outline {
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease-out, color 0.18s ease-out;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 44px;
  padding: 10px 20px 24px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(249,246,241,0.8);
  margin-bottom: 18px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.btn-primary {
  border-radius: var(--radius-pill);
  border: 1px solid #000;
  background: #111;
  color: #fdfbf8;
  padding: 11px 26px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, background 0.15s ease-out;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #000;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.hero-note {
  font-size: 12px;
  color: var(--muted);
}

.hero-metric {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

.hero-metric strong {
  color: var(--text);
}

.hero-right {
  background: var(--card);
  border-radius: 28px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.logo-wrapper img {
  max-width: 220px;
  height: auto;
}

.hero-card-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-card-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-card-list {
  font-size: 13px;
  margin-left: 16px;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-card-footnote {
  font-size: 11px;
  color: var(--muted);
}

/* Sections */

section {
  margin-top: 60px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 16px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  gap: 38px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pill {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(249,246,241,0.8);
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 18px 18px 16px;
  font-size: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.03);
}

.card h3 {
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
}

.card small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 6px;
}

.tagline {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(17,17,17,0.03);
  color: var(--muted);
  margin-top: 6px;
}

/* Founder */

.founder {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 2.6fr);
  gap: 34px;
  align-items: center;
}

.founder-photo {
  width: 220px;
  height: 220px;
  border-radius: 42% 58% 60% 40%;
  background: #e6e0d6;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.09);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.founder-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.quote {
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  border-left: 2px solid var(--border);
  padding-left: 14px;
  margin-top: 10px;
}

/* Testimonials */

.testimonial {
  font-size: 14px;
  color: var(--muted);
}

.testimonial + .testimonial {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.testimonial strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

/* Contact */

.contact-card {
  margin-top: 20px;
  padding: 22px 20px;
  background: var(--card);
  border-radius: 22px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 24px;
  align-items: center;
}

.contact-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-main {
  font-size: 18px;
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
}

.contact-note {
  font-size: 13px;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Mobile Menu */

.mobile-menu-btn {
  display: flex;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

@media (max-width: 880px) {
  .mobile-menu-btn {
    display: flex;
  }
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 5;
  max-height: calc(100vh - 75px);
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Idiomas */

.lang-en-block { display: none; }

body.lang-en .lang-en-block { display: block; }
body.lang-en .lang-pt-block { display: none; }

body.lang-pt .lang-pt-block { display: block; }
body.lang-pt .lang-en-block { display: none; }

/* Mobile menu should always be hidden unless active */
.mobile-menu {
  display: none !important;
}

.mobile-menu.active {
  display: block !important;
}

/* Responsivo */

@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
  }

  .hero-right {
    order: -1;
  }

  .section-grid,
  .founder,
  .contact-card {
    grid-template-columns: minmax(0,1fr);
  }

  .nav-cta .btn-outline {
    display: none;
  }

  .nav {
    padding-inline: 12px;
  }

  .page {
    padding-inline: 16px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}
