﻿/* Body et fond général */
body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  margin: 0;
  padding: 2rem 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* Container principal */
.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}
/* Paragraphes de base */
p {
  text-align: center;
  margin: 0;
  line-height: 1.6;
}
/* Section de commentaire */
.comment {
  width: 100%;
  max-width: 500px;
  background: linear-gradient(145deg, #ffffff, #f1f3f6);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-align: justify;
  color: #495057;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Bouton stylisé */
.button-text {
  font-size: 1.25rem;
  color: #6c757d;
  font-weight: 500;
  transition: color 0.3s ease;
}
.button-text:hover {
  color: #495057;
}
/* Images dans le container */
.container img {
  display: block;
  margin: 0 auto 2rem auto;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.8);
}
/* Formulaires */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem auto;
  padding: 2rem;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}
/* Inputs et textarea */
input, textarea {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}
input:focus, textarea:focus {
  outline: none;
  border-color: #64748b;
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.1);
  background: rgba(255, 255, 255, 1);
}

/* SUPPRIMEZ CETTE SECTION COMPLÈTEMENT (lignes 69-78) :
button, input[type="submit"] {
  background: linear-gradient(135deg, #64748b, #475569);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}
button:hover, input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(100, 116, 139, 0.3);
}
*/

/* Bouton de soumission (version corrigée qui exclut .btn-modern) */
button:not(.btn-modern), input[type="submit"] {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}
button:not(.btn-modern):hover, input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(100, 116, 139, 0.3);
}

/* Bouton vert moderne */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
    margin-top: 1rem;
}
.btn-modern:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

/* Responsive design */
@media (max-width: 600px) {
  .container {
    max-width: 100%;
    padding: 0 0.5rem;
  }
  
  .comment {
    padding: 0.75rem;
  }
  
  .button-text {
    font-size: 1.125rem;
  }
}

.btn-centered {
  display: block;
  margin: 2rem auto 0;
}

