:root {
  --violet-profond: #3E2252;
  --jaune-or: #FDB515;
  --blanc: #FFFFFF;
  --gris-clair: #F8F4F0;
  --violet-leger: #5A3D6F;
  --header-h: 90px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--violet-profond);
  overflow-x: hidden;
  background-color: var(--blanc);
  padding-top: var(--header-h);
}

a { color: inherit; }

/* =========================
   HEADER / NAV
========================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--blanc);
  z-index: 1000;
  height: var(--header-h);
  box-shadow: 0 2px 20px rgba(62, 34, 82, 0.08);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(62, 34, 82, 0.15);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--violet-profond);
  text-decoration: none;
}

.logo-img{
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* =========================
   NAV MOBILE (hamburger)
========================= */

.nav-toggle{
  display: none;
  background: transparent;
  border: 0;
  padding: .6rem;
  cursor: pointer;
}

.nav-toggle span{
  display: block;
  width: 26px;
  height: 2px;
  background: var(--violet-profond);
  margin: 6px 0;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* Menu mobile */
@media (max-width: 1080px){
  .nav-toggle{ display: block; }

  nav{
    position: relative;
  }

  .nav-links{
    position: absolute;
    top: 100%;
    right: 1.2rem;
    left: 1.2rem;
    background: var(--blanc);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(62,34,82,0.18);
    padding: 1rem 1.2rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 1200;
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow-y: auto;
  }

  .nav-links.open{
    display: flex;
  }

  .nav-links a{
    padding: .6rem .4rem;
  }

  .nav-toggle.open span:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2){
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* =========================
   VISION - MOBILE comme Ambassadrice
   (photo en haut, texte en bas)
========================= */

@media (max-width: 900px){
  .vision-editorial{
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 1.5rem !important;
  }

  .vision-editorial-image{
    grid-column: 1 !important;
    grid-row: 1 !important;
    max-width: 360px;
    width: 100%;
    justify-self: center;
  }

  .vision-editorial-text{
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .vision-editorial-rest{
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  .vision-spheres{
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--violet-profond);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* ---- Responsive nav for medium screens ---- */
@media (min-width: 1081px) and (max-width: 1399px) {
  nav {
    padding: 1.5rem 1.5rem;
  }
  .nav-links {
    gap: 1.1rem;
    margin-left: 1.5rem;
  }
  .nav-links a {
    font-size: 0.88rem;
    letter-spacing: 0.2px;
  }
  .btn-whatsapp {
    padding: 0.55rem 1rem !important;
    font-size: 0.85rem !important;
  }
  .btn-donation {
    padding: 0.6rem 1.4rem !important;
    font-size: 0.85rem !important;
  }
  .logo {
    font-size: 1.5rem;
  }
  .logo-img {
    height: 42px;
  }
}

@media (min-width: 1081px) and (max-width: 1199px) {
  nav {
    padding: 1.5rem 1rem;
  }
  .nav-links {
    gap: 0.8rem;
    margin-left: 1rem;
  }
  .nav-links a {
    font-size: 0.82rem;
    letter-spacing: 0;
  }
  .btn-whatsapp {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.8rem !important;
  }
  .btn-donation {
    padding: 0.55rem 1.1rem !important;
    font-size: 0.82rem !important;
  }
  .logo {
    font-size: 1.3rem;
    gap: 0.5rem;
  }
  .logo-img {
    height: 38px;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    margin-left: 0;
  }
}

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

.nav-links a:hover::after {
  width: 100%;
}

.btn-donation {
  background: linear-gradient(135deg, var(--jaune-or), #FFC947);
  color: var(--violet-profond);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(253, 181, 21, 0.3);
}

.btn-donation:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(253, 181, 21, 0.5);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--violet-profond) 0%, var(--violet-leger) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  height: auto;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'%3E%3Cpath d='M0,300 Q300,150 600,300 T1200,300 L1200,600 L0,600 Z' fill='rgba(253,181,21,0.1)'/%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

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

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--blanc);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--jaune-or);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--gris-clair);
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.6;
}

.hero-signature{
  color: var(--jaune-or);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* =========================
   SECTIONS - BASE
========================= */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: var(--violet-profond);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--jaune-or), #FFC947);
  border-radius: 2px;
}

.vision-section {
  padding: 8rem 3rem;
  background: var(--gris-clair);
  position: relative;
}

.italic{ font-style: italic; }

/* =========================
   AMBASSADRICE
========================= */
.ambassadrice-content{
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 3rem;
}

.ambassadrice-image{
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  transform: none;
}

.ambassadrice-image:hover{
  transform: scale(1.02);
}

.ambassadrice-image img{
  height: 600px;
  width: auto;
  max-width: 100%;
  display: block;
}

.ambassadrice-text{
  justify-self: start;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--violet-profond);
}

.ambassadrice-text p{ margin-bottom: 1.5rem; }

.ambassadrice-caption{
  margin-top: 2rem;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.4;
}

.ambassadrice-caption strong{
  color: var(--jaune-or);
  font-weight: 700;
}

.ambassadrice-caption span{
  color: var(--violet-profond);
  font-weight: 400;
}

/* =========================
   VISION (layout éditorial PDF)
========================= */
.vision-editorial{
  display: grid;
  grid-template-columns: 360px 1fr;
  column-gap: 3rem;
  row-gap: 2rem;
  align-items: start;
  margin-top: 3rem;
}

.vision-editorial-image{
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.vision-editorial-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.vision-editorial-text{
  grid-column: 2;
  grid-row: 1;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--violet-profond);
}

.vision-editorial-text p{ margin-bottom: 1.5rem; }

.vision-editorial-rest{
  grid-column: 1 / -1;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--violet-profond);
  margin-top: .5rem;
}

.vision-editorial-rest p{ margin-bottom: 1.5rem; }

.vision-quote{
  margin: 2.2rem 0;
  padding-left: 1.2rem;
  border-left: 4px solid var(--jaune-or);
  font-style: italic;
  font-weight: 500;
}

.vision-quote span{
  display: block;
  margin-top: .8rem;
  font-weight: 600;
}

.vision-spheres{
  margin-top: 3rem;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem 2rem;
  align-items: center;
  justify-items: start;
}

.vision-spheres li{
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  position: relative;
  padding-left: 2rem;
}

.vision-spheres li::before{
  content: "◎";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--jaune-or);
  font-weight: 900;
}

/* =========================
   MISSION (layout PDF)
========================= */
.mission-section {
  padding: 8rem 3rem;
  background: var(--violet-profond);
  color: var(--blanc);
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 181, 21, 0.1), transparent);
  border-radius: 50%;
}

.mission-content { position: relative; z-index: 1; }

.mission-title{ color: var(--blanc) !important; }

.mission-headline{
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
  font-size: 1.6rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.mission-subline{
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  font-style: italic;
  opacity: 0.9;
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
}

.mission-layout{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.mission-list{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mission-item{
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 1rem;
  align-items: start;
}

.mission-bullet{
  color: var(--jaune-or);
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1.2;
  margin-top: .15rem;
}

.mission-item p{
  margin: 0;
  line-height: 1.9;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.95);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.mission-item strong{ font-style: normal; }

.mission-photo{
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  transform: none;
  justify-self: center;
}

.mission-photo img{
  height: 620px;
  width: auto;
  max-width: 100%;
  display: block;
  border-radius: 0;
}

/* =========================
   EDENDAY (style PDF)
========================= */
.edenday-section {
  padding: 8rem 3rem;
  background: var(--blanc);
}

.edenday-wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.edenday-top{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3rem;
}

.edenday-photoWrap{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 2rem;
}

.edenday-photo{
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  border: 8px solid rgba(62,34,82,0.12);
}

.edenday-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edenday-photoWrap::before{
  content:"";
  position:absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 3px solid rgba(62,34,82,0.55);
  border-top-color: transparent;
  border-left-color: transparent;
  transform: rotate(-25deg);
  bottom: 10px;
  left: 50%;
  translate: -50% 0;
}

.edenday-photoWrap::after{
  content:"";
  position:absolute;
  width: 120px;
  height: 2px;
  background: rgba(62,34,82,0.65);
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  border-radius: 2px;
}

.edenday-text{
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--violet-profond);
  font-style: italic;
}

.edenday-text p{ margin-bottom: 1.2rem; }
.edenday-text strong{ font-style: normal; }

.edenday-verse{
  margin-top: 2.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  line-height: 1.7;
  font-style: italic;
  color: rgba(62,34,82,0.9);
  text-align: center;
  padding: 0 2rem;
}

.edenday-after{
  margin-top: 1.6rem;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: rgba(62,34,82,0.85);
}

.edenday-posters{
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: start;
}

.poster-card{ text-align: center; }

.poster-card .poster-img{
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(62,34,82,0.12);
}

.poster-card img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.poster-card .poster-label{
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: rgba(62,34,82,0.85);
}

/* Carousel wrapper & arrows */
.edenday-carousel{
  position: relative;
}

.carousel-arrow{
  display: none;
}

@media (max-width: 1080px) {
  .carousel-arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--violet-profond);
    color: var(--blanc);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(62,34,82,0.3);
    transition: opacity 0.2s ease;
  }
  .carousel-arrow:hover{
    opacity: 0.85;
  }
  .carousel-arrow.prev{ left: -6px; }
  .carousel-arrow.next{ right: -6px; }

  .edenday-dots{
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
  }
  .edenday-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(62,34,82,0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .edenday-dot.active{
    background: var(--violet-profond);
    width: 22px;
    border-radius: 4px;
  }
}

.edenday-dots{
  display: none;
}

.edenday-digital{
  margin-top: 3rem;
  text-align: center;
  font-size: 1.2rem;
  color: var(--violet-profond);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   INVESTMENT
========================= */
.investment-section {
  padding: 8rem 3rem;
  background: linear-gradient(135deg, var(--jaune-or) 0%, #FFC947 100%);
  text-align: center;
  position: relative;
}

.investment-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.investment-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--violet-profond);
  margin-bottom: 1.5rem;
}

.investment-verse {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--violet-profond);
  margin-bottom: 3rem;
  line-height: 1.8;
  opacity: 0.9;
}

.investment-text{
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--violet-profond);
}

.btn-invest {
  display: inline-block;
  background: var(--violet-profond);
  color: var(--blanc);
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(62, 34, 82, 0.3);
  transition: all 0.3s ease;
}

.btn-invest:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(62, 34, 82, 0.4);
}

.payment-info {
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.payment-title{
  margin-bottom: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
}

.payment-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.payment-item { text-align: left; }
.payment-item.full{ grid-column: 1 / -1; }

.payment-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--violet-profond);
  margin-bottom: 0.3rem;
}

.payment-value {
  font-size: 1.1rem;
  color: var(--violet-profond);
  font-family: monospace;
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--violet-profond);
  color: var(--blanc);
  padding: 4rem 3rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--jaune-or);
}

.footer-description {
  line-height: 1.8;
  opacity: 0.9;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--jaune-or);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.8rem; }

.footer-links a {
  color: var(--blanc);
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--jaune-or);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.7;
}

/* =========================
   ANIMATION (Fade In)
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  nav { padding: 1rem 1.2rem; }

    /* Centre la photo Ambassadrice sur mobile */
  .ambassadrice-image {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centre horizontalement */
    text-align: center;
  }

  .ambassadrice-image img {
    margin: 0 auto;        /* sécurité supplémentaire */
  }

  .ambassadrice-caption {
    text-align: center;
  }


  .nav-links { display: none; }
  .nav-links.open { display: flex; }

  .hero-title { font-size: 3rem; }

  .ambassadrice-content{
    grid-template-columns: 1fr;
  }
  .ambassadrice-image img{
    height: 420px;
  }

  .vision-editorial{
    grid-template-columns: 1fr;
  }

  .vision-editorial-image{
    max-width: 320px;
  }

  .vision-spheres{
    grid-template-columns: 1fr;
  }

  .mission-layout{
    grid-template-columns: 1fr;
  }
  .mission-photo img{
    height: 420px;
  }

  .edenday-top{
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
    text-align: center;
  }
  .edenday-text{
    font-size: 1.25rem;
    text-align: left;
  }
  .edenday-posters{
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.2rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .edenday-posters::-webkit-scrollbar{
    display: none;
  }
  .edenday-posters .poster-card{
    flex: 0 0 75%;
    scroll-snap-align: center;
  }
  .poster-card img{
    height: 360px;
  }

  .footer-content{
    grid-template-columns: 1fr;
  }

  .payment-details{
    grid-template-columns: 1fr;
  }
}

/* =========================
   TELEPHONE UNIQUEMENT
========================= */
@media (max-width: 768px) {

  /* Stoppe les micro-débordements */
  body, section {
    overflow-x: hidden;
  }

  /* Supprime les décalages fantômes */
  .fade-in {
    transform: none;
  }

  /* Réduit les paddings trop généreux */
  .vision-section,
  .mission-section,
  .edenday-section,
  .investment-section {
    padding: 4.5rem 1.4rem;
  }

  /* Sécurise les images */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* ================
   ACCESSIBILITÉ
================ */
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* ================
   WHATSAPP BUTTON
================ */
.btn-whatsapp{
  background: #25D366;
  color: #0b2b14 !important;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-whatsapp:hover{ transform: translateY(-2px); }

/* ================
   DROPDOWN PROJETS
================ */
.nav-item.dropdown{ position: relative; }

.dropdown-toggle{ cursor: pointer; }

.dropdown-menu{
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 180px;
  background: var(--blanc);
  border-radius: 14px;
  box-shadow: 0 15px 50px rgba(62,34,82,0.18);
  padding: .6rem;
  list-style: none;
  display: none;
  z-index: 1400;
}

.dropdown-menu a{
  display: block;
  padding: .55rem .7rem;
  border-radius: 10px;
}

.dropdown-menu a:hover{
  background: rgba(253, 181, 21, 0.14);
}

/* Desktop: hover ouvre */
@media (min-width: 969px){
  .nav-item.dropdown:hover .dropdown-menu{ display: block; }
}

/* Mobile: on ouvre via JS avec .open */
.nav-item.dropdown.open .dropdown-menu{ display: block; }

/* ================
   PROJETS (tabs)
================ */
.projects{
  max-width: 1000px;
  margin: 0 auto;
}

.projects-tabs{
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.project-tab{
  border: 0;
  background: rgba(62,34,82,0.08);
  color: var(--violet-profond);
  padding: .7rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.project-tab.active{
  background: linear-gradient(135deg, var(--jaune-or), #FFC947);
}

.project-panel{
  display: none;
  background: var(--blanc);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(62,34,82,0.10);
}

.project-panel.active{ display: block; }

.project-panel h3{
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: .8rem;
}

/* ================
   NEWSLETTER FORM
================ */
.newsletter-form{
  display: grid;
  gap: .6rem;
  max-width: 320px;
}

.newsletter-form input{
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  outline: none;
  font-size: 1rem;
}

.newsletter-form button{
  border: 0;
  border-radius: 12px;
  padding: .85rem 1rem;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, var(--jaune-or), #FFC947);
  color: var(--violet-profond);
}

.newsletter-hint{
  font-size: .85rem;
  opacity: .85;
  line-height: 1.4;
}

.newsletter-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* =========================
   LANGUAGE DROPDOWN
========================= */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 2px solid var(--violet-profond);
  color: var(--violet-profond);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.lang-dropdown-toggle:hover {
  background: rgba(62, 34, 82, 0.08);
}

.lang-dropdown-toggle .lang-arrow {
  font-size: 0.55rem;
  transition: transform 0.25s ease;
}

.lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--blanc);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(62, 34, 82, 0.18);
  padding: 0.4rem;
  z-index: 1500;
  min-width: 100%;
}

.lang-dropdown.open .lang-dropdown-menu {
  display: block;
}

.lang-option {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--violet-profond);
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: left;
  white-space: nowrap;
}

.lang-option:hover {
  background: rgba(62, 34, 82, 0.08);
}

.lang-option.active {
  background: var(--violet-profond);
  color: var(--blanc);
}

/* Mobile: show lang dropdown inline */
@media (max-width: 1080px) {
  .lang-dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
    padding: 0.3rem 0;
  }
  .lang-dropdown.open .lang-dropdown-menu {
    display: flex;
    gap: 0.3rem;
  }
  .lang-option {
    text-align: center;
  }
}

/* Legacy .lang-switcher/.lang-btn fallback (hidden on desktop, usable on mobile) */
.lang-switcher { display: none; }

/* =========================
   FOUC PREVENTION (i18n)
========================= */
html:not([data-i18n-ready]) body {
  opacity: 0;
}
html[data-i18n-ready] body {
  opacity: 1;
  transition: opacity 0.15s ease;
}

/* =========================
   POSTER LIGHTBOX
========================= */
.poster-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.poster-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
}
.poster-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}
.poster-lightbox-close:hover {
  color: var(--jaune-or);
}

.poster-img img {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.poster-img img:hover {
  transform: scale(1.03);
}