/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

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

/* Header */
.header {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(255, 107, 107, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  gap: 0.5rem;
}

.logo i {
  font-size: 1.8rem;
  color: #ffe0e0;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e, #ffa8a8);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Privacy Section */
.privacy-section {
  padding: 4rem 0;
  background: white;
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.privacy-content h1 {
  color: #ff6b6b;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: #666;
  font-style: italic;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f0f0f0;
}

/* Table of Contents */
.table-of-contents {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 3rem;
  border-left: 4px solid #ff6b6b;
}

.table-of-contents h3 {
  color: #ff6b6b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.table-of-contents ul {
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}

.table-of-contents li {
  margin-bottom: 0.5rem;
  break-inside: avoid;
}

.table-of-contents a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.table-of-contents a:hover {
  color: #ff6b6b;
}

/* Sections */
.section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.section:last-child {
  border-bottom: none;
}

.section h2 {
  color: #ff6b6b;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ffe0e0;
}

.section h3 {
  color: #333;
  font-size: 1.3rem;
  margin: 2rem 0 1rem 0;
  font-weight: 600;
}

.section h4 {
  color: #555;
  font-size: 1.1rem;
  margin: 1.5rem 0 0.8rem 0;
  font-weight: 600;
}

.section p {
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.7;
}

.section ul,
.section ol {
  margin: 1rem 0 1rem 2rem;
}

.section li {
  margin-bottom: 0.5rem;
  color: #555;
  line-height: 1.6;
}

.section li strong {
  color: #333;
}

/* Highlight boxes */
.highlight-box {
  background: linear-gradient(135deg, #fff5f5, #ffe0e0);
  border: 1px solid #ffb3b3;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #ff6b6b;
}

.important-box {
  background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
  border: 1px solid #b3d9ff;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #4a90e2;
}

/* Contact info */
.contact-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1rem 0;
  border-left: 4px solid #ff6b6b;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* Table */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  font-weight: 600;
}

tr:hover {
  background: #f8f9fa;
}

/* Final note */
.final-note {
  background: linear-gradient(135deg, #fff5f5, #ffe0e0);
  padding: 2rem;
  border-radius: 15px;
  margin-top: 3rem;
  text-align: center;
  border: 2px solid #ffb3b3;
}

.final-note p {
  margin-bottom: 1rem;
  color: #333;
}

.final-note p:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  gap: 0.5rem;
}

.footer-logo i {
  color: #ff6b6b;
  font-size: 1.8rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff6b6b;
}

.footer-copyright {
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    gap: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .privacy-content {
    padding: 2rem 1.5rem;
    margin: 0 15px;
  }

  .privacy-content h1 {
    font-size: 2rem;
  }

  .table-of-contents ul {
    columns: 1;
  }

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

  .section h3 {
    font-size: 1.2rem;
  }

  .footer-content {
    text-align: center;
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .privacy-content {
    padding: 1.5rem 1rem;
  }

  .section ul,
  .section ol {
    margin-left: 1rem;
  }

  .highlight-box,
  .important-box,
  .contact-info {
    padding: 1rem;
  }

  th,
  td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Contact Page Styles */
.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
}

.contact-section {
  padding: 4rem 0;
  background: #fafafa;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-intro h2 {
  color: #ff6b6b;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-intro p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* Formulaire de contact */
.contact-form-container {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
  color: #ff6b6b;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: "Inter", sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group small {
  display: block;
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  margin: 2rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-label a {
  color: #ff6b6b;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.submit-btn {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Informations de contact */
.contact-info-container {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info-container h3 {
  color: #ff6b6b;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-icon {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h4 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-details p {
  color: #555;
  margin-bottom: 0.3rem;
  line-height: 1.6;
}

.contact-details a {
  color: #ff6b6b;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-details small {
  color: #888;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.faq-section h3 {
  color: #ff6b6b;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid #ff6b6b;
}

.faq-item h4 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.faq-item a {
  color: #ff6b6b;
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
}

/* Success/Error Messages */
.form-message {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-container,
  .contact-info-container,
  .faq-section {
    padding: 2rem 1.5rem;
  }

  .contact-intro h2 {
    font-size: 2rem;
  }

  .contact-intro p {
    font-size: 1.1rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact-icon {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 2rem 0;
  }

  .contact-form-container,
  .contact-info-container,
  .faq-section {
    padding: 1.5rem 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.8rem;
  }

  .submit-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}
