:root{
  --bg:#fffefe;
  --card:#ffffff;
  --brand:#d52b1e;
  --brand-2:#b31b1b;
  --accent:#0d1b2a;
  --text:#1e1f21;
  --muted:#6b6f75;
  --maxw:980px;
}
*{box-sizing:border-box}
html{font-size:16px}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(135deg,var(--bg),#fff);
}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--maxw);margin:0 auto;padding:24px 20px}
.topbar{
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
  color:#fff;
  
}
.nav{display:flex;align-items:center;justify-content:space-between}
.logo{font-weight:900;letter-spacing:.4px;font-size:1.2rem}
.logo span{opacity:.9}
.menu{display:flex;gap:18px;flex-wrap:wrap}
.menu a{color:#fff;font-weight:700;opacity:.95}
.menu a:hover{opacity:1;text-decoration:none;border-bottom:2px solid rgba(255,255,255,.9)}
.hero{
  background:
    radial-gradient(900px 380px at 10% -10%, rgba(255,255,255,.55), transparent),
    radial-gradient(1300px 480px at 100% 0%, rgba(255,255,255,.28), transparent);
  padding:64px 0 40px;
}
.hero h1{font-size:2.1rem;line-height:1.2;margin:.2rem 0 1rem}
.hero p{color:#2a2a2a;font-size:1.05rem}
.cta{
  display:inline-block;margin-top:18px;padding:12px 18px;border-radius:999px;
  background:#fff;color:var(--brand);font-weight:800;border:2px solid #fff;
  box-shadow:0 8px 24px rgba(213,43,30,.18);
}

.cards{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
.card{
  background:var(--card);border:1px solid #f0f2f5;border-radius:16px;padding:18px;
  box-shadow:0 6px 20px rgba(13,27,42,.06);
}
.card h3{margin:.2rem 0 .6rem}
.badge{display:inline-block;padding:4px 10px;border-radius:999px;background:#ffe6e6;color:var(--brand);font-weight:800;font-size:.8rem;margin-bottom:8px}
.grid-2{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
footer{
  margin-top:40px;padding:26px 0;background:#fff;border-top:1px solid #eef1f5;color:var(--muted);
}
footer .footgrid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
small,.muted{color:var(--muted)}
h2{margin-top:8px}
.lead{font-size:1.1rem;color:#3a3a3a}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px 8px;border-bottom:1px solid #eef1f5;text-align:left}
.kicker{letter-spacing:.08em;font-weight:900;color:var(--accent);text-transform:uppercase;font-size:.78rem}
.form label{display:block;font-weight:800;margin:.5rem 0 .25rem}
.form input,.form textarea{
  width:100%;padding:12px 12px;border:1px solid #e8edf3;border-radius:12px;background:#fff;
}
.form textarea{min-height:160px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.button{display:inline-block;padding:12px 18px;border-radius:12px;background:var(--brand);color:#fff;font-weight:800;border:0}
.meta{font-size:.92rem;color:var(--muted)}
.post-title{font-size:2rem;margin:.3rem 0}
.post-header{margin:6px 0 14px}
blockquote{border-left:4px solid #ffd7d7;padding:10px 14px;background:#fff;border-radius:10px;margin:16px 0}
img{max-width:100%;height:auto;border:1px solid #eef1f5}
code,kbd{background:#fff5f5;border:1px solid #ffe0e0;padding:2px 6px;border-radius:6px}

/* Hero banner (image + alt) */
.hero-banner{
  position:relative;min-height:720px;display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.hero-banner .bg-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(0.75)}
.hero-banner-content{position:relative;z-index:2;text-align:center;color:#fff;max-width:760px;padding:40px 20px}
.hero-banner-content h1{font-size:2.4rem;margin-bottom:1rem;line-height:1.25}
.hero-banner-content p{font-size:1.1rem;color:#f1f1f1;margin-bottom:1.5rem}
.hero-banner-content .cta{background:#fff;color:#d52b1e;font-weight:700;text-decoration:none;padding:12px 24px;border-radius:999px;transition:all .2s}
.hero-banner-content .cta:hover{background:#ffe5e5;color:#b31b1b}

/* --- Section Profils vedettes --- */
.profiles {
  background: #fff;
  padding: 50px 0 40px;
  text-align: center;
}

.profiles h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: var(--brand-2);
}

.profiles .lead {
  color: var(--muted);
  margin-bottom: 2rem;
}

.profile-gallery {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.hp_relationship img {
  width: 167px;
  height: 167px;
  object-fit: cover;
  border-radius: 100%;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp_relationship img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(213, 43, 30, 0.25);
}
/* --- Section Profils vedettes --- */
.profiles {
  background: #fff;
  padding: 60px 0 50px;
  text-align: center;
}

.profiles h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: var(--brand-2);
}

.profiles .lead {
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.profile-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(13, 27, 42, 0.05);
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(213, 43, 30, 0.18);
}

.profile-card img {
  width: 120px;
  height: 120px;
  border-radius: 100%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

.profile-info h3 {
  font-size: 1.05rem;
  margin: 0.3rem 0 0.4rem;
  color: var(--brand-2);
}

.profile-info p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text);
  margin: 0.25rem 0;
}
/* --- HERO 内容移动端阅读优化 --- */
.hero {
  background: #fff;
  color: var(--text);
  text-align: left;
  padding: 0 5%;
  margin: 0 5%;
}

.hero .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 18px;
}

.hero h1 {
  font-size: 1.9rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--brand-2);
}

.hero p.lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.8rem;
}

.hero ul {
  padding-left: 20px;
  margin: 1rem 0 1.5rem;
}

.hero li {
  margin-bottom: 0.9rem;
  line-height: 1.55;
}

/* 主要段落与标题优化 */
.hp_maintext section {
  margin-bottom: 1.8rem;
}

.hp_maintext h2 {
  font-size: 1.25rem;
  margin: 1.4rem 0 0.6rem;
  color: var(--brand-2);
  line-height: 1.35;
}

.hp_maintext p {
  line-height: 1.6;
  margin: 0.6rem 0;
}

/* 城市板块调整 */
.city-section {
  margin: 1.8rem 0;
  padding: 1rem 1rem 0.5rem;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #eee;
}

.city-section h2 {
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--brand);
}

.city-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

/* CTA 按钮调整 */

.cta-container a:hover {
  background: var(--brand-2);
}

/* --- Mobile 端细节 --- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .hp_maintext h2 {
    font-size: 1.1rem;
  }
  .hero p, 
  .hp_maintext p {
    font-size: 0.96rem;
  }
  .city-section {
    padding: 0.8rem 0.8rem 0.5rem;
  }
}
/* --- Bouton sous les cartes de blog --- */
.blog-button-container {
  display: flex;
  justify-content: center;
  margin: 36px 0 24px;
}


/* ====== Bloc auteur (author-box) ====== */

.author-box {
  margin-top: 60px;
  padding: 28px 24px;
  border-top: 1px solid #eee;
  background-color: #fafafa;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  border-radius: 12px;
}

.author-box img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.author-box h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: #222;
}

.author-box p {
  margin: 0 0 12px;
  color: #555;
  line-height: 1.5;
}

.author-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.author-box ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #b71c1c; /* rouge érable du thème */
  transition: color 0.2s ease;
}

.author-box ul li a:hover {
  color: #d32f2f;
}

/* Responsive : mobile et tablette */
@media (max-width: 768px) {
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-box img {
    width: 100px;
    height: 100px;
  }

  .author-box ul {
    justify-content: center;
  }
}






