body {
    font-family: "Fraunces";
}

.hero {
    background: #062E12;
    padding-block: 170px 67px;
    position: relative;
    overflow: hidden;
}

.hero__content {
    margin-left: 22%;
    font-family: "Outfit";
}

.sun-icon,.section img {
    height: 38px;
    width: 38px;
}

.sun-icon {
    position: absolute;
    transform: translate(3px,40px);
    margin-bottom: 40px;
    animation: infinite-rotate 8s linear infinite;
}

.hero h1 {
    font-family: 'Fraunces';
    font-weight: 600;
    font-size: 62.9px;
    line-height: 66.56px;
    letter-spacing: -0.0225em;
    color: #f7f4ec;
    padding-block: 65px 2px;
    padding-left: 1px;
}

.hero h1 em {
    font-style: italic;
    color: #F0B95A;
}

.hero p{
    width: 526px;
    font-family: 'Outfit';
    font-weight: 400;
}

.subtitle {
    margin-top: 12px;
    max-width: 520px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #FAF6EEB8;
    font-family: 'Outfit';
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline: auto;
    margin-top: 20px;
    letter-spacing: -0.0225em;
    font-size: 13px;
    font-family: "Outfit";
    font-weight: 400;
    color: rgba(250, 246, 238, 0.55);
}

.badge img {
    width: 13px;
    height: 13px;
}

.double-ellipse {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    transform: translate(-15%, -60%);
    height: 100%;
}

.details-page {
    background-color: #FAF6EE;
    padding-block: 60px 0;
    position: relative;
    z-index: 5;
}

.soleil-cendre {
    position: absolute;
    right: 0;
    width: 150px;
}

.details-page>div {
    display: flex;
    gap: 10px;
    font-weight: 500;
    max-width: 1400px;
    padding-block: 0 80px;
    margin-left: 21%;
}

.details-page__left {
    width: 32%;
    padding: 10px 60px 10px 15px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.badge-numerote {
    color: rgba(173, 9, 14, 1);
    font-weight: 700;
    font-size: 14px;
    font-family: "Outfit";
    gap: 15px;
    display: flex;
    align-items: center;
    letter-spacing: 1.5px;
    padding-block: 0 15px;
}

.trait-rouge {
    display: inline-block;
    width: 25px;
    height: 2px;
    background-color: #AD090E;
}

.liste-points-detailles {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: fit-content;
    font-family: "Outfit";
    font-weight: 400;
    font-size: 14.1px;
}

.point-detaille {
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    text-align: left;
    padding-left: 55px;
    cursor: pointer;
    padding-block: 15px;
    transition: background-color 0.2s ease-in-out;
    color: #5C574C;
    text-decoration: none;
    font-family: "Outfit";
    letter-spacing: 0.5px;
}

.point-detaille:hover {
    background-color: #F3ECDD;
    font-weight: bold;
}

.point-detaille.ouverte {
    background-color: #F3ECDD;
    border-left: 3px solid #2c7a52;
    color: #0F6322;
    font-weight: bold;
}

.details-page__right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 1150px) {
    .details-page__right {
        width: 55%;
    }
}

.point-desc__section {
    scroll-margin-top: var(--decalage-ancre, 150px);
    font-size: 20px;
    margin-bottom: 30px;
}

.point-desc__header i {
    font-family: "Fraunces";
    font-style: italic; 
    font-weight: 400;
    font-size: 16px;
    margin-right: 10px;
    background-color: rgba(15, 99, 34, 0.08);
    padding: 10px 10px;
    border-radius: 10px;
    color: rgba(15, 99, 34, 1);
    
}

.point-desc__header span {
    font-family: "Fraunces";
    font-size: 22.4px;
    font-weight: 600;
    color: rgba(28, 26, 21, 1);
}

.point-desc__body {
    margin-top: 20px;
    font-family: "Outfit";
    font-weight: 400;
    font-size: 15.2px;
    color: rgba(92, 87, 76, 1);
    width: 676px;
    line-height: 1.6;
}

.point-desc__body-table {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    border: 2px solid #062E1237;
    color: #5C574C;
    border-radius: 10px;
    padding: 20px;
    background-color: #f2ead9;
    margin: 0;
    margin-bottom: 10px;
}

.point-desc__body-table>div {
    display: flex;
    padding: 10px 0;
    margin-inline: 20px;
    color: #5C574C;
}

.point-desc__body-table>div:nth-child(n+2) {
    border-top: 2px solid #062E1237;
}

.point-desc__body-table dt {
    width: 25%;
}

.point-desc__body-table dd {
    font-family: "Outfit";
    width: 70%;
    color: rgba(28, 26, 21, 1);
    font-weight: 600;
    font-size: 14.4px;
    margin: 0;
}

.liste_check {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check_yellow {
    font-weight: 530;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(28, 26, 21, 1);
    width: 676px;
    margin-top: 0.9px;
}

.check_yellow img {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    margin-top: 3px;
}

.check_p {
    line-height: 1.6;
    font-family: 'Outfit';
    font-weight: 400;
    font-size: 14.9px;
    margin: 0;
}

.important {
    background-color: rgba(221, 143, 30, 0.08);
    border-left: 3px solid rgba(221, 143, 30, 1);
    margin-right: 20.8px;
    margin-bottom:  17.6px;
    padding: 20px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    width: 676px;
}

.important span {
    font-size: 15px;
    color: rgba(28, 26, 21, 1);
    line-height: 23.94px;
    font-family: 'Outfit';
    font-weight: 400;
}

.important img {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

#email {
    color: rgba(15, 99, 34, 1);
    border-bottom: 1px solid rgba(221, 143, 30, 1);
}

#Email {
    color: rgba(15, 99, 34, 1);
}

.section {
    background: #f2ead9;
    padding-block: 70px;
    text-align: center;
    font-family: 'Fraunces';
}

.section h1 {
    font-weight: 600;
    font-size: 30px;
    color: #1c2b20;
    padding-block: 20px 5px;
}

.section h1 em {
    font-style: italic;
    color: rgba(15, 99, 34, 1);
}

.section__subtitle {
    text-align: center;
    padding-block: 15px;
    max-width: 650px;
    margin-inline: auto;
    font-family: 'Outfit';
    color: rgba(92, 87, 76, 1);
    font-weight: 400;
    font-size: 15.2px;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 9.58px;
    background: rgba(6, 46, 18, 1);
    color: #FAF6EE;
    font-size: 14.7px;
    font-weight: 500;
    font-family: 'Outfit';
    padding: 16px 40px;
    border-radius: 995px;
    border: none;
    cursor: pointer;
    letter-spacing: 0;
    transition: background-color 0.2s ease-in-out, gap 0.2s ease-in-out;
}

.cta-noir {
    background-color: #1C1A15;
}

.cta img {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease-in-out;
}

.cta:hover {
    background-color: #0F6322;
 }

.cta.cta-noir:hover {
    box-shadow: 0px 12px 40px #0f632360;
}

.cta:hover img {
    transform: translate(5px);
}

/* ============================================================
   PAGES LÃ‰GALES â€” RESPONSIVE (fin de fichier)
   Uniquement des @media (max-width:...) â†’ desktop > 1280px intact.
   (Header burger dÃ©jÃ  global dans main.css)

   --header-h : hauteur du header (sert Ã  coller le sommaire
   en onglets sous le header sur tablette/mobile). Ã€ ajuster si
   ton header fait une autre hauteur.
   ============================================================ */

:root {
  --header-h: 63px;
}

/* ---------- Palier large (â‰¤1280px) : fluide ---------- */
@media (max-width: 1280px) {
  :root {
    --pad-page: clamp(24px, 5vw, 64px);
  }

  html, body {
    overflow-x: hidden;
    overflow-x: clip;
  }

  img {
    max-width: 100%;
  }

  .hero {
    padding: 100px var(--pad-page) 67px;
  }

  .hero__content {
    margin-left: 0;
    max-width: 900px;
    position: relative;
    z-index: 1;
  }

  .hero h1 {
    font-size: clamp(38px, 5.5vw, 62.9px);
    line-height: 1.06;
    padding-top: clamp(48px, 8vw, 104px);
  }

  .hero p,
  .subtitle {
    width: 100%;
    max-width: 560px;
  }

  .double-ellipse {
    transform: translate(-15%, -60%) scale(0.85);
    transform-origin: top left;
    pointer-events: none;
    z-index: 0;
  }

  .soleil-cendre {
    pointer-events: none;
    z-index: -1;
  }

  .details-page > div {
    margin-left: 0;
    padding: 0 var(--pad-page) 80px;
    gap: 32px;
  }

  .details-page__left {
    flex: 0 0 280px;
    min-width: 0;
    width: auto;
    padding-right: 24px;
  }

  .details-page__right {
    flex: 1 1 0;
    min-width: 0;
  }

  .point-desc__body,
  .check_yellow,
  .important {
    width: 100%;
    box-sizing: border-box;
  }

  .important {
    margin-right: 0;
  }

  .point-desc__body-table dd,
  #email,
  #Email {
    overflow-wrap: anywhere;
  }

  .section h1 {
    font-size: clamp(26px, 3.5vw, 30px);
  }

  .section__subtitle {
    max-width: 650px;
    padding-inline: 16px;
  }
}

/* ---------- Tablette (â‰¤1024px) : sommaire en onglets dÃ©filants collÃ©s sous le header ---------- */
@media (max-width: 1024px) {
  /* Hero : icÃ´ne soleil dans le flux (Ã©vite le chevauchement avec le h1) */
  .sun-icon {
    position: static;
    display: block;
    transform: none;
    margin-bottom: 20px;
  }

  .hero h1 {
    padding-block: 0 2px;
  }

  /* Colonne unique */
  .details-page > div {
    flex-direction: column;
    gap: 24px;
  }

  /* Barre d'onglets sticky, pleine largeur */
  .details-page__left {
    flex: 0 0 auto;           /* annule le flex-basis 280px (qui devenait une hauteur en colonne) */
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    width: auto;
    margin-inline: calc(-1 * var(--pad-page));
    padding: 0 var(--pad-page);
    background: #FAF6EE;
  }

  .details-page__right {
    flex: 0 0 auto;
    width: 100%;
  }

  .badge-numerote {
    display: none;
  }

  .liste-points-detailles {
    position: relative;       /* rÃ©fÃ©rence pour offsetLeft dans sommaire-scroll.js */
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 4px;
    padding: 6px 0 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid rgba(6, 46, 18, 0.14);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .liste-points-detailles::-webkit-scrollbar {
    display: none;
  }

  .liste-points-detailles .point-detaille {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 10px 10px 0 0;
    padding: 12px 16px;
    white-space: nowrap;
    color: #5C574C;
    font-weight: 500;
    font-size: 14px;
  }

  .liste-points-detailles .point-detaille.ouverte {
    background: #F3ECDD;
    color: #0F6322;
    font-weight: 700;
    border: none;
    border-bottom: 3px solid #0F6322;
  }

  .point-desc__section {
    scroll-margin-top: var(--decalage-ancre, calc(var(--header-h) + 70px));
  }
}

/* ---------- Mobile (â‰¤768px) ---------- */
@media (max-width: 768px) {
  :root {
    --pad-page: 20px;
  }

  .hero {
    padding: 100px var(--pad-page) 56px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 40px);
    padding-top: 0;
  }

  .sun-icon {
    margin-bottom: 16px;
  }

  .double-ellipse {
    transform: translate(-15%, -60%) scale(0.6);
  }

  .soleil-cendre {
    width: 100px;
  }

  .details-page {
    padding-block: 40px 0;
  }

  .details-page > div {
    padding: 0 var(--pad-page) 60px;
  }

  .point-desc__header span {
    font-size: 19px;
  }

  /* Tableaux : empilÃ©s */
  .point-desc__body-table {
    padding: 16px;
  }

  .point-desc__body-table > div {
    flex-direction: column;
    gap: 4px;
    margin-inline: 0;
  }

  .point-desc__body-table dt,
  .point-desc__body-table dd {
    width: 100%;
  }

  .point-desc__body-table dt {
    font-size: 13px;
  }

  .important {
    width: 100%;
    margin-right: 0;
  }

  .section {
    padding: 56px 20px;
  }

  .cta {
    padding: 14px 28px;
    font-size: 13.5px;
  }
}

/* ---------- Petits tÃ©lÃ©phones (â‰¤480px) ---------- */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(28px, 10vw, 34px);
  }

  .liste-points-detailles .point-detaille {
    padding: 11px 12px;
    font-size: 13px;
  }

  .point-desc__section {
    font-size: 17px;
  }

  .point-desc__header i {
    padding: 8px 9px;
    margin-right: 8px;
  }

  .point-desc__header span {
    font-size: 18px;
  }

  .point-desc__body {
    font-size: 15px;
  }

  .important {
    padding: 16px;
  }

  .important img {
    margin-right: 12px;
  }

  .check_yellow {
    gap: 10px;
  }

  .check_yellow img {
    width: 20px;
    height: 20px;
  }

  .cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}