@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Oxanium:wght@300;400;500;600;700&display=swap');

/* =========================================================
   Base globale
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: #f3eee5;
    color: #2d2926;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 15px;
}

img { max-width: 100%; }

a {
    color: #8d3d45;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
a:hover { text-decoration: underline; }

main { display: block; }

.container,
.content-container {
    width: min(1120px, calc(100% - 36px));
    margin: 18px auto 30px;
}

.muted { color: #706761; }

/* =========================================================
   Header
========================================================= */
.site-header {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #c8b49e;
}

.site-header > img,
.site-header > .studio-header-image {
    width: 100%;
    height: clamp(260px, 46vh, 400px);
    object-fit: cover;
    object-position: center center;
    display: block;
}

.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 33, 37, 0.02) 0%,
        rgba(34, 29, 27, 0.06) 34%,
        rgba(38, 31, 28, 0.18) 100%
    );
    pointer-events: none;
}

.site-header .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 0 clamp(16px, 2.4vw, 28px);
    z-index: 1;
}

.site-header .header-inner {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header .hero-title-block {
    max-width: 520px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-header .overlay h1 {
    margin: 2px 0 0;
    color: #f4ecde;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(26px, 3.5vw, 42px);
    line-height: 1;
    letter-spacing: .002em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.16);
    white-space: nowrap;
    max-width: none;
}

.site-header .hero-subtitle {
    margin: 7px 0 0;
    color: rgba(244, 236, 222, 0.94);
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: .05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.site-header .hero-deco {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 5px;
    opacity: 0.9;
}

.site-header .hero-deco.hero-deco-bottom {
    margin: 7px 0 0;
}

.site-header .hero-deco::before,
.site-header .hero-deco::after {
    content: "";
    flex: 1 1 auto;
    max-width: 62px;
    height: 1px;
    background: rgba(244, 236, 222, 0.78);
}

.site-header .hero-deco span {
    display: inline-block;
    color: rgba(244, 236, 222, 0.96);
    font-size: 13px;
    line-height: 1;
    transform: translateY(-1px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   Menu principal
========================================================= */
.menu-horizontal {
    width: min(1120px, calc(100% - 36px));
    margin: -14px auto 0;
    position: relative;
    isolation: isolate;
    z-index: 20;
    background: rgba(244, 239, 230, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(143, 111, 88, 0.18);
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 10px;
    align-items: center;
    min-height: 46px;
    box-shadow: 0 8px 22px rgba(55, 40, 31, 0.07);
}

.menu-horizontal .dropdown {
    position: relative;
}

.menu-horizontal .dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 10px;
}

.menu-horizontal > .dropdown > a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 13px;
    color: #4c4139;
    text-decoration: none;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .02em;
    border-radius: 8px;
    transform: translateY(0);
    box-shadow: inset 0 0 0 1px transparent;
    transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.menu-horizontal.menu-with-indicator .menu-track-indicator {
    position: absolute;
    top: 5px;
    left: 0;
    height: calc(100% - 10px);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(141, 61, 69, 0.10), rgba(141, 61, 69, 0.06));
    box-shadow:
        inset 0 0 0 1px rgba(127, 47, 57, 0.08),
        0 6px 14px rgba(82, 55, 39, 0.04);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: transform .26s cubic-bezier(.22, .7, .18, 1), width .26s cubic-bezier(.22, .7, .18, 1), opacity .16s ease;
}

.menu-horizontal.menu-with-indicator > .dropdown {
    z-index: 1;
}

.menu-horizontal.menu-with-indicator > .dropdown > a {
    position: relative;
    z-index: 1;
}

.menu-horizontal.menu-with-indicator > .dropdown > a:hover,
.menu-horizontal.menu-with-indicator > .dropdown:focus-within > a {
    background: transparent;
    color: #7f2f39;
    transform: none;
    box-shadow: none;
}

.menu-horizontal.menu-with-indicator a.active {
    color: #7f2f39;
    background: transparent;
    box-shadow: none;
}

.menu-horizontal > .dropdown > a:hover,
.menu-horizontal > .dropdown:focus-within > a {
    background: rgba(141, 61, 69, 0.07);
    color: #7f2f39;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(82, 55, 39, 0.08);
    text-decoration: none;
}

.menu-horizontal a.active {
    color: #7f2f39;
    background: rgba(141, 61, 69, 0.08);
    box-shadow: inset 0 0 0 1px rgba(127, 47, 57, 0.08);
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 240px;
    background: #fffdfa;
    border: 1px solid rgba(143, 111, 88, 0.18);
    border-radius: 10px;
    box-shadow: 0 16px 34px rgba(55, 40, 31, 0.10);
    padding: 6px 0;
    z-index: 50;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.dropdown-content a,
.dropdown-content .dropdown-empty {
    display: block;
    padding: 9px 13px;
    color: #2d2926;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease;
    font-size: 12.5px;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
    background: #f7f0e7;
    color: #7f2f39;
    text-decoration: none;
}

.dropdown-content a.active {
    background: #f7f0e7;
    color: #7f2f39;
    font-weight: 600;
}

.dropdown-empty {
    color: #706761;
}

/* =========================================================
   Page CMS gÃ©nÃ©rique
========================================================= */
.content-container {
    background: #fffdfa;
    border: 1px solid rgba(143, 111, 88, 0.16);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(55, 40, 31, 0.05);
}

.content-container h1 {
    margin: 0 0 12px;
    line-height: 1.15;
    color: #3a2f2a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(19px, 1.7vw, 24px);
    letter-spacing: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(141, 61, 69, 0.16);
}

.cms-content {
    color: #423831;
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 14.5px;
}

.cms-content > *:first-child {
    margin-top: 0;
}

.cms-content > *:last-child {
    margin-bottom: 0;
}

.cms-content p:first-child { margin-top: 0; }
.cms-content p:last-child { margin-bottom: 0; }

.cms-content p {
    margin: 0 0 1em;
}

.cms-content h2,
.cms-content h3,
.cms-content h4 {
    color: #3b312c;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.25;
    margin-top: 1.35em;
    margin-bottom: 0.5em;
}

.cms-content h2 {
    font-size: clamp(17px, 1.3vw, 21px);
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(143, 111, 88, 0.14);
}

.cms-content h3 {
    font-size: clamp(15px, 1.15vw, 18px);
}

.cms-content h4 {
    font-size: clamp(14px, 1vw, 16px);
}

.cms-content blockquote {
    margin: 1.2em 0;
    padding: 10px 14px 10px 16px;
    background: #faf5ee;
    border-left: 4px solid #8d3d45;
    border-radius: 6px;
    color: #4b403a;
    font-style: italic;
}

.cms-content hr {
    border: 0;
    height: 1px;
    background: rgba(143, 111, 88, 0.18);
    margin: 22px 0;
}

.cms-content ul,
.cms-content ol {
    margin: 0 0 1em 1.35em;
    padding: 0;
}

.cms-content li {
    margin-bottom: 0.35em;
}

/* ---------------------------------------------------------
   Images CMS en blocs modernes (Rendu final site)
--------------------------------------------------------- */

.cms-content figure{
    margin: 0;
}

.cms-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.cms-content .image-block{
    display: block;
    clear: both;
    margin: 22px auto;
    padding: 0;
    border: 0;
    background: transparent;
}

.cms-content .image-block:first-child {
    margin-top: 0;
}

.cms-content .image-block:last-child {
    margin-bottom: 0;
}

.cms-content .image-block img{
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(55, 40, 31, 0.08);
}

.cms-content .image-block figcaption{
    margin-top: 8px;
    padding: 0 4px;
    color: #6c625c;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
}

.cms-content .image-block.align-left {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.cms-content .image-block.align-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cms-content .image-block.align-right {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

/* Tailles harmonisÃ©es */

.cms-content .image-block.size-small{
    width: min(240px, 100%);
}

.cms-content .image-block.size-medium{
    width: min(380px, 100%);
}

.cms-content .image-block.size-large{
    width: min(680px, 100%);
}

.cms-content .image-block.size-full{
    width: 100%;
}

.cms-content .image-block.is-framed img {
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(143, 111, 88, 0.16);
}

/* ---------------------------------------------------------
   Bloc CMS image + texte
   Objectif : structure technique conservÃ©e, rendu visuel transparent
--------------------------------------------------------- */

.cms-content .cms-media-text{
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 24px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.cms-content .cms-media-text:first-child{
    margin-top: 0;
}

.cms-content .cms-media-text:last-child{
    margin-bottom: 0;
}

.cms-content .cms-media-text.media-right{
    flex-direction: row-reverse;
}

.cms-content .cms-media-text .cms-media{
    flex: 0 0 42%;
    min-width: 0;
}

.cms-content .cms-media-text .cms-media img{
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(55, 40, 31, 0.08);
}

.cms-content .cms-media-text .cms-text{
    flex: 1 1 auto;
    min-width: 0;
}

.cms-content .cms-media-text .cms-text > *:first-child{
    margin-top: 0;
}

.cms-content .cms-media-text .cms-text > *:last-child{
    margin-bottom: 0;
}

/* Ã‰vite les comportements parasites si du HTML admin a laissÃ© des wrappers */
.cms-content .cms-media-text .cms-text,
.cms-content .cms-media-text .cms-media,
.cms-content .cms-media-text .cms-text > div,
.cms-content .cms-media-text .cms-media > div {
    min-height: 0;
}

.cms-content .cms-media-text .cms-text:empty,
.cms-content .cms-media-text .cms-media:empty {
    display: none;
}

/* CompatibilitÃ© temporaire ancien contenu admin */
.cms-content img.cms-img {
    display: block;
    clear: both;
    margin-top: 18px;
    margin-bottom: 18px;
    box-shadow: 0 5px 16px rgba(55, 40, 31, 0.08);
}

.cms-content img.cms-img.align-left {
    margin-left: 0;
    margin-right: auto;
}

.cms-content img.cms-img.align-center {
    margin-left: auto;
    margin-right: auto;
}

.cms-content img.cms-img.align-right {
    margin-left: auto;
    margin-right: 0;
}

.cms-content img.cms-img.size-small {
    width: min(240px, 100%);
}

.cms-content img.cms-img.size-medium {
    width: min(380px, 100%);
}

.cms-content img.cms-img.size-large {
    width: min(680px, 100%);
}

.cms-content img.cms-img.size-full {
    width: 100%;
}

/* =========================================================
   Accueil - structure
========================================================= */
.container.home-page { margin-top: 18px; }

.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 280px;
    gap: 18px;
    align-items: start;
}

.main-content {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.home-sidebar { position: relative; }

/* =========================================================
   Bloc centre accueil
========================================================= */
.home-center {
    background: linear-gradient(180deg, rgba(255, 252, 248, 0.97), rgba(247, 240, 232, 0.96));
    border: 1px solid rgba(143, 111, 88, 0.16);
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 8px 24px rgba(55, 40, 31, 0.06);
}

.home-center h2 {
    margin: 0 0 10px;
    line-height: 1.18;
    color: #3b312c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(17px, 1.5vw, 22px);
    font-weight: 700;
    max-width: 28ch;
}

.home-center-text {
    color: #4d443e;
    line-height: 1.68;
    word-break: break-word;
    font-size: 14px;
}

.home-center-text p:first-child { margin-top: 0; }
.home-center-text p:last-child { margin-bottom: 0; }

.home-center-gallery {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(86px, 102px));
    justify-content: center;
    gap: 10px;
    align-items: stretch;
}

.home-center-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 102px;
    aspect-ratio: 1 / 1;
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #fffaf4;
    border: 1px solid rgba(143, 111, 88, 0.16);
    padding: 6px;
}

.home-center-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
   Bloc horaires accueil
========================================================= */
.horaires-mairie {
    display: grid;
    gap: 16px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 4px 0 0;
    box-shadow: none;
}

.horaires-mairie h2 {
    margin: 0;
    justify-self: center;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: #7d6658;
    font-size: 10px;
    letter-spacing: .24em;
    text-transform: uppercase;
    box-shadow: none;
    transform: none;
    text-align: center;
}

.horaires-mairie h2::before,
.horaires-mairie h2::after {
    content: "";
    width: 78px;
    height: 10px;
    flex: 0 0 auto;
}

.horaires-mairie h2::before {
    background:
        linear-gradient(rgba(198, 170, 147, 0.9), rgba(198, 170, 147, 0.9)) left center / calc(100% - 10px) 1px no-repeat,
        radial-gradient(circle, rgba(198, 170, 147, 0.95) 0 2px, transparent 2.4px) right center / 6px 6px no-repeat;
}

.horaires-mairie h2::after {
    background:
        radial-gradient(circle, rgba(198, 170, 147, 0.95) 0 2px, transparent 2.4px) left center / 6px 6px no-repeat,
        linear-gradient(rgba(198, 170, 147, 0.9), rgba(198, 170, 147, 0.9)) right center / calc(100% - 10px) 1px no-repeat;
}

.bloc-horaires {
    position: relative;
    overflow: visible;
    background:
        linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(244, 236, 224, 0.97)),
        radial-gradient(circle at 18% 14%, rgba(189, 154, 120, 0.08), transparent 26%),
        radial-gradient(circle at 82% 88%, rgba(161, 127, 101, 0.07), transparent 22%);
    border: 1px solid rgba(150, 118, 92, 0.2);
    border-radius: 3px 3px 16px 16px;
    padding: 24px 16px 14px;
    box-shadow:
        0 16px 28px rgba(55, 40, 31, 0.1),
        0 2px 0 rgba(112, 82, 63, 0.05);
    transform: rotate(-1.4deg);
}

.bloc-horaires + .bloc-horaires {
    margin-top: -2px;
}

.bloc-horaires:nth-of-type(3) {
    transform: rotate(1.2deg);
}

.bloc-horaires::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -12px;
    width: 82px;
    height: 24px;
    background:
        linear-gradient(180deg, rgba(245, 224, 208, 0.95), rgba(228, 202, 182, 0.9)),
        linear-gradient(112deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.34) 44%, rgba(255, 255, 255, 0.08) 57%, rgba(255, 255, 255, 0) 72%),
        repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.06) 0 2px, rgba(210, 181, 159, 0.04) 2px 6px);
    border-left: 1px solid rgba(169, 131, 101, 0.22);
    border-right: 1px solid rgba(169, 131, 101, 0.22);
    border-radius: 2px;
    box-shadow: 0 5px 10px rgba(55, 40, 31, 0.08);
    transform: translateX(-50%) rotate(-4deg);
    transform-origin: center;
    opacity: .96;
}

.bloc-horaires::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: radial-gradient(rgba(116, 91, 70, 0.08) .7px, transparent .8px);
    background-size: 12px 12px;
    opacity: .22;
    pointer-events: none;
}

.bloc-horaires h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #5b4135;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: none;
    text-align: left;
    line-height: 1.2;
    transform: none;
    font-family: "Segoe Print", "Bradley Hand", "Marker Felt", "Comic Sans MS", cursive;
}

.bloc-horaires h3 span {
    display: inline;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

.bloc-horaires .horaires-content {
    position: relative;
    z-index: 1;
    color: #4b433e;
    line-height: 1.58;
    font-size: 12.5px;
    padding-left: 0;
}

.bloc-horaires .horaires-content p { margin: 0 0 7px; }
.bloc-horaires .horaires-content p:last-child { margin-bottom: 0; }
.bloc-horaires .horaires-content strong { color: #362c28; }

/* =========================================================
   Bloc actualitÃ©s accueil
========================================================= */
.bloc-actualites {
    margin-top: 0;
    padding: 15px 16px;
    border: 1px solid rgba(143, 111, 88, 0.16);
    border-radius: 12px;
    background: #fffdfa;
    box-shadow: 0 8px 24px rgba(55, 40, 31, 0.05);
}

.bloc-actualites h3 {
    margin: 0 0 10px;
    color: #3e322c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}

.bloc-actualites-inner {
    display: grid;
    gap: 12px;
}

.actualite-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 11px 12px;
    border: 1px solid rgba(143, 111, 88, 0.14);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(248, 242, 234, 0.72), rgba(255,255,255,0.96));
}

.actualite-item.no-image {
    grid-template-columns: 1fr;
}

.actualite-item-thumb {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: #efe8e2;
}

.actualite-item-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.actualite-item-body {
    min-width: 0;
}

.actualite-item h4 {
    margin: 0 0 6px;
    color: #3b2f2b;
    font-size: 15px;
}

.actualite-item p {
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
    color: #5c524c;
    font-size: 13px;
}

.actualite-meta {
    display: block;
    margin-top: 6px;
    font-size: 10.5px;
    color: #7a6b62;
}

.actualite-link {
    margin-top: 8px;
    display: inline-block;
    font-weight: 700;
    color: #8d3d45;
    text-decoration: none;
    font-size: 12.5px;
}

.actualite-link:hover { text-decoration: underline; }

.actualite-empty {
    padding: 12px;
    border: 1px dashed rgba(143, 111, 88, 0.28);
    border-radius: 8px;
    color: #665d56;
    background: rgba(247, 240, 232, 0.72);
    font-size: 12.5px;
}

@media (max-width: 980px) {
    .home-layout { grid-template-columns: 1fr; }
    .home-sidebar { order: 2; }
    .main-content { order: 1; }
}

/* =========================================================
   Page contact
========================================================= */
.contact-page {
    width: min(980px, calc(100% - 28px));
    margin: 22px auto 34px;
}

.contact-card {
    background: #fffdfa;
    border: 1px solid rgba(143, 111, 88, 0.18);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(55, 40, 31, 0.05);
}

.contact-head {
    text-align: center;
    margin-bottom: 18px;
}

.contact-head h1,
.contact-head h2 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #3b312c;
    font-family: Georgia, "Times New Roman", serif;
}

.contact-lead {
    max-width: 620px;
    margin: 0 auto;
    color: #65584f;
    line-height: 1.65;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
    gap: 14px;
    align-items: start;
}

.contact-layout.has-form .contact-form-panel {
    order: 1;
}

.contact-layout.has-form .contact-details-panel {
    order: 2;
}

.contact-panel {
    border: 1px solid rgba(143, 111, 88, 0.15);
    border-radius: 12px;
    background: rgba(247, 240, 232, 0.34);
    padding: 16px;
}

.contact-panel h2 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #3b312c;
    font-family: Georgia, "Times New Roman", serif;
}

.contact-panel-intro {
    margin: 0 0 14px;
    color: #65584f;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    gap: 10px;
}

.contact-item {
    padding: 12px 14px;
    border: 1px solid rgba(143, 111, 88, 0.15);
    border-radius: 10px;
    background: rgba(247, 240, 232, 0.45);
}

.contact-item strong {
    display: block;
    margin-bottom: 6px;
    color: #3d302c;
}

.contact-item p,
.contact-item a {
    margin: 0;
    line-height: 1.55;
    word-break: break-word;
    font-size: 14px;
    color: #4f443d;
}

.contact-item a {
    text-decoration: none;
    border-bottom: 1px solid rgba(143, 111, 88, 0.22);
}

.contact-item a:hover {
    color: #2f5d57;
    border-bottom-color: rgba(47, 93, 87, 0.35);
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.contact-field {
    display: grid;
    gap: 6px;
}

.contact-field label {
    font-weight: 600;
    color: #3d302c;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(143, 111, 88, 0.24);
    border-radius: 10px;
    background: #fff;
    color: #3d302c;
    padding: 12px 13px;
    font: inherit;
}

.contact-field textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: rgba(47, 93, 87, 0.45);
    box-shadow: 0 0 0 3px rgba(47, 93, 87, 0.08);
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-actions {
    display: flex;
    justify-content: flex-start;
}

.contact-submit {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #2f5d57, #4f7c74);
    color: #fff;
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(47, 93, 87, 0.16);
}

.contact-submit:hover {
    filter: brightness(1.03);
}

.contact-notice {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(143, 111, 88, 0.18);
}

.contact-notice-success {
    background: #f2fbf5;
    border-color: #b9e2c7;
    color: #18603a;
}

.contact-notice-error {
    background: #fff5f5;
    border-color: #efc1c1;
    color: #a61b1b;
}

.contact-links {
    display: grid;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(143, 111, 88, 0.15);
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: #3d302c;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.contact-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(55, 40, 31, 0.05);
    border-color: rgba(143, 111, 88, 0.3);
}

.contact-link-label {
    font-weight: 600;
}

.contact-link-action {
    font-size: 12px;
    color: #8b6a55;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-empty {
    text-align: center;
    padding: 20px 16px;
    border: 1px dashed rgba(143, 111, 88, 0.28);
    border-radius: 12px;
    background: rgba(247, 240, 232, 0.45);
    color: #5f534c;
}

.contact-social-block {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(143, 111, 88, 0.16);
}

.contact-social-block h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #3b312c;
    font-family: Georgia, "Times New Roman", serif;
}

.contact-map-block {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(51, 76, 129, 0.12);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 255, 0.97));
}

.contact-map-block h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #3b312c;
    font-family: Georgia, "Times New Roman", serif;
}

.contact-map-frame {
    width: 100%;
    margin: 0;
    border: 1px solid rgba(51, 76, 129, 0.14);
    border-radius: 12px;
    overflow: hidden;
    background: #eef4ff;
    box-shadow: 0 12px 30px rgba(20, 34, 64, 0.08);
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 236px;
    border: 0;
}

.contact-map-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 13px;
    color: #6d5e55;
}

.contact-map-meta a {
    color: #7b4c2e;
    text-decoration: none;
    font-weight: 600;
}

.contact-map-meta a:hover {
    text-decoration: underline;
}

.contact-extra {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(143, 111, 88, 0.16);
}

.contact-extra h2 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #3b312c;
    font-family: Georgia, "Times New Roman", serif;
}

/* =========================================================
   Page dÃ©tail actualitÃ©
========================================================= */
.actualite-page {
    width: min(900px, calc(100% - 28px));
    margin: 22px auto 34px;
}

.actualite-back {
    margin-bottom: 14px;
}

.actualite-page-card {
    background: #fffdfa;
    border: 1px solid rgba(143, 111, 88, 0.18);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(55, 40, 31, 0.05);
}

.actualite-page-card h1,
.actualite-page-card h2 {
    margin: 0 0 8px;
    line-height: 1.2;
    font-size: 26px;
    color: #3a2f2a;
    font-family: Georgia, "Times New Roman", serif;
}

.actualite-date-group {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
}

.actualite-date {
    display: block;
    color: #7a6b62;
    font-size: 12px;
}

.actualite-date-updated {
    opacity: 0.92;
}

.actualite-cover {
    margin: 0 auto 18px;
    max-width: 620px;
}

.actualite-cover img {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.actualite-content {
    line-height: 1.68;
    color: #423831;
    word-break: break-word;
    font-size: 14.5px;
}

.actualite-content p:first-child { margin-top: 0; }
.actualite-content p:last-child { margin-bottom: 0; }

.actualite-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 16px auto;
}

/* =========================================================
   Page liste actualitÃ©s
========================================================= */
.actualites-page {
    width: min(1020px, calc(100% - 28px));
    margin: 22px auto 34px;
}

.actualites-head {
    text-align: center;
    margin-bottom: 18px;
}

.actualites-head .muted {
    max-width: 620px;
    margin: 0 auto;
}

.actualites-head h1,
.actualites-head h2 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #3a2f2a;
    font-family: Georgia, "Times New Roman", serif;
}

.actualites-list {
    display: grid;
    gap: 14px;
}

.actualites-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    background: #fffdfa;
    border: 1px solid rgba(143, 111, 88, 0.18);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 22px rgba(55, 40, 31, 0.05);
}

.actualites-card.no-image {
    grid-template-columns: 1fr;
}

.actualite-thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f3ec;
}

.actualite-thumb img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    display: block;
}

.actualite-body h2,
.actualite-body h3 {
    margin: 0 0 7px;
    line-height: 1.25;
    font-size: 18px;
    color: #3b2f2b;
}

.actualite-body h2 a,
.actualite-body h3 a {
    text-decoration: none;
    color: inherit;
}

.actualite-body h2 a:hover,
.actualite-body h3 a:hover {
    text-decoration: underline;
}

.actualite-excerpt {
    margin: 0;
    line-height: 1.58;
    color: #5c524c;
    font-size: 13.5px;
}

.btn-lire-suite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 9px;
    text-decoration: none;
    border: 1px solid rgba(143, 111, 88, 0.20);
    background: #fffdfa;
    font-weight: 600;
    font-size: 12.5px;
    color: #7f2f39;
}

.btn-lire-suite:hover {
    background: #f7f0e7;
    text-decoration: none;
}

.actualites-empty {
    text-align: center;
    padding: 22px 14px;
    border: 1px dashed rgba(143, 111, 88, 0.28);
    border-radius: 14px;
    background: rgba(247, 240, 232, 0.45);
}

/* =========================================================
   Footer
========================================================= */
.site-footer {
    margin-top: 34px;
    background: linear-gradient(180deg, #3d312b 0%, #2f2521 100%);
    color: #f0e7dc;
    border-top: 1px solid rgba(141, 61, 69, 0.18);
}

.site-footer a {
    color: #fff7ee;
    text-decoration: none;
    transition: color .18s ease, opacity .18s ease;
}

.site-footer a:hover {
    color: #f3d9c7;
    text-decoration: none;
}

.site-footer-inner {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    padding: 24px 0 16px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 22px;
}

.site-footer-col h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #fff7ee;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.site-footer-brand h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.site-footer-kicker {
    margin-bottom: 6px;
    color: rgba(240, 231, 220, 0.72);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.site-footer-col p {
    margin: 0;
    line-height: 1.6;
    font-size: 13.5px;
    color: rgba(240, 231, 220, 0.92);
}

.site-footer-links,
.site-footer-social {
    display: grid;
    gap: 8px;
    font-size: 13.5px;
}

.site-footer-links a,
.site-footer-social a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    opacity: 0.95;
}

.site-footer-links a:hover,
.site-footer-social a:hover {
    opacity: 1;
}

.site-footer-bottom {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    padding: 12px 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 12px;
    color: rgba(240, 231, 220, 0.78);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.footer-sep {
    opacity: 0.45;
}

.footer-muted {
    opacity: 0.75;
}

@media (max-width: 900px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .site-footer-bottom {
        gap: 6px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 28px;
    }

    .site-footer-inner {
        width: calc(100% - 18px);
        padding: 20px 0 14px;
    }

    .site-footer-brand h3 {
        font-size: 20px;
    }

    .site-footer-bottom {
        width: calc(100% - 18px);
        padding: 10px 0 14px;
    }

    .footer-sep {
        display: none;
    }
}

/* =========================================================
   Page photos
========================================================= */
.photos-page {
    width: min(1120px, calc(100% - 28px));
    margin: 22px auto 34px;
}

.photos-head {
    text-align: center;
    margin-bottom: 18px;
}

.photos-head h2 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #3a2f2a;
    font-family: Georgia, "Times New Roman", serif;
}

.photos-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.photos-filter form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 11px 13px;
    border: 1px solid rgba(143,111,88,.18);
    border-radius: 12px;
    background: #fffdfa;
}

.photos-filter label {
    font-weight: 600;
    font-size: 13px;
    color: #4a3d37;
}

.photos-filter select {
    min-width: 210px;
    padding: 8px 10px;
    border: 1px solid rgba(143,111,88,.22);
    border-radius: 9px;
    background: #fff;
    color: #3e322c;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.photo-item {
    background: #fffdfa;
    border: 1px solid rgba(143,111,88,.18);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(55,40,31,.05);
}

.img-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8f3ec;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.photo-body {
    padding: 10px 12px;
}

.photo-page {
    font-size: 10.5px;
    color: #7a6b62;
    margin-bottom: 5px;
}

.photo-text {
    margin: 0;
    line-height: 1.45;
    word-break: break-word;
    font-size: 12.8px;
    color: #4f443d;
}

.empty-state {
    text-align: center;
    padding: 24px 14px;
    border: 1px dashed rgba(143,111,88,.28);
    border-radius: 14px;
    background: rgba(247,240,232,.45);
}

.photos-empty-subtext {
    margin-top: 6px;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .82);
    z-index: 9999;
    cursor: zoom-out;
}

.lightbox img {
    max-width: min(1100px, 96vw);
    max-height: 90vh;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* =========================================================
   Pages commercants
========================================================= */
.commercants-page {
    width: min(1020px, calc(100% - 28px));
    margin: 22px auto 34px;
}

.commercants-head {
    text-align: center;
    margin-bottom: 18px;
}

.commercants-head h1,
.commercants-head h2 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #3a2f2a;
    font-family: Georgia, "Times New Roman", serif;
}

.commercants-list {
    display: grid;
    gap: 14px;
}

.commercant-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    background: #fffdfa;
    border: 1px solid rgba(143, 111, 88, 0.18);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 8px 22px rgba(55, 40, 31, 0.05);
}

.commercant-card.no-image {
    grid-template-columns: 1fr;
}

.commercant-thumb {
    border-radius: 12px;
    overflow: hidden;
    background: #f8f3ec;
}

.commercant-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.commercant-body h2,
.commercant-body h3 {
    margin: 0 0 8px;
    line-height: 1.2;
    font-size: 18px;
    color: #3b2f2b;
}

.commercant-desc {
    margin: 0 0 10px;
    color: #5c524c;
    line-height: 1.58;
    font-size: 13.5px;
}

.commercant-infos {
    display: grid;
    gap: 6px;
}

.commercant-infos p {
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
    font-size: 13.5px;
}

.commercants-empty {
    text-align: center;
    padding: 22px 14px;
    border: 1px dashed rgba(143, 111, 88, 0.28);
    border-radius: 14px;
    background: rgba(247, 240, 232, 0.45);
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 900px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .menu-horizontal {
        padding: 6px 8px;
    }

    .menu-horizontal > .dropdown > a {
        min-height: 42px;
        padding: 0 11px;
    }
}

@media (max-width: 820px) {
    .actualites-card,
    .actualites-card.no-image,
    .commercant-card,
    .commercant-card.no-image {
        grid-template-columns: 1fr;
    }

    .actualite-thumb img {
        height: 205px;
    }

    .commercant-thumb img {
        height: 210px;
    }
}

@media (max-width: 768px) {
    .site-header img {
        height: 210px;
    }

    .site-header .overlay {
        padding-bottom: 16px;
    }

    .site-header .header-inner {
        width: calc(100% - 20px);
    }

    .site-header .hero-title-block {
        max-width: 250px;
    }

    .site-header .overlay h1 {
        white-space: normal;
        line-height: 1;
    }

    .site-header .hero-subtitle {
        font-size: 10.5px;
        margin-top: 5px;
    }

    .site-header .hero-deco::before,
    .site-header .hero-deco::after {
        max-width: 38px;
    }

    .site-header .hero-deco span {
        font-size: 12px;
    }

    .content-container,
    .container,
    .contact-page,
    .actualite-page,
    .actualites-page,
    .photos-page,
    .commercants-page {
        width: calc(100% - 18px);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .home-center {
        padding: 16px;
    }

    .home-center-gallery {
        grid-template-columns: 1fr;
    }

    .home-center-photo img {
        min-height: 170px;
        max-height: 240px;
    }

    .dropdown-content {
        position: static;
        min-width: auto;
        box-shadow: none;
        border-radius: 10px;
        margin: 0 0 8px;
    }

    .cms-content .image-block,
    .cms-content .image-block.size-small,
    .cms-content .image-block.size-medium,
    .cms-content .image-block.size-large,
    .cms-content .image-block.size-full,
    .cms-content img.cms-img,
    .cms-content img.cms-img.size-small,
    .cms-content img.cms-img.size-medium,
    .cms-content img.cms-img.size-large,
    .cms-content img.cms-img.size-full {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .cms-content .image-block figcaption {
        font-size: 12px;
    }

    .cms-content .cms-media-text,
    .cms-content .cms-media-text.media-right{
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 0;
    }

    .cms-content .cms-media-text .cms-media{
        flex: 0 0 auto;
        width: 100%;
    }

    .actualite-item,
    .actualite-item.no-image {
        grid-template-columns: 1fr;
    }

.actualite-item-thumb img {
        aspect-ratio: 16 / 9;
    }
}

/* =========================================================
   Refonte accueil studio web
========================================================= */
body {
    background:
        radial-gradient(circle at top left, rgba(180, 120, 70, 0.14), transparent 26%),
        radial-gradient(circle at right 12%, rgba(33, 88, 103, 0.16), transparent 24%),
        linear-gradient(180deg, #e9e3db 0%, #f3eee8 26%, #ede8e2 100%);
    color: #231f1c;
}

.site-header {
    background:
        linear-gradient(135deg, #10252f 0%, #213847 52%, #3f3a34 100%);
}

.site-header > img,
.site-header > .studio-header-image {
    height: clamp(300px, 52vh, 470px);
    filter: saturate(0.88) contrast(1.02) brightness(0.78);
}

.site-header::after {
    background:
        linear-gradient(180deg, rgba(10, 16, 20, 0.18) 0%, rgba(10, 16, 20, 0.22) 32%, rgba(10, 16, 20, 0.68) 100%),
        radial-gradient(circle at top right, rgba(255, 220, 170, 0.18), transparent 28%);
}

.site-header .hero-title-block {
    max-width: 680px;
}

.site-header .overlay h1 {
    color: #fff9f1;
    font-size: clamp(30px, 4.4vw, 54px);
    letter-spacing: -0.02em;
    text-wrap: balance;
    white-space: normal;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.site-header .hero-subtitle {
    max-width: 520px;
    color: rgba(255, 248, 238, 0.86);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-header .hero-deco::before,
.site-header .hero-deco::after {
    max-width: 86px;
    background: rgba(255, 241, 225, 0.62);
}

.site-header .hero-deco span {
    color: rgba(255, 244, 230, 0.94);
}

.menu-horizontal {
    margin-top: -18px;
    padding: 0 12px;
    min-height: 52px;
    background: rgba(14, 23, 28, 0.78);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 34px rgba(19, 23, 25, 0.16);
}

.menu-horizontal > .dropdown > a {
    min-height: 52px;
    color: rgba(247, 241, 232, 0.88);
}

.menu-horizontal.menu-with-indicator .menu-track-indicator {
    background: linear-gradient(180deg, rgba(216, 147, 92, 0.24), rgba(216, 147, 92, 0.14));
    box-shadow:
        inset 0 0 0 1px rgba(244, 195, 150, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.12);
}

.menu-horizontal.menu-with-indicator > .dropdown > a:hover,
.menu-horizontal.menu-with-indicator > .dropdown:focus-within > a,
.menu-horizontal > .dropdown > a:hover,
.menu-horizontal > .dropdown:focus-within > a,
.menu-horizontal a.active {
    color: #fff5e7;
}

.dropdown-content {
    background: rgba(19, 28, 34, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(9, 11, 12, 0.18);
}

.dropdown-content a,
.dropdown-content .dropdown-empty {
    color: rgba(248, 243, 236, 0.9);
}

.dropdown-content a:hover,
.dropdown-content a:focus,
.dropdown-content a.active {
    background: rgba(228, 165, 110, 0.12);
    color: #fff7ed;
}

.container.home-page {
    margin-top: 28px;
}

.home-layout {
    grid-template-columns: minmax(0, 1.42fr) 320px;
    gap: 24px;
}

.main-content,
.home-sidebar {
    min-width: 0;
}

.home-center {
    position: relative;
    overflow: hidden;
    padding: 30px 32px;
    border: 1px solid rgba(24, 48, 58, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(224, 154, 97, 0.24), transparent 28%),
        linear-gradient(135deg, rgba(20, 35, 43, 0.98) 0%, rgba(31, 52, 63, 0.98) 58%, rgba(70, 58, 50, 0.94) 100%);
    box-shadow: 0 26px 52px rgba(26, 27, 30, 0.16);
}

.home-center::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 38%),
        radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.12), transparent 22%);
    pointer-events: none;
}

.home-center > * {
    position: relative;
    z-index: 1;
}

.home-center-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: rgba(255, 235, 214, 0.82);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-center-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: rgba(255, 222, 190, 0.62);
}

.home-center h2 {
    margin: 0 0 14px;
    max-width: 14ch;
    color: #fff9f2;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.home-center-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.home-center-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 229, 204, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 244, 233, 0.94);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.home-center-text {
    max-width: 62ch;
    color: rgba(242, 233, 225, 0.9);
    font-size: 15px;
    line-height: 1.8;
}

.home-center-text strong {
    color: #fffdf8;
}

.home-center-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.home-center-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.home-center-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.home-center-btn-primary {
    background: linear-gradient(135deg, #e0a165 0%, #cb7c42 100%);
    color: #241a15;
    box-shadow: 0 14px 26px rgba(203, 124, 66, 0.24);
}

.home-center-btn-primary:hover {
    color: #201612;
    box-shadow: 0 16px 28px rgba(203, 124, 66, 0.3);
}

.home-center-btn-secondary {
    border: 1px solid rgba(255, 235, 214, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff7ed;
}

.home-center-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fffaf3;
}

.home-center-gallery {
    grid-template-columns: repeat(4, minmax(92px, 1fr));
    justify-content: stretch;
    gap: 14px;
    margin-top: 26px;
}

.home-center-photo {
    max-width: none;
    aspect-ratio: 0.92 / 1;
    padding: 0;
    border-radius: 18px;
    border: 1px solid rgba(255, 244, 233, 0.08);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 28px rgba(14, 18, 20, 0.18);
}

.home-center-photo:nth-child(2n) {
    transform: translateY(18px);
}

.home-center-photo img {
    filter: saturate(0.92) contrast(1.02);
}

.horaires-mairie {
    gap: 16px;
    padding-top: 2px;
}

.horaires-mairie h2 {
    justify-self: stretch;
    justify-content: flex-start;
    gap: 10px;
    color: #5e4a3f;
    font-size: 10px;
    letter-spacing: 0.18em;
}

.horaires-mairie h2::before,
.horaires-mairie h2::after {
    display: none;
}

.bloc-horaires,
.bloc-horaires:nth-of-type(3) {
    transform: none;
}

.bloc-horaires {
    border-radius: 20px;
    padding: 22px 18px 16px;
    background:
        linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(243, 236, 228, 0.98)),
        radial-gradient(circle at top right, rgba(204, 152, 111, 0.12), transparent 24%);
    box-shadow: 0 16px 30px rgba(52, 40, 31, 0.08);
}

.bloc-horaires::before {
    width: 64px;
    height: 18px;
    top: -9px;
    opacity: 0.78;
}

.bloc-horaires h3 {
    color: #243c46;
    font-size: 19px;
}

.bloc-horaires .horaires-content {
    color: #4f443d;
    font-size: 13px;
    line-height: 1.64;
}

.bloc-actualites {
    padding: 22px 22px 20px;
    border-radius: 22px;
    border-color: rgba(24, 48, 58, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(247, 241, 234, 0.98)),
        radial-gradient(circle at top right, rgba(216, 155, 103, 0.12), transparent 26%);
    box-shadow: 0 20px 40px rgba(38, 32, 27, 0.08);
}

.bloc-actualites h3 {
    margin-bottom: 14px;
    color: #1d3440;
    font-size: 24px;
}

.bloc-actualites-inner {
    gap: 14px;
}

.actualite-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(28, 48, 58, 0.08);
    box-shadow: 0 10px 22px rgba(18, 23, 25, 0.05);
}

.actualite-item-thumb {
    border-radius: 14px;
    overflow: hidden;
}

.actualite-item-thumb img {
    height: 100%;
    min-height: 112px;
    object-fit: cover;
}

.actualite-item-body h4 {
    color: #1e2d34;
    font-size: 17px;
}

.actualite-item-body p {
    color: #5d534c;
}

.actualite-meta {
    color: #7a6d62;
}

.actualite-link {
    color: #9d4f30;
    font-weight: 700;
}

/* =========================================================
   Theme Studio - test vitrine Avelis
========================================================= */
body {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 248, 244, 0.92)),
        repeating-linear-gradient(-35deg, rgba(36, 45, 36, 0.028) 0 12px, rgba(255, 255, 255, 0) 12px 28px);
    color: #141714;
}

a {
    color: #567500;
}

.container,
.content-container {
    width: min(1180px, calc(100% - 40px));
}

.studio-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(33, 41, 33, 0.08);
    box-shadow: 0 12px 28px rgba(17, 21, 17, 0.08);
}

.studio-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 18px;
}

.studio-brand {
    display: grid;
    gap: 10px;
}

.studio-brand-line {
    width: 68px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b8ff17 0%, #7fd100 100%);
}

.studio-header h1 {
    margin: 0;
    color: #141814;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
}

.studio-header .hero-subtitle {
    margin: 0;
    max-width: 480px;
    color: #697369;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: right;
    text-shadow: none;
}

.menu-horizontal {
    margin: -10px auto 0;
    min-height: 54px;
    padding: 0 10px;
    background: #ffffff;
    border: 1px solid rgba(30, 38, 30, 0.12);
    border-radius: 14px;
    box-shadow: 0 16px 30px rgba(17, 21, 17, 0.1);
}

.menu-horizontal > .dropdown > a {
    min-height: 52px;
    color: #242824;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.menu-horizontal.menu-with-indicator .menu-track-indicator {
    top: 6px;
    height: calc(100% - 12px);
    border-radius: 10px;
    background: rgba(184, 255, 23, 0.2);
    box-shadow:
        inset 0 0 0 1px rgba(111, 161, 0, 0.1),
        0 8px 18px rgba(52, 82, 0, 0.08);
}

.menu-horizontal.menu-with-indicator > .dropdown > a:hover,
.menu-horizontal.menu-with-indicator > .dropdown:focus-within > a,
.menu-horizontal > .dropdown > a:hover,
.menu-horizontal > .dropdown:focus-within > a,
.menu-horizontal a.active {
    color: #141814;
}

.menu-horizontal > .dropdown > a:hover,
.menu-horizontal > .dropdown:focus-within > a {
    background: rgba(184, 255, 23, 0.12);
    box-shadow: 0 8px 18px rgba(34, 44, 12, 0.06);
}

.menu-horizontal a.active {
    background: rgba(184, 255, 23, 0.16);
}

.dropdown-content {
    background: #ffffff;
    border: 1px solid rgba(34, 43, 34, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(17, 21, 17, 0.12);
}

.dropdown-content a,
.dropdown-content .dropdown-empty {
    color: #242824;
}

.dropdown-content a:hover,
.dropdown-content a:focus,
.dropdown-content a.active {
    background: rgba(184, 255, 23, 0.14);
    color: #111611;
}

.container.home-page {
    margin-top: 26px;
}

.home-layout {
    grid-template-columns: minmax(0, 1.55fr) 300px;
    gap: 24px;
}

.home-center {
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.2), transparent 20%),
        radial-gradient(circle at 64% 88%, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(135deg, #c5ff1a 0%, #9be300 58%, #75c400 100%);
    border: 1px solid rgba(113, 159, 0, 0.22);
    border-radius: 26px;
    padding: 34px 36px;
    box-shadow: 0 26px 50px rgba(66, 90, 5, 0.18);
}

.home-center::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 42%);
}

.home-center-kicker {
    color: rgba(26, 37, 18, 0.76);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.home-center-kicker::before {
    background: rgba(32, 41, 18, 0.38);
}

.home-center h2 {
    max-width: 12ch;
    color: #10160d;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(38px, 4.2vw, 62px);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.home-center-highlights span {
    border: 1px solid rgba(32, 41, 18, 0.12);
    background: rgba(255, 255, 255, 0.28);
    color: #1c2515;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-center-text {
    max-width: 62ch;
    color: #1d2717;
    font-size: 15px;
    line-height: 1.8;
}

.home-center-btn {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-center-btn-primary {
    background: #111611;
    color: #f7fbf7;
    box-shadow: 0 16px 28px rgba(17, 22, 17, 0.18);
}

.home-center-btn-secondary {
    border: 1px solid rgba(24, 31, 19, 0.18);
    background: rgba(255, 255, 255, 0.34);
    color: #111611;
}

.home-center-gallery {
    grid-template-columns: repeat(4, minmax(88px, 1fr));
    gap: 14px;
}

.home-center-photo {
    aspect-ratio: 0.94 / 1;
    border-radius: 14px;
    border: 1px solid rgba(24, 31, 19, 0.12);
    background: rgba(255, 255, 255, 0.26);
    box-shadow: 0 14px 24px rgba(24, 31, 19, 0.08);
}

.home-center-photo:nth-child(2n) {
    transform: translateY(14px);
}

.horaires-mairie h2 {
    color: #7aa900;
}

.bloc-horaires {
    border-radius: 20px;
    padding: 22px 18px 16px;
    border: 1px solid rgba(49, 58, 49, 0.08);
    background: linear-gradient(180deg, #1a1d1a 0%, #0f110f 100%);
    box-shadow: 0 18px 32px rgba(17, 21, 17, 0.16);
}

.bloc-horaires::before,
.bloc-horaires::after,
.horaires-mairie h2::before,
.horaires-mairie h2::after {
    display: none;
}

.bloc-horaires h3 {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #f7fbf7;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bloc-horaires .horaires-content {
    color: #cdd5cd;
}

.bloc-horaires .horaires-content strong {
    color: #b8ff17;
}

.bloc-actualites {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(49, 58, 49, 0.08);
    background: linear-gradient(180deg, #181b18 0%, #0e100e 100%);
    box-shadow: 0 18px 34px rgba(17, 21, 17, 0.16);
}

.bloc-actualites h3 {
    color: #f7fbf7;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.actualite-item {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(184, 255, 23, 0.08);
    box-shadow: none;
}

.actualite-item-body h4 {
    color: #f6faf6;
}

.actualite-item-body p,
.actualite-meta {
    color: #c8d0c8;
}

.actualite-link {
    color: #b8ff17;
}

.content-container,
.contact-card,
.actualite-page-card,
.actualites-head,
.photos-head,
.commercants-head,
.contact-sidebar-card {
    border-radius: 22px;
    border: 1px solid rgba(41, 50, 41, 0.08);
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(17, 21, 17, 0.08);
}

.content-container h1,
.contact-card h2,
.actualite-page-card h1,
.actualite-page-card h2,
.actualites-head h1,
.actualites-head h2,
.photos-head h2,
.commercants-head h1,
.commercants-head h2 {
    color: #111611;
    border-bottom-color: rgba(30, 38, 30, 0.08);
}

.site-footer {
    margin-top: 38px;
    background: linear-gradient(180deg, #151815 0%, #0d0f0d 100%);
    border-top: 1px solid rgba(184, 255, 23, 0.12);
}

.site-footer-kicker {
    color: rgba(184, 255, 23, 0.72);
}

.site-footer a:hover {
    color: #c6ff4a;
}

/* =========================================================
   Theme Studio - direction affinee
========================================================= */
body {
    background:
        linear-gradient(180deg, rgba(248, 250, 247, 0.96), rgba(241, 245, 239, 0.98) 48%, rgba(250, 251, 249, 0.98)),
        linear-gradient(90deg, rgba(92, 126, 42, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(92, 126, 42, 0.045) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
    color: #151915;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background: none;
}

body::after {
    background: linear-gradient(180deg, rgba(19, 24, 19, 0.08), transparent 120px);
}

a {
    color: #416f14;
}

.studio-header {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(59, 81, 23, 0.16), rgba(59, 81, 23, 0) 110px),
        linear-gradient(180deg, #2d322d 0%, #171a17 58%, #121412 100%);
    border-bottom: 1px solid rgba(147, 207, 57, 0.14);
    box-shadow: 0 18px 34px rgba(13, 16, 13, 0.18);
}

.studio-header::before,
.studio-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.studio-header::before {
    background:
        linear-gradient(90deg, rgba(196, 255, 92, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(196, 255, 92, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.44;
}

.studio-header::after {
    background:
        radial-gradient(circle at 12% 14%, rgba(195, 255, 79, 0.18), transparent 18%),
        radial-gradient(circle at 82% 0%, rgba(151, 204, 55, 0.24), transparent 22%);
}

.studio-header-inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0 54px;
    z-index: 1;
}

.studio-brand {
    display: grid;
    gap: 12px;
}

.studio-brand-line {
    width: 82px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8dc63f 0%, #d8ff7b 100%);
    box-shadow: 0 0 24px rgba(171, 225, 68, 0.28);
}

.studio-header h1 {
    margin: 0;
    color: #f5f8f0;
    font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
    font-size: clamp(34px, 3vw, 46px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.035em;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.studio-header .hero-subtitle {
    margin: 8px 0 0;
    max-width: 380px;
    align-self: center;
    color: rgba(229, 236, 223, 0.82);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: right;
}

.menu-horizontal {
    margin: -18px auto 0;
    min-height: 58px;
    padding: 0 10px;
    background:
        linear-gradient(180deg, rgba(31, 35, 31, 0.96), rgba(19, 22, 19, 0.97));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(128, 180, 49, 0.24);
    border-radius: 10px;
    box-shadow:
        0 16px 34px rgba(13, 16, 13, 0.14),
        inset 0 0 0 1px rgba(177, 222, 97, 0.08),
        0 0 0 1px rgba(177, 222, 97, 0.06),
        0 0 16px rgba(138, 193, 47, 0.08);
}

.menu-horizontal::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(150, 214, 55, 0.94), rgba(201, 255, 98, 0.72));
}

.menu-horizontal > .dropdown > a {
    min-height: 56px;
    padding: 0 14px;
    color: rgba(238, 243, 234, 0.88);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 8px;
}

.menu-horizontal.menu-with-indicator .menu-track-indicator {
    top: 7px;
    height: calc(100% - 14px);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(58, 67, 48, 0.94), rgba(42, 48, 37, 0.92));
    box-shadow:
        inset 0 0 0 1px rgba(156, 216, 58, 0.18),
        0 10px 20px rgba(8, 11, 8, 0.2);
}

.menu-horizontal > .dropdown > a:hover,
.menu-horizontal > .dropdown:focus-within > a {
    background: rgba(87, 102, 67, 0.18);
    color: #f8fcf4;
    box-shadow: none;
}

.menu-horizontal a.active {
    color: #f9fdf4;
    background: rgba(75, 88, 59, 0.8);
}

.dropdown-content {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(24, 30, 24, 0.1);
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(16, 20, 16, 0.14);
}

.dropdown-content a:hover,
.dropdown-content a:focus,
.dropdown-content a.active {
    background: rgba(177, 219, 97, 0.12);
    color: #162015;
}

.container.home-page {
    margin-top: 30px;
}

.home-layout {
    grid-template-columns: minmax(0, 1.48fr) 308px;
    gap: 24px;
}

.home-center {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 243, 0.98));
    border: 1px solid rgba(61, 82, 32, 0.14);
    border-radius: 12px;
    padding: 34px 36px;
    box-shadow: 0 22px 46px rgba(18, 24, 18, 0.08);
}

.home-center::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: rgba(120, 126, 120, 0.42);
}

.home-center::after {
    content: "";
    position: absolute;
    inset: auto -10% 18% auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(174, 228, 88, 0.18), transparent 68%);
    pointer-events: none;
}

.home-center-kicker {
    color: #4c6b1e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-center-kicker::before {
    background: rgba(76, 107, 30, 0.34);
}

.home-center h2 {
    max-width: 14ch;
    color: #111611;
    font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
    font-size: clamp(28px, 3.7vw, 46px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.home-center-highlights {
    gap: 10px;
}

.home-center-highlights span {
    border: 1px solid rgba(79, 109, 36, 0.16);
    background: rgba(238, 245, 228, 0.94);
    color: #2f4714;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-center-text {
    max-width: 62ch;
    color: #243024;
    font-size: 15px;
    line-height: 1.78;
}

.home-center-btn {
    min-height: 47px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-center-btn-primary {
    background: linear-gradient(180deg, #1d251d 0%, #111511 100%);
    color: #f6fbf1;
    box-shadow: 0 14px 28px rgba(18, 22, 18, 0.16);
}

.home-center-btn-secondary {
    border: 1px solid rgba(62, 85, 33, 0.16);
    background: #fbfef8;
    color: #1a2314;
}

.home-center-gallery {
    grid-template-columns: repeat(4, minmax(82px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.home-center-photo {
    aspect-ratio: 0.92 / 1;
    border-radius: 10px;
    border: 1px solid rgba(39, 53, 21, 0.1);
    background: #fbfef8;
    box-shadow: 0 14px 28px rgba(18, 24, 18, 0.08);
}

.home-center-photo:nth-child(2n) {
    transform: translateY(10px);
}

.horaires-mairie h2 {
    color: #314716;
}

.bloc-horaires {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 22px 18px 16px;
    border: 1px solid rgba(53, 70, 29, 0.1);
    background:
        linear-gradient(180deg, rgba(118, 162, 45, 0.1), rgba(118, 162, 45, 0) 80px),
        linear-gradient(180deg, #1a1d1a 0%, #0f110f 100%);
    box-shadow: 0 18px 34px rgba(17, 21, 17, 0.16);
}

.bloc-horaires::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #7cac2a, #d7ff79);
    opacity: 0.92;
}

.bloc-horaires::after,
.horaires-mairie h2::before,
.horaires-mairie h2::after {
    display: none;
}

.bloc-horaires h3 {
    color: #f7fbf6;
    font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bloc-horaires .horaires-content {
    color: #d1d8d0;
}

.bloc-horaires .horaires-content strong {
    color: #d8ff79;
}

.bloc-actualites {
    padding: 22px;
    border-radius: 10px;
    border: 1px solid rgba(39, 53, 21, 0.12);
    background:
        linear-gradient(180deg, rgba(124, 172, 42, 0.08), rgba(124, 172, 42, 0) 70px),
        linear-gradient(180deg, #181b18 0%, #0e100e 100%);
    box-shadow: 0 18px 36px rgba(16, 19, 16, 0.16);
}

.bloc-actualites h3 {
    color: #f6faf5;
    font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.actualite-item {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(163, 210, 74, 0.1);
}

.actualite-item-body h4 {
    color: #f5f9f4;
}

.actualite-item-body p,
.actualite-meta {
    color: #ccd4cb;
}

.actualite-link {
    color: #d8ff79;
}

.site-footer {
    margin-top: 40px;
    background:
        linear-gradient(180deg, rgba(118, 162, 45, 0.08), rgba(118, 162, 45, 0) 90px),
        linear-gradient(180deg, #151915 0%, #0d0f0d 100%);
    border-top: 1px solid rgba(167, 216, 78, 0.14);
}

.site-footer-kicker {
    color: rgba(191, 237, 110, 0.74);
}

.site-footer a:hover {
    color: #d8ff79;
}

@media (max-width: 980px) {
    .studio-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 36px;
    }

    .studio-header .hero-subtitle {
        max-width: 100%;
        text-align: left;
    }

    .menu-horizontal {
        margin-top: -10px;
    }

    .home-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body {
        background-size: auto, 32px 32px, 32px 32px;
    }

    .studio-header-inner {
        padding: 22px 0 28px;
    }

    .studio-brand-line {
        width: 58px;
    }

    .studio-header h1 {
        font-size: 31px;
    }

    .studio-header .hero-subtitle {
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .menu-horizontal {
        margin-top: -4px;
        min-height: 54px;
        padding: 0 8px;
    }

    .menu-horizontal > .dropdown > a {
        min-height: 50px;
        padding: 0 10px;
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .home-center {
        padding: 24px 18px;
        border-radius: 10px;
    }

    .home-center h2 {
        max-width: 100%;
        font-size: clamp(26px, 10vw, 38px);
    }

    .home-center-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .home-center-photo,
    .home-center-photo:nth-child(2n) {
        transform: none;
    }

    .bloc-actualites {
        padding: 18px 16px;
        border-radius: 10px;
    }
}

/* =========================================================
   Theme Studio - correctif menu final
========================================================= */
.menu-horizontal {
    border: 1px solid rgba(142, 182, 76, 0.42);
    box-shadow:
        0 16px 34px rgba(13, 16, 13, 0.14),
        0 0 0 1px rgba(170, 220, 100, 0.04);
}

.menu-horizontal::before {
    display: none;
}

.menu-horizontal::after {
    display: none;
}

.menu-horizontal > .dropdown > a,
.menu-horizontal > .dropdown > a:visited {
    color: rgba(239, 244, 235, 0.86);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.menu-horizontal.menu-with-indicator > .dropdown > a:hover,
.menu-horizontal.menu-with-indicator > .dropdown:focus-within > a,
.menu-horizontal > .dropdown > a:hover,
.menu-horizontal > .dropdown:focus-within > a {
    color: #f7fcf2;
    background: rgba(91, 108, 67, 0.18);
}

.menu-horizontal.menu-with-indicator a.active,
.menu-horizontal a.active,
.menu-horizontal > .dropdown > a.active,
.menu-horizontal > .dropdown > a.active:visited {
    color: #d7ff79;
    background: rgba(73, 86, 58, 0.9);
    box-shadow: inset 0 0 0 1px rgba(171, 228, 77, 0.16);
}

/* Un seul etat visuel: le carre glissant, pas un second fond sur le lien actif */
.menu-horizontal.menu-with-indicator {
    overflow: hidden;
}

.menu-horizontal.menu-with-indicator > .dropdown {
    position: relative;
    z-index: 1;
}

.menu-horizontal.menu-with-indicator > .dropdown > a {
    position: relative;
    z-index: 1;
}

.menu-horizontal.menu-with-indicator > .dropdown > a:hover,
.menu-horizontal.menu-with-indicator > .dropdown:focus-within > a,
.menu-horizontal.menu-with-indicator a.active,
.menu-horizontal.menu-with-indicator > .dropdown > a.active,
.menu-horizontal.menu-with-indicator > .dropdown > a.active:visited {
    background: transparent !important;
    box-shadow: none !important;
}

.menu-horizontal.menu-with-indicator > .dropdown > a:hover,
.menu-horizontal.menu-with-indicator > .dropdown:focus-within > a {
    color: #f7fcf2;
}

.menu-horizontal.menu-with-indicator a.active,
.menu-horizontal.menu-with-indicator > .dropdown > a.active,
.menu-horizontal.menu-with-indicator > .dropdown > a.active:visited {
    color: #d7ff79;
}

/* =========================================================
   Theme Studio - header image from admin
========================================================= */
.studio-header {
    min-height: clamp(150px, 21vw, 220px);
}

.studio-header.has-cover {
    background: #121612;
}

.studio-header-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.studio-header-overlay {
    position: relative;
    z-index: 1;
    min-height: inherit;
}

.studio-header.has-cover::before,
.studio-header.has-cover::after {
    z-index: 0;
}

.studio-header.has-cover .studio-header-inner {
    min-height: clamp(150px, 21vw, 220px);
    align-items: flex-end;
    padding-top: 22px;
    padding-bottom: 24px;
}

.studio-header.has-cover .hero-subtitle {
    color: rgba(244, 248, 239, 0.92);
    text-shadow: 0 1px 14px rgba(6, 8, 6, 0.28);
}

.studio-header.has-cover h1 {
    text-shadow: 0 2px 18px rgba(7, 9, 7, 0.32);
}

@media (max-width: 980px) {
    .studio-header.has-cover .studio-header-inner {
        min-height: clamp(150px, 34vw, 210px);
        align-items: flex-start;
        padding-bottom: 22px;
    }
}

@media (max-width: 720px) {
    .studio-header {
        min-height: 136px;
    }

    .studio-header.has-cover .studio-header-inner {
        min-height: 136px;
        padding-top: 14px;
        padding-bottom: 18px;
    }
}

/* Ratio reel de l'image header : 1536 x 631 */
.studio-header.has-cover {
    aspect-ratio: 1536 / 631;
    min-height: auto;
    height: 631px;
}

.studio-header.has-cover .studio-header-image {
    height: 100%;
}

.studio-header.has-cover .studio-header-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
}

.studio-header.has-cover .studio-header-inner {
    width: min(1120px, calc(100% - 36px));
    height: 100%;
    min-height: 0;
}

@media (max-width: 980px) {
    .studio-header.has-cover {
        height: auto;
    }

    .studio-header.has-cover .studio-header-inner {
        width: min(1120px, calc(100% - 28px));
    }
}

@media (max-width: 720px) {
    .studio-header.has-cover {
        aspect-ratio: 1536 / 631;
    }

    .studio-header.has-cover .studio-header-inner {
        width: calc(100% - 18px);
    }
}

/* =========================================================
   Theme Studio - palette futuriste claire
========================================================= */
:root {
    --studio-ink: #0d1430;
    --studio-ink-2: #131d42;
    --studio-cyan: #5fd7ff;
    --studio-cyan-soft: #c9f2ff;
    --studio-violet: #8b63ff;
    --studio-violet-soft: #ece5ff;
    --studio-line: rgba(96, 129, 213, 0.18);
    --studio-line-strong: rgba(96, 129, 213, 0.28);
    --studio-card: rgba(255, 255, 255, 0.94);
    --studio-card-solid: #ffffff;
    --studio-text: #1a2340;
    --studio-muted: #5e6885;
}

body {
    background:
        linear-gradient(180deg, #050914 0, #081125 631px, #eef3ff 631px, #f7f9ff 100%),
        radial-gradient(circle at top left, rgba(95, 215, 255, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(139, 99, 255, 0.10), transparent 28%),
        linear-gradient(180deg, #f6f8ff 0%, #eef3ff 22%, #f7f9ff 100%);
    color: var(--studio-text);
}

a {
    color: #4962dc;
}

.container,
.content-container {
    margin: 24px auto 34px;
}

.site-header.studio-header {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto 0;
    background:
        linear-gradient(180deg, rgba(8, 12, 28, 0.18), rgba(8, 12, 28, 0.46)),
        linear-gradient(135deg, #081125 0%, #131d46 42%, #22165d 100%);
    border-bottom: 1px solid rgba(128, 161, 255, 0.18);
    border: 1px solid rgba(128, 161, 255, 0.16);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(7, 11, 30, 0.26);
}

.studio-header::before {
    background:
        linear-gradient(90deg, rgba(120, 172, 255, 0.12) 1px, transparent 1px),
        linear-gradient(0deg, rgba(120, 172, 255, 0.08) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.34;
}

.studio-header::after {
    background: none;
}

.studio-header-image {
    object-position: center center;
    filter: none;
}

.studio-header-overlay {
    background: transparent !important;
}

.studio-brand-line {
    width: 330px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(95, 215, 255, 0.9) 0%, rgba(139, 99, 255, 0.72) 100%);
    box-shadow:
        0 0 10px rgba(95, 215, 255, 0.18),
        0 0 18px rgba(139, 99, 255, 0.1);
    opacity: 0.9;
}

.studio-header h1 {
    color: #f5f8ff;
    font-family: "Oxanium", "Segoe UI", Arial, sans-serif;
    font-size: clamp(32px, 2.9vw, 48px);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-shadow: 0 4px 24px rgba(4, 8, 24, 0.38);
}

.studio-header .hero-subtitle {
    max-width: 540px;
    color: rgba(228, 237, 255, 0.88);
    font-family: "Oxanium", "Segoe UI", Arial, sans-serif;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.menu-horizontal {
    margin-top: -16px;
    background:
        linear-gradient(180deg, rgba(11, 18, 44, 0.94), rgba(16, 24, 58, 0.95));
    border: 1px solid rgba(104, 152, 255, 0.26);
    border-radius: 12px;
    box-shadow:
        0 16px 34px rgba(8, 12, 29, 0.18),
        0 0 0 1px rgba(115, 224, 255, 0.06),
        inset 0 0 0 1px rgba(139, 99, 255, 0.06);
    backdrop-filter: blur(16px);
}

.menu-horizontal > .dropdown > a,
.menu-horizontal > .dropdown > a:visited {
    color: rgba(230, 238, 255, 0.84);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 8px;
}

.menu-horizontal.menu-with-indicator .menu-track-indicator {
    top: 6px;
    height: calc(100% - 12px);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(95, 215, 255, 0.10), rgba(139, 99, 255, 0.14));
    box-shadow:
        inset 0 0 0 1px rgba(135, 182, 255, 0.18),
        0 0 18px rgba(95, 215, 255, 0.08);
}

.menu-horizontal.menu-with-indicator > .dropdown > a:hover,
.menu-horizontal.menu-with-indicator > .dropdown:focus-within > a {
    color: #ffffff;
}

.menu-horizontal.menu-with-indicator a.active,
.menu-horizontal.menu-with-indicator > .dropdown > a.active,
.menu-horizontal.menu-with-indicator > .dropdown > a.active:visited {
    color: #eef4ff;
}

.dropdown-content {
    background: rgba(16, 24, 58, 0.98);
    border: 1px solid rgba(121, 161, 255, 0.18);
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(8, 12, 29, 0.22);
}

.dropdown-content a,
.dropdown-content .dropdown-empty {
    color: rgba(231, 238, 255, 0.88);
}

.dropdown-content a:hover,
.dropdown-content a:focus,
.dropdown-content a.active {
    background: rgba(95, 215, 255, 0.08);
    color: #ffffff;
}

.container.home-page {
    margin-top: -42px;
    position: relative;
    z-index: 4;
}

.home-layout {
    grid-template-columns: minmax(0, 1.58fr) 262px;
    gap: 14px;
    width: 100%;
    margin: 0 auto;
}

.home-center {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 255, 0.96));
    border: 1px solid var(--studio-line);
    border-radius: 12px;
    box-shadow: 0 18px 46px rgba(18, 28, 63, 0.08);
}

.home-center::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(96, 129, 213, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(96, 129, 213, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.36;
    pointer-events: none;
}

.home-center::after {
    content: "";
    position: absolute;
    inset: auto -6% -18% auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(139, 99, 255, 0.12), transparent 64%);
    pointer-events: none;
}

.home-center > * {
    position: relative;
    z-index: 1;
}

.home-center-kicker {
    color: #5d78df;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-center-kicker::before {
    background: rgba(93, 120, 223, 0.34);
}

.home-center h2 {
    max-width: 14ch;
    color: #11192f;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(32px, 4.1vw, 52px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.home-center-highlights span {
    border: 1px solid rgba(98, 130, 218, 0.16);
    background: rgba(242, 246, 255, 0.94);
    color: #4359b8;
    border-radius: 999px;
}

.home-center-text {
    color: #31405f;
    font-size: 15px;
    line-height: 1.78;
}

.home-center-btn {
    border-radius: 8px;
}

.home-center-btn-primary {
    background: linear-gradient(135deg, #101a3a 0%, #1e2b63 100%);
    color: #f7fbff;
    box-shadow: 0 16px 30px rgba(15, 23, 52, 0.16);
}

.home-center-btn-secondary {
    border: 1px solid rgba(96, 129, 213, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: #152245;
}

.home-center-photo {
    border-radius: 10px;
    border: 1px solid rgba(96, 129, 213, 0.12);
    background: #fbfcff;
    box-shadow: 0 14px 26px rgba(20, 30, 63, 0.08);
}

.bloc-horaires {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 22px 18px 16px;
    border: 1px solid var(--studio-line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 255, 0.96));
    box-shadow: 0 16px 34px rgba(20, 30, 63, 0.08);
}

.bloc-horaires::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--studio-cyan), var(--studio-violet));
    opacity: 0.92;
}

.bloc-horaires::after {
    display: none;
}

.bloc-horaires h3 {
    color: #182446;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bloc-horaires .horaires-content {
    color: var(--studio-muted);
}

.bloc-horaires .horaires-content strong {
    color: #475de0;
}

.bloc-actualites {
    padding: 22px;
    border-radius: 12px;
    border: 1px solid var(--studio-line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 255, 0.96));
    box-shadow: 0 18px 42px rgba(20, 30, 63, 0.08);
}

.bloc-actualites h3 {
    color: #172345;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.actualite-item {
    border-radius: 10px;
    background: rgba(248, 250, 255, 0.94);
    border: 1px solid rgba(96, 129, 213, 0.12);
}

.actualite-item-body h4 {
    color: #182446;
}

.actualite-item-body p,
.actualite-meta {
    color: #627090;
}

.actualite-link {
    color: #4962dc;
}

.site-footer {
    margin-top: 42px;
    background:
        linear-gradient(180deg, rgba(95, 215, 255, 0.06), rgba(95, 215, 255, 0) 70px),
        linear-gradient(180deg, #0c1430 0%, #0a1026 100%);
    border-top: 1px solid rgba(112, 154, 255, 0.16);
}

.site-footer-kicker {
    color: rgba(184, 213, 255, 0.74);
}

.site-footer a:hover {
    color: #d6e8ff;
}

@media (max-width: 980px) {
    .site-header.studio-header {
        width: min(1180px, calc(100% - 22px));
    }

    .studio-header .hero-subtitle {
        max-width: 100%;
        text-align: left;
    }

    .menu-horizontal {
        margin-top: -12px;
    }

    .home-layout {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .container.home-page {
        margin-top: -28px;
    }

}

@media (max-width: 720px) {
    .site-header.studio-header {
        width: calc(100% - 18px);
        margin-top: 8px;
        border-radius: 10px;
    }

    body {
        background-size: auto;
    }

    .studio-header h1 {
        font-size: 30px;
    }

    .menu-horizontal {
        min-height: 54px;
        padding: 0 8px;
    }

    .menu-horizontal > .dropdown > a {
        min-height: 50px;
        padding: 0 10px;
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .home-center,
    .bloc-actualites,
    .bloc-horaires {
        border-radius: 10px;
    }

    .container.home-page {
        margin-top: -16px;
    }
}

/* =========================================================
   Theme Studio - header title centered
========================================================= */
.studio-header.has-cover .studio-header-inner {
    align-items: center;
    justify-content: flex-start;
}

.studio-brand {
    justify-items: start;
    text-align: left;
}

.studio-brand-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.studio-brand-logo {
    width: auto !important;
    height: 36px;
    max-height: 36px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.studio-header .hero-subtitle {
    margin: 0;
    max-width: 680px;
    text-align: left;
}

@media (max-width: 980px) {
    .studio-header.has-cover .studio-header-inner {
        align-items: center;
    }

    .studio-brand-main {
        gap: 10px;
    }

    .studio-brand-logo {
        width: auto !important;
        height: 32px;
        max-height: 32px;
    }

    .studio-header .hero-subtitle {
        text-align: left;
    }
}

/* =========================================================
   Theme Studio - header desktop fixed height
========================================================= */
:root {
    --studio-header-desktop-height: min(631px, calc(1180px * 631 / 1536), calc((100vw - 28px) * 631 / 1536));
}

body {
    position: relative;
    background: #f7f9ff;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--studio-header-desktop-height);
    background: linear-gradient(180deg, #050914 0%, #081125 100%);
    z-index: -1;
}

.site-header.studio-header,
.studio-header.has-cover,
.studio-header.has-cover .studio-header-overlay,
.studio-header.has-cover .studio-header-image {
    height: var(--studio-header-desktop-height);
}

.studio-header.has-cover .studio-header-inner {
    min-height: var(--studio-header-desktop-height);
}

@media (max-width: 980px) {
    body::before {
        height: 0;
    }

    .site-header.studio-header,
    .studio-header.has-cover,
    .studio-header.has-cover .studio-header-overlay,
    .studio-header.has-cover .studio-header-image {
        height: auto;
    }

    .studio-header.has-cover .studio-header-inner {
        min-height: 0;
    }
}

/* =========================================================
   Theme Studio - menu integre au header
========================================================= */
.site-header.studio-header + .menu-horizontal {
    display: none !important;
}

.studio-header.has-cover .studio-header-inner {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 34px;
    padding-bottom: 28px;
}

.studio-header-utility {
    position: absolute;
    top: 18px;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.studio-header-quicklink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(129, 223, 255, 0.18);
    background: rgba(8, 14, 28, 0.44);
    color: rgba(244, 249, 255, 0.96);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 20px rgba(5, 10, 20, 0.12);
    transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}

.studio-header-quicklink:hover,
.studio-header-quicklink:focus {
    background: rgba(12, 20, 38, 0.58);
    border-color: rgba(129, 223, 255, 0.28);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.studio-header-quickicon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7fe6ff;
    flex: 0 0 auto;
}

.studio-header-quickicon svg {
    width: 16px;
    height: 16px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.studio-header-cartlink.has-items {
    border-color: rgba(184, 255, 23, 0.22);
}

.studio-header-cartlink.has-items .studio-header-quickicon {
    color: #d8ff7b;
}

.studio-header-stack {
    display: grid;
    gap: 14px;
    justify-items: start;
    max-width: 320px;
}

.studio-brand {
    justify-items: start;
    text-align: left;
}

.studio-header .hero-subtitle {
    max-width: 320px;
    text-align: left;
}

.studio-header-nav-wrap {
    width: auto;
}

.studio-header-nav-wrap .menu-horizontal {
    width: auto;
    margin: 0;
    min-height: auto;
    padding: 0;
    display: grid;
    gap: 4px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.studio-header-nav-wrap .menu-horizontal.menu-with-indicator .menu-track-indicator {
    display: none;
}

.studio-header-nav-wrap .menu-horizontal > .dropdown {
    width: auto;
}

.studio-header-nav-wrap .menu-horizontal > .dropdown > a,
.studio-header-nav-wrap .menu-horizontal > .dropdown > a:visited {
    width: auto;
    min-height: 0;
    justify-content: flex-start;
    display: inline-flex;
    align-items: center;
    padding: 3px 0;
    border-radius: 0;
    color: rgba(210, 222, 255, 0.8);
    font-family: "Oxanium", "Segoe UI", Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.studio-header-nav-wrap .menu-prefix {
    width: 14px;
    height: 1px;
    margin-right: 9px;
    background: linear-gradient(90deg, rgba(95, 215, 255, 0.85), rgba(139, 99, 255, 0.55));
    box-shadow: 0 0 8px rgba(95, 215, 255, 0.16);
    opacity: 0.85;
    transition: width .18s ease, transform .18s ease, opacity .18s ease;
}

.studio-header-nav-wrap .menu-label {
    display: inline-block;
    transition: transform .18s ease, color .18s ease;
}

.studio-header-nav-wrap .menu-horizontal > .dropdown > a:hover,
.studio-header-nav-wrap .menu-horizontal > .dropdown:focus-within > a {
    background: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none;
}

.studio-header-nav-wrap .menu-horizontal > .dropdown > a:hover .menu-prefix,
.studio-header-nav-wrap .menu-horizontal > .dropdown:focus-within > a .menu-prefix {
    width: 22px;
    opacity: 1;
}

.studio-header-nav-wrap .menu-horizontal > .dropdown > a:hover .menu-label,
.studio-header-nav-wrap .menu-horizontal > .dropdown:focus-within > a .menu-label {
    transform: translateX(6px);
}

.studio-header-nav-wrap .menu-horizontal a.active,
.studio-header-nav-wrap .menu-horizontal > .dropdown > a.active,
.studio-header-nav-wrap .menu-horizontal > .dropdown > a.active:visited {
    background: transparent !important;
    color: #8fe3ff !important;
    box-shadow: none !important;
}

.studio-header-nav-wrap .menu-horizontal a.active .menu-prefix,
.studio-header-nav-wrap .menu-horizontal > .dropdown > a.active .menu-prefix,
.studio-header-nav-wrap .menu-horizontal > .dropdown > a.active:visited .menu-prefix {
    width: 18px;
    opacity: 1;
}

.studio-header-nav-wrap .dropdown-content {
    left: calc(100% + 10px);
    top: 0;
    min-width: 220px;
}

@media (max-width: 980px) {
    .site-header.studio-header + .menu-horizontal {
        display: none !important;
    }

    .studio-header.has-cover .studio-header-inner {
        padding-top: 24px;
        padding-bottom: 22px;
    }

    .studio-header-stack {
        gap: 14px;
        max-width: 100%;
    }

    .studio-header-nav-wrap {
        width: auto;
    }
}

@media (max-width: 720px) {
    .studio-brand-main {
        gap: 9px;
    }

    .studio-brand-logo {
        width: auto !important;
        height: 28px;
        max-height: 28px;
    }

    .studio-header-stack {
        width: 100%;
    }

    .studio-brand-line {
        width: 270px;
    }

    .studio-header-nav-wrap {
        width: auto;
    }

    .studio-header-nav-wrap .menu-horizontal {
        gap: 3px;
        padding: 0;
    }

    .studio-header-nav-wrap .menu-horizontal > .dropdown > a,
    .studio-header-nav-wrap .menu-horizontal > .dropdown > a:visited {
        padding: 3px 0;
        font-size: 9.5px;
    }

    .studio-header-nav-wrap .dropdown-content {
        position: static;
        min-width: 0;
        margin-top: 4px;
    }
}

/* =========================================================
   Theme Studio - harmonisation typographique globale
========================================================= */
body,
button,
input,
select,
textarea {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.content-container h1,
.content-container h2,
.content-container h3,
.bloc-actualites h3,
.bloc-horaires h3,
.actualite-item-body h4,
.site-footer-col h3,
.site-footer-brand h3,
.home-center h2 {
    font-family: "Oxanium", "Manrope", "Segoe UI", Arial, sans-serif;
}

body {
    font-size: 15px;
    line-height: 1.72;
    letter-spacing: 0.005em;
}

.content-container,
.content-container p,
.home-center-text,
.bloc-horaires .horaires-content,
.actualite-item-body p,
.actualite-meta,
.site-footer-col p,
.site-footer-links,
.site-footer-social,
.contact-page,
.actualite-page,
.actualites-page,
.photos-page,
.commercants-page {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

.content-container h1,
.content-container h2,
.content-container h3,
.home-center h2,
.bloc-actualites h3,
.bloc-horaires h3 {
    letter-spacing: 0.02em;
}

.menu-horizontal > .dropdown > a,
.menu-horizontal > .dropdown > a:visited,
.dropdown-content a,
.dropdown-content .dropdown-empty,
.home-center-highlights span,
.home-center-btn,
.site-footer-kicker,
.studio-header .hero-subtitle,
.studio-header-nav-wrap .menu-horizontal > .dropdown > a,
.studio-header-nav-wrap .menu-horizontal > .dropdown > a:visited {
    font-family: "Oxanium", "Manrope", "Segoe UI", Arial, sans-serif;
}

.home-center-text,
.bloc-horaires .horaires-content,
.actualite-item-body p,
.actualite-meta,
.content-container p,
.content-container li {
    font-size: 14.5px;
}

.actualite-link,
.site-footer a,
.content-container a,
.home-center-text a {
    font-weight: 600;
}

/* =========================================================
   Theme Studio - coherence pages publiques
========================================================= */
.site-header.studio-header,
.studio-header-overlay,
.studio-header-inner,
.studio-header-nav-wrap {
    overflow: visible;
}

.studio-header-nav-wrap {
    position: relative;
    z-index: 8;
}

.studio-header-nav-wrap .dropdown-content {
    left: calc(100% + 14px);
    top: -6px;
    min-width: 260px;
    max-height: 300px;
    overflow: auto;
    padding: 8px 0;
    border-radius: 12px;
    background: rgba(10, 16, 38, 0.96);
    border: 1px solid rgba(126, 164, 255, 0.16);
    box-shadow: 0 18px 38px rgba(5, 10, 24, 0.24);
}

.studio-header-nav-wrap .dropdown-content a,
.studio-header-nav-wrap .dropdown-content .dropdown-empty {
    color: rgba(226, 235, 255, 0.9);
    font-family: "Oxanium", "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.studio-header-nav-wrap .dropdown-content a:hover,
.studio-header-nav-wrap .dropdown-content a:focus,
.studio-header-nav-wrap .dropdown-content a.active {
    background: rgba(95, 215, 255, 0.08);
    color: #ffffff;
}

.contact-page,
.actualite-page,
.actualites-page,
.photos-page,
.commercants-page,
.content-container {
    position: relative;
    z-index: 4;
    margin-top: -28px;
}

.content-container,
.contact-card,
.actualite-page-card,
.actualites-head,
.photos-head,
.commercants-head,
.contact-sidebar-card,
.photos-filter form,
.photo-item,
.actualites-card,
.commercant-card,
.actualites-empty,
.commercants-empty,
.empty-state {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 255, 0.96));
    border: 1px solid var(--studio-line);
    box-shadow: 0 18px 42px rgba(20, 30, 63, 0.08);
}

.content-container,
.contact-card,
.actualite-page-card,
.actualites-head,
.photos-head,
.commercants-head,
.contact-sidebar-card {
    border-radius: 12px;
}

.actualites-card,
.commercant-card,
.photo-item,
.photos-filter form,
.actualites-empty,
.commercants-empty,
.empty-state {
    border-radius: 10px;
}

.photos-page,
.actualites-page,
.commercants-page {
    width: min(1100px, calc(100% - 44px));
}

.actualite-page,
.contact-page,
.content-container {
    width: min(980px, calc(100% - 44px));
}

.actualites-head,
.photos-head,
.commercants-head {
    margin-bottom: 18px;
    padding: 22px 24px;
    text-align: left;
}

.actualites-head .muted,
.photos-head .muted,
.commercants-head .muted {
    max-width: none;
    margin: 0;
}

.photos-filter {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.photos-filter form {
    justify-content: flex-start;
}

@media (max-width: 980px) {
    .contact-page,
    .actualite-page,
    .actualites-page,
    .photos-page,
    .commercants-page,
    .content-container {
        width: calc(100% - 22px);
        margin-top: -18px;
    }

    .studio-header-nav-wrap .dropdown-content {
        position: static;
        left: auto;
        top: auto;
        min-width: 0;
        max-height: none;
        margin-top: 6px;
    }
}

/* =========================================================
   Theme Studio - override visible pages publiques
========================================================= */
.site-header.studio-header,
.studio-header-overlay,
.studio-header-inner,
.studio-header-stack,
.studio-header-nav-wrap,
.studio-header-nav-wrap .menu-horizontal,
.studio-header-nav-wrap .dropdown {
    overflow: visible;
}

html,
body {
    overflow-x: clip;
}

.studio-header-nav-wrap {
    position: relative;
    z-index: 20;
}

.studio-header-nav-wrap .dropdown-content {
    position: absolute;
    left: 100%;
    top: -6px;
    transform: translate(4px, 0);
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    min-width: 280px;
    max-height: none;
    overflow: visible;
    padding: 6px 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.studio-header-nav-wrap .dropdown-stories:hover > .dropdown-content,
.studio-header-nav-wrap .dropdown-stories:focus-within > .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.studio-header-nav-wrap .dropdown-stories > .menu-link {
    cursor: default;
}

.studio-header-nav-wrap .dropdown-stories::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 100%;
    width: 10px;
    height: calc(100% + 12px);
}

.studio-header-nav-wrap .dropdown-stories > .menu-link::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-top: 1px solid rgba(145, 220, 255, 0.78);
    border-right: 1px solid rgba(145, 220, 255, 0.78);
    transform: translateY(-1px) rotate(45deg);
    transition: transform .18s ease, opacity .18s ease;
    opacity: 0.8;
}

.studio-header-nav-wrap .dropdown-stories > .menu-link:hover::after,
.studio-header-nav-wrap .dropdown-stories > .menu-link:focus::after {
    transform: translate(2px, -1px) rotate(45deg);
    opacity: 1;
}

.studio-header-nav-wrap .dropdown-content a,
.studio-header-nav-wrap .dropdown-content .dropdown-empty {
    display: block;
    padding: 8px 0 8px 10px;
    color: rgba(232, 239, 255, 0.94);
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    border-left: none;
    text-shadow: 0 0 8px rgba(20, 57, 122, 0.28);
}

.studio-header-nav-wrap .dropdown-content a:hover,
.studio-header-nav-wrap .dropdown-content a:focus,
.studio-header-nav-wrap .dropdown-content a.active {
    background: transparent;
    color: #ffffff;
    transform: translateX(4px);
}

.studio-header-nav-wrap .menu-horizontal > .dropdown > a,
.studio-header-nav-wrap .menu-horizontal > .dropdown > a:visited {
    font-size: 10.5px;
    letter-spacing: 0.15em;
}

.contact-page,
.actualite-page,
.actualites-page,
.photos-page,
.commercants-page,
.content-container {
    position: relative;
    z-index: 5;
    margin-top: -44px;
}

.actualites-page,
.photos-page,
.commercants-page {
    width: min(1080px, calc(100% - 56px));
}

.actualite-page,
.contact-page,
.content-container {
    width: min(980px, calc(100% - 56px));
}

.actualites-head,
.photos-head,
.commercants-head {
    margin-bottom: 20px;
    padding: 24px 26px;
    text-align: left;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 249, 255, 0.97));
    border: 1px solid rgba(30, 46, 83, 0.12);
    box-shadow: 0 22px 46px rgba(17, 28, 57, 0.1);
}

.actualites-head h2,
.photos-head h2,
.commercants-head h2,
.content-container h1 {
    margin: 0 0 8px;
}

.actualites-head .muted,
.photos-head .muted,
.commercants-head .muted {
    margin: 0;
    max-width: none;
}

.content-container,
.contact-card,
.actualite-page-card,
.contact-sidebar-card,
.photos-filter form,
.photo-item,
.actualites-card,
.commercant-card,
.actualites-empty,
.commercants-empty,
.empty-state {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 249, 255, 0.97));
    border: 1px solid rgba(30, 46, 83, 0.12);
    box-shadow: 0 18px 40px rgba(17, 28, 57, 0.08);
}

.content-container,
.contact-card,
.actualite-page-card,
.contact-sidebar-card {
    border-radius: 16px;
}

.photo-item,
.actualites-card,
.commercant-card,
.photos-filter form,
.actualites-empty,
.commercants-empty,
.empty-state {
    border-radius: 14px;
}

.photos-filter {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.photos-filter form {
    justify-content: flex-start;
    gap: 12px;
}

@media (max-width: 980px) {
    .contact-page,
    .actualite-page,
    .actualites-page,
    .photos-page,
    .commercants-page,
    .content-container {
        width: calc(100% - 24px);
        margin-top: -20px;
    }

    .studio-header-nav-wrap .dropdown-content {
        position: static;
        left: auto;
        top: auto;
        min-width: 0;
        max-height: none;
        margin-top: 8px;
    }
}

/* =========================================================
   Theme Studio - uniformisation finale pages publiques
========================================================= */
body {
    background: linear-gradient(180deg, #eef3fb 0%, #f7f9fd 42%, #f4f7fc 100%);
    color: #1f2a3d;
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

.muted,
.actualite-date,
.actualite-date-updated,
.photo-page,
.photos-empty-subtext,
.contact-map-meta,
.commercant-desc,
.commercant-infos p,
.actualite-excerpt,
.photo-text {
    color: #61708c;
}

.content-container,
.actualite-page-card,
.actualites-head,
.photos-head,
.commercants-head,
.contact-card,
.contact-sidebar-card,
.actualites-card,
.photo-item,
.commercant-card,
.photos-filter form,
.actualites-empty,
.commercants-empty,
.empty-state {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 255, 0.97));
    border-color: rgba(51, 76, 129, 0.12);
    box-shadow: 0 20px 44px rgba(20, 34, 64, 0.08);
}

.content-container h1,
.content-container h2,
.content-container h3,
.actualite-page-card h1,
.actualite-page-card h2,
.actualites-head h1,
.actualites-head h2,
.photos-head h1,
.photos-head h2,
.commercants-head h1,
.commercants-head h2,
.actualite-body h2,
.actualite-body h3,
.commercant-body h2,
.commercant-body h3,
.contact-extra h2,
.site-footer-col h3,
.site-footer-brand h3 {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #16233a;
}

.content-container p,
.content-container li,
.actualite-content,
.actualite-excerpt,
.photo-text,
.commercant-desc,
.commercant-infos p,
.contact-card p,
.contact-sidebar-card p,
.actualite-body p {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
    color: #314056;
}

.photos-filter label,
.photos-filter select,
.btn-lire-suite,
.contact-map-meta a,
.content-container a,
.actualite-link,
.site-footer a {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

.photos-filter label {
    color: #22304a;
}

.photos-filter select {
    border-color: rgba(51, 76, 129, 0.18);
    background: #ffffff;
    color: #20304a;
}

.btn-lire-suite {
    border-color: rgba(76, 109, 184, 0.18);
    background: linear-gradient(180deg, #ffffff, #f2f6ff);
    color: #365fda;
}

.btn-lire-suite:hover {
    background: linear-gradient(180deg, #f7fbff, #eaf2ff);
}

.actualite-thumb,
.commercant-thumb,
.img-wrapper {
    background: linear-gradient(180deg, #eef4ff, #e6eefc);
}

.site-footer {
    background: linear-gradient(180deg, #101a2d 0%, #0a1120 100%);
    color: rgba(232, 240, 255, 0.92);
    border-top: 1px solid rgba(116, 161, 255, 0.16);
}

.site-footer a {
    color: #dbe8ff;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer-kicker {
    color: rgba(153, 193, 255, 0.72);
}

.site-footer-col p,
.site-footer-links,
.site-footer-social,
.site-footer-bottom {
    color: rgba(219, 232, 255, 0.82);
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(116, 161, 255, 0.18);
    border-radius: 14px;
    background: rgba(10, 17, 32, 0.9);
    box-shadow: 0 12px 30px rgba(7, 12, 24, 0.22);
    backdrop-filter: blur(8px);
    color: #eef4ff;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner-text {
    font-size: 13px;
    line-height: 1.45;
}

.cookie-banner-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.cookie-banner-text a {
    color: #8fd9ff;
    text-decoration: none;
}

.cookie-banner-text a:hover,
.cookie-banner-text a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-banner-btn {
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: #8fd9ff;
    color: #0a1120;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.cookie-banner-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #eef4ff;
    border: 1px solid rgba(143, 217, 255, 0.2);
}

.cookie-banner-btn:hover {
    background: #b4e8ff;
}

.cookie-banner-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.cookie-banner-btn:focus-visible,
.cookie-banner-text a:focus-visible {
    outline: 2px solid #8fd9ff;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(143, 217, 255, 0.18);
}

@media (max-width: 720px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-btn {
        width: 100%;
    }
}

/* =========================================================
   Theme Studio - contact / footer / actualites cleanup
========================================================= */
.contact-card,
.contact-panel,
.contact-item,
.contact-map-block,
.contact-social-block {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 255, 0.97));
    border-color: rgba(51, 76, 129, 0.12);
    box-shadow: 0 18px 40px rgba(20, 34, 64, 0.08);
}

.contact-head h1,
.contact-head h2,
.contact-panel h2,
.contact-map-block h3,
.contact-social-block h3,
.contact-extra h2 {
    color: #16233a;
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-lead,
.contact-panel-intro,
.contact-item p,
.contact-item a,
.contact-map-meta,
.contact-extra .cms-content,
.contact-extra .cms-content p,
.contact-extra .cms-content li {
    color: #314056;
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

.contact-item strong,
.contact-field label {
    color: #1f2a3d;
}

.contact-item a,
.contact-map-meta a {
    color: #3e68e1;
    border-bottom-color: rgba(62, 104, 225, 0.22);
}

.contact-item a:hover,
.contact-map-meta a:hover {
    color: #274fc0;
    border-bottom-color: rgba(39, 79, 192, 0.34);
}

.contact-field input,
.contact-field textarea {
    border-color: rgba(51, 76, 129, 0.18);
    background: rgba(255, 255, 255, 0.98);
    color: #1f2a3d;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: rgba(62, 104, 225, 0.4);
    box-shadow: 0 0 0 3px rgba(62, 104, 225, 0.08);
}

.contact-submit {
    background: linear-gradient(135deg, #4168df, #68a4ff);
    color: #ffffff;
}

.contact-submit:hover {
    filter: brightness(1.05);
}

.actualites-head .muted,
.actualite-excerpt,
.actualite-meta,
.actualite-date,
.actualite-date-updated {
    color: #61708c;
}

.actualite-body h2 a,
.actualite-body h3 a {
    color: #16233a;
}

.actualite-body h2 a:hover,
.actualite-body h3 a:hover,
.actualite-link:hover {
    color: #274fc0;
}

.bloc-actualites-avelis .actualite-item {
    grid-template-columns: 126px minmax(0, 1fr);
    align-items: stretch;
}

.bloc-actualites-avelis .actualite-item-thumb {
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(233, 240, 255, 0.94), rgba(245, 248, 255, 0.98));
    border: 1px solid rgba(96, 129, 213, 0.12);
}

.bloc-actualites-avelis .actualite-item-thumb img {
    width: 100%;
    height: 100%;
    min-height: 118px;
    object-fit: cover;
    display: block;
}

.avelis-offres {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--studio-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 255, 0.96));
    box-shadow: 0 18px 42px rgba(20, 30, 63, 0.08);
}

.avelis-offres-head {
    margin-bottom: 16px;
}

.avelis-offres-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #4a62bf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.avelis-offres-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(97, 126, 214, 0.42);
}

.avelis-offres h3 {
    margin: 0 0 8px;
    color: #172345;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.avelis-offres-head p {
    margin: 0;
    max-width: 62ch;
    color: #415174;
    font-size: 14px;
    line-height: 1.68;
}

.avelis-offres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.avelis-offres-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(96, 129, 213, 0.12);
    background: rgba(248, 250, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.avelis-offres-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(145deg, #192654 0%, #32479e 100%);
    color: #f8fbff;
    box-shadow: 0 14px 28px rgba(27, 43, 92, 0.18);
}

.avelis-offres-visual span {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.avelis-offres-visual.has-image {
    overflow: hidden;
    background: #edf2ff;
}

.avelis-offres-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avelis-offres-body h4 {
    margin: 0 0 6px;
    color: #1b274b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.28;
}

.avelis-offres-body p {
    margin: 0;
    color: #4a597d;
    font-size: 13.5px;
    line-height: 1.66;
}

.avelis-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.avelis-badge,
.avelis-news-date {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.avelis-badge-kind {
    background: rgba(73, 98, 220, 0.1);
    color: #2943b6;
    border-color: rgba(73, 98, 220, 0.14);
}

.avelis-badge-status {
    background: rgba(15, 23, 42, 0.04);
    color: #475569;
    border-color: rgba(148, 163, 184, 0.22);
}

.avelis-badge-status.is-status-disponible {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.24);
    color: #15803d;
}

.avelis-badge-status.is-status-nouveau {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.24);
    color: #15803d;
}

.avelis-badge-status.is-status-bientot {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.26);
    color: #b45309;
}

.avelis-news-date {
    background: rgba(15, 23, 42, 0.05);
    color: #5d6f8f;
}

.avelis-catalog-page .photos-head {
    margin-bottom: 18px;
}

.avelis-catalog-filter {
    margin-bottom: 18px;
}

.avelis-catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.avelis-catalog-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.98));
    overflow: hidden;
}

.avelis-catalog-thumb {
    background: linear-gradient(180deg, rgba(233, 240, 255, 0.94), rgba(245, 248, 255, 0.98));
}

.avelis-catalog-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.avelis-catalog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.avelis-catalog-kind,
.avelis-catalog-state {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.avelis-catalog-kind {
    background: rgba(73, 98, 220, 0.1);
    color: #2943b6;
}

.avelis-catalog-state {
    background: rgba(15, 23, 42, 0.04);
    color: #475569;
    border-color: rgba(148, 163, 184, 0.22);
}

.avelis-catalog-state.is-active {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.24);
    color: #15803d;
}

.avelis-catalog-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.2;
    color: #0f172a;
}

@media (max-width: 980px) {
    .bloc-actualites-avelis .actualite-item,
    .bloc-actualites-avelis .actualite-item.no-image {
        grid-template-columns: 1fr;
    }

    .bloc-actualites-avelis .actualite-item-thumb img {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .avelis-offres {
        padding: 16px;
    }

    .avelis-offres-card {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 13px;
    }

    .avelis-offres-visual {
        width: 52px;
        height: 52px;
    }
}

.site-footer-brand h3,
.site-footer-col h3 {
    color: #f4f8ff;
    text-shadow: 0 0 18px rgba(99, 148, 255, 0.14);
}

.site-footer-brand,
.site-footer-col {
    color: rgba(224, 235, 255, 0.9);
}

/* =========================================================
   Theme Studio - rendu verrouille / gabarit unifie
========================================================= */
:root {
    --studio-shell-width: min(1140px, calc(100% - 58px));
    --studio-shell-width-tablet: calc(100% - 26px);
    --studio-page-overlap: -44px;
    --studio-page-overlap-tablet: -20px;
    --studio-block-radius: 12px;
    --studio-card-radius: 10px;
    --studio-block-padding-y: 24px;
    --studio-block-padding-x: 26px;
    --studio-home-main-fr: 1.58fr;
    --studio-home-side-width: 262px;
    --studio-home-gap: 14px;
}

.container.home-page {
    width: auto;
    max-width: none;
}

.home-layout,
.photos-page,
.actualites-page,
.commercants-page,
.contact-page,
.actualite-page,
.content-container,
.site-footer-inner,
.site-footer-bottom {
    width: var(--studio-shell-width);
}

.home-layout {
    max-width: var(--studio-shell-width);
    grid-template-columns: minmax(0, var(--studio-home-main-fr)) var(--studio-home-side-width);
    gap: var(--studio-home-gap);
}

.home-layout--single {
    grid-template-columns: minmax(0, 1fr);
}

.avelis-showcase-page {
    display: grid;
    gap: 18px;
}

.avelis-showcase-hero,
.avelis-showcase-grid,
.avelis-showcase-split {
    display: grid;
    gap: 16px;
}

.avelis-showcase-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr);
    align-items: stretch;
}

.avelis-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.avelis-showcase-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.avelis-showcase-card,
.avelis-showcase-panel {
    border-radius: 12px;
    border: 1px solid rgba(146, 166, 214, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.96));
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
    padding: 24px 26px;
}

.avelis-showcase-panel {
    background: linear-gradient(180deg, rgba(14, 22, 44, 0.96), rgba(12, 18, 35, 0.98));
    color: #dbe8ff;
    border-color: rgba(110, 139, 214, 0.18);
}

.avelis-showcase-panel h2 {
    color: #f8fbff;
}

.avelis-showcase-kicker {
    margin-bottom: 10px;
    color: #5d7be0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.avelis-showcase-page h1 {
    margin: 0 0 12px;
}

.avelis-showcase-page h2 {
    margin: 0 0 10px;
}

.avelis-showcase-page p,
.avelis-showcase-page li,
.avelis-showcase-list-item p {
    color: #334155;
}

.avelis-showcase-panel p,
.avelis-showcase-panel li {
    color: rgba(236, 244, 255, 0.96);
}

.avelis-showcase-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.avelis-showcase-list {
    display: grid;
    gap: 10px;
}

.avelis-showcase-list-item {
    padding: 14px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.avelis-showcase-list-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.avelis-showcase-list-item strong,
.avelis-showcase-list-item span {
    display: block;
}

.avelis-showcase-list-item span {
    margin-top: 3px;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.photos-page,
.actualites-page,
.commercants-page,
.contact-page,
.actualite-page,
.content-container {
    margin-left: auto;
    margin-right: auto;
}

.photos-page,
.actualites-page,
.commercants-page,
.contact-page,
.actualite-page {
    margin-top: var(--studio-page-overlap);
}

.photos-head,
.actualites-head,
.commercants-head,
.contact-head,
.actualite-page-card,
.contact-card,
.content-container {
    border-radius: var(--studio-block-radius);
}

.contact-head,
.actualites-head,
.photos-head,
.commercants-head,
.actualite-page-card,
.contact-card,
.content-container {
    padding: var(--studio-block-padding-y) var(--studio-block-padding-x);
}

.photo-item,
.actualites-card,
.commercant-card,
.photos-filter form,
.actualites-empty,
.commercants-empty,
.empty-state,
.contact-panel,
.contact-item,
.contact-map-block,
.contact-social-block,
.contact-notice {
    border-radius: var(--studio-card-radius);
}

.photos-page,
.actualites-page,
.commercants-page,
.contact-page,
.actualite-page,
.content-container {
    max-width: none;
}

@media (max-width: 980px) {
    .home-layout,
    .photos-page,
    .actualites-page,
    .commercants-page,
    .contact-page,
    .actualite-page,
    .content-container,
    .site-footer-inner,
    .site-footer-bottom {
        width: var(--studio-shell-width-tablet);
    }

    .container.home-page {
        width: auto;
        max-width: none;
    }

    .photos-page,
    .actualites-page,
    .commercants-page,
    .contact-page,
    .actualite-page,
    .content-container {
        margin-top: var(--studio-page-overlap-tablet);
    }

    .home-layout {
        max-width: var(--studio-shell-width-tablet);
    }

    .avelis-showcase-hero,
    .avelis-showcase-grid,
    .avelis-showcase-split {
        grid-template-columns: 1fr;
    }
}

.avelis-catalogue-page .photos-head {
    margin-bottom: 18px;
}

.avelis-catalogue-head {
    display: grid;
    gap: 14px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 255, 0.98)),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 34%);
}

.avelis-catalogue-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.10);
    border: 1px solid rgba(56, 189, 248, 0.22);
    color: #0f4c81;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.avelis-catalogue-head h2 {
    margin: 0;
    max-width: 18ch;
}

.avelis-catalogue-lead {
    max-width: 700px;
    margin: 0;
    color: #52606d;
    line-height: 1.74;
    font-size: 15px;
}

.avelis-catalogue-sublead {
    max-width: 680px;
    margin: -2px 0 0;
    color: #6b7a90;
    line-height: 1.65;
    font-size: 13.5px;
}

.avelis-catalogue-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 251, 255, 0.78));
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.avelis-catalogue-filter-label {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.avelis-catalogue-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.avelis-catalogue-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.avelis-catalogue-filter-chip:hover,
.avelis-catalogue-filter-chip:focus {
    color: #0f4c81;
    border-color: rgba(56, 189, 248, 0.30);
    background: rgba(240, 249, 255, 0.98);
    text-decoration: none;
    transform: translateY(-1px);
}

.avelis-catalogue-filter-chip.is-active {
    color: #0f4c81;
    border-color: rgba(56, 189, 248, 0.32);
    background: rgba(224, 242, 254, 0.96);
}

.avelis-catalogue-grid {
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.avelis-catalogue-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.98));
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    outline: none;
}

.avelis-catalogue-card:hover,
.avelis-catalogue-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(96, 129, 213, 0.24);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.avelis-catalogue-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.38);
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.09),
        0 0 0 3px rgba(56, 189, 248, 0.12);
}

.avelis-catalogue-thumb {
    position: relative;
    background: linear-gradient(180deg, rgba(233, 240, 255, 0.94), rgba(245, 248, 255, 0.98));
}

.avelis-catalogue-thumb img,
.avelis-catalogue-thumb-placeholder {
    width: 100%;
    height: 180px;
}

.avelis-catalogue-thumb img {
    object-fit: cover;
    display: block;
    transition: transform .28s ease, filter .28s ease;
}

.avelis-catalogue-thumb::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: rgba(148, 163, 184, 0.18);
}

.avelis-catalogue-thumb.is-placeholder {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(37, 99, 235, 0.92));
}

.avelis-catalogue-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Oxanium', 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform .28s ease, opacity .28s ease;
}

.avelis-catalogue-card:hover .avelis-catalogue-thumb img,
.avelis-catalogue-card:focus-visible .avelis-catalogue-thumb img {
    transform: scale(1.03);
    filter: saturate(1.03);
}

.avelis-catalogue-card:hover .avelis-catalogue-thumb-placeholder,
.avelis-catalogue-card:focus-visible .avelis-catalogue-thumb-placeholder {
    transform: scale(1.02);
}

.avelis-catalogue-body {
    display: grid;
    gap: 10px;
    align-content: start;
    flex: 1 1 auto;
    padding: 18px 18px 17px;
}

.avelis-catalogue-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 2px;
}

.avelis-catalogue-kind,
.avelis-catalogue-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.avelis-catalogue-status.status-disponible {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.22);
    color: #15803d;
}

.avelis-catalogue-status.status-nouveau {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.22);
    color: #15803d;
}

.avelis-catalogue-status.status-bientot {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.22);
    color: #b45309;
}

.avelis-catalogue-title {
    margin: 0;
    font-size: 19px;
    line-height: 1.24;
    color: #0f172a;
    letter-spacing: -0.015em;
    transition: color .22s ease;
}

.avelis-catalogue-card:hover .avelis-catalogue-title,
.avelis-catalogue-card:focus-visible .avelis-catalogue-title {
    color: #17315f;
}

.avelis-catalogue-resume {
    margin: 0;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.58;
}

.avelis-catalogue-description {
    margin: 0;
    color: #52606d;
    line-height: 1.68;
}

.avelis-catalogue-facts {
    display: grid;
    gap: 7px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.avelis-catalogue-next {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(96, 129, 213, 0.14);
    background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(241, 246, 255, 0.94));
    box-shadow: 0 14px 30px rgba(20, 30, 63, 0.06);
}

.avelis-catalogue-next p {
    margin: 0;
    max-width: 62ch;
    color: #415174;
    font-size: 14px;
    line-height: 1.7;
}

.avelis-catalogue-next-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, #101a3a 0%, #1e2b63 100%);
    color: #f7fbff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 26px rgba(15, 23, 52, 0.14);
    transition: transform .18s ease, box-shadow .18s ease;
}

.avelis-catalogue-next-link:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(15, 23, 52, 0.18);
}

.avelis-catalogue-fact {
    margin: 0;
    color: #405166;
    font-size: 12.5px;
    line-height: 1.58;
    transition: color .22s ease, transform .22s ease;
}

.avelis-catalogue-card:hover .avelis-catalogue-fact,
.avelis-catalogue-card:focus-visible .avelis-catalogue-fact {
    color: #31445f;
}

.avelis-catalogue-card:hover .avelis-catalogue-facts,
.avelis-catalogue-card:focus-visible .avelis-catalogue-facts {
    border-top-color: rgba(96, 129, 213, 0.18);
}

@media (max-width: 980px) {
    .avelis-catalogue-head h2 {
        max-width: 24ch;
    }

    .avelis-catalogue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 720px) {
    .avelis-catalogue-toolbar {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .avelis-catalogue-filters {
        width: 100%;
    }

    .avelis-catalogue-filter-chip {
        min-height: 32px;
        padding: 0 12px;
    }

    .avelis-catalogue-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .avelis-catalogue-thumb img,
    .avelis-catalogue-thumb-placeholder {
        height: 168px;
    }

    .avelis-catalogue-body {
        padding: 16px 15px 15px;
        gap: 9px;
    }

    .avelis-catalogue-title {
        font-size: 18px;
    }

    .avelis-catalogue-lead {
        font-size: 14px;
    }

    .avelis-catalogue-sublead {
        font-size: 13px;
    }

    .avelis-catalogue-facts {
        gap: 6px;
        padding-top: 10px;
    }

    .avelis-catalogue-fact {
        font-size: 12px;
    }

    .avelis-catalogue-next {
        align-items: flex-start;
    }
}

.avelis-why {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--studio-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 255, 0.96));
    box-shadow: 0 18px 42px rgba(20, 30, 63, 0.08);
}

.avelis-why-head {
    margin-bottom: 14px;
}

.avelis-why h3 {
    margin: 0;
    color: #172345;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.avelis-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.avelis-why-card {
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(96, 129, 213, 0.12);
    background: rgba(249, 251, 255, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.avelis-why-card h4 {
    margin: 0 0 8px;
    color: #1b274b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.28;
}

.avelis-why-card p {
    margin: 0;
    color: #4a597d;
    font-size: 13.5px;
    line-height: 1.66;
}

@media (max-width: 720px) {
    .avelis-why {
        padding: 16px;
    }
}
.studio-header-nav-wrap .menu-horizontal.menu-sales-header {
    margin: 0;
    padding: 0;
    min-height: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.studio-header-nav-wrap .menu-horizontal.menu-sales-header::before,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header::after,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header .menu-track-indicator,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header .menu-outline-sweep,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header .dropdown::after {
    display: none !important;
    content: none !important;
}

.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown {
    position: relative;
}

.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
    padding: 1px 0;
    background: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    color: rgba(244, 249, 255, 0.92);
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    transition: color .18s ease, text-shadow .18s ease, opacity .18s ease;
}

.home-center-btn,
.studio-header .hero-subtitle,
.studio-header-nav-wrap .menu-horizontal > .dropdown > a,
.studio-header-nav-wrap .menu-horizontal > .dropdown > a:visited,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link:visited {
    font-family: 'Inter', sans-serif;
}

.studio-header-nav-wrap .menu-horizontal.menu-sales-header .menu-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #52d7ff;
    flex: 0 0 auto;
    transition: color .18s ease, filter .18s ease, opacity .18s ease;
}

.studio-header-nav-wrap .menu-horizontal.menu-sales-header .menu-icon svg {
    width: 28px;
    height: 28px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link:hover,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link:focus,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link.active {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(82, 215, 255, 0.20);
    text-decoration: none;
}

.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link:hover .menu-icon,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link:focus .menu-icon,
.studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link.active .menu-icon {
    color: #7fe6ff;
    filter: drop-shadow(0 0 6px rgba(82, 215, 255, 0.28));
}

.studio-header-floaters {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.studio-floater {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(92, 220, 255, 0.9);
    opacity: 0.58;
    filter: drop-shadow(0 0 16px rgba(76, 206, 255, 0.22));
    animation: studioFloaterDrift 11s ease-in-out infinite;
}

.studio-floater svg {
    width: 100%;
    height: 100%;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.studio-floater-panel {
    top: 14%;
    right: 8%;
    width: 64px;
    height: 64px;
    color: rgba(86, 224, 255, 0.92);
    opacity: 0.62;
    animation-delay: -2s;
}

.studio-floater-grid {
    top: 44%;
    right: 5%;
    width: 48px;
    height: 48px;
    color: rgba(58, 176, 255, 0.78);
    opacity: 0.48;
    animation-delay: -5s;
}

.studio-floater-code {
    top: 60%;
    right: 18%;
    width: auto;
    height: auto;
    color: rgba(255, 78, 106, 0.86);
    opacity: 0.72;
    filter: drop-shadow(0 0 8px rgba(255, 72, 96, 0.34)) drop-shadow(0 0 18px rgba(255, 38, 82, 0.28)) drop-shadow(0 0 30px rgba(255, 24, 72, 0.18));
    animation-delay: -8s;
}

.studio-floater-codeword {
    display: inline-flex;
    align-items: center;
    font-family: "Oxanium", "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

.studio-code-typing {
    display: inline-block;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    animation: studioCodeTyping 12s steps(6, end) infinite;
}

.studio-code-caret {
    display: inline-block;
    width: 2px;
    height: 0.95em;
    margin-left: 2px;
    background: currentColor;
    border-radius: 999px;
    box-shadow: 0 0 10px currentColor;
    animation: studioCodeCaretBlink 0.9s steps(1, end) infinite;
}

.studio-floater-module {
    top: 28%;
    right: 31%;
    width: 50px;
    height: 50px;
    color: rgba(35, 198, 255, 0.86);
    opacity: 0.46;
    animation-delay: -3.5s;
}

.studio-floater-orbit {
    top: 28%;
    left: 43%;
    right: auto;
    width: 44px;
    height: 44px;
    color: rgba(64, 255, 148, 0.92);
    opacity: 0.58;
    filter: drop-shadow(0 0 10px rgba(64, 255, 148, 0.28)) drop-shadow(0 0 22px rgba(36, 255, 132, 0.22));
    animation-delay: -6.5s;
}

@keyframes studioFloaterDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@keyframes studioCodeTyping {
    0%, 8% {
        width: 0;
    }
    16%, 92% {
        width: 6.2ch;
    }
    100% {
        width: 0;
    }
}

@keyframes studioCodeCaretBlink {
    0%, 48% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .studio-header-utility {
        position: static;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }

    .studio-header-quicklink {
        min-height: 32px;
        padding: 0 11px;
        font-size: 10px;
        letter-spacing: 0.06em;
    }

    .studio-header-nav-wrap .menu-horizontal.menu-sales-header {
        gap: 8px;
    }

    .studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link,
    .studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link:visited {
        font-size: 9.8px;
        letter-spacing: 0.13em;
    }

    .studio-floater-panel {
        right: 7%;
        width: 52px;
        height: 52px;
    }

    .studio-floater-grid {
        right: 3%;
        width: 40px;
        height: 40px;
    }

    .studio-floater-code {
        right: 14%;
    }

    .studio-floater-codeword {
        font-size: 18px;
    }

    .studio-code-caret {
        height: 0.9em;
    }

    .studio-floater-module {
        right: 24%;
        width: 42px;
        height: 42px;
    }

    .studio-floater-orbit {
        top: 28%;
        left: 40%;
        right: auto;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 720px) {
    .studio-header-utility {
        width: 100%;
        gap: 8px;
    }

    .studio-header-quicklink {
        min-height: 30px;
        padding: 0 10px;
        font-size: 9.5px;
    }

    .studio-header-nav-wrap .menu-horizontal.menu-sales-header {
        gap: 7px;
    }

    .studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link,
    .studio-header-nav-wrap .menu-horizontal.menu-sales-header > .dropdown > .menu-link:visited {
        font-size: 9px;
        letter-spacing: 0.1em;
        gap: 6px;
    }

    .studio-header-nav-wrap .menu-horizontal.menu-sales-header .menu-icon,
    .studio-header-nav-wrap .menu-horizontal.menu-sales-header .menu-icon svg {
        width: 24px;
        height: 24px;
    }

    .studio-header-floaters {
        opacity: 0.82;
    }

    .studio-floater-panel {
        top: 18%;
        right: 5%;
        width: 38px;
        height: 38px;
    }

    .studio-floater-grid {
        top: 36%;
        right: 2%;
        width: 30px;
        height: 30px;
    }

    .studio-floater-code {
        top: 52%;
        right: 10%;
    }

    .studio-floater-codeword {
        font-size: 14px;
    }

    .studio-code-caret {
        height: 0.86em;
    }

    .studio-floater-module {
        top: 27%;
        right: 21%;
        width: 28px;
        height: 28px;
    }

    .studio-floater-orbit {
        top: 27%;
        left: 37%;
        right: auto;
        width: 25px;
        height: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .studio-floater {
        animation: none;
        transform: none;
    }

    .studio-code-typing {
        width: 6.2ch;
        animation: none;
    }

    .studio-code-caret {
        animation: none;
        opacity: 0.7;
    }
}
