:root {
  --ink: #151a1d;
  --muted: #687780;
  --line: #dfe8ec;
  --paper: #f6f9fb;
  --white: #ffffff;
  --brand-blue: #00aeef;
  --brand-blue-deep: #007fb8;
  --charcoal: #171d20;
  --focus-blue: #00aeef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.47;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  backdrop-filter: saturate(170%) blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.06);
}

.nav {
  width: min(1360px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 148px;
}

.brand img {
  width: 214px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.93rem;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-blue-deep);
  background: rgba(0, 174, 239, 0.09);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 174, 239, 0.18);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

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

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: start;
  background: var(--charcoal) url("/assets/hero-solaire-polynesie.jpg") center / cover no-repeat;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 29, 32, 0.58);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  animation: hero-entry 700ms ease both;
}

.hero-inner,
.section,
.page-hero-inner {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 142px 0 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.07;
  font-weight: 650;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  font-size: 5.4rem;
}

h2 {
  max-width: 820px;
  font-size: 3.15rem;
}

h3 {
  font-size: 1.25rem;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.32rem;
  font-weight: 400;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 160ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
}

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

.btn-outline {
  border-color: rgba(0, 174, 239, 0.32);
  color: var(--brand-blue-deep);
  background: var(--white);
}

.section {
  padding: 92px 0;
  clip-path: inset(0 -100vmax);
}

main > .section:nth-of-type(odd) {
  background: var(--white);
  box-shadow: 0 0 0 100vmax var(--white);
}

main > .section:nth-of-type(even) {
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.reseller-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.45fr);
  gap: 48px;
  align-items: center;
}

.reseller-proof-copy p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.reseller-proof-badge {
  display: flex;
  justify-content: flex-end;
}

.reseller-proof-mark.ecoflow-brand-mark--authorized-vertical img {
  width: 800px;
  min-width: 0;
  max-width: 100%;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 18px;
  padding: 28px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 174, 239, 0.28);
}

.card p,
.split p,
.page-copy p,
.contact-list p {
  color: var(--muted);
}

.metric {
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 750;
  color: var(--brand-blue);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.52fr);
  gap: 34px;
  align-items: start;
}

.panel {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 18px;
  padding: 32px;
  box-shadow: none;
  transition: transform 220ms ease;
}

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

.panel p {
  color: rgba(255, 255, 255, 0.78);
}

.list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 13px 0;
  border-top: 1px solid rgba(16, 24, 32, 0.1);
}

.panel .list li {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.page-hero {
  background: var(--charcoal);
  color: var(--white);
}

.page-hero-inner {
  padding: 96px 0 76px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
}

.solutions-catalog {
  overflow: visible;
}

.solution-proof {
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
}

.solution-category {
  display: grid;
  gap: 36px;
  width: 100%;
  min-width: 0;
}

.solution-category + .solution-category {
  padding-top: 10px;
}

.solution-carousel {
  min-width: 0;
}

.solution-proof .card {
  display: flex;
  align-items: center;
  min-height: 142px;
}

.solution-proof .card p {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}

.solution-category-presentation {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-width: 0;
  padding: 64px max(16px, calc((100vw - 1360px) / 2)) 56px;
  background: var(--paper);
}

.solution-category-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  gap: 48px;
  align-items: center;
  min-width: 0;
}

.solution-category-copy {
  min-width: 0;
}

.solution-brand-mark {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ecoflow-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
}

.ecoflow-wordmark img {
  display: block;
  width: 400px;
  height: auto;
  max-width: 100%;
}

.ecoflow-wordmark--compact {
  padding: 0;
}

.ecoflow-wordmark--compact img {
  width: 400px;
  height: auto;
  max-width: 100%;
}

.solution-brand-mark > img {
  width: auto;
  max-width: 126px;
  max-height: 28px;
  object-fit: contain;
}

.solution-category-copy h2 {
  font-size: 2.45rem;
}

.solution-category-copy p:not(.eyebrow) {
  max-width: 790px;
  color: var(--muted);
}

.solution-recap {
  display: grid;
  align-content: center;
  align-self: center;
  padding: 22px;
  border-radius: 14px;
}

.solution-recap-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-recap-list li {
  display: grid;
  gap: 5px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.solution-recap-list li:first-child {
  border-top: 0;
}

.solution-recap-list span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-recap-list strong {
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.3;
}

.solution-carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 28px max(16px, calc((100vw - 1360px) / 2)) 34px;
  background: var(--white);
  overflow: hidden;
}

.solution-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.solution-carousel-title {
  display: grid;
  gap: 7px;
  max-width: 760px;
}

.solution-carousel-title h3 {
  font-size: 2.25rem;
}

.solution-carousel-title::before {
  content: "Configurations disponibles";
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution-carousel-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.solution-carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(0, 174, 239, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-blue-deep);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 160ms ease, border-color 180ms ease, background 180ms ease;
}

.carousel-button-prev {
  transform: translateX(-50%);
}

.carousel-button-next {
  transform: translateX(50%);
}

.carousel-button:hover {
  border-color: rgba(0, 174, 239, 0.48);
  background: var(--white);
}

.carousel-button-prev:hover {
  transform: translateX(-50%) translateY(-1px);
}

.carousel-button-next:hover {
  transform: translateX(50%) translateY(-1px);
}

.carousel-button:active {
  scale: 0.96;
}

.solution-carousel-stage {
  position: relative;
  min-width: 0;
  max-width: min(1060px, calc(100% - 72px));
  margin: 0 auto;
  overflow: visible;
}

.solution-carousel-track {
  display: flex;
  gap: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  cursor: grab;
}

.solution-carousel-track::-webkit-scrollbar {
  display: none;
}

.solution-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.solution-pack-card {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.02fr);
  gap: 14px;
  min-height: 390px;
  padding: 20px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.solution-pack-card.is-highlighted {
  border-color: rgba(0, 174, 239, 0.72);
  background: var(--white);
}

.solution-pack-card.is-premium {
  background: var(--white);
}

.solution-pack-card h3 {
  max-width: 640px;
  font-size: 2.2rem;
}

.solution-pack-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.solution-pack-content > p:not(.product-status) {
  margin: 0;
}

.solution-pack-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(0, 174, 239, 0.16);
  border-radius: 16px;
  background: var(--muted);
}

.solution-pack-visual span {
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-pack-visual strong {
  display: block;
  max-width: 300px;
  margin-top: 10px;
  font-size: 1.8rem;
  line-height: 1.05;
}

.product-status {
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(0, 174, 239, 0.24);
  border-radius: 999px;
  background: rgba(0, 174, 239, 0.08);
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-pack-card.is-highlighted .product-status {
  border-color: rgba(0, 174, 239, 0.48);
  background: var(--brand-blue);
  color: var(--white);
}

.solution-pack-card.is-highlighted .solution-pack-visual {
  border-color: rgba(0, 174, 239, 0.34);
  background: var(--muted);
}

.solution-pack-card.is-premium .product-status {
  border-color: rgba(16, 24, 32, 0.2);
  background: rgba(16, 24, 32, 0.06);
  color: var(--ink);
}

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

.product-spec {
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 14px;
  background: var(--paper);
}

.product-spec span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-spec strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.28;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.realisation {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--charcoal);
  color: var(--white);
}

.realisation p {
  color: rgba(255, 255, 255, 0.8);
}

.form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--focus-blue);
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.14);
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.form-note {
  min-height: 24px;
  color: var(--charcoal);
  font-weight: 700;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.js[data-scroll-direction="up"] .reveal {
  transform: translate3d(0, -42px, 0) scale(0.985);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.js .reveal-delay-1.is-visible {
  transition-delay: 110ms;
}

.js .reveal-delay-2.is-visible {
  transition-delay: 220ms;
}

.js .reveal:not(.is-visible) {
  transition-delay: 0ms;
}

@keyframes hero-entry {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 24px;
  align-items: start;
}

.footer-logo-link {
  display: inline-flex;
  position: relative;
  width: fit-content;
}

.footer-logo {
  width: 160px;
  height: auto;
  transition: opacity 180ms ease;
}

.footer-logo-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.footer-logo-link:hover .footer-logo:not(.footer-logo-hover),
.footer-logo-link:focus-visible .footer-logo:not(.footer-logo-hover) {
  opacity: 0;
}

.footer-logo-link:hover .footer-logo-hover,
.footer-logo-link:focus-visible .footer-logo-hover {
  opacity: 1;
}

.footer-brand p {
  max-width: 360px;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.25;
}

.footer-partner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  justify-self: center;
}

.ecoflow-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
}

.ecoflow-brand-mark img {
  display: block;
  height: auto;
  max-width: 100%;
}

.ecoflow-brand-mark--footer {
  padding: 0;
}

.ecoflow-brand-mark--authorized-horizontal img {
  min-width: 220px;
  max-width: 380px;
}

.ecoflow-brand-mark--authorized-vertical img {
  min-width: 96px;
  max-width: 190px;
}

.ecoflow-brand-mark--footer.ecoflow-brand-mark--authorized-horizontal img {
  min-width: 190px;
  max-width: 320px;
}

.footer-links,
.footer-group,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-group {
  align-items: flex-end;
  justify-self: stretch;
  min-width: 240px;
  width: 100%;
  text-align: right;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.25;
  word-break: break-word;
}

.footer-socials {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-socials a:hover {
  background: rgba(0, 174, 239, 0.12);
  border-color: rgba(0, 174, 239, 0.62);
  color: var(--brand-blue);
}

.footer-links a:hover,
.footer-group a:hover,
.footer-legal a:hover {
  color: var(--brand-blue);
}

.footer-legal {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  justify-self: center;
  gap: 8px 16px;
  font-size: 0.84rem;
  line-height: 1.25;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 2rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--ink);
  font-weight: 750;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(16, 24, 32, 0.08);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 240ms ease, opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    border-radius: 12px;
  }

  .hero {
    min-height: 760px;
    background-position: 58% center;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .lead {
    font-size: 1.16rem;
  }

  .solution-pack-card h3,
  .legal-content h2,
  .devis-form-header h2 {
    font-size: 1.85rem;
  }

  .devis-intro h2 {
    font-size: 2.2rem;
  }

  .section,
  .page-hero-inner {
    padding: 64px 0;
  }

  .section-header,
  .reseller-proof,
  .split,
  .grid-2,
  .grid-3,
  .solution-category-header,
  .solution-pack-card,
  .form-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .solution-category-copy h2 {
    font-size: 2.25rem;
  }

  .solution-recap {
    position: static;
  }

  .solution-carousel {
    padding: 24px 16px;
  }

  .solution-carousel-stage {
    max-width: calc(100% - 64px);
  }

  .solution-pack-card {
    flex-basis: 100%;
    min-height: auto;
  }

  .solution-pack-visual {
    min-height: 220px;
  }

  .footer-legal {
    grid-column: auto;
    flex-direction: column;
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .footer-inner {
    gap: 8px;
    padding: 18px 0 12px;
    justify-items: center;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-group {
    align-items: center;
    min-width: 0;
    justify-self: center;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .reseller-proof-badge {
    justify-content: center;
  }

  .reseller-proof-mark.ecoflow-brand-mark--authorized-vertical img {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .ecoflow-wordmark {
    padding: 0;
  }

  .ecoflow-wordmark img {
    width: 320px;
    height: auto;
    max-width: 100%;
  }

  .ecoflow-wordmark--compact img {
    width: 320px;
    height: auto;
    max-width: 100%;
  }

  .ecoflow-brand-mark {
    padding: 0;
  }

  .ecoflow-brand-mark--authorized-horizontal img {
    min-width: 200px;
    max-width: 320px;
  }

  .ecoflow-brand-mark--authorized-vertical img {
    min-width: 90px;
    max-width: 170px;
  }
}

@media (max-width: 520px) {
  .nav {
    width: min(100% - 22px, 1360px);
  }

  .brand {
    min-width: 126px;
  }

  .brand img {
    width: 138px;
    max-height: 42px;
  }

  .hero-inner,
  .section,
  .page-hero-inner,
  .footer-inner {
    width: min(100% - 22px, 1360px);
  }

  .hero-inner {
    padding-bottom: 52px;
  }

  .btn {
    width: 100%;
  }

  h1 {
    font-size: 2.55rem;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .card,
  .panel {
    padding: 20px;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .solutions-list {
    gap: 58px;
  }

  .solution-category + .solution-category {
    padding-top: 10px;
  }

  .solution-category-copy h2 {
    font-size: 1.95rem;
  }

  .solution-carousel-header {
    align-items: flex-start;
  }

  .solution-carousel-title p {
    font-size: 0.9rem;
  }

  .solution-carousel {
    padding: 18px 11px;
  }

  .solution-category-presentation {
    padding: 48px 11px 44px;
  }

  .solution-carousel-stage {
    max-width: calc(100% - 46px);
  }

  .solution-carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    justify-content: space-between;
    gap: 0;
    transform: translateY(-50%);
  }

  .carousel-button {
    width: 44px;
    height: 44px;
  }

  .carousel-button-prev,
  .carousel-button-prev:hover {
    transform: translateX(-50%);
  }

  .carousel-button-next,
  .carousel-button-next:hover {
    transform: translateX(50%);
  }

  .solution-carousel-track {
    gap: 0;
    padding: 0;
  }

  .solution-pack-card {
    flex-basis: 100%;
  }

  .solution-pack-visual {
    min-height: 180px;
    padding: 20px;
  }

  .solution-pack-visual strong {
    font-size: 1.45rem;
  }

  .reseller-proof-mark.ecoflow-brand-mark--authorized-vertical img {
    width: 190px;
  }

  .ecoflow-wordmark img,
  .ecoflow-wordmark--compact img {
    width: 240px;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.devis-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.devis-intro,
.devis-form {
  border-radius: 18px;
  box-shadow: none;
}

.devis-intro {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background: var(--charcoal);
  color: var(--white);
}

.devis-intro h2 {
  font-size: 3rem;
}

.devis-intro p {
  color: rgba(255, 255, 255, 0.76);
}

.devis-steps {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.devis-step {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.devis-step h3 {
  font-size: 1.04rem;
}

.devis-step p {
  margin: 6px 0 0;
  font-size: 0.94rem;
}

.devis-form {
  padding: 32px;
  background: var(--white);
  border: 1px solid rgba(16, 24, 32, 0.08);
}

.devis-form-header {
  margin-bottom: 10px;
}

.devis-form-header h2 {
  font-size: 2.4rem;
}

.devis-form-header p:not(.eyebrow),
.devis-form-note {
  color: var(--muted);
}

.selected-pack {
  display: grid;
  gap: 14px;
  margin: 14px 0 4px;
  padding: 18px;
  border: 1px solid rgba(0, 174, 239, 0.26);
  border-radius: 14px;
  background: #fbfdfe;
}

.selected-pack[hidden] {
  display: none;
}

.selected-pack h3 {
  font-size: 1.25rem;
}

.selected-pack dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
}

.selected-pack div {
  display: grid;
  gap: 3px;
}

.selected-pack dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-pack dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}

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

.devis-form input,
.devis-form select,
.devis-form textarea {
  border-radius: 14px;
  background: #fbfdfe;
}

.devis-form input[type="file"] {
  padding: 11px 14px;
  cursor: pointer;
}

.devis-form-note {
  margin: 0;
  font-size: 0.92rem;
}

.devis-file-help {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.consent-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 14px;
  background: #fbfdfe;
  line-height: 1.45;
}

.consent-field input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  flex: 0 0 auto;
}

.consent-field a {
  display: inline-block;
  margin-left: 4px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .devis-section,
  .devis-form-row {
    grid-template-columns: 1fr;
  }

  .devis-intro,
  .devis-form {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .devis-intro,
  .devis-form {
    padding: 20px;
    border-radius: 10px;
  }

  .selected-pack dl {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 8px;
    padding: 16px 0 12px;
    justify-items: center;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    display: block;
  }

  .footer-brand p {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-group {
    align-items: center;
    gap: 8px;
    min-width: 0;
    justify-self: center;
    text-align: center;
  }

  .footer-partner {
    justify-content: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-legal {
    justify-content: center;
    justify-self: center;
    align-items: center;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

