/* ==========================================================================
   ROTUNDA DO AIRES — CHURRASQUEIRA
   Coming Soon Landing Page Stylesheet
   ========================================================================== */

/* --- Custom Font Declarations --- */
@font-face {
  font-family: 'OPTI Althea';
  src: url('assets/fonts/OPTIAltheaBold-Two.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aliensy';
  src: url('assets/fonts/Aliensy.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- Design Tokens & Color Palette --- */
:root {
  /* Brand Guidelines Colors */
  --color-tijolo: #96311D;          /* RGB: 150, 49, 29 - Principal */
  --color-carvao: #2D2D2B;          /* RGB: 45, 45, 43 - Principal */
  --color-creme: #F5E6D3;           /* RGB: 245, 230, 211 - Secundária */
  --color-areia: #D4C4B0;           /* RGB: 212, 196, 176 - Secundária */
  --color-castanho: #AD8B63;        /* RGB: 173, 139, 99 - Castanho Dourado */
  --color-cafe: #3B2A20;            /* RGB: 59, 42, 32 - Secundária */
  --color-piri-piri: #C75B1A;       /* RGB: 199, 91, 26 - Destaque */
  --color-oliveira: #6B7341;        /* RGB: 107, 115, 65 - Destaque */

  /* Backgrounds & Text */
  --bg-main: #F6EFE5;
  --text-muted: #5E534B;
  
  /* Typography */
  --font-brand: 'OPTI Althea', 'Inter', sans-serif;
  --font-accent: 'Aliensy', cursive, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--color-carvao);
  position: relative;
  overflow-x: hidden;
}

/* --- Atmospheric Subtle Background --- */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(150, 49, 29, 0.08) 0%, rgba(245, 230, 211, 0.4) 60%, transparent 100%);
  filter: blur(80px);
  z-index: 0;
}

.bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  background-image: radial-gradient(rgba(150, 49, 29, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* --- Page Wrapper --- */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 2rem 1.25rem;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}

/* --- Top Header (Language Switcher in Top Right) --- */
.site-header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.lang-switch-container {
  display: flex;
  align-items: center;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(173, 139, 99, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(45, 45, 43, 0.03);
}

.lang-btn {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  color: #7D6F65;
  cursor: pointer;
  padding: 0.15rem 0.25rem;
  transition: color var(--transition-smooth);
}

.lang-btn:hover {
  color: var(--color-tijolo);
}

.lang-btn.active {
  color: var(--color-tijolo);
  font-weight: 700;
}

.lang-sep {
  color: rgba(173, 139, 99, 0.4);
  font-size: 0.8rem;
  user-select: none;
}

/* --- Main Centered Content --- */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  width: 100%;
  max-width: 620px;
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-logo {
  max-width: 100%;
  width: 380px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(45, 45, 43, 0.04));
  transition: transform var(--transition-smooth);
}

.main-logo:hover {
  transform: scale(1.015);
}

.message-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
}

.coming-soon-title {
  font-family: var(--font-brand);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-tijolo);
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.management-text {
  font-family: var(--font-body);
  font-size: 1.025rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto;
  font-weight: 400;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* --- Footer --- */
.site-footer {
  width: 100%;
  padding: 1.5rem 0 0.5rem;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  font-size: 0.875rem;
  color: #6C5F57;
  text-align: center;
}

.brand-name {
  color: var(--color-cafe);
  font-weight: 600;
}

.footer-sep {
  opacity: 0.35;
  font-size: 0.75rem;
}

.powered-by {
  font-weight: 400;
}

.webxtek-link {
  color: var(--color-tijolo);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-smooth);
}

.webxtek-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-tijolo);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.webxtek-link:hover {
  color: var(--color-piri-piri);
}

.webxtek-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
  background-color: var(--color-piri-piri);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .page-wrapper {
    padding: 1.25rem 1.25rem 1rem;
  }

  .main-logo {
    width: 290px;
  }

  .coming-soon-title {
    font-size: 1.45rem;
  }

  .management-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-wrapper {
    padding: 1rem 1rem 0.75rem;
  }

  .main-logo {
    width: 230px;
  }

  .center-container {
    gap: 1.35rem;
  }

  .coming-soon-title {
    font-size: 1.2rem;
  }

  .management-text {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .footer-container {
    flex-direction: column;
    gap: 0.35rem;
  }

  .footer-sep {
    display: none;
  }
}
