/*
Theme Name: Fromagerie
Author: Fromagerie
Description: Thème WordPress personnalisé pour une fromagerie artisanale.
Version: 1.0
Text Domain: fromagerie
*/

/* =========================================================
   VARIABLES
========================================================= */

:root {
  /* =======================================================
     COULEURS
  ======================================================= */

  --color-cream: #f4efe5;
  --color-white: #ffffff;
  --color-green: #304936;
  --color-green-light: #71816b;
  --color-brown: #8b6848;
  --color-dark: #24251f;

  /* =======================================================
     TYPOGRAPHIE
  ======================================================= */

  --font-heading: Georgia, serif;
  --font-body: Arial, sans-serif;

  /* =======================================================
     DIMENSIONS
  ======================================================= */

  --navigation-height: 70px;
  --container: 1200px;

  /* =======================================================
     BREAKPOINTS DE RÉFÉRENCE

     Attention : les variables CSS ne peuvent pas être
     utilisées directement dans @media avec var().
     Les valeurs numériques sont donc reprises dans
     les media queries.
  ======================================================= */

  --breakpoint-mobile: 480px;
  --breakpoint-tablet: 768px;
  --breakpoint-tablet-large: 1024px;
  --breakpoint-navigation: 1220px;
}

/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-dark);
  background: var(--color-white);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

/* =========================================================
   CONTAINER
========================================================= */

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

/* =========================================================
   TYPOGRAPHIE
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-family: var(--font-heading);
  line-height: 1.15;
}

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

.button {
  display: inline-block;
  padding: 13px 24px;
  background: var(--color-green);
  color: var(--color-white);
  border-radius: 3px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

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

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background: var(--color-green);
}

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
  visibility: visible;
  opacity: 1;
}

.hero-slide__background {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* =========================================================
   LOGO + BASELINE DANS LE HERO
========================================================= */

.hero-branding {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.hero-branding__logo {
  display: block;
  line-height: 0;
  pointer-events: auto;
}

.hero-branding__logo img {
  display: block;
  width: auto;
  max-width: 300px;
  max-height: 130px;
  height: auto;
}

.hero-branding__name {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
}

.hero-branding__baseline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-branding__baseline span {
  display: inline-block;
  width: fit-content;
  padding: 7px 14px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.hero-branding__baseline span:first-child {
  padding: 10px 18px;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-branding__baseline span:last-child {
  padding: 7px 14px;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.2;
}

/* =========================================================
   FLÈCHES HERO
========================================================= */

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: transparent;
  color: var(--color-white);
  font-size: 22px;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.hero-slider__arrow:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-green);
}

.hero-slider__arrow--prev {
  left: 30px;
}

.hero-slider__arrow--next {
  right: 30px;
}

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

.hero-slider__dots {
  position: absolute;
  bottom: 35px;
  left: 50%;
  z-index: 20;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider__dot.is-active {
  background: var(--color-white);
  transform: scale(1.1);
}

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

.site-navigation-bar {
  position: sticky;
  top: 0;
  z-index: 9000;
  width: 100%;
  height: var(--navigation-height);
  background: var(--color-cream);
  border-bottom: 1px solid rgba(48, 73, 54, 0.12);
}

.site-navigation-bar__inner {
  position: relative;
  width: min(100% - 40px, var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================================
   LOGO + NOM DU SITE
========================================================= */

.site-navigation-bar__mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
}

.site-navigation-bar__site-title {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
}

.site-navigation-bar__brand {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  white-space: nowrap;
  text-decoration: none;
}

.site-navigation-bar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-navigation-bar__logo-image {
  display: block;
  width: auto;
  height: 50px;
  max-width: 100px;
  object-fit: contain;
}

.site-navigation-bar__name {
  display: block;
  margin: 0;
  color: var(--color-green);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

/* =========================================================
   MENU WORDPRESS
========================================================= */

.site-navigation-bar .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-navigation-bar .menu > li {
  position: relative;
}

.site-navigation-bar .menu > li > a {
  display: block;
  color: var(--color-green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.site-navigation-bar .menu > li > a:hover {
  opacity: 0.6;
}

/* =========================================================
   MENU ACTIF
========================================================= */

.site-navigation-bar .current-menu-item > a,
.site-navigation-bar .current_page_item > a,
.site-navigation-bar .current-menu-parent > a,
.site-navigation-bar .current-menu-ancestor > a {
  color: var(--color-brown);
  font-weight: 700;
}

/* =========================================================
   HAMBURGER
========================================================= */

.mobile-menu-toggle {
  display: none;
}

/* =========================================================
   POLYLANG
========================================================= */

.site-navigation-bar .pll-parent-menu-item {
  position: relative;
}

.site-navigation-bar .pll-parent-menu-item > a {
  display: flex;
  align-items: center;
  gap: 7px;
}

.site-navigation-bar .pll-parent-menu-item > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  position: relative;
  top: -2px;
}

.site-navigation-bar .pll-parent-menu-item:hover > a::after {
  transform: rotate(225deg);
}

/* =========================================================
   SOUS-MENU POLYLANG
========================================================= */

.site-navigation-bar .pll-parent-menu-item > .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1000;
  display: block;
  min-width: 170px;
  margin: 0;
  padding: 8px 0;
  background: var(--color-white);
  border: 1px solid rgba(48, 73, 54, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.site-navigation-bar .pll-parent-menu-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-navigation-bar .pll-parent-menu-item > .sub-menu::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  width: 100%;
  height: 13px;
}

.site-navigation-bar .pll-parent-menu-item .sub-menu li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-navigation-bar .pll-parent-menu-item .sub-menu a {
  display: block;
  width: 100%;
  padding: 11px 20px;
  color: var(--color-green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-navigation-bar .pll-parent-menu-item .sub-menu a:hover {
  background: var(--color-cream);
  color: var(--color-brown);
  opacity: 1;
}

.site-navigation-bar .pll-parent-menu-item .sub-menu .current-lang > a {
  color: var(--color-brown);
  font-weight: 700;
}

/* =========================================================
   BARRE LANGUES HERO
========================================================= */

.language-navigation {
  position: absolute;
  top: 25px;
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
  padding: 10px 18px;
  background: rgba(48, 73, 54, 0.85);
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.language-navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-navigation li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.language-navigation a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.language-navigation img {
  display: block;
  width: 24px !important;
  height: auto !important;
  max-width: none;
  border-radius: 2px;
}

.language-navigation a:hover {
  opacity: 1;
  transform: scale(1.12);
}

.language-navigation .current-lang a {
  opacity: 1;
  transform: scale(1.08);
}

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

section h2 {
  font-size: clamp(34px, 4vw, 52px);
}

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

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  background: var(--color-cream);
}

.hero .container {
  max-width: 900px;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(42px, 6vw, 76px);
}

.hero p {
  max-width: 650px;
  font-size: 20px;
}

/* =========================================================
   HOME - PAGES
========================================================= */

.home-pages {
  background: var(--color-cream);
}

.home-pages__list {
  width: 100%;
}

/* =========================================================
   HOME PAGE CARD
========================================================= */

.home-page-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.home-page-card__image {
  position: relative;
  display: block;
  min-height: 600px;
  overflow: hidden;
}

.home-page-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.home-page-card__image:hover img {
  transform: scale(1.04);
}

.home-page-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px;
  background: var(--color-cream);
}

.home-page-card--image-right {
  direction: rtl;
}

.home-page-card--image-right .home-page-card__content {
  direction: ltr;
}

.home-page-card__number {
  margin: 0 0 20px;
  color: var(--color-green-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
}

.home-page-card__title {
  margin: 0 0 25px;
  color: var(--color-green);
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
}

.home-page-card__text {
  max-width: 500px;
  margin: 0 0 35px;
  color: var(--color-dark);
  font-size: 17px;
  line-height: 1.8;
}

.home-page-card__link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 6px;
  color: var(--color-green);
  border-bottom: 1px solid var(--color-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: gap 0.25s ease, opacity 0.2s ease;
}

.home-page-card__link:hover {
  gap: 22px;
  opacity: 0.7;
}

/* =========================================================
   FROMAGES
========================================================= */

.fromages-catalogue {
  padding: 100px 0;
}

.fromages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 40px;
}

.fromage-card {
  background: var(--color-cream);
}

.fromage-card__gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.fromage-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.fromage-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.fromage-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.fromage-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   FLÈCHES FROMAGE
========================================================= */

.fromage-slider__prev,
.fromage-slider__next {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: 0.2s ease;
}

.fromage-slider__prev {
  left: 20px;
}

.fromage-slider__next {
  right: 20px;
}

.fromage-slider__prev:hover,
.fromage-slider__next:hover {
  background: #fff;
  color: var(--color-green);
}

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

.fromage-card__content {
  padding: 35px;
}

.fromage-card__title {
  margin-bottom: 15px;
  color: var(--color-green);
  font-size: 38px;
}

.fromage-card__description {
  margin-bottom: 25px;
  color: var(--color-dark);
}

.fromage-card__link {
  display: inline-flex;
  gap: 12px;
  color: var(--color-green);
  border-bottom: 1px solid var(--color-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =========================================================
   FICHE FROMAGE
========================================================= */

.single-fromage__hero {
  padding: 100px 0;
}

.single-fromage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 80px;
  align-items: center;
}

.single-fromage__gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.single-fromage__gallery .fromage-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.single-fromage__gallery .fromage-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.single-fromage__gallery .fromage-slide.is-active {
  visibility: visible;
  opacity: 1;
}

.single-fromage__gallery .fromage-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-fromage__eyebrow {
  margin: 0 0 20px;
  color: var(--color-green-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.single-fromage__title {
  margin: 0 0 30px;
  color: var(--color-green);
  font-family: var(--font-heading);
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 500;
  line-height: 1;
}

.single-fromage__description {
  max-width: 550px;
  font-size: 17px;
  line-height: 1.8;
}

/* =========================================================
   HOME CONTENT
========================================================= */

.home-content {
  background: var(--color-white);
  overflow: hidden;
}

.home-content > .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.home-content h1 {
  margin: 0 0 60px;
  color: var(--color-green);
  font-family: var(--font-heading);
  font-size: clamp(52px, 7vw, 90px);
  font-weight: 500;
  line-height: 0.95;
  text-align: center;
}

.home-content h2 {
  margin: 0 0 35px;
  color: var(--color-green);
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.05;
}

.home-content p {
  max-width: 720px;
  margin: 24px auto;
  color: var(--color-dark);
  font-size: 17px;
  line-height: 1.85;
}

.home-content p:last-child {
  margin-bottom: 0;
}

.home-content h2:not(:first-child) {
  margin-top: 110px;
}

/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
  padding: 90px 0;
  background: var(--color-cream);
  text-align: center;
}

.page-header__title {
  margin: 0;
  color: var(--color-green);
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.1;
}

/* =========================================================
   FORMULAIRE CONTACT
========================================================= */

.contact-form,
.wpcf7 {
  width: 100%;
}

.wpcf7 {
  margin: 60px auto;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid #d8d2c8;
  border-radius: 3px;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #8b7653;
  box-shadow: 0 0 0 2px rgba(139, 118, 83, 0.12);
}

.wpcf7-form textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 14px 32px;
  border: 0;
  border-radius: 3px;
  background: #8b7653;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: #6f5e43;
  transform: translateY(-1px);
}

.wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
}

.wpcf7 form .wpcf7-response-output {
  margin: 25px 0 0;
  padding: 14px 18px;
  border-radius: 3px;
  font-size: 15px;
  line-height: 1.5;
}

.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
  border-color: #b85c5c;
}

/* =========================================================
   POINTS DE VENTE
========================================================= */

.points-vente {
  padding: 80px 0;
}

.points-section {
  margin-bottom: 100px;
}

.points-section__header {
  margin-bottom: 40px;
}

.points-section__number {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.15em;
  opacity: 0.55;
}

.points-section__header h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
}

/* =========================================================
   HORAIRES
========================================================= */

.points-hours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.points-hours__item {
  padding: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.points-hours__day,
.points-hours__time {
  display: block;
}

.points-hours__day {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.points-hours__time {
  font-size: 16px;
}

/* =========================================================
   MARCHÉS
========================================================= */

.points-markets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.market-card {
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.market-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
}

.market-card p {
  margin: 6px 0;
}

.market-card__day {
  font-weight: 600;
}

.market-card__place {
  margin-top: 20px !important;
  opacity: 0.7;
}

/* =========================================================
   PROVINCES
========================================================= */

.points-province {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.points-province:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.points-province summary {
  position: relative;
  padding: 28px 50px 28px 0;
  cursor: pointer;
  list-style: none;
  font-size: 24px;
  font-weight: 600;
}

.points-province summary::-webkit-details-marker {
  display: none;
}

.points-province summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 300;
}

.points-province[open] summary::after {
  content: "−";
}

.points-province__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding-bottom: 30px;
}

.point-card {
  padding: 25px 30px;
  background: rgba(0, 0, 0, 0.025);
}

.point-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.point-card p {
  margin: 0;
  line-height: 1.6;
  opacity: 0.7;
}

/* =========================================================
   JOURNAL / ACTUALITÉS
========================================================= */

.counasse-actualites {
  width: 100%;
}

.counasse-actualites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 30px;
}

.counasse-actualite {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: var(--color-white);
  overflow: hidden;
}

.counasse-actualite-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-cream);
}

.counasse-actualite-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.counasse-actualite:hover .counasse-actualite-image img {
  transform: scale(1.05);
}

.counasse-actualite-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 24px 0 10px;
}

.counasse-actualite-date {
  margin: 0 0 10px;
  color: var(--color-green-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.9;
}

.counasse-actualite-title {
  margin: 0 0 14px;
  color: var(--color-green);
  font-family: var(--font-heading);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 500;
  line-height: 1.15;
}

.counasse-actualite-title a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.counasse-actualite-title a:hover {
  opacity: 0.65;
}

.counasse-actualite-excerpt {
  max-width: 650px;
  margin: 0 0 22px;
  color: var(--color-dark);
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.8;
}

.counasse-actualite-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-bottom: 5px;
  color: var(--color-green);
  border-bottom: 1px solid var(--color-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: gap 0.25s ease, opacity 0.2s ease;
}

.counasse-actualite-link::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
}

.counasse-actualite-link:hover {
  gap: 18px;
  opacity: 0.65;
}

/* =========================================================
   À LA UNE — SLIDER
========================================================= */

.counasse-actualites-featured {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.counasse-actualites-featured-header {
  margin-bottom: 35px;
}

.counasse-actualites-featured-grid {
  display: flex;
  gap: 30px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0 15px;
  overscroll-behavior-x: contain;
}

.counasse-actualites-featured-grid::-webkit-scrollbar {
  display: none;
}

.counasse-actualites-featured-grid .counasse-actualite {
  flex: 0 0 calc((100% - 60px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}

.counasse-actualites-featured-grid .counasse-actualite-image {
  aspect-ratio: 16 / 10;
}

.counasse-actualites-featured-grid .counasse-actualite-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.counasse-actualites-featured-grid .counasse-actualite-content {
  padding-top: 22px;
}

/* =========================================================
   BANNIÈRE ORNEMENTS
========================================================= */

.wp-banner {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 78px;
  box-sizing: border-box;
  background: transparent url("/wp-content/uploads/2026/08/ornaments1.png")
    no-repeat center top;
}

.wp-banner-top {
  margin-top: 21px;
}

.wp-banner-bottom {
  margin-bottom: 21px;
}

.wp-fullsize {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 78px;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
}

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

.site-footer {
  padding: 100px 0 30px;
  background: var(--color-green);
  color: var(--color-white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 80px;
}

.site-footer__column {
  min-width: 0;
}

.site-footer__eyebrow {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.site-footer__title {
  margin: 0 0 30px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1;
}

.site-footer p {
  max-width: 550px;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.8;
}

.site-footer__certifications {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 35px;
}

.site-footer__certifications a {
  display: block;
}

.site-footer__certifications img {
  display: block;
  width: auto;
  max-width: 100px;
  max-height: 65px;
  object-fit: contain;
}

.site-footer__contact {
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
}

.site-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0 0 !important;
}

.site-footer__contact a {
  color: var(--color-white);
  transition: opacity 0.2s ease;
}

.site-footer__contact a:hover {
  opacity: 0.65;
}

.site-footer__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 12px;
}

.site-footer__vat {
  margin-top: 25px !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.site-footer__facebook {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease;
}

.site-footer__facebook:hover {
  opacity: 0.65;
}

.site-footer__facebook span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__bottom p,
.site-footer__bottom a {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.site-footer__logo {
  width: auto;
  max-width: 150px;
  max-height: 60px;
}

/* =========================================================
   PAGE CONTENT
========================================================= */

.page-content {
  margin: 60px 0;
}

/* =========================================================
   TABLETTE / PETIT DESKTOP
   1024px
========================================================= */

@media (max-width: 1024px) {

  .hero-slider__arrow--prev {
    left: 20px;
  }

  .hero-slider__arrow--next {
    right: 20px;
  }

  .site-navigation-bar .menu {
    gap: 25px;
  }

  .site-navigation-bar__name {
    font-size: 18px;
  }

  .home-page-card__content {
    padding: 60px;
  }

  .single-fromage__grid {
    gap: 50px;
  }

  .site-footer__grid {
    gap: 45px;
  }
}

/* =========================================================
   TABLETTE
   768px
========================================================= */

@media (max-width: 768px) {

  .container {
    width: min(100% - 30px, var(--container));
  }

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

  .hero-slider {
    height: 0;
    min-height: 500px;
  }

  .hero-branding .custom-logo-link {
    max-width: 300px;
  }

  .hero-branding__logo img {
    max-width: 190px;
    max-height: 90px;
  }

  .hero-slide .custom-logo-link img {
    max-width: 190px;
  }

  .hero-branding__baseline {
    margin-top: 12px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .hero-branding__baseline span:first-child {
    font-size: 1.6rem;
    padding: 8px 13px;
  }

  .hero-branding__baseline span:last-child {
    font-size: 1rem;
    padding: 6px 11px;
  }

  .hero-slider__arrow {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .hero-slider__arrow--prev {
    left: 15px;
  }

  .hero-slider__arrow--next {
    right: 15px;
  }

  .hero-slider__dots {
    bottom: 25px;
    gap: 8px;
  }

  .hero-slider__dot {
    width: 9px;
    height: 9px;
  }

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

  .site-navigation-bar {
    height: var(--navigation-height);
  }

  .site-navigation-bar__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-navigation-bar__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .site-navigation-bar__site-title {
    min-width: 0;
    max-width: calc(100% - 60px);
  }

  .site-navigation-bar__brand {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 100%;
    white-space: nowrap;
  }

  .site-navigation-bar__logo-image {
    width: auto;
    height: 42px;
    max-width: 80px;
  }

  .site-navigation-bar__name {
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* =====================================================
     HAMBURGER
  ===================================================== */

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--color-green);
    cursor: pointer;
    z-index: 1001;
    position: relative;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .site-navigation-bar .menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 20px;
    background: var(--color-white);
    border-top: 1px solid rgba(48, 73, 54, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 1000;
  }

  .site-navigation-bar .menu.is-open {
    display: flex !important;
  }

  .site-navigation-bar .menu > li {
    width: 100%;
  }

  .site-navigation-bar .menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 5px;
    font-size: 12px;
  }

  /* =====================================================
     SOUS-MENUS MOBILE
  ===================================================== */

  .site-navigation-bar .menu .sub-menu {
    position: static;
    display: none;
    width: 100%;
    margin: 0;
    padding: 0 0 0 15px;
    box-shadow: none;
    border: 0;
  }

  .site-navigation-bar
    .menu
    .menu-item-has-children.is-open
    > .sub-menu {
    display: block;
  }

  /* =====================================================
     FLÈCHE SOUS-MENU GÉNÉRIQUE
  ===================================================== */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > a::after {

    content: "";

    display: inline-block;

    flex-shrink: 0;

    width: 7px;
    height: 7px;

    margin-left: 10px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg);

    transition: transform 0.2s ease;

    position: relative;
    top: -2px;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children.is-open
    > a::after {

    transform: rotate(225deg);
  }

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

  .site-navigation-bar .pll-parent-menu-item > .sub-menu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 0 15px !important;
    display: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .site-navigation-bar .pll-parent-menu-item.is-open > .sub-menu {
    display: block !important;
  }

  .site-navigation-bar .pll-parent-menu-item > a::after {
    transform: rotate(45deg);
  }

  .site-navigation-bar .pll-parent-menu-item.is-open > a::after {
    transform: rotate(225deg);
  }

  /* =====================================================
     HOME CARDS
  ===================================================== */

  .home-page-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    direction: ltr;
  }

  .home-page-card--image-right {
    direction: ltr;
  }

  .home-page-card__image {
    width: 100%;
    min-height: 400px;
    height: 400px;
  }

  .home-page-card__content {
    padding: 60px 30px;
  }

  .home-page-card__title {
    font-size: clamp(38px, 12vw, 54px);
  }

  .home-page-card__text {
    font-size: 16px;
  }

  /* =====================================================
     FROMAGES
  ===================================================== */

  .fromages-catalogue {
    padding: 60px 0;
  }

  .fromages-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .fromage-card__content {
    padding: 30px;
  }

  .fromage-card__title {
    font-size: 32px;
  }

  /* =====================================================
     FICHE FROMAGE
  ===================================================== */

  .single-fromage__hero {
    padding: 60px 0;
  }

  .single-fromage__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .single-fromage__gallery {
    aspect-ratio: 4 / 3;
  }

  .single-fromage__title {
    font-size: clamp(42px, 12vw, 60px);
  }

  /* =====================================================
     PAGE HEADER
  ===================================================== */

  .page-header {
    padding: 60px 0;
  }

  .page-header__title {
    font-size: clamp(38px, 11vw, 52px);
  }

  /* =====================================================
     HOME CONTENT
  ===================================================== */

  .home-content h1 {
    margin-bottom: 45px;
    font-size: clamp(46px, 13vw, 64px);
  }

  .home-content h2 {
    margin-bottom: 25px;
    font-size: clamp(36px, 11vw, 50px);
  }

  .home-content h2:not(:first-child) {
    margin-top: 70px;
  }

  .home-content p {
    font-size: 16px;
    line-height: 1.75;
  }

  /* =====================================================
     CONTACT
  ===================================================== */

  .wpcf7 {
    max-width: 100%;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    padding: 13px 14px;
    font-size: 16px;
  }

  .wpcf7-form textarea {
    min-height: 150px;
  }

  .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 15px 20px;
  }

  /* =====================================================
     POINTS DE VENTE
  ===================================================== */

  .points-vente {
    padding: 50px 0;
  }

  .points-section {
    margin-bottom: 70px;
  }

  .points-hours,
  .points-markets,
  .points-province__list {
    grid-template-columns: 1fr;
  }

  .points-hours__item {
    padding: 22px 0;
  }

  .market-card {
    padding: 25px;
  }

  .points-province summary {
    font-size: 20px;
    padding: 22px 40px 22px 0;
  }

  .point-card {
    padding: 22px;
  }

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

  .language-navigation {
    top: 18px;
    padding: 8px 14px;
  }

  .language-navigation ul {
    gap: 10px;
  }

  .language-navigation img {
    width: 22px !important;
  }

  /* =====================================================
     JOURNAL
  ===================================================== */

  .counasse-actualites-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .counasse-actualites-featured-grid {
    gap: 20px;
    margin-right: -15px;
    padding-right: 15px;
  }

  .counasse-actualites-featured-grid .counasse-actualite {
    flex: 0 0 88%;
  }

  .counasse-actualite-content {
    padding: 18px 0 5px;
  }

  .counasse-actualite-title {
    font-size: 27px;
  }

  .counasse-actualite-excerpt {
    font-size: 15px;
    line-height: 1.7;
  }

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

  .site-footer {
    padding: 70px 0 25px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-bottom: 60px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* =========================================================
   PETIT MOBILE
   480px
========================================================= */

@media (max-width: 480px) {

  .hero-branding__logo img {
    max-width: 160px;
    max-height: 75px;
  }

  .hero-branding__baseline {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .hero-branding__baseline span:first-child {
    font-size: 1.35rem;
    padding: 7px 10px;
  }

  .hero-branding__baseline span:last-child {
    font-size: 0.9rem;
    padding: 5px 9px;
  }

  .hero-slider__arrow {
    display: none;
  }

  .site-navigation-bar__logo-image {
    height: 38px;
    max-width: 70px;
  }

  .site-navigation-bar__name {
    font-size: 15px;
  }

  .site-navigation-bar__brand {
    gap: 8px;
  }

  .counasse-actualites-featured-grid .counasse-actualite {
    flex-basis: 92%;
  }

  .counasse-actualite-title {
    font-size: 25px;
  }

  .counasse-actualite-date {
    font-size: 10px;
  }

  .counasse-actualite-link {
    font-size: 10px;
  }
}

/* =========================================================
   ACCESSIBILITÉ
========================================================= */

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

  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .fromage-slide,
  .counasse-actualite-image img,
  .counasse-actualite-link {
    transition: none;
  }

  .hero-slider__arrow,
  .hero-slider__dot,
  .button,
  .site-navigation-bar a {
    transition: none;
  }

  .counasse-actualites-featured-grid {
    scroll-behavior: auto;
  }
}

/* =========================================================
   ARTICLE INDIVIDUEL
========================================================= */

.counasse-single-post {
  padding: 80px 0;
}

.counasse-article {
  max-width: 900px;
  margin: 0 auto;
}

.counasse-article-header {
  text-align: center;
  margin-bottom: 45px;
}

.counasse-article-date {
  margin-bottom: 15px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.counasse-article-title {
  margin: 0 auto 35px;
  max-width: 800px;
}

.counasse-article-image {
  width: 100%;
  margin: 0 auto;
}

.counasse-article-image img {
  display: block;
  width: 100%;
  height: auto;
}

.counasse-article-content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

.counasse-article-content p {
  margin-bottom: 1.5em;
}

.counasse-article-content img {
  max-width: 100%;
  height: auto;
}

.counasse-article-content h2,
.counasse-article-content h3,
.counasse-article-content h4 {
  margin-top: 2em;
  margin-bottom: 0.8em;
}

.counasse-article-footer {
  max-width: 760px;
  margin: 45px auto 0;
}

/* =========================================================
   ESPACE SUR LES CÔTÉS DE LA SECTION À LA UNE
========================================================= */

.homepage-actualites {
  padding-left: 30px;
  padding-right: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* =========================================================
   À LA UNE — MOBILE
========================================================= */

@media (max-width: 768px) {

  .homepage-actualites {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

/* =========================================================
   BOUTON À LA UNE
========================================================= */

.homepage-actualites > .counasse-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  min-width: 240px;

  margin: 35px auto 0;
  padding: 15px 28px;

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

  border: 1px solid var(--color-green);
  border-radius: 3px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.2;

  text-align: center;
  text-transform: uppercase;

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

.homepage-actualites > .counasse-button:hover {
  background: var(--color-white);
  color: var(--color-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(48, 73, 54, 0.12);
}

/* =========================================================
   BOUTON COUNASSE
========================================================= */

.wp-block-button__link,
.counasse-button,
.counasse-comment-form .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 13px 28px;

  background-color: #7b5a3e;
  color: #ffffff !important;

  border: 1px solid #7b5a3e;
  border-radius: 3px;

  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;

  cursor: pointer;

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

.wp-block-button__link:hover,
.counasse-button:hover,
.counasse-comment-form .submit:hover {
  background-color: #5f432e;
  border-color: #5f432e;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.counasse-button:focus-visible {
  outline: 3px solid rgba(123, 90, 62, 0.35);
  outline-offset: 4px;
}

.counasse-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.counasse-button:visited {
  color: #ffffff !important;
}

/* =========================================================
   BOUTON DANS LES ACTUALITÉS
========================================================= */

.homepage-actualites .counasse-button {
  display: flex;
  width: fit-content;
  margin: 32px auto 62px;
}

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

@media (max-width: 767px) {

  .homepage-actualites .counasse-button {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .counasse-button {
    min-height: 48px;
    padding: 13px 22px;
    font-size: 14px;
  }
}

.site-footer__description p {
  margin: 0 0 1.2em;
}

.site-footer__description p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   CORRECTION NAVIGATION ENTRE 769px ET 1220px
========================================================= */

@media (min-width: 769px) and (max-width: 1220px) {

  .site-navigation-bar__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-navigation-bar__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .site-navigation-bar__site-title {
    min-width: 0;
    max-width: calc(100% - 60px);
  }

  .site-navigation-bar__brand {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    max-width: 100%;
    white-space: nowrap;
  }

  .site-navigation-bar__logo-image {
    width: auto;
    height: 42px;
    max-width: 80px;
  }

  .site-navigation-bar__name {
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* HAMBURGER */

  .site-navigation-bar .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--color-green);
    cursor: pointer;
    z-index: 1101;
    position: relative;
    pointer-events: auto;
  }

  .site-navigation-bar .mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-navigation-bar .mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-navigation-bar .mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .site-navigation-bar .mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* MENU */

  .site-navigation-bar .menu {
    display: none !important;
    visibility: hidden;
    opacity: 0;

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;

    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 0;
    margin: 0;
    padding: 20px;

    background: var(--color-white);
    border-top: 1px solid rgba(48, 73, 54, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    z-index: 1100;
  }

  .site-navigation-bar .menu.is-open {
    display: flex !important;
    visibility: visible;
    opacity: 1;
  }

  .site-navigation-bar .menu.is-open a {
    pointer-events: auto;
  }

  .site-navigation-bar .menu > li {
    width: 100%;
  }

  .site-navigation-bar .menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 5px;
    font-size: 12px;
  }

  /* SOUS-MENUS */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > .sub-menu {

    position: static !important;

    top: auto !important;
    right: auto !important;
    left: auto !important;

    display: none !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 0 0 15px !important;

    background: transparent !important;

    border: 0 !important;
    box-shadow: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children.is-open
    > .sub-menu {

    display: block !important;
  }

  /* FLÈCHE */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > a::after {

    content: "";

    display: inline-block;

    flex-shrink: 0;

    width: 7px;
    height: 7px;

    margin-left: 10px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg);

    transition: transform 0.2s ease;

    position: relative;
    top: -2px;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children.is-open
    > a::after {

    transform: rotate(225deg);
  }

  /* POLYLANG */

  .site-navigation-bar .pll-parent-menu-item > .sub-menu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;

    display: none !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 0 0 15px !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .site-navigation-bar .pll-parent-menu-item.is-open > .sub-menu {
    display: block !important;
  }

  .site-navigation-bar
    .pll-parent-menu-item
    > a::after {

    transform: rotate(45deg);
  }

  .site-navigation-bar
    .pll-parent-menu-item.is-open
    > a::after {

    transform: rotate(225deg);
  }
}

/* =========================================================
   SEPARATEUR TITRE / ICÔNE
========================================================= */

.title-icon-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin: 25px 0;
}

.title-icon-separator__line {
  display: block;
  flex: 1 1 auto;
  width: 100%;
}

.title-icon-separator__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.title-icon-separator__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================================================
   COMMENTAIRES
========================================================= */

.counasse-comments {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.counasse-comments-title {
  margin-bottom: 30px;
}

.counasse-comment-form {
  margin-top: 40px;
}

.counasse-comment-form p {
  margin-bottom: 20px;
}

.counasse-comment-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.counasse-comment-form input,
.counasse-comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}

.counasse-comment-form textarea {
  min-height: 160px;
  resize: vertical;
}

.counasse-comment-form .form-submit {
  margin-top: 25px;
}

.counasse-comment-list {
  margin: 0;
  padding: 0;
}

.counasse-comment-list li {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comments-closed {
  opacity: 0.7;
}

/* =========================================================
   ACTIONS ARTICLE
========================================================= */

.counasse-article-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.counasse-article-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}

.counasse-article-action:hover,
.counasse-article-action.is-active {
  opacity: 0.75;
}

.counasse-action-icon {
  font-size: 18px;
  line-height: 1;
}

.counasse-share-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -15px 0 30px;
}

.counasse-share-panel button {
  padding: 8px 12px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.counasse-article-comments {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.counasse-comments-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.counasse-comments-title {
  margin: 0;
}

.counasse-comments-count {
  opacity: 0.65;
}

@media (max-width: 600px) {

  .counasse-article-actions {
    gap: 8px;
  }

  .counasse-article-action {
    padding: 8px 10px;
  }

  .counasse-action-label {
    font-size: 14px;
  }
}

/* =========================================================
   CARTE / ONGLETS
========================================================= */

.counasse-map-title,
.counasse-tabs-title {
  margin: 0 0 20px;
}

.counasse-map-section {
  margin-bottom: 40px;
}

.counasse-tabs-title {
  margin-top: 0;
}

/* =========================================================
   RECHERCHE DES PRODUITS
========================================================= */

.fromages-filters {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.fromages-search {
  max-width: 500px;
}

.fromages-search__label {
  display: block;
  margin-bottom: 8px;
}

.fromages-search__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid currentColor;
  background: transparent;
  font: inherit;
  box-sizing: border-box;
}

.fromages-search__input:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.fromages-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fromages-filter {
  border: 1px solid currentColor;
  background: transparent;
  padding: 10px 20px;
  cursor: pointer;
  font: inherit;
}

.fromages-filter:hover,
.fromages-filter.is-active {
  background: #000;
  color: #fff;
}

.fromage-card[hidden] {
  display: none;
}

/* =========================================================
   SOUS-MENUS WORDPRESS GÉNÉRIQUES
========================================================= */

/* =========================================================
   DESKTOP
   > 1220px
========================================================= */

@media (min-width: 1221px) {

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children {

    position: relative;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > a {

    display: flex;
    align-items: center;
    gap: 7px;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > a::after {

    content: "";

    display: inline-block;

    width: 7px;
    height: 7px;

    margin-left: 6px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg);

    transition: transform 0.2s ease;

    position: relative;
    top: -2px;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children:hover
    > a::after {

    transform: rotate(225deg);
  }

  /* SOUS-MENU */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > .sub-menu {

    position: absolute;

    top: calc(100% + 12px);
    left: 0;
    right: auto;

    z-index: 1000;

    display: block;

    min-width: 170px;

    margin: 0;
    padding: 8px 0;

    background: var(--color-white);

    border: 1px solid rgba(48, 73, 54, 0.1);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-8px);

    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children:hover
    > .sub-menu {

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > .sub-menu::before {

    content: "";

    position: absolute;

    top: -13px;
    left: 0;

    width: 100%;
    height: 13px;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > .sub-menu
    > li {

    display: block;

    width: 100%;

    margin: 0;
    padding: 0;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > .sub-menu
    > li
    > a {

    display: block;

    width: 100%;

    padding: 11px 20px;

    color: var(--color-green);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1px;
    line-height: 1.4;

    text-align: left;
    text-transform: uppercase;

    white-space: nowrap;

    transition:
      background 0.2s ease,
      color 0.2s ease;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > .sub-menu
    > li
    > a:hover {

    background: var(--color-cream);

    color: var(--color-brown);

    opacity: 1;
  }
}

/* =========================================================
   TABLETTE / MOBILE
   <= 1220px
========================================================= */

@media (max-width: 1220px) {

  /* Parent */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children {

    width: 100%;
  }

  /* Lien parent */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > a {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;
  }

  /* =====================================================
     FLÈCHE
  ===================================================== */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > a::after {

    content: "";

    display: inline-block;

    flex-shrink: 0;

    width: 7px;
    height: 7px;

    margin-left: 10px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg);

    transition: transform 0.2s ease;

    position: relative;
    top: -2px;
  }

  /* Flèche ouverte */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children.is-open
    > a::after {

    transform: rotate(225deg);
  }

  /* =====================================================
     SOUS-MENU FERMÉ
  ===================================================== */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > .sub-menu {

    position: static !important;

    top: auto !important;
    right: auto !important;
    left: auto !important;

    display: none !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 0 0 15px !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;

    transform: none !important;
  }

  /* =====================================================
     SOUS-MENU OUVERT
  ===================================================== */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children.is-open
    > .sub-menu {

    display: block !important;
  }

  /* =====================================================
     ITEMS
  ===================================================== */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > .sub-menu
    > li {

    display: block;

    width: 100%;

    margin: 0;
    padding: 0;
  }

  /* =====================================================
     LIENS
  ===================================================== */

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > .sub-menu
    > li
    > a {

    display: block;

    width: 100%;

    padding: 11px 5px;

    color: var(--color-green);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1px;

    line-height: 1.4;

    text-align: left;

    text-transform: uppercase;
  }

  .site-navigation-bar
    .menu
    > li:not(.pll-parent-menu-item).menu-item-has-children
    > .sub-menu
    > li
    > a:hover {

    color: var(--color-brown);

    opacity: 1;
  }
}

/* =========================================================
   FIN SOUS-MENUS WORDPRESS GÉNÉRIQUES
========================================================= */

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

.site-footer__description p {
  margin: 0 0 1.2em;
}

.site-footer__description p:last-child {
  margin-bottom: 0;
}