:root {
  --yellow: #fecc20;
  --yellow-deep: #fecc27;
  --btn: #8AD07E;
  --btn-hover: #79C46B;
}


* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
  isolation: isolate;
  grid-template-rows: 1fr auto;
}

.bg-video {
  position: absolute;
  inset: 0;
  z-index: -5;
  overflow: hidden;
}

.bg-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(110%) contrast(102%);
}

.pattern {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='70' viewBox='0 0 60 70'><defs><pattern id='hex' width='60' height='70' patternUnits='userSpaceOnUse'><g fill='none' stroke='%23ffffff' stroke-width='2' opacity='0.33'><polygon points='30,0 60,17.5 60,52.5 30,70 0,52.5 0,17.5'/></g></pattern></defs><rect width='100%' height='100%' fill='transparent'/><rect width='100%' height='100%' fill='url(%23hex)'/></svg>") center/300px 350px repeat;
  mix-blend-mode: soft-light;
}

.veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  backdrop-filter: blur(1.2px);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.10));
}

.center {
  width: min(1200px, 92vw);
  text-align: center;
  position: relative;
  z-index: 5;
}

.center img {
  max-width: 650px;
  margin-bottom: 20px;
}

.scroll-arrow {
  position: absolute;
  left: 50%;
  bottom: 76px;
  transform: translateX(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
}

h1 {
  margin: 0 0 28px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .5px;
  font-size: clamp(34px, 5.2vw, 72px);
  color: transparent;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-deep) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0px 6px 12px rgba(0,0,0,0.3));
}

.cta-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  padding: 18px clamp(26px, 4.6vw, 42px);
  border-radius: 18px;
  background: var(--btn);
  color: #174219;
  box-shadow: 0 10px 24px rgba(122,181,110,.35);
  transition: .2s;
  font-size: clamp(16px, 2.3vw, 24px);
}

/* ===== WIDGET AVIS GOOGLE ===== */
.rw-widget {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: min(92vw, 340px);
  pointer-events: none;
}

.rw-card {
  pointer-events: auto;
  background: rgba(18,18,18,.66);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transform-origin: 100% 100%;
  animation: rw-pop-in .6s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes rw-pop-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rw-slide-out {
  to {
    opacity: 0;
    transform: translateY(8px) scale(.98);
  }
}

.rw-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .3px;
  margin-bottom: 8px;
}

.rw-google-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: conic-gradient(#4285F4 0 25%, #EA4335 0 50%, #FBBC05 0 75%, #34A853 0 100%);
}

.rw-rating-avg {
  margin-left: auto;
  font-weight: 800;
  opacity: .9;
}

.rw-body {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}

.rw-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #123;
  background: #9EF18D;
  mix-blend-mode: screen;
}

.rw-meta {
  flex: 1;
  min-width: 0;
}

.rw-name-date {
  display: flex;
  gap: 8px;
  align-items: baseline;
  opacity: .95;
}

.rw-name-date time {
  font-size: 12px;
  opacity: .7;
}

.rw-stars {
  --size: 18px;
  position: relative;
  height: var(--size);
  width: calc(var(--size) * 5);
  background: #444;
  border-radius: 4px;
  overflow: hidden;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="90" height="18" viewBox="0 0 90 18"><defs><path id="s" d="M9 0l2.3 5.9 6.3.5-4.8 4 1.5 6L9 13.7 4.7 16.4l1.5-6-4.8-4 6.3-.5L9 0z"/></defs><g fill="black"><use href="%23s"/><use href="%23s" x="18"/><use href="%23s" x="36"/><use href="%23s" x="54"/><use href="%23s" x="72"/></g></svg>') center/contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="90" height="18" viewBox="0 0 90 18"><defs><path id="s" d="M9 0l2.3 5.9 6.3.5-4.8 4 1.5 6L9 13.7 4.7 16.4l1.5-6-4.8-4 6.3-.5L9 0z"/></defs><g fill="black"><use href="%23s"/><use href="%23s" x="18"/><use href="%23s" x="36"/><use href="%23s" x="54"/><use href="%23s" x="72"/></g></svg>') center/contain no-repeat;
}

.rw-stars-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(180deg, #FED441, #E9A600);
  transition: width .45s ease;
}

.rw-text {
  margin: 6px 2px 10px;
  font-size: 14px;
  line-height: 1.35;
  opacity: .95;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rw-card:hover .rw-text {
  -webkit-line-clamp: unset;
  max-height: 220px;
}

.rw-progress {
  height: 3px;
  width: 100%;
  background: rgba(255,255,255,.15);
  border-radius: 6px;
  overflow: hidden;
}

.rw-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: #8AD07E;
  transition: width linear;
}

.centered-section {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--yellow);
  text-align: center;
}

.centered-title {
  font-weight: 800;
  font-size: clamp(28px, 5.4vw, 58px);
  color: #fff;
  text-shadow: 0 3px 8px rgba(0,0,0,.35);
}

.centered-lead {
  font-weight: 800;
  font-size: clamp(18px, 2.5vw, 34px);
  color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,.35);
  max-width: 60ch;
  margin: 0 auto;
}

.story {
  background: #fff;
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.story-viewport {
  width: min(1200px, 92vw);
  margin: auto;
  overflow: hidden;
}

.story-track {
  display: flex;
  transition: transform .6s ease;
  user-select: none;
  -webkit-user-select: none;
}

.story-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 20px;
}

.story-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-media img,
.story-media video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.story-slide video {
  width: 500px;
  height: 500px;
  border-radius: 50%;
}

.story-text {
  text-align: center;
}

.story-text h2 {
  color: #8AD07E;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  margin: 0 0 8px;
}

.story-text h3 {
  color: var(--yellow-deep);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  margin: 0 0 20px;
}

.story-text p {
  color: var(--yellow-deep);
  line-height: 1.7;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 400;
  text-align: center;
  margin: 0 0 10px;
}

.story-text strong {
  color: #8AD07E;
  font-weight: 700;
}

.story-progress {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 24px 0;
}

.story-dot {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  width: 80px;
  height: 20px;
  padding: 8px 0;
  position: relative;
}

.story-dot::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: rgba(0,0,0,.15);
}

.story-dot .bar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0%;
  height: 4px;
  background: var(--yellow);
  border-radius: 4px;
  z-index: 1;
}

footer {
  text-align: center;
  padding: 24px 20px;
  color: #fff;
  font-size: 14px;
  background: var(--yellow);
}

/* Mobile */
@media (max-width: 900px) {

  .hero {
    grid-template-rows: 1fr;
  }

  .scroll-arrow {
    display: none;
  }

  .center img {
    max-width: 70vw;
    margin-top: 32px;
    margin-bottom: 12px;
  }

  .cta-row {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .btn {
    width: 60vw;
    text-align: center;
    padding: 14px 20px;
    font-size: 16px;
  }

  .rw-widget {
    position: relative !important;
    right: auto;
    bottom: auto;
    width: 85%;
    max-width: 340px;
    margin: 20px auto 40px;
    z-index: 5;
    pointer-events: auto;
  }

  .story {
    padding: 40px 0;
  }

  .story-viewport {
    width: 100%;
    padding: 0 16px;
  }

  .story-progress {
    display: none !important;
  }

  .story-track {
    flex-direction: column;
    transform: none !important;
  }

  .story-slide {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 24px 0;
    gap: 20px;
    overflow: hidden;
  }

  .story-slide.right .story-text {
    order: 2;
  }

  .story-slide.right .story-media {
    order: 1;
  }

  .story-media {
    width: 100%;
  }

  .story-media img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
  }

  .story-slide video {
    width: min(280px, 80vw) !important;
    height: min(280px, 80vw) !important;
    margin: 0 auto;
  }

  .story-text {
    width: 100%;
    padding: 0;
  }

  .story-text h2 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .story-text h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .story-text p {
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
  }
}