/*
Theme Name: Les Délices du Cotentin
Description: Restaurant normand, pages et modèles globaux éditables avec Elementor Free.
Requires at least: 6.5
Requires PHP: 8.3
Version: 2.1.0
Text Domain: les-delices-du-cotentin
*/
:root {
  --cream: #E5CDB3;
  --ink: #11005E;
  --paper: #fffaf4;
  --muted: #5b526b;
  --line: #d3bba3;
  --blue: #0E52A5;
  --ink-hover: #281a7a;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}
* {box-sizing: border-box}
html {scroll-behavior: smooth; scroll-padding-top: 8rem}
body {margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased}
a {color: inherit}
a, button {touch-action: manipulation}
a:focus-visible, button:focus-visible {outline: 3px solid var(--blue); outline-offset: 5px}
img {max-width: 100%; height: auto}
:where(h1,h2,h3) {font-family: var(--serif); font-weight: 400; line-height: 1.12; text-wrap: balance}
:where(p) {margin-block: 0 1em}
.wrap {width: min(calc(100% - var(--gutter) * 2), 1240px); margin-inline: auto}
.skip {position: absolute; left: -9999px; padding: .75rem 1rem; background: var(--paper)}
.skip:focus {left: 1rem; top: 1rem; z-index: 1000}
.site-header {position: sticky; top: 0; z-index: 50; background: rgba(229,205,179,.97); border-bottom: 1px solid rgba(17,0,94,.12); transition: box-shadow 180ms ease, background-color 180ms ease}
.site-header.is-compact {box-shadow: 0 8px 24px rgba(17,0,94,.09)}
.header-inner {display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; transition: padding 180ms ease}
.site-header.is-compact .header-inner {padding-block: .55rem}
.site-identity {min-width: 0; flex: 1}
.brand {display: flex; align-items: center; gap: .75rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.1; text-decoration: none}
.brand-text {max-width: 13rem}
.brand .custom-logo {width: 48px; height: 48px; object-fit: contain; flex-shrink: 0}
.menu-toggle {display: none; align-items: center; justify-content: center; gap: .7rem; min-width: 108px; min-height: 48px; border: 1px solid rgba(17,0,94,.38); border-radius: 4px; padding: .6rem .9rem; background: var(--paper); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease}
.menu-toggle:hover,.menu-toggle[aria-expanded="true"] {background: var(--ink); border-color: var(--ink); color: var(--paper)}
.menu-icon {width: 20px; height: 16px; display: inline-flex; flex-direction: column; justify-content: space-between}
.menu-icon span {display: block; width: 100%; height: 1.5px; background: currentColor; transform-origin: center; transition: transform 160ms ease, opacity 120ms ease}
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child {transform: translateY(7.25px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {opacity: 0}
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child {transform: translateY(-7.25px) rotate(-45deg)}
.js .menu-toggle {display: inline-flex}
.js .site-nav[hidden] {display: none}
.site-nav {flex-basis: 100%; max-height: calc(100dvh - 9rem); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid rgba(17,0,94,.12); padding-block: .5rem .75rem}
.site-nav ul {display: flex; flex-direction: column; gap: .5rem; list-style: none; margin: 0; padding: 0}
.site-nav li a {display: block; min-height: 48px; padding: .65rem .8rem; text-decoration: none; border-radius: 4px}
.site-nav :where(a:hover,a[aria-current='page'],.current-menu-item > a) {text-decoration: underline; text-underline-offset: .4em}
.main {min-height: 55vh}
.main > :where(h1,p,a), .main > article > :where(h1,p,a) {margin-inline: var(--gutter)}
.site-footer {background: var(--cream); border-top: 1px solid var(--line); padding-block: clamp(2.5rem,5vw,4.5rem) 1rem}
.footer-grid {display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap}
.actions {display: flex; flex-wrap: wrap; gap: .75rem}
.button {display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.25rem; color: var(--paper); background: var(--ink); text-decoration: none; border-radius: 4px; font-weight: 600; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease}
.admin-bar .site-header {top: 46px}
@media (min-width: 783px) {.admin-bar .site-header {top: 32px}}
@media (min-width: 1024px) {
  .js .menu-toggle {display: none}
  .header-inner {flex-wrap: nowrap; gap: 1.5rem}
  .site-identity {flex: 0 1 270px}
  .site-nav {flex: 1; max-height: none; overflow: visible; border: 0; padding: 0}
  .site-nav ul {flex-direction: row; align-items: center; justify-content: flex-end; gap: .75rem}
  .site-nav li a {font-size: .9rem}
}
@media (max-width: 600px) {.admin-bar .site-header {top: 0}}
@media (prefers-reduced-motion: reduce) {html {scroll-behavior: auto} *,*::before,*::after {transition: none !important; animation: none !important}}
