/* Styles pour les pages secondaires (merci, mentions légales)
   Utilise les mêmes variables que le thème original */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');

:root {
  --primary-blue: #035083;
  --orange: #FC8915;
  --text-color: #404040;
  --whatsapp-green: #25D366;
}

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

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

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header simplifié pour pages secondaires */
.page-header {
  background: var(--primary-blue);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.page-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-header .logo img {
  height: 40px;
  width: auto;
}

.page-header nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 20px;
  transition: color 0.3s;
}

.page-header nav a:hover {
  color: #fff;
}

.page-header .header-phone {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.page-header .header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--whatsapp-green);
  color: #fff;
  border-radius: 50%;
  margin-left: 10px;
}

/* Page Merci */
.thank-you-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
}

.thank-you-content h1 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.thank-you-subtitle {
  font-size: 1.1rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.thank-you-contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.thank-you-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Page Mentions légales */
.legal-page {
  padding: 40px 20px 60px;
}

.legal-page h1 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.legal-page p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-page a {
  color: var(--orange);
}

.legal-page a:hover {
  text-decoration: underline;
}

/* Boutons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-blue);
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #02405f;
  color: #fff;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp-green);
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn-whatsapp:hover {
  background: #1fb855;
  color: #fff;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--primary-blue);
  font-weight: 500;
  text-decoration: underline;
}

.back-link:hover {
  color: var(--orange);
}

/* Footer */
.page-footer {
  background: #1a1e2e;
  color: rgba(255,255,255,0.6);
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
}

.page-footer a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.page-footer a:hover {
  color: var(--orange);
}

.page-footer p {
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .page-header nav { display: none; }
  .thank-you-content h1 { font-size: 1.5rem; }
  .thank-you-buttons { flex-direction: column; align-items: center; }
}
