/* styles.css - MySweetChalet (final, 1400 mauve) */
:root {
  --bg: #f3e8ff;
  --text: #1a1a1a;
  --muted: #555;
  --brand: #2c7a7b;
  --accent: #c084fc;
  --maxw: 1400px;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --btn-radius: 999px; /* extrême pour obtenir des bouts bien arrondis */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid #eaeaea; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding-left: 16px; }
.brand img.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 999px; display: block; }
.brand span { font-weight: 700; color: var(--brand); letter-spacing: .3px; }

.menu { display: flex; gap: 18px; align-items: center; }
.menu a { color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: var(--btn-radius); }
.menu a.active, .menu a:hover { background: #f4f6f8; }
.lang-switch { margin-left: 8px; color: var(--muted); font-size: 14px; }
.lang-switch a { color: var(--brand); text-decoration: none; padding: 6px 8px; border-radius: var(--btn-radius); }
.lang-switch a:hover { background: #f4f6f8; }

.menu-toggle { display: none; border: 1px solid #ddd; background: #fff; padding: 8px 10px; border-radius: 10px; }

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .menu { display: none; width: 100%; }
  .menu.open { display: flex; flex-direction: column; padding: 10px 0; }
  .menu.open a { background: #fff; border: 1px solid #eee; margin: 6px 0; }
}

											
/* Hero 3:2 image left, text right (1.4 / 1) */
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; padding: 28px 0 16px; }
.hero .card { border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.hero img { width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }

h1 { font-size: clamp(28px, 3.8vw, 40px); margin: 8px 0; }
h2 { font-size: clamp(20px, 3vw, 30px); margin-top: 24px; }
p { color: var(--muted); margin: 10px 0; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 26px; }
.button { display: inline-block; padding: 10px 16px; border-radius: var(--btn-radius); text-decoration: none; background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.button.secondary { background: #f4f7f7; color: var(--brand); text-align: center; border-radius: var(--btn-radius); }
.button:hover { filter: brightness(.98); }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 18px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.grid img { width: 100%; height: 260px; object-fit: cover; border-radius: 10px; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; }
.badge { display:inline-block; padding:4px 8px; border-radius:8px; background:#f5f7f8; color: var(--brand); font-size:12px; }
.note { color: #777; font-size: 14px; }

footer { border-top: 1px solid #eee; margin-top: 30px; }
footer .container { padding: 24px 16px; font-size: 14px; color: var(--muted); }
																									 
/* Promos */
																									  
.promo-banner { display:flex; align-items:center; gap:8px; background:#fff5e6; border:1px solid #ffe3bd; color:#7a4b00; text-align: center; padding:10px 12px; border-radius:12px; box-shadow: var(--shadow); margin: 16px 0; }
.chip { display:inline-block; background:#ffcc80; color:#5f3b00; text-align: center; border-radius:999px; padding:4px 10px; font-size:12px; }
.promo-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }


@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid { grid-template-columns: 1fr; } .hero { grid-template-columns: 1fr; gap: 16px; } }
