/**
* 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.
*/

.bs-section {
  background-color: #ffffff;
  padding: 30px 20px;
  overflow: hidden;
}

.bs-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

/* ----- Typo & couleurs ----- */

.bs-left strong {
  color: #3fa639;
  font-weight: 600;
}

/* ----- Bloc gauche ----- */

.bs-eyebrow {
  display: inline-block;
  color: #3fa639;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.bs-left h2 {
  color: #292dff;
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 25px;
}

.bs-text {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* ----- Voir plus / moins ----- */

.bs-toggle {
  display: none;
}

.bs-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.bs-toggle:checked ~ .bs-more {
  max-height: 500px;
}

.bs-toggle-btn {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #292dff;
  cursor: pointer;
}

.bs-toggle-btn .less {
  display: none;
}

.bs-toggle:checked ~ .bs-toggle-btn .more {
  display: none;
}

.bs-toggle:checked ~ .bs-toggle-btn .less {
  display: inline;
}

/* ----- Bloc droit ----- */

.bs-card {
  background-color: #f7f8ff;
  border: 1px solid #e3e6ff;
  border-radius: 8px;
  padding: 40px;
}

.bs-card h2 {
  color: #292dff;
  font-size: 1.4rem;
  margin-bottom: 25px;
}

.bs-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.bs-btn {
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.bs-btn.primary {
  background-color: #292dff;
  color: #ffffff;
}

.bs-btn.primary:hover {
  background-color: #1f23cc;
}

.bs-btn.secondary {
  background-color: #ffffff;
  color: #292dff;
  border: 1px solid #292dff;
}

.bs-btn.secondary:hover {
  background-color: #292dff;
  color: #ffffff;
}

/* Liens secondaires */

.bs-links {
  font-size: 0.9rem;
  color: #666;
}

.bs-links a {
  color: #3fa639;
  text-decoration: none;
  font-weight: 500;
}

.bs-links span {
  margin: 0 8px;
  color: #999;
}

/* ----- Animations ----- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.animate-fade {
  animation: fadeInUp 1.2s ease-out both;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ============================= */
/* ===== RESPONSIVE DESIGN ===== */
/* ============================= */

@media (max-width: 1024px) {

  .bs-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .bs-left h1 {
    font-size: 2.2rem;
  }

  .bs-card {
    padding: 35px;
  }
}

@media (max-width: 768px) {

  .bs-section {
    padding: 80px 16px;
  }

  .bs-left h1 {
    font-size: 2rem;
  }

  .bs-text {
    font-size: 1rem;
  }

  .bs-card h2 {
    font-size: 1.3rem;
  }

  .bs-buttons {
    gap: 12px;
  }

  .bs-btn {
    padding: 14px;
    font-size: 0.95rem;
  }

  .bs-toggle-btn {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {

  .bs-section {
    padding: 60px 14px;
  }

  .bs-eyebrow {
    font-size: 0.75rem;
  }

  .bs-left h1 {
    font-size: 1.7rem;
  }

  .bs-text {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .bs-card {
    padding: 28px;
  }

  .bs-card h2 {
    font-size: 1.2rem;
  }

  .bs-btn {
    font-size: 0.9rem;
  }

  .bs-links {
    font-size: 0.85rem;
  }
}
