/* ===== MOBILE RESPONSIVE - CONTACT PAGE ===== */

/* Tablettes et écrans intermédiaires (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    padding: 2rem 1.5rem;
  }

  .hero--sm {
    padding: 1.5rem 0;
  }

  .hero--sm h1 {
    font-size: 2rem;
    line-height: 1.35;
  }

  .hero--sm p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .contact-container {
    padding: 2rem 0;
  }

  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact__form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .contact__form {
    padding: 1.5rem;
  }

  .form__group {
    margin-bottom: 1rem;
  }

  .form__group input,
  .form__group select,
  .form__group textarea {
    padding: 0.7rem;
    font-size: 0.95rem;
  }

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

  .contact__info-card {
    padding: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .quick-faq {
    padding: 2rem 0;
  }

  .quick-faq h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .faq__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .quick-contact {
    gap: 0.8rem;
  }

  .quick-contact input,
  .quick-contact button {
    padding: 0.7rem;
    font-size: 0.95rem;
  }
}

/* Petits écrans et tablettes (max 767px) */
@media (max-width: 767px) {
  .container {
    padding: 1.5rem 1rem;
  }

  /* Hero Section */
  .hero--sm {
    padding: 1.2rem 0;
  }

  .hero--sm h1 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .hero--sm p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
  }

  /* Main Content */
  .contact-container {
    padding: 1.5rem 0;
  }

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

  /* Form Section */
  .contact__form-section {
    padding: 0 0;
  }

  .contact__form-section h2 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .contact__form-section>p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 300;
  }

  .contact__form {
    padding: 1.2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
  }

  .form__group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
  }

  .form__group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #333;
  }

  .form__group input,
  .form__group select,
  .form__group textarea {
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 300;
  }

  .form__group input:focus,
  .form__group select:focus,
  .form__group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  }

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

  .form__note {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.4rem;
  }

  .contact__form .btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  /* Info Section */
  .contact__info-section {
    padding: 0 0;
  }

  .contact__info-section h2 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    text-align: center;
  }

  .contact__info-card {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
  }

  .contact__info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--primary);
  }

  .contact__info-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.3rem;
    font-weight: 300;
  }

  .contact__info-card a {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    word-break: break-word;
  }

  .contact__detail {
    font-size: 0.8rem;
    color: #666;
  }

  /* Expectations */
  .contact__expectations {
    padding: 1rem;
    margin: 1.2rem 0;
    background-color: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
  }

  .contact__expectations h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--primary);
  }

  .expectations__list {
    padding-left: 1.2rem;
  }

  .expectations__list li {
    font-size: 0.95rem;
    padding: 0.3rem 0;
    line-height: 1.6;
    font-weight: 300;
  }

  /* Social Links */
  .contact__social {
    padding: 0 0;
  }

  .contact__social h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-align: center;
  }

  .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
  }

  .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 1rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .social-links a:active {
    transform: scale(0.95);
  }

  /* Testimonials */
  .testimonial {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-top: 3px solid var(--orange);
  }

  .testimonial p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
    font-style: italic;
    font-weight: 300;
  }

  .testimonial__author {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
  }

  /* FAQ Section */
  .quick-faq {
    padding: 1.5rem 0;
  }

  .quick-faq h2 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    text-align: center;
  }

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

  .faq__item {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
  }

  .faq__item:active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .faq__item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--primary);
  }

  .faq__item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    font-weight: 300;
  }

  /* CTA Section */
  .final-cta {
    padding: 1.5rem 0;
    text-align: center;
  }

  .final-cta h2 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .final-cta p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-weight: 300;
  }

  /* Quick Contact Form */
  .quick-contact {
    flex-direction: column;
    gap: 0.6rem;
    max-width: 100%;
  }

  .quick-contact input {
    min-width: 100%;
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 300;
  }

  .quick-contact input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  }

  .quick-contact button {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .quick-contact button:active {
    transform: translateY(-1px);
  }
}

/* Très petits écrans (max 480px) */
@media (max-width: 480px) {
  .container {
    padding: 1rem 0.75rem;
  }

  /* Hero Section */
  .hero--sm {
    padding: 0.8rem 0;
  }

  .hero--sm h1 {
    font-size: 2rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .hero--sm p {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
  }

  /* Main Content */
  .contact-container {
    padding: 1rem 0;
  }

  .contact__wrapper {
    gap: 1.2rem;
  }

  /* Form Section */
  .contact__form-section h2 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .contact__form-section>p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-weight: 300;
  }


  .contact__form {
    padding: 1rem;
  }

  .form__group {
    margin-bottom: 0.8rem;
  }

  .form__group label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }

  .form__group input,
  .form__group select,
  .form__group textarea {
    padding: 0.5rem;
    font-size: 0.95rem;
    font-weight: 300;
  }

  .form__group textarea {
    min-height: 100px;
  }

  .form__note {
    font-size: 0.7rem;
    margin-top: 0.3rem;
  }

  .contact__form .btn {
    padding: 0.6rem;
    font-size: 0.8rem;
  }

  /* Info Section */
  .contact__info-section h2 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .contact__info-card {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-left-width: 3px;
  }

  .contact__info-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  .contact__info-card p {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    font-weight: 300;
  }

  .contact__info-card a {
    font-size: 0.8rem;
  }

  .contact__detail {
    font-size: 0.75rem;
  }

  /* Expectations */
  .contact__expectations {
    padding: 0.8rem;
    margin: 1rem 0;
  }

  .contact__expectations h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .expectations__list {
    padding-left: 1rem;
  }

  .expectations__list li {
    font-size: 0.85rem;
    padding: 0.2rem 0;
    line-height: 1.5;
    font-weight: 300;
  }

  /* Social */
  .contact__social h3 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 0.8rem;
  }

  .social-links {
    gap: 0.6rem;
  }

  .social-links a {
    min-width: 40px;
    min-height: 40px;
    font-size: 0.9rem;
  }

  /* Testimonials */
  .testimonial {
    padding: 0.8rem;
    margin-bottom: 0.6rem;
    border-top-width: 3px;
  }

  .testimonial p {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 300;
  }

  .testimonial__author {
    font-size: 0.75rem;
  }

  /* FAQ */
  .quick-faq {
    padding: 1rem 0;
  }

  .quick-faq h2 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .faq__item {
    padding: 0.8rem;
  }

  .faq__item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .faq__item p {
    font-size: 0.85rem;
    font-weight: 300;
  }

  /* CTA */
  .final-cta {
    padding: 1rem 0;
  }

  .final-cta h2 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .final-cta p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 300;
  }

  /* Quick Contact */
  .quick-contact {
    gap: 0.5rem;
  }

  .quick-contact input {
    padding: 0.5rem;
    font-size: 0.95rem;
    font-weight: 300;
  }

  .quick-contact button {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
}