/* ============================================================
   AQUALIS — style.css
   ============================================================ */

/* ---- Variables ---- */
:root {
  --color-primary:      #0A2540;
  --color-accent:       #1F6FEB;
  --color-accent-light: #E8F0FE;
  --color-success:      #0D9E6B;
  --color-dark:         #0A0A0A;
  --color-text:         #374151;
  --color-muted:        #6B7280;
  --color-border:       #E5E7EB;
  --color-white:        #FFFFFF;
  --color-bg:           #F9FAFB;

  --font-main: 'Inter', sans-serif;
  --radius-card: 10px;
  --radius-btn: 6px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --transition: all 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-main);
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section-white { background: var(--color-white); }
.section-bg { background: var(--color-bg); }
.section-accent-light { background: var(--color-accent-light); }
.section-primary { background: var(--color-primary); }

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.section-subtitle {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-top: 12px;
}

.text-white, .section-primary .section-header h2 { color: var(--color-white); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: #1559c7;
  border-color: #1559c7;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31,111,235,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-secondary:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.btn-small { padding: 9px 18px; font-size: 0.875rem; }
.btn-full { width: 100%; }
.btn-large { padding: 16px 32px; font-size: 1rem; }

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* ---- Navigation ---- */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-header.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  transition: var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-header.scrolled .nav-logo { color: var(--color-primary); }

.nav-logo-text { display: inline; }
.nav-logo-img  { display: none; height: 40px; width: auto; object-fit: contain; }
.nav-header.scrolled .nav-logo-text { display: none; }
.nav-header.scrolled .nav-logo-img  { display: inline; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--color-white); }
.nav-header.scrolled .nav-links a { color: var(--color-muted); }
.nav-header.scrolled .nav-links a:hover { color: var(--color-primary); }

.nav-cta { margin-left: auto; flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-header.scrolled .hamburger span { background: var(--color-primary); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero 2 colonnes ---- */
.hero-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 480px;
  height: 520px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #0A2540 0%, #0D1F3C 100%);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  width: 100%;
}

.hero-content { max-width: 740px; }

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-accroche {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-subtext {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
}

.proof-sep { margin: 0 10px; opacity: 0.5; }

/* ---- Problems ---- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Centre la 3ème carte quand elle est seule sur sa ligne */
.problems-grid > .problem-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 12px);
  margin: 0 auto;
}

.problem-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.problem-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.problem-icon svg { width: 22px; height: 22px; }

.problem-card h3 { margin-bottom: 10px; color: var(--color-dark); }

.section-transition {
  text-align: center;
  padding-top: 16px;
}

.transition-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
}

/* ---- Solution ---- */
.insight-text {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.75;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 56px;
  box-shadow: var(--shadow-card);
}

.comparison-col {
  padding: 28px 24px;
}

.comparison-before {
  background: #FEF2F2;
  border-right: 1px solid var(--color-border);
}

.comparison-lever {
  background: var(--color-accent-light);
  border-right: 1px solid var(--color-border);
}

.comparison-after {
  background: #ECFDF5;
}

.comparison-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--color-muted);
}

.comparison-before .comparison-label { color: #DC2626; }
.comparison-lever .comparison-label { color: var(--color-accent); }
.comparison-after .comparison-label { color: var(--color-success); }

.comparison-col ul { display: flex; flex-direction: column; gap: 10px; }
.comparison-col li { font-size: 0.9rem; line-height: 1.5; color: var(--color-text); }

.key-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.key-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 20px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.key-number-value {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-success);
}

.key-number-label {
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

/* ---- Case Study ---- */
.case-study {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
  max-width: 860px;
  margin: 0 auto 32px;
}

.case-study-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.case-icon { font-size: 1.75rem; }

.case-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.case-table { margin-bottom: 28px; }

.case-table-header,
.case-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--color-border);
}

.case-table-header {
  background: var(--color-bg);
  border-radius: 6px 6px 0 0;
  border-bottom: 2px solid var(--color-border);
}

.case-table-header > div,
.case-row > div {
  padding: 12px 16px;
  font-size: 0.875rem;
}

.case-table-header > div {
  font-weight: 700;
  color: var(--color-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-col-before { color: var(--color-muted); }

.success-value { color: var(--color-success); }

.case-row:hover { background: var(--color-bg); }

.case-quote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 20px;
  background: var(--color-accent-light);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.case-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-style: italic;
}

.section-cta { text-align: center; }

/* ---- Simulator ---- */
.simulator-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-card);
  max-width: 760px;
  margin: 0 auto;
}

.sim-step { margin-bottom: 32px; }

.sim-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.toggle-btn {
  padding: 12px 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  background: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--color-text);
}

.toggle-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.toggle-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.slider-container { display: flex; flex-direction: column; gap: 10px; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--color-border);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(31,111,235,0.4);
  transition: var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

.sim-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.sim-result-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 20px 24px;
}

.sim-result-icon { font-size: 1.75rem; flex-shrink: 0; }

.sim-result-content { display: flex; flex-direction: column; gap: 4px; }

.sim-result-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
}

.sim-result-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-success);
}

.sim-dynamic-msg {
  background: var(--color-accent-light);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.65;
}

.sim-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  font-style: italic;
  margin-top: 16px;
  text-align: center;
}

/* ---- Steps ---- */
.steps-container { display: flex; flex-direction: column; gap: 48px; }

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 2.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  margin-top: 4px;
}

.step-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-success { background: #DCFCE7; color: #16A34A; }
.badge-muted { background: var(--color-bg); color: var(--color-muted); border: 1px solid var(--color-border); }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.icon-success { color: var(--color-success); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

.transparency-block {
  border-left: 4px solid var(--color-accent);
  background: var(--color-accent-light);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.quote-card {
  background: var(--color-accent-light);
  border-radius: var(--radius-card);
  padding: 20px;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.6;
  position: relative;
}

.quote-icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  opacity: 0.6;
  margin-bottom: 8px;
}

.step-install-img {
  margin: 20px 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.step-install-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.step-key-msg {
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 8px;
}

/* ---- Guarantees ---- */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guarantee-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: var(--transition);
}

.guarantee-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.guarantee-icon {
  width: 48px;
  height: 48px;
  background: rgba(31,111,235,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #7BB8FF;
}

.guarantee-icon svg { width: 24px; height: 24px; }

.guarantee-card h3 { color: var(--color-white); margin-bottom: 10px; }
.guarantee-card p { color: rgba(255,255,255,0.72); font-size: 0.9rem; }

/* ---- Environment ---- */
.env-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.env-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.env-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-accent);
}

.env-card-icon svg { width: 24px; height: 24px; }

.env-card h3 { margin-bottom: 14px; }

/* ---- Hero wave ---- */
.hero { position: relative; }
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ---- Hero tag (eyebrow) ---- */
.hero-tag {
  display: inline-block;
  background: rgba(31, 111, 235, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---- Section eyebrow ---- */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

/* ---- Solution 30s ---- */
.solution-30s {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 20px;
  margin: 48px 0 40px;
}

.solution-30s-step {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.solution-30s-step h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.solution-30s-step p {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.65;
}

.solution-30s-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: #FEF3C7;
  color: #D97706;
}

.solution-30s-icon.accent {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.solution-30s-icon.success {
  background: #D1FAE5;
  color: var(--color-success);
}

.solution-30s-icon svg { width: 24px; height: 24px; }

.solution-30s-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  padding-top: 40px;
  flex-shrink: 0;
}

.solution-30s-arrow svg { width: 26px; height: 26px; }

.solution-30s-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ---- btn-ghost ---- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 4px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-border);
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }

/* ---- Comparison v2 (Standard vs Aqualis) ---- */
.comparison-v2 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 40px auto;
  max-width: 760px;
}

.comparison-v2-col {
  border-radius: var(--radius-card);
  padding: 28px 24px;
}

.comparison-v2-before {
  background: #FFF8F8;
  border: 1.5px solid #FECACA;
}

.comparison-v2-after {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
}

.comparison-v2-header { margin-bottom: 20px; }

.comparison-v2-debit {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-top: 8px;
  line-height: 1.1;
}

.comparison-v2-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 100px;
}

.badge-before { background: #FEE2E2; color: #991B1B; }
.badge-after  { background: #D1FAE5; color: #065F46; }

.comparison-v2-vs {
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-muted);
  text-align: center;
}

.comparison-v2 ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.comparison-v2 li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.4;
}

.icon-danger {
  color: #DC2626;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---- VS Table (alternatives) ---- */
.vs-table { margin-top: 56px; }

.vs-table-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.vs-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.vs-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 620px;
}

.vs-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.8125rem;
}

.vs-table thead th:first-child { border-radius: var(--radius-card) 0 0 0; }
.vs-table thead th:last-child  { border-radius: 0 var(--radius-card) 0 0; }

.vs-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}

.vs-table tbody tr:last-child td { border-bottom: none; }

.vs-table tbody tr.vs-highlight td {
  background: var(--color-accent-light);
  font-weight: 500;
}

.success-text { color: var(--color-success); font-weight: 700; }

/* ---- Simulator help text ---- */
.sim-help {
  font-size: 0.8375rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 6px 0 16px;
}

.sim-help em {
  font-style: italic;
  color: var(--color-text);
  font-weight: 500;
}

/* ---- Case study inline note ---- */
.case-note-inline {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 400;
}

/* ---- Wave bottom of section-primary ---- */
.section-wave-bottom {
  line-height: 0;
  overflow: hidden;
  margin-top: 16px;
}

.section-wave-bottom svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* Supprimer le padding-bottom de la section garanties pour coller la vague au bas */
#garanties {
  padding-bottom: 0;
}

/* ---- Value band ---- */
.value-band {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.value-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 32px 28px;
  border-right: 1px solid var(--color-border);
}

.value-item:first-child { padding-left: 0; }
.value-item:last-child  { border-right: none; padding-right: 0; }

.value-stat {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.value-stat small {
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 0;
}

.value-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

.value-desc {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.faq-question:hover { color: var(--color-accent); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 0 22px;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.75;
}

.faq-item.open .faq-answer { max-height: 600px; }

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 940px;
  margin: 0 auto;
}

.about-photo img {
  width: 300px;
  height: 300px;
  border-radius: var(--radius-card);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.about-title {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.about-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.about-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.about-contact-link:hover { opacity: 0.8; }
.about-contact-link svg { width: 18px; height: 18px; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-row { margin-bottom: 20px; }
.form-row:last-child { margin-bottom: 0; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-main);
  font-size: 0.9rem;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-btn);
  color: var(--color-text);
  background: var(--color-white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(31,111,235,0.1);
}

.form-group textarea { resize: vertical; line-height: 1.6; }

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #DC2626;
}

.form-error {
  font-size: 0.8rem;
  color: #DC2626;
  min-height: 16px;
}

.form-group-checkbox { flex-direction: row; align-items: flex-start; gap: 12px; flex-wrap: wrap; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text);
}

.checkbox-label input[type="checkbox"] { display: none; }

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  transition: var(--transition);
  position: relative;
  background: var(--color-white);
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.form-success {
  text-align: center;
  padding: 48px 32px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #DCFCE7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-success);
}

.success-icon svg { width: 32px; height: 32px; }

.form-success h3 {
  font-size: 1.4rem;
  color: var(--color-success);
  margin-bottom: 10px;
}

.form-success p { color: var(--color-muted); }

.contact-info { position: sticky; top: 96px; }

.contact-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

.contact-info-item svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }
.contact-info-item a { color: var(--color-accent); font-weight: 600; }
.contact-info-item a:hover { opacity: 0.8; }

.contact-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 20px 0;
}

.contact-promises {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-promises li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text);
}

/* ---- Footer ---- */
.footer {
  background: var(--color-primary);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 8px;
  mix-blend-mode: screen;
  opacity: 0.95;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-nav a:hover { color: var(--color-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--color-white); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* ---- Shower comparison slider ---- */
.shower-compare-wrapper {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.shower-compare-hint {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 14px;
  font-style: italic;
}

.shower-compare {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: var(--radius-card);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.sc-after,
.sc-before {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
}

.sc-after img,
.sc-before img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  pointer-events: none;
}

.sc-before {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s;
}

.sc-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.sc-handle-line {
  flex: 1;
  width: 2px;
  background: var(--color-accent);
}

.sc-handle-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 16px rgba(31,111,235,0.45);
  pointer-events: all;
  cursor: ew-resize;
  flex-shrink: 0;
}

.sc-label {
  position: absolute;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(10,37,64,0.82);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  pointer-events: none;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.sc-label span { font-weight: 700; font-size: 0.85rem; }
.sc-label small { opacity: 0.8; font-size: 0.72rem; }
.sc-label-left { left: 16px; }
.sc-label-right { right: 16px; }

/* ---- Scroll animations ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive — Tablet ---- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 240px 1fr; gap: 40px; }
  .about-photo img { width: 240px; height: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }

  /* Value band */
  .value-band-grid { grid-template-columns: 1fr 1fr; }
  .value-item { padding: 24px 20px; }
  .value-item:first-child { padding-left: 0; }
  .value-item:nth-child(2) { border-right: none; }
  .value-item:nth-child(1),
  .value-item:nth-child(2) { border-bottom: 1px solid var(--color-border); }
  .value-item:nth-child(3) { padding-left: 0; }

  /* Solution 30s */
  .solution-30s { grid-template-columns: 1fr; }
  .solution-30s-arrow { display: none; }

  /* Comparison v2 */
  .comparison-v2 { grid-template-columns: 1fr; max-width: 480px; }
  .comparison-v2-vs { text-align: center; padding: 4px 0; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    color: var(--color-primary) !important;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
    width: 100%;
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 120px 0 72px; }
  .hero-2col { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .hero-visual img { height: 260px; max-width: 100%; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  /* Problems */
  .problems-grid { grid-template-columns: 1fr; }

  /* Solution */
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-before, .comparison-lever { border-right: none; border-bottom: 1px solid var(--color-border); }
  .key-numbers { grid-template-columns: 1fr; }

  /* Case study */
  .case-study { padding: 24px; }
  .case-table-header, .case-row { grid-template-columns: 1fr 80px 1fr; }

  /* Simulator */
  .simulator-card { padding: 28px 20px; }
  .sim-results { grid-template-columns: 1fr; }
  .toggle-group { flex-direction: column; }
  .toggle-btn { text-align: center; }

  /* Steps */
  .step { grid-template-columns: 60px 1fr; gap: 20px; }
  .step-number { width: 60px; height: 60px; font-size: 1.75rem; }
  .quotes-grid { grid-template-columns: 1fr; }

  /* Guarantees */
  .guarantees-grid { grid-template-columns: 1fr; }

  /* Env */
  .env-grid { grid-template-columns: 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-photo img { width: 200px; height: 200px; margin: 0 auto; }

  /* Contact */
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Value band */
  .value-band-grid { grid-template-columns: 1fr 1fr; padding: 0 16px; }
  .value-item { padding: 20px 16px; }
  .value-item:first-child { padding-left: 0; }
  .value-item:last-child  { border-right: none; padding-right: 0; }
  .value-item:nth-child(even) { border-right: none; }
  .value-item:nth-child(1),
  .value-item:nth-child(2) { border-bottom: 1px solid var(--color-border); }
  .value-item:nth-child(3) { padding-left: 0; }

  /* Proof bar */
  .proof-sep { display: none; }
  .proof-bar { gap: 6px 0; flex-direction: column; align-items: flex-start; }

  /* Hero wave */
  .hero-wave svg { height: 40px; }

  /* Solution 30s */
  .solution-30s-cta { flex-direction: column; align-items: center; }

  /* VS table */
  .vs-table-title { font-size: 1rem; }

  /* Comparison v2 */
  .comparison-v2-debit { font-size: 1.25rem; }
}
