/* --------------------------- */
/* style-activites.css v2      */
/* Version artistique & animée */
/* --------------------------- */

/* Import global */
@import url('style-global.css');

/* ---------------------------
   Corps de la page
---------------------------- */
body {
  background: linear-gradient(135deg, #e6f0ff, #f0f8ff, #ffffff);
  background-size: 300% 300%;
  animation: gradientMove 20s ease infinite;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s ease-in-out;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body.alt-background {
  background-image: url('../images/activites-bg-alt.jpg');
}

/* ---------------------------
   Hero Activités
---------------------------- */
.hero.hero-activites {
  position: relative;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-radius: 1rem;
  background: linear-gradient(135deg, #0077cc, #3399ff);
  color: #fff;
  overflow: hidden;
}

.hero.hero-activites::before {
  content: "";
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 70%),
              radial-gradient(circle at 70% 70%, rgba(0,0,0,0.15), transparent 70%);
  z-index: 0;
}

.hero .hero-text, .hero .hero-visual {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1.2s ease both;
}

.hero .kicker {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffdd57;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: 3rem;
  margin: 0.5rem 0 1rem 0;
  text-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.hero p.lead {
  font-size: 1.3rem;
  max-width: 650px;
  margin: 0 auto;
}

.hero .hero-visual img.responsive-img {
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  width: 100%;
  height: auto;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.hero .hero-visual img.responsive-img:hover {
  transform: scale(1.08) rotate(-2deg);
  filter: brightness(1.1);
}

/* ---------------------------
   Sections principales / Galerie activités
---------------------------- */
.section {
  padding: 4rem 2rem;
  background: rgba(255,255,255,0.97);
  border-radius: 1.2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease both;
}

.section::before {
  content: "";
  position: absolute;
  top:-20%; left:-20%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at center, rgba(0,119,204,0.05), transparent 70%);
  transform: rotate(25deg);
  z-index: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.card {
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: #0077cc;
}

.card img.responsive-img {
  width: 100%;
  border-radius: 0.8rem;
  margin-top: 0.5rem;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.card img.responsive-img:hover {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1.1);
}

/* ---------------------------
   Footer enrichi
---------------------------- */
.site-footer {
  background: linear-gradient(135deg, #0077cc, #005fa3);
  color: #fff;
  padding: 3rem 1rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: url('../images/pattern.svg') repeat;
  opacity: 0.05;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer a:hover {
  color: #ffdd57;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* ---------------------------
   Boutons
---------------------------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, #0077cc, #3399ff);
  color: #fff;
  border-radius: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #005fa3, #0077cc);
}

.btn-outline {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: 2px solid #fff;
  border-radius: 0.8rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #fff;
  color: #0077cc;
  transform: translateY(-2px);
}

/* ---------------------------
   Animations globales
---------------------------- */
@keyframes fadeInUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
