/**
* 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.
*/
:root {
  --dark: #101327;
  --blue: #0b132b;
  --orange: #f4b640;
  --white: #ffffff;
}


/* SECTION */
.popcorn-section {
  background: linear-gradient(135deg, #101327 0%, #0b132b 100%);
  padding: 10px 8%;
  font-family: 'Montserrat', sans-serif;
}

/* LAYOUT */
.popcorn-content {
  display: flex;
  align-items: center;        
  justify-content: space-between;
  gap: 60px;                 
  flex-wrap: wrap;           
  padding: 50px 8%;
}

/* TEXTE */
.popcorn-text {
  color: var(--white);
  flex: 1;                   
  min-width: 280px;  
  order: 1; 
}
.popcorn-image {
  flex: 1;                   
  display: flex;
  justify-content: flex-end;  
  min-width: 280px;
  order: 2; 
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(244,182,64,0.15);
  color: var(--orange);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.popcorn-text h1 {
  font-size: 56px;
  color: var(--orange);
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.popcorn-text h2 {
  
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
}

.popcorn-text p {
  color: white;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 36px;
}

/* IMAGE */
.popcorn-image img {

  height: auto;
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

/* CTA */
.popcorn-cta {
  display: flex;
  align-items: center;
}

/* ===== BOUTON MANUSCRIT ===== */

.btn-manuscrit {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--blue);
  border: none;
  border-radius: 8px;
  padding: 18px 28px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-manuscrit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11,19,43,0.35);
}

.label {
  font-family: 'Shadows Into Light', cursive;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  transition: color 0.25s ease;
}

.btn-manuscrit:hover .label {
  color: var(--orange);
}

.icon-slot {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.icon-arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Shadows Into Light', cursive;
  font-size: 28px;
  color: var(--white);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.check-box {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.check-box svg {
  width: 22px;
  height: 18px;
  stroke: var(--orange);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.btn-manuscrit:hover .icon-arrow {
  opacity: 0;
  transform: scale(0.6);
}

.btn-manuscrit:hover .check-box {
  opacity: 1;
  transform: scale(1);
}

.btn-manuscrit:hover .check-box svg {
  animation: drawCheck 0.6s ease forwards;
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .popcorn-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .popcorn-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .popcorn-cta {
    justify-content: center;
  }
}
