/* ==== RESET & GLOBAL ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* ==== CONTAINERS ==== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

/* ==== HEADER ==== */
.header {
  background: white;
  border-bottom: 1px solid #eaeaea;
}

.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
}

.logo-big {
  height: 100px;
  max-width: 100%;
}

.btn-header {
  background: #1a1a1a;
  color: white;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-header:hover {
  background: #333;
}

/* ==== HERO ==== */
.hero {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  text-align: center;
  padding: 100px 20px;
}

.hero h1,
.hero h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 30px;
}

.btn {
  background: #1a1a1a;
  color: white;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background: #333;
  transform: translateY(-3px);
}

/* ==== ONGLET PROFILS ==== */
.tabs-container {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.05);
  margin-bottom: 60px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.tab-buttons button {
  background: #f2f2f2;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-buttons button.active {
  background: #1a1a1a;
  color: white;
}

.tab-content {
  display: none;
  text-align: center;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-content h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.tab-content p {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==== STATS ==== */
.stats .numbers {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  text-align: center;
}

.stats .numbers div {
  font-size: 1.4rem;
}

.stats .numbers strong {
  font-size: 2rem;
  display: block;
  font-weight: 800;
  color: #000;
}

.stats .numbers i {
  display: block;
  margin-bottom: 10px;
  color: #F5E737;
}

.temoignage {
  font-style: italic;
  text-align: center;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #444;
}

.temoignage span {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
  color: #222;
}

/* ==== DASHBOARD CARDS ==== */
.dashboard-cards .cards-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.dashboard-cards .card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.dashboard-cards .card:hover {
  transform: translateY(-5px);
}

.dashboard-cards .card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.dashboard-cards .card p {
  font-size: 1rem;
  color: #444;
}

.dashboard-cards .image-card {
  padding: 0;
}

.dashboard-cards .image-card img {
  width: 100%;
  border-radius: 16px 16px 0 0;
  display: block;
}

/* ==== FORMULAIRES MEMBRE ==== */
.form-container {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

form label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: #1a1a1a;
}

form input[type="email"],
form input[type="text"],
form input[type="tel"],
form input[type="password"] {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

form input:focus {
  border-color: #6D3EF4;
  outline: none;
}

.form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.form-checkbox input[type="checkbox"] {
  margin-right: 10px;
}

.form-error {
  color: #d93025;
  background: #ffeaea;
  border: 1px solid #d93025;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.btn-form {
  width: 100%;
  background-color: #6D3EF4;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

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

/* Password toggle (œil) */
.password-toggle {
  position: relative;
}

.password-toggle input {
  padding-right: 40px;
}

.password-toggle .toggle-eye {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.1rem;
  color: #888;
}

/* ==== FOOTER ==== */
footer {
  background: #1a1a1a;
  color: white;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: #ccc;
  margin-left: 10px;
  text-decoration: underline;
}

footer a:hover {
  color: white;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .hero h1, .hero h2 {
    font-size: 2rem;
  }

  .tab-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .stats .numbers {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .form-container {
    padding: 25px;
  }
}
