/* Rafraîchissement visuel réversible : retirer ce lien CSS pour retrouver le thème précédent. */
:root {
    --slvd-ink: #302823;
    --slvd-muted: #6c625c;
    --slvd-accent: #925e3e;
    --slvd-paper: #faf8f5;
    --slvd-line: #e8e0d8;
}

body { color: var(--slvd-muted); font-weight: 400; }
p { line-height: 1.8; }
a { color: var(--slvd-accent); }
a:hover { color: #684029; }
.bg-gray { background: var(--slvd-paper); }
.home-section { padding: 80px 0; }
.home-section hr, .section-heading > i { display: none; }
.section-heading { margin-bottom: 38px; }
.section-heading h2 {
    margin: 0;
    color: var(--slvd-ink);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.25;
    letter-spacing: -.8px;
    text-transform: none;
}
.section-heading::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin: 20px auto 0;
    border-radius: 3px;
    background: #b47b56;
}
#technique h3 {
    margin: 36px 0 18px;
    color: var(--slvd-accent);
    font-size: 21px;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: none;
}
#technique h3:first-child { margin-top: 0; }

/* Même navigation, débarrassée des pavés gris et des changements de couleur brusques. */
.navbar, .navbar-custom.top-nav-collapse { background: #211713; }
.navbar { border-bottom: 1px solid rgba(255,255,255,.1); }
.navbar-custom.top-nav-collapse { box-shadow: 0 4px 20px rgba(33,23,19,.12); }
.navbar-brand .site-name { letter-spacing: -.3px; }
.navbar-custom .nav.navbar-nav { background: transparent; }
.navbar-custom ul.nav li a { color: #eee6df; font-size: 11px; letter-spacing: .6px; }
.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus,
.navbar-custom .nav li.active { background: rgba(255,255,255,.07); border-radius: 6px; }
.navbar-custom .nav > li > a[aria-current="location"] { box-shadow: inset 0 -2px #c49370; }
.navbar-custom ul.nav ul.dropdown-menu {
    padding: 8px;
    border: 1px solid var(--slvd-line);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(33,23,19,.14);
}
.navbar-custom ul.nav ul.dropdown-menu li { border: 0; }
.navbar-custom ul.nav ul.dropdown-menu li a { color: var(--slvd-ink); border-radius: 6px; }
.navbar-custom ul.nav ul.dropdown-menu li a:hover,
.navbar-custom ul.nav ul.dropdown-menu li a:focus { background: #f4eee8; color: var(--slvd-accent); }

/* L’illustration et les trois disciplines restent au premier plan. */
#intro.intro { padding-bottom: 52px; }
.intro-image { border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.intro .slogan h1 { letter-spacing: -1px; text-shadow: none; }
.intro .slogan h4 { color: #d8c6b7; font-size: 14px; letter-spacing: 1.5px; text-shadow: none; }
.page-scroll .btn-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    font-size: 23px;
    border: 1px solid rgba(255,255,255,.45);
}

/* Portraits, grades et ordre des enseignants conservés. */
.teachers-grid .team {
    padding: 26px 20px;
    border: 1px solid var(--slvd-line);
    border-radius: 14px;
    background: #fff;
    color: var(--slvd-muted);
    box-shadow: 0 5px 20px rgba(56,40,29,.04);
}
.team h5 { color: var(--slvd-ink); font-size: 17px; letter-spacing: .3px; margin-bottom: 22px; }
.teacher-photo { max-width: 190px; margin: 0 auto; }
.team .avatar { margin-bottom: 18px; }
.team .avatar img:not(.teacher-photo) { width: auto; height: 76px; }
.team p.subtitle { margin-bottom: 0; font-size: 14px; line-height: 1.8; }

/* Tableau identique, contrastes et espacements plus lisibles. */
#service .table-responsive { border: 1px solid var(--slvd-line); border-radius: 12px; background: #fff; }
.schedule-table { margin-bottom: 0; border: 0; color: var(--slvd-ink); }
.schedule-table caption { padding: 22px 16px; color: var(--slvd-ink); font-size: 18px; font-weight: 700; }
.schedule-table thead { background: #574134; color: #fff; }
.schedule-table > thead > tr > th,
.schedule-table > tbody > tr > th,
.schedule-table > tbody > tr > td { border: 0; padding: 15px 18px; vertical-align: middle; }
.schedule-table > tbody > tr > th,
.schedule-table > tbody > tr > td { border-top: 1px solid #eee8e2; }
.schedule-table.table-striped > tbody > tr:nth-of-type(odd) { background: #faf8f5; }
#service .table-responsive + p { margin-top: 22px; }
#service .table-responsive + p a { text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }

/* Formulaire et coordonnées restent au même emplacement. */
#contact .boxed-grey, #contact .widget-contact {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--slvd-line);
    border-radius: 14px;
    color: var(--slvd-muted);
}
.contact-status { min-height: 0; }
#contact .form-group { margin-bottom: 22px; }
#contact label { margin-bottom: 9px; color: var(--slvd-ink); font-size: 12px; letter-spacing: .5px; }
#contact .form-control {
    min-height: 46px;
    border: 1px solid #d9cfc5;
    border-radius: 7px;
    background: #fdfcfb;
    color: var(--slvd-ink);
    box-shadow: none;
    font-size: 16px;
}
#contact textarea.form-control { min-height: 190px; resize: vertical; }
#contact .input-group-addon { border-color: #d9cfc5; border-radius: 7px 0 0 7px; background: #f4eee8; color: var(--slvd-accent); }
#contact .input-group .form-control { border-radius: 0 7px 7px 0; }
#contact .form-control:focus { border-color: var(--slvd-accent); box-shadow: 0 0 0 3px rgba(146,94,62,.1); }
#btnContactUs { padding: 13px 26px; border-radius: 7px; background: var(--slvd-accent); border-color: var(--slvd-accent); text-transform: none; }
#btnContactUs:hover { background: #74472e; border-color: #74472e; }
#btnContactUs:disabled { opacity: .65; }
#contact address { line-height: 1.8; margin-bottom: 22px; }
#contact address:last-child { margin-bottom: 0; }
#contact .social-card { padding: 17px 14px; gap: 12px; }
#contact .social-card-handle { font-size: 17px; }
#contact .social-card-label { font-size: 11px; letter-spacing: 0; }
#contact .social-card:last-child { margin-bottom: 0; }
footer { background: #30231c; padding: 36px 0; }
footer p { margin-bottom: 0; color: #d6c6b9; font-size: 13px; }
footer .marginbot-30 { margin-bottom: 20px !important; }

/* Le fil officiel Facebook est encadré sans altérer ses publications. */
#actualites .section-heading { margin-bottom: 20px; }
.news-intro { margin: 0 auto 32px; color: var(--slvd-muted); }
.facebook-news-card {
    max-width: 550px;
    margin: 0 auto;
    border: 1px solid var(--slvd-line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 36px rgba(56,40,29,.07);
    text-align: left;
}
.facebook-news-header { display: flex; align-items: center; gap: 14px; padding: 24px; border-bottom: 1px solid var(--slvd-line); }
.facebook-news-logo { flex-shrink: 0; width: 40px; height: 40px; }
.facebook-news-eyebrow { display: block; margin-bottom: 5px; color: var(--slvd-muted); font-size: 12px; }
.facebook-news-header h3 { margin: 0; color: var(--slvd-ink); font-size: 18px; line-height: 1.4; letter-spacing: -.3px; text-transform: none; }
.facebook-feed { padding: 20px 24px; background: #faf9f7; text-align: center; }
.facebook-feed .fb-page { display: block; max-width: 100%; }
.facebook-feed iframe { max-width: 100%; border: 0; border-radius: 6px; }
.facebook-feed-placeholder { margin: 0; padding: 24px 12px; font-size: 14px; line-height: 1.7; }
.facebook-feed:has(iframe) .facebook-feed-placeholder { display: none; }
.facebook-news-footer { padding: 20px 24px; border-top: 1px solid var(--slvd-line); }
.facebook-news-link { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 16px; border: 1px solid #d9cbbf; border-radius: 8px; background: #f6f0ea; color: #74472e; font-size: 14px; font-weight: 700; }
.facebook-news-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.facebook-news-link:hover, .facebook-news-link:focus { background: #eee3d9; color: #57321f; }
@media (max-width: 480px) {
    .facebook-news-header { padding: 20px 16px; gap: 12px; }
    .facebook-news-header h3 { font-size: 16px; }
    .facebook-news-eyebrow { font-size: 11px; }
    .facebook-feed { padding: 14px; }
    .facebook-news-footer { padding: 16px; }
    .facebook-news-link { font-size: 13px; gap: 10px; }
}

/* Remplace les rebonds par une apparition discrète, sans masquer le contenu. */
.wow.animated { animation: slvd-appear .45s ease-out both; }
.page-scroll .btn-circle:hover i.animated { animation: none; }
@keyframes slvd-appear { from { opacity: .65; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
    .home-section { padding: 54px 0; }
    .section-heading { margin-bottom: 28px; }
    .navbar-custom .nav.navbar-nav { background: transparent; }
    #intro.intro {
        min-height: 100vh;
        min-height: 100svh;
        /* Suit aussi la hauteur visible lorsque la barre du navigateur se replie. */
        min-height: 100dvh;
        padding: 85px 16px max(24px, env(safe-area-inset-bottom));
        justify-content: space-between;
        gap: 16px;
    }
    .intro-image {
        width: min(100%, calc(100vh - 300px));
        width: min(100%, calc(100svh - 300px));
        width: min(100%, calc(100dvh - 300px));
        flex-shrink: 0;
        border-radius: 12px;
    }
    .intro .slogan { padding: 0; }
    .intro .slogan h1 { font-size: 29px; }
    .intro .slogan h4 { font-size: 12px; line-height: 1.6; }
    .page-scroll a.btn-circle { width: 42px; height: 42px; padding: 0; border-width: 1px; }
    .teachers-grid > div { margin-bottom: 20px; }
    #contact .boxed-grey, #contact .widget-contact { padding: 22px 18px; }
    #contact .boxed-grey { margin-bottom: 24px; }
    .schedule-table caption { padding: 18px 10px; font-size: 16px; }
    .table-responsive > .schedule-table > thead > tr > th,
    .table-responsive > .schedule-table > tbody > tr > th,
    .table-responsive > .schedule-table > tbody > tr > td { padding: 12px 5px; white-space: normal; }
}
@media (max-width: 767px) and (max-height: 500px) and (orientation: landscape) {
    #intro.intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: 1fr auto;
        padding-top: 70px;
    }
    .intro-image { grid-column: 1; grid-row: 1 / 3; width: min(100%, calc(100svh - 100px)); justify-self: center; }
    .intro-image { width: min(100%, calc(100dvh - 100px)); }
    .intro .slogan { grid-column: 2; grid-row: 1; align-self: center; }
    .intro .slogan h1 { font-size: 23px; }
    .intro .page-scroll { grid-column: 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .wow.animated { animation: none; } }
