:root {
  --brand-h: 120px;
  --nav-h: 80px;
  --color-primary-bg: #F5F2EE;
  --color-secondary-bg: #5D534A;
  --color-text-main: #333333;
  --color-text-headings: #8A7967;
  --color-accent: #C4A691;
}

/* Animation fadeIn / fadeOut */
@-webkit-keyframes fadeIn {
  from { opacity: 0; -webkit-transform: translate3d(0, -20px, 0); transform: translate3d(0, -20px, 0); }
  to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}
@keyframes fadeIn {
  from { opacity: 0; -webkit-transform: translate3d(0, -20px, 0); transform: translate3d(0, -20px, 0); }
  to { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}
@-webkit-keyframes fadeOut {
  from { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to { opacity: 0; -webkit-transform: translate3d(0, 20px, 0); transform: translate3d(0, 20px, 0); }
}
@keyframes fadeOut {
  from { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to { opacity: 0; -webkit-transform: translate3d(0, 20px, 0); transform: translate3d(0, 20px, 0); }
}

/* Style for the text element with initial animation */
.fade-in {
  opacity: 1;
  will-change: transform, opacity;
  -webkit-animation: fadeIn 2s forwards;
  animation: fadeIn 2s forwards;
}
.parallax h2 {
  height: min-content;
  background: rgba(32,33,31,0.5);
  transition: 0.5s ease;
  text-align: center;
  color: #fbf1bc;
  max-width: 1200px;
  font-size: 3.2rem;
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  padding: 1em 2em;
  text-shadow: -1px -1px 8px black;
  border-radius: 40%; 
  /* ----- AJOUT DU FLou (box-shadow) ----- */
  box-shadow: 0 0 40px 5px rgba(0, 0, 0, 0.7);
}

/* Class added when the user scrolls down */
.fade-out {
  opacity: 0;
  will-change: transform, opacity;
  -webkit-animation: fadeOut 1s backwards;
  animation: fadeOut 1s backwards;
}

body {
  background: var(--color-primary-bg) url('../../drive/Site/Background_icons_and_videos/background/BG_2025.jpg')
              no-repeat center center fixed;
  background-size: cover;
  color: var(--color-text-main);
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary-bg);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  color: var(--color-text-headings);
  margin-bottom: 1rem; /* Espace sous les titres */
}

h1 { font-size: 3.2rem; } 
h2 { font-size: 2.8rem; } 
h3 { font-size: 2.2rem; } 
h4 { font-size: 1.8rem; } 
h5 { font-size: 1.5rem; } 
h6 { font-size: 1.2rem; } 

.hero-section {
  background: rgba(247, 227, 206, 0.168);
  text-align: center;
  box-shadow: 3px 3px 37px black;
  padding: 4vh;
}
.hero-section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  font-family: 'EB Garamond', serif;
  color: var(--color-text-headings);
}
.hero-section p {
  font-size: 1.4rem;
  max-width: 750px;
  margin: auto;
  font-family: 'EB Garamond', serif;
}
.content-wrapper {
  max-width: 1200px;
  margin: auto;
}

/* Hide loading indicators when page is loaded */
html.page-loaded * {
  animation-play-state: paused !important;
}

footer {
    background-color: var(--color-secondary-bg) !important;
    font-family: "Ubuntu", sans-serif;
    text-align: center;
    color: var(--color-primary-bg) !important;
}

.footer-text {
    color: var(--color-primary-bg);
}

footer h4, footer h5 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    color: var(--color-primary-bg);
}

footer p, footer small {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    color: var(--color-primary-bg);
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: var(--color-accent);
}

@media (max-width: 767.98px) {
    footer h4 { font-size: 1.5rem; }
    footer h5, footer p, footer small, footer a { font-size: 0.9rem; }
}

  /* --- Bandeau du logo (FIXE) --- */
  .brand-banner{
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1031;
    background: #b8ad9eff;
    padding: 22px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    transition: padding .3s ease;
  }
  .brand-logo{
    max-height: 200px;
    width: auto;
    display: block;
    filter: drop-shadow(0px 3px 6px rgba(0,0,0,0.12));
    transition: max-height .3s ease;
  }
  .brand-banner.scrolled .brand-logo{
    max-height: 80px;
  }
  .brand-banner.scrolled {
    padding: 10px 0 5px;
  }

  .brand-tagline{
    margin-top: 6px;
    font-size: 1.2rem;
    letter-spacing: .08em;
    color: var(--color-text-main);
    font-family: 'Ubuntu', sans-serif;
  }

  /* --- NAVBAR (FIXE sous le logo) --- */
  .navbar-nav { align-items: center; }
  .navbar-nav .nav-link { font-weight: bold; }

  /* L'espace réservé sous l'entête (logo + nav) */
  .nav_spacer { height: calc(var(--brand-h) + var(--nav-h)); }

  /* NAV fixée, fond opaque (pas d'arrière-plan qui défile derrière) */
  nav{
    position: fixed !important;
    left: 0; right: 0;
    top: var(--brand-h);
    width: 100%;
    z-index: 1030;
    padding: 12px 0;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    background: var(--color-primary-bg);
    transition: transform .3s ease;
  }
  /* Masquer la nav au scroll vers le bas (optionnel) */
  nav.hide { transform: translateY(-100%); }

  /* Conteneur centré et limité en largeur */
  .aura-nav-container{
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .navbar-brand {
    font-size: 2rem;
    font-family: 'Ubuntu', sans-serif;
    color: var(--color-secondary-bg) !important;
    transition: color 0.3s ease;
    display: flex;
    justify-content: flex-start;
  }
  .navbar-brand:hover { color: var(--color-text-main) !important; }

  .navbar-nav .nav-link{
    font-size: 1.05rem;
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    color: var(--color-text-main) !important;
    padding: 8px 14px;
    transition: color 0.3s ease;
    white-space: nowrap !important;
    text-transform: uppercase !important;
  }
  .navbar-nav .nav-link:hover { color: var(--color-accent) !important; }

  .navbar-toggler { border: none; padding: 8px; font-family: 'Ubuntu', sans-serif; }
  .navbar-toggler:focus { box-shadow: none; }

  .dropdown-toggle, .dropdown-menu, .dropdown-item { font-family: 'Ubuntu', sans-serif !important; }
  #infoDropdown, #infoDropdown + .dropdown-menu, #infoDropdown + .dropdown-menu .dropdown-item { font-family: 'Ubuntu', sans-serif !important; }

  .dropdown-menu{
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    font-family: 'Ubuntu', sans-serif;
  }
  .dropdown-item{
    color: var(--color-text-main) !important;
    font-size: 1.05rem;
    font-family: 'Ubuntu', sans-serif;
    padding: 10px 16px;
  }
  .dropdown-item:hover { background: var(--color-primary-bg); }

  .nav-item { margin-right: 12px; }

  @media (max-width: 991px){
    .brand-logo { max-height: 120px; }
    .brand-banner { padding: 16px 0 8px; }

    .navbar-brand { font-size: 1.7rem; }
    .navbar-brand img { width: 35px; height: 35px; margin-right: 10px; }
    .navbar-collapse{
      background-color: rgba(245, 242, 238, 0.98);
      padding: 10px;
      border-radius: 8px;
      margin-top: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .navbar-nav .nav-item { margin-bottom: 5px; }
  }

  @media (max-width: 575px){
    .brand-logo { max-height: 90px; }
    .brand-banner { padding: 12px 0 6px; }

    .aura-nav-container{ padding: 0 16px; }
    nav{ padding: 12px 0; }
    .navbar-nav .nav-link{ font-size: 1rem; padding: 10px 12px; }
    .dropdown-menu{ width: 100%; }
    .dropdown-item{ padding: 12px 15px; }
    .cart-link img{ width: 30px; height: 30px; }
    .nav-item{ margin-right: 8px; }
  }

  /* CHANGEMENT: enlever le parallax pour éviter de voir défiler l'image derrière l'entête */
  .top_header{
    background: url("../../drive/Site/Background_icons_and_videos/background/BG_001.png") no-repeat center center;
    /* background-attachment: fixed; */ /* supprimé */
    background-size: cover;
    background-position: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 20px 0;
  }
  .top_header img{
    max-width: 320px; margin: 0 auto;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.3));
  }

  .social-icons{ display:flex; gap:20px; align-items:center; justify-content:center; margin-top:10px; }
  .social-icons a{ font-size:24px; color:var(--color-text-main); transition: color .3s ease; }
  .social-icons a:hover{ color:var(--color-accent); }

  .cart-link{ position: relative; display: inline-block; }
  .cart-link img{ width: 40px; height: 40px; }
  .cart-badge{
    position: absolute; top:50%; left:50%; transform: translate(-50%, -50%);
    color:#fff; font-size:.85rem; font-weight:bold; background:none; pointer-events:none;
    text-shadow: 1px 1px 2px rgba(0,0,0,.6);
  }
  .fvc{ display:flex; flex-direction:column; justify-content:center; }
  li{ display:flex; flex-direction:column; justify-content:center; }

  nav, .navbar-brand, .navbar-nav .nav-link, .dropdown-item, .dropdown-toggle {
    font-family: 'Ubuntu', sans-serif !important;
  }

  .animate { opacity: 0; transform: translateY(20px); transition: opacity 1.6s ease, transform 0.6s ease; }
  .animate.visible { opacity: 1; transform: translateY(0); }
.parallax {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.picto-section { display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--color-text-headings); font-size: 3rem; }
  .pictogram-flex { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 auto; max-width: 1300px; gap: 43px; width: 100%; }
  .pictogram-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
  .pictogram-item:hover div { transform: translateY(-7px); transition: transform 0.3s; }
  .pictogram-icon { border-radius: 50%; width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
  .pictogram-icon img { width: 120px; height: auto; border-radius: 50%; }
  .icon-label { font-family: "EB Garamond", serif; font-size: 1.3rem; color: var(--color-text-headings); font-weight: 600; text-align: center; max-width: 100px; }

.paragraph {
    background: url('../../drive/Site/Background_icons_and_videos/background/BG_005.png') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.paragraph::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.paragraph .content-wrapper {
    position: relative;
    z-index: 2;
}

.paragraph h2 {
    color: var(--color-primary-bg);
    text-shadow: -1px -1px 7px black, 1px 1px 18px black;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.paragraph p {
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--color-primary-bg);
}

@media only screen and (max-width: 600px) {
    .paragraph { padding:3vh; }
    .hero-section { padding:4vh; }
}

.contact_me {
    transition: 0.5s;
    box-shadow: -1px 3px 18px black;
    background: var(--color-accent);
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    color: var(--color-text-main);
}
.contact_me:hover { 
    transform: scale(1.02);
    background: var(--color-secondary-bg);
    color: var(--color-primary-bg);
}
.background-section {
    position: relative;
    background: url('../../drive/Site/Background_icons_and_videos/background/BG_001.png') no-repeat center center;
    background-size: cover;
    margin: 0;
    min-height: calc(80vh + 192px);
	padding:0;
	display:block;
  }
  .overlay {
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
    color: rgba(243, 229, 212, 0.677);
	margin:0;
	height:100%;
    min-height: calc(80vh + 192px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .background-section .content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    height: 100%;
    padding-top: 96px;
    padding-bottom: 96px;
  }
  .background-section h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--color-primary-bg);
  }
  .background-section p {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: justify;
    margin: 0 auto 20px;
    color: var(--color-primary-bg);
  }
  @media (max-width: 768px) {
    .background-section .overlay { }
    .background-section h2 { }
    .background-section p { }
  }
  @media (max-width: 480px) {
    .background-section .overlay { }
    .background-section h2 { }
    .background-section p { }
  }