/* AMG Sport Garage - Global Styles */

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Selection de texte */
::selection {
    background: #c3c3c3;
    color: #121212;
}

::-moz-selection {
    background: #c3c3c3;
    color: #121212;
}

/* Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #9a9a9a #ececec;
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: #ececec;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a8a8a8 0%, #8d8d8d 100%);
    border-radius: 999px;
    border: 2px solid #ececec;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #969696 0%, #7e7e7e 100%);
}

/* Header — transparent par défaut, blanc au scroll ou sur ancre */
.amg-header {
    background: transparent;
    border-bottom: 1px solid transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Sur les pages non-home : navbar toujours blanche, jamais transparente */
body:not(.home) .amg-header {
    background: var(--amg-blanc);
    border-bottom-color: #ececeb;
    box-shadow: 0 2px 14px rgba(10, 10, 10, 0.08);
}

.amg-navbar .container {
    max-width: 1360px;
}

/* Blanc quand scrollé */
.amg-header.is-scrolled {
    background: var(--amg-blanc);
    border-bottom-color: #ececeb;
    box-shadow: 0 2px 14px rgba(10, 10, 10, 0.08);
}

/* Blanc + grande taille + couleurs sombres à l'arrivée via ancre */
.amg-header.is-anchored {
    background: var(--amg-blanc);
    border-bottom-color: #ececeb;
    box-shadow: 0 2px 14px rgba(10, 10, 10, 0.08);
}

.amg-header.is-anchored .amg-navbar__content {
    min-height: 118px;
}

.amg-header.is-anchored .amg-logo a {
    height: 104px;
}

/* Logo en couleur (non-inversé) */
.amg-header.is-anchored .amg-logo__image {
    filter: none;
}

/* Burger sombre */
.amg-header.is-anchored .amg-burger {
    color: var(--amg-noir);
}

/* Divider sombre */
.amg-header.is-anchored .amg-navbar__divider {
    background: #c8c8c8;
}

/* Méta texte sombre */
.amg-header.is-anchored .amg-navbar__meta {
    color: #3d4148;
}

.amg-header.is-anchored .amg-navbar__meta strong {
    color: #1b1e24;
}

/* Icônes sombres */
.amg-header.is-anchored .amg-navbar__icon {
    border-color: #e0e1e2;
    background: #f6f6f6;
    color: #3f434a;
}

.amg-navbar .container {
    max-width: 1480px;
    padding-left: clamp(2.8rem, 4vw, 5rem);
    padding-right: clamp(2.8rem, 4vw, 5rem);
}

.amg-header:not(.is-scrolled):not(.is-anchored) .amg-navbar__content {
    min-height: 118px;
}

.amg-header:not(.is-scrolled):not(.is-anchored) .amg-logo a {
    height: 104px;
}

body.home .amg-header.is-scrolled .amg-navbar__content {
    min-height: 92px;
}

body.home .amg-header.is-scrolled .amg-logo a {
    height: 86px;
}


.amg-navbar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 96px;
    gap: 2rem;
}

.amg-navbar__left,
.amg-navbar__right {
    display: inline-flex;
    align-items: center;
}

.amg-navbar__left {
    gap: 1.05rem;
}

.amg-navbar__divider {
    width: 1px;
    height: 70px;
    background: #c8c8c8;
    opacity: 0.9;
}

.amg-logo {
    display: inline-flex;
    align-items: center;
    align-self: center;
}

.amg-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 86px;
    padding: 6px 0;
    box-sizing: border-box;
    font-family: var(--amg-font-titre);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amg-noir);
}

.amg-logo__image {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: none;
    transition: filter 0.25s ease;
}

body.home .amg-logo__image {
    filter: brightness(0) invert(1);
}

body.home .amg-header.is-scrolled .amg-logo__image {
    filter: none;
}

.amg-menu {
    margin-left: auto;
}

.amg-navbar__right {
    gap: 0.75rem;
}

.amg-navbar__meta {
    margin: 0;
    text-align: right;
    font-family: var(--amg-font-texte);
    font-size: 0.72rem;
    line-height: 1.3;
    color: #3d4148;
    min-width: 170px;
}

.amg-navbar__meta strong {
    font-size: 0.78rem;
    color: #1b1e24;
    font-weight: 600;
}

.amg-navbar__icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #e0e1e2;
    background: #f6f6f6;
    color: #3f434a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--amg-transition);
}

.amg-navbar__icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.amg-navbar__icon:hover {
    background: #ececec;
    color: #16181d;
}

.amg-menu__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.amg-menu__list a {
    color: var(--amg-noir);
    font-family: var(--amg-font-titre);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    line-height: 1;
    padding: 0.2rem 0;
    transition: var(--amg-transition);
}

.amg-menu__list a:hover {
    color: #2d2d2d;
}

.amg-burger {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    width: 48px;
    height: 48px;
    padding: 0 11px;
    margin-left: 0;
    border: none;
    background: transparent;
    color: var(--amg-noir);
    cursor: pointer;
    z-index: 1201;
    box-sizing: border-box;
}

.amg-burger__bar {
    display: block;
    width: 26px;
    height: 1.5px;
    background: currentColor;
    transition: transform  0.4s cubic-bezier(0.23, 1, 0.32, 1),
                width      0.3s cubic-bezier(0.23, 1, 0.32, 1),
                background 0.2s ease;
}

/* Hover : les 2 barres s'écartent latéralement */
.amg-burger:hover .amg-burger__bar:nth-child(1) {
    transform: translateX(4px);
}
.amg-burger:hover .amg-burger__bar:nth-child(2) {
    transform: translateX(-4px);
}

/* État ouvert → grande croix (30px) */
/* gap 8px + bar 1.5px : distance entre centres = 9.5px → chaque barre bouge de 4.75px */
.amg-burger.is-open .amg-burger__bar:nth-child(1) {
    width: 30px;
    transform: translateY(4.75px) rotate(45deg);
}
.amg-burger.is-open .amg-burger__bar:nth-child(2) {
    width: 30px;
    transform: translateY(-4.75px) rotate(-45deg);
}

/* Le hover ne doit pas interférer avec la croix */
.amg-burger.is-open:hover .amg-burger__bar:nth-child(1) {
    transform: translateY(4.75px) rotate(45deg);
}
.amg-burger.is-open:hover .amg-burger__bar:nth-child(2) {
    transform: translateY(-4.75px) rotate(-45deg);
}

body.home .amg-burger {
    color: var(--amg-blanc);
}

body.home .amg-header:not(.is-scrolled) .amg-navbar__divider {
    background: rgba(255, 255, 255, 0.7);
}

body.home .amg-header:not(.is-scrolled) .amg-navbar__meta {
    color: rgba(255, 255, 255, 0.82);
}

body.home .amg-header:not(.is-scrolled) .amg-navbar__meta strong {
    color: #ffffff;
}

body.home .amg-header:not(.is-scrolled) .amg-navbar__icon {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

body.home .amg-header:not(.is-scrolled) .amg-navbar__icon:hover {
    background: rgba(255, 255, 255, 0.24);
}

body.home .amg-header.is-scrolled .amg-burger,
body.home .amg-header.is-anchored .amg-burger {
    color: var(--amg-noir);
}

body.home .amg-header.is-anchored .amg-navbar__right {
    color: var(--amg-noir);
}

body.home .amg-header.is-anchored .amg-navbar__divider {
    background: #c8c8c8;
}

body.home .amg-header.is-anchored .amg-navbar__meta {
    color: #3d4148;
}

body.home .amg-header.is-anchored .amg-navbar__meta strong {
    color: #1b1e24;
}

body.home .amg-header.is-anchored .amg-navbar__icon {
    border-color: #e0e1e2;
    background: #f6f6f6;
    color: #3f434a;
}

.amg-menu--overlay {
    position: fixed;
    inset: 0;
    background: #08090d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1200;
    margin: 0;
    padding: 0 2rem;
}

.amg-menu--overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Liste */
.amg-menu--overlay .amg-menu__list {
    flex-direction: column;
    gap: 0;
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Chaque item : conteneur pour clip + slide */
.amg-menu--overlay .amg-menu__list li {
    overflow: hidden;
    padding: 0.15rem 0;
}

/* Liens grands */
.amg-menu--overlay .amg-menu__list a {
    display: block;
    color: var(--amg-blanc);
    font-family: var(--amg-font-titre);
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    text-transform: uppercase;
    transform: translateY(110%);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.22s ease;
}

/* Révélation en cascade à l'ouverture */
.amg-menu--overlay.active .amg-menu__list li:nth-child(1) a { transform: translateY(0); transition-delay: 0.06s; }
.amg-menu--overlay.active .amg-menu__list li:nth-child(2) a { transform: translateY(0); transition-delay: 0.12s; }
.amg-menu--overlay.active .amg-menu__list li:nth-child(3) a { transform: translateY(0); transition-delay: 0.18s; }
.amg-menu--overlay.active .amg-menu__list li:nth-child(4) a { transform: translateY(0); transition-delay: 0.24s; }
.amg-menu--overlay.active .amg-menu__list li:nth-child(5) a { transform: translateY(0); transition-delay: 0.30s; }

.amg-menu--overlay .amg-menu__list a:hover {
    color: var(--amg-or);
}

/* Pied du menu — numéro de téléphone */
.amg-menu__bottom {
    margin-top: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease 0.38s, transform 0.4s ease 0.38s;
}

.amg-menu--overlay.active .amg-menu__bottom {
    opacity: 0.45;
    transform: translateY(0);
}

.amg-menu__tel {
    margin: 0;
    font-family: var(--amg-font-texte);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amg-blanc);
}

body.amg-menu-open {
    overflow: hidden;
}

/* ── Hero slider ─────────────────────────────────────────── */

.amg-hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.amg-hs__track {
    display: grid;
    min-height: 100vh;
}

.amg-hs__slide {
    grid-area: 1 / 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--amg-blanc);
    background-size: cover;
    background-position: 80% center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.amg-hs__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.amg-hs__overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
}

.amg-hs__content {
    position: relative;
    z-index: 1;
    width: min(660px, calc(100% - 2rem));
    max-width: none;
    margin: 0;
    margin-left: clamp(1rem, 8vw, 8rem);
    text-align: left;
    padding: 5.35rem 0 6rem;
}

.amg-hs__slide.is-merch .amg-hs__content {
    margin-left: auto;
    margin-right: clamp(1rem, 8vw, 8rem);
}

.amg-hero__kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--amg-or);
    margin-bottom: 0.85rem;
}

.amg-hs__slide h1 {
    font-family: var(--amg-font-titre);
    font-size: clamp(2rem, 5vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 1rem;
    max-width: 15ch;
}

.amg-hs__slide p {
    font-size: 1.08rem;
    color: #f0f0ee;
    max-width: 42ch;
    margin-bottom: 1.8rem;
}

/* T-shirt slide — price + size picker */
.amg-hs__price {
    font-family: var(--amg-font-titre);
    font-size: 1.8rem;
    color: var(--amg-or);
    margin: -0.4rem 0 1.2rem !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    max-width: none !important;
}

.amg-hs__sizes {
    margin-bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.amg-hs__sizes-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.72);
}

.amg-hs__sizes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amg-hs__size {
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.6rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
    backdrop-filter: blur(3px);
}

.amg-hs__size:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
}

.amg-hs__size.is-selected {
    background: var(--amg-or);
    border-color: var(--amg-or);
    color: var(--amg-noir);
    transform: scale(1.04);
}

.amg-hs__tshirt-cta.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

/* Dots */
.amg-hs__dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.amg-hs__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.amg-hs__dot.is-active {
    background: var(--amg-or);
    border-color: var(--amg-or);
    transform: scale(1.3);
}

/* Arrows */
.amg-hs__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.74);
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, opacity 0.2s, border-color 0.2s;
    backdrop-filter: blur(2px);
    opacity: 0.58;
}

.amg-hs__arrow:hover {
    background: rgba(0, 0, 0, 0.24);
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.34);
    opacity: 0.9;
}
.amg-hs__arrow--prev { left: 1.5rem; }
.amg-hs__arrow--next { right: 1.5rem; }

/* Legacy .amg-hero still used in header.php fallback if needed */
.amg-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--amg-blanc);
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: 80% center;
    background-repeat: no-repeat;
}

.amg-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.48) 45%, rgba(10, 10, 10, 0.2) 100%);
}

.amg-hero__content {
    position: relative;
    z-index: 1;
    width: min(660px, calc(100% - 2rem));
    max-width: none;
    margin: 0;
    margin-left: clamp(1rem, 8vw, 8rem);
    text-align: left;
    padding: 5.35rem 0 6rem;
}

.amg-hero h1 {
    font-family: var(--amg-font-titre);
    font-size: clamp(2rem, 5vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 1rem;
    max-width: 15ch;
}

.amg-hero p {
    font-size: 1.08rem;
    color: #f0f0ee;
    max-width: 42ch;
    margin-bottom: 1.8rem;
}

.amg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    border: 2px solid var(--amg-noir);
    background: var(--amg-noir);
    color: var(--amg-blanc);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.amg-btn:hover {
    background: var(--amg-blanc);
    color: var(--amg-noir);
}

.amg-listings {
    background:
        radial-gradient(900px 320px at 90% 0%, rgba(196, 168, 116, 0.13), transparent 60%),
        linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    color: var(--amg-noir);
    padding: calc(96px + clamp(2rem, 5vh, 3.5rem)) 0 clamp(4.7rem, 9vh, 6.8rem);
}

.amg-listings__container {
    width: 100%;
    max-width: none;
    padding-left: clamp(2rem, 4.3vw, 4.6rem);
    padding-right: clamp(2rem, 4.3vw, 4.6rem);
}

.amg-listings__head {
    max-width: 920px;
    margin-bottom: clamp(1.6rem, 3.4vh, 2.4rem);
}

.amg-listings__kicker {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #5a6069;
}

.amg-listings__title {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: clamp(2.3rem, 4.8vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.025em;
}

.amg-listings__intro {
    margin: 1rem 0 0;
    max-width: 66ch;
    color: #30353d;
}

.amg-listings__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
}

.amg-listings__filters span {
    border: 1px solid #dbdee3;
    background: #ffffff;
    color: #333944;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.46rem 0.76rem;
}

.amg-listings__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.5vw, 1.3rem);
}

.amg-listing-card {
    background: #ffffff;
    border: 1px solid #e6e7ea;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.amg-recent .amg-listing-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.62s ease, transform 0.62s ease, box-shadow 0.28s ease;
}

.amg-recent .amg-listing-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.amg-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(12, 15, 21, 0.11);
}

.amg-listing-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    background: #10131a;
}

.amg-listing-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.1) 0%, rgba(8, 10, 15, 0.42) 100%);
}

.amg-listing-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.amg-listing-card:hover .amg-listing-card__image {
    transform: scale(1.05);
}

.amg-listing-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.34rem 0.58rem;
    background: rgba(255, 255, 255, 0.9);
    color: #121822;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.amg-listing-card__content {
    padding: 1rem 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.amg-listing-card__subtitle {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6a707b;
}

.amg-listing-card__title {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: clamp(1.28rem, 1.8vw, 1.7rem);
    line-height: 1.03;
}

.amg-listing-card__meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.38rem 0.6rem;
    color: #2d333c;
    font-size: 0.86rem;
}

.amg-listing-card__footer {
    margin-top: 0.15rem;
    padding-top: 0.72rem;
    border-top: 1px solid #eceef1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.amg-listing-card__price {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: 1.02rem;
    font-weight: 700;
}

.amg-listing-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 34px;
    padding: 0 0.85rem;
    border: 1px solid #111;
    color: #111;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.amg-listing-card__link:hover {
    background: #111;
    color: #fff;
}

.amg-listings__cta-wrap {
    margin-top: clamp(1.7rem, 3.5vh, 2.4rem);
}

.amg-services {
    scroll-margin-top: 100px;
    background: #ffffff;
    color: var(--amg-noir);
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(3.825rem, calc(6.8vh + 10px), 6.025rem) 0 clamp(7.4rem, calc(10vh + 40px), 10.9rem);
}

.amg-services__container {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding-left: clamp(2rem, 4.6vw, 4.2rem);
    padding-right: clamp(2rem, 4.6vw, 4.2rem);
}

.amg-services__title {
    font-family: var(--amg-font-titre);
    font-size: clamp(2.45rem, 5.3vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: clamp(3.9rem, calc(4vh + 32px), 5rem);
    text-align: center;
}

.amg-services__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.4vw, 1.35rem);
    margin-top: clamp(1.35rem, calc(1.9vh + 8px), 1.95rem);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.amg-service-card {
    min-width: 0;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.62s ease, transform 0.62s ease;
}

.amg-service-card.is-revealing {
    opacity: 0.5;
    transform: translateY(12px);
}

.amg-service-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.amg-service-card__image-link {
    display: block;
    width: 100%;
    aspect-ratio: 0.82 / 1;
    overflow: hidden;
    background: #d8d8d8;
}

.amg-service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.amg-service-card__image-link:hover .amg-service-card__image {
    transform: scale(1.04);
}

.amg-service-card__title {
    font-family: var(--amg-font-titre);
    font-size: clamp(1.65rem, 2.2vw, 2.1rem);
    font-weight: 700;
    line-height: 1.02;
    margin: 0.72rem 0 0.28rem;
}

.amg-service-card__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.28;
    color: #2b2f33;
    max-width: 25ch;
}


.amg-contact {
    scroll-margin-top: 100px;
    background:
        radial-gradient(1200px 420px at 12% 0%, rgba(196, 168, 116, 0.12), transparent 60%),
        linear-gradient(180deg, #fbfbfa 0%, #f3f4f6 100%);
    color: var(--amg-noir);
    min-height: 88vh;
    padding: 0;
}

.amg-contact__container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.amg-contact__layout {
    display: grid;
    grid-template-columns: minmax(320px, 34vw) 1fr;
    min-height: 88vh;
    border-top: 1px solid #e3e4e8;
    border-bottom: 1px solid #e3e4e8;
}

.amg-contact__aside {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    padding: clamp(2rem, 4.2vw, 3.8rem) clamp(1.2rem, 2vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #e3e4e8;
}

.amg-contact__title {
    font-family: var(--amg-font-titre);
    font-size: clamp(2.35rem, 5vw, 4.1rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0 0 1.5rem;
}

.amg-contact__label {
    margin: 0 0 1.4rem;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #676d75;
}

.amg-contact__details {
    margin-top: 0;
    font-size: clamp(0.95rem, 1.1vw, 1.04rem);
    line-height: 1.55;
    color: #1d222b;
    max-width: 34ch;
}

.amg-contact__details p {
    margin: 0 0 0.45rem;
}

.amg-contact__details a {
    color: #1f242d;
    text-decoration: none;
    border-bottom: 1px solid rgba(31, 36, 45, 0.25);
}

.amg-contact__panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 100%;
}

.amg-contact__map {
    min-height: 100%;
    border-right: 1px solid #d2d5dc;
}

.amg-contact__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.amg-contact__form {
    background: linear-gradient(180deg, #111723 0%, #0a0f19 100%);
    color: #f2f4f7;
    padding: clamp(1.3rem, 2.1vw, 2.1rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.amg-contact__form label {
    display: block;
}

.amg-contact__form span {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #d3d7df;
    margin-bottom: 0.5rem;
}

.amg-contact__form input,
.amg-contact__form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(228, 232, 239, 0.35);
    background: transparent;
    color: #ffffff;
    padding: 0.45rem 0;
    font-size: 0.96rem;
    outline: none;
}

.amg-contact__form input:focus,
.amg-contact__form textarea:focus {
    border-bottom-color: var(--amg-or);
}

.amg-contact__submit {
    align-self: flex-start;
    margin-top: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(6, 10, 17, 0.65);
    color: #fff;
    padding: 0.82rem 2.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
}

.amg-contact__submit:hover {
    background: #141d2c;
}

.amg-contact__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.amg-contact__feedback {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    padding: 0.65rem 1rem;
}

.amg-contact__feedback--ok {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border-left: 3px solid #16a34a;
}

.amg-contact__feedback--error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-left: 3px solid #dc2626;
}

/* ════════════════════════════════════════════════════════
   PAGE DÉTAIL PRESTATION
   ════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────── */
/* ══════════════════════════════════════════════════════════
   Prestation détail — design simplifié
══════════════════════════════════════════════════════════ */

.pds-page {
    --pds-gold: var(--amg-or, #c4a874);
    --pds-noir: var(--amg-noir, #0d0e11);
}

/* ── Banner compact ──────────────────────────────────── */
.pds-banner {
    position: relative;
    height: 340px;
    display: flex;
    align-items: flex-end;
    background-image: var(--pds-img);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.pds-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 9, 13, 0.30) 0%,
        rgba(8, 9, 13, 0.80) 100%
    );
}

.pds-banner__inner {
    position: relative;
    z-index: 1;
    padding-top: calc(96px + 1.5rem);
    padding-bottom: 2.2rem;
}

/* ── Breadcrumb ──────────────────────────────────────── */
.pds-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.9rem;
    text-decoration: none;
}

.pds-breadcrumb a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}
.pds-breadcrumb a:hover { color: #fff; }
.pds-breadcrumb span { color: rgba(255,255,255,0.28); }

/* ── Kicker + titre ──────────────────────────────────── */
.pds-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--pds-gold);
}

.pds-title {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.025em;
}

/* ── Contenu principal ───────────────────────────────── */
.pds-content {
    background: #fff;
    padding: 3.5rem 0 5rem;
}

.pds-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.pds-intro {
    margin: 0 0 2.8rem;
    font-size: 1.08rem;
    line-height: 1.75;
    color: #4a4e58;
    border-left: 3px solid var(--pds-gold);
    padding-left: 1.25rem;
}

/* ── Points clés (ol) ────────────────────────────────── */
.pds-points {
    list-style: none;
    margin: 0 0 3rem;
    padding: 0;
    counter-reset: pds-counter;
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    overflow: hidden;
}

.pds-points li {
    counter-increment: pds-counter;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem 1.4rem;
    background: #fafaf8;
    font-size: 0.97rem;
    font-weight: 500;
    color: var(--pds-noir);
    border-bottom: 1px solid #ebebeb;
    transition: background 0.15s;
}

.pds-points li:last-child { border-bottom: none; }
.pds-points li:hover { background: #f4f3ef; }

.pds-points li::before {
    content: counter(pds-counter, decimal-leading-zero);
    font-family: var(--amg-font-titre);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--pds-gold);
    line-height: 1;
    flex-shrink: 0;
    min-width: 2rem;
    letter-spacing: -0.04em;
}

/* ── Domaines ────────────────────────────────────────── */
.pds-domains { margin-bottom: 3rem; }

.pds-section-label {
    margin: 0 0 1.1rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pds-gold);
}

.pds-domains__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
}

.pds-domains__list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #2a2d34;
    font-weight: 500;
}

.pds-domains__list li svg {
    flex-shrink: 0;
    color: var(--pds-gold);
}

/* ── Barre de contact ────────────────────────────────── */
.pds-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3.5rem;
    padding: 1.5rem 1.75rem;
    background: var(--pds-noir);
    border-radius: 10px;
    color: #fff;
}

.pds-cta-bar__text {
    margin: 0;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.62);
    max-width: 38ch;
    line-height: 1.6;
}

.pds-cta-bar__actions {
    display: flex;
    gap: 0.7rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ── Boutons ─────────────────────────────────────────── */
.pds-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
    white-space: nowrap;
}

.pds-btn--dark {
    background: #fff;
    color: var(--pds-noir);
}
.pds-btn--dark:hover { background: #f0ede8; color: var(--pds-noir); }

.pds-btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.2);
}
.pds-btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 700px) {
    .pds-banner { height: 260px; }
    .pds-banner__inner { padding-top: calc(74px + 1rem); }
    .pds-domains__list { grid-template-columns: 1fr; }
    .pds-cta-bar { flex-direction: column; align-items: flex-start; }
    .pds-cta-bar__text { max-width: none; }
}

/* ════════════════════ fin prestation détail ══════════ */

.amg-prestation-detail {
    padding: clamp(2rem, 5vw, 4rem) 0 4rem;
    background: #f7f6f2;
}

.amg-prestation-detail__hero {
    padding: clamp(2.5rem, 6vw, 5rem) 0 2.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7f6f2 100%);
    border-bottom: 1px solid #ece8df;
}

.amg-prestation-detail__hero-inner {
    max-width: 1100px;
}

.amg-prestation-detail__breadcrumb {
    margin-bottom: 1rem;
}

.amg-prestation-detail__breadcrumb a {
    color: #7a6d52;
    font-size: 0.92rem;
}

.amg-prestation-detail__kicker {
    margin: 0 0 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--amg-or);
}

.amg-prestation-detail__title {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    max-width: 12ch;
}

.amg-prestation-detail__intro {
    margin: 1.2rem 0 0;
    max-width: 62ch;
    color: #4b515b;
    font-size: 1.04rem;
    line-height: 1.7;
}

.amg-prestation-detail__container {
    max-width: 1200px;
}

.amg-prestation-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.amg-prestation-detail__panel,
.amg-prestation-detail__card {
    background: var(--amg-blanc);
    border: 1px solid #ebe6db;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(18, 19, 21, 0.05);
}

.amg-prestation-detail__panel {
    padding: 1.6rem;
}

.amg-prestation-detail__panel + .amg-prestation-detail__panel {
    margin-top: 1.2rem;
}

.amg-prestation-detail__panel-title,
.amg-prestation-detail__card-title {
    margin: 0;
    font-family: var(--amg-font-titre);
    letter-spacing: -0.02em;
}

.amg-prestation-detail__panel-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.amg-prestation-detail__list {
    margin: 0;
    padding-left: 1.15rem;
    color: #39414c;
    display: grid;
    gap: 0.75rem;
}

.amg-prestation-detail__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.amg-prestation-detail__chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #f4efe5;
    color: #3f3a30;
    font-size: 0.94rem;
    border: 1px solid #e7dcc7;
}

.amg-prestation-detail__note {
    margin: 1rem 0 0;
    color: #626a75;
    font-size: 0.94rem;
}

.amg-prestation-detail__sidebar {
    position: sticky;
    top: 128px;
    display: grid;
    gap: 1rem;
}

.amg-prestation-detail__card {
    padding: 1.5rem;
}

.amg-prestation-detail__card-kicker {
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: #7f6d43;
}

.amg-prestation-detail__card-text {
    margin: 0.75rem 0 0;
    color: #4f5560;
    line-height: 1.7;
}

.amg-prestation-detail__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-family: var(--amg-font-titre);
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: var(--amg-transition);
}

.amg-prestation-detail__cta--primary {
    background: var(--amg-noir);
    color: var(--amg-blanc);
}

.amg-prestation-detail__cta--primary:hover {
    background: #1d1f24;
}

.amg-prestation-detail__cta--secondary {
    background: transparent;
    color: var(--amg-noir);
    border: 1px solid #d8d0c0;
}

.amg-prestation-detail__cta--secondary:hover {
    background: #f5f1e9;
}

@media (max-width: 980px) {
    .amg-prestation-detail__layout {
        grid-template-columns: 1fr;
    }

    .amg-prestation-detail__sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .amg-prestation-detail__hero,
    .amg-prestation-detail {
        padding-left: 0;
        padding-right: 0;
    }

    .amg-prestation-detail__title {
        max-width: none;
    }
}

/* ============================================================
   Shopping — navbar transparente blanche (fixe, comme la home)
   ============================================================ */

/* Shopping : navbar standard (hérite de body:not(.home)) */

/* ============================================================
   Shopping / Merch
   ============================================================ */

.amg-shop {
    background: #fff;
    color: var(--amg-noir);
    min-height: 100vh;
    padding: calc(96px + 3rem) 0 clamp(5rem, 10vh, 8rem);
}

.amg-shop__inner {
    width: 100%;
    max-width: none;
    padding-left: clamp(2rem, 5vw, 6rem);
    padding-right: clamp(2rem, 5vw, 6rem);
}

.amg-shop__head {
    margin-bottom: clamp(2.5rem, 5vh, 4rem);
}

.amg-shop__title {
    font-family: var(--amg-font-titre);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--amg-noir);
    margin: 0;
}

.amg-shop__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 1140px;
    margin: 0 auto;
}

/* Card */
.amg-shop-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.amg-shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

/* Media / image area */
.amg-shop-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
}

.amg-shop-card__spotlight { display: none; }

.amg-shop-card__image {
    max-width: 75%;
    max-height: 75%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
    display: block;
}

.amg-shop-card:hover .amg-shop-card__image {
    transform: scale(1.04);
}

/* Le lien couvre media + body et s'étire pour remplir la card */
.amg-shop-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
}

/* Body */
.amg-shop-card__body {
    padding: 1.1rem 1.25rem 0.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.amg-shop-card__name {
    font-family: var(--amg-font-titre);
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--amg-noir);
    margin: 0 0 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* Masquer le lien "View cart" injecté par WooCommerce après AJAX */
.added_to_cart {
    display: none !important;
}

.amg-shop-card__price {
    font-family: var(--amg-font-titre);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 700;
    color: var(--amg-noir);
    margin: 0;
}

/* Footer / CTA */
.amg-shop-card__footer {
    padding: 0.75rem 1.25rem 1.25rem;
    display: flex;
    justify-content: center;
}

.amg-shop-card__btn {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--amg-noir);
    border: 1px solid var(--amg-noir);
    color: #fff;
    font-family: var(--amg-font-texte);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.amg-shop-card__btn:hover { opacity: 0.78; }

.amg-shop-card__btn:focus-visible {
    outline: 2px solid var(--amg-noir);
    outline-offset: 2px;
}

/* WooCommerce add-to-cart button */
.amg-shop-card .button.ajax_add_to_cart,
.amg-shop-card .button.add_to_cart_button {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--amg-noir);
    border: 1px solid var(--amg-noir);
    color: #fff;
    font-family: var(--amg-font-texte);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: opacity 0.2s ease;
}

.amg-shop-card .button.ajax_add_to_cart:hover,
.amg-shop-card .button.add_to_cart_button:hover { opacity: 0.78; }

.amg-shop-card .button.ajax_add_to_cart:focus-visible,
.amg-shop-card .button.add_to_cart_button:focus-visible {
    outline: 2px solid var(--amg-noir);
    outline-offset: 2px;
}

/* Loading state */
.amg-shop-card .button.loading,
.amg-shop-card__btn.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Prix WooCommerce */
.amg-shop-card__price .amount {
    color: var(--amg-noir);
}

.amg-shop-card__price del { opacity: 0.4; margin-right: 0.4em; }
.amg-shop-card__price ins { text-decoration: none; }

/* Promo badge */
.amg-shop-card__sale {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--amg-noir);
    color: #fff;
    font-family: var(--amg-font-titre);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.25em 0.6em;
    z-index: 2;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════
   Single product — sp-*
══════════════════════════════════════════════════════════ */

.sp-page {
    background: #fff;
    color: var(--amg-noir);
    min-height: 100vh;
}

/* ── Zone produit ────────────────────────────────────── */
.sp-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(96px + 2rem) clamp(2rem, 5vw, 6rem) 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

.sp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
}

/* ── Galerie ─────────────────────────────────────────── */
.sp-gallery {
    position: sticky;
    top: 110px;
}

.sp-gallery__main {
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.sp-gallery__img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.sp-gallery__img--placeholder {
    opacity: 0.25;
}

.sp-gallery__thumbs {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}
.sp-gallery__thumbs::-webkit-scrollbar { display: none; }

.sp-gallery__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-gallery__thumb img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.sp-gallery__thumb.is-active {
    border-color: var(--amg-noir);
}

/* ── Infos produit ───────────────────────────────────── */
.sp-info {
    padding-top: 0.5rem;
}

.sp-info__cat {
    margin: 0 0 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.38);
}
.sp-info__cat a { color: inherit; text-decoration: none; }

.sp-info__title {
    margin: 0 0 1.4rem;
    font-family: var(--amg-font-titre);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--amg-noir);
}

.sp-info__price {
    margin-bottom: 1.6rem;
    font-family: var(--amg-font-titre);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--amg-noir);
    line-height: 1;
}
.sp-info__price .amount { color: inherit; }
.sp-info__price del { opacity: 0.35; font-size: 0.65em; margin-right: 0.5rem; }
.sp-info__price ins { text-decoration: none; }

.sp-info__desc {
    margin-bottom: 1.8rem;
    font-size: 0.97rem;
    line-height: 1.75;
    color: rgba(0,0,0,0.55);
    max-width: 52ch;
}
.sp-info__desc p { margin: 0 0 0.75em; }
.sp-info__desc p:last-child { margin-bottom: 0; }

/* Stock */
.sp-info__stock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.6rem;
}

.sp-info__stock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sp-info__stock.is-in  { color: #5acc8a; }
.sp-info__stock.is-in  .sp-info__stock-dot { background: #5acc8a; box-shadow: 0 0 6px #5acc8a88; }
.sp-info__stock.is-out { color: #e06060; }
.sp-info__stock.is-out .sp-info__stock-dot { background: #e06060; }

/* Add to cart */
.sp-info__atc {
    margin-bottom: 2rem;
}

.sp-info__atc form.cart {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.sp-info__atc .qty {
    width: 64px;
    padding: 0.85rem 0.75rem;
    background: #fff;
    border: 1px solid #ddd;
    color: var(--amg-noir);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    -moz-appearance: textfield;
    appearance: textfield;
}
.sp-info__atc .qty::-webkit-outer-spin-button,
.sp-info__atc .qty::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; }

.sp-info__atc .single_add_to_cart_button {
    flex: 1;
    min-width: 180px;
    padding: 0.9rem 1.75rem;
    background: var(--amg-noir);
    color: #fff;
    font-family: var(--amg-font-titre);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.sp-info__atc .single_add_to_cart_button:hover { opacity: 0.85; }
.sp-info__atc .single_add_to_cart_button.loading { opacity: 0.6; pointer-events: none; }

/* Variations — table + reset + pills */
.sp-info__atc table.variations {
    width: 100%;
    margin: 0 0 1rem;
    border-collapse: collapse;
}
.sp-info__atc table.variations th,
.sp-info__atc table.variations td {
    padding: 0.4rem 0 0.6rem;
    text-align: left;
    vertical-align: top;
    border: none;
}
.sp-info__atc table.variations th.label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: #666;
    font-weight: 600;
    padding-bottom: 0.75rem;
}
.sp-info__atc .reset_variations {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: #666;
    text-decoration: underline;
}
.sp-info__atc .single_variation_wrap { width: 100%; }
.sp-info__atc .single_variation .price {
    display: block;
    font-family: var(--amg-font-titre);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--amg-noir);
}
.sp-info__atc .woocommerce-variation-availability {
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: #555;
}

/* Bloc tailles custom (produits simples) */
.sp-sizes {
    margin: 0 0 1.5rem;
}
.sp-sizes__label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: #666;
    font-weight: 600;
    margin: 0 0 0.6rem;
}
.sp-sizes__error {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: #c43030;
}

/* Pills (sélecteur de taille/couleur custom) */
.sp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.sp-pill {
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    background: #fff;
    border: 1px solid #d5d5d5;
    color: var(--amg-noir);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
}
.sp-pill:hover { border-color: var(--amg-noir); }
.sp-pill.is-selected {
    background: var(--amg-noir);
    border-color: var(--amg-noir);
    color: #fff;
    transform: scale(1.04);
}

/* Meta SKU / catégorie */
.sp-info__meta {
    margin: 0;
    border-top: 1px solid #e8e8e8;
    padding-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sp-info__meta > div {
    display: flex;
    gap: 0.6rem;
    font-size: 0.82rem;
}

.sp-info__meta dt {
    color: rgba(0,0,0,0.38);
    min-width: 90px;
    font-weight: 500;
}

.sp-info__meta dd {
    margin: 0;
    color: rgba(0,0,0,0.65);
}
.sp-info__meta dd a { color: inherit; text-decoration: none; }
.sp-info__meta dd a:hover { color: var(--amg-noir); }

/* ── Description ─────────────────────────────────────── */
.sp-desc-section {
    background: #f5f5f5;
    color: #1a1d24;
    padding: 4rem 0;
    border-top: 1px solid #e8e8e8;
}

.sp-desc-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 5vw, 6rem);
}

.sp-section-label {
    margin: 0 0 1.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}

.sp-desc-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #3a3d46;
}
.sp-desc-body p  { margin: 0 0 1em; }
.sp-desc-body h2, .sp-desc-body h3 {
    font-family: var(--amg-font-titre);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1d24;
    margin: 1.5em 0 0.5em;
}
.sp-desc-body ul, .sp-desc-body ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

/* ── Produits associés ───────────────────────────────── */
.sp-related {
    background: #000;
    padding: 3.5rem 0 4.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.sp-related__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 5vw, 6rem);
}

.sp-related .sp-section-label {
    margin-bottom: 1.75rem;
}

.sp-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.sp-rel-card {
    background: #111;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}
.sp-rel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.sp-rel-card__img {
    aspect-ratio: 1 / 1;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.sp-rel-card__img img {
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.sp-rel-card__body {
    padding: 1rem 1.1rem 1.2rem;
}

.sp-rel-card__name {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--amg-blanc);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.sp-rel-card__price {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--amg-or, #c4a874);
}
.sp-rel-card__price .amount { color: inherit; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
    .sp-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .sp-gallery { position: static; }
    .sp-wrap { padding-top: calc(74px + 2rem); }
    .sp-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .sp-related__grid { grid-template-columns: 1fr; }
    .sp-info__atc form.cart { flex-direction: column; }
    .sp-info__atc .single_add_to_cart_button { width: 100%; }
}

/* ═══════════════════ fin single product ════════════════ */

/* ============================================================
   Mini-cart drawer
   ============================================================ */

/* Overlay */
.amg-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.amg-cart-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Drawer */
.amg-cart {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100vw);
    background: #000;
    color: var(--amg-blanc);
    z-index: 1101;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
}

.amg-cart.is-open {
    transform: translateX(0);
}

/* Header du drawer */
.amg-cart__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.amg-cart__title {
    font-family: var(--amg-font-titre);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: var(--amg-blanc);
}

.amg-cart__close {
    background: none;
    border: none;
    color: var(--amg-blanc);
    cursor: pointer;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.amg-cart__close:hover { opacity: 1; }
.amg-cart__close svg { width: 22px; height: 22px; }

/* Corps scrollable */
.amg-cart__body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1.6rem;
}

/* Footer du drawer */
.amg-cart__foot {
    padding: 1.2rem 1.6rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.amg-cart__view-btn {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--amg-blanc);
    text-align: center;
    font-family: var(--amg-font-texte);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.22s, border-color 0.22s;
}

.amg-cart__view-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--amg-blanc);
}

.amg-cart__order-btn {
    display: block;
    width: 100%;
    padding: 0.88rem 1rem;
    background: var(--amg-blanc);
    color: #000;
    text-align: center;
    font-family: var(--amg-font-texte);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.22s, color 0.22s;
}

.amg-cart__order-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    color: #000;
}

/* Badge compteur sur l'icône panier */
.amg-cart-toggle {
    position: relative;
}

.amg-cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--amg-or, #c9a84c);
    color: #000;
    font-family: var(--amg-font-titre);
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

.amg-cart-badge[hidden] { display: none; }

/* ---- Mini-cart items (woocommerce/cart/mini-cart.php) ---- */

.amg-mini-cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.amg-mini-cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 0.75rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.amg-mini-cart-item__thumb {
    width: 56px;
    height: 56px;
    overflow: hidden;
    background: #111;
    flex-shrink: 0;
}

.amg-mini-cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.amg-mini-cart-item__info {
    min-width: 0;
}

.amg-mini-cart-item__name {
    font-family: var(--amg-font-titre);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--amg-blanc);
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.amg-mini-cart-item__name a {
    color: inherit;
    text-decoration: none;
}

.amg-mini-cart-item__name a:hover { text-decoration: underline; }

.amg-mini-cart-item__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0.2rem 0 0;
}

.amg-mini-cart-item__meta .amount { color: rgba(255, 255, 255, 0.8); }

.amg-mini-cart-item__size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8rem;
    height: 1.8rem;
    padding: 0 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
}

.amg-mini-cart-item__remove {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
    transition: color 0.18s;
    padding: 0.1rem;
    display: block;
}

.amg-mini-cart-item__remove:hover { color: rgba(255, 255, 255, 0.85); }

.amg-mini-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

.amg-mini-cart-total strong {
    font-family: var(--amg-font-titre);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--amg-blanc);
}

.amg-mini-cart-total .amount { color: var(--amg-blanc); }

.amg-mini-cart-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    padding: 2.5rem 0;
    margin: 0;
}

/* ============================================================
   ANNONCE DETAIL
   ============================================================ */

/* Header bande */
.amg-detail__header {
    background: #f6f6f6;
    border-bottom: 1px solid #e5e7ea;
    padding: calc(96px + 2rem) 0 1.1rem;
}

.amg-detail__bread {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6a707b;
    margin-bottom: 0.65rem;
}

.amg-detail__bread a {
    color: #6a707b;
    text-decoration: none;
}

.amg-detail__bread a:hover { text-decoration: underline; }

.amg-detail__headline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.amg-detail__title {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.amg-detail__price {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--amg-noir);
    white-space: nowrap;
}

/* Body */
.amg-detail__body {
    padding: clamp(2rem, 4vh, 3rem) 0 clamp(3rem, 6vh, 5rem);
    background: #fff;
}

.amg-detail__container {
    max-width: 1240px;
}

.amg-detail__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.4rem;
    align-items: start;
}

/* Left column */
.amg-detail__left { min-width: 0; }

/* Gallery */
.amg-detail__gallery {
    border: 1px solid #e3e5e9;
    overflow: hidden;
    background: #0c0e12;
    margin-bottom: 1.8rem;
}

.amg-detail__main-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.amg-detail__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.amg-detail__see-all {
    position: absolute;
    bottom: 0.9rem;
    right: 0.9rem;
    padding: 0.45rem 0.9rem;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.amg-detail__see-all:hover { background: rgba(10, 10, 10, 0.9); }

.amg-detail__thumbs {
    display: flex;
    gap: 4px;
    padding: 4px;
    overflow-x: auto;
    background: #111318;
    scrollbar-width: thin;
    scrollbar-color: #333 #111318;
}

.amg-detail__thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 54px;
    border: 2px solid transparent;
    overflow: hidden;
    padding: 0;
    background: none;
    cursor: pointer;
    transition: border-color 0.18s ease;
}

.amg-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.amg-detail__thumb.is-active,
.amg-detail__thumb:hover {
    border-color: var(--amg-or);
}

/* Section title */
.amg-detail__section-title {
    margin: 0 0 1rem;
    font-family: var(--amg-font-titre);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Specs */
.amg-detail__specs-block {
    margin-bottom: 1.8rem;
    padding: 1.3rem 1.4rem;
    border: 1px solid #e5e7ea;
}

.amg-detail__specs {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.amg-detail__spec {
    padding: 0.6rem 0.55rem;
    border-right: 1px solid #e8eaed;
    border-bottom: 1px solid #e8eaed;
}

.amg-detail__spec:nth-child(3n) { border-right: none; }
.amg-detail__spec:nth-last-child(-n+3):nth-child(3n+1),
.amg-detail__spec:nth-last-child(-n+3):nth-child(3n+2),
.amg-detail__spec:nth-last-child(-n+3):nth-child(3n) { border-bottom: none; }

.amg-detail__spec dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #7a8090;
    margin-bottom: 0.2rem;
}

.amg-detail__spec dd {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #161b23;
}

/* Description */
.amg-detail__desc-block {
    margin-bottom: 2rem;
    padding: 1.3rem 1.4rem;
    border: 1px solid #e5e7ea;
}

.amg-detail__desc {
    font-size: 0.91rem;
    line-height: 1.72;
    color: #2e343f;
    border-left: 3px solid var(--amg-or);
    padding-left: 1rem;
    margin: 0;
}

/* Photo grid */
.amg-detail__all-photos {
    margin-bottom: 2rem;
}

.amg-detail__photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
}

.amg-detail__photo-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: none;
    padding: 0;
    background: #0c0e12;
    cursor: zoom-in;
}

.amg-detail__photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.amg-detail__photo-item:hover img {
    transform: scale(1.06);
    opacity: 0.9;
}

/* Sidebar */
.amg-detail__sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.amg-detail__price-card {
    background: #0c0f15;
    color: #fff;
    padding: 1.4rem 1.3rem;
}

.amg-detail__price-label {
    margin: 0 0 0.3rem;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8a90a0;
}

.amg-detail__price-big {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.amg-detail__badge {
    display: inline-block;
    margin: 0.55rem 0 0;
    padding: 0.28rem 0.6rem;
    background: rgba(201, 168, 76, 0.18);
    border: 1px solid rgba(201, 168, 76, 0.5);
    color: var(--amg-or);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Quick specs list */
.amg-detail__quick-specs {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e7ea;
    background: #fff;
}

.amg-detail__quick-specs li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid #e5e7ea;
    font-size: 0.85rem;
}

.amg-detail__quick-specs li:last-child { border-bottom: none; }

.amg-detail__quick-specs .label {
    color: #6a707b;
    font-size: 0.8rem;
}

/* CTAs */
.amg-detail__cta {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.amg-detail__cta--primary {
    background: var(--amg-noir);
    color: #fff;
    border: 1px solid var(--amg-noir);
}

.amg-detail__cta--primary:hover {
    background: #2a2f3a;
    border-color: #2a2f3a;
    color: #fff;
}

.amg-detail__cta--lbc {
    background: #ff6e14;
    color: #fff;
    border: 1px solid #ff6e14;
    font-family: 'LBC Font', Arial, sans-serif;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.9rem;
}

.amg-detail__cta--lbc:hover {
    background: #e55e08;
    border-color: #e55e08;
    color: #fff;
}

/* Garage card */
.amg-detail__garage-card {
    padding: 1.1rem 1rem;
    border: 1px solid #e5e7ea;
    background: #fafafa;
    font-size: 0.83rem;
    line-height: 1.55;
    color: #3a4050;
}

.amg-detail__garage-name {
    margin: 0 0 0.35rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--amg-noir);
}

.amg-detail__garage-card p { margin: 0 0 0.25rem; }

/* Lightbox */
.amg-lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5, 6, 9, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.amg-lb[hidden] { display: none; }

.amg-lb__img-wrap {
    max-width: min(92vw, 1400px);
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amg-lb__img-wrap img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    display: block;
}

.amg-lb__close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease;
}

.amg-lb__close:hover { background: rgba(255,255,255,0.2); }

.amg-lb__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease;
}

.amg-lb__nav:hover { background: rgba(255,255,255,0.18); }

.amg-lb__nav--prev { left: 1.2rem; }
.amg-lb__nav--next { right: 1.2rem; }

.amg-lb__counter {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    margin: 0;
    white-space: nowrap;
}

/* Responsive detail */
@media (max-width: 980px) {
    .amg-detail__header {
        padding-top: calc(74px + 2rem);
    }
    .amg-detail__layout {
        grid-template-columns: 1fr;
    }
    .amg-detail__sidebar {
        position: static;
        order: -1;
    }
    .amg-detail__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .amg-detail__spec:nth-child(3n) { border-right: 1px solid #e8eaed; }
    .amg-detail__spec:nth-child(2n) { border-right: none; }
    .amg-detail__photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .amg-detail__headline { flex-direction: column; }
    .amg-detail__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .amg-detail__photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .amg-detail__thumbs { gap: 3px; padding: 3px; }
    .amg-detail__thumb { width: 60px; height: 45px; }
}

/* ============================================================ */

/* ── Footer ──────────────────────────────────────────── */
.amg-footer {
    background: var(--amg-noir);
    color: var(--amg-blanc);
    padding: 4rem 2rem 0;
    font-size: 0.9rem;
}

.amg-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Brand */
.amg-footer__logo-img {
    max-height: 52px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}
.amg-footer__logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 1rem;
}
.amg-footer__tagline {
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin: 0;
}

/* Headings */
.amg-footer__heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin: 0 0 1.2rem;
}

/* Links list */
.amg-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.amg-footer__links li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.65);
}
.amg-footer__links li svg {
    flex-shrink: 0;
    opacity: 0.5;
}
.amg-footer__links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}
.amg-footer__links a:hover { color: var(--amg-blanc); }

/* Social */
.amg-footer__social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.amg-footer__social-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-size: 0.85rem;
}
.amg-footer__social-link:hover {
    color: var(--amg-blanc);
    border-color: rgba(255,255,255,0.3);
}
.amg-footer__social-link--instagram:hover { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); border-color: transparent; }
.amg-footer__social-link--facebook:hover  { background: #1877f2; border-color: transparent; }

/* Bottom bar */
.amg-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 0;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}
.amg-footer__copy { margin: 0; }
.amg-footer__credit { margin: 0; }
.amg-footer__credit a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.amg-footer__credit a:hover { color: var(--amg-blanc); }

@media (max-width: 768px) {
    .amg-navbar .container { max-width: 100%; }
    .amg-burger { width: 44px; height: 44px; padding: 0 10px; gap: 7px; }
    .amg-menu--overlay .amg-menu__list a { font-size: clamp(2.4rem, 11vw, 3.5rem); }
    .amg-navbar__content { min-height: 74px; gap: 0.8rem; }
    .amg-navbar__left { gap: 0.65rem; }
    .amg-navbar__divider { height: 48px; }
    .amg-logo { display: inline-flex; align-items: center; }
    .amg-logo a { height: 64px; padding: 5px 0; }
    .amg-logo__image { width: auto; height: 100%; }
    .amg-navbar__meta { display: none; }
    .amg-navbar__icon { width: 38px; height: 38px; }
    .amg-navbar__icon svg { width: 15px; height: 15px; }
    .amg-header:not(.is-scrolled) .amg-navbar__content { min-height: 92px; }
    .amg-header:not(.is-scrolled) .amg-logo a { height: 74px; padding: 6px 0; }
    body.home .amg-header.is-scrolled .amg-navbar__content { min-height: 74px; }
    body.home .amg-header.is-scrolled .amg-logo a { height: 64px; padding: 5px 0; }
    .amg-hero { min-height: 100vh; background-position: 74% center; }
    .amg-hero__content {
        text-align: left;
        width: min(460px, calc(100% - 1.5rem));
        margin-left: 0.75rem;
        padding: 4rem 0 3rem;
    }
    .amg-hero h1 { font-size: 1.95rem; }
    .amg-hero p { font-size: 0.98rem; }
    .amg-hs__slide { background-position: 74% center; }
    .amg-hs__content {
        width: min(460px, calc(100% - 1.5rem));
        margin-left: 0.75rem;
        padding: 4rem 0 3rem;
    }
    .amg-hs__slide h1 { font-size: 1.95rem; }
    .amg-hs__slide p { font-size: 0.98rem; }
    .amg-hs__arrow { display: none; }
    .amg-listings { padding: calc(74px + 2rem) 0 3.8rem; }
    .amg-listings__title { font-size: 2rem; }
    .amg-listings__filters { gap: 0.45rem; }
    .amg-listings__grid { grid-template-columns: 1fr; gap: 1rem; }
    .amg-listing-card__content { padding: 0.95rem; }
    .amg-listing-card__meta { grid-template-columns: 1fr 1fr; }
    .amg-services { min-height: auto; display: block; padding: 4rem 0 4.3rem; }
    .amg-services__title { margin-bottom: 1.25rem; }
    .amg-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
    .amg-service-card__title { font-size: 1.45rem; }
    .amg-service-card__text { font-size: 0.88rem; }
    .amg-contact { min-height: 100vh; }
    .amg-contact__layout { grid-template-columns: 1fr; min-height: auto; }
    .amg-contact__aside { border-right: 0; border-bottom: 1px solid #e7e7e7; }
    .amg-contact__label { margin-bottom: 1rem; }
    .amg-contact__panel { grid-template-columns: 1fr; }
    .amg-contact__map { min-height: 280px; border-right: 0; border-bottom: 1px solid #1b212d; }
    .amg-contact__form { min-height: 340px; }
    .amg-shop__grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .amg-shop-card__name { font-size: 1.08rem; }
}

@media (max-width: 980px) {
    .amg-listings__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .amg-shop__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .amg-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ══════════════════════════════════════════════════════════
   Checkout — ckout-*
══════════════════════════════════════════════════════════ */

/* Masquer navbar et footer sur la page checkout */
body.woocommerce-checkout .amg-header,
body.woocommerce-checkout .amg-footer,
body.woocommerce-checkout .amg-cart,
body.woocommerce-checkout .amg-cart-overlay {
    display: none !important;
}

body.woocommerce-checkout .amg-page-content {
    padding-top: 0;
}

.ckout-page {
    background: #f7f7f5;
    min-height: 100vh;
    padding-bottom: 5rem;
}

/* ── Header compact ──────────────────────────────────── */
.ckout-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 1.1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.ckout-header__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ckout-header__logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.ckout-header__step {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(0,0,0,0.4);
    letter-spacing: 0.04em;
}

/* ── Layout deux colonnes ────────────────────────────── */
.ckout-form {
    max-width: 1160px;
    margin: 0 auto;
    padding: 2.5rem clamp(1.5rem, 4vw, 3rem) 0;
}

.ckout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: start;
}

/* ── Blocs généraux ──────────────────────────────────── */
.ckout-block {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.25rem;
}

.ckout-block--notes { margin-bottom: 0; }

.ckout-block__title {
    margin: 0 0 1.5rem;
    font-family: var(--amg-font-titre);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--amg-noir);
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.ckout-logged-in {
    font-size: 0.88rem;
    color: rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #f7f7f5;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
}

/* ── Champs WooCommerce ──────────────────────────────── */
.ckout-page .woocommerce-billing-fields,
.ckout-page .woocommerce-shipping-fields {
    margin: 0;
}

.ckout-page .woocommerce-billing-fields h3,
.ckout-page .woocommerce-shipping-fields h3,
.ckout-page #ship-to-different-address {
    display: none; /* on utilise nos propres titres */
}

.ckout-page .woocommerce-billing-fields h3 + * { margin-top: 0; }

.ckout-page .woocommerce-address-fields .form-row,
.ckout-page .woocommerce-billing-fields .form-row,
.ckout-page .woocommerce-additional-fields .form-row {
    padding: 0;
    margin: 0 0 1rem;
}

.ckout-page .form-row label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(0,0,0,0.55);
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

.ckout-page .form-row .required { color: var(--amg-noir); }

.ckout-page .form-row input[type="text"],
.ckout-page .form-row input[type="email"],
.ckout-page .form-row input[type="tel"],
.ckout-page .form-row input[type="number"],
.ckout-page .form-row input[type="password"],
.ckout-page .form-row select,
.ckout-page .form-row textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--amg-noir);
    background: #fff;
    transition: border-color 0.18s;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.ckout-page .form-row input:focus,
.ckout-page .form-row select:focus,
.ckout-page .form-row textarea:focus {
    outline: none;
    border-color: var(--amg-noir);
}

.ckout-page .form-row textarea {
    min-height: 90px;
    resize: vertical;
}

/* Grille deux colonnes pour prénom/nom */
.ckout-page .woocommerce-billing-fields__field-wrapper,
.ckout-page .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.ckout-page .form-row.form-row-wide,
.ckout-page .form-row.notes { grid-column: 1 / -1; }

/* Messages d'erreur */
.ckout-page .woocommerce-error,
.ckout-page .woocommerce-message {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}
.ckout-page .woocommerce-error { background: #fff0f0; border: 1px solid #f5c6c6; color: #c0392b; }
.ckout-page .woocommerce-message { background: #f0f7f0; border: 1px solid #b7ddb7; color: #2e7d32; }

/* ── Colonne droite ──────────────────────────────────── */
.ckout-right {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ckout-summary {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.75rem 2rem;
}

/* Tableau récapitulatif WooCommerce */
.ckout-page .shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.ckout-page .shop_table th,
.ckout-page .shop_table td {
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
    text-align: left;
}

.ckout-page .shop_table th {
    font-weight: 600;
    color: rgba(0,0,0,0.5);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ckout-page .shop_table .product-name {
    color: var(--amg-noir);
    font-weight: 500;
}

.ckout-page .shop_table .product-total {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

.ckout-page .shop_table tfoot tr:last-child td,
.ckout-page .shop_table tfoot tr:last-child th {
    border-bottom: none;
    font-size: 1rem;
    font-weight: 700;
    padding-top: 1rem;
}

.ckout-page .shop_table tfoot .order-total .amount {
    font-size: 1.2rem;
}

/* ── Paiement ────────────────────────────────────────── */
.ckout-payment {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 1.75rem 2rem;
}

.ckout-payment .woocommerce-checkout-payment {
    margin: 0;
}

.ckout-payment #payment ul.payment_methods {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ckout-payment #payment ul.payment_methods li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
}

.ckout-payment #payment ul.payment_methods li:has(input:checked) {
    border-color: var(--amg-noir);
    background: #fafafa;
}

.ckout-payment #payment ul.payment_methods li label {
    cursor: pointer;
    font-weight: 500;
    font-size: 0.92rem;
    flex: 1;
}

.ckout-payment #payment ul.payment_methods li input[type="radio"] {
    accent-color: var(--amg-noir);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ckout-payment #payment .payment_box {
    background: #f7f7f5;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 0.9rem 1rem;
    margin: -0.4rem 0 0.75rem;
    font-size: 0.88rem;
    color: rgba(0,0,0,0.6);
}

/* Bouton commander */
.ckout-payment #place_order,
.ckout-payment button[type="submit"] {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--amg-noir);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: var(--amg-font-titre);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
    display: block;
}

.ckout-payment #place_order:hover,
.ckout-payment button[type="submit"]:hover { opacity: 0.82; }

/* Mentions sécurité */
.ckout-payment .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 1rem;
    font-size: 0.82rem;
    color: rgba(0,0,0,0.5);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
    .ckout-layout {
        grid-template-columns: 1fr;
    }
    .ckout-right {
        position: static;
        order: -1;
    }
}

@media (max-width: 560px) {
    .ckout-block { padding: 1.25rem; }
    .ckout-payment { padding: 1.25rem; }
    .ckout-summary { padding: 1.25rem; }
    .ckout-page .woocommerce-billing-fields__field-wrapper,
    .ckout-page .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════ fin checkout ══════════════════════ */

/* Generic pages (e.g. Woo cart/checkout/account) */
.amg-page-content {
    padding: clamp(120px, 13vw, 170px) 0 4rem;
    background: #f3f3f3;
    min-height: 60vh;
}

.amg-page-title {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3.8vw, 3rem);
    letter-spacing: 0.01em;
}

.amg-page-entry {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: clamp(1rem, 2vw, 1.6rem);
}

/* ══════════════════════════════════════════════════════════
   Page 404
══════════════════════════════════════════════════════════ */

.amg-404 {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: var(--amg-gris);
}

.amg-404__container {
    text-align: center;
    padding: 6rem 0;
}

.amg-404__code {
    margin: 0 0 0.5rem;
    font-family: var(--amg-font-titre);
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px #d0d0d0;
    letter-spacing: -0.04em;
}

.amg-404__title {
    margin: 0 0 1rem;
    font-family: var(--amg-font-titre);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--amg-noir);
}

.amg-404__text {
    margin: 0 0 2.5rem;
    font-family: var(--amg-font-corps);
    font-size: 1rem;
    color: #6a6a6a;
}

.amg-404__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.amg-404__link {
    font-family: var(--amg-font-corps);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--amg-noir);
    text-decoration: none;
    border-bottom: 1px solid var(--amg-noir);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.amg-404__link:hover {
    color: var(--amg-or);
    border-color: var(--amg-or);
}

/* ══════════════════════════════════════════════════════════
   Section avis clients (homepage)
══════════════════════════════════════════════════════════ */

.amg-reviews {
    padding: 5rem 0;
    background: var(--amg-gris);
}

.amg-reviews__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.amg-reviews__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-family: var(--amg-font-corps);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amg-or);
}

.amg-reviews__title {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--amg-noir);
    line-height: 1.1;
}

.amg-reviews__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
    flex-shrink: 0;
}

.amg-reviews__score {
    font-family: var(--amg-font-titre);
    font-size: 2rem;
    font-weight: 700;
    color: var(--amg-blanc);
    line-height: 1;
}

.amg-reviews__stars {
    display: flex;
    gap: 0.15rem;
    color: var(--amg-or);
}

.amg-reviews__stars svg {
    width: 1rem;
    height: 1rem;
}

.amg-reviews__count {
    font-family: var(--amg-font-corps);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.amg-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.amg-review-card {
    background: var(--amg-blanc);
    border: 1px solid #e6e7ea;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.amg-review-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 8px 24px rgba(12, 15, 21, 0.07);
}

.amg-review-card__stars {
    display: flex;
    gap: 0.15rem;
    color: var(--amg-or);
}

.amg-review-card__stars svg {
    width: 1rem;
    height: 1rem;
}

.amg-review-card__text {
    margin: 0;
    font-family: var(--amg-font-corps);
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4a4a4a;
    font-style: italic;
    flex: 1;
}

.amg-review-card__author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e6e7ea;
}

.amg-review-card__name {
    font-family: var(--amg-font-corps);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--amg-noir);
}

.amg-review-card__date {
    font-family: var(--amg-font-corps);
    font-size: 0.75rem;
    color: #9a9a9a;
}

@media (max-width: 900px) {
    .amg-reviews__grid { grid-template-columns: 1fr; }
    .amg-reviews__head { flex-direction: column; align-items: flex-start; }
    .amg-reviews__rating { align-items: flex-start; }
}

@media (max-width: 540px) {
    .amg-reviews { padding: 3rem 0; }
}

/* ══════════════════════════════════════════════════════════
   Section annonces récentes (homepage)
══════════════════════════════════════════════════════════ */

.amg-recent {
    padding: 5rem 0;
    background: var(--amg-gris);
}

.amg-recent__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.amg-recent__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-family: var(--amg-font-corps);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amg-or);
}

.amg-recent__title {
    margin: 0;
    font-family: var(--amg-font-titre);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--amg-noir);
    line-height: 1.1;
}

.amg-recent__see-all {
    flex-shrink: 0;
    font-family: var(--amg-font-corps);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--amg-noir);
    text-decoration: none;
    border-bottom: 1px solid var(--amg-noir);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.amg-recent__see-all:hover {
    color: var(--amg-or);
    border-color: var(--amg-or);
}

.amg-recent__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .amg-recent__grid { grid-template-columns: repeat(2, 1fr); }
    .amg-recent__grid .amg-listing-card:last-child { display: none; }
}

@media (max-width: 540px) {
    .amg-recent { padding: 3rem 0; }
    .amg-recent__head { flex-direction: column; align-items: flex-start; }
    .amg-recent__grid { grid-template-columns: 1fr; }
    .amg-recent__grid .amg-listing-card:last-child { display: block; }
}

/* ── Footer responsive ───────────────────────────────── */
@media (max-width: 900px) {
    .amg-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .amg-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
    .amg-footer { padding: 2.5rem 1.25rem 0; }
    .amg-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .amg-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}
