/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/* =========================
   HERO
========================= */
.hero-banner {
  position: relative;
  height: 57vh;
  background: url("https://loccazducoin.fr/img/cms/loccazducoinv3.png")
    center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

/* =========================
   HERO INTRO
========================= */
.hero-intro {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  padding: 30px 50px;
  color: #fff;

  backdrop-filter: blur(6px);
  border-radius: 22px;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.6),
    inset 0 0 0 2px rgba(226,188,29,0.4);
}

.hero-intro img {
  width: 140px;
  margin-bottom: 18px;
}

.hero-intro h1 {
  margin: 0;
  font-size: 4.4rem;
  font-weight: 900;
  letter-spacing: 3px;
  
  color: #e2bc1d;
}

.hero-intro p {
  margin-top: 10px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1.5px;
}

/* =========================
   ZONE BANDEAUX
========================= */
.signal-zone {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 80px;
}

/* =========================
   BANDEAU COMMUN
========================= */
.bandeau {
  position: relative;
  height: 120px;
  width: 60%;
  display: flex;
  align-items: center;
  text-decoration: none;
  overflow: hidden;
}

/* motif bicolore conservé */
.bandeau::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    #e2bc1d 0 34px,
    #eee1b7 34px 68px
  );
  z-index: 0;
}

/* contenu */
.bandeau-content {
  position: relative;
  z-index: 2;
  padding: 0 50px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bandeau .title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #000;
}

.bandeau .btn {
  display: inline-block;
  padding: 8px 20px;
  background: #000;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 20px;
  width: fit-content;
}
.btn {
    margin-top: 20px;
}

/* =========================
   ACHETER – GAUCHE → CENTRE
   (transparence avancée)
========================= */
.bandeau.acheter {
  align-self: flex-start;
}

.bandeau.acheter::before {
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 25%,
    rgba(0,0,0,0.5) 45%,
    rgba(0,0,0,0.2) 55%,
    rgba(0,0,0,0) 65%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 25%,
    rgba(0,0,0,0.5) 45%,
    rgba(0,0,0,0.2) 55%,
    rgba(0,0,0,0) 65%
  );
}

/* =========================
   VENDRE – DROITE → CENTRE
   (transparence avancée)
========================= */
.bandeau.vendre {
  align-self: flex-end;
  justify-content: flex-end;
}

.bandeau.vendre::before {
  -webkit-mask-image: linear-gradient(
    270deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 25%,
    rgba(0,0,0,0.5) 45%,
    rgba(0,0,0,0.2) 55%,
    rgba(0,0,0,0) 65%
  );
  mask-image: linear-gradient(
    270deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 25%,
    rgba(0,0,0,0.5) 45%,
    rgba(0,0,0,0.2) 55%,
    rgba(0,0,0,0) 65%
  );
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hero-intro {
    position: relative;
    transform: none;
    left: auto;
    margin: 30px auto;
    max-width: 90%;
  }

  .signal-zone {
    position: relative;
    margin-top: 40px;
  }

  .bandeau {
    width: 90%;
  }

  .bandeau .title {
    font-size: 2rem;
  }
}
/* =========================
   BOUTONS – HOVER
========================= */
.bandeau .btn {
  display: inline-block;
  padding: 8px 20px;
  background: #000;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 20px;
  width: fit-content;
  transition: background 0.25s ease, color 0.25s ease;
}

.bandeau .btn:hover {
  background: #fff;
  color: #000;
}
/* =====================================
   RESPONSIVE – HERO / BANDEAUX
===================================== */
@media (max-width: 992px) {

  /* HERO GLOBAL */
  .hero-banner {
    height: auto;
    padding-bottom: 40px;
  }

  /* INTRO PAS EN ABSOLU */
  .hero-intro {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 30px auto 20px;
    padding: 25px 30px;
    max-width: 92%;
    z-index: 3;
  }

  .hero-intro h1 {
    font-size: 2.4rem;
  }

  .hero-intro p {
    font-size: 1.2rem;
  }

  /* ZONE BANDEAUX EN COLONNE */
  .signal-zone {
    position: relative;
    inset: auto;
    margin-top: 30px;
    gap: 30px;
    align-items: center;
  }

  /* BANDEAUX PLEINE LARGEUR */
  .bandeau {
    width: 95%;
    height: auto;
    min-height: 110px;
    padding: 25px 0;
  }

  /* CONTENU CENTRÉ */
  .bandeau-content {
    padding: 0 25px;
    align-items: center;
    text-align: center;
  }

  /* TITRES */
  .bandeau .title {
    font-size: 2rem;
    letter-spacing: 3px;
  }

  /* BOUTONS */
  .bandeau .btn {
    font-size: 0.85rem;
    padding: 9px 22px;
  }

  /* === NEUTRALISER LES SENS GAUCHE/DROITE === */
  .bandeau.acheter,
  .bandeau.vendre {
    align-self: center;
    justify-content: center;
  }

  /* === MASQUE PLUS DOUX SUR MOBILE === */
  .bandeau.acheter::before,
  .bandeau.vendre::before {
    -webkit-mask-image: linear-gradient(
      90deg,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,0.8) 60%,
      rgba(0,0,0,0.2) 85%,
      rgba(0,0,0,0) 100%
    );
    mask-image: linear-gradient(
      90deg,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,0.8) 60%,
      rgba(0,0,0,0.2) 85%,
      rgba(0,0,0,0) 100%
    );
  }
}

