/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --wine:       #722F37;
  --wine-dark:  #4A1A20;
  --wine-light: #9B3A44;
  --gold:       #C9A84C;
  --cream:      #FAF7F2;
  --gray-50:    #fafafa;
  --gray-100:   #f3f4f6;
  --gray-200:   #e5e7eb;
  --gray-400:   #9ca3af;
  --gray-500:   #6b7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --max-w:      1000px;
  --px:         1.5rem;
  --radius:     12px;
  --radius-lg:  20px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ===== NAVIGATION ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wine);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__links {
  display: flex;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--wine); }
.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--gray-700);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem var(--px) 1.25rem;
  border-top: 1px solid var(--gray-100);
  background: #fff;
}
.nav__mobile a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}
.nav__mobile a:hover { color: var(--wine); }
.nav__mobile.open { display: flex; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--wine);
  color: #fff;
}
.btn-primary:hover { background: var(--wine-dark); }
.btn-secondary {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-200);
}
.btn-secondary:hover { border-color: var(--wine); color: var(--wine); }
.btn-dark {
  background: var(--gray-900);
  color: #fff;
}
.btn-dark:hover { background: #000; }
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(114, 47, 55, 0.08);
  color: var(--wine);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wine);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== PAGE HEADER (support & privacy) ===== */
.page-header {
  background: var(--wine);
  color: #fff;
  padding: 4rem var(--px);
}
.page-header h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

/* ===== HERO ===== */
.hero {
  padding: 5rem var(--px) 4rem;
  text-align: center;
}
.hero__badge { margin-bottom: 1.5rem; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--gray-900);
}
.hero h1 span { color: var(--wine); }
.hero p {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ===== SECTION TITLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== FEATURES SECTION ===== */
.features {
  background: var(--cream);
  padding: 5rem var(--px);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: rgba(114,47,55,0.3);
  box-shadow: 0 4px 20px rgba(114,47,55,0.07);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(114,47,55,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--wine);
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== AI SECTION ===== */
.ai-section {
  padding: 5rem var(--px);
  background: #fff;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.ai-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(114,47,55,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
}
.ai-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.ai-item p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== HOME ASSISTANT SECTION ===== */
.ha-section {
  background: var(--gray-900);
  color: #fff;
  padding: 5rem var(--px);
}
.ha-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.ha-content { flex: 1; }
.ha-content .badge-dark {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.ha-content h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.ha-content p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.ha-checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.ha-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}
.ha-checklist li svg {
  width: 18px;
  height: 18px;
  color: var(--wine-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.ha-screenshot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ha-screenshot img {
  width: 320px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem var(--px);
  text-align: center;
}
.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.cta-section p {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.coming-soon-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--wine);
  border-radius: 999px;
  color: var(--wine);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem var(--px);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.footer__logo { font-weight: 700; font-size: 1.1rem; color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a { font-size: 0.875rem; transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 0.8rem; }

/* ===== SUPPORT PAGE ===== */
.support-content { max-width: 720px; margin: 0 auto; padding: 4rem var(--px); }
.support-section { margin-bottom: 4rem; }
.support-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.support-section > p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.steps { display: flex; flex-direction: column; gap: 1rem; }
.step {
  display: flex;
  gap: 1rem;
}
.step__number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 2px;
}
.step__body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}
.step__body p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.alert {
  display: flex;
  gap: 0.75rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-top: 1.75rem;
}
.alert__icon { font-size: 1.1rem; flex-shrink: 0; }
.alert__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 0.2rem;
}
.alert__text { font-size: 0.825rem; color: #b45309; line-height: 1.6; }
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(114,47,55,0.25); }
.faq-item h3 {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
}
.faq-item p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.contact-block {
  text-align: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--gray-100);
}
.contact-block p { color: var(--gray-500); margin-bottom: 0.25rem; }
.contact-block a { color: var(--wine); font-weight: 600; }
.contact-block a:hover { text-decoration: underline; }

/* App screenshot */
.app-screenshot {
  margin: 2rem 0;
  text-align: center;
}
.app-screenshot__caption {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  font-style: italic;
}
.app-screenshot img {
  max-width: 280px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid var(--gray-200);
}
.lang-img { display: none; }
html[lang="fr"] .lang-img--fr { display: inline-block; }
html[lang="en"] .lang-img--en { display: inline-block; }

/* ===== PRIVACY PAGE ===== */
.privacy-content { max-width: 720px; margin: 0 auto; padding: 4rem var(--px); }
.summary-box {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}
.summary-box h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.summary-list { display: flex; flex-direction: column; gap: 0.5rem; }
.summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--gray-700);
}
.summary-list li svg {
  width: 16px;
  height: 16px;
  color: var(--wine);
  flex-shrink: 0;
  margin-top: 3px;
}
.policy-section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.policy-section:last-child { border-bottom: none; }
.policy-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.policy-section p,
.policy-section li {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
}
.policy-section p + p { margin-top: 0.75rem; }
.policy-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.policy-section strong { color: var(--gray-700); }
.policy-section a { color: var(--wine); }
.policy-section a:hover { text-decoration: underline; }
.policy-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 1rem 0 0.4rem;
}
.privacy-date {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

/* ===== LANG SWITCHER ===== */
.lang-switcher { display: flex; align-items: center; gap: 0.25rem; }
.lang-btn {
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray-500);
  transition: all 0.2s;
  font-family: inherit;
}
.lang-btn.active { background: var(--wine); color: #fff; border-color: var(--wine); }
.lang-btn:hover:not(.active) { border-color: var(--wine); color: var(--wine); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .features__grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ha-inner { flex-direction: column; gap: 2.5rem; }
  .ha-screenshot img { width: 100%; max-width: 280px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .page-header h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .hero { padding: 3.5rem var(--px) 3rem; }
  .hero__cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
