/*
Theme Name: Il Portale — Candidat à valider
Description: Thème Gutenberg La Focaccia, photographie éditoriale et film natif.
Version: 0.2.1
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: il-portale
*/
:root{--accent:#ab2a23;--ink:#231e19;--line:#ded8d1;--gutter:5vw}
html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0}*{box-sizing:border-box}a{text-underline-offset:.25em}a:focus-visible,button:focus-visible{outline:2px solid currentColor;outline-offset:5px}::selection{background:#235a43;color:#fff}img{max-width:100%;height:auto}.wp-site-blocks{padding:0}.wp-site-blocks>*,.lf-home>*{margin-block-start:0}.lf-home figure{margin:0}.lf-home em{font-weight:400}.lf-page{max-width:1280px;margin:60px auto;padding:0 5vw;min-height:50vh}.lf-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 5vw;background:var(--accent);color:#fff;border-bottom:1px solid #ffffff33}.lf-header a{color:inherit;text-decoration:none}.lf-brand-group{display:flex;align-items:center;gap:15px}.lf-brand-group>*{margin:0}.lf-logo{width:56px;flex:none}.lf-logo img{display:block}.lf-brand{font:32px/1 "Cormorant Garamond",serif}.lf-header nav{font-size:14px}.lf-hero{background:var(--accent);color:#fff;min-height:770px;position:relative;isolation:isolate;display:grid;grid-template-columns:46% 54%;padding:24px 5vw 80px;gap:0}.lf-hero-copy{z-index:2;padding:32px 0}.lf-hero h1{font-size:clamp(90px,9.3vw,150px);line-height:.91;letter-spacing:-.04em;margin:0 0 32px;max-width:9ch}.lf-hero p{font-size:14px;max-width:36ch;line-height:1.8}.lf-hero a{color:#fff}.lf-hero .wp-block-button__link{background:#fff;color:var(--accent)}.lf-hero .wp-block-buttons{margin-top:28px}.lf-hero-photo{border-radius:50% 50% 0 0/38% 38% 0 0;overflow:hidden;min-width:0}.lf-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 55%;display:block}.lf-hero-address{position:absolute;bottom:18px;left:5vw;font-size:12px!important;max-width:none!important}.lf-film-section,.lf-menu{padding:95px 5vw 100px}.lf-section-heading{display:grid;grid-template-columns:1fr .8fr;gap:8vw;align-items:end;padding:0 3vw 40px}.lf-section-heading h2{font-size:clamp(58px,6.5vw,100px);max-width:12ch;margin:0}.lf-section-heading h2 em{color:var(--accent)}.lf-section-heading p{font-size:15px;line-height:1.85;max-width:34ch;margin:0}.lf-signature{display:grid;grid-template-columns:1.05fr 1fr;background:#235a43;color:#fff}.lf-signature-photo img{width:100%;height:100%;object-fit:cover}.lf-signature-copy{padding:75px 5vw;display:flex;flex-direction:column;justify-content:center;align-items:start}.lf-signature h2,.lf-visit h2{font-size:clamp(54px,5.6vw,86px);margin:0 0 25px}.lf-signature p{max-width:32ch}.lf-signature .wp-block-button__link{background:#fff;color:#235a43}.lf-signature .lf-portale-native{--lf-native-ink:#fff;color:#fff}.lf-signature .lf-portale-native a{color:#fff}.lf-menu>.lf-portale-native{margin:0 3vw}.lf-visit{display:grid;grid-template-columns:1fr 1.05fr;background:#f0ebe3}.lf-visit-copy{padding:75px 6vw;align-self:center}.lf-visit h2 em{color:var(--accent)}.lf-visit-copy p{font-size:15px;max-width:34ch}.lf-visit-photo img{display:block;width:100%;height:100%;object-fit:cover;min-height:680px}.lf-footer{padding:55px 5vw 30px;background:var(--accent);color:#fff}.lf-footer a{color:inherit}.lf-footer-mark{font:clamp(70px,13vw,200px)/1 "Cormorant Garamond",serif;letter-spacing:-.035em;margin:40px 0}.lf-footer>p:last-child{font-size:12px}.lf-film{--accent:#ab2a23;--ink:#231e19;--line:#ded8d1}
@media(max-width:800px){.lf-header{padding:16px 24px}.lf-logo{width:43px}.lf-brand{font-size:27px}.lf-hero{display:flex;flex-direction:column;padding:0 24px 24px;min-height:0}.lf-hero-copy{padding:31px 0 26px}.lf-hero h1{font-size:clamp(70px,12.9vw,105px);max-width:11ch;margin-bottom:20px}.lf-hero h1 br{display:none}.lf-hero p{font-size:13px}.lf-hero-photo{height:440px;max-height:55svh;width:100%;border-radius:50% 50% 0 0/37% 37% 0 0}.lf-hero-photo img{height:100%}.lf-hero-address{position:static;margin:18px 0 0!important}.lf-film-section,.lf-menu{padding:60px 24px 66px}.lf-section-heading{display:block;padding:0 0 28px}.lf-section-heading h2{font-size:clamp(52px,9vw,70px)}.lf-section-heading p{font-size:14px;margin-top:23px;max-width:38ch}.lf-signature,.lf-visit{grid-template-columns:1fr}.lf-signature-photo{height:390px}.lf-signature-copy,.lf-visit-copy{padding:50px 26px}.lf-signature h2,.lf-visit h2{font-size:56px}.lf-visit-photo img{height:470px;min-height:0}.lf-footer{padding:40px 24px 25px}.lf-footer>p:first-child{font-size:13px}.lf-menu>.lf-portale-native{margin:0}.wp-block-navigation__responsive-container.is-menu-open{padding:30px;color:#231e19;background:#fff}.wp-block-navigation__responsive-container.is-menu-open a{color:#231e19}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.lf-menu>.lf-portale-native{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:26px 0;border-bottom:1px solid var(--line)}.lf-menu .lf-portale-native__name{margin:0;font-family:"Cormorant Garamond",serif;font-size:32px;font-weight:400}.lf-signature .lf-portale-native{--lf-native-accent:#fff;--lf-native-rule:#ffffff66}.lf-signature .lf-portale-native__name{font-family:"Cormorant Garamond",serif;font-size:30px;font-weight:400}@media(max-width:800px){.lf-menu>.lf-portale-native{display:block}.lf-menu .lf-portale-native__offer{margin-top:15px}.lf-menu .lf-portale-native__name{font-size:28px}}

/* Motion changes only the image; its grid cell preserves the no-script layout. */
.lf-hero-photo{position:relative}.lf-hero{overflow:clip}.lf-menu>.wp-block-buttons{margin:35px 3vw 0}
/* Official Orderable markup, without replacing its cart or product templates. */
.lf-order-menu>h1{font-size:clamp(64px,8vw,112px);margin:0 0 25px;line-height:1}.lf-order-menu .orderable-main{margin-top:50px}.lf-order-menu .orderable-category-heading{font:48px/1.1 "Cormorant Garamond",serif}.lf-order-menu .orderable-product__title{font:30px/1.15 "Cormorant Garamond",serif}.lf-order-menu .orderable-product{border-radius:0;box-shadow:none}.lf-order-menu .orderable-button,.orderable-drawer .orderable-button{background:#ab2a23;color:#fff;border-radius:3px}.lf-order-menu .orderable-product__description{font-size:14px;line-height:1.65}.lf-menu-nav{display:flex;flex-wrap:wrap;gap:10px 25px;padding:22px 0;border-block:1px solid var(--line);margin:35px 0}.lf-menu-nav a{font-size:14px;color:var(--ink)}
@media(max-width:800px){.lf-menu>.wp-block-buttons{margin-left:0;margin-right:0}.lf-order-menu{margin:40px auto;padding:0 24px}.lf-order-menu .orderable-product__title{font-size:27px}}

.lf-menu-category{margin:65px 0}.lf-menu-category>h2{font:clamp(42px,5vw,64px)/1.1 "Cormorant Garamond",serif;color:var(--accent);border-bottom:1px solid var(--line);padding-bottom:18px;margin:0 0 12px}.lf-order-menu .lf-menu-category .orderable-main{margin-top:0}.lf-order-menu .orderable-products-list--list{display:grid;grid-template-columns:1fr 1fr;gap:0 48px}.lf-order-menu .orderable-products-list__item{width:auto;padding:0}.lf-order-menu .orderable-product__content-wrap{padding:24px 0}.lf-order-menu .orderable-product{border:0;border-bottom:1px solid var(--line)}.orderable-product__hero:has(img[src*="woocommerce-placeholder"]){display:none}
@media(max-width:800px){.lf-order-menu .orderable-products-list--list{grid-template-columns:1fr}.lf-menu-category{margin:48px 0}}

.lf-order-menu .orderable-button,.orderable-drawer .orderable-button{border:1px solid #ab2a23;box-shadow:none}

/* Orderable emits its brand background with !important; match that only here. */
body .orderable-drawer .orderable-button.orderable-button--filled,body .orderable-drawer__cart .orderable-mini-cart__buttons a.button.checkout{background:#ab2a23!important;color:#fff;border:1px solid #ab2a23;border-radius:3px;box-shadow:none}

/* Native informational documents: readable measure and contained tables. */
.lf-legal-page{max-width:960px}.lf-legal-page h1{font-size:clamp(42px,7vw,78px);line-height:1.05;margin-bottom:40px;overflow-wrap:anywhere}.lf-legal-page .wp-block-post-content{line-height:1.75;overflow-wrap:anywhere}.lf-legal-page h2{font-size:clamp(28px,4vw,38px);line-height:1.2;margin-top:40px}.lf-legal-page .wp-block-table{overflow-x:auto}.lf-legal-page table{width:100%;border-collapse:collapse;font-size:14px}.lf-legal-page td,.lf-legal-page th{padding:12px;text-align:left;vertical-align:top;border:1px solid #d9d2ca}.lf-legal-page th{background:#e9e3db}.lf-legal-page ul,.lf-legal-page ol{padding-left:24px}

/* Keep historical menu fragments at their matching category. */
.lf-menu-anchor { display: block; height: 0; scroll-margin-top: 110px; }
