@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
  --primary: #ffcc00;
  --dark: #1a1d23;
  --white: #fff;
  --gray: #f4f4f7;
  --text: #333;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
header {
  position: fixed;
  width: 100%;
  padding: 15px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark);
  z-index: 1000;
}

.logo-icon {
  height: 40px;
}

/* MENU */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

nav {
  display: flex;
}

nav a {
  color: white;
  margin-left: 25px;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-decoration: none;
}

nav a.active,
nav a:hover {
  color: var(--primary);
}

/* HERO */
.hero {
  height: 100vh;
  padding: 0 8%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.7);
}

.hero-content {
  position: relative;
  color: white;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 25px;
  border-left: 4px solid var(--primary);
  padding-left: 15px;
}

/* BUTTON */
.btn-primary {
  background: var(--primary);
  padding: 12px 25px;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
}

/* SECTIONS */
.section-light {
  padding: 100px 8%;
  flex: 1;
}

/* GRID */
.grid-3 {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
}

/* CARDS */
.card {
  background: white;
  border: 1px solid #eee;
  transition: 0.3s;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3, .card p {
  padding: 15px;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

/* CONTACT */
.contact-form {
  max-width: 600px;
  margin: auto;
  background: var(--gray);
  padding: 30px;
  border-radius: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* TEAM */
.contact-team {
  margin-top: 50px;
}

.team-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
}

.team-card {
  background: white;
  padding: 20px;
  border: 1px solid #eee;
  transition: 0.3s;
}

.team-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

/* FOOTER */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 20px;
}

/* MOBILE */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    display: none;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 0;
    padding: 15px;
    border-top: 1px solid #333;
  }

  .hero {
    height: 80vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
} 
/* ===== FIX PAGES ACTIVITES & ATELIER ===== */

.grid-2 {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
}

.service-box {
  background: white;
  border: 1px solid #eee;
  transition: 0.3s;
}

.service-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-box h3 {
  padding: 15px;
}

.service-box p {
  padding: 0 15px 15px;
  white-space: pre-line;
}

.service-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

/* HERO SMALL */
.hero-small {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-small::after {
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.7);
}

/* REALISATIONS */
.realisations img {
  width:100%;
  height:250px;
  object-fit:cover;
}


.trust-bar{background:#f5f5f5;padding:15px;text-align:center;font-weight:600}
.call-btn{position:fixed;bottom:20px;right:20px;background:#0f6d36;color:#fff;padding:12px 18px;border-radius:30px;text-decoration:none;z-index:9999}
img{max-width:100%;height:auto}
