/*
Theme Name: Swimming Poule
Theme URI: https://swimmingpoule.be
Author: Vaya Agency
Author URI: https://vaya.agency
Description: Thème premium pour Swimming Poule — Installateur wallon de piscines naturelles sur mesure.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: swimming-poule
*/

/* =============================================
   DESIGN SYSTEM — VARIABLES
   ============================================= */
:root {
  --deep:        #050e14;
  --dark:        #0a1e2b;
  --mid:         #0d2d3f;
  --water:       #0b6e87;
  --teal:        #12a89e;
  --aqua:        #3dd6c8;
  --blue-sky:    #7ec8f0;
  --orange:      #F97316;
  --orange-dark: #d95f08;
  --white:       #f0fafa;
  --grey:        rgba(168, 240, 234, 0.55);
  --grey-faint:  rgba(168, 240, 234, 0.2);

  --font-head:   'Cormorant Garamond', Georgia, serif;
  --font-accent: 'Inter', 'Helvetica Neue', sans-serif;
  --font-body:   'Inter', 'Helvetica Neue', sans-serif;

  --radius:      8px;
  --transition:      0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow:      0 12px 48px rgba(0,0,0,0.35);
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--deep);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* =============================================
   TYPOGRAPHIE GLOBALE
   ============================================= */
h1 {
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 1.1;
}

h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.15;
}

.label {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aqua);
}

.em-orange { font-style: italic; color: var(--orange); }
.em-blue   { font-style: italic; color: var(--blue-sky); }
.em-aqua   { font-style: italic; color: var(--aqua); }

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: rgba(5, 14, 20, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
  box-shadow: 0 1px 0 rgba(61, 214, 200, 0.1);
}

.nav-logo img {
  max-height: 44px;
  height: auto;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-links a {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 250, 250, 0.7);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--aqua);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.current-menu-item { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.current-menu-item::after { width: 100%; }

.nav-cta {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--orange);
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius);
  transition: opacity var(--transition), transform var(--transition) !important;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--deep);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 99;
  }
  .nav-links.open { opacity: 1; pointer-events: all; }
  .nav-links a { font-size: 1rem; letter-spacing: 0.15em; }
  .site-nav { padding: 1.2rem 1.5rem; }
  .site-nav.scrolled { padding: 0.9rem 1.5rem; }
}

/* =============================================
   HERO GLOBAL
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-full { min-height: 100vh; }
.hero-medium { min-height: 60vh; }
.hero-small { min-height: 42vh; }

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--deep);
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(5,14,20,0.8) 0%, transparent 70%),
    rgba(5, 14, 20, 0.55);
}

.hero-overlay--dark {
  background: linear-gradient(
    to bottom,
    rgba(5, 14, 20, 0.45) 0%,
    rgba(5, 14, 20, 0.72) 55%,
    var(--deep) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
  padding: 2rem 1.5rem;
  margin: 0 auto;
  text-align: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-accent);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua);
  border: 1px solid rgba(61, 214, 200, 0.3);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  background: rgba(61, 214, 200, 0.06);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1.4rem;
  text-align: center;
  width: 100%;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(0.75rem, 1.6vw, 0.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(168, 240, 234, 0.7);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-scroll span {
  font-family: var(--font-accent);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-faint);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(61,214,200,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   BOUTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-color     var(--transition),
    color            var(--transition),
    transform        var(--transition),
    box-shadow       var(--transition),
    opacity          var(--transition-fast);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(240,250,250,0.3);
  box-shadow: 0 4px 20px rgba(61, 214, 200, 0);
}
.btn-outline:hover {
  border-color: var(--aqua);
  color: var(--aqua);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(61, 214, 200, 0.15);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--water));
  color: var(--white);
}
.btn-teal {
  box-shadow: 0 4px 20px rgba(18, 168, 158, 0);
}
.btn-teal:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(18, 168, 158, 0.3);
}

.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* =============================================
   SECTIONS COMMUNES
   ============================================= */
.section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem);
}

.section-dark   { background: var(--deep); }
.section-mid    { background: var(--dark); }
.section-accent { background: var(--mid); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

.section-header .label { margin-bottom: 1rem; display: block; }

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 1.2rem;
}

.section-intro {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey);
}

/* Divider décoratif */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
}
.divider-line {
  height: 1px; width: 50px;
  background: linear-gradient(90deg, transparent, rgba(61,214,200,0.4), transparent);
}
.divider-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

/* =============================================
   GRILLES DE CARTES
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.card {
  background: var(--dark);
  border: 1px solid rgba(61, 214, 200, 0.1);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    border-color var(--transition),
    transform    var(--transition),
    box-shadow   var(--transition),
    background   var(--transition);
}

.card:hover {
  border-color: rgba(61, 214, 200, 0.28);
  transform: translateY(-6px);
  background: rgba(10, 30, 43, 0.95);
}

.card-icon {
  flex-shrink: 0;
  width: 48px;
  min-height: 5.5rem;
  background: rgba(61, 214, 200, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--aqua); fill: none; stroke-width: 1.5;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--white);
  flex-shrink: 0;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--grey);
  flex-grow: 1;
  min-height: 6.5rem;
  margin-bottom: 0;
  padding-bottom: 0.35rem;
}

/* =============================================
   SECTION IMAGE + TEXTE
   ============================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-img:hover img { transform: scale(1.05); }

.split-img-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(5, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(61,214,200,0.2);
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem;
}

.split-img-badge span {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aqua);
}

.split-text .label { margin-bottom: 1rem; display: block; }

.split-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 1.2rem;
}

.split-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--grey);
  margin-bottom: 1rem;
}

.split-text p:last-of-type { margin-bottom: 2rem; }

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
}

/* =============================================
   LISTE DE SPECS / FEATURES
   ============================================= */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}

.feature-item::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%2312a89e' stroke-width='1.2'/%3E%3Cpolyline points='5,8 7,10 11,6' stroke='%2312a89e' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* =============================================
   GALERIE
   ============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--mid);
  aspect-ratio: 4/3;
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: unset; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.2rem 1rem;
  background: linear-gradient(0deg, rgba(5,14,20,0.85) 0%, transparent 100%);
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,250,250,0.6);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity   var(--transition),
    transform var(--transition);
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
}

/* =============================================
   ÉTAPES (process)
   ============================================= */
.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(61, 214, 200, 0.08);
  position: relative;
}

.step:last-child { border-bottom: none; }

.step {
  transition: transform var(--transition);
}
.step:hover { transform: translateX(4px); }

.step-number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(61, 214, 200, 0.15);
  line-height: 1;
  padding-top: 0.2rem;
  transition:
    color      var(--transition),
    text-shadow var(--transition);
}

.step:hover .step-number {
  color: rgba(61, 214, 200, 0.45);
  text-shadow: 0 0 30px rgba(61, 214, 200, 0.2);
}

.step-content .label { margin-bottom: 0.6rem; display: block; }

.step-content h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.step-content p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--grey);
}

/* =============================================
   BANDEAU CHIFFRES
   ============================================= */
.stats-band {
  background: linear-gradient(135deg, var(--mid), var(--dark));
  border-top: 1px solid rgba(61, 214, 200, 0.08);
  border-bottom: 1px solid rgba(61, 214, 200, 0.08);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-value {
  font-family: var(--font-accent);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-value em { font-style: italic; color: var(--orange); }

.stat-label {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.5rem;
}

/* =============================================
   SECTION CTA BANDE
   ============================================= */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem);
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--water) 0%, var(--mid) 100%);
  opacity: 0.4;
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 20, 0.65);
}

.cta-band-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.cta-band p {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-band .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FORMULAIRE CONTACT
   ============================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.2rem;
}

.contact-info p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--grey);
  margin-bottom: 2.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item-icon {
  width: 40px; height: 40px;
  background: rgba(61, 214, 200, 0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 17px; height: 17px;
  stroke: var(--teal); fill: none; stroke-width: 1.8;
}

.contact-item-text strong {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-faint);
  margin-bottom: 0.2rem;
}

.contact-item-text a,
.contact-item-text span {
  font-size: 0.9rem;
  color: var(--white);
  transition: color var(--transition);
}

.contact-item-text a:hover { color: var(--aqua); }

.contact-form {
  background: var(--dark);
  border: 1px solid rgba(61, 214, 200, 0.1);
  border-radius: 8px;
  padding: 2.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(10, 30, 43, 0.8);
  border: 1px solid rgba(61, 214, 200, 0.15);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: rgba(61, 214, 200, 0.5); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(168,240,234,0.3); }

.form-group select option { background: var(--dark); }

.form-group textarea { min-height: 120px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--transition),
    transform  var(--transition),
    box-shadow var(--transition);
  margin-top: 0.5rem;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0);
}

.form-submit:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.3);
}

@media (max-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================
   COULEURS SWATCHES
   ============================================= */
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.swatch {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
}

.swatch:hover { transform: scale(1.12); border-color: var(--aqua); }
.swatch-label {
  position: absolute;
  bottom: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-family: var(--font-accent);
  letter-spacing: 0.08em;
  color: var(--grey);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition);
}

.swatch:hover .swatch-label { opacity: 1; }

/* =============================================
   ACCORDION
   ============================================= */
.accordion { max-width: 760px; margin: 0 auto; }

.accordion-item {
  border-bottom: 1px solid rgba(61, 214, 200, 0.1);
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.accordion-trigger h3 {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 400;
}

.accordion-icon {
  width: 28px; height: 28px;
  border: 1px solid rgba(61,214,200,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.accordion-icon svg {
  width: 12px; height: 12px;
  stroke: var(--aqua); fill: none; stroke-width: 2;
  transition: transform var(--transition);
}

.accordion-item.active .accordion-icon { background: rgba(61,214,200,0.1); border-color: var(--aqua); }
.accordion-item.active .accordion-icon svg { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.accordion-body p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--grey);
  padding-bottom: 1.4rem;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--deep);
  border-top: 1px solid rgba(61, 214, 200, 0.08);
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 6vw, 5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-brand img {
  max-height: 40px;
  height: auto;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--grey);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--grey);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--aqua); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(61, 214, 200, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(168, 240, 234, 0.18);
}

.footer-vaya {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.3;
  transition: opacity var(--transition);
}

.footer-vaya:hover { opacity: 0.7; }
.footer-vaya img { height: 12px; width: auto; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =============================================
   ANIMATIONS ORGANIQUES — Vaya Agency
   Univers : nature, eau, croissance, vie
   ============================================= */

/* ── Reveal system — végétal, depuis la terre ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Directions organiques */
[data-reveal="left"]  { transform: translateX(-50px) scale(0.97); }
[data-reveal="right"] { transform: translateX(50px) scale(0.97); }
[data-reveal="scale"] { transform: scale(0.86) translateY(20px); }
[data-reveal="bloom"] { transform: scale(0.7); transform-origin: bottom center; }

[data-reveal="left"].revealed,
[data-reveal="right"].revealed,
[data-reveal="scale"].revealed,
[data-reveal="bloom"].revealed { transform: none; }

/* Stagger — respiration plus ample */
[data-reveal-delay="1"].revealed { transition-delay: 0.12s; }
[data-reveal-delay="2"].revealed { transition-delay: 0.24s; }
[data-reveal-delay="3"].revealed { transition-delay: 0.38s; }
[data-reveal-delay="4"].revealed { transition-delay: 0.52s; }
[data-reveal-delay="5"].revealed { transition-delay: 0.68s; }
[data-reveal-delay="6"].revealed { transition-delay: 0.84s; }

/* ── Keyframes organiques ────────────────────── */

/* Flottement doux — algue, feuille */
@keyframes organicFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  30%       { transform: translateY(-9px) rotate(0.6deg); }
  65%       { transform: translateY(-4px) rotate(-0.4deg); }
}

/* Bulle qui remonte */
@keyframes bubbleRise {
  0%   { transform: translateY(0) translateX(0) scale(1);   opacity: 0; }
  8%   { opacity: 0.65; }
  50%  { transform: translateY(-45vh) translateX(6px) scale(1.04); }
  100% { transform: translateY(-95vh) translateX(-4px) scale(0.7); opacity: 0; }
}

/* Respiration — icône vivante */
@keyframes breathe {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(61, 214, 200, 0.00); }
  50%       { transform: scale(1.07); box-shadow: 0 0 0 10px rgba(61, 214, 200, 0.06); }
}

/* Flux de vague horizontal — couche 1 */
@keyframes waveFlow1 {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Flux de vague horizontal — couche 2 (inverse) */
@keyframes waveFlow2 {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
/* Flux de vague horizontal — couche 3 (rapide) */
@keyframes waveFlow3 {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Ondulation de surface d'eau */
@keyframes waterRipple {
  0%   { transform: scale(0); opacity: 0.6; }
  100% { transform: scale(5); opacity: 0; }
}

/* Blob organique — fond CTA */
@keyframes blobMorph {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%  { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75%  { border-radius: 60% 40% 70% 30% / 60% 40% 30% 70%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Éclat lumineux — compteurs stats */
@keyframes statGlow {
  0%, 100% { text-shadow: 0 0 0px rgba(249, 115, 22, 0); }
  50%       { text-shadow: 0 0 20px rgba(249, 115, 22, 0.5), 0 0 40px rgba(249, 115, 22, 0.2); }
}

/* Shimmer eau sur texte */
@keyframes aquaShimmer {
  0%   { background-position: -300% center; }
  100% { background-position: 300% center; }
}

/* Vague SVG — conservé pour compat */
@keyframes waveSway {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(-2%); }
}

/* ── Canvas bulles hero ──────────────────────── */
#bubble-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Ripple boutons ──────────────────────────── */
.btn, .form-submit { position: relative; overflow: hidden; }

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  width: 80px; height: 80px;
  margin-left: -40px; margin-top: -40px;
  pointer-events: none;
  animation: waterRipple 0.75s ease-out forwards;
}

/* ── Icônes qui respirent ────────────────────── */
.card-icon {
  animation: breathe 4.5s ease-in-out infinite;
}
.card:nth-child(2) .card-icon { animation-delay: 1.5s; }
.card:nth-child(3) .card-icon { animation-delay: 3s; }

/* Hover card — glow organique */
.card:hover {
  box-shadow:
    0 0 0 1px rgba(61, 214, 200, 0.22),
    0 12px 48px rgba(18, 168, 158, 0.14),
    0 0 80px rgba(18, 168, 158, 0.05);
}

/* ── Stats — lueur sur reveal ───────────────── */
.stat-value.counting em {
  animation: statGlow 0.6s ease-in-out infinite;
}

/* ── Label aqua — shimmer eau ───────────────── */
.label {
  background: linear-gradient(
    90deg,
    var(--aqua) 0%,
    rgba(126, 200, 240, 0.9) 30%,
    var(--aqua) 60%,
    rgba(18, 168, 158, 0.8) 80%,
    var(--aqua) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: aquaShimmer 5s linear infinite;
}

/* ── Vague séparatrice — 3 couches ──────────── */
.wave-sep {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  margin: 0;
  position: relative;
}
.wave-sep svg {
  display: block;
  /* SVG a viewBox 2880px de large (double) pour le loop infini */
  width: 200%;
  min-width: 1440px;
  position: relative;
}

/* Couche 1 — lente, opaque, couleur de base */
.wave-sep .wl1 {
  animation: waveFlow1 14s linear infinite;
  opacity: 0.85;
}
/* Couche 2 — vitesse moyenne, inverse, plus claire */
.wave-sep .wl2 {
  animation: waveFlow2 9s linear infinite;
  opacity: 0.45;
}
/* Couche 3 — rapide, légère, effet de surface */
.wave-sep .wl3 {
  animation: waveFlow3 5.5s linear infinite;
  opacity: 0.25;
}

/* Variante "bordure haute" — flippée */
.wave-sep--top {
  transform: translateY(1px) scaleY(-1);
}

/* ── Blob décoratif CTA ──────────────────────── */
.cta-blob {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%; left: -10%;
  background: radial-gradient(ellipse at 40% 50%,
    rgba(18, 168, 158, 0.18) 0%,
    rgba(11, 110, 135, 0.10) 40%,
    transparent 70%);
  animation: blobMorph 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Titre hero — reveal global (pas de wrap lettre) */
/* Le .hero-title utilise [data-reveal] standard */

/* ── Parallaxe images ────────────────────────── */
.split-img img,
.gallery-item img {
  will-change: transform;
}

/* ── Logo nav — flottement léger ─────────────── */
.nav-logo img {
  animation: organicFloat 7s ease-in-out infinite;
}

/* ── Scroll indicator — rythme eau ──────────── */
.hero-scroll-line {
  animation: scrollLine 2.6s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

/* ── Reduced motion — accessibilité ─────────── */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .card-icon,
  .nav-logo img,
  .cta-blob,
  .label,
  .hero-scroll-line { animation: none !important; }
  .hero-title .char { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =============================================
   UTILITAIRES
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  background: rgba(61, 214, 200, 0.08);
  color: var(--aqua);
  border: 1px solid rgba(61, 214, 200, 0.2);
}

/* =============================================
   PAGE CONFIGURATEUR
   ============================================= */

/* ── Intro steps ──────────────────────────── */
.configurator-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background: var(--dark);
  border: 1px solid rgba(61, 214, 200, 0.1);
  border-radius: 10px;
}

.configurator-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 200px;
}

.configurator-step-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(61, 214, 200, 0.07);
  border: 1px solid rgba(61, 214, 200, 0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.configurator-step-icon svg {
  width: 18px; height: 18px;
  stroke: var(--aqua); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.configurator-step strong {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.configurator-step span {
  font-size: 0.78rem;
  color: var(--grey);
  line-height: 1.4;
}

.configurator-step-sep {
  font-size: 1rem;
  color: rgba(61, 214, 200, 0.3);
  font-family: var(--font-accent);
  flex-shrink: 0;
  padding: 0 0.4rem;
}

@media (max-width: 680px) {
  .configurator-step-sep { display: none; }
  .configurator-intro { flex-direction: column; align-items: flex-start; }
}

/* ── Iframe wrapper ───────────────────────── */
.configurator-section {
  background: var(--mid);
  padding: clamp(3rem, 5vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.configurator-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(61, 214, 200, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  /* Hauteur augmentee pour limiter le scroll interne de l'iframe */
  min-height: 780px;
  background: #fff;
}

.configurator-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 780px;
  border: none;
  background: #fff;
}

@media (max-width: 768px) {
  .configurator-wrapper,
  .configurator-wrapper iframe { min-height: 620px; }
}

/* ── Loader ───────────────────────────────── */
.configurator-loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.configurator-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.configurator-loader-ring {
  width: 40px; height: 40px;
  border: 2px solid rgba(61, 214, 200, 0.15);
  border-top-color: var(--aqua);
  border-radius: 50%;
  animation: loaderSpin 0.9s linear infinite;
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

.configurator-loader-inner span {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ── Fallback noscript ────────────────────── */
.configurator-fallback {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: var(--grey);
}
.configurator-fallback a { color: var(--aqua); text-decoration: underline; }

/* ── CTA row ──────────────────────────────── */
.configurator-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  background: var(--dark);
  border: 1px solid rgba(61, 214, 200, 0.1);
  border-radius: 10px;
}

.configurator-cta-text .label { margin-bottom: 0.5rem; display: block; }

.configurator-cta-btns {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 680px) {
  .configurator-cta-row { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
}
