/*
Theme Name: Hello Elementor Child — LUXURY SHOP
Theme URI: https://artofdoing.net
Description: Child theme Hello Elementor pour la boutique LUXURY SHOP (sacoches & maroquinerie pour homme, COD Algérie). Palette bleu marine + or, titres Playfair Display, corps Montserrat, animations au scroll. Pas de panier, boutons « Commander ».
Author: Art Of Doing
Template: hello-elementor
Version: 3.0.0
Text Domain: hello-elementor-child
*/

:root {
  --fnac-yellow: #C1A265;      /* or principal (accent, boutons, soulignés) */
  --fnac-yellow-600: #A8894B;  /* or foncé (hover) */
  --fnac-gold-light: #D8C38C;  /* or clair (surlignage sur fond sombre) */
  --fnac-ink: #16203A;         /* bleu marine — titres / texte fort */
  --fnac-navy-900: #0F1728;    /* marine très foncé (sections sombres) */
  --fnac-body: #5B6172;        /* texte courant (ardoise) */
  --fnac-white: #FFFFFF;
  --fnac-cream: #F7F3EA;       /* fond de section alterné (ivoire chaud) */
  --fnac-line: #E7E0D0;        /* bordures douces */
  --fnac-shadow: 0 18px 50px rgba(15,20,35,.12);
}

/* ============================ BASE ============================ */
body {
  font-family: "Montserrat", sans-serif;
  color: var(--fnac-body);
  background: var(--fnac-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: "Playfair Display", "Montserrat", serif;
  color: var(--fnac-ink);
  letter-spacing: -0.01em;
}
html { scroll-behavior: smooth; }
::selection { background: var(--fnac-yellow); color: #14140F; }
::-moz-selection { background: var(--fnac-yellow); color: #14140F; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .elementor-button:focus-visible {
  outline: 2px solid var(--fnac-yellow); outline-offset: 2px;
}
@media (min-width: 768px) {
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: #EEE9DD; }
  ::-webkit-scrollbar-thumb { background: #D8CDB2; border-radius: 10px; border: 2px solid #EEE9DD; }
  ::-webkit-scrollbar-thumb:hover { background: var(--fnac-yellow); }
}

/* ============================ HEADER ============================ */
#site-header.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 999;
  background: linear-gradient(120deg, #16203A 0%, #1E2A48 28%, #141D33 52%, #22335F 78%, #16203A 100%);
  background-size: 320% 320%;
  border-bottom: none;
  transition: box-shadow .35s ease, padding .35s ease;
  animation: fnacHeaderIn .7s cubic-bezier(.22,.61,.36,1) both, fnacHeaderGradient 16s ease-in-out infinite;
}
/* Lueur dorée qui traverse le header (couleur + mouvement) */
#site-header.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 220% at 12% 0%, rgba(193,162,101,.30), rgba(193,162,101,0) 60%);
  animation: fnacHeaderGlow 10s ease-in-out infinite alternate;
}
@keyframes fnacHeaderGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fnacHeaderGlow {
  0%   { transform: translateX(-14%); opacity: .6; }
  100% { transform: translateX(48%);  opacity: 1; }
}
/* Ligne dorée animée en bas du header */
#site-header.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(193,162,101,0), var(--fnac-yellow), var(--fnac-gold-light), var(--fnac-yellow), rgba(193,162,101,0));
  background-size: 220% 100%;
  animation: fnacLineFlow 7s linear infinite;
}
@keyframes fnacHeaderDrift { from { background-position-x: 0; } to { background-position-x: 340px; } }
@keyframes fnacLineFlow { from { background-position: 0% 0; } to { background-position: 220% 0; } }
@media (prefers-reduced-motion: reduce) {
  #site-header.site-header,
  #site-header.site-header::before,
  #site-header.site-header::after { animation: none; }
}

#site-header.site-header .header-inner { position: relative; z-index: 2; padding-top: 14px; padding-bottom: 14px; transition: padding .35s ease; }
#site-header.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(10,15,30,.35); }
#site-header.site-header.is-scrolled .header-inner { padding-top: 8px; padding-bottom: 8px; }
#site-header .site-logo img.custom-logo { height: 52px; width: auto; transition: height .35s ease; }
#site-header.is-scrolled .site-logo img.custom-logo { height: 42px; }
#site-header .custom-logo-link { display: inline-block; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
#site-header .custom-logo-link:hover { transform: scale(1.05) rotate(-1.5deg); }
#site-header .site-description { color: rgba(240,235,222,.6); font-size: 12px; margin: 2px 0 0; }

#site-header .site-navigation ul.menu { gap: 6px; align-items: center; }
#site-header .site-navigation ul.menu > li { margin: 0 10px; animation: fnacNavIn .55s cubic-bezier(.22,.61,.36,1) both; }
#site-header .site-navigation ul.menu > li:nth-child(1){animation-delay:.25s}
#site-header .site-navigation ul.menu > li:nth-child(2){animation-delay:.35s}
#site-header .site-navigation ul.menu > li:nth-child(3){animation-delay:.45s}
#site-header .site-navigation ul.menu > li:nth-child(4){animation-delay:.55s}
#site-header .site-navigation ul.menu > li > a {
  color: #EDE7D8; font-weight: 600; font-size: 13.5px; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 8px 2px; position: relative; transition: color .25s ease;
}
#site-header .site-navigation ul.menu > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px;
  background: var(--fnac-yellow); border-radius: 2px; transform: translateX(-50%);
  transition: width .3s cubic-bezier(.22,.61,.36,1);
}
#site-header .site-navigation ul.menu > li > a:hover { color: var(--fnac-gold-light); }
#site-header .site-navigation ul.menu > li > a:hover::after,
#site-header .site-navigation ul.menu > li.current-menu-item > a::after { width: 100%; }
#site-header .site-navigation ul.menu > li.current-menu-item > a { color: var(--fnac-gold-light); }

/* Switcher FR/AR */
.aod-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(216,195,140,.35); border-radius: 100px; background: rgba(255,255,255,.06); }
.aod-lang__btn { display: inline-block; padding: 5px 13px; border-radius: 100px; color: rgba(237,231,216,.7); font-weight: 700; font-size: 13px; line-height: 1; text-decoration: none; transition: background .25s ease, color .25s ease; }
.aod-lang__btn:hover { color: #fff; }
.aod-lang__btn.is-active { background: var(--fnac-yellow); color: #16203A; }

/* ============================ HEADER + MENU MOBILE ============================ */
@media (max-width: 1024px) {
  /* Barre : padding équilibré, logo lisible */
  #site-header.site-header .header-inner { padding: 12px 18px !important; }
  #site-header .site-logo img.custom-logo { height: 42px; }
  #site-header.is-scrolled .site-logo img.custom-logo { height: 36px; }

  /* --- Bouton hamburger : icône 3 traits DORÉE, nette (on reconstruit tout) --- */
  #site-header .site-navigation-toggle {
    background: transparent !important; border: none !important; box-shadow: none !important;
    width: 46px; height: 46px; padding: 0 !important; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px; transition: background .2s ease;
  }
  #site-header .site-navigation-toggle:hover,
  #site-header .site-navigation-toggle:focus { background: rgba(216,195,140,.16) !important; outline: none; }
  #site-header .site-navigation-toggle-icon {
    position: relative; display: block; width: 26px; height: 2.5px;
    background: var(--fnac-gold-light) !important; border-radius: 3px;
    transition: background .2s ease, transform .3s ease;
  }
  #site-header .site-navigation-toggle-icon::before,
  #site-header .site-navigation-toggle-icon::after {
    content: ""; position: absolute; left: 0; width: 26px; height: 2.5px;
    background: var(--fnac-gold-light) !important; border-radius: 3px;
    transition: transform .3s ease, top .3s ease;
  }
  #site-header .site-navigation-toggle-icon::before { top: -8px; }
  #site-header .site-navigation-toggle-icon::after  { top: 8px; }
  /* Animation croix quand le menu est ouvert */
  #site-header .site-navigation-toggle[aria-expanded="true"] .site-navigation-toggle-icon { background: transparent !important; }
  #site-header .site-navigation-toggle[aria-expanded="true"] .site-navigation-toggle-icon::before { top: 0; transform: rotate(45deg); }
  #site-header .site-navigation-toggle[aria-expanded="true"] .site-navigation-toggle-icon::after  { top: 0; transform: rotate(-45deg); }

  /* --- Panneau du menu déroulant : marine PLEIN & opaque --- */
  #site-header .site-navigation-dropdown,
  nav.site-navigation-dropdown,
  .site-navigation-dropdown ul.menu,
  .site-navigation-dropdown ul.menu > li,
  .site-navigation-dropdown ul.sub-menu {
    background-color: #16203A !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  #site-header .site-navigation-dropdown,
  nav.site-navigation-dropdown {
    border-top: 2px solid var(--fnac-yellow) !important;
    box-shadow: 0 24px 50px rgba(0,0,0,.45) !important;
    padding: 6px 0 14px !important;
  }
  .site-navigation-dropdown ul.menu { margin: 0 !important; padding: 0 !important; }
  .site-navigation-dropdown ul.menu > li { margin: 0 !important; padding: 0 !important; border: none !important; }
  .site-navigation-dropdown ul.menu > li > a {
    color: #EDE7D8 !important; background: transparent !important;
    font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 15.5px !important;
    text-transform: uppercase; letter-spacing: 1.2px;
    padding: 16px 26px !important; display: block;
    border-bottom: 1px solid rgba(216,195,140,.12) !important;
    transition: color .2s ease, background .2s ease, padding-inline-start .2s ease;
  }
  .site-navigation-dropdown ul.menu > li > a:hover,
  .site-navigation-dropdown ul.menu > li.current-menu-item > a {
    color: #16203A !important; background: var(--fnac-gold-light) !important; padding-inline-start: 34px !important;
  }
  /* Switcher FR/AR dans le menu mobile */
  .site-navigation-dropdown .menu-item-aod-lang { padding: 16px 26px 6px !important; border: none !important; }
  .site-navigation-dropdown .aod-lang { border-color: rgba(216,195,140,.4) !important; background: rgba(255,255,255,.05) !important; }
  .site-navigation-dropdown .aod-lang__btn { color: rgba(237,231,216,.85) !important; }
  .site-navigation-dropdown .aod-lang__btn.is-active { background: var(--fnac-yellow) !important; color: #16203A !important; }
}

@keyframes fnacHeaderIn { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes fnacNavIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ============================ BOUTONS ============================ */
.elementor-button, .fnac-btn {
  font-family: "Montserrat", sans-serif; font-weight: 700; letter-spacing: .4px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  position: relative; overflow: hidden;
}
.elementor-button:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(168,137,75,.35); }
.elementor-button::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.elementor-button:hover::before { left: 130%; }

/* ============================ SCROLL REVEAL (fadeInUp) ============================ */
.fnac-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  transition-delay: var(--fnac-delay, 0ms); will-change: opacity, transform;
}
.fnac-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fnac-reveal { opacity: 1 !important; transform: none !important; } }

/* ---- SCÈNES : chaque section apparaît d'une façon différente au scroll ---- */
.elementor-element-serv0001, .elementor-element-steps001 { overflow: hidden; }

.elementor-element-stats001  .fnac-reveal:not(.is-visible) { transform: scale(.82); }                 /* zoom / pop */
.elementor-element-serv0001  .fnac-reveal:not(.is-visible) { transform: translateX(-64px); }          /* glisse depuis la gauche */
.elementor-element-steps001  .fnac-reveal:not(.is-visible) { transform: translateX(64px); }           /* glisse depuis la droite */
.elementor-element-reass001  .fnac-reveal:not(.is-visible) { transform: translateY(56px) scale(.94); }/* monte + zoom */
.elementor-element-cta00001  .fnac-reveal:not(.is-visible) { transform: scale(.86); }                 /* zoom */
.elementor-element-ctbody01  .fnac-reveal:not(.is-visible) { transform: translateY(52px) scale(.96); }/* contact : monte + zoom */

/* RTL : on inverse le sens des glissements horizontaux */
body.rtl .elementor-element-serv0001 .fnac-reveal:not(.is-visible) { transform: translateX(64px); }
body.rtl .elementor-element-steps001 .fnac-reveal:not(.is-visible) { transform: translateX(-64px); }

/* ---- TRANSITIONS ENTRE PAGES : une animation DIFFÉRENTE par section ---- */
.fnac-page { position: relative; }
.elementor-element-cthero01 { overflow: hidden; }
.fnac-page::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: linear-gradient(120deg, #C1A265 0%, #D8C38C 55%, #EBDFC0 100%);
  transform: scaleY(1); transform-origin: top;
  transition: transform .85s cubic-bezier(.76, 0, .24, 1),
              clip-path .85s cubic-bezier(.76, 0, .24, 1),
              opacity .6s ease;
}
.fnac-page.fnac-page-in::after { transform: scaleY(0); }

/* 1) Compteurs — rideau DORÉ depuis le HAUT (défaut ci-dessus) */

/* 2) Univers — balayage MARINE depuis la GAUCHE */
.elementor-element-serv0001.fnac-page::after { background: linear-gradient(120deg,#16203A,#22335F); transform-origin: left; transform: scaleX(1); }
.elementor-element-serv0001.fnac-page.fnac-page-in::after { transform: scaleX(0); }

/* 3) Étapes — balayage CLAIR depuis la DROITE */
.elementor-element-steps001.fnac-page::after { background: linear-gradient(120deg,#FFFFFF,#F1EADB); transform-origin: right; transform: scaleX(1); }
.elementor-element-steps001.fnac-page.fnac-page-in::after { transform: scaleX(0); }

/* 4) Pourquoi — rideau DORÉ qui MONTE (depuis le bas) */
.elementor-element-reass001.fnac-page::after { transform-origin: bottom; transform: scaleY(1); }
.elementor-element-reass001.fnac-page.fnac-page-in::after { transform: scaleY(0); }

/* 5) CTA — révélation en CERCLE (iris) marine */
.elementor-element-cta00001.fnac-page::after { background: linear-gradient(120deg,#16203A,#22335F); transform: none; clip-path: circle(150% at 50% 50%); }
.elementor-element-cta00001.fnac-page.fnac-page-in::after { transform: none; clip-path: circle(0% at 50% 50%); }

/* Contact — héro : fondu + zoom / corps : fondu clair */
.elementor-element-cthero01.fnac-page::after { transform: scale(1); opacity: 1; }
.elementor-element-cthero01.fnac-page.fnac-page-in::after { transform: scale(1.15); opacity: 0; }
.elementor-element-ctbody01.fnac-page::after { background: linear-gradient(120deg,#FFFFFF,#F1EADB); transform: none; opacity: 1; }
.elementor-element-ctbody01.fnac-page.fnac-page-in::after { transform: none; opacity: 0; }

@media (prefers-reduced-motion: reduce) { .fnac-page::after { display: none; } }

/* ---- PLEIN ÉCRAN : chaque section = une page (full-page) sur grand écran ---- */
@media (min-width: 1025px) and (min-height: 640px) {
  html { scroll-snap-type: y proximity; scroll-padding-top: 0; }
  .elementor-element-hero001,
  .elementor-element-stats001,
  .elementor-element-serv0001,
  .elementor-element-steps001,
  .elementor-element-reass001,
  .elementor-element-cta00001 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .elementor-element-hero001  > .elementor-container,
  .elementor-element-stats001 > .elementor-container,
  .elementor-element-serv0001 > .elementor-container,
  .elementor-element-steps001 > .elementor-container,
  .elementor-element-reass001 > .elementor-container,
  .elementor-element-cta00001 > .elementor-container { width: 100%; }
}

/* Indicateur de scroll (souris) */
.fnac-scroll-ind { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; transition: opacity .4s ease, transform .4s ease; }
.fnac-scroll-ind.is-hidden { opacity: 0; transform: translateX(-50%) translateY(10px); pointer-events: none; }
.fnac-scroll-ind__mouse { display: block; width: 26px; height: 42px; border: 2px solid rgba(22,32,58,.4); border-radius: 100px; position: relative; }
.fnac-scroll-ind__wheel { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--fnac-yellow-600); border-radius: 100px; animation: scrollWheel 1.5s cubic-bezier(.15,.41,.69,.94) infinite; }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(15px); } }

/* Héro : léger zoom lent au chargement */
.elementor-element-hero001 > .elementor-container { animation: heroZoomOut 8s ease-out forwards; }
@keyframes heroZoomOut { 0% { transform: scale(1.04); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .elementor-element-hero001 > .elementor-container { animation: none; }
  .fnac-scroll-ind { display: none; }
}

/* Héro (1re section) : FOND ANIMÉ — le motif défile lentement + halo qui respire */
.elementor-element-hero001 {
  position: relative; overflow: hidden;
  animation: fnacBgDrift 50s linear infinite;
}
@keyframes fnacBgDrift {
  from { background-position: 0 0; }
  to   { background-position: 480px 240px; }
}
.elementor-element-hero001::before {
  content: ""; position: absolute; top: -25%; right: -10%; width: 55vw; height: 55vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(193,162,101,.22) 0%, rgba(193,162,101,0) 62%);
  pointer-events: none; z-index: 0;
  animation: fnacGlow 9s ease-in-out infinite alternate;
}
@keyframes fnacGlow {
  0%   { transform: translate(0, 0) scale(1); opacity: .85; }
  100% { transform: translate(-5%, 6%) scale(1.15); opacity: 1; }
}
body.rtl .elementor-element-hero001::before { right: auto; left: -10%; }
@media (prefers-reduced-motion: reduce) {
  .elementor-element-hero001 { animation: none; }
  .elementor-element-hero001::before { animation: none; }
}

/* ============================ COMPTEURS (bandeau stats) ============================ */
.elementor-element-stats001 {
  position: relative; overflow: hidden;
  background: #0F1728 !important;
}
.elementor-element-stats001::before {
  content: ""; position: absolute; inset: -3%; z-index: 0;
  background:
    linear-gradient(180deg, rgba(11,17,32,.62) 0%, rgba(11,17,32,.80) 100%),
    radial-gradient(70% 130% at 85% 8%, rgba(193,162,101,.20), rgba(193,162,101,0) 60%),
    url("assets/stats-bag.jpg") center/cover no-repeat;
  animation: fnacKenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes fnacKenBurns {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.16) translate(-2.5%, -1.5%); }
}
.elementor-element-stats001 > .elementor-container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .elementor-element-stats001::before { animation: none; } }
.elementor-element-stats001 .elementor-counter { text-align: center; position: relative; z-index: 1; }
.elementor-element-stats001 .elementor-counter-number-wrapper,
.elementor-element-stats001 .elementor-counter-number-wrapper * {
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 56px; line-height: 1;
  color: #FFFFFF !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.7), 0 6px 26px rgba(0,0,0,.55);
}
.elementor-element-stats001 .elementor-counter-title {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .3px;
  color: var(--fnac-gold-light) !important; margin-top: 10px; opacity: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.75);
}
@media (max-width: 767px) {
  .elementor-element-stats001 .elementor-counter-number-wrapper { font-size: 42px; }
  .elementor-element-stats001 .elementor-counter { margin-bottom: 22px; }
}

/* ============================ ÉTAPES (SIMPLE & SANS ENGAGEMENT) ============================ */
.elementor-element-steps001 {
  position: relative; background: #0F1728 !important;
  box-shadow: inset 0 1px 0 rgba(193,162,101,.35), inset 0 -1px 0 rgba(193,162,101,.35);
}
.elementor-element-steps001::before {
  content: ""; position: absolute; inset: -3%; z-index: 0;
  background:
    linear-gradient(115deg, rgba(9,13,24,.90) 0%, rgba(9,13,24,.66) 52%, rgba(9,13,24,.86) 100%),
    radial-gradient(50% 90% at 20% 12%, rgba(193,162,101,.22), rgba(193,162,101,0) 62%),
    url("assets/steps-photo.jpg") center/cover no-repeat;
  animation: fnacKenBurns 24s ease-in-out infinite alternate;
  will-change: transform;
}
.elementor-element-steps001 > .elementor-container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .elementor-element-steps001::before { animation: none; } }
.elementor-element-steps001 .elementor-heading-title { color: #FFFFFF !important; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.elementor-element-stepseye .elementor-heading-title { color: var(--fnac-gold-light) !important; }
.elementor-element-steps001 .elementor-icon-box-title,
.elementor-element-steps001 .elementor-icon-box-title a { color: #FFFFFF !important; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.elementor-element-steps001 .elementor-icon-box-description { color: #E6E3DA !important; text-shadow: 0 1px 4px rgba(0,0,0,.55); }

/* ============================ CTA FINAL (Prêt à commander…) ============================ */
.elementor-element-cta00001 {
  position: relative; overflow: hidden; background: #0F1728 !important;
  box-shadow: inset 0 1px 0 rgba(193,162,101,.35);
}
.elementor-element-cta00001::before {
  content: ""; position: absolute; inset: -3%; z-index: 0;
  background:
    linear-gradient(110deg, rgba(9,13,24,.92) 0%, rgba(9,13,24,.58) 58%, rgba(9,13,24,.30) 100%),
    radial-gradient(55% 120% at 88% 10%, rgba(193,162,101,.26), rgba(193,162,101,0) 60%),
    url("assets/cta-photo.jpg") center/cover no-repeat;
  animation: fnacKenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}
.elementor-element-cta00001 > .elementor-container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .elementor-element-cta00001::before { animation: none; } }
.elementor-element-cta00001 .elementor-heading-title { color: #FFFFFF !important; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.elementor-element-cta00001 .elementor-widget-text-editor,
.elementor-element-cta00001 .elementor-widget-text-editor * { color: #EAE7DE !important; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.elementor-element-cta00001 .elementor-button {
  background-color: var(--fnac-yellow) !important; color: #16203A !important;
  font-weight: 700; box-shadow: 0 14px 30px rgba(193,162,101,.35);
}
.elementor-element-cta00001 .elementor-button:hover { background-color: #FFFFFF !important; color: #16203A !important; }

/* ============================ VISUEL HÉRO (photo réelle) ============================ */
.fnac-hero-visual { position: relative; z-index: 1; }
.fnac-hero-visual::before {
  content: ""; position: absolute; z-index: -1; inset: -9% -11% -13% -9%;
  background:
    radial-gradient(58% 58% at 32% 30%, rgba(193,162,101,.42), rgba(193,162,101,0) 70%),
    radial-gradient(52% 52% at 82% 82%, rgba(22,32,58,.22), rgba(22,32,58,0) 72%);
  filter: blur(4px);
  border-radius: 42% 58% 55% 45% / 52% 44% 56% 48%;
  animation: fnacBlob 13s ease-in-out infinite alternate;
}
@keyframes fnacBlob {
  0%   { border-radius: 42% 58% 55% 45% / 52% 44% 56% 48%; transform: rotate(0deg) scale(1); }
  100% { border-radius: 58% 42% 45% 55% / 44% 56% 48% 52%; transform: rotate(9deg) scale(1.07); }
}
.fnac-hero-visual::after {
  content: ""; position: absolute; top: -14px; right: -12px; width: 78px; height: 78px;
  border: 7px solid rgba(193,162,101,.6); border-radius: 50%; z-index: 2;
  animation: fnacHeroFloat 5s ease-in-out infinite reverse;
}
body.rtl .fnac-hero-visual::after { right: auto; left: -12px; }
.fnac-hero-visual img {
  position: relative; z-index: 1;
  display: block; width: 100%; max-width: 760px; height: auto; margin-inline: auto;
  border-radius: 28px; box-shadow: 0 44px 84px rgba(15,20,35,.28);
  animation: fnacHeroFloat 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes fnacHeroFloat {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50%      { transform: translateY(-22px) rotate(.6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .fnac-hero-visual::before, .fnac-hero-visual::after, .fnac-hero-visual img { animation: none; }
}

/* ============================ CARTES « NOS UNIVERS » (photos réelles) ============================ */
.elementor-widget-image-box.fnac-univ-card {
  background: #fff; border: 1px solid var(--fnac-line); border-radius: 20px;
  overflow: hidden; height: 100%;
  box-shadow: 0 10px 30px rgba(15,20,35,.06);
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.elementor-widget-image-box.fnac-univ-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 54px rgba(15,20,35,.16);
  border-color: rgba(193,162,101,.55);
}
.fnac-univ-card .elementor-image-box-wrapper {
  display: block !important; text-align: left;
}
body.rtl .fnac-univ-card .elementor-image-box-wrapper { text-align: right; }
.fnac-univ-card .elementor-image-box-img {
  display: block !important; width: 100% !important; margin: 0 !important; overflow: hidden;
}
.fnac-univ-card .elementor-image-box-img img {
  display: block; width: 100% !important; height: 210px; object-fit: cover; object-position: center;
  border-radius: 0; transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.fnac-univ-card:hover .elementor-image-box-img img { transform: scale(1.06); }
.fnac-univ-card .elementor-image-box-content { padding: 22px 24px 26px; }
.fnac-univ-card .elementor-image-box-title { font-weight: 700; font-size: 21px; margin: 0 0 8px; font-family: "Playfair Display", serif; }
.fnac-univ-card .elementor-image-box-description { font-size: 14.5px; line-height: 1.7; margin: 0; }
@media (max-width: 767px) {
  .fnac-univ-card .elementor-image-box-img img { height: 190px; }
  .fnac-univ-card .elementor-image-box-content { padding: 18px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .fnac-hero-visual img { animation: none; }
}

/* ============================ ICON-BOX (survols) ============================ */
.elementor-widget-icon-box { transition: transform .3s ease; }
.elementor-widget-icon-box:hover { transform: translateY(-6px); }
.elementor-widget-icon-box .elementor-icon { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.elementor-widget-icon-box:hover .elementor-icon { transform: scale(1.12) rotate(-6deg); }

/* ============================ BOUTIQUE ============================ */
.woocommerce-products-header {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: 1200px; margin: 22px auto 28px; border-radius: 26px;
  padding: 76px 24px 64px; text-align: center;
  box-shadow: 0 24px 54px rgba(15,20,35,.18);
}
.woocommerce-products-header::before {
  content: ""; position: absolute; inset: -3%; z-index: -1;
  background:
    linear-gradient(110deg, rgba(9,13,24,.86) 0%, rgba(9,13,24,.58) 55%, rgba(9,13,24,.80) 100%),
    radial-gradient(60% 120% at 85% 10%, rgba(193,162,101,.26), rgba(193,162,101,0) 60%),
    url("assets/shop-photo.jpg") center/cover no-repeat;
  animation: fnacKenBurns 24s ease-in-out infinite alternate;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .woocommerce-products-header::before { animation: none; } }
.woocommerce-products-header__title.page-title {
  font-family: "Playfair Display", serif;
  font-weight: 700; font-size: 48px; color: #FFFFFF !important; position: relative; display: inline-block; margin: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.woocommerce-products-header__title.page-title::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--fnac-yellow); margin: 14px auto 0;
}
.fnac-shop-subtitle {
  text-align: center; color: #EAE7DE; font-size: 16.5px; line-height: 1.65;
  max-width: 640px; margin: 16px auto 0;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.fnac-shop-subtitle strong { color: var(--fnac-gold-light); }
@media (max-width: 767px) {
  .woocommerce-products-header { padding: 54px 18px 46px; border-radius: 18px; margin: 14px auto 22px; }
}
.woocommerce .woocommerce-result-count { color: var(--fnac-body); font-size: 14px; float: none; text-align: center; margin: 6px 0 0; }
.woocommerce .woocommerce-ordering { float: none; text-align: center; margin: 12px 0 6px; }
.woocommerce select.orderby, .woocommerce .woocommerce-ordering select {
  font-family: "Montserrat", sans-serif; border: 1px solid var(--fnac-line); border-radius: 100px;
  padding: 10px 18px; background: #fff; color: var(--fnac-ink); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease;
}
.woocommerce .woocommerce-ordering select:hover { border-color: var(--fnac-yellow); }
.woocommerce .woocommerce-ordering select:focus { outline: none; border-color: var(--fnac-yellow); box-shadow: 0 0 0 3px rgba(193,162,101,.18); }

/* GRILLE = CSS Grid (matrice stricte) : 3 colonnes desktop → 6 produits = 2 rangées
   pleines, aucune irrégularité ni « vide » (contrairement au flex qui empilait mal). */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch; gap: 28px;
  max-width: 1040px; margin: 30px auto 0; padding: 0 4px; list-style: none;
}
/* Woo ajoute un clearfix ul.products::before/::after (display:table) : dans un
   conteneur grid ils deviennent de FAUX éléments de grille (case vide en haut à
   gauche + décalage de toutes les cartes). On les neutralise. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  content: none !important;
  display: none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important; max-width: none !important; margin: 0 !important; float: none !important; flex: none !important;
  min-width: 0; /* évite le débordement grid quand le contenu impose sa largeur min */
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--fnac-line); border-radius: 18px; padding: 14px 14px 16px; overflow: hidden;
  box-shadow: 0 8px 26px rgba(15,20,35,.05);
  transition: box-shadow .3s ease, transform .3s cubic-bezier(.22,.61,.36,1), border-color .3s ease;
}
/* Tablette : 2 colonnes */
@media (max-width: 900px) {
  .woocommerce ul.products { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 620px; }
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 26px 52px rgba(15,20,35,.16); transform: translateY(-7px); border-color: rgba(193,162,101,.6);
}
/* Zone image : carré uniforme sur fond blanc (photos produit variées bien alignées) */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a:first-child {
  display: block; border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid #F0EBDE; margin-bottom: 14px;
}
.woocommerce ul.products li.product a img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; height: auto; margin: 0 !important;
  border-radius: 0; background: #fff; display: block;
  transition: transform .6s cubic-bezier(.22,.61,.36,1) !important;
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.06); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-weight: 600; color: var(--fnac-ink); font-size: 16.5px; padding: 2px 4px 2px; line-height: 1.3;
  font-family: "Playfair Display", serif;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.woocommerce ul.products li.product .price { font-weight: 800; font-size: 20px; color: var(--fnac-ink); margin: 8px 4px 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.woocommerce ul.products li.product .price del { color: #A9A498; font-weight: 500; font-size: 15px; opacity: .9; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--fnac-yellow-600); font-weight: 800; }
.woocommerce ul.products li.product .fnac-order-btn {
  display: block; width: 100%; text-align: center; margin-top: auto;
  text-transform: uppercase; font-size: 13px; letter-spacing: .8px;
}
.woocommerce ul.products li.product .fnac-order-btn::after {
  content: " \2192"; display: inline-block; margin-inline-start: 6px;
  transition: transform .25s ease;
}
.woocommerce ul.products li.product:hover .fnac-order-btn::after { transform: translateX(4px); }
body.rtl .woocommerce ul.products li.product .fnac-order-btn::after { content: " \2190"; }
body.rtl .woocommerce ul.products li.product:hover .fnac-order-btn::after { transform: translateX(-4px); }

/* Bouton « Commander » + boutons Woo */
.fnac-order-btn, .woocommerce a.button.fnac-order-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce .button {
  background: var(--fnac-yellow) !important; color: #16203A !important;
  font-family: "Montserrat", sans-serif; font-weight: 700; border-radius: 100px !important;
  padding: 12px 26px !important; border: none !important; letter-spacing: .4px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease !important;
}
.fnac-order-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--fnac-ink) !important; color: #fff !important; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15,20,35,.28);
}

/* Badge promo */
.woocommerce span.onsale {
  background: var(--fnac-yellow); color: #16203A; font-weight: 700; border-radius: 100px;
  min-height: 0; min-width: 0; padding: 6px 14px; line-height: 1; top: 14px; left: 14px;
  box-shadow: 0 6px 16px rgba(193,162,101,.35);
}
body.rtl .woocommerce span.onsale { left: auto; right: 14px; }

/* Pagination pastilles */
.woocommerce nav.woocommerce-pagination ul { border: none; gap: 8px; display: flex; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: none; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid var(--fnac-line); border-radius: 50%; width: 44px; height: 44px; line-height: 44px; padding: 0; font-weight: 700;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--fnac-yellow); color: #16203A; border-color: var(--fnac-yellow);
}
.woocommerce div.product .product_title { font-weight: 700; font-family: "Playfair Display", serif; }
.woocommerce div.product p.price { font-weight: 800; font-size: 30px; color: var(--fnac-ink); }

/* ============================ ANIMATION CARTES PRODUIT (CSS, en cascade) ============================ */
/* Entrée attirante : fondu + montée + léger zoom, jouée UNE fois au chargement,
   en cascade (chaque carte un peu après la précédente). Pas de clignotement au scroll. */
@keyframes fnacProdIn {
  from { opacity: 0; transform: translateY(38px) scale(.93); }
  to   { opacity: 1; transform: none; }
}
.woocommerce ul.products li.product {
  animation: fnacProdIn .6s cubic-bezier(.22,.9,.3,1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
/* cascade : délai croissant par position (fallback si --i non défini) */
.woocommerce ul.products li.product:nth-child(1){ --i: 0; }
.woocommerce ul.products li.product:nth-child(2){ --i: 1; }
.woocommerce ul.products li.product:nth-child(3){ --i: 2; }
.woocommerce ul.products li.product:nth-child(4){ --i: 3; }
.woocommerce ul.products li.product:nth-child(5){ --i: 4; }
.woocommerce ul.products li.product:nth-child(6){ --i: 5; }
.woocommerce ul.products li.product:nth-child(n+7){ --i: 6; }
/* Retour tactile au tap (pas de survol sur mobile) */
.woocommerce ul.products li.product:active { transform: scale(.985); }
@media (prefers-reduced-motion: reduce) {
  .woocommerce ul.products li.product { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================ BOUTIQUE — MOBILE (2 colonnes attirantes) ============================ */
@media (max-width: 767px) {
  .woocommerce ul.products { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 14px !important; padding: 0 10px !important; margin-top: 22px !important; max-width: 520px; }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    padding: 8px 8px 12px !important; border-radius: 15px !important;
    box-shadow: 0 10px 24px rgba(15,20,35,.08) !important;
  }
  .woocommerce ul.products li.product a:first-child { margin-bottom: 10px !important; border-radius: 12px !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13.5px !important; line-height: 1.28 !important; min-height: 2.6em; padding: 0 2px !important;
  }
  .woocommerce ul.products li.product .price { font-size: 15px !important; margin: 6px 2px 10px !important; gap: 6px; }
  .woocommerce ul.products li.product .price del { font-size: 12px !important; }
  .woocommerce ul.products li.product .fnac-order-btn {
    font-size: 11px !important; padding: 10px 8px !important; letter-spacing: .3px;
  }
  .woocommerce ul.products li.product .fnac-order-btn::after { margin-inline-start: 4px; }
  .woocommerce span.onsale { font-size: 11px; padding: 4px 10px; top: 10px; left: 10px; }
  /* sur écran étroit, le zoom d'entrée un peu plus doux (évite tout débordement) */
  .woocommerce ul.products li.product.fnac-reveal:not(.is-visible) { transform: translateY(30px) scale(.95); }
}

/* ============================ PAGE PRODUIT (fond + cadres) ============================ */
body.single-product,
body.woocommerce-shop,
body.post-type-archive-product { background: #FBF9F3 !important; }
body.single-product::before,
body.woocommerce-shop::before,
body.post-type-archive-product::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 46% at 15% 18%, rgba(193,162,101,.26), rgba(193,162,101,0) 60%),
    radial-gradient(34% 42% at 86% 12%, rgba(22,32,58,.14), rgba(22,32,58,0) 60%),
    radial-gradient(42% 48% at 78% 82%, rgba(193,162,101,.22), rgba(193,162,101,0) 62%),
    radial-gradient(38% 44% at 22% 84%, rgba(216,195,140,.22), rgba(216,195,140,0) 62%),
    linear-gradient(180deg, #FFFFFF 0%, #F4EFE2 100%);
  background-size: 180% 180%;
  animation: fnacAurora 20s ease-in-out infinite alternate;
  will-change: background-position;
}
body.single-product::after,
body.woocommerce-shop::after,
body.post-type-archive-product::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/bg-luxe.svg") repeat; background-size: 250px;
  opacity: .28;
  animation: fnacPatternDrift 45s linear infinite;
}
@keyframes fnacAurora {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 50% 100%; }
}
@keyframes fnacPatternDrift { from { background-position: 0 0; } to { background-position: 250px 250px; } }
@media (prefers-reduced-motion: reduce) {
  body.single-product::before, body.single-product::after,
  body.woocommerce-shop::before, body.woocommerce-shop::after,
  body.post-type-archive-product::before, body.post-type-archive-product::after { animation: none; }
}
.single-product .woocommerce div.product .woocommerce-product-gallery {
  background: #fff; border: 1px solid var(--fnac-line); border-radius: 22px; padding: 16px;
  box-shadow: 0 18px 44px rgba(15,20,35,.08);
}
/* Galerie SANS slider (désactivé dans functions.php) : grande image principale
   carrée + vignettes en grille 4 colonnes. Robuste quelles que soient les images
   uploadées par le client (paysage/portrait recadrés en carré). Clic = lightbox. */
.single-product .woocommerce-product-gallery { opacity: 1 !important; }
.single-product .woocommerce-product-gallery__wrapper {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  margin: 0; transform: none !important; height: auto !important;
}
/* 1re image (principale) = grande, pleine largeur */
.single-product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
  grid-column: 1 / -1;
}
/* produit à une seule image : pas de rangée de vignettes vide */
.single-product .woocommerce-product-gallery__image {
  width: auto !important; float: none !important; margin: 0 !important;
}
.single-product .woocommerce-product-gallery__image a { display: block; }
.single-product .woocommerce-product-gallery__image img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  height: auto !important; border-radius: 14px; display: block; margin: 0 !important;
}
.single-product .woocommerce-product-gallery__trigger { z-index: 5; }
/* Sécurité : slider désactivé → on neutralise les flèches/nav devenues inutiles.
   - .aod-gallery-nav : boutons ‹ › ajoutés par le plugin aod-cod-form pour piloter
     flexslider (orphelins sans slider ; notre grille montre déjà toutes les images).
   - .flex-* : au cas où un cache PHP servirait encore le slider. */
.single-product .aod-gallery-nav,
.single-product .flex-direction-nav,
.single-product .flex-control-nav,
.single-product .woocommerce-product-gallery .flex-viewport + ol { display: none !important; }
.single-product .woocommerce div.product .product_title { color: var(--fnac-ink); }
.single-product .woocommerce-tabs .wc-tabs,
.single-product .woocommerce-Tabs-panel { position: relative; }
.single-product .woocommerce div.product .woocommerce-tabs {
  background: #fff; border: 1px solid var(--fnac-line); border-radius: 20px;
  padding: 22px 26px; margin-top: 32px; box-shadow: 0 12px 34px rgba(15,20,35,.05);
}
.single-product .related.products {
  background: #fff; border: 1px solid var(--fnac-line); border-radius: 20px;
  padding: 26px; margin-top: 32px; box-shadow: 0 12px 34px rgba(15,20,35,.05);
}
@media (max-width: 767px) {
  .single-product .woocommerce div.product .woocommerce-tabs,
  .single-product .related.products { padding: 18px; border-radius: 16px; }
}

/* ============================ FORMULAIRE COD (page produit) ============================ */
.single-product .aod-cod {
  --sh-accent: #C1A265;
  --sh-accent-dark: #A8894B;
  --sh-line: #E4DECC;
  --sh-line-strong: #C9C2AC;
  --sh-bg-sub: #F4EFE1;
  --sh-radius: 12px;
  --sh-radius-sm: 10px;

  background: linear-gradient(180deg, #FBF8F0 0%, #F0E9D8 100%) !important;
  border: 1px solid #E0D8C2 !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 54px rgba(15,20,35,.14);
  padding: 0 0 24px !important;
  overflow: hidden;
  font-family: "Montserrat", sans-serif !important;
}
.single-product .aod-cod .aod-cod__title {
  margin: 0 0 20px !important;
  padding: 18px 24px;
  background: linear-gradient(135deg, #22335F 0%, #16203A 55%, #0F1728 100%);
  color: #F1E7CE !important;
  font-weight: 800 !important;
  font-size: 1.06em !important;
  letter-spacing: -.01em;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.10);
}
.single-product .aod-cod > .aod-cod__form { padding: 0 24px; }
.single-product .aod-cod > .aod-cod__pack,
.single-product .aod-cod > .aod-cod__msg,
.single-product .aod-cod > .aod-cod__config-msg { margin-left: 24px; margin-right: 24px; }

.single-product .aod-cod .aod-cod__form input,
.single-product .aod-cod .aod-cod__form select,
.single-product .aod-cod .aod-cod__form textarea {
  border-color: #DED7C1 !important;
  box-shadow: 0 1px 2px rgba(15,20,35,.05);
}
.single-product .aod-cod .aod-cod__offer-card.is-selected .aod-cod__offer-check::after {
  border-color: #16203A !important;
}
.single-product .aod-cod .aod-cod__offer-now,
.single-product .aod-cod .aod-cod__offer-title { color: #16203A !important; }

.single-product .aod-cod .aod-cod__submit {
  box-shadow: 0 14px 30px rgba(193,162,101,.35);
  font-weight: 800 !important;
  letter-spacing: .2px;
}
.single-product .aod-cod .aod-cod__reassure {
  background: #FFFFFF; border: 1px solid #EAE4D2; border-radius: 12px;
  padding: 12px 14px; margin-top: 16px;
}

/* ============================ FORMULAIRE CONTACT (CF7) ============================ */
.fnac-form label { font-weight: 600; color: var(--fnac-ink); display: block; margin-bottom: 6px; }
.fnac-form p { margin: 0 0 16px; }
.fnac-form input[type=text], .fnac-form input[type=tel], .fnac-form input[type=email], .fnac-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--fnac-line); border-radius: 12px; background: #FBF9F3;
  font-family: "Montserrat", sans-serif; font-size: 16px; color: var(--fnac-ink);
}
.fnac-form textarea { min-height: 140px; }
.fnac-form input:focus, .fnac-form textarea:focus { outline: none; border-color: var(--fnac-yellow); background: #fff; box-shadow: 0 0 0 3px rgba(193,162,101,.15); }
.fnac-form .wpcf7-submit {
  background: var(--fnac-yellow); color: #16203A; border: none; border-radius: 100px;
  padding: 14px 34px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease;
}
.fnac-form .wpcf7-submit:hover { background: var(--fnac-ink); color: #fff; transform: translateY(-3px); }
body.rtl .fnac-form label, body.rtl .elementor-icon-box-content { text-align: right; }

/* ============================ FOOTER ============================ */
.fnac-footer { background: var(--fnac-navy-900); color: #C7CAD3; border-top: 4px solid var(--fnac-yellow); font-family: "Montserrat", sans-serif; }
.fnac-footer__inner { max-width: 1160px; margin: 0 auto; padding: 64px 24px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.fnac-footer__logo { height: 58px; width: auto; margin-bottom: 16px; }
.fnac-footer__name { display: inline-block; margin-bottom: 14px; font-weight: 700; font-size: 28px; color: #fff; font-family: "Playfair Display", serif; }
.fnac-footer__tagline { font-size: 14px; line-height: 1.7; color: #8B90A0; margin: 0; max-width: 320px; }
.fnac-footer__title { font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.fnac-footer__links, .fnac-footer__reassure { list-style: none; margin: 0; padding: 0; }
.fnac-footer__links li { margin-bottom: 12px; }
.fnac-footer__links a { color: #C7CAD3; text-decoration: none; font-size: 15px; transition: color .25s ease, padding-left .25s ease; }
.fnac-footer__links a:hover { color: var(--fnac-gold-light); padding-left: 6px; }
.fnac-footer__reassure li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.fnac-footer__reassure i { color: var(--fnac-yellow); width: 18px; text-align: center; }
.fnac-footer__btn { display: inline-block; margin-top: 8px; background: var(--fnac-yellow); color: #16203A; text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 12px 26px; border-radius: 100px; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.fnac-footer__btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(193,162,101,.3); background: #fff; }
.fnac-footer__bar { border-top: 1px solid rgba(255,255,255,.08); max-width: 1160px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #7C8091; }
.fnac-footer__pay { color: var(--fnac-gold-light); font-weight: 600; }
@media (max-width: 880px) { .fnac-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 22px 32px; } }
@media (max-width: 520px) { .fnac-footer__inner { grid-template-columns: 1fr; text-align: center; } .fnac-footer__tagline { margin-inline: auto; } .fnac-footer__reassure li { justify-content: center; } .fnac-footer__bar { flex-direction: column; text-align: center; } }
body.rtl .fnac-footer__links a:hover { padding-left: 0; padding-right: 6px; }

/* Masque le footer par défaut du thème Hello (on n'en garde qu'un : .fnac-footer) */
#site-footer.site-footer { display: none !important; }

/* ============================ ANTI-PANIER ============================ */
.woocommerce-cart-form, .cart-collaterals, a.added_to_cart, .added_to_cart,
li.woocommerce-mini-cart-item, .site-header-cart, .widget_shopping_cart { display: none !important; }

/* ============================ FONDS DISTINCTS PAR SECTION ============================ */
.elementor-element-hero001 {
  background-image: url("assets/bg-luxe.svg"), linear-gradient(160deg,#FFFFFF 0%,#F4EFE2 100%) !important;
  background-repeat: repeat, no-repeat !important;
  background-size: 240px, cover !important;
  background-position: top left, center !important;
}
.elementor-element-serv0001 {
  background-image: url("assets/bg-luxe2.svg"), linear-gradient(160deg,#FBFAF6 0%,#EDE6D3 100%) !important;
  background-repeat: repeat, no-repeat !important;
  background-size: 240px, cover !important;
  background-position: top left, center !important;
}
.elementor-element-reass001 {
  background-image: url("assets/bg-luxe.svg"), linear-gradient(205deg,#FFFFFF 0%,#F1E8D0 100%) !important;
  background-repeat: repeat, no-repeat !important;
  background-size: 240px, cover !important;
  background-position: top left, center !important;
}

/* ============================ MOBILE ============================ */
@media (max-width: 767px) {
  #site-header .site-description { display: none; }
  #site-header .site-logo img.custom-logo { height: 40px; }
  .woocommerce-products-header__title.page-title { font-size: 34px; }

  .elementor-element-stats001, .elementor-element-serv0001, .elementor-element-steps001,
  .elementor-element-reass001, .elementor-element-cta00001 {
    padding-top: 54px !important; padding-bottom: 54px !important;
  }
  .elementor-element-hero001 { padding-top: 96px !important; padding-bottom: 48px !important; }

  .fnac-hero-visual { text-align: center; display: block; }
  .fnac-hero-visual img { max-width: 340px; margin: 18px auto 0; }
  .fnac-hero-visual::after { display: none; }
  .fnac-hero-visual::before { inset: -6% -6% -9% -6%; }

  .elementor-element-herobtn1 .elementor-button,
  .elementor-element-herobtn2 .elementor-button,
  .elementor-element-ctab .elementor-button {
    display: block; width: 100%; text-align: center;
  }
  .elementor-element-herobtn2 .elementor-button { margin-top: 12px; }

  .elementor-element-statsrow > .elementor-container { flex-wrap: wrap; }
  .elementor-element-statsrow > .elementor-container > .elementor-column { width: 50%; }
  .elementor-element-stats001 .elementor-counter-number-wrapper { font-size: 38px; }
  .elementor-element-stats001 .elementor-counter-title { font-size: 13px; }
  .elementor-element-stats001 .elementor-counter { margin-bottom: 24px; }

  .elementor-element-servrow .elementor-column + .elementor-column { margin-top: 16px; }

  .elementor-widget-heading .elementor-heading-title { word-break: break-word; }

  .elementor-element-hero001, .elementor-element-serv0001,
  .elementor-element-reass001 { background-size: 170px, cover !important; }

  .fnac-page::after { transition-duration: .6s; }

  /* ===== ANTI-DÉBORDEMENT MOBILE (toutes sections Elementor) =====
     Sur mobile, on force chaque colonne à s'empiler (100%) et on borne
     conteneurs/widgets à la largeur de l'écran — sinon certains titres/lignes
     de section élargissent la page et rognent le contenu (héro compris). */
  .elementor-section, .elementor-section * { box-sizing: border-box !important; }
  .elementor-section > .elementor-container,
  .elementor-inner-section > .elementor-container { width: 100% !important; max-width: 100% !important; }
  .elementor-section .elementor-column,
  .elementor-inner-section .elementor-column { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
  .elementor-widget, .elementor-widget-wrap, .elementor-widget-container { max-width: 100% !important; }
  .elementor-heading-title,
  .elementor-widget-text-editor, .elementor-widget-text-editor *,
  .elementor-icon-box-content, .elementor-icon-box-title, .elementor-icon-box-description {
    overflow-wrap: break-word; word-break: break-word;
  }
  .elementor-widget-heading .elementor-heading-title { white-space: normal !important; }

  /* Exception : compteurs (stats) restent en grille 2×2 */
  .elementor-element-statsrow > .elementor-container > .elementor-column { width: 50% !important; flex: 0 0 50% !important; }

  /* Héro : typographie fluide pour tenir sur toutes les largeurs mobiles */
  .elementor-element-hero001 > .elementor-container { padding-left: 16px !important; padding-right: 16px !important; }
  .elementor-element-hero001 h1.elementor-heading-title { font-size: clamp(19px, 5.9vw, 26px) !important; line-height: 1.18 !important; }
  .elementor-element-hero001 h6.elementor-heading-title { font-size: clamp(8px, 2.4vw, 10px) !important; letter-spacing: .2px !important; line-height: 1.4 !important; }
  .elementor-element-hero001 .elementor-widget-text-editor,
  .elementor-element-hero001 .elementor-widget-text-editor * { font-size: clamp(12px, 3.4vw, 14px) !important; line-height: 1.55 !important; }

  /* Révélations au scroll : sur mobile, pas de glissement HORIZONTAL
     (translateX hors-écran = scroll horizontal parasite qui rogne la page).
     On remplace par une montée verticale douce. */
  .elementor-element-serv0001 .fnac-reveal:not(.is-visible),
  .elementor-element-steps001 .fnac-reveal:not(.is-visible),
  body.rtl .elementor-element-serv0001 .fnac-reveal:not(.is-visible),
  body.rtl .elementor-element-steps001 .fnac-reveal:not(.is-visible) { transform: translateY(28px) !important; }

  /* garde-fou global anti-scroll horizontal mobile */
  html, body { overflow-x: hidden !important; max-width: 100% !important; }
}
