/* ═══════════════════════════════════════════════
   CABINET SIERRO — Shared styles (all pages)
   Fonts: Playfair Display + DM Sans
   Brand: #8d071a / #6f0414 / #fdf2f3
═══════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
    --red: #8d071a;
    --red-dark: #6f0414;
    --red-light: #fdf2f3;
    --red-mid: #b9505f;
    --text: #1a1a1a;
    --muted: #555;
    --border: rgba(0,0,0,0.08);
    --bg-alt: #f8f4f4;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
}
main { flex: 1; }
img { object-fit: cover; }

/* ── Nav (unchanged) ── */
.bg_RedColor { background-color: var(--red); }
ul { font-size: 16px; color: white; font-weight: bold; }
a.nav-link { color: white; }

/* ── Page banner ── */
.page-banner {
    background-position: center;
    background-size: cover;
    height: 280px !important;
    min-height: 280px !important;
    padding: 0;
    position: relative;
    display: block;
    flex-shrink: 0;
}
.page-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    margin: 0;
    -webkit-text-stroke: 1px rgba(0,0,0,0.2);
}

/* ── Section primitives ── */
.cs { padding: 56px 0; }
.cs-alt { background: var(--bg-alt); }
.cs-red {
    background: var(--red);
    padding: 56px 0;
}
.cs-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--red);
    font-weight: 500;
    margin-bottom: 6px;
}
.cs-label-white {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    margin-bottom: 6px;
}
.cs-heading {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}
.cs-heading-white {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.cs-divider {
    width: 40px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 32px;
}
.cs-divider-white {
    width: 40px;
    height: 3px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    margin-bottom: 32px;
}

/* ── Cards (split image+text) ── */
.split-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0,0,0,0.07);
    border: 1px solid var(--border);
    margin-bottom: 36px;
}
.split-card:last-child { margin-bottom: 0; }
.split-card-img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
}
.split-card-body {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.split-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: var(--red-light);
    color: var(--red);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    align-self: flex-start;
}
.split-card-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--red);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.split-card-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--muted) !important;
    margin: 0;
}
.split-card-body .btn-red {
    align-self: flex-start;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s;
    margin-top: 4px;
}
.split-card-body .btn-red:hover { background: var(--red-dark); color: #fff; }

/* ── Info rows (contact-style) ── */
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}
.info-row:last-child { margin-bottom: 0; }
.info-icon {
    width: 40px; height: 40px;
    background: var(--red-light);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.info-icon svg {
    width: 18px; height: 18px;
    stroke: var(--red); fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    font-weight: 400;
    margin-bottom: 2px;
}
.info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin: 0;
}
.info-value a { color: var(--red); text-decoration: none; }
.info-value a:hover { text-decoration: underline; }

/* ── White card shell ── */
.white-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.white-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--red) !important;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid var(--red-light);
}

/* ── CTA band ── */
.cta-band {
    background: var(--red);
    padding: 60px 20px;
    text-align: center;
}
.cta-band h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.cta-band p {
    font-size: 17px;
    color: rgba(255,255,255,0.8) !important;
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.7;
}
.cta-band .btn-white {
    background: #fff;
    color: var(--red);
    border: none;
    border-radius: 10px;
    padding: 12px 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s;
}
.cta-band .btn-white:hover { background: #f1e8e9; color: var(--red-dark); }

/* ── Footer ── */
.pageFoot { text-align: center; }
.pageFoot img { height: 20px; display: inline; }
.pageFoot p { color: white; display: inline; line-height: 30px; }
.infosFoot {
    width: 300px;
    margin: 0 auto;
    padding: 1.5rem 0;
}
.phone-link { color: var(--red); text-decoration: none; font-weight: bold; }
.phone-link:hover { color: var(--red-dark); text-decoration: underline; }
.pageFoot .phone-link { color: #fff; }
.phone-link-inline { color: inherit; text-decoration: underline; }

/* ── Horaires card (accueil) ── */
.hours-card {
    background: rgba(255,255,255,0.93);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 28px 28px 24px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
    max-width: 380px;
}
.hours-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--red-light);
}
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    color: var(--text);
    padding: 4px 0;
}
.hours-row .day { font-weight: 500; }
.hours-row .time { color: var(--muted); font-size: 13px; }
.hours-divider {
    height: 1px;
    background: var(--red-light);
    margin: 14px 0;
}
.hours-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    padding: 3px 0;
}
.hours-info-row svg {
    width: 14px; height: 14px;
    stroke: var(--red); fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
}
.hours-info-row a { color: var(--red); text-decoration: none; font-weight: 500; }
.hours-info-row a:hover { text-decoration: underline; }

/* ── Home banner ── */
.home-banner {
    background-position: center;
    background-size: cover;
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
}
.home-banner-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.25);
}
.home-banner-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 40px 0;
}

/* ── Team cards ── */
.team-section-wrap {
    margin-bottom: 56px;
}
.team-section-wrap:last-child { margin-bottom: 0; }
.team-section-header {
    margin-bottom: 32px;
    text-align: center;
}
.team-badge-pill {
    display: inline-block;
    padding: 8px 26px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}
.team-section-sub {
    color: var(--muted) !important;
    font-size: 16px;
    margin: 0;
}
.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 6px 22px rgba(0,0,0,0.07);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.team-card-img-wrap {
    width: 100%;
    height: 380px;
    overflow: hidden;
}
.team-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .3s;
}
.team-card:hover .team-card-img-wrap img { transform: scale(1.03); }
.team-card-body {
    padding: 22px 20px 24px;
    text-align: center;
}
.team-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--red) !important;
    margin-bottom: 6px;
}
.team-card-body p {
    font-size: 14px;
    color: var(--muted) !important;
    margin-bottom: 14px;
}
.team-card-body .btn-red {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s;
}
.team-card-body .btn-red:hover { background: var(--red-dark); }
.team-dentist { border-top: 5px solid var(--red); }
.team-hygienist { border-top: 5px solid var(--red-mid); }
.team-assistant { border-top: 5px solid #d8a1a9; }

/* ── Care cards (soins) ── */
.care-grid-section {
    background: var(--red);
    padding: 60px 0;
}
.care-grid-head { margin-bottom: 40px; text-align: center; }
.care-grid-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 10px;
}
.care-grid-head p { color: rgba(255,255,255,0.8) !important; font-size: 17px; }
.care-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    transition: background .2s;
}
.care-card:hover { background: rgba(255,255,255,0.13); }
.care-card-icon {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 18px;
}
.care-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px; font-weight: 700; color: #fff;
    margin-bottom: 16px;
}
.care-toggle-btn {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.6);
    color: #fff;
    border-radius: 999px;
    padding: 7px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}
.care-toggle-btn:hover {
    background: #fff;
    color: var(--red);
    border-color: #fff;
}
.care-collapse-text {
    background: #fff;
    color: #333;
    border-radius: 14px;
    padding: 18px;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
    margin-top: 14px;
}

/* ── Emergency card ── */
.emergency-section {
    background: var(--bg-alt);
    padding: 60px 0;
}
.emergency-card {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    border-top: 6px solid var(--red);
    box-shadow: 0 10px 32px rgba(0,0,0,0.08);
    padding: 44px;
    text-align: center;
}
.emergency-pill {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 6px 20px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.emergency-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px; font-weight: 700; color: var(--red);
    margin-bottom: 20px;
}
.emergency-card p {
    font-size: 16px; line-height: 1.7; color: #333 !important;
    margin-bottom: 12px;
}
.emergency-number {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 30px; font-weight: 700;
    padding: 12px 28px;
    border-radius: 14px;
    margin: 14px 0 10px;
    text-decoration: none;
    transition: background .15s;
}
.emergency-number:hover { background: var(--red-dark); color: #fff; }
.emergency-small { font-size: 13px !important; color: #888 !important; }
.emergency-alert { color: var(--red) !important; font-weight: 600; margin-top: 18px; }

/* ── Single employee ── */
.employee-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--red);
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 28px;
    font-size: 15px;
}
.employee-back:hover { text-decoration: underline; color: var(--red-dark); }
.employee-detail-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
}
.employee-photo-col {
    position: relative;
    min-height: 480px;
}
.employee-photo-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.employee-content-col {
    padding: 48px 44px;
}
.employee-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: var(--red-light);
    color: var(--red);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.employee-content-col h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px; font-weight: 700; color: var(--red);
    margin-bottom: 18px;
}
.employee-content-col blockquote {
    padding: 18px 22px;
    margin: 0 0 26px;
    border-left: 4px solid var(--red);
    background: var(--red-light);
    color: #333;
    font-style: italic;
    font-size: 16px;
    border-radius: 0 12px 12px 0;
}
.employee-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.employee-info-box {
    padding: 16px;
    border-radius: 14px;
    background: var(--bg-alt);
    border: 1px solid rgba(0,0,0,0.06);
}
.employee-info-box strong {
    display: block;
    color: var(--red);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
}
.employee-info-box span { color: #444; font-size: 14px; }
.employee-section { margin-top: 24px; }
.employee-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 18px; font-weight: 700; color: var(--red);
    margin-bottom: 12px;
}
.employee-section ul { padding-left: 18px; color: #333; }
.employee-section li { margin-bottom: 6px; font-size: 15px; line-height: 1.6; }

/* ════════════════════════
   RESPONSIVE
════════════════════════ */
@media (max-width: 991px) {
    .page-banner { height: 220px !important; min-height: 220px !important; }
    .page-banner h1 { font-size: 34px; }
    .split-card-body { padding: 32px 28px; }
    .employee-content-col { padding: 32px 28px; }
    .employee-info-grid { grid-template-columns: 1fr 1fr; }
    .employee-photo-col { min-height: 360px; }
    .hours-card { max-width: 100%; }
}

@media (max-width: 768px) {
    .page-banner { height: 160px !important; min-height: 160px !important; }
    .page-banner h1 { font-size: 26px; letter-spacing: 2px; }
    .cs { padding: 40px 0; }
    .cs-alt { padding: 40px 0; }
    .cs-red { padding: 40px 0; }
    .cs-heading, .cs-heading-white { font-size: 24px; }
    .split-card-body { padding: 26px 20px; }
    .split-card-body h2 { font-size: 22px; }
    .split-card-img { min-height: 260px; }
    .cta-band { padding: 44px 20px; }
    .cta-band h2 { font-size: 26px; }
    .emergency-card { padding: 28px 20px; }
    .emergency-number { font-size: 24px; }
    .employee-content-col { padding: 24px 18px; }
    .employee-info-grid { grid-template-columns: 1fr; }
    .employee-photo-col { min-height: 280px; }
    .employee-content-col h1 { font-size: 26px; }
    .home-banner { min-height: 420px; }
    .hours-card { padding: 22px 18px; }
    .team-card-img-wrap { height: 300px; }
    .care-card { padding: 24px 18px; }
    .care-grid-head h2 { font-size: 26px; }
}

@media (max-width: 480px) {
    .page-banner h1 { font-size: 24px; }
    .split-card-body h2 { font-size: 19px; }
}