/* Biscuithe About Editor v4
   Page intégrée dans une page CMS PrestaShop.
   Responsive complet : mobile, tablette, desktop large.
*/

:root {
  --bae-cream: #fff8ea;
  --bae-cream-deep: #f5e9d1;
  --bae-paper: #fffdf7;
  --bae-teal: #007a78;
  --bae-teal-dark: #005c5a;
  --bae-ink: #231b16;
  --bae-muted: #6c5a4a;
  --bae-biscuit: #c49348;
  --bae-border: #e5d6ba;
  --bae-shadow: 0 24px 70px rgba(35, 27, 22, .14);
  --bae-shadow-soft: 0 14px 36px rgba(35, 27, 22, .08);
  --bae-radius: 34px;
}

.bae-page,
.bae-page * {
  box-sizing: border-box;
}

.bae-page {
  width: 100%;
  max-width: none;
  color: var(--bae-ink);
  background: var(--bae-cream);
  overflow: hidden;
}

.bae-page h1,
.bae-page h2,
.bae-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--bae-ink);
  letter-spacing: -.035em;
}

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

/* HERO */
.bae-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(48px, 6vw, 96px) clamp(18px, 3vw, 42px);
  background:
    radial-gradient(circle at 10% 0%, rgba(196, 147, 72, .17), transparent 34%),
    radial-gradient(circle at 100% 80%, rgba(0, 122, 120, .12), transparent 32%),
    linear-gradient(120deg, #fff8ea 0%, #f5e9d1 100%);
  border-bottom: 1px solid var(--bae-border);
  overflow: hidden;
}

.bae-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image: radial-gradient(circle at 20px 20px, var(--bae-biscuit) 1px, transparent 1.5px);
  background-size: 28px 28px;
}

.bae-hero__decor {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  opacity: .16;
}

.bae-hero__decor--one {
  left: -120px;
  top: 70px;
  width: 330px;
  height: 330px;
  background: var(--bae-teal);
}

.bae-hero__decor--two {
  right: -150px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  background: var(--bae-biscuit);
}

.bae-hero__inner,
.bae-section,
.bae-values__inner,
.bae-quick__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1360px);
  margin-left: auto;
  margin-right: auto;
}

.bae-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .92fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: center;
}

.bae-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 20px;
  padding: 9px 15px;
  border: 1px solid var(--bae-border);
  border-radius: 999px;
  background: rgba(255, 253, 247, .74);
  color: var(--bae-teal);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .16em;
  line-height: 1.2;
  max-width: 100%;
}

.bae-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(46px, 6vw, 88px);
  line-height: .94;
  overflow-wrap: normal;
}

.bae-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--bae-muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.72;
}

.bae-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.bae-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none !important;
}

.bae-btn--primary {
  background: var(--bae-teal);
  color: #fff !important;
  box-shadow: 0 16px 35px rgba(0, 122, 120, .2);
}

.bae-btn--primary:hover {
  background: var(--bae-teal-dark);
  color: #fff !important;
}

.bae-btn--ghost {
  background: rgba(255, 253, 247, .86);
  border: 1px solid var(--bae-border);
  color: var(--bae-ink) !important;
}

.bae-hero__visual,
.bae-feature__image,
.bae-values__image {
  position: relative;
  padding: 13px;
  border: 1px solid var(--bae-border);
  border-radius: 38px;
  background: rgba(255, 253, 247, .78);
  box-shadow: var(--bae-shadow);
}

.bae-hero__visual img,
.bae-feature__image img,
.bae-values__image img {
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  background: var(--bae-cream-deep);
}

.bae-floating-card {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  padding: 20px;
  border: 1px solid var(--bae-border);
  border-radius: 24px;
  background: rgba(255, 248, 234, .96);
  box-shadow: 0 15px 35px rgba(35, 27, 22, .14);
}

.bae-floating-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  color: var(--bae-ink);
  line-height: 1.1;
}

.bae-floating-card span {
  display: block;
  margin-top: 7px;
  color: var(--bae-muted);
  line-height: 1.55;
}

/* NAVIGATION INTERNE */
.bae-quick {
  width: 100%;
  margin: 0;
  padding: 18px clamp(14px, 3vw, 30px);
  background: var(--bae-paper);
  border-bottom: 1px solid var(--bae-border);
}

.bae-quick__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bae-quick a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--bae-cream);
  color: var(--bae-ink) !important;
  font-weight: 850;
  font-size: 14px;
  text-decoration: none !important;
}

.bae-quick a:hover {
  background: var(--bae-teal);
  color: #fff !important;
}

/* SECTIONS */
.bae-section {
  padding: clamp(58px, 6vw, 96px) clamp(18px, 3vw, 42px);
}

.bae-feature {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.bae-feature h2,
.bae-values h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.03;
}

.bae-feature p,
.bae-values p {
  margin: 18px 0 0;
  color: var(--bae-muted);
  font-size: 17px;
  line-height: 1.78;
}

.bae-feature .bae-btn {
  margin-top: 26px;
}

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

.bae-card {
  overflow: hidden;
  border: 1px solid var(--bae-border);
  border-radius: 34px;
  background: var(--bae-paper);
  box-shadow: var(--bae-shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.bae-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bae-shadow);
}

.bae-card--large {
  grid-row: span 2;
}

.bae-card__image {
  padding: 12px 12px 0;
}

.bae-card__image img {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
  border-radius: 24px;
  background: var(--bae-cream-deep);
}

.bae-card--large .bae-card__image img {
  aspect-ratio: 1 / 1.02;
}

.bae-card__body {
  padding: 26px;
}

.bae-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--bae-teal);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bae-card h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.04;
}

.bae-card p {
  margin: 16px 0 0;
  color: var(--bae-muted);
  line-height: 1.72;
}

.bae-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--bae-teal) !important;
  font-weight: 950;
  text-decoration: none !important;
}

.bae-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform .18s ease;
}

.bae-link:hover::after {
  transform: translateX(4px);
}

/* VALEURS */
.bae-values {
  width: 100%;
  margin: 0;
  padding: clamp(60px, 7vw, 100px) clamp(18px, 3vw, 42px);
  background: var(--bae-teal);
  color: #fff;
}

.bae-values__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.bae-values .bae-kicker {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
}

.bae-values h2,
.bae-values p {
  color: #fff;
}

.bae-values p {
  color: rgba(255,255,255,.82);
}

.bae-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 30px;
}

.bae-values__grid div {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  background: rgba(255,255,255,.10);
}

.bae-values__grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  color: #fff;
  margin-bottom: 8px;
}

.bae-values__grid span {
  display: block;
  color: rgba(255,255,255,.82);
  line-height: 1.58;
}

/* ALIGNEMENTS */
.bae-align-left { text-align: left !important; }
.bae-align-center { text-align: center !important; }
.bae-align-right { text-align: right !important; }

.bae-align-left .bae-actions { justify-content: flex-start; }
.bae-align-center .bae-actions { justify-content: center; }
.bae-align-right .bae-actions { justify-content: flex-end; }

.bae-align-left img { margin-left: 0; margin-right: auto; }
.bae-align-center img { margin-left: auto; margin-right: auto; }
.bae-align-right img { margin-left: auto; margin-right: 0; }

/* Grands écrans : mise en page large, mais lisible */
@media (min-width: 1600px) {
  .bae-hero__inner,
  .bae-section,
  .bae-values__inner,
  .bae-quick__inner {
    width: min(100%, 1480px);
  }

  .bae-hero {
    padding-top: 110px;
    padding-bottom: 110px;
  }
}

/* Tablette */
@media (max-width: 1199px) {
  .bae-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 36px;
  }

  .bae-hero h1 {
    font-size: clamp(42px, 7vw, 72px);
  }
}

/* Mobile et tablette verticale */
@media (max-width: 991px) {
  .bae-hero__inner,
  .bae-feature,
  .bae-values__inner {
    grid-template-columns: 1fr;
  }

  .bae-grid,
  .bae-values__grid {
    grid-template-columns: 1fr;
  }

  .bae-card--large {
    grid-row: auto;
  }

  .bae-hero h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .bae-actions,
  .bae-btn {
    width: 100%;
  }

  .bae-btn {
    text-align: center;
  }

  .bae-hero__visual,
  .bae-feature__image,
  .bae-values__image {
    max-width: 560px;
    margin: 0 auto;
  }

  .bae-floating-card {
    position: static;
    margin-top: 12px;
  }

  .bae-quick {
    padding: 14px 12px;
  }

  .bae-quick__inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .bae-quick a {
    white-space: nowrap;
  }
}

/* Smartphone */
@media (max-width: 575px) {
  .bae-hero,
  .bae-section,
  .bae-values {
    padding-left: 16px;
    padding-right: 16px;
  }

  .bae-kicker {
    font-size: 11px;
    letter-spacing: .11em;
  }

  .bae-hero h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .bae-lead,
  .bae-feature p,
  .bae-values p {
    font-size: 16px;
  }

  .bae-card__body {
    padding: 22px;
  }

  .bae-values__grid div {
    padding: 18px;
  }

  .bae-hero__visual,
  .bae-feature__image,
  .bae-values__image {
    border-radius: 28px;
    padding: 10px;
  }
}
