/* ═══ HERO ═══ */
.cy-hero {
  position: relative; height: 260px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.cy-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.cy-hero-inner {
  position: relative; z-index: 2;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 85px 24px 24px;
}
.cy-hero-breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.6);
  animation: cy-fadeUp .35s ease .05s both;
  flex-wrap: wrap; justify-content: center;
}
.cy-hero-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.cy-hero-breadcrumb a:hover { color: #fff; }
.cy-hero-breadcrumb .sep { opacity: .4; }
.cy-hero-breadcrumb .current { color: rgba(255,255,255,.9); font-weight: 500; }
.cy-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: 52px; color: #fff; line-height: 1.05;
  animation: cy-fadeUp .4s ease .15s both;
}
.cy-hero-title em { font-style: italic; color: #ffc8d0; }
.cy-hero-count {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  padding: 6px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  animation: cy-fadeUp .4s ease .25s both;
}
.cy-hero-flag {
  width: 20px; height: 15px; border-radius: 2px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.3);
}

/* ═══ CONTAINER ═══ */
.cy-container { max-width: 1600px; margin: 0 auto; padding: 0 56px; }

/* ═══ PAGE HEADER ═══ */
.cy-page-header {
  padding: 48px 0 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 12px; gap: 16px; flex-wrap: wrap;
}
.cy-page-header-left h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 38px; color: #1a1a2e; line-height: 1.1; margin-bottom: 5px;
}
.cy-page-header-left h1 em { font-style: italic; color: #D01F3C; }
.cy-page-header-left p { font-size: 14px; color: #74748a; }
.cy-page-header-count { font-size: 13px; color: #74748a; white-space: nowrap; }

/* ═══ DIVIDER ═══ */
.cy-divider { height: 1px; background: #eaeaf2; margin: 20px 0 28px; }

/* ═══ RECHERCHE ═══ */
.cy-search-box { position: relative; width: 280px; margin-bottom: 32px; }
.cy-search-box svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #a0a0b0; pointer-events: none;
}
.cy-search-input {
  width: 100%; height: 44px; border-radius: 10px;
  border: 1.5px solid #eaeaf2; background: #fafafc;
  font-family: 'Inter', sans-serif; font-size: 13.5px; color: #1a1a2e;
  padding: 0 16px 0 42px; transition: border-color .15s, background .15s;
  box-sizing: border-box;
}
.cy-search-input::placeholder { color: #a0a0b0; }
.cy-search-input:focus { outline: none; border-color: #D01F3C; background: #fff; }

/* ═══ CITIES ═══ */
.cy-section { padding-bottom: 80px; min-height: 50vh; }
.cy-cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px; row-gap: 0;
}
.cy-city-row {
  display: flex; align-items: baseline; gap: 6px;
  padding: 15px 16px;
  border-bottom: 1px solid #eaeaf2;
  cursor: pointer; text-decoration: none; color: inherit;
  transition: background .13s;
}
.cy-city-row:hover { background: #fff0f2; }
.cy-city-row:hover .cy-city-name { color: #D01F3C; }
.cy-city-row-disabled {
  cursor: not-allowed; pointer-events: none;
}
.cy-city-row-disabled:hover { background: none; }
.cy-city-row-disabled .cy-city-name { color: #b8b8c4; }
.cy-city-name {
  font-size: 14px; font-weight: 600; color: #1a1a2e;
  transition: color .13s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cy-city-nb {
  font-size: 13px; color: #74748a; font-weight: 400; white-space: nowrap;
}
.cy-no-results {
  display: none; text-align: center; padding: 64px 0; color: #74748a; font-size: 14px;
}

/* ═══ FOOTER ═══ */
.cy-footer { background: #1a1a2e; padding: 56px 48px 32px; }
.cy-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 52px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cy-f-logo { font-family: 'DM Serif Display', serif; font-size: 20px; color: #fff; margin-bottom: 10px; }
.cy-f-logo em { color: #D01F3C; font-style: normal; }
.cy-f-desc { font-size: 12.5px; color: rgba(255,255,255,.35); line-height: 1.75; margin-bottom: 20px; }
.cy-f-contact { font-size: 12.5px; color: rgba(255,255,255,.45); line-height: 2; }
.cy-f-heading { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 14px; }
.cy-f-links { display: flex; flex-direction: column; gap: 9px; }
.cy-f-links a { font-size: 13px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .18s; }
.cy-f-links a:hover { color: #fff; }
.cy-footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.25); }

/* ═══ ANIMATIONS ═══ */
@keyframes cy-fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }

/* ═══ RESPONSIVE ≤1280 ═══ */
@media (max-width: 1280px) {
  .cy-container { padding: 0 32px; }
  .cy-cities-grid { column-gap: 16px; }
}
/* ═══ RESPONSIVE ≤1024 ═══ */
@media (max-width: 1024px) {
  .cy-container { padding: 0 24px; }
  .cy-cities-grid { grid-template-columns: repeat(3, 1fr); }
  .cy-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cy-page-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cy-hero-title { font-size: 42px; }
}
/* ═══ RESPONSIVE ≤900 (tablette portrait) ═══ */
@media (max-width: 900px) {
  .cy-cities-grid { grid-template-columns: repeat(2, 1fr); }
  .cy-hero { height: 240px; }
}
@media (max-width: 768px) {
  .cy-container { padding: 0 16px; }
  .cy-hero { height: 220px; }
  .cy-hero-title { font-size: 34px; }
  .cy-hero-inner { padding: 70px 16px 20px; gap: 10px; }
  .cy-hero-breadcrumb { font-size: 12px; }
  .cy-page-header { padding: 28px 0 0; }
  .cy-page-header-left h1 { font-size: 28px; }
  .cy-page-header-count { font-size: 12px; }
  .cy-cities-grid { grid-template-columns: repeat(2, 1fr); }
  .cy-search-box { width: 100%; }
  .cy-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cy-footer { padding: 40px 16px 28px; }
  .cy-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .cy-hero-title { font-size: 26px; }
  .cy-hero-count { font-size: 12px; padding: 6px 14px; }
  .cy-cities-grid { grid-template-columns: repeat(1, 1fr); }
  .cy-page-header-left h1 { font-size: 24px; }
}
