/*
Theme Name: GeneratePress Child
Template: generatepress
*/

/* =============================================
   ESPOIR MUSICAL DE VOUVRAY — DESIGN SYSTEM
   ============================================= */

:root {
    --emv-teal:        #0A464D;
    --emv-teal-mid:    #2B6575;
    --emv-teal-dark:   #061e22;
    --emv-amber:       #DF9B27;
    --emv-amber-light: #fef3d8;
    --emv-vert:        #367B44;
    --emv-vert-light:  #ddf0e5;
    --emv-vert-clair:  #7CA04D;
    --emv-violet:      #88588F;
    --emv-violet-light:#f5edfc;
    --emv-creme:       #faf8f4;
    --emv-border:      #e8e2d9;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--emv-creme);
    color: var(--emv-teal);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: 'DynaPuff', cursive;
    color: var(--emv-teal);
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
}

a { color: var(--emv-teal); }
a:hover { color: var(--emv-violet); }
img { max-width: 100%; height: auto; }

/* =============================================
   NAVIGATION
   ============================================= */
.emv-nav {
    background: #fff;
    border-bottom: 1px solid var(--emv-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.emv-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo — collé à gauche */
.emv-nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.emv-nav__logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.emv-nav__logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0faf5;
    border: 1.5px solid #c8e8d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.emv-nav__logo-name {
    font-family: 'DynaPuff', cursive;
    font-size: 13px;
    color: var(--emv-teal);
    white-space: nowrap;
}

/* Menu desktop — liens centrés, CTA à droite */
.emv-nav__menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    margin-left: 1rem;
    min-width: 0; /* corrige le bug flexbox qui empêchait le rétrécissement */
}

.emv-nav__links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    min-width: 0;
    gap: 0;
}

.emv-nav__links li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    flex-shrink: 1;
}

.emv-nav__link {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0.5rem 0.5rem;
    font-size: 12px;
    font-weight: 600;
    color: var(--emv-teal);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.emv-nav__link:hover {
    background: var(--emv-creme);
    color: var(--emv-violet);
}

.emv-nav__chevron {
    width: 10px;
    height: 6px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.emv-nav__item--has-children:hover .emv-nav__chevron {
    transform: rotate(180deg);
}

/* Dropdown — le padding-top remplace un margin/gap externe pour éviter
   toute zone morte entre le lien et le menu (bug classique de fermeture
   prématurée au survol). */
.emv-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--emv-border);
    border-radius: 12px;
    padding: 10px 0.5rem 0.5rem;
    margin-top: 8px;
    min-width: 230px;
    box-shadow: 0 8px 24px rgba(10,70,77,0.12);
    list-style: none;
}

.emv-nav__item--has-children:hover .emv-nav__dropdown { display: block; }

.emv-nav__dropdown li { list-style: none; margin: 0; padding: 0; }

.emv-nav__dropdown li a {
    display: block;
    padding: 0.5rem 0.85rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--emv-teal);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s;
    white-space: nowrap;
}

.emv-nav__dropdown li a:hover {
    background: var(--emv-creme);
    color: var(--emv-violet);
}

/* Pont invisible qui comble l'espace visuel au-dessus du dropdown,
   pour que le survol ne se coupe jamais entre le lien et le menu */
.emv-nav__item--has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
}

/* CTA nav */
.emv-nav__cta {
    background: var(--emv-teal);
    color: #fff;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.emv-nav__cta:hover { background: var(--emv-amber); color: var(--emv-teal); }

/* Burger */
.emv-nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.emv-nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--emv-teal);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.emv-nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.emv-nav__burger--open span:nth-child(2) { opacity: 0; }
.emv-nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.emv-nav__mobile {
    display: none;
    background: #fff;
    border-top: 1px solid var(--emv-border);
    padding: 1rem 1.5rem 1.5rem;
}

.emv-nav__mobile--open { display: block; }

.emv-nav__mobile-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

.emv-nav__mobile-links li { list-style: none; margin: 0; padding: 0; }

.emv-nav__mobile-links li a {
    display: block;
    padding: 0.65rem 0.5rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--emv-teal);
    text-decoration: none;
    border-bottom: 1px solid var(--emv-border);
}

.emv-nav__mobile-links li a:hover { color: var(--emv-violet); }

.emv-nav__mobile-links .sub-menu {
    list-style: none;
    padding: 0;
    margin: 4px 0 8px 0;
    display: none;
    background: var(--emv-creme);
    border-radius: 8px;
}

.emv-mobile-open > .sub-menu { display: block; }
.emv-nav__mobile-links .sub-menu li { list-style: none; margin: 0; padding: 0; }

.emv-nav__mobile-links .sub-menu li a {
    padding: 0.5rem 1rem;
    font-size: 13px;
    color: var(--emv-teal-mid);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.emv-nav__cta--mobile {
    display: inline-block;
    margin-top: 1rem;
    background: var(--emv-teal);
    color: #fff;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

/* =============================================
   HERO
   ============================================= */
.emv-hero { background: var(--emv-teal); padding: 3.5rem 2rem 6rem; position: relative; }

.emv-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.emv-hero__text { flex: 1; }

.emv-hero__pill {
    display: inline-block;
    background: rgba(223,155,39,0.2);
    color: var(--emv-amber);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.emv-hero__title { font-family: 'DynaPuff', cursive; font-size: 36px; color: #fff; line-height: 1.25; margin-bottom: 1rem; }
.emv-hero__title em { color: var(--emv-amber); font-style: normal; }
.emv-hero__desc { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.8; margin-bottom: 1.75rem; max-width: 440px; }
.emv-hero__infos { display: flex; flex-direction: column; gap: 8px; }
.emv-hero__info-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 600; }

.emv-hero__photos { flex: 0 0 280px; position: relative; height: 240px; }

.emv-hero__photo {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.15);
    object-fit: cover;
}

.emv-hero__photo--1 { width: 180px; height: 160px; top: 0; left: 10px; transform: rotate(-2deg); }
.emv-hero__photo--2 { width: 165px; height: 145px; bottom: 0; right: 0; transform: rotate(2deg); }
.emv-hero__wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; }

/* =============================================
   BANDEAU INFOS
   ============================================= */
.emv-infobande { background: var(--emv-amber); padding: 1rem 2rem; }

.emv-infobande__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.emv-infobande__item { display: flex; align-items: center; gap: 10px; }
.emv-infobande__label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(10,70,77,0.6); }
.emv-infobande__value { font-size: 13px; font-weight: 700; color: var(--emv-teal); }

/* =============================================
   SECTIONS
   ============================================= */
.emv-section { padding: 3rem 2rem; }
.emv-section__inner { max-width: 1100px; margin: 0 auto; }

.emv-section--creme  { background: var(--emv-creme); }
.emv-section--blanc  { background: #fff; }
.emv-section--violet { background: var(--emv-violet-light); }
.emv-section--vert   { background: var(--emv-vert-light); }
.emv-section--teal   { background: var(--emv-teal); }
.emv-section--purple { background: var(--emv-violet); }

.emv-section--teal .emv-section__title,
.emv-section--teal h2,
.emv-section--teal h3 { color: #fff; }

.emv-section--purple .emv-section__title,
.emv-section--purple h2,
.emv-section--purple p { color: #fff; }

.emv-section__label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.4rem; display: block; }
.emv-section__label--violet { color: var(--emv-violet); }
.emv-section__label--vert   { color: var(--emv-vert); }
.emv-section__label--amber  { color: #a06b10; }
.emv-section__label--teal   { color: var(--emv-teal-mid); }
.emv-section__label--light  { color: var(--emv-vert-clair); }

.emv-section__title { font-family: 'DynaPuff', cursive; font-size: 26px; color: var(--emv-teal); margin-bottom: 0.75rem; line-height: 1.3; }
.emv-section__desc  { font-size: 15px; color: var(--emv-teal-mid); line-height: 1.75; margin-bottom: 2rem; max-width: 600px; }

/* =============================================
   GRILLES & CARDS
   ============================================= */
.emv-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.emv-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.emv-card { border-radius: 16px; padding: 1.25rem; border: 0.5px solid rgba(0,0,0,0.07); }
.emv-card--blanc        { background: #fff; }
.emv-card--creme        { background: var(--emv-creme); }
.emv-card--teal-light   { background: #d8eff3; }
.emv-card--violet-light { background: var(--emv-violet-light); }
.emv-card--vert-light   { background: var(--emv-vert-light); }
.emv-card--amber-light  { background: var(--emv-amber-light); }

.emv-card__emoji { font-size: 24px; display: block; margin-bottom: 10px; }
.emv-card h3 { font-size: 14px; font-weight: 700; color: var(--emv-teal); margin-bottom: 6px; }
.emv-card p  { font-size: 13px; color: var(--emv-teal-mid); line-height: 1.65; }
.emv-tag { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }

/* =============================================
   INSTRUMENTS
   ============================================= */
.emv-instruments { margin-bottom: 2rem; }
.emv-instruments__title { font-size: 15px; font-weight: 700; color: var(--emv-teal); margin-bottom: 1rem; }
.emv-instruments__grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0.75rem; }
.emv-instr-pill { border-radius: 20px; padding: 5px 14px; font-size: 13px; font-weight: 600; }
.emv-instr-pill--1 { background: var(--emv-violet-light); color: #5c2d6b; }
.emv-instr-pill--2 { background: var(--emv-vert-light); color: #1a5c35; }
.emv-instr-pill--3 { background: var(--emv-amber-light); color: #7a4f00; }
.emv-instr-pill--4 { background: #d8eff3; color: var(--emv-teal); }
.emv-location-note { font-size: 12px; color: var(--emv-violet); font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* =============================================
   ORCHESTRES & ATELIERS
   ============================================= */
.emv-orches-card { border-radius: 16px; padding: 1.25rem; background: #fff; border: 0.5px solid rgba(0,0,0,0.07); }
.emv-orches-card h3 { font-size: 14px; font-weight: 700; color: var(--emv-teal); margin-bottom: 6px; }
.emv-horaire-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; background: var(--emv-vert-light); color: var(--emv-vert); margin-bottom: 10px; }
.emv-orches-card p { font-size: 13px; color: var(--emv-teal-mid); line-height: 1.65; }
.emv-orches-card__dir { font-size: 12px; font-weight: 700; color: var(--emv-vert); margin-top: 10px; }
.emv-atelier-card { border-radius: 14px; padding: 1.1rem; background: #fff; border: 0.5px solid rgba(0,0,0,0.07); }
.emv-atelier-card h4 { font-size: 13px; font-weight: 700; color: var(--emv-teal); margin-bottom: 4px; }
.emv-atelier-card__horaire { display: block; font-size: 11px; font-weight: 700; color: var(--emv-violet); margin-bottom: 6px; }
.emv-atelier-card p { font-size: 12.5px; color: var(--emv-teal-mid); line-height: 1.6; }

/* =============================================
   ÉVÉNEMENTS
   ============================================= */
.emv-events { display: flex; flex-direction: column; gap: 12px; }
.emv-event { background: rgba(255,255,255,0.07); border: 0.5px solid rgba(255,255,255,0.15); border-radius: 14px; padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1.25rem; }
.emv-event--past { opacity: 0.45; }
.emv-event__date { border-radius: 12px; min-width: 52px; text-align: center; padding: 8px 6px; flex-shrink: 0; }
.emv-event__day   { display: block; font-family: 'DynaPuff', cursive; font-size: 20px; color: #fff; line-height: 1; }
.emv-event__month { display: block; font-size: 9px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,0.75); letter-spacing: 1px; }
.emv-event__info  { flex: 1; }
.emv-event__info h4 { font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.emv-event__info p  { font-size: 12px; color: rgba(255,255,255,0.55); margin: 0; }
.emv-event__desc    { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 4px; font-style: italic; }
.emv-event__surplace { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.emv-surplace-pill { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.emv-event__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.emv-event__badge { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.emv-event__link  { font-size: 12px; font-weight: 700; color: var(--emv-amber); text-decoration: none; white-space: nowrap; }
.emv-event__past-label { font-size: 11px; color: rgba(255,255,255,0.3); font-style: italic; margin-left: auto; flex-shrink: 0; }
.emv-no-events   { color: rgba(255,255,255,0.45); font-size: 14px; font-style: italic; }
.emv-agenda-note { font-size: 12px; color: rgba(255,255,255,0.4); font-style: italic; margin-bottom: 1.25rem; }

/* =============================================
   TÉMOIGNAGES
   ============================================= */
.emv-temoignages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 1.5rem; }
.emv-temo { background: #fff; border-radius: 14px; padding: 1.25rem; border-left: 4px solid var(--emv-amber); }
.emv-temo blockquote { font-size: 14px; color: var(--emv-teal-mid); line-height: 1.7; font-style: italic; margin: 0 0 10px 0; padding: 0; border: none; background: none; }
.emv-temo cite { font-size: 12px; font-weight: 700; color: var(--emv-teal); font-style: normal; display: flex; align-items: center; gap: 8px; }
.emv-temo cite::before { content: ''; display: inline-block; width: 20px; height: 2px; background: var(--emv-amber); border-radius: 2px; flex-shrink: 0; }
.emv-temo__role { color: var(--emv-violet); font-weight: 600; }

/* =============================================
   PROFESSEURS
   ============================================= */
.emv-profs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.emv-prof-card { background: #fff; border-radius: 16px; overflow: hidden; border: 0.5px solid var(--emv-border); text-align: center; }
.emv-prof-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.emv-prof-card__info { padding: 1.25rem; }
.emv-prof-card h3 { font-size: 15px; font-weight: 700; color: var(--emv-teal); margin-bottom: 4px; }
.emv-prof-card__instruments { font-size: 12px; color: var(--emv-violet); font-weight: 700; margin-bottom: 8px; }
.emv-prof-card__bio { font-size: 13px; color: var(--emv-teal-mid); line-height: 1.6; }

/* =============================================
   BOUTONS
   ============================================= */
.emv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 24px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
    margin-top: 1.5rem;
}

.emv-btn:hover   { opacity: 0.88; }
.emv-btn--teal   { background: var(--emv-teal);   color: #fff; }
.emv-btn--violet { background: var(--emv-violet);  color: #fff; }
.emv-btn--amber  { background: var(--emv-amber);   color: var(--emv-teal); }
.emv-btn--vert   { background: var(--emv-vert);    color: #fff; }
.emv-btn--blanc  { background: #fff;               color: var(--emv-teal); }
.emv-btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }

/* =============================================
   CTA FINAL
   ============================================= */
.emv-cta { background: var(--emv-violet); padding: 3rem 2rem; text-align: center; }
.emv-cta h2 { font-family: 'DynaPuff', cursive; font-size: 26px; color: #fff; margin-bottom: 0.75rem; }
.emv-cta p  { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 1.75rem; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* =============================================
   FOOTER
   ============================================= */
.emv-footer { background: var(--emv-teal-dark); }

.emv-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.emv-footer__logo { font-family: 'DynaPuff', cursive; font-size: 16px; color: var(--emv-amber); display: block; margin-bottom: 0.75rem; }
.emv-footer__tagline { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; margin: 0; }
.emv-footer__col-title { font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.emv-footer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.emv-footer__nav li { list-style: none; margin: 0; padding: 0; }
.emv-footer__nav a { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; font-weight: 600; transition: color 0.15s; }
.emv-footer__nav a:hover { color: var(--emv-amber); }
.emv-footer__contact-item { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; line-height: 1.5; }
.emv-footer__contact-item a { color: rgba(255,255,255,0.6); text-decoration: none; }
.emv-footer__contact-item a:hover { color: var(--emv-amber); }
.emv-footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.emv-footer__bottom-inner { max-width: 1200px; margin: 0 auto; padding: 1.25rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.emv-footer__copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.emv-footer__legal { display: flex; gap: 1.5rem; }
.emv-footer__legal a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; }
.emv-footer__legal a:hover { color: var(--emv-amber); }

/* =============================================
   ACTUALITÉS
   ============================================= */
.emv-actu-card { background: #fff; border-radius: 16px; overflow: hidden; border: 0.5px solid var(--emv-border); transition: transform 0.2s, box-shadow 0.2s; }
.emv-actu-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(10,70,77,0.1); }
.emv-actu-img { width: 100%; height: 160px; object-fit: cover; display: block; }
.emv-actu-card__body { padding: 1.25rem; }
.emv-actu-card__date { font-size: 11px; font-weight: 700; color: var(--emv-amber); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 0.5rem; }
.emv-actu-card h3 { font-family: 'DynaPuff', cursive; font-size: 15px; color: var(--emv-teal); margin-bottom: 0.5rem; line-height: 1.3; }
.emv-actu-card h3 a { color: var(--emv-teal); text-decoration: none; }
.emv-actu-card h3 a:hover { color: var(--emv-violet); }
.emv-actu-card p { font-size: 13px; color: var(--emv-teal-mid); line-height: 1.6; margin-bottom: 0.75rem; }
.emv-actu-card__link { font-size: 13px; font-weight: 700; color: var(--emv-violet); text-decoration: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1150px) {
    .emv-nav__menu   { display: none; }
    .emv-nav__burger { display: flex; }
}

@media (max-width: 900px) {
    .emv-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .emv-hero__inner  { flex-direction: column; }
    .emv-hero__photos { display: none; }
    .emv-hero__title  { font-size: 26px; }
    .emv-grid-3       { grid-template-columns: 1fr; }
    .emv-grid-2       { grid-template-columns: 1fr; }
    .emv-temoignages  { grid-template-columns: 1fr; }
    .emv-profs        { grid-template-columns: 1fr; }
    .emv-infobande__inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

@media (max-width: 480px) {
    .emv-section { padding: 2rem 1.25rem; }
    .emv-hero    { padding: 2.5rem 1.25rem 5rem; }
    .emv-section__title { font-size: 22px; }
}

/* =============================================
   FIXES BURGER & MOBILE MENU
   ============================================= */

/* Forcer le masquage du burger sur desktop malgré GeneratePress */
.emv-nav__burger {
    display: none !important;
}

/* Seuil relevé à 1150px : le menu complet a besoin de place pour tous les items.
   En dessous, on bascule sur le burger mobile qui fonctionne parfaitement. */
@media (max-width: 1150px) {
    .emv-nav__menu { display: none !important; }
    .emv-nav__burger { display: flex !important; }
}

/* Sécurité anti-débordement horizontal sur la nav */
.emv-nav__inner {
    overflow: visible;
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

/* Bouton toggle "+" sous-menu mobile */
.emv-mobile-toggle {
    background: none !important;
    border: none !important;
    color: var(--emv-teal) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 0 12px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    flex-shrink: 0;
}

/* Row flex sur les items parents pour aligner lien + bouton */
.emv-nav__mobile-links .menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.emv-nav__mobile-links .menu-item-has-children > a {
    flex: 1;
}

.emv-nav__mobile-links .sub-menu {
    width: 100%;
}

/* =============================================
   PAGE HEADER — GÉNÉRIQUE (toutes les pages internes)
   ============================================= */
.emv-page-header {
    background: var(--emv-teal);
    padding: 3rem 2rem;
}

.emv-page-header__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.emv-page-header__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--emv-amber);
    margin-bottom: 0.75rem;
}

.emv-page-header__title {
    font-family: 'DynaPuff', cursive;
    font-size: 30px;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.emv-page-header__desc {
    font-size: 15px;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   SUBPAGE NAVIGATION CARDS
   ============================================= */
.emv-subpage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 1.5rem;
}

.emv-subpage-card {
    display: block;
    background: var(--emv-creme);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    border: 0.5px solid var(--emv-border);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.emv-subpage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(10,70,77,0.1);
}

.emv-subpage-card__icon {
    font-size: 28px;
    display: block;
    margin-bottom: 12px;
}

.emv-subpage-card h3 {
    font-size: 16px;
    color: var(--emv-teal);
    margin-bottom: 6px;
}

.emv-subpage-card p {
    font-size: 13px;
    color: var(--emv-teal-mid);
    line-height: 1.6;
    margin: 0;
    padding-right: 1.5rem;
}

.emv-subpage-card__arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 18px;
    color: var(--emv-violet);
    font-weight: 700;
}

@media (max-width: 768px) {
    .emv-subpage-grid { grid-template-columns: 1fr; }
    .emv-page-header__title { font-size: 24px; }
}

/* =============================================
   GALERIE PHOTOS
   ============================================= */
.emv-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 1.25rem;
}

.emv-gallery-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.emv-gallery-item {
    border-radius: 14px;
    height: 150px;
    overflow: hidden;
    background: #d8eff3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emv-gallery-item:nth-child(2) { background: #f5edfc; }
.emv-gallery-item:nth-child(3) { background: #ddf0e5; }
.emv-gallery-item:nth-child(4) { background: #fef3d8; }

.emv-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.emv-gallery-placeholder {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 0 12px;
    color: rgba(10,70,77,0.4);
    line-height: 1.5;
}

.emv-gallery-placeholder small {
    font-weight: 600;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .emv-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   PAGE TARIFS — TABLEAU, NOTES, PDF, PERMANENCES
   ============================================= */
.emv-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--emv-amber);
    color: #a06b10;
    padding: 9px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.emv-pdf-btn:hover {
    background: var(--emv-amber);
    color: var(--emv-teal);
}

.emv-tarif-table {
    background: #fff;
    border-radius: 16px;
    border: 0.5px solid rgba(0,0,0,0.07);
    overflow: hidden;
}

.emv-tarif-table__head {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: var(--emv-teal);
    padding: 0.75rem 1.25rem;
}

.emv-tarif-table__head span {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emv-tarif-table__head .center { text-align: center; }

.emv-tarif-table__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #f0ede6;
    align-items: center;
}

.emv-tarif-table__row:last-child { border-bottom: none; }
.emv-tarif-table__row:nth-child(even) { background: var(--emv-creme); }

.emv-tarif-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--emv-teal);
    line-height: 1.4;
}

.emv-tarif-price {
    font-family: 'DynaPuff', cursive;
    font-size: 14px;
    color: #a06b10;
    text-align: center;
}

.emv-notes-box {
    background: var(--emv-amber-light);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
}

.emv-notes-box p {
    font-size: 11.5px;
    color: #7a4f00;
    line-height: 1.7;
    margin-bottom: 4px;
}

.emv-notes-box p:last-child { margin-bottom: 0; }

.emv-inscription-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.emv-inscription-item {
    background: rgba(255,255,255,0.06);
    border: 0.5px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.emv-inscription-date {
    background: var(--emv-amber);
    border-radius: 10px;
    min-width: 60px;
    text-align: center;
    padding: 6px 8px;
    flex-shrink: 0;
}

.emv-inscription-date .d {
    font-family: 'DynaPuff', cursive;
    font-size: 17px;
    color: var(--emv-teal);
    line-height: 1;
}

.emv-inscription-date .m {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(10,70,77,0.7);
}

.emv-inscription-info h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.emv-inscription-info p {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

@media (max-width: 768px) {
    .emv-tarif-table__head span:not(:first-child),
    .emv-tarif-table__row span:not(.emv-tarif-label) {
        font-size: 11px;
    }
    .emv-tarif-label { font-size: 11.5px; }
}

/* =============================================
   PAGE CALENDRIER — TIMELINE PAR MOIS
   ============================================= */
.emv-month-group {
    margin-bottom: 1.75rem;
}

.emv-month-group:last-child {
    margin-bottom: 0;
}

.emv-month-title {
    font-family: 'DynaPuff', cursive;
    font-size: 15px;
    color: var(--emv-violet);
    margin-bottom: 0.75rem;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--emv-violet-light);
}

.emv-event-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #f0ede6;
}

.emv-event-row:last-child {
    border-bottom: none;
}

.emv-event-date {
    background: var(--emv-vert-light);
    border-radius: 10px;
    min-width: 56px;
    text-align: center;
    padding: 6px 4px;
    flex-shrink: 0;
}

.emv-event-date--audition {
    background: var(--emv-violet-light);
}

.emv-event-date .d {
    font-family: 'DynaPuff', cursive;
    font-size: 15px;
    color: #1a5c35;
    line-height: 1;
}

.emv-event-date--audition .d {
    color: #5c2d6b;
}

.emv-event-date .h {
    font-size: 9px;
    font-weight: 700;
    color: rgba(26,92,53,0.7);
    text-transform: uppercase;
}

.emv-event-date--audition .h {
    color: rgba(92,45,107,0.7);
}

.emv-event-body {
    flex: 1;
}

.emv-event-body h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--emv-teal);
    margin-bottom: 3px;
}

.emv-event-body p {
    font-size: 12px;
    color: var(--emv-teal-mid);
    line-height: 1.5;
    margin: 0;
}

.emv-event-tags {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.emv-event-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    background: var(--emv-vert-light);
    color: var(--emv-vert);
}

.emv-event-tag--audition {
    background: var(--emv-violet-light);
    color: var(--emv-violet);
}

/* =============================================
   PAGE QUI SOMMES-NOUS
   ============================================= */
.emv-callout {
    background: var(--emv-violet-light);
    border-left: 4px solid var(--emv-violet);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    margin: 1.25rem 0 0;
}

.emv-callout p {
    font-size: 13px;
    color: #5c2d6b;
    line-height: 1.65;
    font-style: italic;
    margin: 0;
}

.emv-bureau-title,
.emv-membres-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--emv-teal);
    margin: 1.5rem 0 0.9rem;
}

.emv-bureau-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.emv-bureau-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    border: 0.5px solid rgba(0,0,0,0.07);
    text-align: center;
}

.emv-bureau-card__role {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--emv-violet);
    margin-bottom: 4px;
}

.emv-bureau-card__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--emv-teal);
}

.emv-membres-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.emv-membre-pill {
    background: var(--emv-creme);
    border: 1px solid var(--emv-border);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--emv-teal);
}

.emv-partner-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.75rem;
}

.emv-partner-pill {
    background: #fff;
    border: 1px solid var(--emv-border);
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--emv-teal);
}

.emv-partner-note {
    font-size: 11.5px;
    color: var(--emv-violet);
    font-weight: 600;
    margin-top: 8px;
}

.emv-partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-top: 1rem;
}

.emv-partner-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .emv-bureau-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   PAGE CONTACT
   ============================================= */
.emv-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
}

.emv-info-card {
    background: var(--emv-creme);
    border-radius: 16px;
    padding: 1.5rem;
    border: 0.5px solid var(--emv-border);
}

.emv-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 1.1rem;
}

.emv-info-item:last-child {
    margin-bottom: 0;
}

.emv-info-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.emv-info-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--emv-violet);
    margin-bottom: 2px;
}

.emv-info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--emv-teal);
    line-height: 1.5;
}

.emv-info-value a {
    color: var(--emv-teal);
    text-decoration: none;
}

.emv-info-value a:hover {
    color: var(--emv-violet);
}

.emv-map-embed {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    margin-top: 1.25rem;
    border: 0;
    display: block;
}

.emv-form-card {
    background: #fff;
}

.emv-form-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--emv-teal);
    margin-bottom: 1rem;
}

/* --- Styles du formulaire Contact Form 7 --- */
.emv-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.emv-form-group {
    margin-bottom: 1rem;
}

.emv-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--emv-teal-mid);
    margin-bottom: 5px;
}

.emv-form-group .optional {
    font-weight: 400;
    color: #888;
    text-transform: none;
    letter-spacing: 0;
}

.wpcf7-form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--emv-border);
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    color: var(--emv-teal);
    background: var(--emv-creme);
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--emv-violet);
}

textarea.wpcf7-form-control {
    resize: vertical;
    min-height: 100px;
}

.emv-form-submit {
    background: var(--emv-teal);
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
}

.emv-form-submit:hover {
    background: var(--emv-violet);
}

.wpcf7-not-valid-tip {
    font-size: 11px;
    color: #c0392b;
    margin-top: 4px;
}

.wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 12.5px;
}

@media (max-width: 768px) {
    .emv-contact-grid { grid-template-columns: 1fr; }
    .emv-form-row { grid-template-columns: 1fr; }
}

/* =============================================
   CONTENU GÉNÉRIQUE (page.php) — TYPOGRAPHIE GUTENBERG
   ============================================= */
.emv-prose {
    max-width: 760px;
}

.emv-prose h2 {
    font-family: 'DynaPuff', cursive;
    font-size: 20px;
    color: var(--emv-teal);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.emv-prose h2:first-child {
    margin-top: 0;
}

.emv-prose h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--emv-violet);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.emv-prose p {
    font-size: 14px;
    color: var(--emv-teal-mid);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.emv-prose ul,
.emv-prose ol {
    margin: 0 0 1rem 0;
    padding-left: 1.25rem;
}

.emv-prose li {
    font-size: 14px;
    color: var(--emv-teal-mid);
    line-height: 1.8;
    margin-bottom: 0.4rem;
}

.emv-prose a {
    color: var(--emv-violet);
    text-decoration: underline;
}

.emv-prose a:hover {
    color: var(--emv-teal);
}

.emv-prose strong {
    color: var(--emv-teal);
    font-weight: 700;
}

.emv-prose hr {
    border: none;
    border-top: 1px solid var(--emv-border);
    margin: 2rem 0;
}

.emv-prose blockquote {
    background: var(--emv-violet-light);
    border-left: 4px solid var(--emv-violet);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    font-style: italic;
    color: #5c2d6b;
}

.emv-prose img {
    border-radius: 12px;
    margin: 1rem 0;
}

/* Galeries photos natives WordPress dans les articles */
.emv-prose .wp-block-gallery {
    margin: 1.5rem 0;
    gap: 10px;
}

.emv-prose .wp-block-gallery .wp-block-image img {
    border-radius: 12px;
}

.emv-prose figcaption {
    font-size: 12px;
    color: var(--emv-teal-mid);
    text-align: center;
    margin-top: 6px;
    font-style: italic;
}

/* =============================================
   ACTUALITÉS — LISTE, PAGINATION, ARTICLE
   ============================================= */
.emv-actu-card__img--placeholder {
    height: 160px;
    background: var(--emv-violet-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.emv-actu-card__img--placeholder span {
    font-size: 32px;
    opacity: 0.4;
}

.emv-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.emv-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--emv-border);
    color: var(--emv-teal);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.emv-pagination .page-numbers:hover {
    background: var(--emv-creme);
    border-color: var(--emv-violet);
}

.emv-pagination .page-numbers.current {
    background: var(--emv-teal);
    border-color: var(--emv-teal);
    color: #fff;
}

.emv-single-thumbnail {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.emv-single-thumbnail img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin-top: -1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 32px rgba(10,70,77,0.15);
}

@media (max-width: 768px) {
    .emv-single-thumbnail { padding: 0 1.25rem; }
    .emv-single-thumbnail img { max-height: 240px; }
}

/* =============================================
   ALBUMS PHOTOS — PHOTOTHÈQUE
   ============================================= */
.emv-album-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 0.5px solid var(--emv-border);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.emv-album-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(10,70,77,0.12);
}

.emv-album-card__img {
    height: 170px;
    background: var(--emv-violet-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.emv-album-placeholder {
    font-size: 32px;
    opacity: 0.4;
}

.emv-album-card__body {
    padding: 1.1rem;
}

.emv-album-card__date {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--emv-violet);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.emv-album-card__body h3 {
    font-family: 'DynaPuff', cursive;
    font-size: 14.5px;
    color: var(--emv-teal);
    line-height: 1.3;
    margin: 0;
}