:root {
  --bg: #f7f1eb;
  --bg-soft: #fffaf6;
  --surface: rgba(255, 251, 247, 0.78);
  --surface-strong: rgba(255, 253, 249, 0.94);
  --text: #241b18;
  --muted: #71645f;
  --line: rgba(93, 68, 58, 0.12);
  --accent: #c86f4f;
  --accent-dark: #9f5237;
  --accent-soft: rgba(200, 111, 79, 0.12);
  --shadow: 0 24px 70px rgba(95, 64, 52, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Aptos, sans-serif;
  background: linear-gradient(180deg, #fbf6f2 0%, #f4ece4 100%);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.55;
  animation: blobFloat 14s ease-in-out infinite;
}

.blob-one {
  top: -80px;
  left: -40px;
  width: 320px;
  height: 320px;
  background: rgba(216, 162, 137, 0.38);
}

.blob-two {
  top: 18%;
  right: -90px;
  width: 360px;
  height: 360px;
  background: rgba(203, 112, 85, 0.16);
  animation-duration: 18s;
}

.blob-three {
  bottom: -120px;
  left: 30%;
  width: 420px;
  height: 420px;
  background: rgba(233, 212, 197, 0.9);
  animation-duration: 20s;
}

.progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 30;
  width: var(--scroll, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #e1a58d);
  box-shadow: 0 0 18px rgba(200, 111, 79, 0.35);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 24px auto 96px;
}

.hero,
.intro-strip,
.service-card,
.editorial-band,
.automation-shell,
.profile-shell,
.review-form,
.review-card,
.lead-form,
.contact-card {
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.9), rgba(255, 247, 242, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  overflow: hidden;
  padding: 30px;
  border-radius: 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 64px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: rgba(255, 250, 246, 0.7);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 220ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero-layout,
.editorial-band,
.automation-shell,
.profile-shell,
.reviews-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.lead,
.section-lead,
.floating-card p,
.service-card p,
.method-item span,
.automation-point span,
.fact-card span,
.contact-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 12px 0;
}

.text-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 10px;
  min-height: 44px;
}

.text-carousel-label {
  color: var(--muted);
  font-size: 1rem;
}

.text-carousel-window {
  position: relative;
  height: 44px;
  overflow: hidden;
  min-width: 180px;
}

.text-carousel-track {
  display: grid;
  gap: 0;
}

.text-carousel-track span {
  display: flex;
  align-items: center;
  height: 44px;
  color: var(--accent-dark);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(95, 64, 52, 0.14);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #de9f85);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-points span,
.card-kicker,
.service-number {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--accent-dark);
  border: 1px solid rgba(200, 111, 79, 0.12);
}

.hero-visual {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.hero-stack,
.editorial-gallery,
.profile-facts {
  display: grid;
  gap: 20px;
}

.hero-image,
.gallery-card,
.automation-visual {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(95, 64, 52, 0.14);
}

.hero-image img,
.gallery-card img,
.automation-visual img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-main-image {
  min-height: 760px;
}

.hero-main-image img {
  object-position: center top;
}

.hero-side-image {
  min-height: 220px;
}

.floating-card,
.service-card,
.method-item,
.automation-point,
.fact-card,
.review-card,
.contact-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.76);
}

.floating-card h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  margin-bottom: 14px;
}

.section {
  padding-top: 104px;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
}

.text-marquee {
  overflow: hidden;
  margin-top: 26px;
  padding: 12px 0 0;
}

.text-marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  color: rgba(159, 82, 55, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-marquee-track span {
  position: relative;
  padding-right: 34px;
}

.text-marquee-track span::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 111, 79, 0.4);
  transform: translateY(-50%);
}

.intro-item {
  padding: 12px 14px;
}

.intro-item strong,
.method-item strong,
.automation-point strong,
.fact-card strong {
  display: block;
  margin-bottom: 6px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.service-card {
  min-height: 240px;
}

.service-number {
  margin-bottom: 18px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.editorial-band,
.automation-shell,
.profile-shell {
  padding: 32px;
  border-radius: 34px;
}

.method-list,
.automation-points {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.method-footer {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.method-badge,
.method-note {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.76);
}

.method-badge {
  display: block;
  padding: 20px 22px;
}

.method-badge strong {
  display: block;
  margin-bottom: 6px;
}

.method-badge p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.method-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 18px;
}

.method-note span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  border: 1px solid rgba(200, 111, 79, 0.1);
}

.gallery-card.tall {
  min-height: 620px;
}

.automation-visual {
  min-height: 560px;
}

.profile-facts {
  align-content: start;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.faq-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.faq-card h3 {
  margin-bottom: 10px;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.reviews-layout {
  align-items: start;
}

.reviews-list {
  display: grid;
  gap: 18px;
}

.review-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  margin-bottom: 14px;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 1rem;
}

.review-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 120px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px dashed rgba(200, 111, 79, 0.2);
}

.review-placeholder span {
  color: var(--accent-dark);
  font-size: 1rem;
  font-weight: 700;
}

.review-form {
  padding: 32px;
  border-radius: 34px;
  display: grid;
  gap: 0;
}

.review-form h3 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.review-form-note {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 46ch;
}

.review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review-form label {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #4a3b35;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(93, 68, 58, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
  appearance: none;
}

.review-form input::placeholder,
.review-form textarea::placeholder {
  color: #8f7d75;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  border-color: rgba(200, 111, 79, 0.32);
  box-shadow: 0 0 0 4px rgba(200, 111, 79, 0.08);
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
}

.review-form textarea {
  min-height: 150px;
  resize: vertical;
}

.review-form .form-submit {
  justify-self: start;
}

.fact-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-layout {
  align-items: start;
  gap: 24px;
}

.lead-form {
  padding: 32px;
  border-radius: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #4a3b35;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(93, 68, 58, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(200, 111, 79, 0.32);
  box-shadow: 0 0 0 4px rgba(200, 111, 79, 0.08);
  transform: translateY(-1px);
}

.lead-form textarea {
  min-height: 140px;
  resize: vertical;
}

.hidden-field {
  display: none !important;
}

.full-span {
  grid-column: 1 / -1;
}

.form-submit {
  margin-top: 22px;
}

.contact-card {
  min-height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-card a {
  display: inline-block;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  font-weight: 700;
}

.contact-direct-title {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.contact-direct-list {
  display: grid;
  gap: 14px;
}

.contact-direct-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-dark);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(200, 111, 79, 0.12);
  font-size: 0.92rem;
  line-height: 1;
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-header .section-lead {
  margin-top: 10px;
}

.editorial-copy,
.automation-copy,
.profile-copy {
  max-width: 680px;
}

.profile-copy .section-lead,
.automation-copy .section-lead,
.editorial-copy .section-lead {
  margin-top: 10px;
}

.reveal-up,
.reveal-scale {
  opacity: 0;
}

.split-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
}

.thankyou-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.thankyou-card {
  width: min(100%, 720px);
  padding: 40px;
  text-align: center;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.92), rgba(255, 247, 242, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.thankyou-card h1 {
  max-width: none;
  margin-bottom: 16px;
}

.thankyou-card .button {
  margin-top: 16px;
}

@keyframes blobFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -18px, 0) scale(1.04);
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .editorial-band,
  .automation-shell,
  .profile-shell,
  .reviews-layout,
  .contact-layout,
  .faq-grid,
  .services-grid,
  .intro-strip {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stack,
  .hero-visual {
    grid-template-columns: 1fr;
  }

  .hero-main-image {
    min-height: 480px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin-bottom: 56px;
  }

  .hero,
  .editorial-band,
  .automation-shell,
  .profile-shell,
  .lead-form,
  .review-form {
    padding: 20px;
    border-radius: 28px;
  }

  .hero-layout,
  .hero-visual,
  .editorial-band,
  .automation-shell,
  .profile-shell,
  .reviews-layout,
  .contact-layout,
  .faq-grid,
  .services-grid,
  .intro-strip,
  .form-grid,
  .review-form-grid {
    grid-template-columns: 1fr;
  }

  /* Topbar : empile brand + liens verticalement */
  .topbar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    border-radius: 20px;
    padding: 14px 18px;
  }

  .nav-links {
    justify-content: center;
    gap: 8px 14px;
    font-size: 0.84rem;
  }

  .section {
    padding-top: 64px;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .contact-card {
    padding: 24px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero-main-image,
  .automation-visual,
  .gallery-card.tall,
  .hero-side-image {
    min-height: 280px;
  }

  .floating-card h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
}

@media (max-width: 480px) {
  .text-carousel {
    flex-wrap: wrap;
    gap: 6px;
    min-height: auto;
  }

  .text-carousel-window {
    min-width: 140px;
  }

  .hero-points span {
    font-size: 0.82rem;
    padding: 0 10px;
    min-height: 32px;
  }

  .button {
    min-height: 48px;
    padding: 0 20px;
    font-size: 0.9rem;
  }

  .contact-card a {
    font-size: 0.9rem;
    word-break: break-all;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-up,
  .reveal-scale,
  .split-text .word {
    opacity: 1 !important;
    transform: none !important;
  }
}
