/* ==========================================
   SYLVETTE PERDAEMS
   RÉFLEXOLOGIE & BIEN-ÊTRE

   STYLE : NATURE PREMIUM
   ========================================== */

/* 01 — TYPOGRAPHIES */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');


/* 02 — VARIABLES */

:root {
  --pine: #193f32;
  --pine-dark: #102c23;
  --pine-light: #52715a;

  --sage: #a5b7a0;
  --cream: #faf8f3;
  --linen: #eae3d5;
  --white: #ffffff;

  --text: #26372e;
  --muted: #66736a;

  --gold: #c7ae83;

  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;

  --radius: 18px;
  --container: 1180px;

  --shadow: 0 18px 50px rgba(16, 44, 35, 0.09);

  --transition: 0.3s ease;
}


/* 03 — RESET */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--sage);
  color: var(--pine-dark);
}

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


/* 04 — TYPOGRAPHIE */

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3.3rem, 6vw, 6.4rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p {
  margin-bottom: 1.2rem;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 22px;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  color: var(--pine-light);
}


/* 05 — CONTAINERS */

.container {
  width: min(90%, var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section.alt {
  background: #f0eee7;
}

.section.dark {
  background: var(--pine);
  color: var(--white);
}

.section.dark .eyebrow {
  color: var(--gold);
}


/* ==========================================
   06 — HEADER / NAVIGATION
   ========================================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(250, 248, 243, 0.97);
  border-bottom: 1px solid rgba(25, 63, 50, 0.09);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  width: min(94%, 1400px);
  min-height: 94px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  flex-shrink: 0;

  font-family: var(--font-title);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;

  color: var(--pine);
}

.brand small {
  display: block;
  margin-top: 7px;

  font-family: var(--font-body);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.22em;

  color: var(--pine-light);
}

.links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
}

.links a {
  position: relative;

  font-size: 0.85rem;
  font-weight: 600;

  color: var(--text);
  transition: color var(--transition);
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;

  width: 0;
  height: 2px;

  background: var(--pine-light);
  transition: width var(--transition);
}

.links a:hover,
.links a[aria-current="page"] {
  color: var(--pine-light);
}

.links a:hover::after,
.links a[aria-current="page"]::after {
  width: 100%;
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--pine);

  font-size: 1.8rem;
  cursor: pointer;
}


/* ==========================================
   07 — BOUTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 15px 25px;

  background: var(--pine);
  color: var(--white);

  border: 1px solid var(--pine);
  border-radius: 5px;

  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.4;

  cursor: pointer;

  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  background: var(--pine-light);
  border-color: var(--pine-light);

  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn.light {
  background: var(--cream);
  color: var(--pine);
  border-color: var(--cream);
}

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

.btn.outline {
  background: transparent;
  color: var(--pine);
}

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


/* ==========================================
   08 — HERO
   ========================================== */

.hero {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;

  min-height: min(790px, 88svh);
  padding: 110px 0;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(10, 32, 24, 0.93) 0%,
      rgba(17, 48, 36, 0.83) 43%,
      rgba(17, 48, 36, 0.32) 100%
    ),
    url("foret.svg") center / cover no-repeat,
    var(--pine-dark);

  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(
      circle at 75% 40%,
      rgba(199, 174, 131, 0.12),
      transparent 42%
    );
}

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

  width: min(90%, var(--container));
  margin: auto;
}

.hero .eyebrow {
  color: #e2d0a9;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 30px;

  color: var(--white);
}

.hero p {
  max-width: 590px;
  margin-bottom: 36px;

  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.95;

  color: rgba(255, 255, 255, 0.88);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}


/* ==========================================
   09 — INTRODUCTION
   ========================================== */

.intro {
  width: min(90%, 830px);
  margin: 0 auto 65px;

  text-align: center;
}

.intro h2 {
  margin-bottom: 25px;
  color: var(--pine);
}

.intro p {
  max-width: 740px;
  margin: 0 auto 18px;

  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.95;
}


/* ==========================================
   10 — CARTES
   ========================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 42px 35px;
  min-height: 280px;

  background: var(--white);
  border: 1px solid rgba(25, 63, 50, 0.07);
  border-radius: var(--radius);

  box-shadow: 0 8px 30px rgba(16, 44, 35, 0.035);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(82, 113, 90, 0.25);
}

.card .num {
  display: inline-block;
  margin-bottom: 34px;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;

  color: var(--pine-light);
}

.card h3 {
  margin-bottom: 18px;
  color: var(--pine);
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.card p strong {
  color: var(--pine);
  font-size: 1.1rem;
}

.card a:not(.btn) {
  margin-top: auto;
  padding-top: 15px;

  color: var(--pine);
  font-size: 0.85rem;
  font-weight: 700;

  transition: color var(--transition);
}

.card a:not(.btn):hover {
  color: var(--pine-light);
}


/* ==========================================
   11 — SECTIONS EN DEUX COLONNES
   ========================================== */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.split h2 {
  margin-bottom: 28px;
  color: var(--pine);
}

.split p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.95;
}

.split .btn {
  margin-top: 15px;
}

.visual {
  position: relative;
  min-height: 470px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 35px;

  background: #e1e7dc;
  border-radius: 220px 220px 18px 18px;

  overflow: hidden;
}

.visual img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;

  transition: transform 0.7s ease;
}

.visual:hover img {
  transform: scale(1.05);
}

.portrait {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center top;

  border-radius: 220px 220px 18px 18px;

  box-shadow: var(--shadow);
}


/* ==========================================
   12 — DÉROULEMENT D'UNE SÉANCE
   ========================================== */

.section.dark h2 {
  max-width: 750px;
  margin-bottom: 25px;
}

.section.dark > .container > p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.75);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;

  margin-top: 65px;
}

.step {
  position: relative;

  padding: 35px 25px 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.step strong {
  display: block;
  margin-bottom: 35px;

  font-family: var(--font-title);
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1;

  color: var(--gold);
}

.step h3 {
  margin-bottom: 20px;
  color: var(--white);
}

.step p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
}


/* ==========================================
   13 — BANDEAU RÉSERVATION
   ========================================== */

.banner {
  position: relative;
  overflow: hidden;

  padding: 110px 20px;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(199, 174, 131, 0.15),
      transparent 45%
    ),
    var(--pine-dark);

  color: var(--white);
  text-align: center;
}

.banner .eyebrow {
  color: var(--gold);
}

.banner h2 {
  max-width: 760px;
  margin: 0 auto 25px;
}

.banner p {
  max-width: 570px;
  margin: 0 auto 35px;

  color: rgba(255, 255, 255, 0.8);
}

.banner .btn {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--pine);
}

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


/* ==========================================
   14 — FOOTER
   ========================================== */

footer {
  padding: 65px 0 40px;

  background: #0d261e;
  color: var(--white);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 45px;
}

footer strong {
  display: block;
  margin-bottom: 12px;

  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 500;
}

footer p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.75);
}

footer small {
  display: block;
  max-width: 480px;

  color: rgba(255, 255, 255, 0.58);
  line-height: 1.8;
}

footer a {
  transition: color var(--transition);
}

footer a:hover {
  color: var(--gold);
}


/* ==========================================
   15 — ÉLÉMENTS DES PAGES SECONDAIRES
   ========================================== */

.page-hero {
  padding: 95px 0;
  background: var(--pine);
  color: var(--white);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.page-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.8);
}

.page-hero .eyebrow {
  color: var(--gold);
}

.content {
  width: min(90%, 850px);
  margin-inline: auto;
}

.content h2,
.content h3 {
  margin: 35px 0 20px;
  color: var(--pine);
}

.content p,
.content li {
  color: var(--muted);
  line-height: 1.9;
}

.content ul {
  padding-left: 25px;
  margin-bottom: 25px;
}

.content li {
  margin-bottom: 10px;
}


/* ==========================================
   16 — ANIMATIONS
   ========================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .eyebrow {
  animation: fadeUp 0.7s ease both;
}

.hero h1 {
  animation: fadeUp 0.85s 0.1s ease both;
}

.hero p {
  animation: fadeUp 0.85s 0.2s ease both;
}

.hero .actions {
  animation: fadeUp 0.85s 0.3s ease both;
}


/* ==========================================
   17 — RESPONSIVE TABLETTE
   ========================================== */

@media (max-width: 1100px) {

  .nav {
    gap: 15px;
  }

  .brand {
    font-size: 1.4rem;
  }

  .links {
    gap: 15px;
  }

  .links a {
    font-size: 0.78rem;
  }

  .nav > .btn {
    padding: 12px 15px;
    font-size: 0.75rem;
  }

  .split {
    gap: 45px;
  }

  .card {
    padding: 32px 25px;
  }

}


/* ==========================================
   18 — RESPONSIVE MOBILE
   ========================================== */

@media (max-width: 850px) {

  .section {
    padding: 75px 0;
  }

  .nav {
    min-height: 78px;
    flex-wrap: wrap;
  }

  .brand {
    margin-right: auto;
  }

  .menu {
    display: block;
    order: 2;
  }

  .nav > .btn {
    order: 1;
  }

  .links {
    display: none;
    order: 3;

    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 12px 0 22px;
  }

  .links.open {
    display: flex;
  }

  .links a {
    padding: 14px 5px;
    font-size: 0.95rem;

    border-bottom: 1px solid rgba(25, 63, 50, 0.08);
  }

  .links a::after {
    display: none;
  }

  .hero {
    min-height: 650px;
    padding: 95px 0;

    background-position: center;
  }

  .hero h1 {
    font-size: clamp(3rem, 9vw, 4.7rem);
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 380px;
  }

  .portrait {
    max-width: 550px;
    margin-inline: auto;
  }

  .steps {
    gap: 20px;
  }

  .step strong {
    font-size: 3rem;
  }

}


/* ==========================================
   19 — PETITS ÉCRANS
   ========================================== */

@media (max-width: 600px) {

  .nav {
    width: 92%;
  }

  .brand {
    font-size: 1.22rem;
  }

  .brand small {
    font-size: 0.49rem;
  }

  .nav > .btn {
    padding: 10px 12px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 610px;
    padding: 85px 0;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  .hero p {
    font-size: 0.98rem;
    line-height: 1.8;
  }

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

  .actions .btn {
    width: 100%;
  }

  .intro {
    margin-bottom: 45px;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
    padding: 32px 28px;
  }

  .card .num {
    margin-bottom: 20px;
  }

  .visual {
    min-height: 320px;
    padding: 25px;
  }

  .steps {
    margin-top: 40px;
  }

  .step {
    padding: 25px 0;
  }

  .step strong {
    margin-bottom: 20px;
  }

  .banner {
    padding: 80px 20px;
  }

  footer .container {
    flex-direction: column;
    gap: 35px;
  }

}


/* ==========================================
   20 — ACCESSIBILITÉ
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}


/* ==========================================
   ANIMATIONS AU DÉFILEMENT
   ========================================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header après défilement */

header.scrolled {
  box-shadow: 0 8px 30px rgba(16, 44, 35, 0.08);
}

/* Effet de décalage des cartes */

.cards .card:nth-child(2) {
  transition-delay: 0.1s;
}

.cards .card:nth-child(3) {
  transition-delay: 0.2s;
}

/* Accessibilité */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================
   PAGE QUI SUIS-JE
   ========================================== */

/* Bandeau d'introduction */

.page-hero {
  position: relative;
  overflow: hidden;

  padding: 115px 0;

  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(199, 174, 131, 0.13),
      transparent 45%
    ),
    var(--pine);

  color: var(--white);
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 28px;
}

.page-hero p {
  max-width: 620px;
  font-size: 1.1rem;
  line-height: 1.9;
}

/* Valeurs sur fond vert */

.section.dark .intro h2 {
  color: var(--white);
}

.section.dark .intro p {
  color: rgba(255, 255, 255, 0.78);
}

.section.dark .card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.section.dark .card:hover {
  background: rgba(255, 255, 255, 0.11);
}

.section.dark .card h3 {
  color: var(--white);
}

.section.dark .card p {
  color: rgba(255, 255, 255, 0.78);
}

.section.dark .card .num {
  color: var(--gold);
}

/* Responsive */

@media (max-width: 600px) {
  .page-hero {
    padding: 80px 0;
  }

  .page-hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.7rem);
  }
}


/* ==========================================
   PAGE SERVICES & TARIFS
   ========================================== */

/* Images des prestations */

.service-visual {
  position: relative;
  width: 100%;
  min-height: 470px;

  overflow: hidden;
  border-radius: 220px 220px 18px 18px;

  background: var(--linen);
}

.service-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;

  object-fit: cover;

  transition: transform 0.8s ease;
}

.service-visual:hover img {
  transform: scale(1.05);
}

/* Bloc tarif */

.service-price {
  display: flex;
  align-items: center;
  gap: 45px;

  margin: 30px 0;
  padding: 24px 0;

  border-top: 1px solid rgba(25, 63, 50, 0.15);
  border-bottom: 1px solid rgba(25, 63, 50, 0.15);
}

.service-price div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.service-price span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.service-price strong {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--pine);
}

/* Carte cadeau */

.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 100%;
  min-height: 360px;
  padding: 35px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(199, 174, 131, 0.22),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #193f32,
      #102c23
    );

  color: var(--white);

  border-radius: 14px;
  box-shadow: var(--shadow);
}

.gift-card::after {
  content: "";
  position: absolute;

  width: 300px;
  height: 300px;

  right: -100px;
  bottom: -150px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;

  pointer-events: none;
}

.gift-card-label,
.gift-card-footer {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--gold);
}

.gift-card-content span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.gift-card-content h3 {
  margin: 18px 0;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--white);
}

.gift-card-content p {
  color: rgba(255, 255, 255, 0.75);
}

/* Responsive */

@media (max-width: 850px) {

  .service-visual,
  .service-visual img {
    min-height: 380px;
  }

}

@media (max-width: 600px) {

  .service-visual,
  .service-visual img {
    min-height: 320px;
  }

  .service-price {
    gap: 30px;
  }

  .service-price strong {
    font-size: 1.45rem;
  }

  .gift-card {
    min-height: 320px;
    padding: 28px;
  }

}


/* ==========================================
   PAGE CONTACT & HORAIRES
   ========================================== */

/* Grille principale */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.contact-info h2,
.contact-form-wrapper h2 {
  margin-bottom: 25px;
  color: var(--pine);
}

.contact-info > p,
.contact-form-wrapper > p {
  margin-bottom: 40px;
  color: var(--muted);
}

/* Coordonnées */

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;

  padding: 25px 0;

  border-bottom: 1px solid
    rgba(25, 63, 50, 0.12);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 48px;
  height: 48px;

  background: #e5ebe2;
  color: var(--pine);

  border-radius: 50%;
  font-size: 1.3rem;
}

.contact-detail h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  color: var(--pine);
}

.contact-detail p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-detail a {
  font-weight: 700;
  color: var(--pine);
}

.contact-detail a:hover {
  color: var(--pine-light);
}

/* Formulaire */

.contact-form-wrapper {
  padding: 45px;

  background: var(--white);
  border: 1px solid rgba(25, 63, 50, 0.08);
  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pine);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;

  border: 1px solid #d8dfd6;
  border-radius: 6px;

  background: #fafbf8;
  color: var(--text);

  outline: none;

  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pine-light);
  box-shadow: 0 0 0 3px
    rgba(82, 113, 90, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #89948a;
}

.form-notice {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Carte horaires */

.hours-card {
  padding: 50px;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(199, 174, 131, 0.16),
      transparent 50%
    ),
    var(--pine);

  color: var(--white);
  border-radius: var(--radius);
}

.hours-card .eyebrow {
  color: var(--gold);
}

.hours-card h3 {
  margin-bottom: 20px;
  color: var(--white);
}

.hours-card p {
  color: rgba(255, 255, 255, 0.78);
}

.hours-card a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.hours-card a:hover {
  color: var(--gold);
}

.hours-divider {
  height: 1px;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive */

@media (max-width: 900px) {

  .contact-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {

  .contact-form-wrapper {
    padding: 28px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hours-card {
    padding: 35px 28px;
  }

}


/* ==========================================
   PAGE RÉSERVATION
   ========================================== */

.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

/* Choix de prestation */

.booking-options {
  display: flex;
  flex-direction: column;
  gap: 18px;

  margin: 0;
  padding: 0;

  border: 0;
  min-width: 0;
}

.booking-legend {
  margin-bottom: 22px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pine);
}

.booking-option {
  display: flex;
  align-items: flex-start;
  gap: 20px;

  padding: 28px;

  background: var(--white);
  border: 1px solid #dce4d9;
  border-radius: 12px;

  cursor: pointer;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.booking-option:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--sage);
}

.booking-option:has(input:checked) {
  border: 2px solid var(--pine);
  background: #f5f8f3;
}

.booking-option:has(input:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.booking-option input {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-top: 5px;

  accent-color: var(--pine);
  cursor: pointer;
}

.booking-option-content {
  display: block;
  flex: 1;
  min-width: 0;
}

.booking-option-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  color: var(--pine);
}

.booking-option-top strong {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
}

.booking-option-top > span {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.15rem;
}

.booking-option-description {
  display: block;
  margin-top: 10px;

  font-size: 0.9rem;
  color: var(--muted);
}

.booking-option-duration {
  display: inline-block;
  margin-top: 15px;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;

  color: var(--pine-light);
}

/* Récapitulatif */

.booking-summary {
  position: sticky;
  top: 115px;

  padding: 40px;

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(199, 174, 131, 0.17),
      transparent 45%
    ),
    var(--pine);

  color: var(--white);
  border-radius: var(--radius);
}

.booking-summary .eyebrow {
  color: var(--gold);
}

.booking-summary h2 {
  margin-bottom: 35px;
  font-size: 2.5rem;
  color: var(--white);
}

.booking-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;

  padding: 16px 0;
}

.booking-summary-line span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.booking-summary-line strong {
  max-width: 60%;
  text-align: right;
  font-size: 0.95rem;
  color: var(--white);
}

.booking-summary-divider {
  height: 1px;
  margin: 22px 0;

  background: rgba(255, 255, 255, 0.2);
}

.booking-summary > p {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.booking-call {
  width: 100%;
}

.booking-contact-link {
  display: block;
  margin-top: 20px;

  text-align: center;
  font-size: 0.85rem;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.booking-summary small {
  display: block;
  margin-top: 28px;

  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  line-height: 1.7;
}

/* Responsive */

@media (max-width: 900px) {

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
  }

}

@media (max-width: 600px) {

  .booking-option {
    padding: 22px 18px;
    gap: 13px;
  }

  .booking-option-top strong {
    font-size: 1.15rem;
  }

  .booking-summary {
    padding: 30px 25px;
  }

  .booking-summary h2 {
    font-size: 2rem;
  }

}

/* ==========================================
   PAGE MENTIONS LÉGALES
   ========================================== */

.legal-hero {
  padding: 90px 0;
}

.legal-hero h1 {
  max-width: 850px;
}

/* Structure */

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 95px);
}

/* Sommaire */

.legal-sidebar {
  position: sticky;
  top: 120px;

  padding: 30px 25px;

  background: #f0eee7;
  border-radius: 12px;
}

.legal-sidebar .eyebrow {
  margin-bottom: 20px;
}

.legal-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.legal-sidebar a {
  display: block;
  padding: 10px 0;

  font-size: 0.85rem;
  color: var(--muted);

  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.legal-sidebar a:hover {
  color: var(--pine);
  padding-left: 5px;
}

/* Contenu */

.legal-content {
  min-width: 0;
}

.legal-section {
  padding-bottom: 55px;
  margin-bottom: 55px;

  border-bottom: 1px solid
    rgba(25, 63, 50, 0.12);

  scroll-margin-top: 120px;
}

.legal-section h2 {
  margin-bottom: 25px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--pine);
}

.legal-section h3 {
  margin: 35px 0 15px;
  font-size: 1.3rem;
  color: var(--pine);
}

.legal-section p {
  margin-bottom: 18px;
  line-height: 1.95;
  color: var(--muted);
}

.legal-section a:not(.btn) {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section a:not(.btn):hover {
  color: var(--pine-light);
}

/* Informations éditeur */

.legal-details {
  margin: 30px 0;

  background: var(--white);
  border: 1px solid rgba(25, 63, 50, 0.08);
  border-radius: 12px;

  overflow: hidden;
}

.legal-details > div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;

  padding: 18px 22px;

  border-bottom: 1px solid
    rgba(25, 63, 50, 0.08);
}

.legal-details > div:last-child {
  border-bottom: 0;
}

.legal-details dt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pine);
}

.legal-details dd {
  margin: 0;
  overflow-wrap: anywhere;

  font-size: 0.9rem;
  color: var(--muted);
}

/* Mise à jour */

.legal-update {
  margin-top: 20px;

  font-size: 0.8rem;
  font-style: italic;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 900px) {

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 20px;
  }

}

@media (max-width: 600px) {

  .legal-hero {
    padding: 75px 0;
  }

  .legal-sidebar nav {
    grid-template-columns: 1fr;
  }

  .legal-details > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .legal-section {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

}

/* Signature du créateur */

.site-credit {
  margin-top: 45px;
  padding-top: 22px;

  border-top: 1px solid rgba(255,255,255,0.12);

  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.site-credit strong {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ==========================================
   21 — CORRECTIONS ET OPTIMISATIONS FINALES
   ========================================== */

/* Signature du créateur : neutralise le style général de footer strong. */
footer .site-credit {
  width: min(90%, var(--container));
  margin: 45px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

footer .site-credit strong {
  display: inline;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* Cadrage homogène des photographies des prestations. */
.service-visual {
  height: 470px;
  min-height: 0;
}

.service-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

/* Évite les débordements dans les grilles. */
.split > *,
.contact-grid > *,
.booking-layout > * {
  min-width: 0;
}

/* Navigation au clavier. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Conserve la même épaisseur de bordure pendant la sélection. */
.booking-option {
  border-width: 2px;
  border-color: #dce4d9;
}

.booking-option:has(input:checked) {
  border-color: var(--pine);
}

@media (max-width: 850px) {
  .service-visual { height: 380px; }
  .service-visual img { height: 100%; min-height: 0; }
}

@media (max-width: 600px) {
  .nav { gap: 10px; }
  .nav > .btn { font-size: 0.65rem; padding: 10px; }
  .service-visual { height: 320px; }
  .service-visual img { height: 100%; min-height: 0; }
  .service-price { flex-wrap: wrap; }
  .booking-option-top { flex-wrap: wrap; gap: 8px; }
  .site-credit { line-height: 1.8; }
}

@media (max-width: 380px) {
  .nav > .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero .eyebrow,
  .hero h1,
  .hero p,
  .hero .actions { animation: none !important; }
}

/* ==========================================
   HARMONISATION DES PAGES SECONDAIRES
   ========================================== */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;

  min-height: 520px;
  padding: 90px 0;

  overflow: hidden;

  background:
    linear-gradient(
      110deg,
      rgba(16, 44, 35, 0.97),
      rgba(25, 63, 50, 0.92)
    ),
    url("foret.svg") center / cover no-repeat;

  color: var(--white);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  margin-bottom: 24px;
  color: var(--gold);
}

.page-hero h1 {
  max-width: 950px;
  margin-bottom: 28px;

  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.15;
  color: var(--white);
}

.page-hero p {
  max-width: 670px;
  margin-bottom: 0;

  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
}

/* Supprime les différences spécifiques
   de hauteur entre les pages */

.legal-hero {
  min-height: 520px;
  padding: 90px 0;
}

/* Responsive */

@media (max-width: 850px) {
  .page-hero,
  .legal-hero {
    min-height: 430px;
    padding: 75px 0;
  }
}

@media (max-width: 600px) {
  .page-hero,
  .legal-hero {
    min-height: 380px;
    padding: 65px 0;
  }

  .page-hero h1 {
    font-size: clamp(2.5rem, 9vw, 3.5rem);
  }
}

/* HERO ACCUEIL — PLUS FLUIDE */

.hero {
  min-height: 680px;
  padding: 85px 0;
}

@media (max-width: 850px) {
  .hero {
    min-height: 570px;
    padding: 75px 0;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 0;
    padding: 90px 0 75px;
  }
}

/* ==========================================
   ACCUEIL — HERO IMMERSIF ET FLUIDE
   ========================================== */

.hero {
  min-height: 0;
  padding: clamp(65px, 8vh, 100px) 0;

  background:
    linear-gradient(
      90deg,
      rgba(10, 32, 24, 0.93) 0%,
      rgba(17, 48, 36, 0.80) 48%,
      rgba(17, 48, 36, 0.32) 100%
    ),
    url("foret.svg") center / cover no-repeat,
    var(--pine-dark);
}

/* Titre légèrement plus compact */

.hero h1 {
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  line-height: 1.12;
  margin-bottom: 24px;
}

/* Texte d'introduction */

.hero p {
  margin-bottom: 28px;
  line-height: 1.8;
}

/* Tablette */

@media (max-width: 850px) {
  .hero {
    min-height: 0;
    padding: 75px 0;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .hero {
    min-height: 0;
    padding: 70px 0;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 10vw, 3.8rem);
  }

  .hero p {
    font-size: 0.95rem;
  }
}

/* ==========================================
   REFONTE — IDENTITÉ NATURE PREMIUM
   ========================================== */


/* 01 — ALIGNEMENT DU HEADER */

.nav {
  width: min(90%, var(--container));
  max-width: var(--container);
  margin-inline: auto;
}

/* Logo aligné avec le contenu */

.brand {
  margin-left: 0;
}


/* 02 — ACCUEIL IMMERSIF PLEIN ÉCRAN */

.hero {
  min-height: calc(100svh - 94px);

  display: flex;
  align-items: center;

  padding: 70px 0;

  background:
    linear-gradient(
      90deg,
      rgba(10, 32, 24, 0.94) 0%,
      rgba(17, 48, 36, 0.82) 45%,
      rgba(17, 48, 36, 0.30) 100%
    ),
    url("foret.svg") center / cover no-repeat,
    var(--pine-dark);

  color: var(--white);
}

/* Alignement du contenu de l'accueil */

.hero .wrap {
  width: min(90%, var(--container));
  margin-inline: auto;
}

/* Titre principal */

.hero h1 {
  max-width: 900px;

  font-size: clamp(3.2rem, 5.7vw, 6rem);
  line-height: 1.12;

  margin-bottom: 28px;
}

/* Description */

.hero p {
  max-width: 620px;
  line-height: 1.85;
}

/* Boutons de l'accueil */

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}


/* 03 — BOUTONS DES CARTES PRESTATIONS */

.cards .card a:not(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  min-height: 48px;

  margin-top: auto;
  padding: 12px 20px;

  border: 1.5px solid var(--pine);
  border-radius: 6px;

  background: transparent;
  color: var(--pine);

  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.4;

  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cards .card a:not(.btn):hover {
  background: var(--pine);
  color: var(--white);

  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 44, 35, 0.12);
}

/* Harmonisation des cartes */

.cards .card {
  display: flex;
  flex-direction: column;
}

.cards .card a:not(.btn) {
  align-self: flex-start;
}


/* 04 — RESPONSIVE TABLETTE */

@media (max-width: 850px) {

  .nav {
    width: 90%;
  }

  .hero {
    min-height: calc(100svh - 78px);
    padding: 65px 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 8vw, 4.7rem);
  }

}


/* 05 — RESPONSIVE MOBILE */

@media (max-width: 600px) {

  .nav {
    width: 92%;
  }

  .hero {
    min-height: calc(100svh - 78px);
    padding: 65px 0;
  }

  .hero .wrap {
    width: 92%;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 10vw, 3.8rem);
  }

  .hero p {
    font-size: 0.95rem;
  }

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

  .hero .actions .btn {
    width: 100%;
  }

  .cards .card a:not(.btn) {
    width: 100%;
    text-align: center;
  }

}

/* ==========================================
   NOUVEAU FOND — ACCUEIL UNIQUEMENT
   ========================================== */

.hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(10, 32, 24, 0.92) 0%,
      rgba(25, 63, 50, 0.70) 48%,
      rgba(25, 63, 50, 0.42) 100%
    ),
    url("hero-reflexologie.png");

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

@media (max-width: 600px) {
  .hero {
    background-position: 58% center;
  }
}


/* ==========================================
   ACCUEIL — SCHÉMA DE RÉFLEXOLOGIE
   ========================================== */

.visual:has(.schema-reflexologie) {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 500px;
  padding: 30px;

  background: #e5e9df;
  border-radius: 24px;

  overflow: hidden;
}

.visual .schema-reflexologie {
  display: block;

  width: 100%;
  height: 100%;
  max-height: 520px;

  object-fit: contain;
  object-position: center;

  border-radius: 12px;
}

/* Tablette */

@media (max-width: 850px) {

  .visual:has(.schema-reflexologie) {
    min-height: 400px;
    padding: 25px;
  }

  .visual .schema-reflexologie {
    max-height: 430px;
  }

}

/* Mobile */

@media (max-width: 600px) {

  .visual:has(.schema-reflexologie) {
    min-height: 350px;
    padding: 15px;
  }

  .visual .schema-reflexologie {
    max-height: 400px;
  }

}


/* ==========================================
   PRÉCAUTIONS — IMAGE SANS DOUBLE BORDURE
   ========================================== */

.visual.visual-precautions {
  position: relative;
  display: block;

  width: 100%;
  height: 560px;
  min-height: 0;

  margin: 0;
  padding: 0 !important;

  overflow: hidden;

  background: transparent !important;
  border: none !important;
  border-radius: 48% 48% 24px 24px;
}

.visual.visual-precautions img {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  max-width: none;
  max-height: none;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center;

  border: none;
  border-radius: 0 !important;
}

/* MOBILE */

@media (max-width: 600px) {
  .visual.visual-precautions {
    height: 400px;
  }
}


/* Navigation — page active */

/* Un seul indicateur de page active, compatible avec main.js et aria-current. */
.links a.active,
.links a[aria-current="page"] {
  color: var(--pine-light);
  border-bottom: 0;
}

.links a.active::after,
.links a[aria-current="page"]::after {
  width: 100%;
}

/* En menu mobile, le trait décoratif est masqué : conserver une indication visible. */
@media (max-width: 850px) {
  .links a.active,
  .links a[aria-current="page"] {
    color: var(--pine);
    font-weight: 700;
    background: rgba(165, 183, 160, 0.12);
  }
}

/* Défilement — compensation du header */

html {
  scroll-padding-top: 110px;
}

/* Accessibilité — animations réduites */

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
