/* ============================================================
   TLC – Tous les Châteaux
   style.css — Feuille de style globale
   Inclure sur toutes les pages AVANT le CSS spécifique à la page
   ============================================================ */

/* ─── GOOGLE FONTS ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ─── VARIABLES ───────────────────────────────────────────── */
:root {
  --navy:       #3C405C;
  --navy-dark:  #4A4D68;
  --navy-mid:   #4A4D68;
  --gold:       #FFC400;
  --gold-light: #FFC400;
  --gold-pale:  #fff0a0;
  --gold-bg:    #fffbe6;
  --white:      #ffffff;
  --gray-light: #f4f4f0;
  --gray-mid:   #e8e6e0;
  --gray-text:  #555555;
  --text-dark:  #1a1a1a;
  --green:      #2e7d32;
  --red:        #c62828;
  --selection-argent-bg: #E0DDDD;
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Montserrat sur tout sauf Font Awesome et H1 hero accueil */
*:not(i):not([class*="fa-"]):not([class*="fas"]):not([class*="far"]):not([class*="fab"]) {
  font-family: 'Montserrat', sans-serif !important;
}

/* Exception : H1 hero accueil en Baskerville */
.hero.index-hero .hero-content h1 {
  font-family: 'Libre Baskerville', 'Baskerville', Georgia, serif !important;
}

/* ─── BODY ────────────────────────────────────────────────── */
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

/* ─── TYPOGRAPHIE ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  line-height: 1.3;
}

/* Exception : H1 hero accueil en Baskerville */
.hero.index-hero .hero-content h1,
.hero.index-hero .hero-content h1 * {
  font-family: 'Libre Baskerville', 'Baskerville', Georgia, serif !important;
}

/* ─── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── AUTH BLOCK dans header ─────────────────────────────── */
#tlc-auth-block {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  background: #4A4D68;
  padding: 10px 0;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: none;
}
.topbar a, .topbar span {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: 12px;
  transition: color .2s;
}
.topbar a:hover { color: var(--gold); }

/* ─── HEADER ──────────────────────────────────────────────── */
header {
  background: var(--navy);
  padding: 12px 0 0;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: none;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-wrap img {
  height: auto;
  width: 260px;
  display: block;
  padding-bottom: 12px;
}
#tlc-fav-header-btn {
  flex-shrink: 0;
  margin-left: 0;
}

/* ─── NAV ─────────────────────────────────────────────────── */
nav {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 0;
}
nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 12px 22px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .5px;
  border-bottom: 3px solid transparent;
  transition: color .2s, background .2s;
  font-family: 'Montserrat', sans-serif !important;
  white-space: nowrap;
}
nav a:hover,
nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(255,255,255,.04);
}

/* ─── ICÔNES SOCIALES ─────────────────────────────────────── */
.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: transform .2s, opacity .2s;
  color: #fff;
}
.social-icon:hover { opacity: .85; transform: scale(1.1); }
.soc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  text-decoration: none; font-size: 13px; font-weight: 700;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.soc-fb  { background: transparent; color: #fff; }
.soc-ig  { background: transparent; color: #fff; }
.soc-yt  { background: transparent; color: #fff; }
.soc-tw  { background: transparent; color: #fff; }
.soc-btn:hover { background: rgba(255,255,255,.15) !important; color: #fff !important; }
.soc-btn i { color: #ffffff !important; }
.soc-btn:hover i { color: #ffffff !important; }

/* ─── BOUTONS LANGUE ───────────────────────────────────────── */
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 3px;
  text-decoration: none; font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.2);
  transition: all .2s;
}
.lang-btn:hover { background: #FFC400; color: #000; border-color: #FFC400; }
.lang-btn.active { color: #FFC400; border-color: #FFC400; }
.topbar-socials { display: flex; align-items: center; gap: 6px; }
.topbar-langs   { display: flex; align-items: center; gap: 6px; margin-left: 20px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.15); }

/* ─── BOUTONS ─────────────────────────────────────────────── */
.btn, .btn-gold, .btn-primary, .btn-submit,
.btn-action, .btn-action-gold,
button.btn, a.btn,
.hero-search button,
.newsletter-form button,
.topbar-btn.btn-gold {
  background: var(--gold) !important;
  color: #000000 !important;
  border: none;
  border-radius: 4px;
  padding: 10px 22px;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
}
.btn:hover, .btn-gold:hover, .btn-primary:hover, .btn-submit:hover,
.btn-action-gold:hover {
  background: #e6b000 !important;
  color: #000000 !important;
}
.btn-outline {
  background: var(--gold) !important;
  color: #000000 !important;
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
}
.btn-outline:hover { background: #e6b000 !important; }

/* ─── BADGES ──────────────────────────────────────────────── */
.badge-or      { background: var(--gold); color: #000000; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 2px; }
.badge-argent  { background: #9e9e9e; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 2px; }
.badge-ouvert  { background: var(--green); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 2px; }
.badge-ferme   { background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 2px; }
.badge-siecle  { background: var(--navy); color: var(--gold); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 2px; }

/* ─── CARTES CHÂTEAU ──────────────────────────────────────── */
.chateau-card {
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .2s, box-shadow .2s;
}
.chateau-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.card-img {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--navy);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.chateau-card:hover .card-img img { transform: scale(1.05); }
.card-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.card-fav {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(255,255,255,.9);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: transform .2s;
}
.card-fav:hover { transform: scale(1.2); }
.card-body {
  padding: 12px 14px;
  background: #ffffff;
}
.chateau-card .card-body {
  background: #3C405C;
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.card-location {
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 3px;
}
.card-activities, .card-acts {
  font-size: 11px;
  color: #ffffff;
}
.card-body i, .card-body .fa-solid, .card-body .fa-regular {
  color: #ffffff;
}
.card-rating {
  color: #FFC400;
  margin-bottom: 4px;
}

/* ─── CARDS GRID ──────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

/* ─── NEWSLETTER ──────────────────────────────────────────── */
.newsletter {
  background: #4A4D68;
  padding: 56px 24px;
  text-align: center;
}
.newsletter h2 { color: #ffffff; font-size: 24px; margin-bottom: 10px; }
.newsletter p  { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  outline: none;
  font-size: 14px;
}
.newsletter-form button {
  background: var(--gold);
  color: #000000;
  border: none;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-form button:hover { background: #e6b000; }

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #3C405C !important;
  padding: 52px 24px 0 !important;
  color: #ffffff !important;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 180px 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 45px;
}
footer h4 {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  color: #FFC400 !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
}
footer ul { list-style: none !important; }
footer ul li { margin-bottom: 8px !important; }
footer ul li a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13px !important;
  transition: color .2s !important;
}
footer ul li a:hover { color: #FFC400 !important; }
footer ul li a i { color: #FFC400 !important; margin-right: 5px !important; }
footer p { color: #ffffff !important; font-size: 13px !important; line-height: 1.7 !important; }
.footer-brand p { color: #ffffff !important; }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
  font-size: 12px;
  color: rgba(255,255,255,.3) !important;
}


/* ─── PICTOS : héritent la couleur du parent par défaut ─────── */
.meteo-widget i { color: #FFC400; }
.chateau-card .card-body i { color: #ffffff; }
header nav i, .topbar i { color: #ffffff; }
footer i { color: #FFC400; }
.btn-gold i, .btn i, button.btn i { color: #000000; }
.paiement-tag i, .activite-tag i { color: inherit; }

/* ─── FONT AWESOME ────────────────────────────────────────── */
.fa-solid, .fa-solid *, .fas, .fas *,
i.fa-solid, i.fas,
[class*="fa-solid"], [class*=" fa-"] {
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}
.fa-regular, .far,
i.fa-regular, i.far {
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 400 !important;
}
.fa-brands, .fab,
i.fa-brands, i.fab {
  font-family: 'Font Awesome 6 Brands' !important;
  font-weight: 400 !important;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .logo-wrap img { width: 180px; }
  nav { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
}

/* ─── LISTES AVEC COCHE FA ───────────────────────────────── */
.offer-features, .features-list, .abo-card ul {
  list-style: none;
}
.offer-features li, .features-list li, .abo-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.offer-features li::before,
.features-list li::before,
.abo-card ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}


/* ═══ FOOTER — styles forcés (écrasent les CSS des pages) ══════ */
footer { background: #3C405C !important; color: #ffffff !important; }
footer h4 { color: #FFC400 !important; font-size:12px !important; font-weight:700 !important; letter-spacing:1.5px !important; text-transform:uppercase !important; margin-bottom:16px !important; }
footer ul { list-style: none !important; }
footer ul li { margin-bottom: 8px !important; }
footer ul li a { color: #ffffff !important; text-decoration: none !important; font-size: 13px !important; }
footer ul li a:hover { color: #FFC400 !important; }
footer ul li a i { color: #FFC400 !important; margin-right: 5px !important; }
footer p, .footer-brand p { color: #ffffff !important; font-size: 13px !important; line-height: 1.7 !important; }
.footer-inner { max-width:1400px; margin:0 auto; display:grid !important; grid-template-columns:180px 1fr 1fr 1fr 1fr; gap:40px; padding-bottom:45px; }
@media(max-width:900px) { .footer-inner { grid-template-columns: 1fr 1fr !important; } }
@media(max-width:480px) { .footer-inner { grid-template-columns: 1fr !important; } }
