/* Titre du formulaire bleu (mutualisé) */
.form-section h2,
.contact-form h2,
.form-title {
  color: #005fa3 !important;
}

/* Layout spécifique pour la grille de paiement */
.paiement-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.paiement-row {
    display: flex;
    gap: 20px;
}
.paiement-row:first-child {
    justify-content: flex-start;
}
.paiement-row:last-child {
    justify-content: flex-start;
}
.paiement-row .payment-card {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}
.paiement-row:last-child .paiement-bancaire {
    max-width: 500px;
}
@media (max-width: 900px) {
    .paiement-row {
        flex-direction: column;
    }
}
/* Styles hero-image supprimés car image en avant-plan retirée */

/* Section logo en haut de la page d'accueil */
.logo-section {
  text-align: center;
  margin: 20px auto 30px auto;
  max-width: 1200px;
  padding: 0 15px;
}

.homepage-logo {
  max-width: 414px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px;
}

.welcome-title {
  font-size: 64px;
  background: linear-gradient(to bottom, #001f3f, #005fa3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 20px 0 10px 0;
  text-align: center;
  font-weight: bold;
  position: relative;
}

.welcome-title::after {
  content: "Bienvenue";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 119, 204, 0.5), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scaleY(-1);
  opacity: 0.6;
  z-index: -1;
}

/* Contenu d'introduction sur la page d'accueil */
.intro-content {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 30px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Liste des services sur la page d'accueil */
.services-list {
  list-style: disc;
  padding: 0;
  margin: 20px auto 30px auto;
  max-width: 600px;
  text-align: left;
  padding-left: 20px;
}

.services-list li {
  margin-bottom: 10px;
  font-weight: bold;
  text-align: left;
  color: #333;
  font-size: 18px;
}

/* Responsive pour l'image hero supprimé */
@media (max-width: 768px) {
  .intro-text {
    font-size: 1.1em;
    padding: 0 20px;
  }
}

/* Image de fond pour la page d'accueil - élimination maximale des marges */
.background-image {
  width: calc(100% + 80px);
  position: relative;
  left: -40px;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: calc(1200px + 80px);
  margin-left: auto;
  margin-right: auto;
}

.homepage-background {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: block;
  opacity: 0.4;
}

/* Contenu overlay par-dessus l'image - texte seulement */
.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  z-index: 10;
  padding: 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  color: white;
  font-weight: 600;
}

/* Image de fond pleine page */
body {
  background: url('/wp-content/themes/clic-informatique/images/fond02.webp?v=20251029') center/cover no-repeat fixed;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

/* Overlay pour améliorer la lisibilité du texte */
body.home .main-content, body.page-template-index .main-content, body .main-content {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  max-width: 1200px;
  position: relative;
  z-index: 10;
}

/* S'assurer que tout le contenu soit visible */
.background-image, .container, .page-title, .service-cards-container, .main-content, header, footer {
  position: relative;
}

/* Titre bleu uniquement pour la page paiement */
.paiement-title {
    color: #005fa3 !important;
    border-bottom: 3px solid #005fa3;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/*
Theme Name: Clic-Informatique
Description: Thème personnalisé pour Clic-Informatique, service informatique à Lévis. Design moderne et responsive avec optimisations pour l'accessibilité et le SEO.
Version: 1.0.0
Author: Clic-Informatique
Text Domain: clic-informatique
*/

/* Reset de base - Compatible tous navigateurs */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, ul, li, form, input, textarea, select, button {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Structure générale des pages */
.page-title {
    color: #005fa3;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-bottom: 3px solid #005fa3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-content {
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 18px;
    line-height: 1.7;
}

/* Titres de sections */
.section-title {
    color: #005fa3;
    font-size: 24px;
    font-weight: bold;
    margin: 40px auto 30px auto;
    text-align: center;
    max-width: 1200px;
    padding: 0 20px 15px 20px;
    border-bottom: 2px solid #005fa3;
    position: relative;
}

.section-title:first-of-type {
    margin-top: 20px;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 15px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.logo a {
    color: #ffffff;
    text-decoration: none;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    display: inline-block;
    margin-right: 30px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.main-nav a:hover {
    color: #74b9ff;
}

/* Contenu principal */
.main-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.page-title {
    font-size: 36px;
    color: #005fa3;
    margin-bottom: 30px;
    text-align: center;
}

.page-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Services - Layout en colonnes avec Flexbox */
.services-container {
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.service-card {
    background-color: #f9f9f9;
    color: #333;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex: 1;
    min-width: 300px;
    max-width: calc(50% - 10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

/* Pour une seule carte, elle prend la largeur de 2 cartes + l'espace */
.services-container .service-card:only-child {
    max-width: 100%;
    flex: 1 1 100%;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.service-title {
    color: #005fa3;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #005fa3;
    margin: 15px 0;
    text-align: center;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
    font-style: italic;
    font-size: 14px;
}

/* Listes dans les cartes de service */
.service-card ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
    text-align: left;
}

.service-card li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    color: #333;
    margin-bottom: 8px;
}

.service-card li:before {
    content: "✓";
    color: #005fa3;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-card li:last-child {
    margin-bottom: 0;
}

/* Responsive - Sur mobile, les cartes prennent toute la largeur */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
    }
    
    .service-card {
        max-width: 100%;
        min-width: 100%;
    }
}

/* Call to Action Section */
.contact-cta {
    background: #005fa3;
    color: white;
    padding: 40px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1200px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

.contact-cta h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-cta p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #005fa3;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Formulaires - Sans width 100% problématique */
.contact-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    margin: 30px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-input,
.form-textarea,
.form-select {
    display: block;
    padding: 12px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    /* Pas de largeur fixe pour éviter les conflits padding/border */
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #3498db;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.btn:hover {
    background-color: #2980b9;
    color: #ffffff;
    text-decoration: none;
}

/* Tables */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eeeeee;
}

.pricing-table th {
    background-color: #2c3e50;
    color: #ffffff;
    font-weight: 600;
}

.pricing-table .price {
    font-weight: bold;
    color: #3498db;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive - Sans Flexbox/Grid */
@media screen and (max-width: 768px) {
    .main-nav li {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .contact-form {
        margin: 15px;
        padding: 15px;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        width: 100%;
        max-width: 400px;
    }
    
    .service-card,
    .page-content {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .page-title {
        font-size: 24px;
    }
    
    .main-content {
        padding: 0 10px;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        width: 100%;
        max-width: 280px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Layout spécifique pour la grille de paiement */
.paiement-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.paiement-row {
  display: flex;
  gap: 20px;
}
.paiement-row:first-child {
  justify-content: flex-start;
}
.paiement-row:last-child {
  justify-content: flex-start;
}
.paiement-row .service-card {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}
.paiement-row:last-child .paiement-bancaire {
  max-width: 500px;
}
.service-card-spacer {
  flex: 1;
  min-width: 280px;
}
@media (max-width: 900px) {
  .paiement-row {
    flex-direction: column;
  }
  .service-card-spacer {
    display: none;
  }
}

/* Styles pour le formulaire de paiement en ligne */
.payment-form {
  background: #f0f8ff;
  border: 2px solid #005fa3;
  border-radius: 8px;
  padding: 25px;
  margin: 30px auto;
  max-width: 600px;
}

.form-title {
  color: #005fa3;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.form-grid {
  display: grid;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
  text-align: left;
}

.form-group input,
.form-group select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #005fa3;
  box-shadow: 0 0 5px rgba(0, 119, 204, 0.3);
}

.price-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.currency {
  background: #005fa3;
  color: white;
  padding: 12px 15px;
  border-radius: 4px;
  font-weight: bold;
}

.submit-btn {
  background: #005fa3;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  width: 100%;
}

.submit-btn:hover {
  background: #005fa3;
  transform: translateY(-2px);
}

.security-note {
  background: #fffacd;
  border: 1px solid #ffd700;
  border-radius: 5px;
  padding: 15px;
  margin: 20px auto;
  text-align: center;
  max-width: 600px;
}

.security-note p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Responsive pour le formulaire */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .payment-form {
    padding: 20px;
    margin: 20px 15px;
  }

  .price-input {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Carte de paiement en ligne - même style que les autres cartes */
.payment-online-card {
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

.payment-online-card .form-grid {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.payment-online-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.payment-online-card .form-group {
  display: flex;
  flex-direction: column;
}

.payment-online-card .form-group.full-width {
  grid-column: 1 / -1;
}

.payment-online-card label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #005fa3;
  text-align: left;
  font-size: 14px;
}

.payment-online-card input,
.payment-online-card select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.payment-online-card input:focus,
.payment-online-card select:focus {
  outline: none;
  border-color: #005fa3;
  box-shadow: 0 0 5px rgba(0, 119, 204, 0.3);
}

.payment-online-card .price-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-online-card .currency {
  background: #005fa3;
  color: white;
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}

.payment-online-card .submit-btn {
  background: #005fa3;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  width: 100%;
}

.payment-online-card .submit-btn:hover {
  background: #005fa3;
  transform: translateY(-2px);
}

.security-note-inline {
  background: #fffacd;
  border: 1px solid #ffd700;
  border-radius: 5px;
  padding: 12px;
  margin-top: 20px;
  text-align: center;
}

.security-note-inline p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* Responsive pour la carte de paiement */
@media (max-width: 768px) {
  .payment-online-card .form-row {
    grid-template-columns: 1fr;
  }

  .payment-online-card .price-input {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   Styles pour la page À propos
   ========================================================================== */

/* Container principal des cartes À propos */
.about-cards-container {
  display: flex;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

/* Style général des cartes */
.about-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Carte de contenu (texte) */
.about-content-card {
  flex: 2;
  min-width: 300px;
}

/* Carte photo */
.about-photo-card {
  flex: 1;
  min-width: 250px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Container de l'image */
.about-image {
  margin-bottom: 20px;
}

/* Photo de Sylvain */
.sylvain-photo {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.sylvain-photo:hover {
  transform: scale(1.05);
}

/* Légende de la photo */
.photo-caption {
  margin-top: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #005fa3;
  text-align: center;
}

/* Liste des formations */
.education-list {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #005fa3;
  margin: 20px 0;
}

.education-list li {
  margin-bottom: 8px;
  color: #333;
}

/* Boîte de mise en évidence */
.highlight-box {
  background: linear-gradient(135deg, #005fa3, #004d99);
  color: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0,119,204,0.3);
}

.highlight-box p {
  margin: 0;
  font-size: 18px;
}

/* Section FAQ */
.faq-section {
  margin-top: 50px;
}

.faq-section h2 {
  color: #005fa3;
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-question {
  background: #005fa3;
  color: white;
  padding: 20px;
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.faq-answer {
  padding: 25px;
}

.faq-answer p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive pour tablettes */
@media (max-width: 768px) {
  .about-cards-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .about-content-card,
  .about-photo-card {
    flex: 1;
    min-width: auto;
  }
  
  .sylvain-photo {
    max-width: 250px;
  }
}

/* Responsive pour mobiles */
@media (max-width: 480px) {
  .about-card {
    padding: 20px;
  }
  
  .faq-question {
    padding: 15px;
    font-size: 18px;
  }
  
  .faq-answer {
    padding: 20px;
  }
  
  .highlight-box {
    padding: 15px;
  }
  
  .highlight-box p {
    font-size: 16px;
  }
}

/* ==========================================================================
   Styles pour la page Contact
   ========================================================================== */

/* Layout principal de contact */
.contact-layout {
  display: flex;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

/* Section informations de contact */
.contact-info {
  flex: 1;
  min-width: 300px;
}

/* Carte d'informations de contact */
.contact-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 30px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-card h3 {
  color: #005fa3;
  font-size: 24px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.contact-card p {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Photo signature */
.signature-photo {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 12px;
  margin: 15px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.signature-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Carte importante AnyDesk */
.important-card {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(255,107,107,0.3);
  overflow: hidden;
  margin-bottom: 20px;
  animation: pulse-border 3s infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 6px 20px rgba(255,107,107,0.3); }
  50% { box-shadow: 0 8px 25px rgba(255,107,107,0.5); }
}

.important-header {
  background: rgba(0,0,0,0.1);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.important-header h3 {
  color: white;
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.warning-icon {
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.important-content {
  padding: 20px;
  color: white;
}

.important-content p {
  margin-bottom: 15px;
  font-weight: 500;
}

/* Bouton de téléchargement AnyDesk */
.anydesk-download {
  margin: 20px 0;
  text-align: center;
}

.download-btn {
  display: inline-block;
  background: #ffffff;
  color: #333;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.download-icon {
  margin-right: 8px;
  font-size: 18px;
}

.note {
  font-style: italic;
  font-size: 14px;
  opacity: 0.9;
}
/* Section formulaire */
.form-section {
  flex: 2;
  min-width: 400px;
}

/* Titre du formulaire */
.form-title {
  text-align: center;
  margin-bottom: 30px;
  padding: 25px;
  background: linear-gradient(135deg, #005fa3, #004d99);
  color: white;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,119,204,0.3);
}

.form-title-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.form-icon {
  font-size: 2em;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.form-title-text {
  font-size: 26px;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.form-title-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  opacity: 0.95;
  font-style: italic;
}

.service-icon {
  font-size: 1.3em;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

/* Messages de statut */
.success-message {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

.success-message h3 {
  margin-top: 0;
  font-size: 24px;
}

.error-message {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(220,53,69,0.3);
}

/* Détails de succès */
.success-details {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.recap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 15px 0;
}

.recap-item {
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 6px;
  border-left: 3px solid white;
}

.recap-item-full {
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 6px;
  margin-top: 15px;
}

/* Étapes suivantes */
.next-steps {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.next-steps ul {
  margin: 10px 0;
  padding-left: 20px;
}

.next-steps li {
  margin-bottom: 8px;
}

/* Bouton nouvelle demande */
.new-request-section {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.3);
}

.new-request-btn {
  background: #ffffff;
  color: #28a745;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.new-request-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.new-request-note {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.8;
}

/* Formulaire amélioré */
.contact-form {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 30px;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

.form-group.full-width {
  flex: none;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 18px;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #005fa3;
  box-shadow: 0 0 0 3px rgba(0,119,204,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Bouton de soumission */
.submit-btn {
  background: linear-gradient(135deg, #005fa3, #004d99);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0,119,204,0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #0066b3, #003d80);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,119,204,0.4);
}

/* Notice de confidentialité */
.privacy-notice {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  border-left: 4px solid #005fa3;
}

.privacy-notice a {
  color: #005fa3;
  text-decoration: none;
}

.privacy-notice a:hover {
  text-decoration: underline;
}

/* Info de réponse */
.form-response-info {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
  text-align: center;
}

/* Responsive pour tablettes */
@media (max-width: 768px) {
  .contact-layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-info,
  .form-section {
    flex: none;
    min-width: auto;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .recap-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive pour mobiles */
@media (max-width: 480px) {
  .contact-card,
  .contact-form {
    padding: 20px;
  }
  
  .form-title {
    padding: 20px;
  }
  
  .form-title-text {
    font-size: 22px;
  }
  
  .form-title-sub {
    font-size: 16px;
  }
  
  .important-content {
    padding: 15px;
  }
  
  .download-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

