:root {
    --accent: #007aff;
    --bg: #fdfdfd;
    --text: #111;
    --light-text: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
}

/* ----- Header / Menu ----- */
.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.4rem;
}
.logo span {
    color: var(--accent);
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--accent);
}

/* ----- Hero Section with Parallax ----- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: var(--text);
  border-bottom-left-radius: 80px;   /* ✅ arrondi gauche */
  border-bottom-right-radius: 80px;  /* ✅ arrondi droit */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: url("../images/pexels-acev-19931186.jpg") center center / cover no-repeat;
  transform: translateY(0);
  transition: transform 0.2s linear;
  will-change: transform;
  z-index: 0;
}

/* ✅ Dégradé blanc doux en bas du hero */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 90%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #000;
  text-shadow: 0 2px 10px rgba(255,255,255,0.6);
}


@keyframes rotateLight {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}
.cta:hover {
    transform: scale(1.05);
    background: #005ee6;
}

/* ----- Section Global Animation ----- */
section {
    padding: 100px 60px;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
}

/* ----- Pourquoi Section ----- */
.why-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
.why-card {
    flex: 1 1 250px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}
.why-card:hover {
    transform: translateY(-5px);
}
.why-card h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

/* ----- Services Section ----- */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    text-align: center;
    flex: 1 1 280px;
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
}
.price {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--accent);
}

/* ----- Projets Section ----- */
.projects-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.project-card:hover {
    transform: scale(1.03);
}
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.project-card p {
    padding: 15px;
    text-align: center;
    font-weight: 500;
}

.coming-soon {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeIn 1s ease forwards;
}

.coming-soon p {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.coming-soon span {
  color: var(--light-text);
  font-size: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ----- Contact Section ----- */
.contact-section {
    text-align: center;
    background: linear-gradient(180deg, #f7f7f7, #fff);
}
.contact-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--light-text);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-links .cta.insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.contact-links .cta.insta:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}


/* ----- Section Qui suis-je ----- */
.about-section {
    text-align: center;
    background: #fafafa;
    padding: 120px 40px;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.7;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-section h2 {
    font-size: 2.3rem;
    margin-bottom: 30px;
    color: var(--text);
}

.about-section p {
    max-width: 750px;
    margin: 0 auto;
    color: var(--light-text);
}

/* animation d’apparition */
.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ----- Footer ----- */
.footer {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    color: #777;
    font-size: 0.9rem;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  /* On remet le header en position normale */
  .nav-header {
    position: relative;
    justify-content: center;
    padding: 15px 20px;
    box-shadow: none;
    backdrop-filter: none;
    background: transparent;
  }

  /* Cache complètement les liens */
  .nav-links {
    display: none;
  }

  /* Logo centré et un peu plus petit */
  .logo {
    font-size: 1.4rem;
    text-align: center;
  }

  /* Sections plus aérées */
  section {
    padding: 70px 25px;
  }

  .hero-content h1 {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* ----- Mentions légales ----- */
.mentions {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 160px 40px 100px;
  background: #fdfdfd;
  color: #444;
  line-height: 1.8;
}

.mentions h1 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--text);
}

.mentions p {
  max-width: 700px;
  margin-bottom: 50px;
  color: var(--light-text);
}

.mentions a {
  color: var(--accent);
  text-decoration: none;
}

.mentions a:hover {
  text-decoration: underline;
}
.back-home {
  display: inline-block;
  background: var(--accent);
  color: #fff !important; /* Forcer la couleur du texte */
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
  font-size: 1rem;
  letter-spacing: 0.3px;
  text-align: center;
  line-height: 1.2;
}

.back-home:hover {
  transform: scale(1.05);
  background: #005ee6;
}

/* Option flèche animée (style Apple) */
.back-home::after {
  content: " →";
  transition: transform 0.3s ease;
}

.back-home:hover::after {
  transform: translateX(6px);
}

/* Footer harmonisé */
.clean-footer {
  background: transparent;
  color: #999;
  font-size: 0.9rem;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid #eee;
}

/* ----- Footer propre et minimaliste ----- */
.footer {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  color: #777;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  margin-top: 8px;
  padding: 0;
}

.footer-links li {
  display: inline-block;
}

.footer-links a {
  text-decoration: none;
  color: #888;
  font-weight: 500;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  opacity: 0.8;
}

