@font-face {
  font-family: Montserrat;
  src: url('font/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Avenir;
  src: url('font/AvenirLTStd-Book.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --kaki: #596344;
  --fonce: #343e25;
  --encre: #252923;
  --or: linear-gradient(110deg,#8b5e08,#d2b15b);
  --papier: #f8f8f5;
  --ligne: #e2e5da;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--encre);
  font: 17px/1.6 Avenir,Arial,sans-serif;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

img {
  max-width: 100%;
  height: auto;
}

h1,h2,h3,.surtitre,.bouton,nav,.signature {
  font-family: Montserrat,Arial,sans-serif;
}

h1,h2,h3,p,figure {
  margin: 0;
}

h2 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.7px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid #b58a31;
  outline-offset: 5px;
}

.enveloppe {
  width: min(1200px,calc(100% - 80px));
  margin-inline: auto;
}

.entete {
  width: min(1320px,calc(100% - 64px));
  margin: auto;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.entete>a {
  display: flex;
}

.entete img {
  width: 215px;
  max-height: 82px;
  object-fit: contain;
}

.entete nav {
  display: flex;
  gap: 26px;
  font-size: 12px;
  font-weight: 500;
}

.entete nav a {
  text-decoration: none;
}

.entete nav a:hover {
  color: var(--kaki);
}

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 0;
  border-radius: 15px;
  padding: 16px 23px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}

.or {
  background: var(--or);
  color: white;
  box-shadow: 0 6px 16px #8b5e0810;
}

.bouton:hover {
  filter: brightness(1.06);
}

.bouton span {
  font-size: 19px;
  line-height: 1;
}

.presentation {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: 54px;
  padding: 50px 0 58px;
}

.surtitre {
  font-size: 10px;
  letter-spacing: 2.8px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--kaki);
  margin-bottom: 17px;
}

h1 {
  font-size: clamp(35px,3.8vw,55px);
  line-height: 1.08;
  letter-spacing: -1.8px;
  font-weight: 650;
  color: var(--fonce);
}

h1 span {
  display: block;
  font-size: .83em;
  margin-top: 8px;
}

.signature {
  font-size: 15px;
  margin-top: 24px;
}

.signature strong {
  display: block;
  font-size: 22px;
  margin-top: 4px;
  font-weight: 650;
  color: var(--kaki);
  letter-spacing: .3px;
}

.texte-intro {
  font-size: 17px;
  margin-top: 20px;
  max-width: 410px;
  color: #62665e;
}

.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.appel {
  font-size: 16px;
  white-space: nowrap;
  color: var(--fonce);
}

.remise {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 32px;
  padding-top: 23px;
  border-top: 1px solid var(--ligne);
}

.montant {
  font: italic 700 37px/1 Montserrat,Arial;
  color: #a47a21;
  white-space: nowrap;
}

.remise p {
  font-size: 15px;
  line-height: 1.4;
}

.remise p span {
  display: block;
  font-size: 11px;
  color: #777e70;
  margin-top: 4px;
}

.photo-centre {
  overflow: hidden;
  border-radius: 26px;
  background: var(--kaki);
  box-shadow: 0 20px 40px #343e2512;
}

.photo-centre>img {
  display: block;
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.photo-centre figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 24px;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.photo-centre small {
  opacity: .8;
  font-size: 12px;
}

.photo-centre figcaption a {
  margin-left: auto;
  font-size: 12px;
  white-space: nowrap;
}

.repere {
  font-size: 32px;
  line-height: 1;
}

.pratique {
  background: var(--kaki);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr 1.12fr;
  border-radius: 17px;
  padding: 24px 28px;
  gap: 23px;
}

.pratique>div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pratique>div+div {
  padding-left: 23px;
  border-left: 1px solid #ffffff40;
}

.pratique svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.pratique p {
  font-size: 12px;
  line-height: 1.6;
}

.pratique strong {
  font-family: Montserrat;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  margin-bottom: 3px;
}

.pratique p span {
  display: block;
  opacity: .9;
}

.tarifs {
  padding: 75px 0;
}

.titre-section {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 32px;
}

.titre-section .surtitre {
  margin-bottom: 10px;
}

.titre-section>p {
  font-size: 12px;
  color: #74796b;
  white-space: nowrap;
}

.grille-tarifs {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
}

.tableau {
  border: 1px solid var(--ligne);
  border-radius: 18px;
  padding: 28px 30px;
}

.tableau h3 {
  margin-bottom: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,td {
  padding: 15px 0;
  border-bottom: 1px solid var(--ligne);
  font-size: 15px;
}

th {
  text-align: left;
  font-weight: 400;
}

td {
  text-align: right;
  white-space: nowrap;
  font: 600 18px Montserrat;
  color: var(--fonce);
  padding-left: 16px;
}

.pastille {
  font-size: 9px;
  background: #eef0e8;
  color: var(--kaki);
  display: inline-block;
  border-radius: 5px;
  padding: 3px 6px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

.note {
  font-size: 12px;
  color: #74796b;
  line-height: 1.6;
  margin-top: 20px;
}

.complement details {
  border-top: 1px solid var(--ligne);
  padding: 19px 0;
}

.complement details:last-child {
  border-bottom: 1px solid var(--ligne);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font: 600 16px/1.5 Montserrat;
}

summary::-webkit-details-marker {
  display: none;
}

summary>span {
  font-size: 22px;
  font-weight: 400;
  color: var(--kaki);
}

details[open] summary>span {
  font-size: 0;
}

details[open] summary>span:after {
  content: '−';
  font-size: 22px;
}

.detail-contenu>p {
  font-size: 13px;
  margin-top: 13px;
  color: #707666;
}

dl {
  margin: 15px 0 0;
}

dl>div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 13px 0;
  font-size: 14px;
}

dd {
  margin: 0;
  font-family: Montserrat;
  font-weight: 600;
  color: var(--fonce);
  white-space: nowrap;
}

.visite {
  background: var(--papier);
  padding: 64px 0;
}

.grille-visite {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 80px;
}

.grille-visite>div>p:not(.surtitre) {
  color: #707666;
  margin-top: 20px;
  max-width: 360px;
  font-size: 15px;
}

.contour {
  border: 1px solid var(--kaki);
  color: var(--fonce);
  margin-top: 25px;
  background: transparent;
}

.etapes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.etapes li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ligne);
}

.etapes li:first-child {
  padding-top: 0;
}

.etapes li>span {
  font: 500 12px Montserrat;
  color: #a47a21;
  padding-top: 4px;
}

.etapes h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.etapes p {
  font-size: 14px;
  color: #707666;
}

.etapes a {
  font-size: 12px;
  display: inline-block;
  margin-top: 8px;
  color: var(--kaki);
}

.dernier-rdv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 55px 0;
}

.dernier-rdv h2 {
  font-size: 27px;
}

.dernier-rdv .surtitre {
  margin-bottom: 10px;
}

footer {
  border-top: 1px solid var(--ligne);
}

.pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.pied img {
  width: 160px;
}

.pied p,.pied a {
  font-size: 11px;
  color: #707666;
}

.statut {
  text-align: center;
  font-size: 10px;
  line-height: 1.7;
  color: #777e70;
  background: var(--papier);
  padding: 12px 25px;
}

.evitement {
  position: absolute;
  left: 10px;
  top: -100px;
  padding: 10px;
  background: white;
  z-index: 10;
}

.evitement:focus {
  top: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

dialog {
  border: 1px solid var(--ligne);
  border-radius: 20px;
  padding: 36px;
  max-width: 450px;
  width: calc(100% - 40px);
  color: var(--encre);
}

dialog::backdrop {
  background: #1e211b88;
}

dialog h2 {
  font-size: 24px;
}

dialog>p:not(.surtitre) {
  margin: 18px 0 24px;
  font-size: 15px;
}

.fermer {
  position: absolute;
  top: 8px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 28px;
  color: var(--kaki);
}

@media(min-width:1600px) {
  .presentation {
    padding-top: 70px;
    padding-bottom: 70px;
  }

}

@media(max-width:1050px) {
  .entete nav {
    gap: 15px;
  }

  .entete img {
    width: 180px;
  }

  .entete .bouton {
    padding: 13px 15px;
  }

  .presentation {
    gap: 30px;
  }

  .pratique {
    padding: 22px 20px;
    gap: 15px;
  }

  .pratique>div+div {
    padding-left: 15px;
  }

  .grille-tarifs {
    gap: 25px;
  }

  .titre-section {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .grille-visite {
    gap: 40px;
  }

  .photo-centre figcaption {
    padding: 18px 16px;
    gap: 9px;
  }

}

@media(max-width:800px) {
  .enveloppe {
    width: calc(100% - 40px);
  }

  .entete {
    width: calc(100% - 40px);
    min-height: 95px;
    flex-wrap: wrap;
    padding: 16px 0;
    gap: 16px;
  }

  .entete nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding: 10px 0;
    border-top: 1px solid var(--ligne);
    font-size: 11px;
    gap: 22px;
  }

  .entete img {
    width: 165px;
  }

  .entete .bouton {
    font-size: 10px;
    gap: 10px;
    padding: 12px;
  }

  .presentation {
    grid-template-columns: 1fr;
    padding: 30px 0;
    gap: 30px;
  }

  .introduction {
    max-width: 560px;
  }

  h1 {
    font-size: 43px;
  }

  .signature strong {
    display: inline;
    font-size: 17px;
    margin-left: 4px;
  }

  .texte-intro {
    max-width: 510px;
  }

  .photo-centre>img {
    aspect-ratio: 1.5;
  }

  .pratique {
    grid-template-columns: 1fr;
    border-radius: 15px;
    padding: 8px 22px;
    gap: 0;
  }

  .pratique>div {
    padding: 16px 0;
  }

  .pratique>div+div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #ffffff40;
  }

  .pratique strong {
    font-size: 11px;
  }

  .pratique p {
    font-size: 13px;
  }

  .tarifs {
    padding: 45px 0;
  }

  .grille-tarifs,.grille-visite {
    grid-template-columns: 1fr;
  }

  .grille-tarifs {
    gap: 20px;
  }

  h2 {
    font-size: 26px;
  }

  .tableau {
    padding: 23px 20px;
  }

  .titre-section {
    margin-bottom: 24px;
  }

  .visite {
    padding: 40px 0;
  }

  .grille-visite {
    gap: 32px;
  }

  .dernier-rdv {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0;
    gap: 23px;
  }

  .dernier-rdv h2 {
    font-size: 25px;
  }

  .pied {
    flex-wrap: wrap;
    gap: 17px;
  }

  .pied p {
    width: 100%;
    order: 3;
  }

  .photo-centre figcaption {
    font-size: 12px;
  }

  .photo-centre small {
    font-size: 11px;
  }

}

@media(max-width:380px) {
  .entete img {
    width: 140px;
  }

  .entete .bouton {
    font-size: 9px;
    padding: 11px 9px;
    gap: 5px;
  }

  .entete nav {
    gap: 12px;
    font-size: 10px;
  }

  h1 {
    font-size: 36px;
  }

  .signature {
    font-size: 13px;
  }

  .signature strong {
    font-size: 15px;
  }

  .actions {
    gap: 16px;
  }

  .photo-centre figcaption {
    flex-wrap: wrap;
  }

  .photo-centre figcaption a {
    margin-left: 40px;
  }

  th {
    font-size: 13px;
  }

  td {
    font-size: 16px;
  }

  .tableau {
    padding: 20px 16px;
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

}

/* Intégration aux pages du site RF Contrôle */
.photo-attente {
  aspect-ratio: 1.38;
  background: #eeefe7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 32px;
}

.photo-attente img {
  width: 100%;
  max-width: 370px;
  background: #1e211b;
  border-radius: 12px;
  padding: 20px;
}

.photo-attente>span {
  font-size: 14px;
  color: #596344;
}

.liens-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.autres-centres {
  padding: 0 0 42px;
}

.autres-centres>div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.autres-centres a {
  color: #596344;
  font-size: 14px;
}

@media(max-width:1100px) and (min-width:801px) {
  .entete {
    flex-wrap: wrap;
    padding: 15px 0;
  }

  .entete nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 10px;
  }

  .entete .bouton {
    margin-left: auto;
  }

}

@media(max-width:800px) {
  .photo-attente {
    aspect-ratio: 1.5;
  }

  .entete nav {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .pied {
    align-items: flex-start;
  }

  .liens-footer {
    gap: 12px;
  }

}

/* Nom du centre sur une seule ligne sur ordinateur */
@media (min-width: 801px) {
  .presentation h1 {
    font-size: clamp(24px, 2.2vw, 34px);
    letter-spacing: -0.8px;
    white-space: nowrap;
  }

  .presentation h1 span {
    display: inline;
    font-size: inherit;
    margin-top: 0;
  }

  .presentation h1 span::before {
    content: "-";
  }

}

.presentation h1 {
  font-family: "Montserrat", Arial, sans-serif;
  text-transform: uppercase;
}
