:root {
  /* Fonds */
  --cream: #FBFAF0;
  /* fond de page */
  --cream-deep: #F3F1E4;
  /* sections et encarts creme fonce */
  --sage-bg: #E8EDE0;
  /* sections vert sauge */
  --sage-card: #DCE5D2;
  /* encarts forfaits */
  --white: #FFFFFF;

  /* Verts */
  --green-dark: #1F4630;
  /* titres, liens, footer */
  --green: #557352;
  /* boutons, accents */
  --green-soft: #6E8E69;
  /* bouton du hero, puces */
  --green-hero: #33502F;
  /* fond du hero */
  --paw: #9DB393;
  /* empreintes decoratives */
  --paw-light: #B4C6A9;
  /* empreintes sur fond sauge */
  --paw-hero: #B7C9A8;
  --line-hero: #C9D6BE;
  --dot: #C9D6BF;
  /* points du carrousel inactifs */

  /* Textes */
  --text: #2E3A31;
  --text-muted: #4C5A50;
  --text-muted-2: #4A5A4C;
  --text-hero: #F1F4EC;

  /* Bordures */
  --line: #E9E7D8;
  --line-soft: #EEECDF;
  --border: #ECEADB;
  --border-sage: #DCE3D3;
  --divider: #D9DFCE;
  --input-border: #DCDFCF;

  /* Footer */
  --footer-text: #E8EDE0;
  --footer-paw: #3B6447;
  --footer-sep: #4E7259;

  /* Ombres et voiles */
  --shadow-card: 0 1px 2px rgba(31, 70, 48, 0.05);
  --shadow-soft: 0 1px 4px rgba(31, 70, 48, 0.10);
  --shadow-photo: 0 10px 30px rgba(31, 70, 48, 0.12);
  --text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
  --hero-veil: linear-gradient(90deg, rgba(51, 80, 47, 0.80) 0%, rgba(51, 80, 47, 0.65) 50%, rgba(51, 80, 47, 0.35) 60%, rgba(51, 80, 47, 0) 100%);
  --hero-veil-mobile: linear-gradient(180deg, rgba(51, 80, 47, 0.92) 0%, rgba(51, 80, 47, 0.78) 38%, rgba(51, 80, 47, 0.15) 70%, rgba(51, 80, 47, 0) 100%);

  /* Typographies */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;

  /* Mise en page */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  zoom: var(--zoom, 1);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh / var(--zoom, 1));
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color .2s, background-color .2s, border-color .2s;
}

a:hover {
  color: var(--green);
}

input,
select,
textarea,
button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--green-dark);
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--white);
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  text-align: center;
}

/*  Boutons  */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}

.btn i {
  font-size: 16px;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-outline {
  border-color: var(--green-dark);
  background: transparent;
  color: var(--green-dark);
  font-size: 15px;
}

.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-small {
  padding: 9px 18px;
  font-size: 13.5px;
}

/*  Header  */

#site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: flex;
}

.header-logo img {
  height: clamp(46px, 6vw, 64px);
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.4vw, 44px);
}

.header-nav a {
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--green-dark);
}

.header-nav a:hover {
  border-bottom-color: var(--paw);
  color: var(--green-dark);
}

.header-nav a.is-active {
  border-bottom-color: var(--green-dark);
}

.header-burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 22px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .25s;
}

.header-burger:hover {
  background: var(--green-dark);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 4px 24px 24px;
  background: var(--cream);
  border-top: 1px solid var(--line);
  animation: menu-in .25s ease-out;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu>a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--green-dark);
}

.mobile-menu>a[aria-current="page"] {
  color: var(--green);
}

.mobile-menu-contact {
  margin-top: 18px;
  padding: 16px;
  font-size: 15px;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/*  Vagues de transition entre sections  */

.wave {
  display: block;
  width: 100%;
  height: clamp(24px, 3.4vw, 48px);
}

.wave-bottom {
  position: absolute;
  left: 0;
  bottom: -1px;
}

.wave-cream path {
  fill: var(--cream);
}

.wave-cream-deep path {
  fill: var(--cream-deep);
}

/*  Empreintes decoratives  */

.paw-deco {
  position: absolute;
  pointer-events: none;
  line-height: 1;
}

.paw-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.paw-divider::before,
.paw-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
}

/*  Photos en ellipse (accueil, prestations, a propos)  */

.photo-ellipse {
  position: relative;
}

.photo-ellipse>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: ellipse(49% 47% at 50% 50%);
}

.photo-ellipse .paw-deco {
  color: var(--paw);
}

/*  Bandeau des pages interieures  */

.page-banner {
  position: relative;
  overflow: hidden;
  background: var(--sage-bg);
}

.page-banner .paw-deco {
  color: var(--paw-light);
}

.page-banner .paw-a {
  left: clamp(-10px, 3vw, 60px);
  bottom: 20px;
  font-size: clamp(70px, 9vw, 110px);
  transform: rotate(-14deg);
}

.page-banner .paw-b {
  right: clamp(8px, 5vw, 80px);
  top: 28px;
  font-size: clamp(50px, 6vw, 80px);
  transform: rotate(30deg);
}

.page-banner-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) var(--gutter) clamp(56px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  text-wrap: balance;
}

.page-banner p {
  max-width: 34em;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-muted);
  text-wrap: pretty;
}

/*  FAQ (accueil et a propos)  */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: var(--cream-deep);
  overflow: hidden;
}

.faq-on-sage .faq-item {
  background: var(--cream);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--green-dark);
}

.faq-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background-color .25s, transform .3s;
}

.faq-question:hover .faq-icon {
  background: var(--green-dark);
}

.faq-icon .ph-minus {
  display: none;
}

.faq-question[aria-expanded="true"] .faq-icon .ph-plus {
  display: none;
}

.faq-question[aria-expanded="true"] .faq-icon .ph-minus {
  display: inline-block;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.faq-answer>div {
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  text-wrap: pretty;
}

/*  Footer  */

#site-footer {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: var(--footer-text);
}

.footer-paw {
  position: absolute;
  bottom: -8px;
  font-size: 90px;
  color: var(--footer-paw);
  line-height: 1;
  pointer-events: none;
}

.footer-paw-left {
  left: -8px;
  transform: rotate(-10deg);
}

.footer-paw-right {
  right: -8px;
  transform: scaleX(-1) rotate(-10deg);
}

.footer-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 44px) var(--gutter) 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px clamp(20px, 3vw, 36px);
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 36px);
}

.footer-logo {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 3px solid var(--paw);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-logo img {
  width: 82px;
  height: auto;
}

.footer-sep {
  width: 1px;
  height: 64px;
  background: var(--footer-sep);
}

.footer-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.35;
  color: var(--cream);
  text-align: center;
}

.footer-tagline i {
  font-size: 16px;
  font-style: normal;
  color: var(--footer-text);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.footer-nav a,
.footer-legal a {
  color: var(--cream);
  font-size: 14px;
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-social a:hover {
  color: var(--paw-hero);
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  color: var(--cream);
  font-size: 26px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12.5px;
  color: var(--line-hero);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
}

.footer-legal a {
  font-size: 12.5px;
  color: var(--line-hero);
}

.footer-credit {
  font-size: 11.5px;
  opacity: 0.8;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit-logo {
  width: 11px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask: url('../ressources/images/logo-levorte.png') center / contain no-repeat;
  mask: url('../ressources/images/logo-levorte.png') center / contain no-repeat;
}

.footer-credit a:hover {
  color: var(--paw-hero);
}

/*  Responsive  */

@media (max-width: 899px) {
  :root {
    --header-h: 64px;
  }

  .header-nav,
  .header-contact {
    display: none;
  }

  .header-burger {
    display: flex;
  }
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 759px) {

  .footer-top,
  .footer-brand {
    justify-content: center;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-sep {
    display: none;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-paw {
    font-size: 64px;
  }
}

@media (min-width: 2160px) {
  :root {
    --zoom: 1.125;
  }
}

@media (min-width: 2400px) {
  :root {
    --zoom: 1.25;
  }
}

@media (min-width: 2560px) {
  :root {
    --zoom: 1.333;
  }
}

@media (min-width: 2880px) {
  :root {
    --zoom: 1.5;
  }
}

@media (min-width: 3360px) {
  :root {
    --zoom: 1.75;
  }
}

@media (min-width: 3840px) {
  :root {
    --zoom: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}