/* Rovely — site vitrine. Fond clair, peu d’effets. */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3.woff2") format("woff2");
}

:root {
  --black: #1c1c1c;
  --black-light: #f3f1ec;
  --gold: #9a7b2f;
  --gold-light: #c9a227;
  --white: #fffcf8;
  --gray: #5c5c5c;
  --paper: #f6f4ef;
  --line: #e3dfd6;
  --radius: 2px;
  --radius-sm: 2px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;
  --shadow: 0 18px 50px rgba(28, 28, 28, 0.12);
  --shadow-soft: none;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t: 220ms;
  --t-slow: 220ms;
  --font-serif: "Source Sans 3", "Segoe UI", sans-serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 68px;
  --container: 1080px;
  --container-wide: 1120px;
  --gutter: clamp(1.15rem, 4vw, 2rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { text-wrap: pretty; }

::selection { background: var(--black); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 200;
  padding: 0.65rem 0.85rem;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.container--wide {
  width: min(var(--container-wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section { padding: clamp(4.2rem, 8vw, 6.5rem) 0; }

.section__title {
  margin: 0;
  max-width: 16em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section__lead {
  max-width: 36rem;
  margin: 0.9rem 0 0;
  color: var(--gray);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: transparent;
  color: var(--black);
  text-decoration: none;
  line-height: 1;
  transition: background var(--t) ease, color var(--t) ease;
}
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #000; }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.btn--block { width: 100%; }
.btn--gold { background: var(--black); border-color: var(--black); color: var(--white); }
.btn--line { background: var(--black); border-color: var(--black); color: var(--white); }

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  width: min(var(--container-wide), calc(100% - var(--gutter) * 2));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--black);
  text-decoration: none;
}
.brand img { width: auto; height: 30px; }
.brand__name {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__cta { display: none; }
.header__cta { flex: none; }
.theme-toggle { flex: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav__list a:hover,
.nav__list a.is-active { color: var(--black); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--black);
  transition: transform var(--t) ease, top var(--t) ease;
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle.is-open span:first-child { top: 21px; transform: rotate(40deg); }
.nav-toggle.is-open span:last-child { top: 21px; transform: rotate(-40deg); }

/* Hero */
.hero {
  padding: calc(var(--header-h) + clamp(3.2rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero h1 {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2.15rem, 4.2vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.hero__lead {
  max-width: 34rem;
  margin: 1.15rem 0 0;
  color: var(--gray);
  font-size: 1.08rem;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}
.hero__meta {
  margin: 1.6rem 0 0;
  color: var(--gray);
  font-size: 0.86rem;
}

/* Offers */
.offers { padding-top: 1rem; }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 2.2rem;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.3rem 1.3rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.plan--featured { border-color: var(--black); border-width: 1.5px; }
.plan__badge {
  position: absolute;
  top: 0;
  left: 1.2rem;
  transform: translateY(-50%);
  padding: 0.28rem 0.5rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan__name {
  margin: 0;
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plan__price {
  display: flex;
  align-items: flex-start;
  margin: 0.55rem 0 0.3rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.15vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan__price span {
  margin-top: 0.45rem;
  margin-left: 0.2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--gray);
}
.plan__for {
  margin: 0 0 1rem;
  color: var(--gray);
  font-size: 0.95rem;
}
.plan ul {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.plan li {
  padding: 0.62rem 0 0.62rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--black);
}
.plan .btn { margin-top: auto; }
.pricing__note {
  margin: 1.15rem 0 0;
  color: var(--gray);
  font-size: 0.92rem;
}
.care {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
}
.care p { margin: 0; color: var(--gray); }
.care strong { color: var(--black); font-weight: 500; }
.care a { color: var(--black); }

/* Why */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}
.why__item svg {
  width: 22px;
  height: 22px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.4;
}
.why__item h3 {
  margin: 0.8rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 500;
}
.why__item p {
  margin: 0;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.2rem 0 0;
  padding: 1.4rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.steps__num {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.steps h3 { margin: 0.45rem 0 0.35rem; font-size: 1.05rem; font-weight: 500; }
.steps p { margin: 0; color: var(--gray); line-height: 1.55; }

/* CTA */
.finale {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: #fff;
  color: var(--black);
  text-align: center;
}
.finale h2 {
  margin: 0 auto;
  max-width: 14em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  line-height: 1.2;
}
.finale p {
  margin: 0.8rem auto 0;
  max-width: 28rem;
  color: var(--gray);
}
.finale .btn {
  margin-top: 1.4rem;
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.finale .btn:hover { background: #000; }

/* FAQ */
.theme-toggle {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gray);
}
.theme-toggle__track {
  position: relative;
  width: 36px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
}
.theme-toggle__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--black);
  transition: transform var(--t) ease;
}
html[data-theme="dark"] .theme-toggle__track::after { transform: translateX(16px); }

.faq__list { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 1.02rem;
}
.faq__icon {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--black);
}
.faq__icon::before { top: 50%; left: 0; right: 0; height: 1px; }
.faq__icon::after { left: 50%; top: 0; bottom: 0; width: 1px; transition: transform var(--t) ease; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t) ease; }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel-inner { overflow: hidden; }
.faq__panel p {
  max-width: 42rem;
  margin: 0;
  padding: 0 2rem 1.05rem 0;
  color: var(--gray);
  line-height: 1.6;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact__direct { margin-top: 1.6rem; }
.contact__direct p { margin: 0 0 0.3rem; color: var(--gray); }
.contact__direct a { color: var(--black); }
#contact-form,
.form-success {
  padding: 1.35rem 1.3rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.form-plan { margin: 0 0 1rem; font-size: 0.92rem; }
.form-plan[hidden] { display: none; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.field { margin-bottom: 0.95rem; }
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
}
.req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #cfcabe;
  border-radius: 2px;
  background-color: #fff;
  outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, #1c1c1c 50%), linear-gradient(135deg, #1c1c1c 50%, transparent 50%);
  background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field select option { background: #fff; color: #1c1c1c; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--black); }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #8c3d32; }
.field__error { min-height: 1.05rem; margin: 0.2rem 0 0; color: #8c3d32; font-size: 0.78rem; }
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.3rem;
}
.form-hint { margin: 0; color: var(--gray); font-size: 0.82rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 600;
}
.form-success p { margin: 0 0 1.2rem; color: var(--gray); max-width: 32rem; }
.form-error { margin: 0.8rem 0 0; color: #8c3d32; }
.form-success a, .form-error a { color: var(--black); }

/* Footer */
.reviews {
  padding: 0 0 clamp(3.2rem, 6vw, 4.5rem);
}
.reviews[hidden] { display: none; }
.reviews__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.reviews__title {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.review-form,
.review-success {
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto 1.35rem;
}
.review-form {
  padding: 1.35rem 1.3rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.review-form__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
}
.rating { display: flex; gap: 0.15rem; }
.rating button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.rating .star { width: 20px; height: 20px; fill: #c8c3b8; }
.rating button.is-on .star { fill: #9a7b2f; }
.review-form .form-foot { justify-content: flex-start; gap: 0.6rem; }
.review-success {
  margin-bottom: 1.35rem;
  text-align: center;
  color: var(--gray);
}
.reviews__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews__track {
  display: flex;
  width: max-content;
  animation: reviews-scroll var(--reviews-duration, 42s) linear infinite;
}
.reviews__track:hover,
.reviews__track:focus-within { animation-play-state: paused; }
.reviews__track.is-static {
  width: 100%;
  justify-content: center;
  animation: none;
}
.reviews__viewport.is-static {
  -webkit-mask-image: none;
  mask-image: none;
}
.reviews__group {
  display: flex;
  gap: 0.85rem;
  padding-right: 0.85rem;
}
.review {
  width: min(340px, 78vw);
  flex: none;
  padding: 1.05rem 1.1rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--black);
}
.review__stars {
  display: flex;
  gap: 0.15rem;
  margin: 0 0 0.65rem;
}
.review__stars .star {
  width: 14px;
  height: 14px;
  fill: #c8c3b8;
}
.review__stars .star.is-on { fill: #9a7b2f; }
.review p { margin: 0; }
.review__text {
  font-size: 0.98rem;
  line-height: 1.5;
}
.review p.review__author {
  margin-top: 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
}
.review__role {
  display: block;
  margin-top: 0.1rem;
  color: var(--gray);
  font-weight: 400;
}
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}
.work {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.35rem 1.25rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: inherit;
  text-decoration: none;
}
.work h3 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.work p { margin: 0; color: var(--gray); line-height: 1.5; }
.work span { margin-top: auto; padding-top: 0.85rem; font-size: 0.88rem; }
.work__shot {
  display: block;
  width: calc(100% + 2.5rem);
  max-width: none;
  margin: -1.35rem -1.25rem 0.45rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper);
}
.works__empty { margin: 1.4rem 0 0; color: var(--gray); }

@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.footer {
  padding: 2.8rem 0 1.3rem;
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.footer .brand { margin-bottom: 0.75rem; }
.footer__tag { max-width: 22rem; margin: 0; color: var(--gray); line-height: 1.55; }
.footer__title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li + li { margin-top: 0.4rem; }
.footer a { color: var(--black); text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.84rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--gray); }

/* Legal */
.legal { padding: calc(var(--header-h) + 3.5rem) 0 4rem; }
.legal__wrap { width: min(700px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.legal h1 {
  margin: 0 0 0.8rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.15;
}
.legal .updated { margin: 0 0 1.5rem; color: var(--gray); font-size: 0.9rem; }
.legal h2 {
  margin: 2rem 0 0.45rem;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 600;
}
.legal p, .legal li { color: var(--gray); line-height: 1.65; }
.legal a { color: var(--black); }
.legal ul { padding-left: 1.1rem; }
.kicker { display: none; }

section[id],
#tarifs { scroll-margin-top: 84px; }

html[data-theme="dark"] {
  color-scheme: dark;
  --black: #f3f1ea;
  --white: #1a1a1a;
  --paper: #121212;
  --gray: #a8a8a8;
  --line: #2e2e2e;
  --black-light: #1a1a1a;
}

html[data-theme="dark"] .finale {
  background: #121212;
  color: #f5f3ee;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
html[data-theme="dark"] .finale p { color: #c8c8c8; }
html[data-theme="dark"] .finale .btn {
  background: #f5f3ee;
  border-color: #f5f3ee;
  color: #121212;
}
html[data-theme="dark"] .finale .btn:hover { background: #fff; }
html[data-theme="dark"] .btn--dark:hover { background: #fff; color: #121212; }

html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea {
  background-color: #141414;
  border-color: #3a3a3a;
  color: var(--black);
}

html[data-theme="dark"] .field select {
  background-image: linear-gradient(45deg, transparent 50%, #f3f1ea 50%), linear-gradient(135deg, #f3f1ea 50%, transparent 50%);
}

html[data-theme="dark"] .field select option {
  background: #1a1a1a;
  color: #f3f1ea;
}

@media (max-width: 980px) {
  .plans, .why__grid, .works { grid-template-columns: 1fr 1fr; }
  .plan:last-child { grid-column: 1 / -1; max-width: 460px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .header__cta { display: none; }
  .nav__cta { display: inline-flex; }
  .theme-toggle { margin-left: auto; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.4rem;
    padding: 6.2rem var(--gutter) 2rem;
    background: var(--paper);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t) ease, visibility var(--t);
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .nav__list a { font-size: 1.65rem; color: var(--black); }
  .nav .btn { width: 100%; }
  .contact__grid, .footer__grid, .steps { grid-template-columns: 1fr; }
  .care { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .plans, .why__grid, .works, .form-row { grid-template-columns: 1fr; }
  .plan:last-child { max-width: none; }
  .hero__actions, .project__info, .footer__bottom, .form-foot { flex-direction: column; align-items: stretch; }
  .project__info { align-items: flex-start; }
  .shot__body { min-height: 210px; }
}

.rovy {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
}
.rovy__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #0f0f0f;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(28, 28, 28, 0.22);
}
.rovy__ring {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(154, 123, 47, 0.55);
  border-radius: 50%;
  animation: rovy-ring 2.6s ease-in-out infinite;
  pointer-events: none;
}
.rovy__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border: 1px solid #1c1c1c;
  transition: transform 0.25s ease;
}
.rovy__toggle:hover .rovy__avatar { transform: scale(1.03); }
.rovy.is-open .rovy__ring { animation: none; opacity: 0.35; }
.rovy__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 1.6rem));
  height: min(480px, calc(100vh - 7rem));
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(28, 28, 28, 0.14);
  overflow: hidden;
}
.rovy__panel[hidden] { display: none; }
.rovy__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.rovy__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.rovy__brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid var(--line);
  background: #0f0f0f;
}
.rovy__brand p { margin: 0; font-weight: 600; line-height: 1.2; }
.rovy__brand span {
  display: block;
  color: var(--gray);
  font-size: 0.78rem;
}
.rovy__close {
  border: 0;
  background: none;
  color: var(--gray);
  cursor: pointer;
  font: inherit;
}
.rovy__log {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem;
}
.rovy__msg {
  max-width: 88%;
  margin: 0;
  padding: 0.6rem 0.7rem;
  line-height: 1.5;
  word-break: break-word;
  animation: rovy-in 0.35s ease;
}
.rovy__msg--bot { background: var(--paper); white-space: normal; }
.rovy__msg--user { align-self: flex-end; background: var(--black); color: var(--white); }
.rovy__msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rovy__msg--bot a { color: var(--black); }
.rovy__dots { letter-spacing: 0.12em; }
.rovy__msg--think .rovy__dots { animation: rovy-dots 1s steps(1, end) infinite; }
.rovy__form {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem;
  border-top: 1px solid var(--line);
}
.rovy__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.rovy__form input {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--black);
  font: inherit;
}
.rovy__send {
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  padding: 0 0.75rem;
  cursor: pointer;
  font: inherit;
}
@keyframes rovy-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes rovy-ring {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 0.25; }
}
@keyframes rovy-dots {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}
@media (max-width: 640px) {
  .rovy { right: 0.75rem; bottom: 0.75rem; }
  .rovy__panel { height: min(440px, calc(100vh - 6.5rem)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reviews__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .reviews__group[aria-hidden="true"] { display: none; }
}
