:root {
  --black: #070707;
  --ink: #151515;
  --muted: #6f7379;
  --line: #e8e8e8;
  --soft: #f6f6f4;
  --white: #ffffff;
  --gold: #c8a15a;
  --gold-dark: #9a7734;
  --navy: #10213d;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  min-height: -webkit-fill-available;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: -webkit-fill-available;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow-x: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header flottant avec effet verre après le scroll. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: calc(22px + env(safe-area-inset-top)) clamp(20px, 4vw, 56px) 22px;
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-top: calc(14px + env(safe-area-inset-top));
  padding-bottom: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--gold);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.logo-frame {
  fill: rgba(255, 255, 255, 0.06);
  stroke: currentColor;
  stroke-width: 1.8;
}

.logo-b {
  fill: currentColor;
}

.logo-line {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.4;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.brand-text small {
  color: currentColor;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  opacity: 0.86;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.section {
  padding: 110px 0;
  scroll-margin-top: 96px;
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.section-muted {
  background: var(--soft);
}

/* Hero premium avec image locale et superposition sombre pour garder le texte lisible. */
.hero {
  position: relative;
  background: var(--black);
  background-color: #050505;
  min-height: 92vh;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 144px 0 86px;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.68) 43%, rgba(0, 0, 0, 0.26) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.02) 42%, rgba(0, 0, 0, 0.64) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-proof {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
}

.btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  touch-action: manipulation;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #dab66f;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.btn-outline:hover {
  border-color: rgba(200, 161, 90, 0.7);
  color: var(--black);
}

.intro-band {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.intro-grid p {
  max-width: 620px;
  margin: 0;
  font-weight: 700;
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.mini-stats span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 48px;
}

.section-copy {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.project-card {
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card {
  min-height: 260px;
  padding: 34px;
}

.service-card:hover,
.project-card:hover {
  border-color: rgba(200, 161, 90, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.card-number {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--gold-dark);
  font-weight: 800;
}

.service-card p,
.project-card p,
.advantage p {
  margin: 0;
  color: var(--muted);
}

.pricing-section {
  background:
    linear-gradient(180deg, #fff 0%, #fbfbfa 100%);
}

.quote-panel {
  max-width: 900px;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid rgba(200, 161, 90, 0.36);
  background:
    linear-gradient(135deg, rgba(200, 161, 90, 0.12), rgba(255, 255, 255, 0) 42%),
    var(--white);
  box-shadow: var(--shadow);
}

.quote-panel p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 600;
}

.about-list li::before {
  position: absolute;
  left: 0;
  top: 0.05em;
  content: "✓";
  color: var(--gold);
  font-weight: 800;
}

.project-note {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.project-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-category {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.project-category:hover {
  border-color: rgba(200, 161, 90, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.project-list {
  display: grid;
  gap: 22px;
}

.project-list div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.project-list h3 {
  margin-bottom: 8px;
}

.project-list p {
  margin: 0;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  overflow: hidden;
}

.project-card > div:last-child {
  padding: 26px;
}

/* Motifs visuels légers pour représenter les projets fictifs sans dépendances externes. */
.project-visual {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--navy), var(--black));
}

.project-visual.restaurant {
  background:
    radial-gradient(circle at 72% 24%, rgba(200, 161, 90, 0.8) 0 12%, transparent 13%),
    linear-gradient(135deg, #222 0%, #101010 48%, #54401d 100%);
}

.project-visual.garage {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 26px),
    linear-gradient(135deg, #111827, #263449);
}

.project-visual.salon {
  background:
    radial-gradient(circle at 22% 22%, rgba(200, 161, 90, 0.72) 0 10%, transparent 11%),
    linear-gradient(135deg, #f4f0e8, #ffffff 40%, #d7c4a0 100%);
}

.project-type {
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.choice-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.advantage {
  padding: 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fafafa);
}

.advantage span {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 26px;
  background: var(--gold);
}

.process-section {
  background: var(--soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.process-step:hover {
  border-color: rgba(200, 161, 90, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.process-step span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--black);
  background: var(--gold);
  font-weight: 800;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.about-copy {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.about-copy p {
  margin: 0 0 22px;
}

.about-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.about-list li {
  color: rgba(255, 255, 255, 0.82);
}

.faq-section {
  background: var(--white);
}

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

.faq-item {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fafafa);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.faq-item:hover {
  border-color: rgba(200, 161, 90, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
select,
textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  border-radius: 0;
  background: #fbfbfb;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200, 161, 90, 0.14);
}

select {
  min-height: 54px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 22px,
    calc(100% - 14px) 22px;
  background-repeat: no-repeat;
  background-size: 6px 6px;
}

textarea {
  resize: vertical;
}

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

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  padding: 30px 0 calc(30px + env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
}

.designed-by a {
  color: var(--gold);
  font-weight: 800;
}

.footer-email {
  color: var(--gold);
  font-weight: 800;
}

.thanks-page {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--black);
}

.thanks-section {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(70px + env(safe-area-inset-top)) 0 calc(70px + env(safe-area-inset-bottom));
}

.thanks-content {
  max-width: 820px;
}

.thanks-content .brand {
  margin-bottom: 70px;
}

.thanks-content h1 {
  max-width: 780px;
  margin-bottom: 24px;
}

.thanks-content p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1440px) {
  .container {
    width: min(1180px, calc(100% - 64px));
  }

  .hero-content {
    max-width: 820px;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 96px 0;
  }

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

  .project-category {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: block;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: calc(86px + env(safe-area-inset-top));
    right: calc(20px + env(safe-area-inset-right));
    left: auto;
    bottom: auto;
    z-index: 1001;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: min(340px, calc(100vw - 40px));
    max-height: calc(100svh - 106px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px;
    color: var(--white);
    border: 1px solid rgba(200, 161, 90, 0.32);
    background: rgba(7, 7, 7, 0.97);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    line-height: 1.2;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .intro-grid,
  .choice-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .choice-layout,
  .about-layout,
  .contact-layout {
    gap: 34px;
  }

  .card-grid,
  .project-grid,
  .project-categories,
  .faq-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .section {
    padding: 84px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4.8rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }

  .hero {
    min-height: calc(100svh + 120px);
    padding-top: 126px;
    padding-bottom: 140px;
    background-color: #050505;
    overflow: hidden;
  }

  .hero::before,
  .hero::after,
  .hero-media,
  .hero-overlay {
    min-height: calc(100svh + 120px);
  }

  .hero::before,
  .hero::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    pointer-events: none;
  }

  .hero::before {
    background-color: #050505;
  }

  .hero-media {
    z-index: 1;
  }

  .hero-overlay {
    z-index: 2;
  }

  .hero + section {
    margin-top: 0;
  }

  .intro-grid {
    gap: 18px;
  }

  .service-card,
  .project-category,
  .faq-item,
  .process-step {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: calc(16px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 16px calc(14px + env(safe-area-inset-left));
  }

  .main-nav {
    top: calc(78px + env(safe-area-inset-top));
    right: calc(14px + env(safe-area-inset-right));
    width: min(330px, calc(100vw - 28px));
    max-height: calc(100svh - 92px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .brand span:last-child {
    max-width: 142px;
    line-height: 1.1;
  }

  .hero {
    min-height: calc(100svh + 120px);
    padding-top: 122px;
    padding-bottom: 140px;
    background-color: #050505;
    overflow: hidden;
  }

  .hero + section {
    margin-top: 0;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.68) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.48));
  }

  .hero-actions,
  .mini-stats {
    width: 100%;
  }

  .hero-actions .btn,
  .quote-panel .btn,
  .contact-form .btn,
  .thanks-content .btn {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .intro-band {
    padding: 30px 0;
  }

  .mini-stats {
    justify-content: flex-start;
  }

  .service-card,
  .project-category,
  .faq-item,
  .process-step,
  .contact-form {
    padding: 24px;
  }

  .advantages,
  .about-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 0.96rem;
  }

  .brand-text small {
    font-size: 0.62rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    right: calc(12px + env(safe-area-inset-right));
    width: calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));
  }

  .hero {
    padding-top: 116px;
  }

  .hero-copy {
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .section {
    padding: 70px 0;
  }

  .quote-panel,
  .service-card,
  .project-category,
  .advantage,
  .faq-item,
  .process-step,
  .contact-form {
    padding: 22px;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 375px) {
  .container {
    width: min(100% - 20px, 1120px);
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand span:last-child {
    max-width: 118px;
  }

  .site-header {
    padding-right: calc(10px + env(safe-area-inset-right));
    padding-left: calc(10px + env(safe-area-inset-left));
  }

  .main-nav {
    right: calc(10px + env(safe-area-inset-right));
    width: calc(100vw - 20px - env(safe-area-inset-left) - env(safe-area-inset-right));
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.4rem);
  }

  .hero {
    padding-bottom: 140px;
  }

  .mini-stats span {
    font-size: 0.78rem;
  }
}

@supports (height: 100dvh) {
  .hero {
    min-height: 92dvh;
  }

  .thanks-page,
  .thanks-section {
    min-height: 100dvh;
  }

  @media (max-width: 900px) {
    .main-nav {
      max-height: calc(100dvh - 106px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }
  }

  @media (max-width: 768px) {
    .hero {
      min-height: calc(100dvh + 120px);
    }

    .hero::before,
    .hero::after,
    .hero-media,
    .hero-overlay {
      min-height: calc(100dvh + 120px);
    }
  }

  @media (max-width: 640px) {
    .hero {
      min-height: calc(100dvh + 120px);
    }

    .hero::before,
    .hero::after,
    .hero-media,
    .hero-overlay {
      min-height: calc(100dvh + 120px);
    }

    .main-nav {
      max-height: calc(100dvh - 92px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }
  }
}
