/**
 * ============================================================
 *  pages.css — STYLES SPÉCIFIQUES AUX SECTIONS DE PAGES
 * ============================================================
 */

/* ============================================================
   HERO — ACCUEIL
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11,34,48,0.96) 15%, rgba(11,34,48,0.86) 45%, rgba(11,34,48,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding-block: 40px;
}

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 60px; }
}

.hero-copy .eyebrow { color: var(--amber); }
.hero-copy .eyebrow::before { background: var(--amber); }

.hero-copy h1 {
  margin-bottom: 22px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--amber);
  position: relative;
}

.hero-copy .lede {
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(246, 242, 233, 0.14);
}
.hero-trust__item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--amber);
}
.hero-trust__item span { font-size: 0.82rem; color: var(--text-light-60); }

/* ---- Carte visuelle du hero (photo + badge flottant) ---- */
.hero-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  border: 1px solid rgba(246, 242, 233, 0.12);
}
.hero-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.hero-visual:hover .hero-visual__img { transform: scale(1.08); }

.hero-visual__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(11, 34, 48, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(246, 242, 233, 0.14);
  border-radius: var(--r-md);
  padding: 16px 20px;
}
.hero-visual__badge strong {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  color: var(--amber);
  line-height: 1;
}
.hero-visual__badge span {
  font-size: 0.82rem;
  color: var(--text-light-60);
  line-height: 1.3;
}

@media (max-width: 980px) {
  .hero-visual { aspect-ratio: 16/10; }
}

/* ============================================================
   MARQUEE DESTINATIONS (juste sous le hero)
   ============================================================ */
.destinations-strip { background: var(--ink-2); }

/* ============================================================
   PROCESSUS — image / illustration côté
   ============================================================ */
.process-visual {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  border-radius: var(--r-lg);
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.process-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .process-visual { position: static; aspect-ratio: 16/9; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(40px, 7vw, 80px);
  overflow: hidden;
  color: var(--text-light);
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(227,154,59,0.25), transparent 70%);
  top: -220px; right: -120px;
  border-radius: 50%;
}
.cta-banner h2 { max-width: 640px; margin-inline: auto 20px; margin-bottom: 20px; }
.cta-banner .lede { max-width: 520px; margin-inline: auto; margin-bottom: 34px; }
.cta-banner .hero-actions { justify-content: center; }

/* ============================================================
   PAGE SERVICES — bloc détaillé alterné
   ============================================================ */
.service-block {
  padding-block: clamp(56px, 8vw, 96px);
  border-bottom: 1px solid rgba(18, 34, 43, 0.08);
}
.service-block:last-of-type { border-bottom: none; }

.service-block .split { align-items: start; }

.service-block__visual {
  border-radius: var(--r-lg);
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-block__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-block__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(11,34,48,0.6) 100%);
}
.service-block__code {
  position: absolute;
  bottom: 20px; left: 24px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

.service-block__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}
.service-block__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}
.service-block__list svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }

@media (max-width: 620px) {
  .service-block__list { grid-template-columns: 1fr; }
}

.service-block:nth-of-type(even) .split { direction: rtl; }
.service-block:nth-of-type(even) .split > * { direction: ltr; }

/* ============================================================
   PAGE À PROPOS — timeline verticale
   ============================================================ */
.timeline {
  position: relative;
  margin-left: 10px;
  padding-left: 34px;
  border-left: 2px solid rgba(18, 34, 43, 0.12);
}
.timeline-item {
  position: relative;
  padding-bottom: 42px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--amber);
}
.timeline-item__year {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--amber-dark);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.timeline-item p { color: var(--text-dark-60); max-width: 480px; }

.values-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 28px;
  border: 1px solid rgba(18,34,43,0.06);
  box-shadow: var(--shadow-sm);
}
.values-card__index {
  font-family: var(--font-mono);
  color: var(--teal);
  font-size: 0.8rem;
  margin-bottom: 14px;
  display: block;
}

.about-hero-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: var(--shadow-md);
}
.about-hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   PAGE CONTACT / DEVIS
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.info-cards-list { display: flex; flex-direction: column; gap: 16px; }

.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 20px;
  aspect-ratio: 16/10;
  border: 1px solid rgba(18,34,43,0.08);
  filter: grayscale(0.15) contrast(1.05);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.devis-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.devis-step-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  color: var(--text-dark-60);
}

/* ============================================================
   404 (facultatif, cohérence visuelle)
   ============================================================ */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-h);
}
.error-page .code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--amber);
  line-height: 1;
}
