/* --- Global --- */
body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 20px;
  margin: 0;
  background: #f3f4f6;
  text-align: center;
  color: #333;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Logo onboou --- */
.brand {
  margin-top: 40px;
  margin-bottom: 10px;
}

.logo-wordmark {
  font-family: "Circular Std", "Poppins", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

/* --- Layout --- */
.main-layout {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 40px;
  margin-bottom: 50px;
}

/* --- Cartes --- */
.card {
  background: #fff;
  border-radius: 28px;
  padding: 26px 40px 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  flex: 1;
  min-width: 360px;
  max-width: 520px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- TITRES --- */
.card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.15em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 14px;
  color: #0d1b2a;
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* --- Images carrées --- */
.logo-activity,
.photo-profile {
  width: 320px;
  height: 320px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  margin-bottom: 34px;
}

.logo-activity {
  object-fit: contain;
}

/* --- Réseaux sociaux --- */
.social-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

.social-icon {
  display: inline-flex;
  width: 70px;
  height: 70px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.social-icon img {
  max-width: 110%;
  max-height: 110%;
  object-fit: contain;
}

/* tailles individuelles */
.social-icon.tiktok img { transform: scale(0.86); }
.social-icon.snapchat img { transform: scale(0.90); }

/* hover */
.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.18);
}

/* --- Bouton --- */
.btn {
  background: #1a47ff;
  color: white;
  padding: 20px 34px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.2em;
  transition: background 0.25s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.btn:hover {
  background: #0d2ccc;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  text-decoration: none;
}

/* --- Footer --- */
footer {
  margin: 30px 0 40px;
  color: #666;
  font-size: 1em;
}

/* ========================================================= */
/*                     VERSION MOBILE                        */
/* ========================================================= */

@media (max-width: 768px) {

  .brand {
    margin-top: 12px;
  }

  .logo-wordmark {
    font-size: 2.4rem;
  }

  .main-layout {
    margin-top: 8px;   /*espace entre le titre et la 1re carte */
    margin-bottom: 12px;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  /* Cartes un peu moins larges + moins de blanc en bas */
  .card {
  padding: 8px 18px 14px;   /* top / côtés / bas */
  width: 92%;
  max-width: 350px;
  min-width: 0;
  border-radius: 22px;
  margin: 0 auto;

  min-height: unset;
  justify-content: flex-start;
  flex: none;
}

  /* Titres plus petits sur mobile */
  .card h2 {
    font-size: 1.35em;
    margin-top: 0;
    margin-bottom: 4px;
  }

  .logo-activity {
    width: 220px;
    height: 220px;
    margin-bottom: 16px;
  }

  .photo-profile {
    width: 220px;
    height: 220px;
    margin-bottom: 2px;
  }

  /* Espace bas homogène entre les deux cartes */
  .btn {
    padding: 12px 20px;
    font-size: 1em;
    border-radius: 12px;
    width: auto;
    max-width: none;
  }

  .social-links {
    gap: 14px;              /* logos un peu plus rapprochés */
    margin-top: 10px;
    margin-bottom: 0;       /* même “fond” que la carte 1 */
  }

  .social-icon {
    width: 48px;
    height: 48px;
  }

footer {
    margin-top: 12px !important;
    margin-bottom: 24px !important;
    font-size: 0.8em;
  }
}