﻿
@font-face {
  font-family: "Copperplate";
  src: url("/fonts/Copperplate Gothic Condensed Regular.otf") format("otf");
  font-display: swap;
}

@font-face {
  font-family: "Pinyon Script";
  src: url("/fonts/pinyon-script.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "kepler";
  src: url("/fonts/kepler-w03-light-scd-cp.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "didot-w01-italic";
  src: url("/fonts/Didot eText W01 Italic.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "bandito";
  src: url("/fonts/Bandito.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: 'ElicitScript';
  src: url('/fonts/ElicitScript-SmBdFormal.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

body {
  justify-content: center;
  align-items: center;
  height: 100svh;
  padding: 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@font-face {
  font-family: "TwemojiFlags";
  src: url("/fonts/TwemojiCountryFlags.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+1F1E6-1F1FF, /* indicateurs régionaux A–Z */
  U+1F3F4, /* drapeau noir ondulant (GB régions) */
  U+E0061-E007A, /* tags a–z */
  U+E007F; /* cancel tag */
}

.flag-emoji {
  font-family: "TwemojiFlags","Apple Color Emoji","Noto Color Emoji","Segoe UI Emoji","Twemoji Mozilla",sans-serif;
  font-size: 32px;
}

.fil0 {
  fill: #9F585C;
  fill-rule: nonzero
}

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 16px;
  font-size: 20px;
  background-color: #9F585C;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

  #backToTop.visible {
    opacity: 0.8;
    pointer-events: auto;
    padding-left: 11px;
    padding-right: 11px;
    padding-top: 11px;
    padding-bottom: 6px;
  }

  #backToTop:hover {
    opacity: 1;
  }

.linklike {
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
}

#error {
  font-weight: bold;
  color: darkred;
}

#success {
  font-weight: bold;
  color: darkgreen;
}

main {
  display: grid;
  grid-template-columns: 150px 1fr; /* nav à gauche, contenu à droite */
  min-height: calc(100vh - 100px); /* adapte selon la hauteur du header/footer */
}

.content {
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 30px;
  font-family: kepler;
}

html {
  scroll-behavior: smooth;
}

table {
  padding-left: 16px;
}

.galerie-part {
  width: 160px;
  position: relative;
  text-decoration: none;
}

.galerie-part-img {
  width: 160px;
  border: solid 3px transparent;
}

  .galerie-part-img:hover {
    width: 160px;
    border: solid 3px #9F585C;
  }

.galerie-part-title {
  background-color: #9F585C;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 4px;
  font-variant: small-caps;
}

fieldset > *:not(:last-child) {
  margin-bottom: 4px;
}

fieldset {
  max-width: 540px;
}

.calage {
  width: 130px;
  display: inline-block;
}

.text2 {
  min-width: 250px;
  max-width: 400px;
  width: 100%;
  height: 100px;
}

#pied-f {
  max-width: 510px;
  width: 100%;
  text-align: center;
}

#map {
  height: 500px;
  width: 100%;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  max-width: 900px;
  margin: 40px auto;
  padding-top: 4px;
}

  .gallery img {
    width: 100%;
    height: auto;
    max-height: 152px;
    border-radius: 6px;
    cursor: pointer;
    object-fit: contain;
  }

.pswp__img {
  object-fit: contain;
}

.submenu {
  text-align: center;
  padding-top: 24px;
  width: 100%;
  /*  transform: translateX(-80px);*/
  font-size: 20px;
}

  .submenu a {
    text-decoration: none;
    font-variant: small-caps;
    color: black;
  }

    .submenu a:hover {
      color: grey;
    }

  .submenu img {
    width: 18px;
    margin-left: 8px;
    margin-right: 8px;
  }

a {
  text-decoration: none;
}

#bandeau {
  height: 160px;
  padding-top: 6px;
  text-align: center;
}

#DomaineRocDAnglade {
  color: black;
  font-size: 2em;
  font-family: 'Copperplate Gothic';
  font-weight: 700;
  text-align: center;
  transform-origin: center;
  transform: scaleY(1.25) scaleX(0.9) translateX(90px);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

#logo {
  padding-left: 20px;
  transform: translateX(80px);
}

footer {
  color: black;
  text-align: center;
  height: 48px;
}

  footer p {
    padding-top: 4px;
  }

  footer a {
    color: black;
    text-decoration: none;
  }

    footer a:hover {
      color: dimgrey;
    }

#DomaineProjet,#DomainePhilosophie,#DomaineTerroir,#DomaineRecolte,#DomaineVinification,
#EquipeRemy,#EquipeMartine,#EquipeTheo,#EquipeEdouard,#EquipeSabrina,#CruEntete {
  flex: 1;
}

/* Page accueil */
#Accueil {
  width: 100%;
  height: 100%;
  min-width: 450px;
  max-height: 600px;
  max-width: 900px;
  font-family: didot-w01-italic, serif;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0em;
  margin-top: 70px;
  background-image: url(/images/Downloads/Filigrane.avif);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: -50px -150px;
}

  #Accueil p {
    max-width: 450px;
    min-width: 450px;
    margin-left: auto;
    margin-right: auto;
    /*transform: translateX(-80px);*/
    line-height: 1.6em;
  }

/* Page Domaine */
#sectionDomaine {
}

  #sectionDomaine > p {
    font-weight: normal;
    font-style: italic;
  }

  #sectionDomaine h3 {
    font-family: adobe-caslon-w01-smbd, serif;
    font-style: italic;
    text-decoration: underline;
    font-size: 16px;
  }

.row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

  .row img {
    display: block;
    width: 100%;
    height: auto;
  }

#textDomaineProjet {
  flex: 1 1 50px;
  min-width: 50px;
  max-width: 500px;
}

#DomaineProjet img {
  display: block;
  width: 100%;
  height: auto;
}

#textDomainePhilosophie, #textDomaineRecolte {
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 500px;
}

#DomainePhilosophie img {
  max-width: 200px;
}

#textDomaineTerroir, #textDomaineVinification {
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 500px;
}

#DomaineTerroir {
  align-content: center;
}

  #DomaineTerroir img {
    max-height: 400px;
    width: auto;
  }

/* Page l'équipe */
#sectionEquipe {
}

.separator {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom:10px;
  width: 100px;
}
  #sectionEquipe a {
    text-decoration: none;
    color: black;
  }

    #sectionEquipe a:hover {
      color: grey;
    }

  #sectionEquipe img {
    max-width: 200px;
    min-width: 100px;
  }

#EquipeRemy img {
  max-width: 300px;
  min-width: 160px;
}

#textEquipeRemy, #textEquipeEdouard, #textEquipeMartine, #textEquipeSabrina, #textEquipeTheo {
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 500px;
}

/* Page Cru Langlade */
#sectionCru {
  line-height: 1.4em;
}

#CruEntete img {
  margin-top: -30px;
  min-width: 100px;
}

#sectionCru ul {
  list-style: none;
  padding: 0;
}

  #sectionCru ul > li {
  }

/* Page Cru Langlade */
#Millesimes {
  line-height: 1.4em;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

  #Millesimes ul {
    list-style: none;
  }

  #Millesimes > aside > ul > li > button {
    text-decoration: none;
    color: black;
    font-family: bandito;
    font-size: 38px;
  }

#detail {
  flex: 1;
  min-height: 120px;
}

#detail > article > h3 {
  font-family: "Pinyon script";
  color: rgb(11, 77, 22);
  font-size: 27px;
  font-weight: 400;
  height: 30px;
  text-decoration: underline;
}

#detail > article > h4 {
  text-align: center;
  margin-left: 20%;
  margin-right: 20%;
}

#detail > article {
  font-family: adobe-caslon-w01-smbd, serif;
}

/* Page cuvées */
#cuvees {
  justify-content: center;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

  #cuvees > aside {
    min-width: 220px;
  }

    #cuvees > aside > h1 {
      font-family: "Pinyon script";
      color: rgb(11, 77, 22);
      font-size: 27px;
      font-weight: 400;
      height: 30px;
      text-align: center;
      /*transform: translate(-80px);*/
    }

    #cuvees > aside > ul {
      display: flex;
      flex-wrap: wrap;
      list-style: none;
      margin-bottom: 50px;
      max-width: 650px;
      text-align: center;
      justify-content: center;
      padding-inline-start: 0px;
      /*transform: translateX(-80px);*/
    }

      #cuvees > aside > ul > li {
        width: 55px;
      }

        #cuvees > aside > ul > li > a {
          color: black;
          text-decoration: underline;
          font-weight: 400;
          font-size: 18px;
        }

#detailCuvee {
  font-family: adobe-caslon-w01-smbd,serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 22.4px;
}

  #detailCuvee > h1 {
    font-family: adobe-caslon-w01-smbd,serif;
    font-weight: normal;
    font-size: 16px;
    font-style: italic;
    line-height: 22.4px;
  }

  #detailCuvee > h2 {
    font-family: adobe-caslon-w01-smbd,serif;
    font-weight: normal;
    font-size: 16px;
    text-decoration: underline;
    font-style: italic;
    line-height: 0px;
  }

#cuveeNavButton {
  text-align: center;
  /*transform: translateX(-100px);*/
}

  #cuveeNavButton a {
    text-decoration: none;
    color: black;
  }

    #cuveeNavButton a:hover {
      text-decoration: none;
      color: grey;
    }

#Distributeurs, #Cavistes, #Restaurants {
  line-height: 1.4em;
}

  #Distributeurs h2, #Cavistes h2, #Restaurants h2 {
    font-family: "Pinyon script";
    color: rgb(11, 77, 22);
    font-size: 27px;
    height: 30px;
    font-weight: 400;
  }

  #Distributeurs > ul > li > a {
    color: #9F585C;
  }

  #GallerieCaption {
    text-align: center;
    margin: 20px;
  }

#ListeDomaineNote {
  margin-top: 10px;
  float: left;
  width: 1.5em;
  text-align: center;
  height: 150px;
}

#ListeDomaines {
  font-style: italic;
  margin: 0;
  margin-top: 10px;
  padding-left: 0;
}

#sectionGalerie {
  overflow-x: auto;
}

#Copyright {
  list-style: none;
  padding-left: 0px;
}