/* =====================================================
   SÈVE FÉMININE — BASE
   Variables + reset + typo + background global
   ===================================================== */

/* ===================== VARIABLES / THEME ===================== */
:root{
  --bg:  #fff8f1;
  --bg2: #f7efe6;
  --paper: #fffdf9;

  --text:  #4a3a2f;
  --muted: #806a58;

  --accent:  #c78a63;
  --accent2: #e6b58a;

  --line:   rgba(205, 176, 150, 0.45);
  --shadow: 0 18px 45px rgba(68, 46, 30, 0.10);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

/* ===================== RESET SIMPLE ===================== */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{ overflow-x:hidden; }

body{
  margin:0;
  font-family: "Quicksand", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(255, 221, 196, 0.55), transparent 60%),
    radial-gradient(900px 600px at 95% 20%, rgba(240, 210, 180, 0.35), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

/* ===================== TYPOGRAPHIE ===================== */
h1, h2, h3{
  font-family: "Arsenica", serif;
  letter-spacing: -0.02em;
  margin:0 0 0.8rem;
  color:#3f2f25;
}
h1{ font-size: clamp(2.3rem, 4vw, 3.3rem); font-weight:500; line-height:1.05; }
h2{ font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight:500; }
h3{ font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight:400; }

p{
  margin:0 0 1rem;
  line-height:1.7;
  color:var(--muted);
}
html.nav-open,
body.nav-open {
  overflow: hidden;
}
/* =========================
   SECTION AVIS (image + filtre chaud)
   ========================= */

.reviews-section{
  position: relative;
  padding: 3.2rem 0;
  overflow: hidden;
  background: url("../assets/fond_avis.JPG") center/cover no-repeat;
}

/* Filtre marron à 60% */
.reviews-section::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(107, 75, 58, 0.60);
  pointer-events: none;
}

.reviews-inner{
  position: relative;
}

.reviews-title{
  text-align: center;
  color: #fff;
  margin: 0 0 1.6rem;
}

/* Grille : flèche | track | flèche */
.reviews-carousel{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;

  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0.2rem;
}

/* Flèches : cachées sur PC */
.reviews-nav{
  display: none;
  align-items: center;
  justify-content: center;

  width: auto;
  height: auto;
  border-radius: 50%;

  background: none;
  color: #fff;
  border: none;
  padding: 0 0.4rem; 

  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.reviews-nav:hover{
  background: rgba(255,255,255,0.16);
}

/* Track */
.reviews-track{
  display: flex;
  gap: 1.2rem;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;

  justify-content: center; /* PC: centre si tout tient */
}

.reviews-track::-webkit-scrollbar{ height: 0; }
.reviews-track{ scrollbar-width: none; }

/* Cartes */
.review-card{
  scroll-snap-align: center;
  flex: 0 0 320px;
  max-width: 320px;

  background: rgba(255,255,255,0.10);
  border: none;
  box-shadow: none;

  border-radius: 22px;
  padding: 1.6rem 1.6rem 1.3rem;

  text-align: center;
  color: #fff;
}

.review-quote{
  font-family: "Arsenica", serif;
  font-size: 64px;
  line-height: 1;
  color: rgba(255,255,255,0.85);
  margin: 0.2rem 0 0.6rem;
}

.review-text{
  margin: 0 0 0.9rem;
  color: rgba(255,255,255,0.95);
  font-size: 1rem;
  line-height: 1.6;
}

.review-author{
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.80);
}

/* MOBILE: 1 avis par écran + flèches visibles */
@media (max-width: 900px){
  .reviews-track{
    justify-content: flex-start;
  }

  .review-card{
    flex: 0 0 100%;
    max-width: 100%;
    padding: 1.8rem 1.4rem;
  }

  /* flèches visibles et bien sur les côtés */
  .reviews-nav{
    display: inline-flex;
  }
}
