/*
 * Stylesheet pour le site Hommages Éternels
 * Conçu pour offrir une expérience sobre et contemporaine, adaptée aux
 * familles en deuil. Les couleurs douces et les typographies sans empattement
 * créent une ambiance chaleureuse et respectueuse.
 */

/* Variables de couleurs et typographies */
:root {
  --color-primary: #6a89cc; /* bleu mauve, couleur principale */
  --color-secondary: #b8c6db; /* bleu-gris clair pour dégradés */
  --color-accent: #445c85; /* accent foncé pour boutons secondaires */
  --color-light: #f9f9f9; /* arrière-plan clair */
  --color-dark: #2f3640; /* texte foncé */
  --color-muted: #7f8c8d; /* texte secondaire */
  --color-card: #ffffff; /* cartes et surfaces */
  --radius: 8px;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  --font-family: 'Montserrat', Arial, sans-serif;
}

/* Reset de base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
  font-family: var(--font-family);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
}

body.video-lightbox-open {
  overflow: hidden;
}

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

a:hover {
  text-decoration: underline;
}

img,
video,
iframe {
  max-width: 100%;
}

/* Conteneur centralisé */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  min-width: 0;
  gap: 1rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-primary);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-primary);
  text-decoration: none;
  min-width: 0;
}

.brand-link:hover {
  text-decoration: none;
}

.site-logo {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  cursor: zoom-in;
}

.logo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.logo-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.logo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 15, 20, 0.78);
  cursor: zoom-out;
}

.logo-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(88vw, 680px);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s ease;
}

.logo-lightbox.is-open .logo-lightbox-panel {
  transform: translateY(0) scale(1);
}

.logo-lightbox-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.logo-lightbox-close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-dark);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.header nav {
  min-width: 0;
}

.nav-list li a {
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}

.nav-list li a:hover {
  background-color: var(--color-secondary);
  color: var(--color-dark);
}

.language-switcher {
  display: flex;
  align-items: center;
}

.language-switcher select {
  appearance: none;
  border: 1px solid rgba(106, 137, 204, 0.35);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--color-accent);
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.48rem 1.8rem 0.48rem 0.7rem;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-accent) 50%), linear-gradient(135deg, var(--color-accent) 50%, transparent 50%);
  background-position: calc(100% - 0.9rem) 50%, calc(100% - 0.55rem) 50%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.language-switcher select:focus {
  outline: 2px solid rgba(106, 137, 204, 0.3);
  outline-offset: 2px;
}

.nav-dup {
  display: none;
}

@keyframes nav-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85vh;
  /* Superpose a gradient over a photographic background to create a warm, layered effect */
  background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%), url('hero.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  /* Blend the gradient with the image for a softer look */
  background-blend-mode: overlay;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Overlay assombri pour améliorer la lisibilité du texte sur l'image */
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #f0f4f8;
}

.hero-premium {
  min-height: auto;
  height: auto;
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  align-items: stretch;
  background:
    radial-gradient(circle at 12% 18%, rgba(218, 178, 124, 0.24), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(106, 137, 204, 0.18), transparent 26%),
    linear-gradient(135deg, #181512 0%, #30251e 46%, #131721 100%);
  color: #fff;
  text-align: left;
  isolation: isolate;
}

.hero-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%);
  z-index: 0;
}

.hero-premium-glow {
  position: absolute;
  inset: 10% 8% auto auto;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(222, 178, 116, 0.18);
  filter: blur(70px);
  z-index: 0;
}

.hero-premium-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  animation: heroFadeUp 900ms ease both;
}

.hero-premium-copy {
  max-width: 570px;
}

.hero-brand-mark {
  margin-bottom: 1.5rem !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 0.95rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 0.75rem !important;
  color: #e5c99f !important;
  font-size: clamp(1rem, 1.8vw, 1.15rem) !important;
  font-weight: 600;
}

.hero-premium h2 {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: clamp(2.45rem, 5.5vw, 5rem);
  line-height: 0.98;
  font-weight: 700;
  max-width: 700px;
}

.hero-premium-text {
  max-width: 560px;
  margin-bottom: 2rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(1.03rem, 1.7vw, 1.22rem) !important;
}

.hero-video-cta {
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.hero-video-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #16110d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 500ms ease, box-shadow 500ms ease, border-color 500ms ease;
}

.hero-video-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 900ms ease, filter 900ms ease;
}

.hero-video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 201, 159, 0.45);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.44), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.hero-video-card:hover img {
  transform: scale(1.065);
  filter: saturate(1.08) contrast(1.04);
}

.hero-video-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, transparent 0, rgba(0, 0, 0, 0.1) 28%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(135deg, rgba(72, 42, 24, 0.22), rgba(8, 10, 14, 0.12));
}

.hero-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(4.2rem, 8vw, 6rem);
  height: clamp(4.2rem, 8vw, 6rem);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #231910;
  background: rgba(255, 245, 226, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  transition: transform 420ms ease, background-color 420ms ease;
}

.hero-video-card:hover .hero-play-button {
  transform: translate(-50%, -50%) scale(1.06);
  background: #fff7e8;
}

.hero-play-button i {
  margin-left: 0.22rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-premium {
  padding: clamp(1rem, 2.5vw, 2.75rem) 1rem;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  background: #120d09;
}

.hero-premium .hero-premium-glow,
.hero-premium .hero-premium-copy,
.hero-premium .hero-proof-grid {
  display: none;
}

.hero-premium .hero-premium-inner {
  position: relative;
  inset: auto;
  width: min(100%, 1480px);
  max-width: 1480px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  display: block;
  animation: heroFadeUp 700ms ease both;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.hero-premium .hero-video-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  transform: none;
}

.hero-premium .hero-video-card:hover {
  transform: none;
  box-shadow: none;
}

.hero-premium .hero-video-card img {
  transform: scale(1);
  object-position: center;
}

.hero-premium .hero-video-card:hover img {
  transform: scale(1.025);
}

.hero-premium .hero-video-shade {
  background: radial-gradient(circle at 50% 50%, transparent 0, rgba(0, 0, 0, 0.06) 24%, rgba(0, 0, 0, 0.24) 100%);
}

.hero-intro {
  padding: 2rem 0 3.25rem;
}

.hero-intro .container {
  max-width: 860px;
}

.hero-intro p {
  color: var(--color-muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.8;
  text-align: center;
}

.hero-proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  animation: heroFadeUp 900ms 180ms ease both;
}

.hero-proof-item {
  padding: 1.15rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
}

.hero-proof-item h3 {
  margin-bottom: 0.35rem;
  color: #f2d3a4;
  font-size: 1rem;
  font-weight: 700;
}

.hero-proof-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.video-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 8, 10, 0.82);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.video-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 94vw);
  transform: translateY(16px) scale(0.98);
  transition: transform 260ms ease;
}

.video-lightbox.is-open .video-lightbox-panel {
  transform: translateY(0) scale(1);
}

.video-lightbox-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.58);
}

.video-lightbox-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-lightbox-close {
  position: absolute;
  right: -0.4rem;
  top: -3rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background-color 220ms ease, transform 220ms ease;
}

.video-lightbox-close:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.18);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: #ffffff;
  color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  color: var(--color-dark);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: #ffffff;
}

/* Bouton WhatsApp */
.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebd54;
  color: #ffffff;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-linkedin {
  background-color: #0a66c2;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.btn-linkedin:hover {
  background-color: #084f98;
  color: #ffffff;
  text-decoration: none;
}

/* Image banner used to insert a visual break between sections */
.image-banner {
  width: 100%;
  margin: 3rem 0;
}

.image-banner img {
  width: 100%;
  /* Fix the height to provide a consistent banner size */
  height: 350px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-color: #dfe6ee;
}

/* Section base styles */
.section-light {
  background-color: var(--color-light);
  padding: 4rem 0;
}

.section-dark {
  background-color: #eef2f7;
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-muted);
  font-size: 1rem;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.feature-item {
  background-color: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
}

.feature-item i {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.feature-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-item p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.package-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.package-card.premium {
  border: 2px solid var(--color-primary);
}

.package-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.package-price {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.package-list {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.package-list li {
  margin-bottom: 0.6rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.process-section {
  background: linear-gradient(180deg, #eef2f7 0%, #f7f8fb 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.process-card {
  position: relative;
  min-height: 100%;
  padding: 1.75rem;
  border: 1px solid rgba(106, 137, 204, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.process-step {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-primary);
  font-weight: 700;
}

.process-card h3 {
  margin-bottom: 0.7rem;
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.process-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.process-note {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--color-primary);
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  text-align: center;
}

.process-payment {
  max-width: 920px;
  margin: 1.5rem auto 0;
  padding: 1.75rem;
  border: 1px solid rgba(68, 92, 133, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.process-payment h3 {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 700;
}

.process-payment p {
  color: var(--color-muted);
  max-width: 760px;
  margin: 0 auto 0.75rem;
}

.process-payment p:last-child {
  margin-bottom: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(106, 137, 204, 0.16);
  color: var(--color-accent);
  font-weight: 700;
}

.payment-methods i {
  color: var(--color-primary);
  font-size: 2rem;
  line-height: 1;
}

.package-note {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(106, 137, 204, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-muted);
  text-align: center;
  font-size: 0.95rem;
}

/* Featured restoration video */
.showcase {
  padding: 4rem 0 2rem;
}

.showcase-single {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.showcase-video-card {
  background-color: var(--color-card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(106, 137, 204, 0.12);
}

.showcase-heading {
  margin-bottom: 1.25rem;
}

.showcase-video-card {
  padding: 1rem;
}

.showcase-video-shell {
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  min-height: 420px;
}

.showcase-video-shell video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
  min-height: 420px;
}

.showcase-video-fallback {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  text-align: center;
  color: var(--color-muted);
}

.showcase-video-fallback a {
  font-weight: 600;
}

.photo-enhancement {
  padding: 2rem 0 4rem;
}

.photo-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.photo-compare-item,
.photo-origin-card {
  background-color: var(--color-card);
  border: 1px solid rgba(106, 137, 204, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0;
  padding: 0.75rem;
}

.photo-compare-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius) - 4px);
  background: #000;
}

.photo-compare-item:first-child img,
.photo-origin-card img {
  object-fit: contain;
}

.photo-origin-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-position: center;
  border-radius: calc(var(--radius) - 4px);
  background: #000;
}

.photo-compare-item figcaption,
.photo-origin-card figcaption {
  margin-top: 0.75rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.youtube-demo {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.youtube-demo h3 {
  color: var(--color-primary);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.youtube-demo p {
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.youtube-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.youtube-thumb img,
.youtube-thumb iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.youtube-thumb img {
  object-fit: cover;
}

.youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4rem;
  height: 4rem;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(220, 0, 0, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.youtube-play i {
  margin-left: 0.18rem;
  font-size: 1.5rem;
}

.animation-intro {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.animation-intro h3 {
  color: var(--color-primary);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.animation-intro p {
  color: var(--color-muted);
}

.animation-demo {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(240px, 330px);
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
}

.animation-demo .photo-origin-card {
  width: 100%;
}

.animation-video-block {
  width: 100%;
}

.animation-video-block .showcase-video-card {
  width: min(100%, 330px);
  margin: 0 auto;
  padding: 0.75rem;
}

.animation-video-block .showcase-video-shell {
  min-height: 0;
  border-radius: 14px;
}

.animation-video-block .showcase-video-shell video {
  aspect-ratio: 9 / 16;
  min-height: 0;
  max-height: 500px;
  object-fit: cover;
}

/* Testimonials */
.testimonials {
  position: relative;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-item {
  background-color: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  font-style: italic;
}

.testimonial-text {
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
  text-align: right;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Info section for access, confidentiality and quality */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.info-item {
  background-color: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
}

.info-item h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: var(--color-primary);
}

.info-item p {
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .hero-premium {
    padding-top: 2.5rem;
  }

  .hero-premium-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-premium-copy {
    max-width: none;
  }

  .hero-premium h2 {
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  .hero-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px), (pointer: coarse) {
  .header .container {
    width: 100% !important;
    max-width: none !important;
  }

  .nav-wrapper {
    display: block !important;
    padding: 0.5rem 0 0.55rem !important;
  }

  .brand-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    padding: 0 1rem 0.45rem !important;
  }

  .site-logo {
    width: 48px;
    height: 48px;
  }

  .logo-lightbox-panel {
    width: min(90vw, 420px);
  }

  .logo {
    display: inline !important;
    padding: 0 !important;
    font-size: 1.25rem !important;
    line-height: 1.2 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .header nav {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 1rem), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 1rem, #000 calc(100% - 1rem), transparent 100%);
  }

  .header nav::-webkit-scrollbar {
    display: none;
  }

  .nav-list {
    display: flex !important;
    width: max-content !important;
    min-width: max-content !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 0.35rem !important;
    padding: 0 0.75rem 0.15rem !important;
    font-size: 0.88rem !important;
    animation: none !important;
  }

  .nav-list li {
    flex: 0 0 auto !important;
  }

  .nav-list li a {
    display: block !important;
    padding: 0.45rem 0.65rem !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 769px) {
  .feature-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(250px, 360px));
  }

  .feature-item:last-child,
  .info-item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 360px);
  }
}

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

.contact-form .full-width {
  grid-column: span 2;
}

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

.form-group label {
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea {
  padding: 0.6rem;
  border: 1px solid #dcdde1;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(106, 137, 204, 0.2);
}

.contact-info {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-dark);
}

.contact-info p {
  margin-bottom: 0.4rem;
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 2rem 0;
  text-align: center;
}

.footer-links a {
  color: #ffffff;
  margin: 0 0.5rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  margin: 0.75rem 0 0.35rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-social i {
  font-size: 1.25rem;
}

.footer-social a:hover {
  color: #f2d3a4;
  text-decoration: none;
}

/* Utilities */
.section-dark .package-card {
  background-color: var(--color-card);
}

.package-card.premium .package-title {
  color: var(--color-accent);
}

.package-card.premium .package-price {
  color: var(--color-primary);
}

/* Responsiveness */
@media (max-width: 600px) {
  .hero h2 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }

  .hero-premium {
    padding: 2rem 0 2.5rem;
  }

  .hero-premium h2 {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .hero-brand-mark {
    margin-bottom: 1rem !important;
  }

  .hero-video-card,
  .video-lightbox-frame {
    border-radius: 12px;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    padding: 1.35rem;
  }

  .process-payment {
    padding: 1.35rem;
    text-align: left;
  }

  .payment-methods {
    justify-content: flex-start;
  }

  .package-note {
    text-align: left;
  }

  .video-lightbox {
    padding: 0.75rem;
  }

  .video-lightbox-close {
    right: 0;
    top: -3.1rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form .full-width {
    grid-column: span 1;
  }

  .showcase {
    padding-top: 3rem;
  }

  .showcase-video-shell video {
    min-height: 320px;
  }

  .showcase-video-shell {
    min-height: 320px;
  }

  .photo-compare-grid,
  .animation-demo {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 880px) {
  .showcase-video-card {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .showcase-video-shell video {
    max-height: 78vh;
  }
}

/* === Guide Page Styles === */

/* Spacing for guide sections */
.guide-section {
  padding: 4rem 0;
}

/* Grid layout for guide cards */
.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Generic guide card */
.guide-card {
  background-color: var(--color-card);
  border: 1px solid var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  position: relative;
}

/* Icon container for guide cards */
.guide-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Title inside guide cards */
.guide-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--color-primary);
}

/* Notice / callout elements in guide cards */
.guide-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 1rem;
  border: 1px solid transparent;
}

/* List styling for guide lists */
.guide-list {
  list-style: disc;
  margin-left: 1.5rem;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.guide-list li {
  margin-bottom: 0.4rem;
}

/* Style card icons */
.style-card {
  text-align: center;
}
.style-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.style-desc {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Timeline grid for guide */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.timeline-item {
  border-left: 3px solid var(--color-primary);
  padding-left: 1rem;
}
.timeline-item span {
  color: var(--color-primary);
  font-weight: bold;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.timeline-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.4rem 0;
}
.timeline-item p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Callout section for expert advice */
.guide-callout {
  padding: 4rem 0;
  background-color: var(--color-primary);
  color: #ffffff;
}
.guide-callout .callout {
  background: transparent;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: none;
}
.guide-callout .callout h3 {
  color: #fff;
}
.guide-callout .callout p {
  color: #f5f5f5;
  font-style: italic;
}

@media (max-width: 768px) {
  .hero-premium {
    padding: 1rem;
    aspect-ratio: auto;
  }

  .hero-premium .hero-premium-inner {
    display: block;
    gap: 0;
  }

  .hero-intro {
    padding: 1.75rem 0 2.5rem;
  }
}

@media (max-width: 600px) {
  .hero-premium {
    padding: 0;
    aspect-ratio: auto;
  }

  .hero-premium .hero-premium-inner {
    width: 100%;
    border-radius: 0;
  }

  .hero-premium .hero-video-card,
  .hero-premium .hero-video-card img {
    border-radius: 0;
  }

  .hero-intro p {
    text-align: left;
  }
}

/* Final hero framing override: keeps the presentation image readable on ultrawide screens. */
.hero.hero-premium {
  padding: clamp(1rem, 2.5vw, 2.75rem) 1rem;
  aspect-ratio: auto;
}

.hero.hero-premium .hero-premium-inner {
  position: relative;
  width: min(100%, 1480px);
  max-width: 1480px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .hero.hero-premium {
    padding: 0;
  }

  .hero.hero-premium .hero-premium-inner {
    width: 100%;
    border-radius: 0;
  }
}

/* Process testimonials / client recommendations */
.testimonials-process {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.process-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.process-testimonial-card {
  appearance: none;
  border: 1px solid rgba(10, 77, 60, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ee 100%);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.process-testimonial-card:hover,
.process-testimonial-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(11, 122, 78, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.13);
  outline: none;
}

.process-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: #087a45;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.process-testimonial-card strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.process-testimonial-card p {
  color: var(--color-muted);
  margin-bottom: 1.15rem;
}

.process-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #087a45;
  font-weight: 800;
}

.youtube-demo-vertical {
  max-width: 420px;
}

.youtube-thumb-vertical {
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin: 0 auto;
}

.process-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.process-lightbox.is-open {
  display: flex;
}

.process-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 20, 16, 0.74);
  cursor: pointer;
}

.process-lightbox-panel {
  position: relative;
  width: min(96vw, 1400px);
  max-height: 92vh;
  overflow: auto;
  background: #fffaf1;
  border-radius: 22px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
  padding: 1rem;
}

.process-lightbox-panel h3 {
  margin: 0.35rem 3rem 1rem 0.5rem;
  color: var(--color-primary);
  font-size: 1.25rem;
}

.process-lightbox-panel img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.process-lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  z-index: 1;
}

body.process-lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .process-testimonial-grid {
    grid-template-columns: 1fr;
  }
  .process-lightbox-panel {
    padding: 0.7rem;
  }
}
