/* Verdesia adaptations. Reference dimensions and typography live in reference.css. */
:root { color-scheme: light; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--vert-clair); outline-offset: 6px; }
body { overflow-x: clip; }
.brand { display: inline-block; font-family: var(--police-krub); font-size: clamp(23px, 1.25rem + 1vw, 36px); font-weight: 700; font-style: italic; letter-spacing: .12em; line-height: 1.2; white-space: nowrap; }
.page-accueil .hero-visuel .image-fond img,
.page-jardin .hero-visuel .image-fond img { object-position: 50% 42%; }
.page-accueil .hero-visuel h1,
.page-jardin .hero-visuel h1 { text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
#header #menu-bureau { display: none; }
#header .actions #burger { display: flex; }
#header .actions .cta { gap: 20px; white-space: nowrap; }
#header .actions .cta svg { width: 24px; }
.header-socials { display: none; }
.social-links { display: flex; align-items: center; gap: 18px; }
.social-links a { display: inline-flex; width: 24px; height: 30px; align-items: center; justify-content: center; font-family: sans-serif; font-size: 21px; font-weight: 700; line-height: 1; }
.social-links svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.social-links a:hover { color: var(--vert-clair); }
.skip-link { position: fixed; top: -80px; left: 24px; z-index: 1000; padding: 10px 18px; border-radius: 30px; background: white; color: var(--vert); }
.skip-link:focus { top: 20px; }
#menu-mobile { z-index: 200; }
#menu-mobile .brand { font-size: 23px; }
#menu-mobile .entete .fermer svg * { fill: none; stroke: currentColor; }
#menu-mobile nav a span { font-size: 26px; color: var(--vert); line-height: 1; }
#menu-mobile .menu-socials { display: flex; justify-content: center; padding: 16px; color: var(--vert); }
#menu-mobile .pied a svg * { fill: none; stroke: currentColor; }
html.modal-open { overflow: hidden; }
footer .logo .brand { font-size: clamp(44px, 7.5vw, 100px); letter-spacing: .13em; }
footer .legal button:hover { text-decoration: underline; text-underline-offset: 4px; }
.verdesia-dialog { position: fixed; inset: 0; margin: auto; width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border: 0; border-radius: 5px; background: var(--fond-saumon); color: var(--bleu-marine); text-align: center; padding: 0; overflow: auto; }
.verdesia-dialog::backdrop { background: rgb(11 33 44 / .65); backdrop-filter: blur(4px); }
.dialog-inner { padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px); }
.dialog-inner p { margin-top: 24px; }
.dialog-inner .btn { margin-top: 36px; }
.dialog-inner .btn svg * { fill: none; stroke: currentColor; }
.dialog-eyebrow { font-family: var(--police-cossette); font-size: 16px; letter-spacing: .3em; color: var(--vert); margin: 0 0 20px !important; }
.dialog-close { position: absolute; right: 18px; top: 18px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.dialog-close:hover { background: rgb(35 66 58 / .08); }
.dialog-close svg * { fill: none; }
#photo-dialog { position: fixed; inset: 0; margin: 0; padding: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; background: #13222b; color: white; overflow: hidden; }
#photo-dialog[open] { display: flex; align-items: center; justify-content: center; }
#photo-dialog::backdrop { background: #13222b; }
#photo-dialog figure { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
#photo-dialog figure img { max-width: 100%; max-height: calc(100dvh - 72px); width: auto; height: auto; object-fit: contain; }
#photo-dialog button { z-index: 2; position: absolute; width: 58px; height: 58px; border: 1px solid rgb(255 255 255 / .65); border-radius: 50%; display: grid; place-items: center; background: rgb(19 34 43 / .18); transition: background .2s; }
#photo-dialog button:hover { background: rgb(255 255 255 / .18); }
#photo-dialog button svg * { fill: none; stroke: currentColor; }
#photo-dialog .photo-close { right: 24px; top: 24px; }
#photo-dialog .photo-prev { left: 24px; top: calc(50% - 29px); }
#photo-dialog .photo-prev svg { transform: rotate(180deg); }
#photo-dialog .photo-next { right: 24px; top: calc(50% - 29px); }
.photo-counter { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgb(255 255 255 / .7); }
@media (min-width: 1001px) { .header-socials { display: block; } }
@media (min-width: 1024px) {
  #header > div { gap: 16px; }
  #header .brand { font-size: 24px; }
  #header #menu-bureau { display: block; margin-inline: auto; }
  #header #menu-bureau > ul { display: flex; flex-flow: row nowrap; align-items: center; gap: 4px; }
  #header #menu-bureau .label { display: block; padding: 10px 8px; font-size: 13px; letter-spacing: 0; white-space: nowrap; }
  #header #menu-bureau a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--vert-clair); text-decoration-thickness: 2px; text-underline-offset: 7px; }
  #header .actions { flex: none; gap: 12px; }
  #header .actions #burger { display: none; }
  #header .actions .telephone, #header .header-socials { display: none; }
  #header .actions .cta { display: inline-flex; gap: 12px; padding: 15px 18px; font-size: 13px; letter-spacing: .14em; }
}
@media (min-width: 1280px) {
  #header .brand { font-size: 28px; }
  #header #menu-bureau .label { font-size: 14px; padding-inline: 10px; }
  #header .actions .telephone { display: inline-block; font-size: 14px; white-space: nowrap; }
}
@media (min-width: 1440px) {
  #header .brand { font-size: 30px; }
  #header #menu-bureau > ul { gap: 8px; }
  #header .header-socials { display: block; }
  #header .header-socials .social-links { gap: 12px; }
}
@media (max-width: 540px) {
  .page-accueil .hero-visuel .image-fond img,
  .page-jardin .hero-visuel .image-fond img { object-position: 55% 50%; }
  #header .brand { font-size: 22px; }
  #menu-mobile { width: min(375px, 90vw); }
  #photo-dialog button { width: 42px; height: 42px; }
  #photo-dialog .photo-close { top: 16px; right: 16px; }
  #photo-dialog .photo-prev { left: 12px; }
  #photo-dialog .photo-next { right: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
