/* ======================
FONTS PERSONNALISÉES
====================== */
@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-v57-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* Améliore les performances de chargement */
}

/* ======================
VARIABLES CSS (Chargement immédiat)
====================== */
:root {
  --primary: #be123c;
  --secondary: #7e5bef;
  --accent: #ff8c00;
  --white: white;
  --black: black;
  --gray-dark: #374151;
  
  --gap-lg: 2.5rem;
  --gap-md: 1.25rem;
  --gap-sm: 0.75rem;
  
  --radius: 0.375rem;
  --transition: all 0.3s ease;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ======================
STYLES DE BASE (Force le rendu)
====================== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  line-height: 1.6;
}


/* Font Oswald pour les titres par défaut */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif !important;
}

/* ======================
NAVIGATION (Priorité maximale)
====================== */
.header-nav {
  background-color: var(--black) !important;
  background: var(--black) !important;
  color: var(--white) !important;
  padding: var(--gap-sm) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 60px !important;
  width: 100% !important;
  position: relative !important;
  z-index: 1000 !important;
}

.menu > li {
  position: relative;
  list-style: none;
  display: flex;
}

.menu > li > a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.menu > li > a:hover { 
  color: #ff7f26; 
  transform: translateY(-2px); 
}

.menu > li > a.active { 
  color: #ff7f26; 
  font-weight: 600; 
}

.menu > li:not(:last-child):after {
  content: '|';
  position: relative;
  margin-left: var(--gap-md);
  color: var(--white);
  top: -2px;
  opacity: 0.5;
  display: none;
}

@media (min-width: 1024px) {
  .menu > li:not(:last-child):after {
    display: block;
  }
}

/* Menu mobile styles */
#mobile-menu .menu > li > a {
  display: block;
  width: 100%;
}
#mobile-menu .menu > li > a:hover {
  color: white;
}

#mobile-menu .menu > li:not(:last-child):after {
  display: none !important;
}

#hamburger-btn {
  cursor: pointer;
  z-index: 100 !important;
}

#hamburger-btn .hamburger-line {
  display: block;
  transform-origin: center !important;
  min-width: 24px;
}

#hamburger-btn:hover .hamburger-line {
  background-color: var(--accent);
}

body {
  overflow-x: hidden;
}

body, html {
  position: relative;
}

header {
  overflow: visible !important;
}

header nav {
  overflow: visible !important;
}

h1.title {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
}

/* ======================
BOUTONS
====================== */
.cta-button-header {
  background: var(--primary);
  color: var(--white);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cta-button-header:hover {
  background: #9f1239;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.cta-button-footer {
  background: var(--primary);
  color: var(--white);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cta-button-footer:hover {
  background: #9f1239;
  box-shadow: var(--shadow);
}

/* ======================
UTILITAIRES
====================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gap-md);
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }

.title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  margin-bottom: 2rem !important;
}

/* ======================
BOUTON PLAY VIDÉO
====================== */
/* .play-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 0.3rem 1rem !important;
  font-weight: bold !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
  transform: scale(1) !important;
}

.play-button:hover {
  animation: pulse-play 2s infinite !important;
  transform: translateY(-1px) scale(1.05) !important;
}

.play-button:active {
  transform: translateY(0) scale(1.02) !important;
}

.play-button i {
  transition: transform 0.3s ease !important;
} */


/* Animation du bouton play */
/* @keyframes pulse-play {
  0% { 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(190, 18, 60, 0.7);
  }
  70% { 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(190, 18, 60, 0);
  }
  100% { 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(190, 18, 60, 0);
  }
} */

/* Styles pour le conteneur vidéo avec thumbnail */
.relative video {
  cursor: pointer !important;
  transition: filter 0.3s ease !important;
}


/* État en lecture - clair */
.relative video.video-playing {
  filter: brightness(1) !important;
}


/* Styles vidéo responsives */
video {
  max-width: 100% !important;
  height: auto !important;
}


/* ======================
BACKGROUND
====================== */
.page {
  padding: 1rem 0 8rem 0 !important;
  min-height: 100%;
}

.page_11 {
  padding-bottom: 3rem !important;
}

.page_1 {
  background-image: url('../../assets/images/Fond_Vin_home_Page.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: var(--white) !important;
}

.page_2,
.page_3 {
  background-color: #f3f4f6 !important;
}

/* Couleurs personnalisées */
.text-red {
  color: var(--primary) !important;
}

.bg-gray\/10 {
  background-color: rgba(128, 128, 128, 0.1) !important;
}

/* ======================
MARQUEE LOGOS
====================== */
.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 0 0.6rem 0;
  align-items: center;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  padding: 0 1rem;
}

.marquee-content img {
  height: 30px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.marquee-content img:hover {
  opacity: 1;
}

/* Pause au hover du conteneur */
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}


.number {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2.5rem;
  width: 4rem;
  height: 4rem;
  aspect-ratio: 1/1;
  border-radius: 100%;
  font-weight: bold;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.separator {
  background: linear-gradient(to bottom,transparent,rgba(128, 128, 128, 0.6),rgba(128, 128, 128, 0.6),transparent);
  opacity: .5;
}

/* ======================
ONE-PAGE SCROLL SYSTEM
====================== */
main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#pages-container {
  display: flex;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 1100vw !important;
  height: 100%;
  padding-top: 152px;
  will-change: transform;
  flex-wrap: nowrap;
}

#pages-container {
  display: flex;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 100%;
  height: 100%;
  padding-top: 72px;
  will-change: transform;
}
@media (min-width: 1024px) {
  #pages-container {
    padding-top: 72px;
  }
}

.page-wrapper {
  min-width: 100vw;
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  /* Masquer complètement la scrollbar */
  /* scrollbar-width: none;
  -ms-overflow-style: none; */
}

/* Masquer la scrollbar pour Chrome, Safari et Opera */
/* .page-wrapper::-webkit-scrollbar {
  display: none;
} */

/* Indicateur de page */
#page-indicator {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  align-items: center;
}

.page-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.201);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.page-dot.active {
  background-color: var(--primary);
  border-color: white;
  transform: scale(1.3);
}

/* Styles pour les pages avec du contenu vertical */
.page-wrapper.has-scroll .page {
  min-height: 100vh;
}

/* Effet élastique - résistance avant changement de page */
.page-wrapper {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-wrapper.elastic-pull {
  transition: transform 0.1s ease-out;
}

/* Animation de transition */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-wrapper.animating-in-right .page > * {
  animation: slideInRight 0.6s ease-out;
}

.page-wrapper.animating-in-left .page > * {
  animation: slideInLeft 0.6s ease-out;
}

/* ======================
SLIDER PUBLICATIONS
====================== */
.publications-slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  position: relative;
  width: 100%;
}

.slider-item {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slider-item.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s ease-in-out;
}

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

.slider-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.slider-btn {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  color: #dc2626;
  transform: scale(1.2);
}

.slider-btn-text {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.slider-btn-text:hover {
  color: #dc2626;
  text-decoration: underline;
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary);
}

.dot:hover {
  background: #9ca3af;
}

@media (max-width: 768px) {
  .slider-item h3 {
    font-size: 1.5rem !important;
  }
  
  .slider-item p {
    font-size: 1rem !important;
  }
  
  .slider-btn-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 520px) {
  .slider-btn-text {
    font-size: .8rem !important;
  }
}
/* ======================
TABS SYSTEM
====================== */
.tabs-container {
  width: 100%;
}

.tabs-buttons {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  color: #374151;
  border-bottom: 3px solid transparent;
}

.tab-btn:first-child {
  border-right: 1px solid #e5e7eb;
}

.tab-btn.active {
  background: black;
  color: white;
  border-bottom-color: var(--primary);
}

.tab-btn:not(.active):hover {
  background: #f3f4f6;
  color: var(--primary);
}

.tabs-content {
  position: relative;
  min-height: 300px;
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-panel {
  display: none;
  opacity: 0;
  animation: fadeOut 0.3s ease-out;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  animation: fadeInTab 0.4s ease-in;
}

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

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.tab-panel h3 {
  line-height: 1.3;
}

@media (max-width: 768px) {
  .tabs-buttons {
    flex-direction: column;
  }
  
  .tab-btn:first-child {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .tab-panel h3 {
    font-size: 1.25rem !important;
  }
  
  .tabs-content {
    padding: 1.5rem;
    min-height: 250px;
  }
}
/* ======================
PRICING PANELS
====================== */
.pricing-content {
  position: relative;
  width: 100%;
}

.pricing-panel {
  display: none;
  opacity: 0;
  animation: fadeOut 0.3s ease-out;
}

.pricing-panel.active {
  display: block;
  opacity: 1;
  animation: fadeInTab 0.4s ease-in;
}

.pricing-column {
  background: white;
  overflow: hidden;
}

.pricing-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-items {
  border-left: 2px solid #e5e7eb;
  border-right: 2px solid #e5e7eb;
  border-bottom: 2px solid #e5e7eb;
}

.pricing-items:hover {
  background-color: #eaeaea !important;
  /* color: white !important; */
}

.pricing-item {
  border-bottom: 1px solid #e5e7eb;
  border-color: #e5e7eb !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-item:hover {
  background-color: #eaeaea !important;
  /* color: white !important ; */
}

.pricing-item:last-child {
  border-bottom: none;
}

/* .pricing-highlight {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
} */

@media (max-width: 768px) {
  .pricing-panel h2 {
    font-size: 1.5rem !important;
  }
  
  .pricing-header h3 {
    font-size: 1rem !important;
  }
  
  .pricing-subtitle p {
    font-size: 0.875rem !important;
  }
  
  .pricing-item {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ======================
MODAL DEVIS
====================== */
#modal-btn-cancel {
  background-color: #e5e7eb !important; /* bg-gray-200 */
  color: #374151 !important; /* text-gray-700 */
}

#modal-btn-cancel:hover {
  background-color: #d1d5db !important; /* hover:bg-gray-300 */
  color: #111827 !important; /* hover:text-gray-900 */
  transform: translateY(-2px) !important; /* hover:-translate-y-0.5 */
}

/* ======================
FAQ ACCORDION
====================== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-weight: normal;
  line-height: 1;
}

.faq-question:hover .faq-icon {
  transform: scale(1.1);
}

.faq-item {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.faq-answer div p {
  margin-bottom: 1rem;
}

.faq-answer div p:last-child {
  margin-bottom: 0;
}


/* ======================
CALENDRIER FLATPICKR
====================== */
.flatpickr-calendar {
  box-shadow: none !important;
  border: none !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: #be123c !important;
  border-color: #be123c !important;
}

/* Calendrier responsive */
@media screen and (max-width: 768px) {
  .flatpickr-calendar {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .flatpickr-months {
    padding: 0 5px;
  }
  
  .flatpickr-current-month .flatpickr-monthDropdown-months {
    font-size: 13px !important;
  }
  
  .flatpickr-current-month input.cur-year {
    font-size: 13px !important;
  }
  
  .flatpickr-day {
    height: 32px !important;
    line-height: 32px !important;
    font-size: 13px !important;
  }
  
  .flatpickr-weekday {
    font-size: 12px !important;
  }
}

@media screen and (max-width: 480px) {
  .flatpickr-months {
    padding: 0;
  }
  
  .flatpickr-current-month .flatpickr-monthDropdown-months {
    font-size: 12px !important;
    min-width: 80px !important;
  }
  
  .flatpickr-current-month input.cur-year {
    font-size: 12px !important;
    width: 50px !important;
  }
  
  .flatpickr-day {
    height: 28px !important;
    line-height: 28px !important;
    font-size: 12px !important;
  }
  
  .flatpickr-weekday {
    font-size: 11px !important;
  }
  
  .flatpickr-prev-month,
  .flatpickr-next-month {
    padding: 5px !important;
  }
}

.page_title {
  margin-top: 0.5rem;
  font-family: 'Oswald', 'Arial', 'sans-serif';
  text-align: center;
  font-weight: bold;
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.block_title {
  font-size: 1.2rem;
  line-height: 30px;
  margin-bottom: 0.5rem;
}

/* ======================
media queries
====================== */



@media (min-width: 1024px) and (max-width: 1280px) {
  body {
    font-size: 0.8rem;
  }
  p {
    font-size: 0.8rem;
    line-height: 1rem;
  }
  .page_title {
    margin-top: 0.2rem;
    font-size: 1.5rem;
    line-height: 1.9rem;
  }
  .number {
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .slider-dots {
    gap: 0.5rem;
  }

  .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
  }
}

@media (min-width: 640px) {
  .block_title {
    font-size: 1.7rem;
    line-height: 30px;
    margin-bottom: 0.5rem;
  }
  .normalParagraph p {
    font-size: 1.17rem;
    line-height: 1.5rem;
  }
}
@media (max-width: 640px) {
  .number {
    font-size: 1.2rem;
    width: 1.8rem;
    height: 1.8rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .page_title {
    margin-top: 0.2rem;
    font-size: 1.3rem;
    line-height: 1.6rem;
  }
}


/* Menu desktop - couleur orange pour les liens actifs */
@media (min-width: 1024px) {
  .menu > li > a.active { 
    color: #ff7f26 !important;
  }
  
  .menu > li > a:hover {
    color: #ff7f26 !important;
  }
}

/* Menu mobile - couleur rose pour les liens actifs */
@media (max-width: 1024px) {
  .menu > li > a.active { 
    color: var(--primary); 
  }
}