/* Two-page site for readers who are not at ease with a screen: large copy, strong contrast, big actions. */

:root {
  --muted: #33443f;
  --accent-texte: #7d2f22;
  --clair-sur-sombre: #e6ece8;
}

body {
  font-size: 1.25rem;
  line-height: 1.65;
}

/* Every piece of running text follows the body size: no small print.
   « :root » lifts these rules above the per-section sizes of site.css. */
:root body main :is(p, li, dd, dt, cite, figcaption),
:root body .site-header a,
:root body .site-footer :is(a, p, li, h2) {
  font-size: 1.25rem;
  line-height: 1.65;
}

@media (min-width: 761px) {
  body,
  :root body main :is(p, li, dd, dt, cite, figcaption),
  :root body .site-header a,
  :root body .site-footer :is(a, p, li, h2) {
    font-size: 1.3125rem;
  }
}

/* The few texts meant to be larger than the body. */
:root body .reviews-grid blockquote p {
  font-size: 1.5rem;
  line-height: 1.6;
}

:root body .tarifs-saisons .tarif-prix {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.25;
}

/* Contrast: accents and secondary text are darkened on paper, lightened on the dark sections. */
body .section-heading > p { color: var(--accent-texte); }
body .practical .section-heading > p,
body .practical :is(dt, dd, p),
body .dogs-copy :is(p, a),
body .reserver :is(p, a) { color: var(--clair-sur-sombre); }
body .hero-image-wrap figcaption,
body .dogs { background: var(--accent-texte); }
body .reviews-grid blockquote cite { color: var(--accent-texte); }
body .hero-intro,
body .page-intro p,
body p.page-intro,
body .aboard-copy > p,
body .bord-detail p,
body .page-contenu :is(p, li, figcaption),
body .site-footer :is(a, p),
body .wordmark small { color: var(--muted); }

/* The tagline belongs to the wordmark, not to the running text: readable, but it stays a tagline. */
body .wordmark small { font-size: 1rem; }

/* Header: two links and the phone number, always visible. */
body .site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  min-height: 0;
  padding-block: 16px;
}

body .entete-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

body .entete-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  color: var(--ink);
  font-weight: 700;
}

body .entete-accueil,
body .entete-guide,
body .entete-contact,
body .entete-tel {
  border-bottom: 2px solid transparent;
}

body .entete-accueil:hover,
body .entete-guide:hover,
body .entete-contact:hover,
body .entete-tel:hover,
body .entete-accueil[aria-current="page"],
body .entete-guide[aria-current="page"],
body .entete-contact[aria-current="page"] {
  border-bottom-color: var(--accent-texte);
}

body .entete-nav .entete-reserver {
  padding: 0 24px;
  color: var(--paper);
  background: var(--ink);
}

body .entete-nav .entete-reserver:hover { background: var(--accent-texte); }

/* Actions. */
body .wp-block-button__link,
body .arche-bouton-telephone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  font-size: inherit;
  font-weight: 700;
}

body p.is-style-lien a { font-size: inherit; }

/* Links inside running text (the guide's addresses) must read as links. */
body .page-contenu :is(p, li) a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

/* On board: three details under the gallery, laid flat. */
body .bord-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}

body .bord-detail img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body .bord-detail h3 {
  margin: 20px 0 8px;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (min-width: 1101px) {
  body .practical-heading { grid-template-columns: 260px 1fr; }
}

/* The three small photos keep a readable height. */
@media (min-width: 761px) {
  body .aboard-gallery { grid-template-rows: repeat(3, 190px); }
}

/* Practical facts: five columns now that cleaning moved to the prices. */
body .facts-list { grid-template-columns: repeat(5, 1fr); }

/* Prices. */
body .tarifs { padding-block: 96px; }

body .tarifs-saisons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

body .tarifs-saisons > div { padding: 28px 32px 28px 0; }
body .tarifs-saisons > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
body .tarifs-saisons dt { color: var(--accent-texte); font-weight: 700; }

body .tarifs-menage,
body .tarifs-note { margin-top: 20px; color: var(--muted); }

/* Booking: phone first, then the calendar. */
body .reserver {
  padding: 96px max(24px, calc((100vw - 1400px) / 2));
  color: var(--paper);
  background: var(--ink);
}

body .reserver .section-heading,
body .reserver .wp-block-arche-reservation {
  width: min(880px, 100%);
  margin-inline: auto;
}

body .arche-reservation-telephone { margin: 32px 0 40px; }

body .reserver a.arche-bouton-telephone {
  margin-top: 12px;
  color: var(--ink);
  background: var(--paper);
}

body .reserver a.arche-bouton-telephone:hover { background: var(--white); }

body .reserver .arche-reservation-secours a,
body .reserver .arche-reservation-indisponible a { border-bottom: 1px solid currentColor; }

body .arche-reservation-chargement { display: none; }

body .arche-reservation-cadre.is-loading .arche-reservation-chargement {
  position: absolute;
  inset: 0 0 auto;
  display: block;
  padding: 18px 20px;
  color: var(--ink);
}

/* Footer. */
body .footer-lieu { margin-top: 7px; }
body .site-footer .arche-coordonnees a { color: var(--ink); font-weight: 700; }

@media (max-width: 1100px) {
  body .facts-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body .site-header { padding-block: 12px; }
  body .entete-nav { width: 100%; }
  body .entete-nav ul { justify-content: space-between; gap: 4px 16px; }
  body .entete-nav .entete-reserver { padding: 0 18px; }
  body .entete-long { display: none; }
  body .bord-details,
  body .tarifs-saisons { grid-template-columns: 1fr; }
  body .bord-details { gap: 40px; margin-top: 40px; }
  body .tarifs-saisons > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  body .tarifs,
  body .reserver { padding-block: 64px; }
  body .facts-list { grid-template-columns: 1fr; }
}

/* Guide: sub-headings stay larger than the text they introduce, photos breathe under their heading. */
body .page-contenu > h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
}

body .page-contenu > h2 + .wp-block-image { margin-top: 24px; }
body .wp-block-arche-tarifs .arche-a-confirmer { margin-top: 20px; }

/* Hovered links keep the same contrast as at rest: the brick accent is too pale for text. */
body p.is-style-lien a:hover,
body .site-footer a:hover { color: var(--accent-texte); }
body .dogs-copy p.is-style-lien a:hover { color: var(--white); }

body .wp-block-button__link:hover {
  border-color: var(--accent-texte);
  background: var(--accent-texte);
}

/* Practical facts: one rule under each item, one between neighbours, whatever the number of columns. */
body .facts-list { border-bottom: 0; }

body .facts-list > div {
  border-right: 0;
  border-bottom: 1px solid rgba(246, 240, 229, 0.3);
  border-left: 1px solid rgba(246, 240, 229, 0.2);
}

body .facts-list > div:first-child { border-left: 0; }

@media (max-width: 1100px) {
  body .facts-list > div:nth-child(odd) { border-left: 0; }
}

@media (max-width: 760px) {
  body .facts-list > div { border-left: 0; }
}

/* Guide: one card per topic, the whole card is the link (the heading's link stretches over it). */
body .guide-cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

body .guide-carte {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

body .guide-carte:hover { border-color: var(--ink); }
body .guide-carte figure { margin: 0; }
body .guide-carte img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
body .guide-carte h3 { margin: 16px 16px 4px; font-family: var(--display); font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
body .guide-carte h3 a { color: var(--ink); }
body .guide-carte h3 a::after { content: ""; position: absolute; inset: 0; }
body .guide-carte h3 a:focus-visible { outline: none; }
body .guide-carte:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
body .guide-carte p { margin: 0 16px 16px; color: var(--muted); }

@media (max-width: 760px) {
  body .guide-cartes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  body .guide-carte h3 { margin: 12px 12px 4px; font-size: 1.25rem; }
  body .guide-carte p { display: none; }
}

/* Contact form: one field per line, labels always visible, same 56px actions as the rest. */
body .arche-contact { margin-top: 20px; }
body .arche-contact form { display: grid; gap: 4px; max-width: 640px; }
body .arche-contact label { display: block; margin-bottom: 6px; font-weight: 700; color: var(--ink); }
body .arche-contact label span { font-weight: 400; color: var(--muted); }
body .arche-contact :is(input, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--muted);
  border-radius: 0;
}
body .arche-contact :is(input, textarea):focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
body .arche-contact button {
  min-height: 56px;
  padding: 0 32px;
  font: inherit;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  cursor: pointer;
}
body .arche-contact button:hover { background: var(--accent-texte); }
body .arche-contact .arche-contact-piege { position: absolute; left: -9999px; }
body .arche-contact-retour { padding: 16px 20px; border-left: 4px solid var(--ink); background: var(--white); }
body .arche-contact-erreur { border-left-color: var(--accent-texte); }

/* Credit, home only: discreet, same muted tone as the copyright. */
body .site-footer .footer-credit a { color: inherit; font-weight: 400; }
body .site-footer .footer-credit a:hover { color: var(--ink); text-decoration: underline; }

/* One content width for every band: the full-width sections pad to the same edges as .section-shell. */
:root body :is(.site-header, .reserver, .site-footer) {
  padding-inline: calc((100% - var(--content)) / 2);
}
body .reserver .section-heading,
body .reserver .wp-block-arche-reservation { width: 100%; }
