@font-face {
  font-family:Gloock;
  src:url('../fonts/gloock.ttf') format('truetype');
  font-weight:400;
  font-display:swap
}

@font-face {
  font-family:Jost;
  src:url('../fonts/jost-400.ttf') format('truetype');
  font-weight:400;
  font-display:swap
}

@font-face {
  font-family:Jost;
  src:url('../fonts/jost-500.ttf') format('truetype');
  font-weight:500;
  font-display:swap
}

@font-face {
  font-family:'Radio Canada Big';
  src:url('../fonts/radio-canada-big-500.ttf') format('truetype');
  font-weight:500;
  font-display:swap
}

@font-face {
  font-family:Roboto;
  src:url('../fonts/roboto-400.ttf') format('truetype');
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

:root {
  --navy:#212f3a;
  --green:#3e6f55;
  --paper:#f4f3f2;
  --body:#806b69;
  --serif:Gloock,Georgia,serif;
  --sans:Jost,Arial,sans-serif
}

* {
  box-sizing:border-box
}

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

body {
  margin:0;
  color:var(--navy);
  background:var(--paper);
  font:400 16px/1.5 var(--sans)
}

h1,h2,h3,p,figure,blockquote {
  margin:0
}

h1,h2,h3 {
  font-family:var(--serif);
  font-weight:400
}

h2 {
  font-size:clamp(36px, calc(18.973px + 2.432vw), 54px);
  line-height:1.2
}

h3 {
  font-size:clamp(28px, 2.222vw, 32px);
  line-height:1.4
}

a {
  color:inherit
}

button,input,textarea {
  font:inherit
}

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

button {
  cursor:pointer
}

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

.icon {
  width:16px;
  height:16px;
  object-fit:contain;
  flex-shrink:0
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:3px solid #c68d3c;
  outline-offset:5px
}

.skip-link {
  position:fixed;
  top:8px;
  left:8px;
  padding:12px;
  background:white;
  color:var(--navy);
  z-index:100;
  transform:translateY(-160%)
}

.skip-link:focus {
  transform:none
}

.site-header {
  background:var(--navy);
  color:#fff;
  padding:48px 24px;
  position:relative;
  z-index:2
}

.site-header-overlay {
  position:absolute;
  background:transparent;
  top:0;
  left:0;
  width:100%
}

.site-header.site-header-interior {
  padding:28px 24px;
}

/* La barre d’administration WordPress ne doit pas recouvrir la navigation. */
.admin-bar .site-header-overlay {
  top:32px;
}

@media(max-width:782px) {
  .admin-bar .site-header-overlay {
    top:46px;
  }
}

.header-row {
  /* Deux colonnes égales gardent le logo au centre malgré des liens asymétriques. */
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr);
  align-items:center;
  gap:64px;
  min-height:45px
}

.header-row > .header-nav {
  justify-self:end;
}

.header-row > .header-contacts {
  justify-self:start;
}

.header-brand {
  display:block;
  flex:none
}

.logo {
  width:224px;
  height:45px;
  object-fit:contain /* un logo importé garde ses proportions dans le cadre de la maquette */
}

.header-contacts {
  display:flex;
  gap:38px;
  align-items:center
}

.header-nav,.header-contacts {
  font-size:15px;
  font-weight:500;
}

.header-nav .menu {
  display:flex;
  align-items:center;
  gap:38px;
}

.header-nav a,.header-contacts a {
  white-space:nowrap;
  text-transform:uppercase;
  line-height:22px;
}

.menu-toggle,.menu-close {
  display:none;
  align-items:center;
  justify-content:center;
  background:none;
  border:0;
  color:#fff;
  width:44px;
  height:44px;
  padding:0
}

.menu-close .icon {
  width:24px;
  height:24px
}

.menu-toggle .icon {
  width:25px;
  height:25.6px;
}

.site-header noscript .menu {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  justify-content:center;
  margin:24px 0 0;
  padding:0;
  list-style:none
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:18px 40px;
  border-radius:12px 0 12px 0;
  background:var(--navy);
  color:#fff;
  text-decoration:none;
  text-transform:uppercase;
  font:500 16px/16px 'Radio Canada Big',var(--sans);
  min-height:52px;
  max-width:100%;
  text-align:center
}

.button span {
  min-width:139px
}

.button:hover {
  filter:brightness(1.12)
}

.button-green {
  background:var(--green)
}

.button-white {
  background:#fff;
  color:var(--navy)
}

.section-intro {
  text-align:center;
  margin:0 auto;
  max-width:1120px
}

.section-intro>p:not(.eyebrow) {
  color:var(--body);
  max-width:546px;
  margin:20px auto 0
}

.eyebrow {
  color:var(--green);
  font:14px/1.4 var(--serif);
  margin-bottom:20px
}

.eyebrow::before,.eyebrow::after {
  content:'--';
  margin:0 10px
}

.house {
  position:relative
}

.house-decoration {
  position:absolute;
  top:-88px;
  left:calc(50% - 39px);
  width:48px;
  height:176px;
  border-radius:0 16px 0 16px;
  z-index:1
}

.house>.section-intro {
  padding:120px 24px 26px
}

.house>.section-intro>p {
  max-width:494px
}

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

.photo-card {
  min-width:0;
  min-height:580px;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:13px;
  padding:30px;
  overflow:hidden;
  color:#fff;
  text-decoration:none;
  isolation:isolate
}

.card-photo,.footer-photo {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2
}

.photo-card:after {
  content:'';
  position:absolute;
  inset:0;
  background:rgba(38,35,35,.4);
  z-index:-1
}

.photo-card p {
  line-height:24px
}

.photo-card[href]:hover:after {
  background:rgba(38,35,35,.3)
}

.farm {
  padding:110px max(24px,calc((100vw - 1120px)/2));
  display:grid;
  grid-template-columns:minmax(0,515px) minmax(0,1fr);
  column-gap:73px;
  align-items:center;
  position:relative;
  min-height:727px
}

.farm-copy {
  grid-column:1;
  grid-row:1
}

.farm-copy h2 {
  line-height:1;
  max-width:490px;
  margin-bottom:48px
}

.farm-text {
  font:19px/1.5 var(--serif);
  color:var(--navy)
}

.farm-photo {
  grid-column:2;
  grid-row:1 / 3;
  width:calc(100% + clamp(0px, calc((100vw - 1168px) / 2), 102px));
  max-width:none;
  height:429px;
  object-fit:cover
}

.farm>.button {
  grid-column:1;
  justify-self:start;
  margin-top:48px
}

.reviews {
  padding:110px 24px 100px;
  min-height:1367px
}

.reviews-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  max-width:924px;
  margin:0 auto
}

.reviews-left {
  padding-right:40px
}

.reviews-right {
  border-left:1px solid #c8c0bb;
  padding:150px 0 0 40px
}

.reviews-heading {
  max-width:370px;
  border-bottom:1px solid #c8c0bb;
  padding-bottom:24px;
  margin-bottom:35px
}

.reviews-heading h2 {
  max-width:300px
}

.review+.review {
  margin-top:64px
}

.quote-icon {
  display:block;
  width:26px;
  height:26px;
  margin-bottom:30px
}

.review blockquote {
  font:24px/1.5 var(--serif)
}

.review figcaption {
  margin-top:26px;
  font-size:16px
}

.rating {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  margin:60px auto 0;
  width:100%;
  max-width:924px;
}

.stars {
  display:flex;
  gap:0;
  margin-bottom:10px
}

.section-pad {
  padding:110px 24px 100px
}

.local {
  text-align:center
}

.local-grid {
  max-width:1120px;
  margin:64px auto 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:40px
}

.activity-icon {
  width:54px;
  height:54px;
  object-fit:contain;
  margin:0 auto 26px
}

.local-grid h3 {
  margin-bottom:24px
}

.local-grid p {
  color:var(--body);
  max-width:333px;
  margin:auto
}

.local>.button {
  margin-top:62px
}

.tourism {
  padding-bottom:110px
}

.tourism-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  max-width:1120px;
  margin:64px auto 0
}

.tourism .section-intro h2 {
  max-width:1050px;
  margin:auto
}

.site-footer {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:863px;
  color:#fff;
  text-align:center;
  border-radius:16px 16px 0 0;
  padding:75px max(24px,calc((100vw - 1196px)/2)) 75px;
  margin-top:10px
}

.site-footer:after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(to top, #262323 25%, rgba(23,37,45,0));
  z-index:-1
}

.footer-panel {
  background:var(--navy);
  border-radius:12px;
  max-width:500px;
  margin:auto;
  padding:52.4px 40px 68px;
  min-height:490px
}

.footer-panel h2 {
  font-size:clamp(40px, calc(26.757px + 1.892vw), 54px);
  line-height:1.148148;
  max-width:313px;
  margin:0 auto 41.6px;
}

.footer-panel p {
  border-top:.8px solid rgba(255,255,255,.12);
  padding:40px 56px 0;
  margin-bottom:40px;
}

.footer-panel .button {
  min-height:0;
  padding:16px 40px;
  line-height:19.2px;
}

.button-white .icon {
  width:15.02px;
  height:16.011px;
}

.footer-nav {
  margin-top:100px;
  padding-bottom:40px;
  border-bottom:.8px solid rgba(255,255,255,.12);
}

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

.footer-nav .menu {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:30px;
  padding-right:15px;
}

.footer-nav a {
  text-transform:uppercase;
  font-size:15px;
  font-weight:500;
  white-space:nowrap;
}

.copyright {
  font:14px/20px var(--serif);
  margin-top:40px
}

.standard-page {
  padding:90px 24px 110px;
  max-width:1000px;
  margin:auto;
  min-height:55vh
}

.standard-page h1 {
  font-size:60px;
  line-height:1.2;
  margin-bottom:36px
}

.page-content p,.standard-page article+article {
  margin-top:24px
}

.page-content h2 {
  margin-top:40px;
  font-size:36px
}

.page-content ul {
  padding-left:24px
}

.mobile-menu {
  border:0;
  margin:0;
  inset:0;
  width:100%;
  max-width:100%;
  height:100dvh;
  max-height:100%;
  background:var(--navy);
  color:white;
  padding:68px 24px 0
}

.mobile-menu[open] {
  display:flex;
  flex-direction:column
}

.mobile-menu::backdrop {
  background:var(--navy)
}

.menu-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:48px;
  margin-bottom:20px
}

.menu-header .logo {
  width:170px;
  height:34px
}

.menu-close {
  display:flex
}

.mobile-menu .menu {
  display:flex;
  flex-direction:column;
  gap:8px
}

.mobile-menu nav a {
  display:flex;
  align-items:center;
  min-height:56px;
  font:28px/36px var(--serif)
}

/* Barre discrète hors du flux : le survol ne déplace pas les liens. */
.header-nav a,.header-contacts a,.footer-nav a,.mobile-menu nav a {
  position:relative;
  text-decoration:none;
}

.header-nav a::after,.header-contacts a::after,.footer-nav a::after,.mobile-menu nav a::after {
  content:'';
  position:absolute;
  left:50%;
  bottom:-6px;
  width:100%;
  border-bottom:2px solid currentColor;
  opacity:0;
  transform:translateX(-50%);
  pointer-events:none;
}

.header-nav a:hover::after,.header-contacts a:hover::after,.footer-nav a:hover::after,
.header-nav a:focus-visible::after,.header-contacts a:focus-visible::after,.footer-nav a:focus-visible::after,.mobile-menu nav a:focus-visible::after {
  opacity:1;
}

.mobile-menu nav a::after {
  left:0;
  bottom:5px;
  transform:none;
}

.menu-call {
  margin-top:auto;
  padding:68px 0
}

.menu-call a {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:56px;
  background:#fff;
  color:var(--navy);
  border-radius:12px 0 12px 0;
  font-size:18px;
  font-weight:500;
  text-decoration:none
}

.menu-call .icon {
  width:24px;
  height:24px
}

.menu-is-open {
  overflow:hidden
}

@media(min-width:1600px) {
  .farm-photo {
    width:100%
  }

}

@media(max-width:1100px) {
  .header-nav,.header-contacts {
    display:none;
  }

  .header-row {
    display:flex;
    justify-content:space-between;
  }

  .has-menu .menu-toggle {
    display:flex;
  }

  .site-header {
    padding:32px 24px
  }

  .farm {
    column-gap:40px
  }

  .farm-photo {
    width:100%
  }

  .photo-card {
    padding:24px
  }

  .reviews {
    min-height:0
  }

  .footer-panel {
    min-height:0
  }

}

@media(max-width:700px) {
  h2 {
    font-size:36px;
    line-height:1.15
  }

  h3 {
    font-size:28px;
    line-height:1.2
  }

  .house-decoration {
    display:none
  }

  .site-header {
    padding:68px 24px 20px;
    padding-top:max(68px,env(safe-area-inset-top))
  }

  .site-header.site-header-interior {
    padding: max(68px, env(safe-area-inset-top)) 24px 12px;
  }

  .header-row {
    min-height:48px
  }

  .header-brand .logo {
    width:170px;
    height:34px
  }

  .home .header-brand {
    display:none
  }

  .home .header-row {
    justify-content:flex-end
  }

  .button {
    font-size:14px;
    padding:18px 30px;
    line-height:16px
  }

  .house>.section-intro {
    padding:56px 24px 32px
  }

  .house-cards {
    grid-template-columns:1fr;
    padding:0 24px 56px
  }

  .photo-card {
    min-height:420px;
    gap:12px
  }

  .photo-card h3 {
    line-height:1.15
  }

  .farm {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    padding:56px 24px;
    min-height:0;
    gap:28px
  }

  .eyebrow {
    font-size:13px;
    margin-bottom:16px
  }

  .farm-copy h2 {
    margin-bottom:28px;
    line-height:1.15
  }

  .farm-photo {
    height:260px
  }

  .farm>.button {
    margin:0;
    align-self:flex-start
  }

  .farm-text {
    font-size:18px;
    line-height:28.5px
  }

  .reviews {
    padding:56px 24px
  }

  .reviews-grid {
    display:block
  }

  .reviews-left,.reviews-right {
    padding:0;
    border:0
  }

  .reviews-heading {
    max-width:none;
    padding-bottom:28px;
    margin-bottom:40px
  }

  .reviews-heading h2 {
    max-width:none
  }

  .review+.review,.reviews-right {
    margin-top:40px
  }

  .review blockquote {
    font-size:22px;
    line-height:1.45
  }

  .quote-icon {
    margin-bottom:24px
  }

  .review figcaption {
    margin-top:24px
  }

  .rating {
    align-items:flex-start;
    margin:40px 0 0
  }

  .section-pad {
    padding:56px 24px
  }

  .local-grid {
    grid-template-columns:1fr;
    margin-top:40px
  }

  .local-grid h3 {
    margin-bottom:16px
  }

  .activity-icon {
    margin-bottom:20px
  }

  .local>.button {
    margin-top:36px
  }

  .tourism-grid {
    grid-template-columns:1fr;
    margin-top:32px
  }

  .tourism .section-intro h2 {
    max-width:342px
  }

  .site-footer {
    padding:56px 24px 32px;
    min-height:0;
    margin-top:0
  }

  .footer-panel {
    padding:28px;
    max-width:100%
  }

  .footer-panel h2 {
    font-size:40px;
    line-height:1.15;
    margin-bottom:28px
  }

  .footer-panel p {
    padding:28px 0 0;
    margin-bottom:28px
  }

  .footer-nav {
    margin-top:40px
  }

  .footer-nav .menu {
    flex-direction:column;
    gap:18px;
    padding-right:0;
  }

  .footer-nav a {
    font-size:14px;
    line-height:21px;
  }

  .copyright {
    font-size:12px;
    line-height:1.6
  }

  .standard-page {
    padding:56px 24px
  }

  .standard-page h1 {
    font-size:40px
  }

  .mobile-menu {
    padding-top:max(68px,env(safe-area-inset-top))
  }

  .menu-call {
    padding-bottom:max(68px,env(safe-area-inset-bottom))
  }

}

@media(max-width:374px) {
  .footer-panel {
    padding:24px
  }

  .footer-panel h2 {
    font-size:36px
  }

  .footer-panel .button {
    padding:16px
  }

}

/* À ces largeurs, la ferme passe en colonne pour garder de la place au texte. */
@media(min-width:701px) and (max-width:1100px) {
  .farm {
    display:flex;
    flex-direction:column;
    gap:40px;
    align-items:stretch
  }

  .farm>.button {
    align-self:flex-start;
    margin:0
  }

  .house-cards {
    grid-template-columns:1fr
  }

  .house-cards .photo-card {
    min-height:480px
  }

  .local-grid {
    gap:24px
  }

  .local-grid h3 {
    font-size:28px
  }

}

@media(min-width:701px) and (max-width:900px) {
  .reviews-grid {
    display:block;
    max-width:600px;
  }

  .reviews-left,.reviews-right {
    padding:0;
    border:0;
  }

  .reviews-right {
    margin-top:64px;
  }

  .reviews-heading,.reviews-heading h2 {
    max-width:none;
  }

  .rating {
    max-width:600px;
  }

  .local-grid {
    grid-template-columns:1fr;
    gap:48px;
  }
}

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

  * {
    transition:none!important
  }

}

