.rouchy-map-placeholder {
    position: relative;
    display: flex;
    min-height: 300px;
    aspect-ratio: 16 / 9;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid rgba(33, 41, 80, .14);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(0, 177, 255, .09), transparent 48%),
        repeating-linear-gradient(45deg, rgba(33, 41, 80, .035) 0 1px, transparent 1px 28px),
        #f5f8fb;
    color: #212950;
    text-align: center;
}

.rouchy-map-placeholder::before,
.rouchy-map-placeholder::after {
    position: absolute;
    z-index: 0;
    width: 42%;
    height: 2px;
    background: rgba(0, 177, 255, .22);
    content: "";
    transform: rotate(-28deg);
    pointer-events: none;
}

.rouchy-map-placeholder::before { top: 34%; left: -8%; }
.rouchy-map-placeholder::after { right: -8%; bottom: 27%; transform: rotate(24deg); }

.rouchy-map-placeholder > :not(iframe) {
    position: relative;
    z-index: 1;
}

.rouchy-map-placeholder__mark {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(0, 177, 255, .3);
    border-radius: 50%;
    background: #fff;
    color: #00b1ff;
}

.rouchy-map-placeholder__mark svg { width: 28px; height: 28px; fill: currentColor; }

.rouchy-map-placeholder__eyebrow {
    margin: 0;
    color: #00a2ea;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.rouchy-map-placeholder__message {
    max-width: 38rem;
    margin: 0;
    color: #212950;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.55;
}

.rouchy-map-placeholder__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.rouchy-map-placeholder__load,
.rouchy-map-placeholder__directions {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 2px solid #212950;
    border-radius: 7px;
    padding: 10px 18px;
    background: #212950;
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.rouchy-map-placeholder__directions {
    border-color: rgba(33, 41, 80, .32);
    background: #fff;
    color: #212950;
}

.rouchy-map-placeholder__load:hover,
.rouchy-map-placeholder__load:focus-visible { border-color: #00b1ff; background: #00b1ff; color: #10213a; }
.rouchy-map-placeholder__directions:hover,
.rouchy-map-placeholder__directions:focus-visible { border-color: #00b1ff; color: #006ba5; }
.rouchy-map-placeholder__load:focus-visible,
.rouchy-map-placeholder__directions:focus-visible { outline: 3px solid #00b1ff; outline-offset: 3px; }

.rouchy-map-placeholder.is-loaded {
    display: block;
    min-height: 300px;
    padding: 0;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 14px;
    background: transparent;
}

.rouchy-map-placeholder__iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
    border-radius: inherit;
}

@media (max-width: 600px) {
    .rouchy-map-placeholder,
    .rouchy-map-placeholder.is-loaded { min-height: 260px; }
    .rouchy-map-placeholder { border-radius: 10px; padding: 24px 18px; }
    .rouchy-map-placeholder__actions { width: 100%; }
    .rouchy-map-placeholder__load,
    .rouchy-map-placeholder__directions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .rouchy-map-placeholder__load,
    .rouchy-map-placeholder__directions { transition: none; }
}

/* Le film décoratif conserve son cadrage et reste absent avant accord. */
.rouchy-hero-media{position:absolute;inset:0;overflow:hidden;pointer-events:none;}
.rouchy-hero-media iframe{position:absolute;top:50%;left:50%;width:max(100vw,177.78vh);height:max(56.25vw,100vh);transform:translate(-50%,-50%);border:0;pointer-events:none;max-width:none;}
.elementor-widget-google_maps .rouchy-map-placeholder.is-loaded iframe{position:absolute;inset:0;width:100%;height:100%!important;min-height:0;border:0;}
.elementor .elementor-widget-html .rouchy-hero-media iframe{width:max(100vw,177.78vh)!important;height:max(56.25vw,100vh)!important;max-width:none!important;}
