:root {
  --clr-bg:       #191919;
  --clr-alt-bg:   #f4f4f4;
  --clr-text:     #f4f4f4;
  --clr-dark:     #2c2c2c;
  --clr-accent:   #be5b18;     /* accent mis à jour */
  --ff-heading:   'Montserrat', sans-serif;
  --ff-body:      'Open Sans', sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .5px;
  transition: background .3s, transform .2s;
}
.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-bg);
  text-decoration: none;
}
.btn--primary:hover {
  background: #bb6b20;        /* hover mis à jour */
  transform: translateY(-2px);
}
.btn--secondary {
  background: var(--clr-text);
  color: var(--clr-bg);
}
.btn--secondary:hover {
  background: #e0e0e0;
}

/* Header transparent */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 1rem 0;
}
.header .logo,
.header .nav a {
  color: #ffffff;
}
.header .nav a:hover {
  color: var(--clr-accent);
}

/* Navigation */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  text-decoration: none;
}
.logo span {
  color: var(--clr-accent);
}
.nav a {
  margin-left: 2rem;
  font-family: var(--ff-heading);
  transition: color .2s;
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  background: url('../images/hero1.jpg') center/cover no-repeat;
  position: absolute;
  inset: 0;
  transform: scale(1.1);
  transition: transform 20s linear;
}
.hero:hover .hero__bg {
  transform: scale(1);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero__content h1 {
  font-family: var(--ff-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero__content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Sections */
.section {
  padding: 6rem 0;
}
.section--alt {
  background: var(--clr-alt-bg);
  color: var(--clr-dark);
}
.section__title {
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Grid utilities */
.grid {
  display: grid;
  gap: 2rem;
}
.services__grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.projects__grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.contact__grid {
  grid-template-columns: 1fr 1fr;
}

/* Nos Services cards */
.card {
  background: #2c2c2c;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
  padding: 1rem;
  transition: transform .6s ease-out, opacity .6s ease-out;
}

/* Projets cards */
.project {
  background: var(--clr-bg);
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
  transition: transform .6s ease-out, opacity .6s ease-out;
}
.card img,
.project img {
  width: 100%;
  display: block;
  border-radius: 4px;
}
.card h3,
.project h3 {
  font-family: var(--ff-heading);
  padding: 1rem;
  color: var(--clr-accent);
}
.card p {
  padding: 0 1rem 1rem;
  color: var(--clr-text);
}

/* Carousel coverflow */
.coverflow-carousel {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: 0 auto;
  padding: 2rem 0;
}
.coverflow-carousel .swiper-slide {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coverflow-carousel .swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

/* Contact form */
.form input,
.form textarea {
  width: 100%;
  padding: .75rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.form textarea {
  resize: vertical;
}
.contact-info img {
  margin-top: 1rem;
  width: 100%;
  border-radius: 4px;
}

/* Footer */
.footer {
  background: var(--clr-dark);
  color: var(--clr-text);
  text-align: center;
  padding: 1.5rem 0;
}

/* Fade-in initial states */
.js-fade {
  transform: translateY(20px);
}
.js-fade-left {
  transform: translateX(-20px);
}
.js-fade-right {
  transform: translateX(20px);
}

/* Responsive */
@media (max-width: 768px) {
  .contact__grid,
  .projects__grid,
  .services__grid {
    grid-template-columns: 1fr;
  }
}
