/**
 * COMPONENTS.CSS
 * =======================================================
 * Composants réutilisables : boutons, cards, forms, navigation, footer
 * Fusionne les styles de components.css, design-system.css et parties de style.css
 * =======================================================
 */

/* =======================================================
 *  NAVIGATION
 *  ======================================================= */
.fh5co-nav {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1001;
  top: 0;
  padding: 14px 0;
  min-height: 80px;
  box-sizing: border-box;
  transition: 0.3s;
}

@media screen and (max-width: 480px) {
  .fh5co-nav {
    position: absolute;
  }
}

.fh5co-nav.scrolled {
  background: var(--background-texture);
  top: -82px;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .fh5co-nav.scrolled {
    background: var(--background-texture);
  }
}

@media screen and (max-width: 480px) {
  .fh5co-nav.scrolled {
    background: transparent;
  }
}

.fh5co-nav #fh5co-logo {
  font-size: 32px;
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-family: 'Marck Script', cursive;
  color: #fff !important;
}

.scrolled .fh5co-nav #fh5co-logo {
  color: #000 !important;
}

.fh5co-nav #fh5co-logo a {
  font-size: 42px;
  color: #fff !important;
}

.scrolled .fh5co-nav #fh5co-logo a {
  color: #000 !important;
}

.fh5co-nav #fh5co-logo a span {
  color: #ea272d;
}

@media screen and (max-width: 768px) {
  .fh5co-nav .menu-1 {
    display: none;
  }
}

.fh5co-nav ul {
  padding: 0;
}

.fh5co-nav ul li {
  padding: 0;
  margin: 0;
  list-style: none;
  display: inline;
}

.fh5co-nav ul li > a {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 30px;
  font-family: 'Amatic SC', sans-serif;
}

.fh5co-nav ul li a {
  padding: 30px 15px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  line-height: 1.2;
  display: inline-block;
  transition: 0.5s;
  font-family: 'Amatic SC', sans-serif;
}

.scrolled .fh5co-nav ul li a {
  color: rgba(0, 0, 0, 0.7);
}

.fh5co-nav ul li a:hover,
.fh5co-nav ul li a:focus,
.fh5co-nav ul li a:active {
  color: white;
}

.scrolled .fh5co-nav ul li a:hover,
.scrolled .fh5co-nav ul li a:focus,
.scrolled .fh5co-nav ul li a:active {
  color: black;
}

.titre-chocolat {
  font-family: 'Amatic SC', sans-serif;
  font-size: 2.5rem;
  color: #4b2e2e;
}

.titre-chocolat > li > a:hover {
  color: var(--golden-cocoa) !important;
}

.fh5co-nav ul li.has-dropdown {
  position: relative;
}

.dropdown > li > a {
  transition: 0.5s ease !important;
}

.dropdown > li > a:hover {
  color: gold !important;
}

.fh5co-nav ul li.has-dropdown .dropdown {
  width: 200px;
  box-shadow: 0px 14px 16px -9px rgba(0, 0, 0, 0.75);
  z-index: 1002;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 40px;
  left: 0;
  text-align: left;
  background: #35261a;
  padding: 20px;
  border-radius: 4px;
  transition: 0s;
}

.fh5co-nav ul li.has-dropdown .dropdown:before {
  bottom: 100%;
  left: 40px;
  border: solid transparent;
  content: ' ';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #ea272d;
  border-width: 8px;
  margin-left: -8px;
}

.fh5co-nav ul li.has-dropdown .dropdown li {
  display: block;
  margin-bottom: 7px;
}

.fh5co-nav ul li.has-dropdown .dropdown li:last-child {
  margin-bottom: 0;
}

.fh5co-nav ul li.has-dropdown .dropdown li a {
  font-size: 20px;
  padding: 2px 0;
  display: block;
  color: #fff;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 900;
  font-family: 'Cormorant Garamond';
}

.fh5co-nav ul li.has-dropdown .dropdown li a:hover {
  color: #fff;
}

.fh5co-nav ul li.has-dropdown:hover a,
.fh5co-nav ul li.has-dropdown:focus a {
  color: #fff;
}

.scrolled .fh5co-nav ul li.has-dropdown:hover a,
.scrolled .fh5co-nav ul li.has-dropdown:focus a {
  color: rgba(0, 0, 0, 0.7);
}

.fh5co-nav ul li.active > a {
  color: #fff;
  position: relative;
}

.scrolled .fh5co-nav ul li.active > a {
  color: rgba(0, 0, 0, 0.7);
}

.fh5co-nav ul li.active > a:after {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  content: '';
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #d6b98c, #3e1f0d, #d6b98c);
}

.fh5co-nav ul.dropdown li a {
  background: none;
  /* Désactiver le ::after sur les liens du dropdown */
}

.fh5co-nav ul.dropdown li a::after {
  content: none !important;
  display: none !important;
}

/* Désactiver le ::after sur les liens actifs dans le dropdown */
.fh5co-nav ul.dropdown li.active > a::after {
  content: none !important;
  display: none !important;
}

.fh5co-nav * {
  box-sizing: border-box;
}

.fh5co-nav .row {
  margin: 0;
  min-height: 80px;
  align-items: center;
}

.fh5co-nav .container {
  padding-left: 15px;
  padding-right: 15px;
}

/* Logo */
.logo {
  width: 8em;
}

.logoContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80px;
}

/* =======================================================
 *  OFFCANVAS MENU - Menu latéral mobile
 *  ======================================================= */
#fh5co-offcanvas {
  position: absolute;
  z-index: 1901;
  width: 270px;
  background: var(--background-texture);
  top: 0;
  right: 0;
  bottom: 0;
  padding: 75px 40px 40px 40px;
  overflow-y: auto;
  display: none;
  transform: translateX(270px);
  transition: 0.5s;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #fh5co-offcanvas {
    background: var(--background-texture);
  }
}

@media screen and (max-width: 768px) {
  #fh5co-offcanvas {
    display: block;
  }
}

.offcanvas #fh5co-offcanvas {
  transform: translateX(0px);
}

#fh5co-offcanvas a {
  color: rgba(255, 255, 255, 0.5);
}

#fh5co-offcanvas a:hover {
  color: rgba(255, 255, 255, 0.8);
}

#fh5co-offcanvas ul {
  padding: 0;
  margin: 0;
}

#fh5co-offcanvas ul li {
  padding: 0;
  margin: 0;
  list-style: none;
}

#fh5co-offcanvas ul li > ul {
  padding-left: 20px;
  display: none;
}

#fh5co-offcanvas ul li.offcanvas-has-dropdown > a {
  display: block;
  position: relative;
}

#fh5co-offcanvas ul li.offcanvas-has-dropdown > a:after {
  position: absolute;
  right: 0px;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\ebfc';
  font-size: 20px;
  color: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
}

#fh5co-offcanvas ul li.offcanvas-has-dropdown.active a:after {
  transform: rotate(-180deg);
}

.fh5co-nav-toggle {
  position: absolute;
  right: 0px;
  top: 65px;
  z-index: 2001;
  padding: 6px 0 0 0;
  display: none;
  height: 44px;
  width: 44px;
  border-bottom: none !important;
  width: 25px;
  height: 25px;
  cursor: pointer;
  text-decoration: none;
  top: 25px !important;
}

@media screen and (max-width: 768px) {
  .fh5co-nav-toggle {
    display: block;
  }
}

.fh5co-nav-toggle.active i::before,
.fh5co-nav-toggle.active i::after {
  background: #444;
}

.fh5co-nav-toggle:hover,
.fh5co-nav-toggle:focus,
.fh5co-nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}

.fh5co-nav-toggle i {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 2px;
  color: #252525;
  font: bold 14px/0.4 Helvetica;
  text-transform: uppercase;
  text-indent: -55px;
  background: #252525;
  transition: all 0.2s ease-out;
}

.fh5co-nav-toggle i::before,
.fh5co-nav-toggle i::after {
  content: '';
  width: 25px;
  height: 2px;
  background: #252525;
  position: absolute;
  left: 0;
  transition: all 0.2s ease-out;
}

.fh5co-nav-toggle.fh5co-nav-white > i {
  color: #fff;
  background: #fff;
}

.fh5co-nav-toggle.fh5co-nav-white > i::before,
.fh5co-nav-toggle.fh5co-nav-white > i::after {
  background: #fff;
}

.fh5co-nav-toggle i::before {
  top: -7px;
}

.fh5co-nav-toggle i::after {
  bottom: -7px;
}

.fh5co-nav-toggle:hover i::before {
  top: -10px;
}

.fh5co-nav-toggle:hover i::after {
  bottom: -10px;
}

.fh5co-nav-toggle.active i {
  background: transparent;
}

.fh5co-nav-toggle.active i::before {
  top: 0;
  transform: rotateZ(45deg);
  background: #fff;
}

.fh5co-nav-toggle.active i::after {
  bottom: 0;
  transform: rotateZ(-45deg);
  background: #fff;
}

/* =======================================================
 *  BUTTONS
 *  ======================================================= */
.btn {
  margin-right: 4px;
  margin-bottom: 4px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  border-radius: 30px;
  transition: 0.5s;
  padding: 8px 20px;
}

.btn.btn-md {
  padding: 8px 20px !important;
}

.btn.btn-lg {
  padding: 10px 36px !important;
}

.btn:hover,
.btn:active,
.btn:focus {
  box-shadow: none !important;
  outline: none !important;
}

.btn-primary {
  background: gold;
  color: #fff;
  border: 2px solid gold;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: gold !important;
  border-color: gold !important;
}

.btn-primary.btn-outline {
  border-radius: 0px;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  font-size: 10px !important;
  letter-spacing: 1px;
  border: 2px solid gold;
}

.btn-primary.btn-outline:hover,
.btn-primary.btn-outline:focus,
.btn-primary.btn-outline:active {
  background: gold;
  color: black;
}

.btn-success {
  background: #5cb85c;
  color: #fff;
  border: 2px solid #5cb85c;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background: #4cae4c !important;
  border-color: #4cae4c !important;
}

.btn-success.btn-outline {
  background: transparent;
  color: #5cb85c;
  border: 2px solid #5cb85c;
}

.btn-success.btn-outline:hover,
.btn-success.btn-outline:focus,
.btn-success.btn-outline:active {
  background: #5cb85c;
  color: #fff;
}

.btn-info {
  background: #5bc0de;
  color: #fff;
  border: 2px solid #5bc0de;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
  background: #46b8da !important;
  border-color: #46b8da !important;
}

.btn-info.btn-outline {
  background: transparent;
  color: #5bc0de;
  border: 2px solid #5bc0de;
}

.btn-info.btn-outline:hover,
.btn-info.btn-outline:focus,
.btn-info.btn-outline:active {
  background: #5bc0de;
  color: #fff;
}

.btn-warning {
  background: #f0ad4e;
  color: #fff;
  border: 2px solid #f0ad4e;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
  background: #eea236 !important;
  border-color: #eea236 !important;
}

.btn-warning.btn-outline {
  background: transparent;
  color: #f0ad4e;
  border: 2px solid #f0ad4e;
}

.btn-warning.btn-outline:hover,
.btn-warning.btn-outline:focus,
.btn-warning.btn-outline:active {
  background: #f0ad4e;
  color: #fff;
}

.btn-danger {
  background: #d9534f;
  color: #fff;
  border: 2px solid #d9534f;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  background: #d43f3a !important;
  border-color: #d43f3a !important;
}

.btn-danger.btn-outline {
  background: transparent;
  color: #d9534f;
  border: 2px solid #d9534f;
}

.btn-danger.btn-outline:hover,
.btn-danger.btn-outline:focus,
.btn-danger.btn-outline:active {
  background: #d9534f;
  color: #fff;
}

.btn-outline {
  background: none;
  border: 2px solid gray;
  font-size: 16px;
  transition: 0.3s;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
  box-shadow: none;
}

.btn.with-arrow {
  position: relative;
  transition: 0.3s;
}

.btn.with-arrow i {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 0px;
  top: 50%;
  margin-top: -8px;
  transition: 0.2s;
}

.btn.with-arrow:hover {
  padding-right: 50px;
}

.btn.with-arrow:hover i {
  color: #fff;
  right: 18px;
  visibility: visible;
  opacity: 1;
}

/* =======================================================
 *  CARDS
 *  ======================================================= */
.choco-card {
  background: #2c1b18;
  color: #fff;
  padding: var(--card-padding);
  border-radius: 15px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  margin-bottom: var(--card-gap);
}

@media screen and (max-width: 768px) {
  .choco-card {
    padding: var(--card-padding-mobile);
    margin-bottom: var(--card-gap-mobile);
  }
}

.choco-card img {
  border-radius: 10px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: var(--spacing-md);
}

.choco-card h3 {
  font-size: 2rem;
  margin: var(--spacing-sm) 0 var(--spacing-xs);
}

.choco-card .price {
  display: block;
  font-weight: bold;
  color: #ffcc66;
  font-size: 18px;
}


.choco-card p {
  font-size: 1.8rem;
  opacity: 0.9;
}

.choco-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.choco-img {
  margin-bottom: var(--spacing-md);
}

.choco-content {
  padding: var(--spacing-sm);
}

/* =======================================================
 *  FORMS - Formulaire moderne de contact
 *  ======================================================= */
.modern-contact-form {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0 40px 0;
}

.modern-form-container {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 40px 50px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.modern-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  animation: goldLineMove 3s ease-in-out infinite;
}

@keyframes goldLineMove {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

.modern-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .modern-form-row {
    flex-direction: column;
    gap: 0;
  }
}

.modern-form-group {
  position: relative;
  margin-bottom: 30px;
  flex: 1;
}

.modern-input,
.modern-textarea {
  width: 100%;
  padding: 15px 0 15px 20px;
  font-size: 16px;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  outline: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Marck Script', cursive;
  resize: none;
}

.modern-input:focus,
.modern-textarea:focus {
  border-color: #ffd700;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
  transform: scale(1.02);
}

.modern-input:valid,
.modern-textarea:valid {
  border-color: gold;
}

.modern-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  font-family: 'Marck Script', cursive;
  font-weight: 400;
}

.modern-textarea + .modern-label {
  top: 35px;
  transform: translateY(0);
}

.modern-input:focus + .modern-label,
.modern-input:valid + .modern-label,
.modern-textarea:focus + .modern-label,
.modern-textarea:valid + .modern-label {
  top: -10px;
  left: 15px;
  font-size: 14px;
  color: #ffd700;
  background: rgba(0, 0, 0, 0.8);
  padding: 5px 10px;
  border-radius: 8px;
  transform: translateY(0);
}

.modern-focus-border {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #ffaa00);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.modern-input:focus ~ .modern-focus-border,
.modern-textarea:focus ~ .modern-focus-border {
  width: 100%;
  left: 0;
}

.modern-submit-btn {
  position: relative;
  width: 100%;
  padding: 18px 30px;
  font-size: 18px;
  font-family: 'Marck Script', cursive;
  color: #000;
  background: linear-gradient(45deg, #ffd700, #ffaa00);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.modern-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}

.modern-submit-btn:active {
  transform: translateY(-1px);
}

.modern-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.modern-submit-btn:hover::before {
  left: 100%;
}

.btn-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Animation d'apparition pour le formulaire */
.modern-form-container {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.modern-form-group {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.6s ease-out forwards;
}

.modern-form-group:nth-child(1) {
  animation-delay: 0.5s;
}

.modern-form-group:nth-child(2) {
  animation-delay: 0.7s;
}

.modern-form-group:nth-child(3) {
  animation-delay: 0.9s;
}

.modern-form-group:nth-child(4) {
  animation-delay: 1.1s;
}

.modern-form-group:nth-child(5) {
  animation-delay: 1.3s;
}

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

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .modern-form-container {
    padding: 30px 20px;
    margin: 20px;
  }

  .modern-input,
  .modern-textarea {
    font-size: 14px;
  }

  .modern-submit-btn {
    font-size: 16px;
    padding: 15px 25px;
  }

  .modern-contact-form {
    padding: 10px 0 30px 0;
  }
}

/* =======================================================
 *  HEADER / HERO
 *  ======================================================= */
#fh5co-header {
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  height: 100vh;
}

@media screen and (max-width: 768px) {
  #fh5co-header {
    background-position: center center;
    background-attachment: scroll;
  }
}

#fh5co-header .overlay {
  z-index: 0;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;

  background-image: url('../images/backgrounds/fond-table-chocolats.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  background-color: rgba(0, 0, 0, 0.767);
  background-blend-mode: darken;
}

@media screen and (max-width: 768px) {
  #fh5co-header,
  .fh5co-cover {
    padding: 3em 0;
  }
}

#fh5co-header .display-t,
.fh5co-cover .display-t {
  height: 50vh;
  display: table;
  width: 100%;
}

@media screen and (max-width: 768px) {
  #fh5co-header .display-t,
  .fh5co-cover .display-t {
    padding: 3em 0;
  }
}

#fh5co-header .display-tc,
.fh5co-cover .display-tc {
  display: table-cell !important;
  vertical-align: middle;
  width: 100%;
  min-height: 50vh;
}

@media screen and (max-width: 768px) {
  #fh5co-header .display-tc,
  .fh5co-cover .display-tc {
    padding: 3em 0;
  }
}

#fh5co-header .display-tc h1,
#fh5co-header .display-tc h2,
.fh5co-cover .display-tc h1,
.fh5co-cover .display-tc h2 {
  margin: 0;
  padding: 0;
  color: white;
}

#fh5co-header .display-tc h1,
.fh5co-cover .display-tc h1 {
  margin-bottom: 0px;
  font-size: 80px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  #fh5co-header .display-tc h1,
  .fh5co-cover .display-tc h1 {
    font-size: 42px;
    line-height: 50px;
  }
}

#fh5co-header .display-tc h1 em,
.fh5co-cover .display-tc h1 em {
  font-style: italic;
  font-weight: 600;
}

#fh5co-header .display-tc h2,
.fh5co-cover .display-tc h2 {
  font-size: 30px;
  line-height: 1.5;
  margin-bottom: 30px;
  font-style: italic;
}

#chocoTitle {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-family: 'Marck Script', cursive;
  font-size: clamp(1rem, 12vw, 6em);
  color: gold;
  z-index: 4;
  display: inline-block;
  letter-spacing: 2px;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  max-width: 95%;
}

.chocotitleAbout > :first-child {
  width: 13%;
}

@media (max-width: 1024px) {
  #chocoTitle,
  #downBtn {
    display: none;
  }
}

#downBtn {
  position: absolute;
  top: 105%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 7rem;
  background: gold;
  background-clip: text;
  color: transparent;
  cursor: pointer;
  opacity: 0;
  z-index: 1000;
  transition: opacity 0.3s ease, top 0.5s ease;
}

.showbtn {
  opacity: 1;
  animation: bounce 1s infinite;
  animation-delay: 0.5s;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  40% {
    transform: translate(-50%, -50%) translateY(-15px);
  }
  60% {
    transform: translate(-50%, -50%) translateY(-7px);
  }
}

.choco-letter {
  opacity: 0;
  transform: scale(0.8) translateY(20px) rotateX(90deg);
  display: inline-block;
  transition: all 0.5s ease-out;
  background: gold;
  background-clip: text;
  color: transparent;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  transition: opacity 1s ease-out;
}

.fade-out {
  opacity: 0;
}

#gifWrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in;
  z-index: 2;
}

#gifWrapper.fade-in {
  opacity: 1;
}

#chocoGif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
  display: block;
}

.fh5co-cover {
  position: relative;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 14, 7, 0.5);
  z-index: 1;
}

/* =======================================================
 *  FOOTER
 *  ======================================================= */
#fh5co-footer {
  margin-top: 25rem;
  display: block;
  background: linear-gradient(to bottom, #1b1b1b, #31221f, #7b4b3a);
}

#fh5co-footer img {
  width: 17.5%;
  position: absolute;
  right: 1%;
  bottom: 1%;
  animation: levit 3s ease-in-out infinite;
}

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

#fh5co-footer .fh5co-footer-links {
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 768px) {
  #fh5co-footer .fh5co-footer-links {
    margin-bottom: 30px;
  }
}

#fh5co-footer .fh5co-footer-links li {
  padding: 0;
  margin: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.5);
}

#fh5co-footer .fh5co-footer-links li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

#fh5co-footer .fh5co-footer-links li a:hover {
  text-decoration: underline;
  color: #ea272d;
}

#fh5co-footer .fh5co-widget {
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  #fh5co-footer .fh5co-widget {
    text-align: left;
  }
}

#fh5co-footer .fh5co-widget h4 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 1px;
}

.fh5co-footer-links > *,
.fh5co-footer-links > li > *,
.fh5co-widget p {
  color: rgb(255, 253, 253) !important;
}

.fh5co-footer-links > li > *:hover {
  color: var(--golden-cocoa) !important;
}

.fh5co-widget h4 {
  color: gold !important;
}

.fh5co-widget small {
  color: blue !important;
}

.copyright__small {
  color: white;
}

.copyright__small a {
  color: gold;
}

#fh5co-footer .copyright .block {
  display: block;
}

.fh5co-social-icons {
  margin: 5%;
  padding: 0;
  color: white;
  list-style-type: none;
}

.fh5co-social-icons li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-block;
  color: white;
}

.fh5co-social-icons li a:hover {
  color: gold;
}

.fh5co-social-icons li a i {
  font-size: 20px;
}

/* =======================================================
 *  GO TO TOP
 *  ======================================================= */
.gototop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.gototop.active {
  opacity: 1;
  visibility: visible;
}

.gototop a {
  width: 50px;
  height: 50px;
  display: table;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  border-radius: 4px;
}

.gototop a i {
  height: 50px;
  display: table-cell;
  vertical-align: middle;
}

.gototop a:hover,
.gototop a:active,
.gototop a:focus {
  text-decoration: none;
  outline: none;
}

/* =======================================================
 *  ANIMATIONS - Classes d'animation
 *  ======================================================= */
.animate-box {
  opacity: 0;
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.animate-box.animated-fast {
  opacity: 1;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

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

/* =======================================================
 *  HEADINGS
 *  ======================================================= */
.fh5co-heading {
  margin-bottom: var(--spacing-2xl);
}

@media screen and (max-width: 768px) {
  .fh5co-heading {
    margin-bottom: var(--spacing-xl);
  }
}

.fh5co-heading h2 {
  color: gold;
  font-family: 'Satisfy', cursive;
}

.section-heading {
  width: 100%;
  float: left;
  margin-bottom: var(--spacing-2xl);
}

@media screen and (max-width: 768px) {
  .section-heading {
    margin-bottom: var(--spacing-xl);
  }
}

.section-heading h2 {
  font-size: 40px;
  color: #fff;
  font-family: 'Satisfy', cursive;
}

/* =======================================================
 *  BLOG / CARDS
 *  ======================================================= */
.fh5co-blog {
  width: 100%;
  float: left;
  margin-bottom: var(--element-gap);
}
#fh5co-blog > .container > .row:nth-child(2) {
  margin: 5rem 0;
}
#fh5co-featured-testimony > .container > .row {
  margin: 5rem 0;
}
@media screen and (max-width: 768px) {
  .fh5co-blog {
    width: 100%;
    margin-bottom: var(--element-gap-mobile);
  }
}

.fh5co-blog .blog-bg {
  display: block;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  height: 300px;
}

@media screen and (max-width: 768px) {
  .fh5co-blog .blog-bg {
    height: 250px;
  }
}

.fh5co-blog .blog-text {
  margin-bottom: var(--spacing-xl);
  position: relative;
  width: 100%;
  padding: var(--card-padding);
  float: left;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

@media screen and (max-width: 768px) {
  .fh5co-blog .blog-text {
    padding: var(--card-padding-mobile);
    margin-bottom: var(--spacing-lg);
  }
}

.fh5co-blog .blog-text span {
  display: inline-block;
  margin-bottom: var(--spacing-lg);
  font-size: 14px !important;
  color: white;
}

.fh5co-blog .blog-text .stuff {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: var(--spacing-lg);
}

.fh5co-blog .blog-text .stuff li {
  list-style: none;
  display: inline-block;
  margin-left: var(--spacing-sm);
  color: #fff;
}

.fh5co-blog .blog-text .stuff li:first-child {
  margin-left: 0;
}

.fh5co-blog .blog-text .stuff li:last-child {
  float: right;
}

.fh5co-blog .blog-text .stuff li:last-child i {
  padding-right: 0;
  padding-left: var(--spacing-sm);
}

.fh5co-blog .blog-text .stuff li i {
  margin-top: 7px;
  margin-right: var(--spacing-xs);
  color: rgba(255, 255, 255, 0.5);
  float: left;
  font-size: 14px;
  padding-right: var(--spacing-xs);
}

.fh5co-blog .blog-text h3 {
  font-size: 24px;
  margin-bottom: var(--spacing-lg);
  line-height: 1.5;
}

.fh5co-blog .blog-text h3 a {
  color: white;
}

/* =======================================================
 *  FEATURED MENU / TESTIMONY
 *  ======================================================= */
#fh5co-featured-menu .fh5co-item {
  float: left;
  width: 100%;
}

#fh5co-featured-menu .fh5co-item.margin_top {
  margin-top: 150px;
}

@media screen and (max-width: 480px) {
  #fh5co-featured-menu .fh5co-item.margin_top {
    margin-top: 0;
  }
}

#fh5co-featured-menu .fh5co-item h3 {
  margin-bottom: 0px;
  color: #fff;
}

#fh5co-featured-menu .fh5co-item .fh5co-price {
  font-size: 20px;
  color: #fee856;
  margin-bottom: 20px;
  font-size: 30px;
  display: block;
}

#fh5co-featured-menu .fh5co-item img {
  margin-bottom: 30px;
}

#fh5co-featured-menu .fh5co-item-wrap {
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

@media screen and (max-width: 768px) {
  #fh5co-featured-menu .fh5co-item-wrap {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
}

#fh5co-featured-testimony {
  border: none !important;
}

@media screen and (max-width: 768px) {
  #fh5co-featured-testimony .fh5co-heading {
    margin-bottom: 50px;
  }
}

#fh5co-featured-testimony .fh5co-heading h2 {
  color: #fff;
  font-family: 'Satisfy', cursive;
}

#fh5co-featured-testimony .img-to-responsive img {
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  #fh5co-featured-testimony .img-to-responsive img {
    max-width: 100%;
  }
}

#fh5co-featured-testimony blockquote {
  border: none;
  position: relative;
  margin-top: 100px;
}

@media screen and (max-width: 992px) {
  #fh5co-featured-testimony blockquote {
    margin-top: 0;
  }
}

#fh5co-featured-testimony blockquote p {
  font-size: 40px;
  line-height: 50px;
  font-style: italic;
  font-weight: 300;
  color: #fff;
}

@media screen and (max-width: 992px) {
  #fh5co-featured-testimony blockquote p {
    font-size: 30px;
    line-height: 40px;
  }
}

#fh5co-featured-testimony blockquote .author {
  color: rgba(255, 255, 255, 0.7);
  font-size: 30px;
}

@media screen and (max-width: 992px) {
  #fh5co-featured-testimony blockquote .author {
    color: rgba(255, 255, 255, 0.3);
  }
}

/* =======================================================
 *  SLIDER
 *  ======================================================= */
/* =======================================================
 *  RESTAURATION: Styles fh5co-slider déplacés vers home.css
 *  Les styles sont maintenant dans /css/pages/home.css
 *  pour la version verticale en cascade
 *  ======================================================= */

/* RESTAURATION: Styles génériques conservés pour compatibilité */
#fh5co-slider-wrwap .btn {
  font-size: 24px;
}

/* =======================================================
 *  COMMENT CAROUSEL
 *  ======================================================= */
#commentsCarousel {
  padding: 20px 0;
}

.comment-card {
  height: 250px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  overflow: hidden;
}

.comment-card-mobile {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin: 15px 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.comment-card:hover,
.comment-card-mobile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.comment-content {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.comment-content > * {
  font-size: 2rem !important;
}
.comment-date {
  font-size: 2rem !important;
}
.comment-text-section h4 {
  font-size: 2.3rem !important;
}
.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-text-section {
  flex: 1;
  margin-right: 15px;
}

.comment-text {
  margin-top: 8px;
  line-height: 1.5;
  color: #333;
}

.comment-photo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d6b98c, #c4a373);
  border: 2px solid #f4f1eb;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-photo::before {
  content: '👤';
  font-size: 18px;
  color: #fff;
  opacity: 0.8;
}

.comment-date {
  color: #d6b98c;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.comment-content h4 {
  color: #3e1f0d;
  font-family: 'Satisfy', cursive;
  font-size: 20px;
  margin: 0;
  line-height: 1.2;
}

.comment-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 10px 0;
  font-style: italic;
  flex-grow: 1;
  overflow: hidden;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.comment-rating .star {
  color: var(--gold, #f5c518);
  font-size: 1.2rem;
}

.comment-author {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

#commentsCarousel .carousel-control {
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  top: 50%;
  margin-top: -25px;
}

#commentsCarousel .left.carousel-control {
  left: -25px;
}

#commentsCarousel .right.carousel-control {
  right: -25px;
}

#commentsCarousel .carousel-control .glyphicon {
  font-size: 20px;
  color: #d6b98c;
  text-shadow: none;
}

#commentsCarousel .carousel-control:hover .glyphicon {
  color: #3e1f0d;
}

#commentsCarousel .carousel-indicators {
  bottom: -50px;
}

#commentsCarousel .carousel-indicators li {
  background-color: rgba(214, 185, 140, 0.5);
  border: 1px solid #d6b98c;
}

#commentsCarousel .carousel-indicators .active {
  background-color: #d6b98c;
}

@media (max-width: 767px) {
  #commentsCarousel .left.carousel-control {
    left: -15px;
  }

  #commentsCarousel .right.carousel-control {
    right: -15px;
  }

  .comment-card-mobile {
    height: 200px;
    margin: 10px 15px;
  }

  .comment-card-mobile .comment-content {
    padding: 18px 15px;
  }

  .comment-card-mobile .comment-content h4 {
    font-size: 18px;
  }

  .comment-card-mobile .comment-content p {
    font-size: 14px;
    -webkit-line-clamp: 4;
  }

  #commentsCarouselMobile .carousel-indicators {
    bottom: -40px;
  }

  #commentsCarouselMobile .carousel-indicators li {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
}

/* =======================================================
 *  MESSAGES - Styles pour les messages d'erreur et de succès
 *  ======================================================= */
.message-error,
.message-erreur,
.erreur {
  background: rgba(220, 53, 69, 0.2);
  border: 2px solid rgba(220, 53, 69, 0.6);
  color: #ff6b6b;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.6;
  text-align: center;
  box-shadow: 0 2px 10px rgba(220, 53, 69, 0.2);
}

.message-error p,
.message-erreur p,
.erreur p {
  margin: 0;
  color: #ff6b6b;
}

.message-success,
.success {
  background: rgba(40, 167, 69, 0.2);
  border: 2px solid rgba(40, 167, 69, 0.6);
  color: #51cf66;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.6;
  text-align: center;
  box-shadow: 0 2px 10px rgba(40, 167, 69, 0.2);
}

.message-success p,
.success p {
  margin: 0;
  color: #51cf66;
}

/* =======================================================
 *  CONTACT INFO
 *  ======================================================= */
.contact-info {
  margin-bottom: 4em;
  padding: 0;
}

.contact-info li {
  list-style: none;
  margin: 0 0 20px 0;
  position: relative;
  padding-left: 40px;
  color: #fff;
}

.contact-info li i {
  position: absolute;
  top: 0.3em;
  left: 0;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.3);
}

.contact-info li a {
  color: #fff;
}

/* =======================================================
 *  STARS RATING
 *  ======================================================= */
.stars span {
  color: #f5c518 !important;
  font-size: 18px !important;
  margin: 0 4px !important;
}

.stars {
  text-align: center !important;
  line-height: 1 !important;
}

/* =======================================================
 *  ROW PADDING
 *  ======================================================= */
.row-pb-md {
  padding-bottom: var(--spacing-2xl) !important;
}

.row-pb-sm {
  padding-bottom: var(--spacing-xl) !important;
}

@media screen and (max-width: 768px) {
  .row-pb-md {
    padding-bottom: var(--spacing-xl) !important;
  }

  .row-pb-sm {
    padding-bottom: var(--spacing-lg) !important;
  }
}

/* =======================================================
 *  CONSTRUCT PAGE
 *  ======================================================= */
.construct_page {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.construct_page > img {
  width: 20%;
  border-radius: 50%;
}

.construct_page > a {
  margin-top: 5rem;
  background-color: white;
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bolder;
  transition: 0.5s all;
  position: relative;
}

.construct_page > a:hover {
  background-color: #d4af37;
  font-weight: bolder;
}

.construct_page > a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -10;
  height: 100%;
  transition: 0.5s all;
  background-color: #d4af37;
}

.construct_page > a:hover::after {
  background: none;
}

/* =======================================================
 *  TEXTAREA
 *  ======================================================= */
textarea {
  resize: vertical;
  overflow: auto;
}

.mainHome__blog__item__rating > * {
  text-decoration: none;
}
