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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #c084fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-brand {
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}


.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #9aa6b2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.nav-link.contact-btn {
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: white;
  border-radius: 9999px;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-link.contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #cbd5e1;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/*
.services-grid .service-card:last-child {
  grid-column: 1 / -1; /* prend toute la largeur de la grille 
}
*/

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: rgba(15, 23, 42, 0.95);
    gap: 1rem;
    padding: 5px 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.active {
    max-height: 400px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 8px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -8px);
  }
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  background: linear-gradient(to bottom right, #0f172a, #1e293b, #0f172a);
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: multiply;
  animation: blob-animation 7s infinite;
}

.blob-1 {
  top: 80px;
  left: 40px;
  background-color: #3b82f6;
  animation-delay: 0s;
}

.blob-2 {
  top: 160px;
  right: 40px;
  background-color: #a855f7;
  animation-delay: 2s;
}

.blob-3 {
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #60a5fa;
  animation-delay: 4s;
}

@keyframes blob-animation {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 896px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: white;
  line-height: 1.2;
  animation: fade-in-up 0.8s ease-out forwards;
}

.hero-subtitle {
  font-size: 27px;
  color: #d1d5db;
  margin-bottom: 3px;
  animation: fade-in-up 0.8s ease-out 0.2s forwards;
  opacity: 0;
    text-shadow:
    0 1px 2px rgba(96, 165, 250, 0.25),
    0 8px 24px rgba(96, 165, 250, 0.18);
}

.hero-description {
  font-size: 1rem;
  color: #9ca3af;
  margin-bottom: 2rem;
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
  animation: fade-in-up 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

#Wave {
  position: relative;
  display: inline-block;
  font-weight: bold;
  cursor: pointer;
}



/* Surlignage en arrière-plan */
#Wave::before {
  content: "";
  position: absolute;
  left: -4px;
  bottom: 0.1em;      /* ajuste la hauteur du surlignage */
  width: 0;
  height: 0.6em;      /* épaisseur du surlignage */
  background: linear-gradient(90deg, #60a5fa, #c084fc);
  border-radius: 3px;
  transition: width 0.4s ease;
  z-index: -1;
}

/* Au hover, le surlignage s’étend */
#Wave:hover::before {
  width: 100%;
}



.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: white;
  border: none;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fade-in-up 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.4);
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  background-color: #9ca3af;
  border-radius: 50%;
  animation: scroll-animation 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@keyframes scroll-animation {
  0% { transform: translateY(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* SECTION HEADER */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #9ca3af;
  max-width: 768px;
  margin: 0 auto;
}

/* SERVICES */
.services {
  padding: 5rem 0;
  background-color: #1e293b;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background-color: #3b82f6;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
}

.services::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 384px;
  height: 384px;
  background-color: #a855f7;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.service-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid #334155;
  border-radius: 1rem;
  transition: all 0.3s ease;
  padding: 5px 15px;
}

.service-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.2);
  transform: translateY(-8px);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon.palette::before { content: '🎨'; }
.service-icon.layout::before { content: '📐'; }
.service-icon.sparkles::before { content: '✨'; }
.service-icon.rocket::before { content: '🚀'; }

.service-header {
  margin-bottom: 1.5rem;
}

.service-header h3 {
  font-size: 1.6rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.25rem;
}

.service-subtitle {
  color: #60a5fa;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 16px;
}

.service-price {
  font-size: 1.875rem;
  font-weight: bold;
  color: white;
  margin-bottom: 0.25rem;
}

.service-duration {
  color: #9ca3af;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.service-description {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
 
}

.service-features li {
  display: flex;
  align-items: flex-start;
  color: #d1d5db;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.service-features li::before {
  content: '✓';
  color: #60a5fa;
  font-weight: bold;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.choose-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.choose-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

/* ABOUT */
.about {
  padding: 5rem 0;
  background-color: #0f172a;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;

  /*  background: linear-gradient(135deg, #3b82f6, #a855f7);
  padding: 4px;*/
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  border-radius: 1rem;
  opacity: 0.25;
  filter: blur(20px);
  z-index: -1;
  transition: opacity 0.3s ease;
}

.about-image:hover::before {
  opacity: 0.5;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.875rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid #334155;
  border-radius: 1rem;
  padding: 1.5rem;
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.about-card p {
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.skill-box {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.skill-box:hover {
  border-color: #3b82f6;
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.skill-box h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.skill-box p {
  color: #9ca3af;
  font-size: 0.875rem;
}

.about-quote {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px solid #3b82f6;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.about-quote p {
  color: #e2e8f0;
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-skills {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* CONTACT */
.contact {
  padding: 5rem 0;
  background-color: #1e293b;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 384px;
  height: 384px;
  background-color: #3b82f6;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background-color: #a855f7;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid #334155;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: #3b82f6;
}

.contact-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-card h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #60a5fa;
}

.contact-form {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid #334155;
  border-radius: 1rem;
  padding: 2rem;
}

.form-message {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  display: none;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #86efac;
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #d1d5db;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  color: white;
  padding: 0.75rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

.form-group textarea {
  resize: none;
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  margin: 12px 0px 0 0;
}

.submit-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.submit-btn svg {
  transition: transform 0.3s ease;
}

.submit-btn:hover:not(:disabled) svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
.footer {
  background-color: #0f172a;
  border-top: 1px solid #334155;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: bold;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #9ca3af;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #60a5fa;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1e293b;
  border-radius: 0.5rem;
  color: #9ca3af;
  font-weight: bold;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  animation: fade-in 0.3s ease-out forwards;
}

.scroll-to-top.show {
  display: flex;
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
  }

  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

.service-card {
  display: flex;
  flex-direction: column; /* empile verticalement */
  padding-bottom: 19px;
}

.service-card .choose-btn {
  margin-top: auto; /* pousse le bouton en bas */
  margin-bottom: -5px;
}

#Titre-hero{ font-size: 5rem;}

/* Messages du formulaire */
.form-message {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: none;
  animation: slideDown 0.3s ease;
}

.form-message.success {
  display: block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: 2px solid #667eea;
}

.form-message.error {
  display: block;
  background: #fee;
  color: #c33;
  border: 2px solid #fcc;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}