/* ════════════════════════════════════════════════════════════════
   Variant E — restaurant, lifestyle-led emotional design
   Reuses landing.css (hero, buttons, product-list, footer) and
   landing-c.css (lp-proof, lp-cross, lp-final). This file adds the
   full-bleed photo bands and the editorial image/text splits that carry
   the lifestyle photography.
════════════════════════════════════════════════════════════════ */

/* ─────────────── Lifestyle backgrounds ─────────────── */
/* A dark green gradient over each photo keeps overlaid white text legible. */
.bg-life-1 {
  background-image: linear-gradient(100deg, rgba(15,30,22,0.74) 0%, rgba(15,30,22,0.42) 60%, rgba(15,30,22,0.30) 100%), url('/img/becash-lifestyle-1.webp');
}
.bg-life-1b {
  background-image: linear-gradient(100deg, rgba(15,30,22,0.74) 0%, rgba(15,30,22,0.42) 60%, rgba(15,30,22,0.30) 100%), url('/img/becash-lifestyle-1b.webp');
  background-size: cover;
  background-position: center;
}
/* Dedicated hero photo for the home page (desktop; mobile overridden below). */
.bg-home-hero {
  background-image: linear-gradient(100deg, rgba(15,30,22,0.74) 0%, rgba(15,30,22,0.42) 60%, rgba(15,30,22,0.30) 100%), url('/img/becash-home-hero-d-7.webp');
  background-size: cover;
  background-position: center;
}
/* Dedicated hero photo for the about page (desktop; mobile overridden below). */
.bg-about-hero {
  background-image: linear-gradient(100deg, rgba(15,30,22,0.74) 0%, rgba(15,30,22,0.42) 60%, rgba(15,30,22,0.30) 100%), url('/img/becash-about-hero-d-4.webp');
  background-size: cover;
  background-position: center;
}
/* Dedicated hero photo for the borne page (desktop; mobile overridden below). */
.bg-borne-hero {
  background-image: linear-gradient(100deg, rgba(15,30,22,0.74) 0%, rgba(15,30,22,0.42) 60%, rgba(15,30,22,0.30) 100%), url('/img/becash-borne-hero-d-4.webp');
  background-size: cover;
  background-position: center;
}
/* Hero photo for the PAD page (desktop; mobile overridden below). Interim
   visual: the mobile-service scene until a PAD-in-hand photo is available. */
.bg-pad-hero {
  background-image: linear-gradient(100deg, rgba(15,30,22,0.74) 0%, rgba(15,30,22,0.42) 60%, rgba(15,30,22,0.30) 100%), url('/img/becash-pad-hero-d-4.webp');
  background-size: cover;
  background-position: center;
}
/* Dedicated hero photo for the caisse page (desktop; mobile overridden below). */
.bg-caisse-hero {
  background-image: linear-gradient(100deg, rgba(15,30,22,0.74) 0%, rgba(15,30,22,0.42) 60%, rgba(15,30,22,0.30) 100%), url('/img/becash-lifestyle-1-d.webp');
  background-size: cover;
  background-position: center top;
}
.bg-life-2 {
  background-image: linear-gradient(100deg, rgba(15,30,22,0.82) 0%, rgba(15,30,22,0.48) 55%, rgba(15,30,22,0.30) 100%), url('/img/becash-lifestyle-2.webp');
}
/* Shared "experience" band photo (home / caisse / borne); even overlay for
   the centred white text. Mobile variant overridden below. */
.bg-generic-1 {
  background-image: linear-gradient(rgba(15,30,22,0.58), rgba(15,30,22,0.58)), url('/img/becash-about-hero-d-4.webp');
  background-size: cover;
  background-position: center;
}
/* Home "local team" band (desktop; mobile overridden below). */
.bg-life-3 {
  background-image: linear-gradient(100deg, rgba(15,30,22,0.78) 0%, rgba(15,30,22,0.42) 55%, rgba(15,30,22,0.25) 100%), url('/img/becash-lifestyle-1-d.webp');
}
.bg-life-4 {
  background-image: linear-gradient(100deg, rgba(15,30,22,0.84) 0%, rgba(15,30,22,0.52) 55%, rgba(15,30,22,0.32) 100%), url('/img/becash-lifestyle-4.webp');
}
.bg-life-1, .bg-life-2, .bg-life-3, .bg-life-4 {
  background-size: cover;
  background-position: center;
}

/* ─────────────── Transparent overlay nav (over the hero at the top) ─────────────── */
nav {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
nav.nav-solid {
  background: rgba(255,251,244,0.97);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
/* White menu text while the nav sits over the dark hero photo. */
nav:not(.nav-solid) .nav-links a,
nav:not(.nav-solid) .nav-phone {
  color: var(--white) !important;
}
nav:not(.nav-solid) .nav-contact-sep { background: rgba(255,255,255,0.35); }
/* Offset anchor jumps by the fixed nav height. */
html { scroll-padding-top: 80px; }

.nav-phone { display: inline-flex; align-items: center; }
.nav-phone-icon { display: none; }

/* ─────────────── Burger menu (tablet + mobile, ≤ 1180px) ─────────────── */
.nav-burger { display: none; }
@media (max-width: 1180px) {
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px 9px;
    background: none;
    border: 0;
    cursor: pointer;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--green-deep);
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  /* White burger while it sits transparent over the hero (menu closed). */
  nav:not(.nav-solid):not(.nav-open) .nav-burger span { background: var(--white); }
  /* Burger → X when open. */
  nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Solid bar while the menu is open. */
  nav.nav-open {
    background: rgba(255,251,244,0.98);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border);
  }

  /* Links collapse into a dropdown panel under the bar. */
  nav .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 6% 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,251,244,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 34px rgba(0,0,0,0.10);
    display: none;
  }
  nav.nav-open .nav-links { display: flex; }

  /* Panel content is always dark, even while the bar is transparent. */
  nav.nav-open .nav-links a,
  nav.nav-open .nav-phone { color: var(--green-deep) !important; }
  /* ...except the CTA button, whose label stays white on its green fill. */
  nav.nav-open .nav-links .nav-cta { color: var(--white) !important; }
  .nav-menu-item { display: block; }
  .nav-menu-item a {
    display: block;
    padding: 14px 4px;
    font-size: 1.02rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(15,30,22,0.07);
  }
  .nav-contact-sep { display: none; }
  .nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 4px;
  }
  .nav-phone-icon { display: inline-block; width: 18px; height: 18px; }
  .nav-phone-num { display: inline; }
  .nav-cta {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 14px 18px !important;
    font-size: 0.95rem !important;
  }
}

@media (max-width: 768px) {
  /* Free up hero space on small screens. */
  .hero-e .hero-badge { display: none; }
  /* Taller hero with more breathing room between the nav and the title. */
  .hero-e {
    min-height: 84vh;
    padding-top: 116px;
    padding-bottom: 60px;
  }
  /* Portrait-friendly hero photo on mobile. */
  .bg-life-1b {
    background-image: linear-gradient(160deg, rgba(15,30,22,0.72) 0%, rgba(15,30,22,0.42) 55%, rgba(15,30,22,0.34) 100%), url('/img/becash-lifestyle-1m.webp');
  }
  .bg-home-hero {
    background-image: linear-gradient(160deg, rgba(15,30,22,0.72) 0%, rgba(15,30,22,0.42) 55%, rgba(15,30,22,0.34) 100%), url('/img/becash-home-hero-m-final.webp');
  }
  .bg-borne-hero {
    background-image: linear-gradient(160deg, rgba(15,30,22,0.72) 0%, rgba(15,30,22,0.42) 55%, rgba(15,30,22,0.34) 100%), url('/img/becash-borne-hero-m-final.webp');
  }
  .bg-caisse-hero {
    background-image: linear-gradient(160deg, rgba(15,30,22,0.72) 0%, rgba(15,30,22,0.42) 55%, rgba(15,30,22,0.34) 100%), url('/img/becash-lifestyle-1-m.webp');
  }
  .bg-pad-hero {
    background-image: linear-gradient(160deg, rgba(15,30,22,0.72) 0%, rgba(15,30,22,0.42) 55%, rgba(15,30,22,0.34) 100%), url('/img/becash-pad-hero-m-final.webp');
  }
  .bg-life-3 {
    background-image: linear-gradient(160deg, rgba(15,30,22,0.78) 0%, rgba(15,30,22,0.42) 55%, rgba(15,30,22,0.25) 100%), url('/img/becash-caisse-banner-1-m.webp');
  }
  .bg-about-hero {
    background-image: linear-gradient(160deg, rgba(15,30,22,0.72) 0%, rgba(15,30,22,0.42) 55%, rgba(15,30,22,0.34) 100%), url('/img/becash-about-hero-m-final.webp');
  }
  .bg-generic-1 {
    background-image: linear-gradient(rgba(15,30,22,0.62), rgba(15,30,22,0.62)), url('/img/becash-generic-1-m.webp');
  }
}

/* Hero: let the lifestyle photo fill the backdrop instead of the faint texture. */
.hero-e .hero-bg { opacity: 1; }

/* SEO-oriented hero headline (longer keyword phrase): trim size so the
   keyword sits on one clean line instead of breaking mid-word. */
.hero-e h1.hero-h1-seo { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }

/* No status dot on the hero badge here. */
.hero-e .hero-badge::before { display: none; }

/* Centred hero (the form now lives in the green section below). */
.hero-e .hero-inner {
  grid-template-columns: 1fr;
  max-width: 820px;
  text-align: center;
}
.hero-e .hero-trust {
  display: inline-block;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.hero-e .hero-google {
  justify-content: center;
  margin: 0 auto;
}
.hero-e-cta {
  margin: 28px 0 4px;
}

/* Green lead-form section directly under the hero: copy on the left, form on
   the right. */
.form-section {
  background: var(--green-deep);
}
.form-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ─────────────── Duo band (caisse + borne, green feature section) ─────────────── */
.duo-section {
  background: var(--green-deep);
  color: var(--white);
}
.duo-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.duo-text .section-label { color: var(--lime); }
.duo-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 8px 0 14px;
}
.duo-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 560px;
}
.duo-stat {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.duo-stat-value {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--lime);
  letter-spacing: -1px;
  line-height: 1;
}
.duo-stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  max-width: 220px;
  line-height: 1.45;
}
.duo-visual {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: stretch;
}
/* Each product tile links to its dedicated page. */
.duo-tile {
  width: 46%;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
}
.duo-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(199,255,140,0.16), rgba(199,255,140,0.04));
  border: 1px solid rgba(199,255,140,0.25);
  padding: 22px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.duo-tile:hover img {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 22px 44px rgba(199,255,140,0.20);
  border-color: rgba(199,255,140,0.55);
}
.duo-tile-label {
  text-align: center;
  color: var(--lime);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
}
/* Trio column: product tiles, then the CTA and the combined-offer note. */
.duo-side {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.duo-side .btn-lime { margin-top: 26px; }
.duo-note {
  margin-top: 14px;
  max-width: 520px;
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: center;
  color: rgba(255,255,255,0.72);
}
/* Home trio: caisse + PAD grouped, then the borne, separated by a plus sign.
   A grid with three equal columns keeps the three tiles the same width at every
   breakpoint; the groups only carry the semantics, so they hand their tiles
   straight to the grid. */
.duo-visual-trio {
  display: grid;
  /* minmax(0, 1fr) so a long tile label cannot widen its own column. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
.duo-visual-trio .duo-group {
  display: contents;
}
.duo-visual-trio .duo-tile {
  width: auto;
  max-width: none;
  min-width: 0;
}
.duo-visual-trio .duo-tile-label {
  font-size: 0.86rem;
}
.duo-plus {
  align-self: center;
  color: var(--lime);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
/* Cross-sell CTA inside the duo copy (product pages). */
.duo-text .btn-lime { margin-top: 26px; }
/* Clickable hardware cards. */
a.hardware-card { text-decoration: none; color: inherit; display: block; }
@media (max-width: 860px) {
  .duo-inner { grid-template-columns: 1fr; gap: 34px; }
  .duo-visual { max-width: none; gap: 16px; }
  .duo-tile { width: 50%; max-width: none; }
  .duo-visual-trio { gap: 10px; }
}
.form-section-copy .section-label { color: var(--lime); }
.form-section-copy .section-title { color: var(--white); }
.form-section-copy .section-sub {
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
}
.form-section-copy .hero-google { justify-content: flex-start; }
.form-section .hero-form { width: 100%; }

.form-section-copy .hero-trust { margin: 0 0 26px; }

@media (max-width: 900px) {
  .form-section-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ─────────────── Hero hub layout (eyebrow + two product CTAs) ─────────────── */
.hero-e .hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.86);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.7;
}
.hero-e .hero-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 14.5px 30px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

/* ─────────────── Hardware range (copied from caisse.css, four columns) ─────────────── */
.hardware-section { background: var(--white); }
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
/* Three-up variant for the product-focused pages (caisse / borne). */
.hardware-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
}
/* Five-up variant for the hub page, which lists the whole range. Cards are
   narrower here, so the padding and image box shrink to match. */
.hardware-grid--5 {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  gap: 16px;
}
.hardware-grid--5 .hardware-card { padding: 26px 18px; }
.hardware-grid--5 .hardware-media { height: 140px; }
.hardware-grid--5 .hardware-media img { max-height: 140px; }
/* Product links below the hardware grid (hub page). */
.hardware-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
}
/* Benefit cards without a product image (borne page). */
.hardware-card--text { padding: 34px 26px; }
/* Single-product image spotlight (borne page). */
.hardware-media--hero {
  height: auto;
  max-width: 440px;
  margin: 0 auto 44px;
}
.hardware-media--hero img { max-width: 100%; max-height: 380px; }
/* Founder avatar in the quote band (a-propos page). */
.founder-photo {
  display: block;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  object-fit: cover;
  margin: 20px auto 24px;
  border: 3px solid rgba(199,255,140,0.9);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.hardware-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hardware-card:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.hardware-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.hardware-media {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.hardware-media img {
  max-width: 100%;
  max-height: 170px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(6,84,45,0.14));
}
/* PAD spotlight: the product shot carries a lot of white margin, so it needs a
   taller box than the range cards to read at a useful size. Declared after the
   generic `.hardware-media img` cap so it actually wins. */
.hardware-media--pad { height: auto; max-width: 420px; margin: 0 auto 44px; }
.hardware-media--pad img { max-width: 100%; max-height: 400px; }

.hardware-card h3 {
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--green-deep);
}
.hardware-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}
@media (max-width: 1180px) {
  .hardware-grid--5 { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
}
@media (max-width: 1000px) {
  .hardware-grid { grid-template-columns: repeat(2, 1fr); }
  .hardware-grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .hardware-grid { grid-template-columns: 1fr; }
  .hardware-grid--5 { grid-template-columns: 1fr; }
}

/* ─────────────── Full-bleed emotional band ─────────────── */
.emo-band {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 100px 6%;
}

.emo-band-inner { max-width: 880px; }

.emo-eyebrow {
  display: inline-block;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.emo-band h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -1px;
  color: var(--white);
}

.emo-band h2 em { color: var(--lime); font-style: normal; }

.emo-band p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin: 22px auto 0;
  line-height: 1.7;
  max-width: 640px;
}

/* Founder message band on a light cream background (a-propos). */
.emo-band--plain {
  background: linear-gradient(180deg, #fffdf8 0%, var(--cream) 100%);
  color: var(--green-deep);
}
.emo-band--plain .emo-eyebrow { color: var(--green-deep); }
.emo-band--plain .founder-photo {
  border-color: var(--green-deep);
  box-shadow: 0 12px 28px rgba(6,84,45,0.16);
}
.founder-message { font-size: 1.08rem; }
.emo-band--plain .founder-message { color: #46564d; }
.founder-message em { font-style: normal; font-weight: 700; }
.emo-band--plain .founder-message em { color: var(--green-deep); }
.founder-signature { margin: 24px auto 0; font-size: 1rem; font-weight: 800; }
.emo-band--plain .founder-signature { color: var(--green-deep); }

/* ─────────────── Editorial image / text split ─────────────── */
.edit { background: var(--cream); }
.edit.edit-white { background: var(--white); }

.edit-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.edit.reverse .edit-media { order: 2; }

.edit-media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(6,84,45,0.18);
  aspect-ratio: 4 / 3;
}

.edit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edit-text .section-label { color: var(--green); }
.edit-text .product-list { margin-top: 24px; }

/* ─────────────── Full-bleed Swiss band (left-aligned) ─────────────── */
.swiss-band {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 100px max(6%, calc((100% - 1200px) / 2));
}

.swiss-band-inner { max-width: 560px; }

.swiss-band h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.8px;
  color: var(--white);
  margin-bottom: 16px;
}

.swiss-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ─────────────── Responsive ─────────────── */
@media (max-width: 900px) {
  .edit-inner { grid-template-columns: 1fr; gap: 32px; }
  .edit.reverse .edit-media { order: 0; }
  .emo-band, .swiss-band { min-height: 0; padding: 72px 6%; }
}
