﻿/* ===== IMAGE COUPLE ===== */
.couple-image {
  background: var(--white);
  padding: 0;
  overflow: hidden;
}

.couple-image__img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 480px;
}

/* ===== PAGE HERO ===== */
.nav__link--active {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.p-hero {
  background: var(--navy-grad);
  padding: 80px 0 96px;
  text-align: center;
}

.p-hero__eyebrow {
  margin-bottom: 20px;
}

.p-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.p-hero__title strong {
  font-weight: 800;
}

.p-hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}

/* ===== PARCOURS DE VIE ===== */
.parcours {
  padding: 80px 0 72px;
  background: var(--white);
}

.parcours__eyebrow { text-align: center; }

.parcours__title {
  text-align: center;
  margin-bottom: 52px;
  font-weight: 400;
}
.parcours__title strong { font-weight: 800; }

/* ---- 4 colonnes timeline ---- */
.pv-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

/* Ligne horizontale reliant les colonnes */
.pv-timeline::before {
  content: '';
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 54px; /* centre du dot : pill ~38px + moitié pv-line 16px */
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(192,57,43,0.5) 0%,
    rgba(192,57,43,0.25) 25%,
    rgba(180,170,180,0.4) 50%,
    rgba(192,57,43,0.25) 75%,
    rgba(192,57,43,0.5) 100%
  );
  border-radius: 2px;
  z-index: 0;
}

.pv-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
}

/* Pill */
.pv-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  user-select: none;
}
.pv-pill--red  { background: var(--red); }
.pv-pill--navy { background: var(--navy); }

.pv-arrow { font-size: 9px; opacity: 0.7; }

/* Ligne + dot sous le pill */
.pv-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  z-index: 1;
}

.pv-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
}
.pv-dot--red  { background: var(--red); }
.pv-dot--navy { background: var(--navy); }

/* Label */
.pv-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin-bottom: 20px;
  padding: 0 4px;
}

/* Items */
.pv-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  width: 100%;
}
.pv-item:hover,
.pv-item.active {
  background: rgba(192,57,43,0.08);
  color: var(--red);
}

.pv-icon {
  width: 28px;
  height: 28px;
  background: rgba(192,57,43,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pv-icon svg { width: 15px; height: 15px; }

/* ---- MODAL ---- */
.pv-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.pv-modal.open { display: flex; }

.pv-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,18,40,0.55);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.pv-modal__card {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 44px 40px 40px;
  max-width: 520px;
  width: 90%;
  z-index: 1;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  animation: modalIn 0.3s cubic-bezier(0.34,1.3,0.64,1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.pv-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pv-modal__close svg { width: 26px; height: 26px; }

.pv-modal__icon {
  width: 60px;
  height: 60px;
  background: rgba(192,57,43,0.09);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pv-modal__icon svg { width: 28px; height: 28px; }

.pv-modal__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.pv-modal__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 18px;
}

.pv-modal__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.pv-modal__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}
.pv-modal__points li::before {
  content: '•';
  color: var(--red);
  font-size: 18px;
  line-height: 1;
}

.pv-modal__btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .pv-timeline { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .pv-timeline::before { display: none; }
}

/* ===== OFFRE PHARE BANNER ===== */
.offre-phare {
  background: #f9f5f2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.offre-phare__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.offre-phare__left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.offre-phare__left strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-right: 8px;
}

.offre-phare__left span {
  font-size: 14px;
  color: var(--text-muted);
}

.offre-phare__btn {
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
}

/* ===== PRODUCTS ===== */
.products {
  padding: 80px 0;
  background: var(--white);
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.product-row:last-child { border-bottom: none; }

.product-row--reverse .product-row__content { order: 2; }
.product-row--reverse .product-row__card { order: 1; }

.product-row__icon {
  width: 52px;
  height: 52px;
  background: rgba(192,57,43,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.product-row__icon svg {
  width: 26px;
  height: 26px;
}

.product-row__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.product-row__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.product-row__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 32px;
}

.product-row__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.product-row__features li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.product-row__btn {
  padding: 12px 24px;
  font-size: 14px;
}

/* Product card (right/left visual) */
.product-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 240px;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.product-card:hover { transform: translateY(-4px); }

.product-card--dark {
  background: var(--navy-grad);
  border-color: transparent;
}

.product-card--dark .product-card__title { color: var(--white); }
.product-card--dark .product-card__sub { color: rgba(255,255,255,0.5); }

.product-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}

.product-card__icon--red {
  /* red-tinted icon in dark card */
}

.product-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.product-card__sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--navy-grad);
  padding: 80px 0;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .product-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-row--reverse .product-row__content { order: 1; }
  .product-row--reverse .product-row__card { order: 2; }
  .product-row__features { grid-template-columns: 1fr; }
  .parcours__line { padding: 0 20px; }
  .parcours__line::before { left: 20px; right: 20px; }
}

@media (max-width: 600px) {
  .p-hero__title br { display: none; }
  .parcours__tabs { gap: 8px; }
  .p-tab { font-size: 12px; padding: 8px 14px; }
  .offre-phare__inner { flex-direction: column; align-items: flex-start; }
  .p-panel__cols { gap: 32px; flex-direction: column; }
}
