/*!
Theme Name: RATZ Food Market v1
Description: Thème brutaliste inspiré Ratz Food Market - Design noir, Anton/JetBrains, agenda grille
Author: Développeur Senior
Version: 1.0
Text Domain: ratz-food-market
*/

/* ========================================
   TABLE DES MATIÈRES
   1. CONFIGURATION & VARIABLES CSS
   2. RESET & BASE
   3. THEME SWITCHER (boutons couleurs)
   4. NAVBAR FIXE
   5. SECTIONS PRINCIPALES (hero, agenda, market)
   6. AGENDA (programmation WP)
   7. FOOTER BRUTAL
   8. UTILITAIRES & ANIMATIONS
   9. RESPONSIVE MOBILE
   ======================================== */

/* ========================================
   0. CONFIGURATION & VARIABLES CSS
   ========================================
*/
:root {
  --c-accent: #ccff00;     /* Jaune néon principal */
  --c-bg: #050505;         /* Fond noir profond */
  --c-text: #eeeeee;       /* Texte clair */
  --c-border: #333333;     /* Bordures grises */
  --c-hover-bg: #111111;   /* Hover léger */

  --c-background: #050505;         /* Fond noir profond */

  /* Polices */
  --f-ratz: 'SansPlomb', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* Ratz */
  --f-title: 'Anton', sans-serif;      /* Titres massifs */
  --f-mono: 'JetBrains Mono', monospace; /* Corps technique */


  --h-padding: 50px; 

  --h-navbar: 45px; 
}

/* alternatif */
html[data-theme="yellow"] {
  --c-accent: #ccff00;
  --c-accent: #FEED00; 
  --c-accent: #EEFF00; 
}

html[data-theme="red"] {
  --c-accent: #f5313b ;
  --c-text: #f0f0f0;
}

html[data-theme="blue"] {
  --c-accent: #2eaae8;

  /* --c-accent: #111;
  --c-background: #2eaae8;   
  --c-bg: #2eaae8;        
  --c-hover-bg: #2eaae8;  */
}

html[data-theme="purple"] {
  --c-accent: #9d00ff;
}

/* ========================================
   1. RESET & BASE
   ========================================
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--c-bg);

  color: var(--c-text);
  font-family: var(--f-mono);
  line-height: 1.6;
  overflow-x: hidden; 
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* ========================================
   2. NOISE OVERLAY (effet grain fixe)
   ========================================
   Overlay de bruit sur toute la page (comme ta maquette)
*/
.noise-overlay {
  position: fixed;
  inset: 0; /* Raccourci top/right/bottom/left: 0 */
  pointer-events: none; /* Ne bloque pas les clics */
  z-index: 9999;
  opacity: 0.05;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  background-size: cover;
}

/* ========================================
   3. NAVBAR FIXE (header brutal)
   ========================================
*/
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 30px;

  border-bottom: 1px solid var(--c-border);

  background: rgba(5,5,5,0.95);
  background: var(--c-background);

  backdrop-filter: blur(10px);

  height: var(--h-navbar);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ---------- Logo RATZ_ ------------ */
.logo {
  font-family: var(--f-ratz);

    font-size: 3rem;
    letter-spacing: 2px;
    line-height: 0.8;
    margin-top: -10px;
    position: relative;
}

.logo .dot {
  color: var(--c-accent);
  animation: blink 1.5s infinite;
}

.logo .dot {
  color: var(--c-accent);
  animation: blink 1.5s infinite;
  border-bottom: 5px solid var(--c-accent);
  width: 13px;
  display: block;
  position: absolute;
  bottom: -10px;
  left: 76px;
  transition: width 0.3s ease;
  pointer-events: none;
}

.logo:hover .dot {
  animation: none;
  width: 219px;
  transition: width 1s ease;
}

.logo .dot:after {
  content:"FOOD MARKET";
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  width: 230px;
  bottom: 5px;
  left: 5px;

  max-width: calc(100vw - 100px);
}

.logo:hover .dot:after {
  opacity: 1;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}



@media (max-width: 800px) { 
  .logo .dot:after {
      width: 350px;
      background: #000;
      z-index: 1;
  }
}





/* Navigation droite */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;

  padding: 00px; 
}

/* hide */
.status-indicator {
  color: var(--c-accent);
  font-family: var(--f-mono);
  text-transform: uppercase;
}

/* menu */
.nav-links {
  display: flex;
  gap: 20px;

  list-style: none; 
  margin-top: 2px;
}

/* li menu nav-links */
.nav-links .menu-item {
  color: var(--c-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;

}
.nav-links .menu-item:hover,
.nav-links .menu-item.active {
  color: var(--c-accent);
}

.nav-links .menu-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.3s ease;
}

.nav-links .menu-item:hover::after,
.nav-links .menu-item.active::after {
  width: 100%;
}

.nav-links .menu-item a::before {
  content: '[';
}

.nav-links .menu-item a::after {
  content: ']';
}

/* DERNIER LI → STYLE BOUTON */
.nav-links li:last-child a {
    color: white !important;
    border: 2px solid var(--c-accent);
    padding: 0.1rem 0.4rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links li:last-child a:hover {
    transform: translateY(-0.2rem);
}

.nav-links li:last-child a::before {
  content: '';
}

.nav-links li:last-child a::after {
  content: '';
}

.nav-links .current-menu-item {
  color: var(--c-accent);
}

/* ========================================
   4. THEME SWITCHER (boutons couleurs)
   ========================================
*/
.theme-switcher {
    padding: 1px;
}

.theme-label {
  font-size: 0.7rem;
  color: #666;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.colors-grid {
  display: flex;
  gap: 8px;
}

.t-btn {
  width: 20px;
  height: 20px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 50%;
}

.t-btn:hover {
  transform: scale(1.1);
}

.t-btn.yellow { background: #ccff00; background: #EEFF00; }
.t-btn.red { background: #f5313b; }
.t-btn.blue { background: #2eaae8; }
.t-btn.purple { background: #9d00ff; }




/* --- Styles pour le Switcher v2 --- */

/* Le bouton actif a une ligne blanche */
.t-btn.active {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Style du bouton Random */
.t-btn.random {
    background: var(--c-background);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 3px;
}

.t-btn.random svg {
    width: 100%;
    height: 100%;
    stroke: #000;
}

/* Animation de rotation quand on clique */
.t-btn.rotating {
    animation: spinRatz 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes spinRatz {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



/* ========================================
   6. SECTIONS PRINCIPALES
   ========================================
   Hero, market, info (OPENING, FOOD DEALERS)
*/

/* Hero opening */
.hero-section {
  height: 90vh;
  display: flex;
  align-items: center;
  padding: 0 var(--h-padding);
  border-bottom: 1px solid var(--c-accent);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  width: 100%;
  z-index: 2;
  position: relative;
}

.giant-title {
  font-family: var(--f-title);
  font-size: clamp(4rem, 10vw, 12rem);
  line-height: 0.85;
  letter-spacing: -3px;
  color: #fff;
  margin-bottom: 40px;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 3px var(--c-accent);
  font-weight: 400;
}

.hero-meta {
  display: inline-flex;
  background: rgba(0,0,0,0.7);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.meta-box {
  padding: 15px 30px;
  font-size: 1rem;
  letter-spacing: 2px;
  border-right: 1px solid var(--c-border);
  font-family: var(--f-mono);
}

.meta-box:last-child {
  border-right: none;
}

/* Section market (food dealers) */
.market-section {
  padding: 80px 0;
  border: 1px solid grey; /* DEBUG */
}



.section-header {
  font-size: 4rem;
  color: var(--c-accent);
}

.section-header h2 {
  font-family: var(--f-title);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--c-accent);
  letter-spacing: -2px;
}



.market-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  border-bottom: 1px solid var(--c-border);
}

.dealer-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.dealer-card:hover {
  transform: scale(1.02);
}

.card-img {
  height: 350px;
  overflow: hidden;
  position: relative;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease;
}

.dealer-card:hover .card-img img {
  filter: brightness(1.1);
}

.card-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-family: var(--f-mono);
  border: 1px solid #fff;
  letter-spacing: 1px;
}

.card-data {
  padding: 25px;
  background: #0a0a0a;
  border-top: 1px solid var(--c-border);
}

.card-data h3 {
  font-family: var(--f-title);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.card-data p {
  color: var(--c-accent);
  font-size: 0.95rem;
}



/* ========================================
   111. COVER
   ========================================
*/

.ratz-cover {


    min-height: 80vh;
    width: 100%;
    position: relative;

    /*width: calc(100% + (var(--h-padding) + 10px));
    margin-left: -30px;*/

    
}


.ratz-cover-content {
  position:relative;
}

.ratz-cover-content h1 {
    font-family: var(--f-title);
    font-size: clamp(3.4rem, 9.6vw, 7.2rem);
    line-height: 0.85;
    letter-spacing: -3px;
    color: #fff;
    margin: 40px 0;
}

.ratz-cover-content h1 strong {
    color: transparent;
    -webkit-text-stroke: 3px var(--c-accent);
    font-weight: 400;
}

.ratz-sub-titles-group {
    gap: 0;
    margin-top: 25px;
}

.ratz-sub-item {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-accent);
    border: 1px solid var(--c-accent);
    padding: 15px 10px;
    border-radius: 0px; 
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ratz-sub-item:first-child {
    border-left:1px solid transparent;
    margin-right: -1px;
}

/* ✅ DERNIER : Bordure ROUGE DROITE */
.ratz-sub-item:last-child {
    border-right:1px solid transparent;
    margin-left: -1px;
}

@media (max-width: 800px) { 
  .ratz-sub-item {
      padding: 10px 5px;
        font-size: 0.6em;
  }
}

/* ========================================
   222. BANDEAU
   ========================================
*/

.ratz-marquee-wrapper.sticky-bandeau {
    --ratz-yellow: var(--c-accent);
    --ratz-black: var(--c-background);
    position: sticky;
    top: 45px;
    left: 0;
    width: 140%;
    margin-left: -20%;

    z-index: 99;
    color: var(--ratz-black);
    background: var(--ratz-yellow);
    height: 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

/* Rotation au toucher/hover */
.ratz-marquee-wrapper.sticky-bandeau:hover {
    transform: rotate(-1deg) scale(1.01);
    z-index: 101;
    top: 45px;
}


@media (max-width: 800px) { 
  .ratz-marquee-wrapper.sticky-bandeau {
    z-index: 1001;
  }
  
}

/* ========================================
   333. SECTION ANNONCE : RATZ INFOS SECTION
   ========================================
*/

.info-section {
    background: var(--c-bg);
    color: var(--c-text);
    width: 100%;

    border: 0px solid blue;
    padding: 0px;
}

.section-border-top {
  border-bottom: 1px solid var(--c-border);
    padding: 20px 20px;
}

.section-header {
  color: var(--c-accent);
}

h1.section-header, h2.section-header, h3.section-header {
  font-family: var(--f-head);
  text-transform: uppercase;
  font-weight: 400;

  font-family: var(--f-ratz);
  font-size: 3.8rem;
  letter-spacing: 1px;
  line-height: 0.8;
  margin-top: -10px;
  margin-bottom: 5px;
}

/* --- INFO SECTION --- */
.brutal-grid { display: grid; 
  grid-template-columns: 1.5fr 1fr; 
  border-bottom: 1px solid var(--c-border); }

.info-left { 
  padding: 80px 50px 80px 20px;
  border-right: 1px solid var(--c-border); 
}

.info-right { padding: 80px 40px; }

.big-statement { font-size: 4rem; line-height: 1; }
.highlight { color: var(--c-accent); background: rgba(255,255,255,0.05); }

.brutal-list { list-style: none; margin: 30px 0; font-size: 1.2rem; }
.brutal-list li { margin-bottom: 10px; border-bottom: 1px solid #222; padding-bottom: 5px; }

.brutal-btn {
    display: inline-block; padding: 15px 30px;
    background: transparent; border: 1px solid var(--c-accent); color: var(--c-accent);
    font-weight: bold; text-transform: uppercase; transition: 0.2s;
}
.brutal-btn:hover { background: var(--c-accent); color: #000; box-shadow: 5px 5px 0 #fff; }


@media (max-width: 800px) { 
  .section-border-top {
    /*border: 1px solid green;*/
  }
}


/* ========================================
   7. GENERAL page content modification
   ========================================
*/

.page-hero {
    position: relative;
    height: clamp(40vh, 70vw, 80vh); /* Responsive hauteur */
    overflow: hidden;
    
    /* Background UNIQUEMENT si inline style présent */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay sombre (dégradé) */
.page-hero-overlay {
    position: absolute;
    inset: 0; /* top/right/bottom/left: 0 */
    background: linear-gradient(
        135deg, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgba(0,0,0,0.7) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Conteneur centré */
.page-hero .container {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

/* Titre H1 parfait */
.page-hero-title {
font-family: var(--font-sansplomb);
    font-size: clamp(3.5rem, 10vw + 2rem, 8rem);
    font-weight: var(--weight-bold);
    color: var(--c-text);
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 0.3rem 7rem rgba(0, 0, 0, 0.7), 0 0.1rem 0.3rem rgba(0, 0, 0, 0.5);
    /* letter-spacing: -0.03em; */
    position: relative;
    text-transform: uppercase;
}

.page-hero-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 7rem;
    height: 0.4rem;
    background: var(--c-accent, #fff);
    border-radius: 0.1rem;
    letter-spacing: -1px;
}


/* ratz titre block */
.wp-block-ratz-titre {
  color: var(--c-accent);
}

h2.wp-block-ratz-titre {
    text-transform: uppercase;
    font-weight: 400;
    font-family: var(--f-ratz);
    font-size: 3.8rem;
    letter-spacing: 1px;
    line-height: 0.8;
    margin-top: -10px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--c-border);
    padding: 20px 20px;
}

/* classique titre */
.page-content h1.wp-block-heading, .page-content h2.wp-block-heading, .page-content h3.wp-block-heading, .page-content h4.wp-block-heading {
    padding: 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.page-content ul.wp-block-list {
    padding: 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.page-content ul.wp-block-list li {
    padding-left: 20px;
    position: relative;
}

.page-content ul.wp-block-list li::before {
    content: "+";
    position: absolute;
    left: 2px;
    color: var(--c-accent, #fff);
}

/* paragraphe space */
.home-custom-content .container > p, .page-content > p {
    padding: 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}


/* ========================================
   8. FOOD AND BREVAGE
   ========================================
*/

.resto-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*filter: grayscale(1);*/
    filter: grayscale(0);
    transition: all 0.3s ease;
}

.resto-thumb::after {
    /*content: '';*/
    position: absolute;
    inset: 0; /* top/right/bottom/left: 0 */
    
    /* Mélange AUTO votre --c-accent avec transparence */
    background: color-mix(in srgb, var(--c-accent) 65%, transparent);
    
    opacity: 1;
    transition: opacity 0.3s ease;
    mix-blend-mode: multiply; /* Teinte l'image grise */
    pointer-events: none;
}

.resto-thumb:hover img {
    filter: grayscale(0);
}

.resto-thumb:hover::after {
    opacity: 0;
}


/* ========================================
   7. AGENDA (programmation catégorie "agenda")
   ========================================
   Grille horizontale 3 colonnes : DATE | EVENT | STATUS
*/



.page-header {
  padding: 80px 50px 40px;
  border-bottom: 1px solid var(--c-border);
}

.page-header h1 {
  font-family: var(--f-title);
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -2px;
}

.subtitle {
  font-size: 1.2rem;
  letter-spacing: 3px;
  opacity: 0.8;
  font-family: var(--f-mono);
}

/* Labels en haut des colonnes */
.agenda-labels {
  display: grid;
  grid-template-columns: 150px 1fr 200px;
  padding: 20px 50px;
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--f-mono);
  font-weight: 700;
}

/* Ligne d'événement */
.event-row {
  display: grid;
  grid-template-columns: 150px 1fr 200px;
  border-bottom: 1px solid var(--c-border);
  transition: background 0.3s ease;
  align-items: center;
  padding: 0px 0px;
}

.event-row:hover {
  background: var(--c-hover-bg);
}

.event-row:hover .event-date {
  color: var(--c-accent);
  border-color: var(--c-accent);
}


/* Colonne DATE */
.event-date {
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
    height: 100%;
  transition: all 0.3s ease;
}

.event-date:hover {
  color: var(--c-accent);
  border-right-color: var(--c-accent);
}

.day {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.8;
}

.num {
  font-family: var(--f-title);
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 400;
}

  .event-date .day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
  }

  .event-date .num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    line-height: 1;
  }

/* Colonne EVENT */
.event-details {
  padding: 12px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-title {
  /*font-family: var(--f-title);*/
  font-size: clamp(2.5rem, 3.5vw, 3rem);
  line-height: 1;
  margin-bottom: 0px;
  text-transform: uppercase;
  letter-spacing: -1px;
  letter-spacing: 1px;
}

.event-title a {
  color: inherit;
  transition: color 0.3s ease;
}

.event-title a:hover {
  color: var(--c-accent);
}

.tags {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.tag {
  border: 1px solid #444;
  padding: 6px 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--f-mono);
}

.event-excerpt {
  font-size: 1rem;
  opacity: 0.7;
  line-height: 1.5;
}

/* tags agenda */
.event-tags {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.event-tags a {
  border: 1px solid #444;
  padding: 5px 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Colonne STATUS */
.event-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  position: relative;
}

.btn-ticket {
  background: transparent;
  border: 2px solid var(--c-text);
  color: var(--c-text);
  padding: 15px 30px;
  font-family: var(--f-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-ticket:hover {
  background: var(--c-accent);
  color: #000;
  border-color: var(--c-accent);
  box-shadow: 0 0 20px var(--c-accent);
  transform: translateY(-2px);
}

.btn-ticket.sold-out {
  opacity: 0.5;
  text-decoration: line-through;
  cursor: not-allowed;
  border-color: #444;
  color: #666;
}

.btn-ticket.sold-out:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}






/* AGENDA TEMPLATES */

.agenda-item {
  border: 2px solid red;
  padding: 10px
}

/* AGENDA ARCHIVE PAGE */
.agenda-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; padding: 2rem 0; }
.agenda-card { 
  border: 2px solid purple;
  padding: 10px;
  border-radius: 12px; 
  overflow: hidden;
   box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
   transition: transform 0.3s;
}
.agenda-card:hover { transform: translateY(-5px); }
.agenda-thumb { position: relative; height: 200px; overflow: hidden; }
.agenda-thumb img { width: 100%; height: 100%; object-fit: cover; }
.date-badge { position: absolute; top: 1rem; right: 1rem; background: var(--primary-color); color: white; padding: 0.5rem 1rem; border-radius: 20px; font-weight: bold; }

.event-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; }
.cta-primary { display: block; background: var(--primary-color); color: white; padding: 1rem 2rem; text-align: center; font-size: 1.2rem; border-radius: 50px; text-decoration: none; }

@media (max-width: 768px) { .agenda-grid { grid-template-columns: 1fr; } }






/* ----- agenda section ----- */
/* AGENDA SINGLE PAGE */






/* main */
.agenda-single-content {
  position: relative;
}

/* agenda : header */
.agenda-header {
  position: relative;
}

/* tags */
.agenda-header .tag-list {
    display: flex;
    gap: 10px;
    margin-top: -30px;
    /* border: 1px solid red; */
    padding: 10px;
}

/* organisateur */
.agenda-meta-top {
    padding: 0 10px 10px;
}

.organizer {
    /*color: var(--c-accent);*/
    border: 1px solid #444;
    padding: 5px 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* date */
.agenda-meta-date {
    border-top: 1px solid #222;
    padding: 3px 10px 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.agenda-meta-date span.icon {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1.4rem;
        font-weight: bold;
}

.agenda-meta-date span {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1.8rem;
        font-weight: bold;
}

/* lieu */
.agenda-meta-lieu {
    border-top: 1px solid #222;
    padding: 3px 10px 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.agenda-meta-lieu span.icon {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1.4rem;
        font-weight: bold;
}

.agenda-meta-lieu span {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1.8rem;
        font-weight: bold;
}

/* prix */
.agenda-meta-prix {
    border-top: 1px solid #222;
    padding: 3px 10px 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.agenda-meta-prix span.icon {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1.4rem;
        font-weight: bold;
}

.agenda-meta-lieu span {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1.8rem;
        font-weight: bold;
}

/* prix bouton */
.event-prix {
color: var(--c-accent);
  padding: 2px 11px;
  border-radius: 20px;
  position: absolute;
  top: 17px;
  right: 22px;
  border: 1px solid var(--c-accent);
  background: var(--c-background);
}

.event-prix-inrender{
  color: var(--c-text);
  padding: 2px 11px;
  border-radius: 20px;
  position: absolute;
  top: 17px;
  left: -54px;
  left: -75px;
  border: 1px solid var(--c-text);
  background: var(--c-background);
  font-size: 0.7em;
  z-index: 1;
}

/* agenda : section */
.agenda-section {
  display: flex;
    
    background: var(--c-background);
    color: var(--c-text);
    flex-direction: row;
    align-items: flex-start;

    /* border: 1px solid red; */

    gap: 30px;
    max-width: 1010px;
    margin: 15px auto 20px;
    /*border-right: 1px solid #222;
    border-left: 1px solid #222;*/
}



/* image */
.agenda-section .hero-image {
    position: sticky;
    top: var(--h-navbar);
    flex: 0 0 40%;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* content : section */
.event-content {
  position: relative;
}

.event-content > p {
    padding: 20px 40px;
    max-width: 800px;
    margin: 0 auto;
  border-top: 1px solid #222;
}

.event-content > h3 {
    padding: 20px 40px;
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #222;
}

.cta-section {
    position: sticky;
    bottom: 20px;
    margin: 0px;
}

.cta-section a {
    display: block;
    background: var(--c-background);
    color: white;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.2rem;
    border-radius: 0px; 
    text-decoration: none;
    /* margin: 10px; */
    border: 1px solid var(--c-accent);
}

/* recap : section */
.agenda-bottom-section {
  position: relative;
    border-top: 1px solid #222;
    margin-top: 10px;
    border-bottom: 1px solid #222;
}

.agenda-bottom-section h3 {
    padding: 10px;
}



@media (max-width: 700px) {
    .agenda-header {
      position:relative;
    }

    .agenda-section {
      flex-direction: column;
      gap: 00px;
    }

    .event-content {
        position: relative;
        background: var(--c-background);
        width: 100%;
    }

    .cta-section {
        bottom: 0px;
    }

    .agenda-bottom-section {
      position:relative;
    }
}

/* ------ EVENT MOBILE -------*/
@media (max-width: 900px) {
  
  .event-date {
    flex-direction: row;
    gap: 5px;
    border: 0px solid #222;
    padding: 0 7px;
    justify-content: flex-start;
    line-height: 20px;
  }

  .event-date .day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
  }

  .event-date .num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    line-height: 1;
  }

  
  .event-title {
    font-size: 2rem;
  }

  .event-details {
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

   .event-action {
    justify-content: flex-end;
    padding: 0px 5px 8px;
  }

  .event-row {
      grid-template-columns: 1fr;
      gap: 0;
      padding: 13px 15px 5px;
    }
  
  .block-agenda-see-allevents {
    margin-top: 12px;
  }

}








/* RESTAURANTS FOOD */
.restaurants-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.restaurant-card { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.prix-badge { background: #28a745; color: white; padding: 0.25rem 0.75rem; border-radius: 20px; font-weight: bold; }

.ratz-resto-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    padding: 20px 0;
    margin-right: -1px;
}

.resto-card {
    flex: 0 0 calc(25% - 0px);
    background: var(--c-background);
    color: var(--c-text);
    transition: transform 0.2s ease;

    border: 0px;
    border-right: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.resto-lot {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--c-background);
    border: 1px solid var(--c-text);
    color: var(--c-text);
    /* color: #000; */
    font-family: var(--f-title);
    padding: 2px 8px;
    font-size: 14px;
    text-transform: uppercase;
    width: fit-content;
}

.resto-thumb {
    position: relative;
    aspect-ratio: 3 / 3.2;
    overflow: hidden;
    background: #222;
}

.resto-infos {
    padding: 15px 15px 10px;
}

.resto-title {
    margin: 0;
    font-size: 2.2rem;
    line-height: 2rem;
    text-transform: uppercase;
    font-family: 'Bebas Neue', sans-serif;
}

.resto-food {
    color: var(--c-accent);
    margin: 5px 0 5px;
}

.brutal-btn-mini {
    display: block;
    text-align: center;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    padding: 8px;
    transition: background 0.2s;
}

.brutal-btn-mini:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 600px) {
    .resto-card {
        flex: 0 0 calc(50% - 10px);
    }
}



/* ========================================
   RATZ SECTION HORAIRE
   ========================================
   Grille 3 colonnes : brand | links | privatisation
*/

.ratz-info-section {
    padding: 60px 0 0px;
    background: var(--c-background); 
    color: var(--c-text);

    border-top: 0px solid #000; 
}

.ratz-info-grid {
    gap: 0px; 
}

.ratz-title-large {
    font-size: 6rem;
    line-height: 0.9;
    margin: 0 60px 30px 0;
    text-transform: uppercase;
}

.ratz-description {
    font-size: 1.2rem;
    line-height: 1.2;
    max-width: 450px;
    opacity: 1;
    padding: 0 60px 0 0;
    color: var(--c-text);
}

.ratz-description strong {
    color: var(--c-accent);
    font-weight: 300;
}

.ratz-info-section .info-left {
    padding: 80px 50px 80px 20px;
    border-right: 0px;
}

.ratz-info-section .info-right {
    padding: 10px 10px;
    border-left: 1px solid var(--c-border);
    height: 100%;
}

.hours-list li {
    align-items: center;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--c-border);
    font-size: 1rem;
    padding: 2px 10px;
}


@media (max-width: 800px) {

  /* container principal section horaire adresse */
  .ratz-info-section {
    max-width: 100%;
    overflow: hidden;
  }

  .ratz-info-grid {
      width: calc(100% - 0px);
  }

  .ratz-info-section .info-left {
      padding: 10px;
      width: calc(100% - 36px);
  }

  .ratz-title-large {
    font-size: clamp(3rem, 1.5rem + 2vw, 6rem);
    width: 100%;
    padding: 10px;
    max-width: 80%;
  }

  .ratz-description {
      padding: 10px;
  }

  .ratz-description {
      padding: 10px;
      max-width: 85%;
  }

  .ratz-info-section .info-left {
      padding: 10px;
      width: calc(100% - 0px);
  }

  /* colonne droite */
  .ratz-info-section .info-right {
      width: 100%;
  }

  .hours-list {
    width: 100%;
  }

  .hours-list li {
    width: 100%;
  }

}




/* ========================================
   Floating Order Button + Slide Panel
======================================== */

/* ========================================
   Floating Order Button + Circular Text
======================================== */

.ratz-order-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    pointer-events: auto;
}

.ratz-order-btn {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--c-accent);
    background: var(--c-background);
    color: var(--c-accent);
    cursor: pointer;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ratz-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    background: #000;
}

/* SVG circulaire */
.ratz-order-svg {
    position: absolute;
    width: 150px;
    height: 150px;
    transform-origin: center center;
    pointer-events: none;
}

.ratz-order-circle-text {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    fill: var(--c-accent);
    font-family: var(--f-mono);
}

/* Icône centrale */
.ratz-order-icon {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--c-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    z-index: 1;
}

.ratz-order-icon svg {
    width: 78px;
    height: 78px;
    fill: currentColor;
}

/* Panel iframe slide in */
.ratz-order-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1300;
    display: flex;
    justify-content: flex-end;
}

.ratz-order-panel.is-open {
    transform: translateX(0);
}

.ratz-order-panel-inner {
    background: #050505;
    border-left: 1px solid var(--c-border);
    border-left: 1px solid var(--c-accent);
    width: 100%;
    max-width: 420px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ratz-order-close {
    position: absolute;
    top: 14px;
    right: 54px;
    border: 1px solid var(--c-accent);
    background: transparent;
    color: var(--c-accent);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ratz-order-close:hover {
    background: var(--c-accent);
    color: #000;
}

.ratz-order-iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 600px) {
    .ratz-order-fab {
        left: 15px;
        bottom: 15px;
    }
    
    .ratz-order-btn {
        width: 140px;
        height: 140px;
    }
    
  .ratz-order-icon {
      width: 100px;
      height: 100px;
  }

    .ratz-order-svg {
        width: 124px;
        height: 124px;
    }
   
    .ratz-order-icon svg {
    width: 42px;
    height: 42px;
}

    .ratz-order-circle-text {
        font-size: 16px;
        letter-spacing: 3px;
    }
}






/* ========================================
   MAP PART SECTION
   ========================================
   afficher une carte
*/
/* ========================================
   RATZ LOCATION CARD
======================================== */

/* ========================================
   RATZ LOCATION BLACK 60vh
======================================== */

.ratz-location-section {
    position: relative;
    max-width: 100%;
    margin: 60px 0;
    border: 1px solid var(--c-border);
    overflow: hidden;
}

.ratz-map-black {
    width: 100%;
    height: 60vh;
    min-height: 300px;
    position: relative;
}

/* CARTE BLACK ULTRA-STYLISÉE */
/* CARTE BLACK mais RUES VISIBLES */
#ratz-map .leaflet-tile-container {
    filter: 
   /*brightness(0.6) */
       /* contrast(1.4) */
        grayscale(0.3) 
        /*sepia(0.2);*/
}

/* Amélioration des contrastes rues */
/*#ratz-map img {
    filter: brightness(1.1) contrast(1.3);
}*/

/* Contrôles toujours minimal */
#ratz-map .leaflet-control-container {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#ratz-map:hover .leaflet-control-container {
    opacity: 1;
}


#ratz-map .leaflet-control-zoom {
    background: rgba(0,0,0,0.9) !important;
    border: 1px solid var(--c-accent) !important;
    backdrop-filter: blur(20px);
}

/* Footer infos */
.ratz-location-footer {
    background: var(--c-background);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--c-accent);
}

/* Logo RATZ */
.ratz-logo-footer {
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    margin-bottom: 25px;
    position: relative;
}

.ratz-text-footer {
    font-family: var(--f-ratz);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 400;
    line-height: 0.85;
    color: var(--c-accent);
    letter-spacing: -2px;
    text-transform: uppercase;
    /*text-shadow: 
        0 0 20px rgba(204,255,0,0.7),
        0 0 40px rgba(204,255,0,0.4);*/
}

.ratz-dot-footer {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 0.3rem;
    animation: ratz-pulse 2s ease-in-out infinite;
}

@keyframes ratz-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Infos */
.ratz-info-block {
    margin-bottom: 40px;
}

.ratz-location-title {
    font-family: var(--f-title);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--c-accent);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ratz-address {
    font-family: var(--f-mono);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
    color: var(--c-text);
    margin: 0;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Boutons */
.ratz-actions-footer {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ratz-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: 2px solid var(--c-accent);
    background: transparent;
    color: var(--c-accent);
    font-family: var(--f-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: clamp(0.85rem, 2vw, 1rem);
}

.ratz-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--c-accent);
    z-index: -1;
    transition: left 0.3s ease;
}

.ratz-btn:hover::before {
    left: 0;
}

.ratz-btn:hover {
    color: #000 !important;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .ratz-location-footer {
        padding: 40px 25px;
    }
    
    .ratz-actions-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .ratz-map-black {
        cursor: grab;
    }
}








/* ========================================
   8. FOOTER BRUTALISTE
   ========================================
   Grille 3 colonnes : brand | links | privatisation
*/


.footer-brut {
  margin-top: 0px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  border-bottom: 1px solid var(--c-border);
}

.f-col {
  padding: 70px 50px;
  border-right: 1px solid var(--c-border);
}

.f-col:last-child {
  border-right: none;
}

.brand h3 {
  font-family: var(--f-title);
  font-size: 3.5rem;
  line-height: 0.95;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.links h4,
.privat h4 {
  color: var(--c-accent);
  margin-bottom: 25px;
  font-size: 1.3rem;
  font-family: var(--f-mono);
  letter-spacing: 1px;
}

.links ul {
  line-height: 2.2;
}

.links li {
  margin-bottom: 12px;
}

.links a {
  transition: all 0.3s ease;
}

.links a:hover {
  color: var(--c-accent);
  padding-left: 12px;
}

.privat {
  background: #080808;
}

.privat p {
  margin-bottom: 30px;
  opacity: 0.8;
  line-height: 1.6;
}

.btn-privat {
  display: block;
  width: 100%;
  text-align: center;
  padding: 20px;
  background: var(--c-accent);
  color: #000;
  font-weight: 700;
  font-family: var(--f-mono);
  font-size: 1.1rem;
  border: 2px solid var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-privat:hover {
  background: transparent;
  color: var(--c-accent);
}

.footer-bottom {
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.6;
  font-family: var(--f-mono);
}

.socials {
  display: flex;
  gap: 25px;
}

.socials a {
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.socials a:hover {
  color: var(--c-accent) !important;
  transform: scale(1.2);
}


@media (max-width: 900px) {
  .footer-bottom {
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.6;
    font-family: var(--f-mono);
    flex-direction: column;
    gap: 10px;
  }

  .footer-grid {
        grid-template-columns: 1fr;
        padding: 30px 0;
        gap: 15px;
    }

  .f-col {
    padding: 10px 27px;
    border-right: 1px solid var(--c-border);
}

}


/* ========================================
   9. WORDPRESS SPECIFIQUE
   ========================================
   Classes pour intégration WP
*/
.site-main {
  margin-top: 0; /* Navbar sticky */
}

/* Pagination WP */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.pagination {
  display: flex;
  gap: 10px;
  list-style: none;
}

.pagination a,
.pagination span {
  padding: 12px 20px;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: var(--c-accent);
  color: #000;
  border-color: var(--c-accent);
}

/* ========================================
   10. ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ========================================
   11. RESPONSIVE (mobile-first)
   ========================================
   Adaptations tablettes / mobiles
*/


@media (max-width: 900px) {

  
  /* Grilles → 1 colonne */
  .footer-grid,
  .brutal-grid,
  .market-grid-container {
    grid-template-columns: 1fr;
  }
  

  
  /* Agenda mobile : empiler les colonnes */
  .agenda-labels {
    display: none; /* Cache les labels sur mobile */
  }
   
  
  .navbar {
    padding: 10px;
    gap: 5px;
  }
  
  .nav-right {
    gap: 15px;
    width: 100%;
    justify-content: flex-end;
  }

  .nav-links {
      gap: 12px;
  }

  .theme-switcher {
    padding: 1px;
    position: absolute;
    top: 50px; 
    right: 10px;
  }
}

/* ========================================
   11. ADRESSE BLOC RECAP
   ======================================== */



.info-card {
  border: 2px solid red;
  padding: 10px;
}




/* ========================================
   11bis. MENU CARDS BEFORE FOOTER
   ======================================== */

.section-cards-menu-footer {
    padding:0px; 
}

.ratz-cards-grid-footer{
    display: flex;
    justify-content: space-around;
    padding:0px; 
}

.ratz-card-item-footer {
    border-top: 1px solid var(--c-accent);
    border-right: 1px solid var(--c-accent);
    border-bottom: 1px solid var(--c-accent);
    padding: 0px;
    display: flex;
    width: 40%;
    height: 200px;
    align-items: flex-end;
}

/*
.ratz-cards-grid-footer .ratz-card-item-footer:first-child {
    border-left:1px solid red;
    margin-right: 1px;
}*/

.ratz-cards-grid-footer .ratz-card-item-footer:last-child {
    border-right:1px solid transparent;
}

.ratz-card-item-footer a {
    background: var(--c-background);
    height: 100%;
    width: 100%;
    padding: 10px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    transition: all 1s ease;
}

.ratz-card-item-footer a:hover {
    color: var(--c-background);
    background: var(--c-accent);
    transition: all 0.3s ease;
}

.ratz-card-arrow {padding:0 5px}

/* ========================================
   12. PRINT & ACCESSIBILITÉ
   ======================================== */
@media print {
  .navbar,
  .noise-overlay,
  .theme-switcher {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Focus visible pour clavier */
*:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}


/* ========================================
   MENUS FOOTER (nouveau)
   ======================================== */
.links-menu,
.social-menu {
  list-style: none;
  line-height: 2.2;
}

.links-menu li {
  margin-bottom: 12px;
}

.links-menu a {
  color: var(--c-text);
  font-family: var(--f-mono);
  transition: all 0.3s ease;
  display: block;
}

.links-menu a:hover {
  color: var(--c-accent);
  padding-left: 12px;
}


/* ----- social icons ------*/
.social-icons {
  display: flex;
  gap: 25px;
  margin-top: 20px;
  list-style-type: none;
}

.social-icons a {
  font-size: 1.5rem;
  color: var(--c-text);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  opacity: 1;
  color: var(--c-accent);
  transform: scale(1.2);
}

/* ------ animation coeurs ------ */
/* --- CONFIGURATION DES COEURS --- */
:root {
    --heart-color: #E1306C; /* Rose Insta officiel */
    --heart-color: var(--c-accent);
    --heart-size: 20px;
}

/* On s'assure que le menu-item peut contenir les coeurs sans les couper au départ */
#menu-item-172 {
    position: relative !important;
    display: inline-block;
    list-style: none;
}

#menu-item-172 a {
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 2;
}

/* Style de l'icône SVG animée */
.floating-heart {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: var(--heart-size);
    height: var(--heart-size);
    fill: var(--heart-color);
    pointer-events: none; 
    z-index: 1;
    opacity: 0;
    animation: floatUpInstagram 2s ease-out forwards; /* vitesse animation (1.5s) */
}

@keyframes floatUpInstagram {
    0% {
        transform: translate(-50%, 0) scale(0.3) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -10px) scale(1.1) rotate(var(--random-rot));
    }
    100% {
        transform: translate(var(--random-x), -100px) scale(0.7) rotate(var(--random-rot));
        opacity: 0;
    }
}

/* ------ social footer ------ */
.social-footer {
  margin-top: 30px;
}

.footer-credits {
  opacity: 0.6;
  font-size: 0.85rem;
}
