/* Styles de base pour ABMail.ai */

/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

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

/* Header */
.site-header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #6d28d9;
  text-decoration: none;
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    gap: 20px;
  }
}

.nav-item {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
}

.nav-item:hover, .nav-item.active {
  color: #6d28d9;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #6d28d9;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: #5b21b6;
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #4b5563;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background-color: white;
  padding: 20px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Section */
.section {
  padding: 60px 0;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Form Styles */
.contact-form-wrapper {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
  margin-bottom: 24px;
  color: #1f2937;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background-color: white;
}

.form-control:focus {
  border-color: #8b5cf6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

textarea.form-control {
  min-height: 100px;
}

/* Checkbox */
input[type="checkbox"] {
  margin-right: 8px;
}

/* Contact Info */
.contact-info {
  background-color: #6d28d9;
  color: white;
  padding: 30px;
  border-radius: 8px;
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-info-list {
  list-style: none;
}

.contact-info-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.contact-info-content h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

/* Map */
.map-section {
  background-color: #f3f4f6;
  padding: 60px 0;
}

.map-container {
  height: 400px;
  background-color: #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.875rem;
  font-weight: 700;
}

/* FAQ */
.faq-section {
  padding: 60px 0;
}

.faq-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
  font-weight: 600;
  margin-bottom: 10px;
  color: #1f2937;
}

.faq-answer {
  color: #4b5563;
}

.faq-cta {
  text-align: center;
  margin-top: 40px;
}

.faq-note {
  margin-bottom: 16px;
  color: #4b5563;
}

/* Newsletter */
.newsletter-section {
  background-color: #ede9fe;
  padding: 60px 0;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex-grow: 1;
}

.newsletter-disclaimer {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: white;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  gap: 30px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-description {
  color: #9ca3af;
  margin-bottom: 24px;
}

.footer-legal {
  color: #6b7280;
  font-size: 0.875rem;
}

.footer-heading {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 12px;
}

.footer-link a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-link a:hover {
  color: white;
}

.footer-payment-methods {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  color: #9ca3af;
  font-size: 1.5rem;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #374151;
  text-align: center;
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Form Grid */
.form-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background-color: #6d28d9;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  border: none;
  z-index: 99;
}

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