/* ==========================================================================
   ABC DANSE - Nouvelle page d'accueil 2026
   Chargé APRES main.css, uniquement sur la nouvelle page d'accueil.
   ========================================================================== */

:root {
    --home-ink: #191421;
    --home-muted: #6f6877;
    --home-paper: #fffaf8;
    --home-soft: #f8f2f5;
    --home-purple: #a91f72;
    --home-purple-dark: #72134f;
    --home-orange: #f28a2b;
    --home-blue: #169eae;
    --home-pink: #ee3d83;
    --home-radius: 24px;
    --home-shadow: 0 18px 45px rgba(31, 18, 39, .12);
}

body.home-2026 { background: var(--home-paper); color: var(--home-ink); }
.home-2026 h1, .home-2026 h2, .home-2026 h3, .home-2026 h4 { color: var(--home-ink); }
.home-2026 .home-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.home-2026 .home-section { padding: 78px 0; }
.home-2026 .home-kicker { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .78rem; color: var(--home-purple); margin-bottom: 10px; }
.home-2026 .home-title { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; margin-bottom: 14px; text-transform: none; letter-spacing: -.025em; }
.home-2026 .home-lead { max-width: 720px; margin: 0 auto; color: var(--home-muted); font-size: 1.08rem; line-height: 1.75; }
.home-2026 .home-center { text-align: center; }

/* HERO */
.home-hero { position: relative; min-height: 650px; display: flex; align-items: flex-start; overflow: hidden; background: #241127 url('/images_site/ABC-Danse-couverture.jpg') left center / cover no-repeat; color: #fff; }
.home-hero:before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,8,31,.20) 0%, rgba(40,9,46,.35) 38%, rgba(38,7,43,.82) 68%, rgba(18,7,25,.95) 100%); }
.home-hero:after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(238,61,131,.18); filter: blur(10px); right: -180px; top: -160px; }
.home-hero .home-shell { position: relative; z-index: 2; }
.home-hero-content { max-width: 680px; margin-left: auto; padding: 42px 0 72px; text-align: left; }
.home-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); font-size: .82rem; margin-bottom: 22px; }
.home-hero h1 { color: #fff; font-size: clamp(3.1rem, 7vw, 6.6rem); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; margin: 0 0 18px; }
.home-hero h1 span { display: block; color: #ff4c96; font-style: italic; text-transform: none; font-size: .68em; letter-spacing: -.03em; margin-top: 8px; }
.home-hero-sub, .home-hero-sub strong { font-size: 1.18rem; line-height: 1.6; max-width: 620px; color: #fff !important; }
.home-hero-sub { margin-bottom: 24px; }
.home-hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 30px; }
.home-hero-points span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.home-hero-points i { color: #ff75ad; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-2026 .home-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: .82rem; font-weight: 700; border: 0; box-shadow: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.home-2026 .home-btn:hover { transform: translateY(-2px); }
.home-2026 .home-btn-primary { background: linear-gradient(135deg, var(--home-pink), var(--home-purple)); color: #fff !important; box-shadow: 0 12px 28px rgba(169,31,114,.32); }
.home-2026 .home-btn-light { background: rgba(255,255,255,.12); color: #fff !important; border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(8px); }
.home-2026 .home-btn-outline { background: transparent; color: var(--home-ink) !important; border: 1px solid rgba(25,20,33,.18); }

/* DISCIPLINES */
.home-disciplines { margin-top: -54px; position: relative; z-index: 4; padding-bottom: 70px; }
.home-dance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.home-dance-card { position: relative; min-height: 410px; overflow: hidden; border-radius: var(--home-radius); box-shadow: var(--home-shadow); color: #fff; isolation: isolate; }
.home-dance-card img { position: absolute; inset: 0; width: 100%; height: 62%; object-fit: cover; z-index: -2; }
.home-dance-card:after { content: ''; position: absolute; inset: 34% 0 0; z-index: -1; background: linear-gradient(180deg, transparent, var(--card-color) 38%); }
.home-dance-card .card-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.home-dance-card h3 { color: #fff; font-size: 1.55rem; margin-bottom: 8px; text-transform: uppercase; }
.home-dance-card p { margin-bottom: 15px; line-height: 1.55; color: rgba(255,255,255,.92); }
.home-dance-card a { color: #fff !important; font-weight: 700; text-decoration: none; }
.home-dance-card.purple { --card-color: #9b1f72; background: #9b1f72; }
.home-dance-card.orange { --card-color: #ef861f; background: #ef861f; }
.home-dance-card.blue { --card-color: #168fa2; background: #168fa2; }

/* BEGINNER / FEATURE */
.home-beginner { background: #fff; }
.home-beginner-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: stretch; }
.home-beginner-main { border-radius: var(--home-radius); padding: 48px; background: linear-gradient(135deg, #28132f, #74154f); color: #fff; box-shadow: var(--home-shadow); }
.home-beginner-main h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); text-transform: none; line-height: 1.05; margin-bottom: 16px; }
.home-beginner-main p { color: rgba(255,255,255,.88); font-size: 1.08rem; }
.home-beginner-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-mini-card { border-radius: 20px; padding: 26px 22px; background: var(--home-soft); border: 1px solid rgba(25,20,33,.06); }
.home-mini-card i { font-size: 1.7rem; color: var(--home-purple); margin-bottom: 14px; }
.home-mini-card h3 { font-size: 1rem; margin-bottom: 8px; }
.home-mini-card p { color: var(--home-muted); font-size: .92rem; line-height: 1.55; margin: 0; }

/* EVENTS */
.home-events { background: #f6eff4; }
.home-event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.home-event-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 35px rgba(31,18,39,.08); }
.home-event-card .event-image { position: relative; overflow: hidden; background: #fff; padding: 12px 12px 0; }
.home-event-card .event-image > a { display:block; }
.home-event-card .event-image > a > img, .home-event-card .event-image > img { width: 100%; height: auto; object-fit: contain; display:block; }
.home-event-card .event-body { padding: 22px; }
.home-event-card .event-when { color: var(--home-purple); font-weight: 700; font-size: .88rem; margin-bottom: 10px; }
.home-event-card .event-title { font-size: 1.1rem; margin-bottom: 14px; }
.home-event-card .event-link { font-weight: 700; color: var(--home-ink); text-decoration: none; }
.home-event-footer { text-align: center; margin-top: 28px; }

/* WHY ABC */
.home-stats { background: #1c1621; color: #fff; }
.home-stats .home-title, .home-stats .home-lead { color: #fff; }
.home-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.13); margin-top: 42px; border-radius: 22px; overflow: hidden; }
.home-stat { background: #1c1621; padding: 34px 24px; text-align: center; }
.home-stat i { font-size: 1.8rem; color: #ff5b9e; margin-bottom: 12px; }
.home-stat strong { display: block; font-size: 1.25rem; color: #fff; margin-bottom: 6px; }
.home-stat span { color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.45; }

/* LOCAL / SCHOOL */
.home-school-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; align-items: center; }
.home-map { border-radius: var(--home-radius); overflow: hidden; box-shadow: var(--home-shadow); min-height: 470px; background:#eee; }
.home-map iframe { display:block; width:100%; height:470px; border:0; }
.home-school-copy .home-title { margin-bottom: 18px; }
.home-school-copy p { color: var(--home-muted); line-height: 1.75; }
.home-school-copy a:not(.home-btn) { color: var(--home-purple); font-weight: 700; }

/* REVIEWS */
.home-reviews { background: #fff; }
.home-review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.home-review-card { padding: 25px; border-radius: 20px; background: var(--home-soft); border: 1px solid rgba(25,20,33,.06); }
.home-review-source img { height: 24px; width: auto; margin-bottom: 12px; }
.home-review-name { font-weight: 700; margin-bottom: 5px; }
.home-review-stars { color: #f8b805; margin-bottom: 14px; }
.home-review-text { color: var(--home-muted); line-height: 1.6; font-size: .93rem; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:6; overflow:hidden; }
.home-review-card.expanded .home-review-text { display:block; overflow:visible; }
.home-review-toggle { display:none; margin-top:12px; padding:0; border:0; background:transparent; color:var(--home-purple); font:inherit; font-weight:700; cursor:pointer; text-transform:none; letter-spacing:0; box-shadow:none; }
.home-review-toggle:hover { background:transparent; color:var(--home-purple-dark); }
.home-review-card.expanded { box-shadow:var(--home-shadow); }
.home-review-footer { text-align: center; margin-top: 28px; }

/* FINAL CTA */
.home-final { padding: 76px 0; background: linear-gradient(120deg, #a21d70, #ee3d83 55%, #f18b2c); color: #fff; text-align: center; }
.home-final h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); text-transform: none; margin-bottom: 12px; }
.home-final p { color: rgba(255,255,255,.9); font-size: 1.08rem; }
.home-final .home-actions { justify-content: center; margin-top: 24px; }
.home-final .home-btn-primary { background: #fff; color: #8e1b63 !important; }

@media screen and (max-width: 980px) {
    .home-hero { min-height: 590px; }
    .home-dance-grid { grid-template-columns: 1fr; }
    .home-dance-card { min-height: 350px; }
    .home-beginner-grid, .home-school-grid { grid-template-columns: 1fr; }
    .home-event-grid { grid-template-columns: 1fr 1fr; }
    .home-stat-grid { grid-template-columns: 1fr 1fr; }
    .home-review-grid { grid-template-columns: 1fr 1fr; }
    .home-map, .home-map iframe { min-height:390px; height:390px; }
}

@media screen and (max-width: 736px) {
    .home-2026 .home-shell { width: min(100% - 28px, 1180px); }
    .home-2026 .home-section { padding: 56px 0; }
    .home-hero { min-height: 610px; background-position: 60% center; }
    .home-hero:before { background: linear-gradient(90deg, rgba(18,7,25,.94), rgba(38,7,43,.68)); }
    .home-hero-content { padding: 62px 0 88px; }
    .home-hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
    .home-hero-sub { font-size: 1rem; }
    .home-actions { flex-direction: column; align-items: stretch; }
    .home-2026 .home-btn { width: 100%; }
    .home-disciplines { margin-top: -42px; }
    .home-dance-card { min-height: 390px; }
    .home-beginner-main { padding: 34px 26px; }
    .home-beginner-side { grid-template-columns: 1fr; }
    .home-event-grid, .home-review-grid { grid-template-columns: 1fr; }
    .home-stat-grid { grid-template-columns: 1fr 1fr; }
    .home-stat { padding: 26px 14px; }
    .home-map, .home-map iframe { min-height:300px; height:300px; }
}


/* V3 - Les visuels de manifestations sont des affiches : aucun recadrage. */
.home-events .home-event-card .event-image {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
    padding: 12px 12px 0 !important;
}
.home-events .home-event-card .event-image a {
    display: block !important;
    height: auto !important;
}
.home-events .home-event-card .event-image a > img:first-child {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

/* V3 - Contour net de la carte Google, y compris dans les angles. */
.home-map {
    position: relative;
    border: 1px solid rgba(25,20,33,.14);
    border-radius: var(--home-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--home-shadow);
}
.home-map:after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(25,20,33,.10);
    border-radius: inherit;
    pointer-events: none;
}

/* V3 - Avis : 6 lignes puis lien textuel discret. */
.home-review-toggle {
    all: unset;
    display: none;
    margin-top: 12px;
    color: var(--home-purple) !important;
    font-weight: 200;
    cursor: pointer;
}
.home-review-toggle:hover {
    color: var(--home-purple-dark) !important;
    text-decoration: underline;
}
.home-review-card.expanded .home-review-text {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}

/* V3 - Cadrage spécifique smartphone. Ajuster 65% si nécessaire. */
@media screen and (max-width: 736px) {
    .home-hero {
        background-position: 32% center;
    }
}


/* V4 - Mise en avant de l'offre ouverture de bal / mariage. */
.home-wedding {
    background: var(--home-paper);
    padding-top: 18px;
}
.home-wedding-card {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 260px;
    gap: 34px;
    align-items: center;
    overflow: hidden;
    padding: 46px 52px;
    border-radius: var(--home-radius);
    background: linear-gradient(135deg, #fff 0%, #fff7fb 58%, #f7e7f0 100%);
    border: 1px solid rgba(169,31,114,.10);
    box-shadow: var(--home-shadow);
}
.home-wedding-mark {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--home-pink), var(--home-purple));
    color: #fff;
    font-size: 2.25rem;
    box-shadow: 0 14px 30px rgba(169,31,114,.22);
}
.home-wedding-copy { position: relative; z-index: 2; }
.home-wedding-copy .home-title { margin-bottom: 16px; }
.home-wedding-copy p { max-width: 720px; color: var(--home-muted); line-height: 1.72; }
.home-wedding-note { font-size: .95rem; }
.home-wedding-note i { color: var(--home-purple); margin-right: 7px; }
.home-wedding-copy .home-actions { margin-top: 24px; }
.home-wedding-deco {
    text-align: right;
    line-height: .82;
    transform: rotate(-4deg);
    opacity: .10;
    user-select: none;
}
.home-wedding-deco span,
.home-wedding-deco strong {
    display: block;
    color: var(--home-purple);
    font-size: 3.4rem;
    letter-spacing: -.06em;
}
.home-wedding-deco strong { font-size: 4.3rem; }

@media screen and (max-width: 980px) {
    .home-wedding-card { grid-template-columns: 90px 1fr; padding: 38px; }
    .home-wedding-mark { width: 78px; height: 78px; font-size: 1.8rem; }
    .home-wedding-deco { display: none; }
}
@media screen and (max-width: 736px) {
    .home-wedding { padding-top: 8px; }
    .home-wedding-card { grid-template-columns: 1fr; gap: 20px; padding: 30px 24px; }
    .home-wedding-mark { width: 64px; height: 64px; font-size: 1.45rem; }
    .home-wedding-copy .home-title br { display: none; }
}

/* V5 - Mariage + cours particuliers */
.home-services { background: var(--home-paper); }
.home-services .home-section-heading { text-align:center; max-width:760px; margin:0 auto 34px; }
.home-services .home-section-heading p { color:var(--home-muted); }
.home-service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.home-service-card { overflow:hidden; border-radius:var(--home-radius); background:#fff; border:1px solid rgba(25,20,33,.08); box-shadow:var(--home-shadow); }
.home-service-image { height:285px; overflow:hidden; background:#eee; }
.home-service-image img { position:static !important; display:block; width:100% !important; height:100% !important; max-height:none !important; object-fit:cover !important; object-position:center !important; }
.home-service-content { padding:30px 32px 34px; }
.home-service-content h3 { margin:5px 0 14px; font-size:1.55rem; color:var(--home-text); }
.home-service-content p { color:var(--home-muted); line-height:1.7; }
.home-service-note { font-size:.94rem; }
.home-service-note i { color:var(--home-purple); margin-right:7px; }
.home-service-link { display:inline-block; margin-top:8px; color:var(--home-purple) !important; font-weight:600; border:0; }
.home-service-link:hover { color:var(--home-purple-dark) !important; }
.home-btn i{margin-right:8px;}
@media screen and (max-width:820px) { .home-service-grid { grid-template-columns:1fr; } }
@media screen and (max-width:736px) { .home-service-image { height:230px; } .home-service-content { padding:25px 23px 28px; } }
