/* Baron Rouge - Corporate Site Styles */
/* Reprend le design de l'application Flutter */

:root {
  --bg-color: #FAFAFA;
  --card-color: #FFFFFF;
  --accent-color: #6D1F2C;
  --on-accent-color: #FFFFFF;
  --text-color: #333333;
  --grey-color: #999999;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header */
header {
  background-color: var(--accent-color);
  color: var(--on-accent-color);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  height: 40px;
}

.logo-container h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

.lang-switcher {
  display: flex;
  gap: 1rem;
}

.lang-switcher a {
  color: var(--on-accent-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.lang-switcher a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.lang-switcher a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Main content */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

/* Cards */
.card {
  background-color: var(--card-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hero section */
.hero {
  text-align: center;
  padding: 3rem 0;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.hero p {
  font-size: 1.125rem;
  color: var(--grey-color);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.app-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  display: block;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature {
  text-align: center;
}

.feature h3 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.feature p {
  color: var(--grey-color);
}

/* Store buttons */
.store-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--on-accent-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0.5;
  cursor: not-allowed;
}

.store-btn:not(.disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(109, 31, 44, 0.3);
}

/* Language selector (root page) */
.lang-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 2rem;
}

.lang-selector h1 {
  font-size: 2rem;
  color: var(--text-color);
}

.lang-options {
  display: flex;
  gap: 3rem;
}

.lang-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.3s;
  cursor: pointer;
}

.lang-option:hover {
  transform: scale(1.1);
}

.flag {
  font-size: 6rem;
  margin-bottom: 1rem;
}

.lang-option span {
  font-size: 1.25rem;
  font-weight: 500;
}

/* Legal pages */
.legal-content {
  line-height: 1.8;
}

.legal-content h2 {
  color: var(--accent-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  color: var(--accent-color);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: var(--text-color);
}

/* Footer */
footer {
  background-color: var(--card-color);
  border-top: 1px solid #e0e0e0;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-content p {
  color: var(--grey-color);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .lang-options {
    flex-direction: column;
    gap: 2rem;
  }

  .store-buttons {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
