/* ==========================================================================
   style.css — flourishes propres à la variante CORPORATE
   ========================================================================== */

.logo span {
  color: var(--color-accent);
}

.eyebrow {
  color: var(--color-accent);
}

.eyebrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 10px auto 0;
}

.section-header .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.card {
  border-top: 3px solid var(--color-primary);
}

.card-icon {
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.cta-banner {
  background: var(--color-heading);
}

.testimonial {
  position: relative;
}

.testimonial::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--color-accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.site-footer {
  background: var(--color-heading);
  color: #cdd4e0;
  border-top: none;
}

.site-footer .footer-heading {
  color: #ffffff;
}

.site-footer .footer-links a,
.site-footer .contact-info-item {
  color: #b7bfd1;
}

.site-footer .footer-links a:hover {
  color: var(--color-accent);
}

.site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #8f97ab;
}

.site-footer .social-links a {
  border-color: rgba(255, 255, 255, 0.2);
  color: #cdd4e0;
}

.site-footer .social-links a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ==========================================================================
   Refonte page unique (2026) — bandeau, hero plein écran, vagues, carrousel,
   blobs décoratifs, CTA pilule, carte contact.
   ========================================================================== */

/* Ancres de section : compense la hauteur du header sticky au scroll. */
main > section[id] {
  scroll-margin-top: var(--header-height);
}

/* --- Header : se fond avec le hero (même fond blanc cassé), sans bordure --- */
.site-header-hero {
  background: var(--color-bg-alt);
  border-bottom: none;
}

/* --- Hero plein écran --- */
.hero-full {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  padding: 64px 0 96px;
  text-align: center;
}

.hero-blob {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.05;
  bottom: -260px;
  right: -160px;
  pointer-events: none;
}

.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-lede a une max-width (base.css) plus étroite que .hero-full-inner —
   sans marges auto, le bloc reste collé à gauche même si son texte est
   centré à l'intérieur (text-align hérité de .hero-full). */
.hero-full .hero-lede {
  margin-left: auto;
  margin-right: auto;
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-heading);
}

.btn-accent:hover {
  filter: brightness(0.94);
}

.btn-outline-on-primary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-on-primary);
}

.btn-outline-on-primary:hover {
  border-color: var(--color-on-primary);
  color: var(--color-on-primary);
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 56px;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 140px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-badge-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.hero-badge-icon svg {
  width: 34px;
  height: 34px;
}

/* --- 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;
  }
}

/* --- Liste de services (rangées horizontales pleine largeur) --- */
.services-header h2 {
  margin: 0;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.service-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-row h3 {
  margin: 0 0 6px;
}

.service-row p {
  margin: 0;
}

@media (max-width: 640px) {
  .service-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* --- CTA simple (bouton pilule isolé) --- */
.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: var(--color-accent);
  color: var(--color-heading);
  border-radius: 999px;
  padding: 1em 2.4em;
  font-weight: 700;
}

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

/* --- Section "Qui sommes-nous" --- */
.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: 400px;
  height: 400px;
  top: -120px;
  left: -120px;
  background: var(--color-accent);
  opacity: 0.14;
}

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

.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: var(--color-primary);
  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-md);
  padding: 24px;
  text-align: center;
}

.stat-icon {
  display: inline-flex;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.stat-icon svg {
  width: 26px;
  height: 26px;
}

/* --- Avis (carrousel) ---
   Utilise --color-brand/--color-on-brand (fixes) et non --color-primary
   (qui s'éclaircit en mode sombre pour rester lisible en texte/icône) : une
   section entièrement remplie de cette couleur doit rester le même navy
   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 .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;
}

.form-radio-row {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  cursor: pointer;
}

.form-consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-group select {
  width: 100%;
  padding: 0.85em 1em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
}

.contact-info-card {
  background: var(--color-brand);
  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 .contact-info-list {
  gap: 20px;
}

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

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