:root {
    --btn-color: #3B2A24;
    --btn-color-hover: #B67A5B;
    --fond-bordeaux: #2D0329;
    --texte-color: #000000;
    --title-H1: 96px;
    --title-H2: 64px;
    --color-cards: #7A5C4D;
    --font-texte: "Manrope", sans-serif;
    --font-titre: "Fraunces", serif;
    --font-sous-titre: "Satisfy", cursive;
}



.body {
  font-family: "Fraunces", serif;
  color:#F5EDE7;
  font-size: 96px;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}


[class*="col-"] {
    min-height: 80px;
    padding: 0 10px;
    box-sizing: border-box;
}

.col-1 { flex-basis: 8.33%; max-width: 8.33%;}
.col-2 { flex-basis: 16.66%; max-width: 16.66%;}
.col-3 { flex-basis: 25%; max-width: 25%;}
.col-4 { flex-basis: 33.33%; max-width: 33.33%;}
.col-5 { flex-basis: 41.66%; max-width: 41.66%;}
.col-6 { flex-basis: 50%; max-width: 50%;}
.col-7 { flex-basis: 58.33%; max-width: 58.33%;}
.col-8 { flex-basis: 66.66%; max-width: 66.66%;}
.col-9 { flex-basis: 75%; max-width: 75%;}
.col-10 { flex-basis: 83.33%; max-width: 83.33%;}
.col-11 { flex-basis: 91.66%; max-width: 91.66%;}
.col-12 { flex-basis: 100%; max-width: 100%;}

/*****navigation*****/

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(101, 67, 33, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Menu Desktop */

.navigation-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation-menu li:not(:last-child) {
    margin-right: 32px;
}

.navigation-menu__link {
    text-decoration: none;
    font-family: var(--font-titre);
}

.navigation-menu__link,
.navigation-menu__link:visited,
.navigation-menu__link:active {
    color: white;
}

.navigation-menu__link:hover {
    text-decoration: underline;
    color: var(--fond-bordeaux);
}

header {
    background: rgba(101, 67, 33, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Burger caché en desktop */

.burger {
    display: none;
    font-size: 32px;
    cursor: pointer;
}

.burger-dev {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    margin: 5px 0;
}

/* ===== HERO ===== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('img/hero_synderme.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 64px 300px;
    color: var(--texte-color);
}

.hero-titre {
    font-family: var(--font-titre);
    font-size: var(--title-H1);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 12px;
}

.hero-sous-titre {
    font-family: var(--font-titre);
    letter-spacing: 20%;
    width: 30%;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 32px;
}

.hero-texte {
    font-family: var(--font-texte);
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 28px;
    opacity: 0.9;
    width: 30%;
}

.phrase {
    display: flex;
    justify-content: center;
    background-color: #f0e8e4;
}

.phrase-histoire {
    padding-bottom: 24px;
}

.phrase-histoire p {
    font-family: var(--font-sous-titre);
    font-size: 48px;
}

/* origines synderme */

.origines {
    background-color: #f0e8e4;
    padding-bottom: 40px;
}

h2 {
    font-size: var(--title-H2);
    font-family: var(--font-titre);
    font-weight: 400;
}

.sous-texte {
    font-family: var(--font-texte);
    font-size: 20px;
}

.texte-explication {
    font-family: var(--font-titre);
    font-size: 16px;
    padding-bottom: 180px;
}

/* fabrication synderme */

.fabrication {
    background-color: #f0e8e4;
}



/* avantages synderme */

.avantages {
    background-color: #f0e8e4;
    padding-bottom: 40px;
}


/* pourquoi le synderme */

.hero-btn {
    display: inline-block;
    background: var(--btn-color);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

.hero-btn:hover {
    background: var(--btn-color-hover);
}

.texte-pourquoi {
    font-family: var(--font-titre);
    font-size: 16px;
    padding-bottom: 10px;
}

.padding {
    padding-bottom: 150px;
}


/* ===== NAVIGATION ANCRES ===== */

.synderme-wrapper {
    display: flex;
    align-items: flex-start;
    position: relative;
    background-color: #f0e8e4;
}

.ancres {
    position: sticky;
    top: 120px;
    width: 160px;
    flex-shrink: 0;
    padding: 20px;
}

.ancres ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ancre-lien {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #1a1a1a;
    white-space: nowrap;
    transition: font-weight 0.2s;
}

.ancre-lien:hover {
    font-weight: 700;
}

.ancre-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid #1a1a1a;
    flex-shrink: 0;
    transition: background 0.2s;
}

.ancre-lien:hover .ancre-dot,
.ancre-lien.active .ancre-dot {
    background: #1a1a1a;
}

.synderme-content {
    flex: 1;
    min-width: 0;
}










/* ===== CTA SECTION ===== */

.cta-section {
    position: relative;
    background-color: #f0e8e4;
    overflow: hidden;
    height: 520px;
}

.cta-vague {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.cta-vague svg {
    display: block;
    width: 100%;
    height: 320px;
}

.cta-content {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 4;
    white-space: nowrap;
}

.cta-texte {
    font-family: var(--font-texte);
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    background: #B7A9C0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: black;
    padding: 14px 40px;
    font-family: var(--font-texte);
    font-size: 20px;
    text-decoration: none;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: var(--btn-color-hover);
    color: white;
}

.logo-footer {
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    position: relative;
}

/* ===== FOOTER ===== */

.footer {
    background-color: var(--fond-bordeaux);
    padding: 48px 64px 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-newsletter {
    max-width: 520px;
}

.footer-newsletter__titre {
    font-family: var(--font-texte);
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.footer-newsletter__form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.footer-newsletter__form input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-family: var(--font-texte);
    font-size: 20px;
    flex: 1;
}

.footer-newsletter__form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.footer-newsletter__form button {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0 8px;
    transition: opacity 0.2s;
}

.footer-newsletter__form button:hover {
    opacity: 0.7;
}

.footer-newsletter__mentions {
    font-family: var(--font-texte);
    font-size: 11px;
    color: white;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-social p {
    font-family: var(--font-texte);
    font-size: 20px;
    color: white;
}

.footer-social a {
    font-family: var(--font-texte);
    font-size: 20px;
    color: white;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.footer-social a:hover {
    color: var(--btn-color-hover);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px;
}

.footer-bottom a,
.footer-bottom p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.footer-bottom a:hover {
    opacity: 1;
    text-decoration: underline;
}


/* ===== BURGER SAC (toutes tailles) ===== */

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 60px;
  position: relative;
  z-index: 300;
}

.burger-sac {
  width: 60px;
  height: auto;
  display: block;
}

.burger-sac--ouvert {
  display: none;
}

.burger.is-open .burger-sac--ferme {
  display: none;
}

.burger.is-open .burger-sac--ouvert {
  display: block;
}

/* Voile sombre derrière le menu */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 150;
}

.menu-overlay.active {
  display: block;
}



@media (max-width: 768px) {
    .col-12, .col-5, .col-7, .col-6, .col-4, .col-3, .col-1 {flex-basis: 100%; max-width: 100%;}

  /* ===== NAVIGATION ===== */

  .burger {
    display: block;
  }

  .navigation-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;

    position: fixed;
    top: 0;
    right: 0;
    width: 65%;
    height: 100vh;
    background-color: #3B2A24;
    z-index: 200;
    padding: 100px 20px 40px;

    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .navigation-menu.active {
    transform: translateX(0);
    display: flex;
  }

  .navigation-menu li:not(:last-child) {
    margin-right: 0;
  }

  .navigation-menu__link {
    font-size: 20px;
    color: white;
    font-family: var(--font-titre);
  }

  /* ===== HERO ===== */

  .hero {
    height: 100svh;
    background-position: center;
    align-items: flex-end;
    background-image: url('img/mobile_hero_synderme.png');
  }

  .hero-content {
    padding: 0 24px 490px;
    width: 50%;
  }

  .hero-titre {
    font-size: 48px;
    margin-bottom: 8px;
  }

  .hero-sous-titre {
    font-size: 18px;
    width: 100%;
    letter-spacing: normal;
    margin-bottom: 16px;
  }

  .hero-texte {
    font-size: 15px;
    width: 100%;
    margin-bottom: 20px;
  }

  /* ===== PHRASE ===== */

  .phrase-histoire p {
    font-size: 24px;
    text-align: center;
    padding: 0 20px;
  }

  /* ===== NAVIGATION ANCRES ===== */

  /* On cache la nav ancre sticky sur mobile */
  .ancres {
    display: none;
  }

  /* Le wrapper n'est plus en flex côte à côte */
  .synderme-wrapper {
    flex-direction: column;
  }

  .synderme-content {
    width: 100%;
  }

  /* ===== SECTIONS SYNDERME ===== */

  /* Toutes les rows passent en colonne */
  .origines .row,
  .fabrication .row,
  .avantages .row {
    flex-direction: column;
  }

  .col-6 {
    flex-basis: 100%;
    max-width: 100%;
  }

  h2 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .sous-texte {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .texte-explication {
    font-size: 14px;
    padding-bottom: 32px;
  }

  .texte-pourquoi {
    font-size: 14px;
    padding-bottom: 8px;
  }

  /* Images pleine largeur */
  .origines img,
  .fabrication img,
  .avantages img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    display: block;
  }

  .img-pourquoi {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    display: block;
  }

  /* Padding section pourquoi */
  .padding {
    padding-bottom: 40px;
  }

  /* Bouton pleine largeur */
  .hero-btn {
    display: block;
    text-align: center;
    margin-top: 20px;
  }

  /* ===== CTA SECTION ===== */

  .cta-section {
    height: 155px;
  }

  .cta-vague svg {
    height: 110px;
  }

  .cta-content {
    bottom: 0;
    white-space: normal;
    width: 90%;
    text-align: center;
  }

  .cta-texte {
    font-size: 10px;
    margin-bottom: 14px;
  }

  .cta-btn {
    font-size: 15px;
    padding: 12px 28px;
  }

  .logo-footer {
    width: 60%;
    margin: 0 auto;
    display: block;
  }

  /* ===== FOOTER ===== */

  .footer {
    padding: 40px 24px 60px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 32px;
  }

  .footer-newsletter {
    max-width: 100%;
  }

  .footer-newsletter__titre {
    font-size: 15px;
  }

  .footer-newsletter__form input {
    font-size: 16px;
  }

  .footer-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-social p,
  .footer-social a {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer-bottom a,
  .footer-bottom p {
    font-family: var(--font-texte);
    font-size: 12px;
    color: white;
    text-decoration: none;
    opacity: 0.8;
  }

  .footer-bottom a:hover {
    opacity: 1;
    text-decoration: underline;
  }

}
