:root {
  --cream: #F7EEE3;
  --sand: #E7D3BE;
  --peach: #EAC5AB;
  --rose: #D99C86;
  --terra: #B85B3D;
  --terra-d: #84402C;
  --brown: #382A25;
  --muted: #66524A;
  --white: #FFFBF7;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none !important
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4,
.ui {
  font-family: 'Jost', 'Avenir Next', 'Century Gothic', 'Segoe UI', sans-serif
}

img {
  max-width: 100%;
  height: auto
}

a {
  color: var(--terra-d)
}

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brown);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100
}

.skip:focus {
  left: 8px;
  top: 8px
}

/* En-tête */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
  position: relative;
  z-index: 10
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .8rem 0
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--brown)
}

.brand img {
  height: 44px;
  width: auto;
  display: block
}

.brand span {
  font-family: 'Jost', 'Avenir Next', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: .02em;
  line-height: 1.15
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav a {
  font-family: 'Jost', 'Avenir Next', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--brown);
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid transparent
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--terra)
}

.nav a.nav-tel {
  background: var(--terra-d);
  color: #fff;
  border-radius: 999px;
  padding: .5rem 1.1rem;
  border: 0
}

.nav a.nav-tel:hover {
  background: var(--brown)
}

.menu-btn {
  display: none;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  background: none;
  border: 2px solid var(--brown);
  color: var(--brown);
  border-radius: 999px;
  padding: .4rem 1rem;
  cursor: pointer
}

/* Boutons */
.btn {
  display: inline-block;
  font-family: 'Jost', 'Avenir Next', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--terra-d);
  color: #fff;
  border: 2px solid var(--terra-d);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s
}

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

.btn-ghost {
  background: transparent;
  color: var(--terra-d)
}

.btn-ghost:hover {
  background: var(--terra-d);
  border-color: var(--terra-d);
  color: #fff
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 48vw, 680px);

  display: flex;
  align-items: center;

  padding: clamp(3rem, 7vw, 6rem) 0;

  overflow: hidden;

  /*
   * IMAGE EN ARRIÈRE-PLAN
   * Le dégradé est placé au-dessus de l'image.
   */
  background:
    linear-gradient(
      90deg,
      var(--white) 0%,
      var(--white) 18%,
      rgba(255, 255, 255, 0.95) 30%,
      rgba(255, 255, 255, 0.75) 40%,
      rgba(255, 255, 255, 0.35) 55%,
      rgba(255, 255, 255, 0) 65%
    ),
    url("images/home-village.jpg");

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}


/* =========================
   CONTENU
========================= */

.hero .wrap {
  position: relative;
  z-index: 2;

  width: 100%;
}


.hero h1 {
  margin: 0 0 1.3rem;

  max-width: 11.5em;

  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.015em;
}


.hero .lead {
  max-width: 36rem;

  margin: 0;

  font-size: 1.25rem;
  line-height: 1.6;

  color: var(--muted);
}


/* =========================
   BOUTONS
========================= */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 1rem;

  margin-top: 2rem;
}


/* =========================
   ANCIEN SVG
========================= */

/* Plus besoin de l'ancien dessin */
.hero-art {
  display: none;
}


/* =========================
   TABLETTE
========================= */

@media (max-width: 900px) {

  .hero {
    min-height: 560px;

    background:
      linear-gradient(
        90deg,
        var(--white) 0%,
        var(--white) 15%,
        rgba(255, 255, 255, 0.94) 30%,
        rgba(255, 255, 255, 0.65) 45%,
        rgba(255, 255, 255, 0.15) 62%,
        rgba(255, 255, 255, 0) 75%
      ),
      url("image/image.png");

    background-size: cover;
    background-position: center right;
  }

  .hero .lead {
    max-width: 34rem;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .hero {
    min-height: 650px;

    align-items: flex-start;

    padding-top: 4rem;

    /*
     * Sur mobile on garde l'image derrière
     * mais on protège la lisibilité du texte.
     */
    background:
      linear-gradient(
        180deg,
        var(--white) 0%,
        rgba(255, 255, 255, 0.97) 28%,
        rgba(255, 255, 255, 0.80) 42%,
        rgba(255, 255, 255, 0.30) 60%,
        rgba(255, 255, 255, 0) 75%
      ),
      url("image/image.png");

    background-size: cover;
    background-position: center bottom;
  }


  .hero h1 {
    max-width: 100%;

    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 1.08;
  }


  .hero .lead {
    max-width: 100%;

    font-size: 1.1rem;
    line-height: 1.55;
  }


  .hero-actions {
    gap: .75rem;
    margin-top: 1.7rem;
  }
}


/* =========================
   PETITS TÉLÉPHONES
========================= */

@media (max-width: 400px) {

  .hero {
    min-height: 680px;
    padding-top: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0
}

.section-sand {
  background: var(--sand)
}

.section-peach {
  background: var(--peach)
}

.section h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.6rem);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -.01em;
  margin: 0 0 1rem
}

.section .lead {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2.5rem
}

.prose {
  max-width: 38rem
}

.prose p {
  margin: 0 0 1.2rem
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem
}

.trio article {
  border-top: 6px solid var(--rose);
  padding-top: 1.2rem
}

.trio article:nth-child(1) {
  border-color: var(--peach)
}

.trio article:nth-child(3) {
  border-color: var(--terra)
}

.trio h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 .5rem
}

.trio p {
  margin: 0 0 1rem
}

.trio a {
  font-family: 'Jost', sans-serif;
  font-weight: 500
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem
}

.steps li {
  counter-increment: step
}

.steps li::before {
  content: counter(step);
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 400;
  color: var(--terra);
  margin-bottom: .6rem
}

.steps h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 .4rem
}

.steps p {
  margin: 0
}

.zone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem
}

.zone p {
  margin: 0;
  max-width: 34rem
}

.zone strong {
  font-family: 'Jost', sans-serif;
  font-weight: 500
}

.cta {
  background: var(--rose);
  text-align: center
}

.cta h2 {
  margin-bottom: .6rem
}

.cta p {
  margin: 0 auto 1.8rem;
  max-width: 32rem
}

/* Page interne */
.page-head {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem)
}

.page-head h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.012em;
  margin: 0 0 1rem;
  max-width: 16em
}

.page-head .lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0
}

/* =========================
   FORMULES : PANNEAUX EN ARCHE
========================= */

.formulas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
  padding-bottom: 1rem;
}

.formula {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 180px 180px 20px 20px;
  overflow: hidden;
  scroll-margin-top: 1rem;
}


/* =========================
   HEADER DES FORMULES
========================= */

.formula-head {
  position: relative;

  min-height: 518px;
  box-sizing: border-box;

  padding: 4rem 1.5rem 2rem;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  background: var(--peach);
}

.f-confort .formula-head {
  background: var(--rose);
}

.f-serenite .formula-head {
  background: var(--terra-d);
  color: #fff;
}


/* =========================
   CHIP "LA PLUS COMPLÈTE"
========================= */

.formula-head .chip {
  position: absolute;
  top: 35px;;
  left: 50%;
  transform: translateX(-50%);

  display: inline-block;

  font-family: 'Jost', sans-serif;
  font-size: .85rem;
  font-weight: 500;

  background: var(--cream);
  color: var(--terra-d);

  padding: .15rem .8rem;
  border-radius: 999px;

  white-space: nowrap;
}


/* =========================
   TITRE
========================= */

.formula-head h2 {
  font-size: 1.9rem;
  font-weight: 500;

  margin: 0 0 .3rem;

  letter-spacing: 0;
}


/* =========================
   DESCRIPTION
========================= */

.formula-head .tag {
  font-style: italic;

  margin: 0 auto 1.4rem;

  max-width: 16rem;

  line-height: 1.4;
}


/* =========================
   PRIX
========================= */

.formula-head .price {
  font-family: 'Jost', sans-serif;

  font-size: 2.8rem;
  font-weight: 500;

  line-height: 1;
}

.formula-head .per {
  font-family: 'Jost', sans-serif;

  font-size: .95rem;

  margin: .2rem 0 0;
}

.formula-head .plus {
  font-family: 'Jost', sans-serif;

  font-size: 1.15rem;
  font-weight: 500;

  margin: .8rem 0 0;
}


/* =========================
   IMAGE
========================= */

.formula-photo {
  width: 100%;
  max-width: 272px;
  height: 150px;

  margin-top: auto;

  object-fit: cover;

  border-radius: 14px;

  display: block;
}


/* =========================
   CORPS
========================= */

.formula-body {
  padding: 1.6rem 1.6rem 2rem;
}

.formula-body .incl {
  font-family: 'Jost', sans-serif;
  font-weight: 500;

  margin: 0 0 1rem;
}

.formula-body h3 {
  font-size: 1rem;
  font-weight: 500;

  color: var(--terra-d);

  margin: 1.3rem 0 .5rem;
  padding-top: 1.1rem;

  border-top: 1px solid var(--sand);
}

.formula-body h3:first-of-type {
  margin-top: .2rem;
}


/* =========================
   LISTE
========================= */

.checks {
  list-style: none;

  margin: 0;
  padding: 0;
}

.checks li {
  position: relative;

  padding: .25rem 0 .25rem 1.8rem;

  font-size: 1.02rem;
  line-height: 1.5;
}

.checks li::before {
  content: "";

  position: absolute;

  left: 0;
  top: .62rem;

  width: 1.05rem;
  height: .7rem;

  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 11' fill='none' stroke='%23C2694B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.8l4 4L14.5 1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}


/* =========================
   AUTRES ÉLÉMENTS
========================= */

sup {
  font-size: .7em;
  line-height: 0;
}

.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem 2.4rem;

  list-style: none;

  margin: 0;
  padding: 0;
}

.extras li {
  border-left: 3px solid var(--terra);

  padding: .1rem 0 .1rem 1rem;
}

.extras h3 {
  font-size: 1.1rem;
  font-weight: 500;

  margin: 0 0 .25rem;
}

.extras p {
  margin: 0;

  font-size: 1rem;
  line-height: 1.5;

  color: var(--muted);
}

.tag-chip {
  display: inline-block;

  font-family: 'Jost', sans-serif;
  font-size: .8rem;
  font-weight: 500;

  background: var(--peach);
  color: var(--terra-d);

  padding: .05rem .65rem;

  border-radius: 999px;

  margin-left: .5rem;

  vertical-align: middle;
}

.notes {
  font-size: .92rem;
  color: var(--muted);

  line-height: 1.55;

  margin: 2.5rem 0 0;

  max-width: 46rem;
}

.notes p {
  margin: 0 0 .3rem;
}

/* À propos */
.about {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start
}

.principles {
  margin: 0;
  padding: 0;
  list-style: none
}

.principles li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--rose)
}

.principles li:last-child {
  border-bottom: 1px solid var(--rose)
}

.principles h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 .25rem
}

.principles p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55
}

.good-to-know {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 180px 180px 20px 20px;
  padding: 4rem 1.8rem 2rem
}

.founder {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: 2rem;
  margin: 2.4rem 0
}

.founder-portrait {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--peach)
}

.founder-text h2 {
  font-size: 1.25rem;
  margin: 0 0 .8rem
}

.founder-text p {
  margin: 0 0 .8rem;
  line-height: 1.6
}

.founder-text p:last-child {
  margin-bottom: 0
}

@media (max-width:560px) {
  .founder {
    flex-direction: column;
    align-items: center;
    text-align: center
  }
}

.good-to-know h2 {
  font-size: 1.5rem;
  text-align: center;
  margin: 0 0 1.2rem
}

.good-to-know ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1.02rem;
  line-height: 1.55
}

.good-to-know li {
  margin-bottom: .7rem
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start
}

.contact dl {
  margin: 0
}

.contact dt {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  margin-top: 1.4rem
}

.contact dt:first-child {
  margin-top: 0
}

.contact dd {
  margin: .15rem 0 0
}

.contact dd a {
  font-size: 1.15rem
}

form.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: clamp(1.4rem, 3vw, 2.2rem)
}

.field {
  margin-bottom: 1.15rem
}

.field label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  margin-bottom: .3rem
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  color: var(--brown);
  background: #fff;
  border: 1.5px solid #CDB8A6;
  border-radius: 10px;
  padding: .7rem .85rem
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--rose);
  border-color: var(--terra-d)
}

.field textarea {
  min-height: 8rem;
  resize: vertical
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.form-note {
  font-size: .92rem;
  color: var(--muted);
  margin: 1rem 0 0;
  line-height: 1.5
}

/* Pied de page */
.site-footer {
  background: var(--brown);
  color: var(--cream);
  padding: 3.5rem 0 2rem;
  font-size: 1rem
}

.site-footer a {
  color: var(--cream)
}

.foot {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem
}

.foot img {
  width: 190px;
  height: auto;
  display: block;
  margin-bottom: .8rem
}

.foot h2 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 .7rem;
  color: var(--rose)
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.foot li {
  margin-bottom: .35rem
}

.foot p {
  margin: 0 0 .4rem
}

.legal {
  border-top: 1px solid #5A4740;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  font-size: .9rem;
  color: #D9C8BA
}

.legal a {
  color: #D9C8BA
}

/* Mentions légales */
.legal-page h2 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 2rem 0 .5rem
}

.legal-page p {
  margin: 0 0 .8rem
}

/* Adaptation mobile */
@media (max-width:900px) {
  .formulas {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto
  }

  .trio,
  .steps,
  .extras {
    grid-template-columns: 1fr
  }

  .about,
  .contact {
    grid-template-columns: 1fr
  }

  .good-to-know {
    max-width: 460px
  }

  .foot {
    grid-template-columns: 1fr
  }
}

@media (max-width:820px) {
  .menu-btn {
    display: inline-flex
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    display: none
  }

  .nav.open {
    display: block
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .4rem 24px 1.2rem
  }

  .nav a {
    display: block;
    padding: .85rem 0;
    border-bottom: 1px solid var(--sand)
  }

  .nav a.nav-tel {
    margin-top: .8rem;
    text-align: center;
    border-radius: 999px
  }
}

@media (max-width:560px) {
  .row2 {
    grid-template-columns: 1fr
  }

  .brand span {
    font-size: .92rem
  }
}

.formula-photo {
  display: block;
  width: calc(100% - 3rem);
  margin: 1.6rem auto 0;
  border-radius: 14px;
  object-fit: cover;
  height: 150px
}

.photo-band {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  margin: 2.2rem 0 0
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block
}

.photo-band .tall {
  grid-row: 1 / span 1
}

@media (max-width:760px) {
  .photo-band {
    grid-template-columns: 1fr 1fr
  }

  .photo-band img:first-child {
    grid-column: 1 / -1;
    height: 220px
  }
}

.extras img.presta-thumb {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 0 .6rem
}

.about-flex {
  display: flex;
  gap: 2.4rem;
  align-items: flex-start
}

.about-flex .apropos-photo {
  flex: none;
  width: 260px;
  border-radius: 18px;
  object-fit: cover
}

@media (max-width:820px) {
  .about-flex {
    flex-direction: column
  }

  .about-flex .apropos-photo {
    width: 100%;
    height: 220px
  }
}


.about-me {
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}