:root {
  --jaune: #ffd600;
  --jaune-soft: #6cff3b;
  --blanc: #ffffff;
}

/* Style page WEB 2026 */
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #000;
  color: var(--blanc);
  min-height: 100vh;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: url("../images/vagues.jpg") center/cover no-repeat fixed;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,40,0.4), rgba(0,0,0,0.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
}

/* ===== HEADER ===== */
header {
  text-align: center;
  color: var(--jaune);
}

header h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

header p {
  margin-top: .4rem;
  color: var(--jaune-soft);
  font-size: 1.2rem;
}

/* ===== SERVICES ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  padding: 1rem 1.2rem;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1rem;
  backdrop-filter: blur(6px);
  transition: .3s;
  cursor: default;
}

.service-card h3 {
  color: var(--jaune);
  text-transform: uppercase;
  font-size: 1rem;
}

.service-description {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: .3s;
  font-size: .9rem;
  margin-top: .4rem;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--jaune);
  background: rgba(0,0,0,0.8);
}

.service-card:hover .service-description {
  opacity: 1;
  max-height: 200px;
}

.service-card.highlight {
  border: 1px solid var(--jaune);
  box-shadow: 0 0 18px rgba(255,214,0,0.6);
}

.service-badge {
  display: inline-block;
  margin-top: .3rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--jaune);
  font-size: .7rem;
  color: var(--jaune-soft);
}

/* ===== ABOUT ===== */
.about-section {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.about-card {
  padding: 1.2rem;
  background: rgba(0,0,0,0.55);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: .3s;
  backdrop-filter: blur(6px);
}

.about-card h2 {
  color: var(--jaune);
  text-transform: uppercase;
  font-size: 1rem;
}

.about-text {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: .3s;
  margin-top: .4rem;
}

.about-card:hover {
  background: rgba(0,0,0,0.8);
  border-color: var(--jaune);
}

.about-card:hover .about-text {
  opacity: 1;
  max-height: 400px;
}

/* ===== CONTACT ===== */
.contact {
  margin-top: 2rem;
  text-align: center;
  color: var(--jaune-soft);
}

.contact a {
  color: var(--jaune);
  font-weight: bold;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
}
