/* === style-ia.css — Kizuna Studio === */

/* === PALETTE ===
   Violet principal : #7209B7
   Bleu clair accent : #4CC9F0
   Bleu profond : #3A0CA3
   Fond sombre doux : #1E1B3A
   Blanc : #FFFFFF
*/

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1E1B3A 0%, #3A0CA3 40%, #7209B7 100%);
  color: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(30, 27, 58, 0.8);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  width: 85px; /* taille du cercle */
  height: 85px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoGlow 3.5s infinite ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo a {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* === LUEUR CONTINUE SUR LE CONTOUR === */
@keyframes logoGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.3),
                0 0 30px rgba(162, 89, 255, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(162, 89, 255, 0.5),
                0 0 45px rgba(76, 201, 240, 0.4);
    transform: scale(1.03);
  }
}

/* === SURVOL === */
.logo:hover {
  transform: scale(1.1);
  box-shadow: 0 0 45px rgba(162, 89, 255, 0.6),
              0 0 70px rgba(76, 201, 240, 0.5);
}

.logo:hover img {
  transform: scale(1.12);
  filter: brightness(1.2);
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4CC9F0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.burger {
  display: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* === HERO === */
.hero-ia {
  height: 60vh;
  background: radial-gradient(circle at 20% 40%, rgba(76,201,240,0.25), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(162,89,255,0.25), transparent 60%),
              linear-gradient(135deg, #3A0CA3, #7209B7);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-text {
  max-width: 700px;
  padding: 2rem;
  z-index: 2;
}

.hero-ia h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #4CC9F0, #A259FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero-ia p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}

/* === INTRODUCTION === */
.intro {
  text-align: center;
  padding: 5rem 2rem;
}

.intro h2 {
  font-size: 2rem;
  color: #A259FF;
  margin-bottom: 1.5rem;
}

.intro p {
  color: rgba(255,255,255,0.85);
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* === GALERIE EXEMPLES === */
.exemples {
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
}

.exemples h2 {
  color: #4CC9F0;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.exemples p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

.ia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.ia-card {
  background: rgba(255,255,255,0.08);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ia-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(162,89,255,0.25);
}

.ia-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.disclaimer {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

/* === TARIFS === */
.tarifs {
  text-align: center;
  padding: 6rem 2rem;
}

.tarifs h2 {
  font-size: 2rem;
  color: #A259FF;
  margin-bottom: 3rem;
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.tarif-card {
  background: rgba(255,255,255,0.08);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.tarif-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(76,201,240,0.25);
}

.tarif-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.tarif-card .price {
  font-size: 1.8rem;
  color: #4CC9F0;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* === FORMULAIRE === */
.formulaire {
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(255,255,255,0.03);
}

.formulaire h2 {
  color: #4CC9F0;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.formulaire p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
}

.formulaire .note {
  color: #A259FF;
  margin-bottom: 2rem;
  font-style: italic;
}

.form-card {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
  text-align: left;
}

label {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

input, textarea, select {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 10px;
  background-color: rgba(255,255,255,0.15);
  color: #1ac8eb;
  font-size: 1rem;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  background-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 10px rgba(76,201,240,0.4);
}

.btn-primary {
  display: inline-block;
  background-color: #4CC9F0;
  color: #1E1B3A;
  border: none;
  border-radius: 30px;
  padding: 0.9rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #A259FF;
  color: #fff;
  transform: translateY(-2px);
}

/* === EFFET D’OMBRE SOUS LES BOUTONS === */
.btn-primary, .btn-secondary {
  box-shadow: 0 8px 20px rgba(97, 201, 233, 0.3); /* ombre douce bleutée */
  transition: all 0.3s ease;
}

.btn-primary:hover, .btn-secondary:hover {
  box-shadow: 0 10px 25px rgba(162, 89, 255, 0.4); /* ombre plus marquée au survol */
  transform: translateY(-3px);
}

.footer {
  background: rgba(30, 27, 58, 0.95);
  color: #fff;
  padding: 3rem 2rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 2rem;
  gap: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-column.center {
  text-align: center;
}

.footer-column.right {
  text-align: right;
}

.footer-column h3 {
  color: #4CC9F0;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column a,
.footer-bottom a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #A259FF;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 0.4rem 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: #fff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #4CC9F0;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-column.right {
    text-align: center;
  }
}


/* === FADE EFFECT === */
.fade-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(30,27,58,0.95);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 2rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  .hero-ia h1 {
    font-size: 2.4rem;
  }

  .ia-grid {
    grid-template-columns: 1fr;
  }
}

.categorie {
  margin-top: 4rem;
}

.categorie h3 {
  color: #4CC9F0;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.ia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.ia-card {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ia-card img {
  width: 100%;
  height: auto; /* pour que l’image garde ses proportions */
  object-fit: contain; /* au lieu de cover, pour ne plus couper */
  border-radius: 10px;
}


.ia-card:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.ia-card:hover {
  box-shadow: 0 8px 25px rgba(76,201,240,0.4);

}

/* === CORRECTION VERSION MOBILE — AFFICHAGE IMAGES IA === */
@media (max-width: 768px) {
  .ia-grid {
    grid-template-columns: 1fr 1fr; /* deux images par ligne au lieu d’une seule */
    gap: 1rem;
  }

  .ia-card {
    aspect-ratio: auto; /* évite le rognage excessif */
    height: auto;
  }

  .ia-card img {
    width: 100%;
    height: auto;
    object-fit: contain; /* conserve l’image entière sans la couper */
    display: block;
  }
}

