@import url("/martinet-original-fonts.css");













html { scroll-behavior: smooth; }
body { margin: 0; background: #FBF4E6; }
::selection { background: #F5C518; color: #14323C; }
a { color: #17677C; } a:hover { color: #0E4B5C; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.mtn-mgal{column-count:3;column-gap:clamp(14px,2vw,20px);}
@media(max-width:900px){.mtn-mgal{column-count:2;}}
@media(max-width:560px){.mtn-mgal{column-count:2;column-gap:10px;}.mtn-mgal > div{margin-bottom:10px !important;}}
@media (max-width:759px),(prefers-reduced-motion:reduce){[data-hpin]{height:auto !important;}[data-hpin-sticky]{position:static !important;min-height:0 !important;overflow:visible !important;padding:clamp(48px,10vw,80px) 0 !important;}[data-hpin-track]{width:auto !important;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;transform:none !important;padding-bottom:14px;}}
@media (max-width:760px){
[style*="grid-template-columns"]:not([data-keep-cols]):not([style*="grid-template-columns"]:not([style*="auto-fit"]):has(> [data-reveal="mask"]:first-child + [data-reveal="mask"])){grid-template-columns:1fr !important;}
    [style*="grid-template-columns"][style*="auto-fit"]:has(> [data-reveal="mask"]:first-child + [data-reveal="mask"]){grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;}
    [style*="grid-template-columns"][style*="auto-fit"]:has(> [data-reveal="mask"]:first-child + [data-reveal="mask"]):has(> [data-reveal="mask"]:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:8px !important;}
    [style*="grid-template-columns"]:has(> [data-reveal="mask"]:first-child + [data-reveal="mask"]) > [data-reveal="mask"]{max-height:none !important;}
    [style*="grid-template-columns"][style*="auto-fit"]:has(> [data-reveal="mask"]:first-child + [data-reveal="mask"]) > [data-ar="portrait"]{aspect-ratio:3/4 !important;}
    [style*="grid-template-columns"][style*="auto-fit"]:has(> [data-reveal="mask"]:first-child + [data-reveal="mask"]) > [data-ar="land"]{aspect-ratio:4/3 !important;}
    [style*="grid-template-columns"]:not([style*="auto-fit"]):has(> [data-reveal="mask"]:first-child + [data-reveal="mask"]){gap:8px !important;grid-auto-rows:clamp(150px,42vw,260px) !important;align-items:stretch !important;}
    [style*="grid-template-columns"]:not([style*="auto-fit"]):has(> [data-reveal="mask"]:first-child + [data-reveal="mask"]) > *{aspect-ratio:auto !important;height:100% !important;width:100% !important;min-width:0 !important;max-height:none !important;}
    [data-duo-a]{border-radius:clamp(56px,16vw,220px) 14px 14px 14px !important;}
    [data-duo-b]{border-radius:14px 14px clamp(40px,10vw,140px) 14px !important;}
    [style*="column-count"]{column-count:2 !important;column-gap:10px !important;}
    [style*="column-count"] > *{margin-bottom:10px !important;}
    [data-ar]{width:100% !important;}
    [data-perks]{gap:26px 16px !important;}
    [data-perks] > div{gap:8px !important;}
    [data-perks] svg{width:24px;height:24px;}
    [data-perks] h3{font-size:18px !important;line-height:1.15;}
    [data-perks] p{font-size:13px !important;line-height:1.5 !important;}
    [data-stats] > div > div:first-child{font-size:clamp(24px,8vw,34px) !important;}
    [data-stats] > div > div:last-child{font-size:12px !important;line-height:1.35 !important;margin-top:6px !important;}
    [data-pair]{padding:0 20px !important;gap:10px !important;align-items:flex-end !important;}
    [data-pair] > [data-ar]{width:auto !important;max-height:none !important;min-height:0 !important;}
    [data-pair] > [data-ar]:first-child{flex:0 0 40% !important;aspect-ratio:3/4.4 !important;border-radius:80px 80px 12px 12px !important;}
    [data-pair] > [data-ar]:last-child{flex:1 1 auto !important;aspect-ratio:3/4 !important;border-radius:110px 110px 14px 14px !important;}
    [data-pair] img{inset:0 !important;height:100% !important;transform:none !important;}
    [style*="column-width"]{column-count:2 !important;column-width:auto !important;column-gap:10px !important;}
    [style*="column-width"] > *{margin-bottom:10px !important;border-radius:14px;}
    .mtn-mgal img{width:100% !important;}
    [style*="grid-template-columns"]:has(> :first-child:not([data-reveal="mask"]) img):has(> :nth-child(2):not([data-reveal="mask"]) img){grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;}
    [style*="grid-template-columns"]:has(> :first-child:not([data-reveal="mask"]) img):has(> :nth-child(2):not([data-reveal="mask"]) img) [data-ar]{aspect-ratio:1/1 !important;max-height:none !important;}
    [style*="grid-template-columns"]:has(> :first-child:not([data-reveal="mask"]) img):has(> :nth-child(2):not([data-reveal="mask"]) img) img{width:100% !important;object-fit:cover;}
    [style*="grid-template-columns"]:has(> :first-child:not([data-reveal="mask"]) img):has(> :nth-child(2):not([data-reveal="mask"]) img) > * > :not([data-ar]):not(img){padding:12px 12px 14px !important;}
    [style*="grid-template-columns"]:has(> :first-child:not([data-reveal="mask"]) img):has(> :nth-child(2):not([data-reveal="mask"]) img) h3{font-size:19px !important;line-height:1.15 !important;margin:0 0 6px !important;}
    [style*="grid-template-columns"]:has(> :first-child:not([data-reveal="mask"]) img):has(> :nth-child(2):not([data-reveal="mask"]) img) p{font-size:13.5px !important;line-height:1.5 !important;}
    [style*="grid-template-columns"]:has(> :first-child:not([data-reveal="mask"]) img):has(> :nth-child(2):not([data-reveal="mask"]) img) > :last-child:nth-child(odd){grid-column:1 / -1;}
    [style*="grid-template-columns"]:has(> :first-child:not([data-reveal="mask"]) img):has(> :nth-child(2):not([data-reveal="mask"]) img) > :last-child:nth-child(odd) [data-ar]{aspect-ratio:16/9 !important;}
    [data-ar="land"],[data-reveal="mask"]{max-height:40svh;}
    [data-hpin-track] > img{height:clamp(170px,32svh,240px) !important;width:auto !important;}
    [data-hpin-track] > img[aria-hidden="true"]{display:none !important;}
section,[class]{max-width:100%;}
img{max-width:100%;}
[data-ar="portrait"]{aspect-ratio:4/3 !important;max-height:40svh;min-height:0 !important;}
[data-ar="land"]{max-height:40svh;}
[data-ar] > img{height:100% !important;width:100% !important;}
[data-parallax]{transform:none !important;inset:0 !important;height:100% !important;}
section > div > div{padding-left:20px;padding-right:20px;}
section > div{box-sizing:border-box;}
*{min-width:0;}
[data-mob-hide]{display:none !important;}
[data-mob-first]{order:0 !important;padding:0 20px !important;}
[style*="transform:scale(1.04)"]{transform:none !important;}
h1{font-size:clamp(40px,11vw,56px) !important;}
h2{font-size:clamp(28px,7.5vw,40px) !important;}
}
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .mtn-faq-plus { transform: rotate(45deg); }
@keyframes mtn-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width:759px),(prefers-reduced-motion:reduce){[data-hpin]{height:auto !important;}[data-hpin-sticky]{position:static !important;min-height:0 !important;overflow:visible !important;}[data-hpin-track]{transform:none !important;width:auto !important;overflow-x:auto !important;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;padding-bottom:14px;}}
@media (min-width:761px){ [data-fill]{aspect-ratio:auto;height:100%;min-height:0;} }
html { scroll-behavior: smooth; } body { margin: 0; background: #FBF4E6; }
::selection { background: #F5C518; color: #14323C; } a { color: #17677C; } a:hover { color: #0E4B5C; }
details > summary { list-style: none; cursor: pointer; } details > summary::-webkit-details-marker { display: none; }
details[open] .mtn-plus { transform: rotate(45deg); }
.rt { display: none; }
.rt.on { display: block; }

/* Accueil : évite tout contenu masqué en haut si la hauteur est insuffisante.
   Aucun changement sur mobile (<=760px), ni aux autres sections/pages. */
@media (min-width: 761px) {
  .rt[data-route="Domaine-du-Martinet"] > div > section:first-of-type {
    justify-content: safe flex-end !important;
  }
}

/* MARTINET_GALERIE_MOBILE_ARRONDIS_V1
   Galerie photos Mariages sur l'accueil, telephone uniquement.
   Deux formes conservees : arches marquees et coins arrondis.
   Aucun changement de taille, colonnes, ordre, animations, desktop ou Keystatic. */
@media screen and (max-width: 560px) {
  .mtn-mgal > div {
    overflow: hidden !important;
  }
  /* Photos avec une arche en haut : meme silhouette que sur ordinateur,
     redimensionnee automatiquement selon la largeur mobile. */
  .mtn-mgal > div:nth-child(1),
  .mtn-mgal > div:nth-child(3),
  .mtn-mgal > div:nth-child(4),
  .mtn-mgal > div:nth-child(6) {
    border-radius: 999px 999px 16px 16px !important;
  }
  /* Autres images : coins arrondis comme sur ordinateur. */
  .mtn-mgal > div:nth-child(2),
  .mtn-mgal > div:nth-child(5),
  .mtn-mgal > div:nth-child(7),
  .mtn-mgal > div:nth-child(8),
  .mtn-mgal > div:nth-child(9) {
    border-radius: 18px !important;
  }
  /* Double masquage pour que l'image ne depasse jamais de la courbe,
     y compris au cours du depliage au scroll. */
  .mtn-mgal > div > img {
    border-radius: inherit !important;
    display: block;
  }
}

/* MARTINET_COURBES_MOBILE_V2_20261015
   Sur téléphone seulement : vrais rayons de la galerie desktop, pas 999px.
   Le masque sur l'IMG protège les courbes dans Safari/iOS pendant les animations. */
@media screen and (max-width: 560px) {
  .mtn-mgal > div { overflow: hidden !important; isolation: isolate; }
  .mtn-mgal > div:nth-child(1),
  .mtn-mgal > div:nth-child(3),
  .mtn-mgal > div:nth-child(4),
  .mtn-mgal > div:nth-child(6) {
    border-radius: 80px 80px 16px 16px !important;
  }
  .mtn-mgal > div:nth-child(1) > img,
  .mtn-mgal > div:nth-child(3) > img,
  .mtn-mgal > div:nth-child(4) > img,
  .mtn-mgal > div:nth-child(6) > img {
    border-radius: 80px 80px 16px 16px !important;
    -webkit-clip-path: inset(0 round 80px 80px 16px 16px);
    clip-path: inset(0 round 80px 80px 16px 16px);
  }
  .mtn-mgal > div:nth-child(2),
  .mtn-mgal > div:nth-child(5),
  .mtn-mgal > div:nth-child(7),
  .mtn-mgal > div:nth-child(8),
  .mtn-mgal > div:nth-child(9) {
    border-radius: 18px !important;
  }
  .mtn-mgal > div:nth-child(2) > img,
  .mtn-mgal > div:nth-child(5) > img,
  .mtn-mgal > div:nth-child(7) > img,
  .mtn-mgal > div:nth-child(8) > img,
  .mtn-mgal > div:nth-child(9) > img {
    border-radius: 18px !important;
    -webkit-clip-path: inset(0 round 18px);
    clip-path: inset(0 round 18px);
  }
}

/* MARTINET_FIX_STATS_CENTRAGE_V1
   Centre uniquement le bandeau horizontal et ses 3 statistiques sur l'accueil.
   La largeur, les polices, le contenu et les animations restent inchangés. */
.rt[data-route="Domaine-du-Martinet"] > div > section:first-of-type [data-stats] {
  width: 100%;
  box-sizing: border-box;
  margin-inline: auto !important;
}

/* MARTINET_NAVIGATION_FIDELE_20261016_V1
   Transition native entre documents (pas de couche de chargement).
   La page garde sa structure, ses couleurs et ses animations de contenu. */
@view-transition { navigation: auto; }
@keyframes mtn-nav-out { to { opacity: 0; } }
@keyframes mtn-nav-in  { from { opacity: 0; } to { opacity: 1; } }
::view-transition-old(root) { animation: 155ms ease-in both mtn-nav-out; }
::view-transition-new(root) { animation: 215ms ease-out both mtn-nav-in; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.01ms !important; }
}
