/*
Theme Name: Prix de Flore - Divi Child
Theme URI: https://prixflore.fr
Description: Thème enfant Divi pour le Prix de Flore
Author: P3X Labs
Author URI: https://p3xlabs.com
Template: Divi
Version: 1.0
License: GPL v2
*/

/* =================================================================
   PALETTE DE COULEURS - ART DÉCO
   ================================================================= */
:root {
  --or-flore: #D4AF37;
  --emeraude-flore: #50C878;
  --bleu-imperial: #003366;
  --blanc-casse: #FAF9F6;
  --noir-charbon: #1C1C1C;
}

/* =================================================================
   MENU PRINCIPAL PRESTIGIEUX - ART DÉCO
   ================================================================= */

/* Menu principal avec ornements */
#main-header {
  background: transparent;
  transition: all 0.4s ease;
  border-bottom: 2px solid var(--or-flore);
  box-shadow: 0 2px 15px rgba(212, 175, 55, 0.1);
}

#main-header.et-fixed-header {
  background: var(--bleu-imperial) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Logo avec style calligraphique */
#logo {
  font-family: "Cormorant Garamond", serif;
  color: var(--or-flore) !important;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Items du menu en petites majuscules */
#top-menu li a {
  font-family: "Montserrat", sans-serif;
  font-variant: small-caps;
  font-weight: 500;
  letter-spacing: 2px;
  color: #FFFFFF !important;
  position: relative;
  padding: 15px 20px !important;
}

/* Séparateurs ornementaux entre items */
#top-menu li:not(:last-child)::after {
  content: "✦";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--or-flore);
  font-size: 12px;
}

/* Effet hover avec soulignement doré */
#top-menu li a::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--or-flore), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

#top-menu li a:hover::before,
#top-menu li.current-menu-item a::before {
  transform: scaleX(1);
}

/* Lueur émeraude au hover */
#top-menu li a:hover {
  color: var(--or-flore) !important;
  text-shadow: 0 0 10px var(--emeraude-flore);
}

/* =================================================================
   SECTIONS HOMEPAGE - CHAPITRES
   ================================================================= */

/* Hero Section - Chapitre 1 */
.chapitre-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.chapitre-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.chapitre-hero .et_pb_text {
  z-index: 2;
  position: relative;
}

.chapitre-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  color: var(--or-flore);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
}

/* Timeline Art Déco - Chapitre 2 */
.timeline-art-deco {
  position: relative;
  padding: 60px 0;
  background: var(--bleu-imperial);
}

.timeline-art-deco::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--or-flore);
  z-index: 1;
}

.timeline-item {
  position: relative;
  display: inline-block;
  width: 25%;
  text-align: center;
  z-index: 2;
}

.timeline-item::before {
  content: "⬥";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: var(--or-flore);
  background: var(--bleu-imperial);
  padding: 10px;
}

/* Grille Jury - Chapitre 3 */
.jury-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px;
}

.jury-member {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--or-flore);
  border-radius: 0;
  transition: all 0.3s ease;
}

.jury-member::before,
.jury-member::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--or-flore);
}

.jury-member::before {
  top: -5px;
  left: -5px;
  border-right: none;
  border-bottom: none;
}

.jury-member::after {
  bottom: -5px;
  right: -5px;
  border-left: none;
  border-top: none;
}

.jury-member:hover {
  transform: scale(1.05);
  border-color: var(--emeraude-flore);
  box-shadow: 0 0 20px rgba(80, 200, 120, 0.4);
}

/* Processus de sélection - Chapitre 4 */
.selection-steps {
  display: flex;
  justify-content: space-around;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--blanc-casse) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.step-item {
  text-align: center;
  flex: 1;
  padding: 30px;
  position: relative;
}

.step-item::after {
  content: "→";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: var(--or-flore);
}

.step-item:last-child::after {
  display: none;
}

.step-icon {
  font-size: 60px;
  color: var(--or-flore);
  margin-bottom: 20px;
}

/* Café de Flore - Chapitre 5 */
.cafe-flore-section {
  position: relative;
  padding: 80px 0;
  background-attachment: fixed;
}

.cafe-flore-section .citation {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--emeraude-flore);
  font-style: italic;
  text-align: center;
  margin: 40px auto;
  max-width: 800px;
  position: relative;
}

.cafe-flore-section .citation::before,
.cafe-flore-section .citation::after {
  content: "❝";
  font-size: 50px;
  color: var(--or-flore);
  position: absolute;
}

.cafe-flore-section .citation::before {
  top: -20px;
  left: -40px;
}

.cafe-flore-section .citation::after {
  content: "❞";
  bottom: -40px;
  right: -40px;
}

/* Cards Actualités - Chapitre 6 */
.actualites-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 60px 20px;
}

.actualite-card {
  background: #FFFFFF;
  border: 2px solid var(--or-flore);
  position: relative;
  padding: 20px;
  transition: all 0.3s ease;
}

.actualite-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid var(--or-flore);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.actualite-card:hover::before {
  opacity: 1;
}

.actualite-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* =================================================================
   BOUTONS ART DÉCO
   ================================================================= */

.btn-art-deco {
  background: linear-gradient(135deg, var(--or-flore), #B8941F);
  color: var(--bleu-imperial) !important;
  padding: 15px 40px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--or-flore);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-art-deco::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-art-deco:hover::before {
  left: 100%;
}

.btn-art-deco:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* =================================================================
   ANIMATIONS
   ================================================================= */

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

.animate-gold {
  animation: fadeInGold 1s ease-out;
}

/* Parallaxe subtile */
.parallax-subtle {
  transition: transform 0.5s ease-out;
}

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

@media (max-width: 980px) {
  .jury-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .actualites-cards {
    grid-template-columns: 1fr;
  }
  
  .selection-steps {
    flex-direction: column;
  }
  
  .step-item::after {
    display: none;
  }
  
  .chapitre-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  #top-menu li::after {
    display: none;
  }
  
  .timeline-item {
    width: 100%;
    margin: 20px 0;
  }
}

/* =================================================================
   VERSION FUSION - HERO AVEC BIAIS ET PARALLAXE
   ================================================================= */

/* Hero avec image en biais comme DIVI AI */
.hero-fusion {
  position: relative;
  min-height: 100vh;
  overflow: visible !important;
  margin-top: -100px; /* Pour que image passe derrière menu */
  padding-top: 100px;
}

.hero-fusion::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom right, transparent 49%, #FAF9F6 51%);
  z-index: 2;
}

/* Photo Benjamin Stock en médaillon */
.photo-laureat {
  position: absolute;
  bottom: 50px;
  right: 50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid var(--or-flore);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

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

/* =================================================================
   SECTIONS BLEU/OR PLEINE LARGEUR
   ================================================================= */

.section-bleu-or {
  background: var(--bleu-imperial);
  position: relative;
  padding: 100px 0;
  margin: 0 !important;
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

.section-bleu-or h2 {
  color: var(--or-flore) !important;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 60px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-bleu-or p,
.section-bleu-or .texte-blanc {
  color: var(--blanc-casse) !important;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* =================================================================
   CADRES JURY AMÉLIORÉS
   ================================================================= */

.jury-member-fusion {
  position: relative;
  overflow: visible;
  background: white;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cadre Art Déco avec coins dorés */
.jury-member-fusion::before,
.jury-member-fusion::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid var(--or-flore);
  transition: all 0.3s ease;
}

.jury-member-fusion::before {
  top: -10px;
  left: -10px;
  border-right: none;
  border-bottom: none;
}

.jury-member-fusion::after {
  bottom: -10px;
  right: -10px;
  border-left: none;
  border-top: none;
}

/* Coins supplémentaires */
.jury-member-fusion .coin-haut-droit,
.jury-member-fusion .coin-bas-gauche {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid var(--or-flore);
  transition: all 0.3s ease;
}

.jury-member-fusion .coin-haut-droit {
  top: -10px;
  right: -10px;
  border-left: none;
  border-bottom: none;
}

.jury-member-fusion .coin-bas-gauche {
  bottom: -10px;
  left: -10px;
  border-right: none;
  border-top: none;
}

/* Hover avec effet émeraude */
.jury-member-fusion:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(80, 200, 120, 0.3);
}

.jury-member-fusion:hover::before,
.jury-member-fusion:hover::after,
.jury-member-fusion:hover .coin-haut-droit,
.jury-member-fusion:hover .coin-bas-gauche {
  border-color: var(--emeraude-flore);
  width: 50px;
  height: 50px;
}

/* =================================================================
   SECTION SÉLECTION AMÉLIORÉE
   ================================================================= */

.selection-fusion {
  background: linear-gradient(135deg, #FAF9F6 0%, rgba(212, 175, 55, 0.08) 100%);
  padding: 100px 0;
  position: relative;
}

/* Étapes avec icônes dorées animées */
.etape-selection {
  text-align: center;
  padding: 40px;
  position: relative;
  background: white;
  border: 2px solid var(--or-flore);
  margin: 20px;
  transition: all 0.3s ease;
}

.etape-selection::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--or-flore);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.etape-selection:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
  border-color: var(--emeraude-flore);
}

/* Bandeau critères doré */
.bandeau-criteres {
  background: linear-gradient(135deg, var(--or-flore), #B8941F);
  color: var(--bleu-imperial);
  padding: 30px;
  margin: 60px auto;
  max-width: 900px;
  text-align: center;
  position: relative;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.bandeau-criteres::before,
.bandeau-criteres::after {
  content: "❦";
  position: absolute;
  font-size: 40px;
  color: var(--bleu-imperial);
  opacity: 0.3;
}

.bandeau-criteres::before {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.bandeau-criteres::after {
  right: 20px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
}

/* =================================================================
   BLOCS INFO BLEU/OR
   ================================================================= */

.bloc-info-pratique {
  background: var(--bleu-imperial);
  border: 3px solid var(--or-flore);
  padding: 40px;
  margin: 40px auto;
  max-width: 700px;
  position: relative;
  color: var(--blanc-casse);
  text-align: center;
}

/* Ornements coins */
.bloc-info-pratique::before,
.bloc-info-pratique::after {
  content: "✦";
  position: absolute;
  font-size: 30px;
  color: var(--or-flore);
}

.bloc-info-pratique::before {
  top: 15px;
  left: 15px;
}

.bloc-info-pratique::after {
  bottom: 15px;
  right: 15px;
}

.bloc-info-pratique h3 {
  color: var(--or-flore);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.bloc-info-pratique .btn-or {
  background: linear-gradient(135deg, var(--or-flore), #B8941F);
  color: var(--bleu-imperial);
  padding: 15px 40px;
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.bloc-info-pratique .btn-or:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

/* =================================================================
   RESPONSIVE AMÉLIORÉ
   ================================================================= */

@media (max-width: 768px) {
  .photo-laureat {
    width: 150px;
    height: 150px;
    bottom: 30px;
    right: 30px;
  }
  
  .section-bleu-or h2 {
    font-size: 2.5rem;
  }
  
  .hero-fusion::after {
    height: 80px;
  }
}

/* =================================================================
   SÉLECTEUR DE LANGUE POLYLANG - PRIX DE FLORE
   ================================================================= */

#top-menu .pll-parent-menu-item > a {
  background: rgba(212,175,55,0.1) !important;
  border: 1px solid #D4AF37 !important;
  padding: 8px 15px !important;
  transition: all 0.3s ease !important;
}

#top-menu .pll-parent-menu-item > a:hover {
  background: #D4AF37 !important;
  color: #003366 !important;
}

.pll-parent-menu-item img {
  width: 20px !important;
  height: auto !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
}

.pll-parent-menu-item .current-lang > a {
  background: #D4AF37 !important;
  color: #003366 !important;
  font-weight: 600 !important;
}

.pll-parent-menu-item .sub-menu {
  background: #003366 !important;
  border: 2px solid #D4AF37 !important;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
}

.pll-parent-menu-item .sub-menu a {
  color: #FAF9F6 !important;
  padding: 10px 15px !important;
}

.pll-parent-menu-item .sub-menu a:hover {
  background: rgba(212,175,55,0.2) !important;
  color: #D4AF37 !important;
}

/* Widget Polylang */
.widget_polylang {
  background: rgba(0,51,102,0.05) !important;
  border: 2px solid #D4AF37 !important;
  padding: 15px !important;
}

.widget_polylang a {
  display: block !important;
  padding: 10px 15px !important;
  background: white !important;
  border: 1px solid #D4AF37 !important;
  color: #003366 !important;
  transition: all 0.3s ease !important;
  font-family: Montserrat, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 13px !important;
}

.widget_polylang a:hover {
  background: #D4AF37 !important;
  transform: translateX(5px) !important;
}

.widget_polylang .current-lang a {
  background: #003366 !important;
  color: #D4AF37 !important;
  font-weight: 700 !important;
}
/* =================================================================
   PALETTE DE COULEURS - PRIX DE FLORE
   Or Antique | Vert Émeraude | Bleu Impérial
   ================================================================= */

:root {
  /* COULEURS PRINCIPALES */
  --or-flore: #D4AF37;           /* Or Antique - Accents prestigieux */
  --emeraude-flore: #50C878;     /* Vert Émeraude - Touches élégantes */
  --bleu-imperial: #003366;      /* Bleu Impérial - Fonds, textes principaux */

  /* COULEURS COMPLÉMENTAIRES */
  --blanc-casse: #FAF9F6;         /* Blanc Cassé - Espaces, lisibilité */
  --noir-charbon: #1C1C1C;        /* Noir Charbon - Textes de lecture */

  /* VARIANTES OR */
  --or-clair: #E5C563;            /* Or plus clair pour hovers */
  --or-fonce: #B8941F;            /* Or plus foncé pour ombres */
  --or-transparent: rgba(212, 175, 55, 0.1); /* Or transparent pour overlays */

  /* VARIANTES ÉMERAUDE */
  --emeraude-clair: #6FD99C;      /* Émeraude clair */
  --emeraude-fonce: #3FA865;      /* Émeraude foncé */
  --emeraude-transparent: rgba(80, 200, 120, 0.1); /* Émeraude transparent */

  /* VARIANTES BLEU IMPÉRIAL */
  --bleu-clair: #004080;          /* Bleu plus clair */
  --bleu-fonce: #002244;          /* Bleu plus foncé */
  --bleu-transparent: rgba(0, 51, 102, 0.1); /* Bleu transparent */
}

/* =================================================================
   APPLICATION AUX ÉLÉMENTS DIVI
   ================================================================= */

/* TITRES ET HEADERS */
h1, h2, h3, h4, h5, h6,
.et_pb_module_header {
  color: var(--bleu-imperial) !important;
}

/* Titres sur fond sombre */
.et_pb_section.et_pb_section_dark h1,
.et_pb_section.et_pb_section_dark h2,
.et_pb_section.et_pb_section_dark h3 {
  color: var(--or-flore) !important;
}

/* BOUTONS PRINCIPAUX */
.et_pb_button,
.et_pb_promo_button,
.et_pb_more_button {
  background-color: var(--or-flore) !important;
  color: var(--bleu-imperial) !important;
  border: 2px solid var(--or-flore) !important;
  transition: all 0.3s ease !important;
}

.et_pb_button:hover,
.et_pb_promo_button:hover,
.et_pb_more_button:hover {
  background-color: transparent !important;
  color: var(--or-flore) !important;
  border-color: var(--or-flore) !important;
}

/* BOUTONS SECONDAIRES (Émeraude) */
.et_pb_button.button-emeraude {
  background-color: var(--emeraude-flore) !important;
  color: white !important;
  border: 2px solid var(--emeraude-flore) !important;
}

.et_pb_button.button-emeraude:hover {
  background-color: var(--emeraude-fonce) !important;
  border-color: var(--emeraude-fonce) !important;
}

/* LIENS */
a {
  color: var(--bleu-imperial);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--emeraude-flore);
}

/* Liens dans sections sombres */
.et_pb_section_dark a {
  color: var(--or-flore);
}

.et_pb_section_dark a:hover {
  color: var(--emeraude-flore);
}

/* SECTIONS AVEC FOND BLEU IMPÉRIAL */
.section-bleu-imperial {
  background-color: var(--bleu-imperial) !important;
  color: var(--blanc-casse) !important;
}

.section-bleu-imperial h2 {
  color: var(--or-flore) !important;
}

/* SECTIONS AVEC ACCENTS OR */
.section-accent-or {
  border-top: 4px solid var(--or-flore);
  border-bottom: 4px solid var(--or-flore);
}

/* MODULES BLURB (Icônes + Texte) */
.et_pb_blurb .et_pb_main_blurb_image .et-pb-icon {
  color: var(--or-flore) !important;
  background-color: var(--bleu-transparent) !important;
  border: 2px solid var(--or-flore) !important;
}

.et_pb_blurb:hover .et_pb_main_blurb_image .et-pb-icon {
  background-color: var(--or-flore) !important;
  color: var(--bleu-imperial) !important;
}

/* COUNTERS (Compteurs) */
.et_pb_counter_container {
  background-color: var(--bleu-transparent) !important;
}

.et_pb_counter_amount {
  background-color: var(--or-flore) !important;
}

/* TESTIMONIALS (Citations) */
.et_pb_testimonial {
  border-left: 4px solid var(--or-flore);
  background-color: var(--or-transparent);
}

.et_pb_testimonial_author {
  color: var(--bleu-imperial) !important;
}

/* PRICING TABLES */
.et_pb_pricing_heading {
  background-color: var(--bleu-imperial) !important;
  color: var(--or-flore) !important;
}

.et_pb_featured_table .et_pb_pricing_heading {
  background-color: var(--or-flore) !important;
  color: var(--bleu-imperial) !important;
}

/* TABS */
.et_pb_tabs_controls li a {
  color: var(--bleu-imperial) !important;
  border-bottom: 2px solid transparent;
}

.et_pb_tabs_controls li.et_pb_tab_active a {
  color: var(--or-flore) !important;
  border-bottom-color: var(--or-flore) !important;
}

/* TOGGLE */
.et_pb_toggle_title {
  background-color: var(--bleu-transparent) !important;
  color: var(--bleu-imperial) !important;
}

.et_pb_toggle_open .et_pb_toggle_title {
  background-color: var(--or-transparent) !important;
  color: var(--or-flore) !important;
}

/* ACCORDIONS */
.et_pb_accordion .et_pb_toggle_open {
  background-color: var(--or-transparent) !important;
}

.et_pb_accordion .et_pb_toggle_title:before {
  color: var(--emeraude-flore) !important;
}

/* CTA (Call to Action) */
.et_pb_promo {
  background-color: var(--bleu-imperial) !important;
  border: 3px solid var(--or-flore) !important;
}

.et_pb_promo_description h2 {
  color: var(--or-flore) !important;
}

/* FORMS */
.et_pb_contact_form input[type="text"],
.et_pb_contact_form input[type="email"],
.et_pb_contact_form textarea {
  border: 1px solid var(--bleu-imperial) !important;
  background-color: var(--blanc-casse) !important;
}

.et_pb_contact_form input[type="text"]:focus,
.et_pb_contact_form input[type="email"]:focus,
.et_pb_contact_form textarea:focus {
  border-color: var(--emeraude-flore) !important;
  box-shadow: 0 0 5px var(--emeraude-transparent) !important;
}

.et_pb_contact_submit {
  background-color: var(--or-flore) !important;
  color: var(--bleu-imperial) !important;
}

/* BLOG */
.et_pb_post .entry-title a {
  color: var(--bleu-imperial) !important;
}

.et_pb_post .entry-title a:hover {
  color: var(--emeraude-flore) !important;
}

.et_pb_post .post-meta,
.et_pb_post .post-meta a {
  color: var(--or-flore) !important;
}

/* PORTFOLIO */
.et_pb_portfolio_item h2 a {
  color: var(--bleu-imperial) !important;
}

.et_pb_portfolio_item:hover h2 a {
  color: var(--emeraude-flore) !important;
}

.et_pb_overlay {
  background-color: var(--or-transparent) !important;
  border: 1px solid var(--or-flore) !important;
}

/* GALLERY */
.et_pb_gallery_item .et_overlay {
  background-color: rgba(212, 175, 55, 0.9) !important;
}

/* SLIDER */
.et_pb_slide_description .et_pb_slide_title {
  color: var(--or-flore) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.et_pb_slider .et_pb_slide_overlay_container {
  background-color: rgba(0, 51, 102, 0.7) !important;
}

/* DIVIDERS (Séparateurs) */
.et_pb_divider:before {
  border-color: var(--or-flore) !important;
}

/* SOCIAL MEDIA FOLLOW */
.et_pb_social_media_follow li a.icon {
  background-color: var(--bleu-imperial) !important;
  color: var(--blanc-casse) !important;
}

.et_pb_social_media_follow li a.icon:hover {
  background-color: var(--emeraude-flore) !important;
}

/* =================================================================
   MENU PRINCIPAL
   ================================================================= */

#main-header {
  background-color: var(--blanc-casse) !important;
  border-bottom: 3px solid var(--or-flore) !important;
}

#top-menu li a {
  color: var(--bleu-imperial) !important;
}

#top-menu li a:hover {
  color: var(--emeraude-flore) !important;
}

#top-menu li.current-menu-item a {
  color: var(--or-flore) !important;
}

/* Menu mobile */
.et_mobile_menu {
  background-color: var(--bleu-imperial) !important;
}

.et_mobile_menu li a {
  color: var(--blanc-casse) !important;
  border-bottom: 1px solid var(--or-transparent) !important;
}

.et_mobile_menu li a:hover {
  background-color: var(--or-transparent) !important;
  color: var(--or-flore) !important;
}

/* =================================================================
   FOOTER
   ================================================================= */

#main-footer {
  background-color: var(--bleu-imperial) !important;
  color: var(--blanc-casse) !important;
  border-top: 4px solid var(--or-flore) !important;
}

#main-footer h4,
#footer-widgets .footer-widget h4.title {
  color: var(--or-flore) !important;
}

#main-footer a {
  color: var(--emeraude-flore) !important;
}

#main-footer a:hover {
  color: var(--or-clair) !important;
}

/* Footer bottom */
#footer-bottom {
  background-color: var(--bleu-fonce) !important;
  border-top: 1px solid var(--or-flore) !important;
}

/* =================================================================
   CLASSES UTILITAIRES
   ================================================================= */

/* Textes */
.text-or { color: var(--or-flore) !important; }
.text-emeraude { color: var(--emeraude-flore) !important; }
.text-bleu { color: var(--bleu-imperial) !important; }

/* Fonds */
.bg-or { background-color: var(--or-flore) !important; }
.bg-emeraude { background-color: var(--emeraude-flore) !important; }
.bg-bleu { background-color: var(--bleu-imperial) !important; }

/* Bordures */
.border-or { border-color: var(--or-flore) !important; }
.border-emeraude { border-color: var(--emeraude-flore) !important; }
.border-bleu { border-color: var(--bleu-imperial) !important; }

/* Ornements */
.ornement-or::before,
.ornement-or::after {
  color: var(--or-flore) !important;
}

/* Hover spéciaux */
.hover-emeraude:hover {
  color: var(--emeraude-flore) !important;
  transition: color 0.3s ease !important;
}

.hover-or:hover {
  color: var(--or-flore) !important;
  transition: color 0.3s ease !important;
}
/* =================================================================== */
/* FRISE CHRONOLOGIQUE - BARRE VERTICALE AVEC FLÈCHE                 */
/* =================================================================== */

/* Barre verticale au centre du rang */
.et_pb_row.chronologie-laureats::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #D4AF37; /* Or antique */
    transform: translateX(-50%);
    z-index: 10;
}

/* Flèche vers le haut au sommet de la barre */
.et_pb_row.chronologie-laureats::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -10px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid #D4AF37;
    transform: translateX(-50%);
    z-index: 11;
}

/* Position relative nécessaire pour les pseudo-éléments */
.et_pb_row.chronologie-laureats {
    position: relative;
}

/* Ajustement pour éviter que la barre dépasse */
.et_pb_row.chronologie-laureats .et_pb_column {
    z-index: 5;
}


/* =================================================================== */
/* TIMELINE AUTOMATIQUE LAURÉATS - AVEC FLÈCHE VERTICALE MONTANTE    */
/* =================================================================== */

.timeline-laureats {
    position: relative;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

/* En-tête de la timeline */
.timeline-header {
    text-align: center;
    margin-bottom: 60px;
}

.timeline-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 20px;
}

.timeline-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* LIGNE VERTICALE CENTRALE avec FLÈCHE MONTANTE */
.timeline-laureats::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 120px;
    bottom: 0;
    width: 1px;
    background-color: #D4AF37;
    transform: translateX(-50%);
    z-index: 1;
}

/* FLÈCHE VERS LE HAUT au sommet de la ligne */
.timeline-laureats::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 110px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #D4AF37;
    transform: translateX(-50%);
    z-index: 2;
}

/* Items de la timeline */
.timeline-item {
    position: relative;
    margin: 60px 0;
    display: flex;
    align-items: flex-start;
}

/* Positionnement alterné */
.timeline-left {
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
}

.timeline-right {
    justify-content: flex-start;
    padding-left: calc(50% + 40px);
}

/* Marqueur année au centre */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 3;
}

.timeline-year {
    background: #D4AF37;
    color: white;
    font-weight: 700;
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 25px;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    min-width: 80px;
    text-align: center;
}

/* Cards des lauréats */
.timeline-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #f8f8f8;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
}

.card-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.card-image {
    flex: 0 0 120px;
    padding: 20px;
}

.card-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-text {
    flex: 1;
    padding: 25px 25px 25px 10px;
}

.laureat-nom {
    font-size: 22px;
    font-weight: 700;
    color: #003366;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.laureat-oeuvre {
    font-size: 20px;
    font-style: italic;
    color: #1C1C1C;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.laureat-editeur {
    font-size: 16px;
    color: #666;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.laureat-resume {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 20px 0;
}

.timeline-link {
    display: inline-block;
    background: #D4AF37;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.timeline-link:hover {
    background: #B8941F;
    color: white;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .timeline-laureats::before {
        left: 30px;
        transform: none;
    }
    
    .timeline-laureats::after {
        left: 30px;
        transform: none;
        top: 100px;
    }
    
    .timeline-left,
    .timeline-right {
        justify-content: flex-start;
        padding-left: 80px;
        padding-right: 20px;
    }
    
    .timeline-marker {
        left: 30px;
        transform: none;
    }
    
    .timeline-year {
        font-size: 16px;
        padding: 8px 12px;
        min-width: 60px;
    }
    
    .timeline-card {
        max-width: 100%;
    }
    
    .card-content {
        flex-direction: column;
    }
    
    .card-image {
        flex: none;
        text-align: center;
        padding: 20px 20px 10px;
    }
    
    .card-text {
        padding: 10px 25px 25px;
    }
    
    .laureat-nom {
        font-size: 20px;
    }
    
    .laureat-oeuvre {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .timeline-laureats {
        padding: 0 10px;
    }
    
    .timeline-left,
    .timeline-right {
        padding-left: 60px;
        padding-right: 10px;
    }
    
    .card-text {
        padding: 15px 20px 20px;
    }
}


/* =================================================================== */
/* DONDIVI TIMELINE - STYLE PRIX DE FLORE AVEC FLÈCHE MONTANTE       */
/* =================================================================== */

/* Container Timeline DonDivi */
.ddb-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* FLÈCHE MONTANTE au sommet de la timeline */
.ddb-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 15px solid #D4AF37;
    transform: translateX(-50%);
    z-index: 10;
}

/* Ligne verticale centrale personnalisée */
.ddb-timeline .ddb-line {
    background-color: #D4AF37 !important;
    width: 2px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Marqueurs années - Style Prix de Flore */
.ddb-timeline .ddb-line-item {
    background: #D4AF37 !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    border: 4px solid white !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    min-width: 80px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 5 !important;
}

/* Cards des lauréats */
.ddb-timeline .ddb-card {
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
    padding: 30px !important;
    margin: 20px 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: 2px solid #f8f8f8 !important;
    max-width: 500px !important;
}

.ddb-timeline .ddb-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2) !important;
    border-color: #D4AF37 !important;
}

/* Contenu des cards */
.ddb-card h3 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #003366 !important;
    margin: 0 0 8px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.ddb-card p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    margin: 10px 0 !important;
}

/* Alternance gauche/droite */
.ddb-timeline .ddb-item:nth-child(odd) .ddb-card {
    margin-left: auto !important;
    margin-right: 60px !important;
}

.ddb-timeline .ddb-item:nth-child(even) .ddb-card {
    margin-right: auto !important;
    margin-left: 60px !important;
}

/* Responsive Timeline DonDivi */
@media (max-width: 768px) {
    .ddb-timeline .ddb-line {
        left: 30px !important;
        transform: none !important;
    }
    
    .ddb-timeline::before {
        left: 30px !important;
        transform: none !important;
    }
    
    .ddb-timeline .ddb-line-item {
        left: 30px !important;
        transform: translateX(-50%) !important;
        font-size: 16px !important;
        padding: 8px 12px !important;
        min-width: 60px !important;
    }
    
    .ddb-timeline .ddb-item .ddb-card {
        margin-left: 80px !important;
        margin-right: 20px !important;
        max-width: 100% !important;
    }
    
    .ddb-card h3 {
        font-size: 20px !important;
    }
}

/* Style pour les images dans les cards */
.ddb-card img {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    max-width: 120px !important;
    height: auto !important;
}

/* Liens dans les cards */
.ddb-card a {
    display: inline-block !important;
    background: #D4AF37 !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: background 0.3s ease !important;
    margin-top: 15px !important;
}

.ddb-card a:hover {
    background: #B8941F !important;
    color: white !important;
    text-decoration: none !important;
}


/* Rotation des slogans dans le bandeau doré */
.rotating-slogan-divi {
    transition: opacity 0.5s ease-in-out;
    display: inline-block;
    min-height: 1.2em;
}

/* Style pour un slider DIVI utilisé comme bandeau rotatif */
.slogan-slider .et_pb_slide {
    background: transparent !important;
    padding: 10px 0 !important;
}

.slogan-slider .et_pb_slide_description {
    padding: 0 !important;
    text-align: center;
}

.slogan-slider .et_pb_slide_content {
    font-size: 16px;
    line-height: 1.4;
}

/* Masquer les contrôles du slider */
.slogan-slider .et-pb-controllers,
.slogan-slider .et-pb-slider-arrows {
    display: none !important;
}

/* Animation douce */
.slogan-slider .et_pb_slide {
    animation: fadeInOut 30s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    45%, 55% { opacity: 0; }
}
