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

body {
  background-image: url('../images/FOND.jpg');
  font-family: "Oldenburg", "Times New Roman", serif;
    font-weight: 300;
    font-size: 14px;
    color: #6B3F1F;
}

html, body {
  overflow: hidden;
  height: 100%;
  -webkit-overflow-scrolling: touch;
}

/* ─── HEADER ─── */
header {
  padding: 1rem;
  height: 150px;
  width: 90dvw;
  margin: 100px auto 0px;
  background-color: white;
  border-radius: 30px;
  overflow: hidden;
}

.headerimg{
    background-image: url('https://i.pinimg.com/1200x/00/be/88/00be887fdbfe6519adc87953577a8b10.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    height: 235px;
    aspect-ratio: 1 / 1;
    float: right;
}

nav{
    display: block;
    margin: -30px 00px 0px 30px;
    display: flex;
    gap: 5px;
}

.bouton{
    flex: none;
    width: 120px;
    background-color: rgba(111, 143, 62, 0.8);
    border-radius: 20px;
    padding: 5px;
    text-align: center;
}

a{
    color: #F5C96A;
    text-decoration: none;
    font-weight: bold;
}


h1{
    padding: 2.5rem;
    
}

/* ─── THREAD ─── */
.thread {
  position: fixed;
  z-index: -1;
  width: 65dvw;
  height: 100dvh;
  margin: 250px 17dvw 0;
  border-left: 10px solid white;
  border-right: 10px solid white;
}

/* ─── SCROLL ─── */
.scroll-container {
  width: 100%;
  height: calc(100dvh - 250px);
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.scroll-section {
  width: 100%;
  height: calc(100dvh - 250px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.scroll-section:last-child {
  padding-bottom: 5px; /* Pour un footer visible */
}

/* ─── BLOCS ─── */
.parent {
  width: 80dvw;
  height: calc(100dvh - 400px);
  padding: 2rem;
  margin: 0 auto;
  background-color: white;
  border-radius: 30px;
  overflow-y: hidden;
}


/* ─── FOOTER ─── */
.footer {
  width: 90dvw;
  height: 50px;
  padding: 1rem;
  margin: 20px auto;
  background-color: white;
  border-radius: 30px;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  .mobile-only { display: block; width: 100%;}
  .desktop-only { display: none; }
  
  h1{
    padding: 0.5rem;
    font-size: 20px;
}
  
  header {
  padding: 1rem;
  height: 70px;
  width: 100%;
  margin: 0px;
  background-color: white;
  border-radius: 0px 0px 30px 30px;
  overflow: hidden;
  position: relative;
}

.headerimg{
    background-image: url('https://i.pinimg.com/1200x/00/be/88/00be887fdbfe6519adc87953577a8b10.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    height: 100px;
    position: absolute;
    bottom: -50px;
    right: 0px;
    aspect-ratio: 1 / 1;
}

.thread {
  position: fixed;
  z-index: -1;
  width: 65dvw;
  margin: 50px 17dvw 0;
  border-left: 10px solid white;
  border-right: 10px solid white;
}

.scroll-container {
  width: 100%;
  height: calc(100dvh - 70px);
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.scroll-section {
  width: 100%;
  height: calc(100dvh - 70px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}


.parent {
  width: 100%;
  height: calc(100dvh - 100px);
  padding: 2rem;
  margin: 0 auto;
  background-color: white;
  border-radius:  30px 30px 0px 0px;
}

nav{
    display: none;
    margin: -30px 00px 0px 30px;
    display: flex;
    gap: 5px;
}

.bouton{
    flex: none;
    width: 120px;
    background-color: rgba(111, 143, 62, 0.8);
    border-radius: 20px;
    padding: 5px;
    text-align: center;
}
}






















