/* ==========================================================================
   style.css — flourishes propres à la variante CRÉATIVE
   ========================================================================== */

.logo {
  font-size: 1.4rem;
}

.logo span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  border-radius: 999px;
}

.eyebrow {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 999px;
}

.card {
  border-radius: var(--radius-lg);
  border-color: var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-on-primary);
}

.testimonial-avatar {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-on-primary);
}

.theme-toggle,
.nav-toggle {
  border-radius: 999px;
}

.social-links a {
  border-radius: 999px;
}

.site-footer {
  background: var(--color-bg-alt);
  border-top: none;
}

/* ==========================================================================
   Refonte page unique — hero plein écran avec taches de couleur, vagues,
   carrousel d'avis, CTA pilule en dégradé, carte contact en dégradé.
   ========================================================================== */

main > section[id] {
  scroll-margin-top: var(--header-height);
}

.site-header-hero {
  background: var(--color-bg);
  border-bottom: none;
}

.hero-full {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding: 64px 0 96px;
  text-align: center;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.hero-blob-a {
  width: 480px;
  height: 480px;
  top: -180px;
  left: -140px;
  background: var(--color-primary);
  opacity: 0.22;
}

.hero-blob-b {
  width: 420px;
  height: 420px;
  bottom: -200px;
  right: -120px;
  background: var(--color-accent);
  opacity: 0.2;
}

.hero-deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-full-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-full .hero-lede {
  margin-left: auto;
  margin-right: auto;
}

.hero-full .hero-actions {
  justify-content: center;
}

/* --- Séparateurs en vague entre sections --- */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

@media (max-width: 640px) {
  .wave-divider svg {
    height: 40px;
  }
}

/* --- CTA pilule en dégradé --- */
.cta-simple-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 8px;
}

.cta-simple-text {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

.btn-pill-solo {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-on-primary);
  border-radius: 999px;
  padding: 1em 2.4em;
  font-weight: 700;
  border: none;
}

.btn-pill-solo:hover {
  filter: brightness(1.05);
}

/* --- Section "À propos" --- */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-blob {
  position: absolute;
  border-radius: 50% 40% 60% 50% / 60% 50% 40% 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.about-blob-1 {
  width: 380px;
  height: 380px;
  top: -100px;
  left: -100px;
  background: var(--color-accent);
  opacity: 0.18;
}

.about-blob-2 {
  width: 320px;
  height: 320px;
  bottom: -100px;
  right: -80px;
  background: var(--color-primary);
  opacity: 0.14;
}

.about-grid {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 64px;
}

.value-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

/* --- Avis (carrousel) ---
   --color-brand/--color-on-brand restent fixes (voir index.html) : une
   section entièrement remplie de cette couleur doit rester la même dans les
   deux modes, sinon elle s'inverse visuellement. */
.avis-section {
  position: relative;
  overflow: hidden;
  background: var(--color-brand);
  color: var(--color-on-brand);
}

.avis-section h2,
.on-primary {
  color: var(--color-on-brand);
}

.avis-section .eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-on-brand);
}

.avis-section .card {
  border: none;
  box-shadow: var(--shadow-md);
  /* La carte est claire alors que la section autour est colorée : elle doit
     reprendre les couleurs de texte normales, sinon le témoignage hérite du
     blanc de la section et disparaît sur le fond blanc de la carte. */
  color: var(--color-text);
}

.stars {
  color: var(--color-accent);
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 8px;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 4px;
}

@media (min-width: 860px) {
  .carousel {
    max-width: 920px;
    padding: 0 48px;
  }

  .carousel-slide {
    flex: 0 0 50%;
  }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: var(--color-on-brand);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.75;
}

.carousel-arrow:hover {
  opacity: 1;
}

.carousel-arrow-prev {
  left: -4px;
}

.carousel-arrow-next {
  right: -4px;
}

@media (min-width: 860px) {
  .carousel-arrow-prev {
    left: -44px;
  }

  .carousel-arrow-next {
    right: -44px;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.2s ease, border-radius 0.2s ease, background 0.2s ease;
}

.carousel-dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--color-on-brand);
}

/* --- Contact --- */
.contact-grid {
  align-items: start;
  gap: 48px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--color-brand), var(--color-accent));
  color: var(--color-on-brand);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info-card .logo {
  color: var(--color-on-brand);
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.contact-info-card .logo span {
  -webkit-background-clip: initial;
  background-clip: initial;
  background: none;
  color: var(--color-on-brand);
}

.contact-info-card .contact-info-list {
  gap: 20px;
}

.contact-info-card .card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-on-brand);
}

.contact-info-card p {
  margin: 0;
  color: var(--color-on-brand);
  opacity: 0.92;
}
