/* =========================================================
   Centre villégiature Marina Chibougamau — design system
   ========================================================= */
:root {
  --color-primary: #0e3a45;
  --color-primary-light: #17505f;
  --color-accent: #f2792c;
  --color-accent-dark: #d15f18;
  --color-lake: #1c7c8c;
  --color-bg: #f9f7f2;
  --color-bg-alt: #ffffff;
  --color-text: #1f2a2c;
  --color-text-muted: #62716f;
  --color-border: #e4e0d6;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Mulish', -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 58, 69, 0.10);
  --shadow-lg: 0 20px 50px rgba(14, 58, 69, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--color-primary); }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--color-accent-dark); font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: var(--font-body); transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 20px rgba(242,121,44,.35); }
.btn-accent:hover { background: var(--color-accent-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline-dark:hover { background: var(--color-primary); color: #fff; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(249,247,242,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(14,58,69,.12); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 8px; padding-bottom: 8px; transition: padding .25s ease; }
.site-header.scrolled .container { padding-top: 4px; padding-bottom: 4px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 120px; width: auto; transition: height .25s ease; }
.site-header.scrolled .brand img { height: 58px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; font-weight: 700; color: var(--color-primary); font-size: .95rem; position: relative; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--color-accent); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--color-accent-dark); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-social { display: flex; gap: 10px; }
.header-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-bg); color: var(--color-primary); transition: background-color .2s, color .2s; }
.header-social a:hover { background: var(--color-accent); color: #fff; }
.header-social svg { width: 16px; height: 16px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 26px; height: 26px; color: var(--color-primary); }

.mobile-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-drawer .backdrop { position: absolute; inset: 0; background: rgba(14,58,69,.55); opacity: 0; transition: opacity .25s ease; }
.mobile-drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(300px, 82vw); background: #fff; padding: 28px 24px; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; gap: 22px; }
body.menu-open .mobile-drawer { visibility: visible; }
body.menu-open .mobile-drawer .backdrop { opacity: 1; }
body.menu-open .mobile-drawer .panel { transform: translateX(0); }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }
.mobile-drawer nav a { text-decoration: none; font-weight: 700; font-size: 1.15rem; color: var(--color-primary); }
.mobile-drawer .close-drawer { align-self: flex-end; background: none; border: none; cursor: pointer; }
.mobile-drawer .close-drawer svg { width: 24px; height: 24px; }

/* ===== Hero / slider ===== */
.hero { position: relative; height: min(82vh, 660px); min-height: 480px; overflow: hidden; }
.hero .slide-item { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; background-size: cover; background-position: center; }
.hero .slide-item.active { opacity: 1; z-index: 1; }
.hero .slide-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,24,.55) 0%, rgba(6,20,24,.35) 35%, rgba(6,20,24,.94) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 70px; max-width: 720px; color: #fff; }
.hero-content .eyebrow { color: #ffd7ae; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.hero-content h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.hero-content p { color: rgba(255,255,255,.95); font-size: 1.1rem; max-width: 56ch; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.hero-dots { position: absolute; bottom: 26px; right: 26px; z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: background-color .2s, transform .2s; }
.hero-dots button.active { background: var(--color-accent); transform: scale(1.2); }

/* trust bar */
.trust-bar { background: var(--color-primary); color: #fff; }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; font-size: .92rem; }
.trust-bar .trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.trust-bar svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-header { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-header.left { margin-left: 0; text-align: left; }

/* Intro split */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intro-split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); height: 100%; object-fit: cover; }
@media (max-width: 900px) { .intro-split { grid-template-columns: 1fr; } }

/* Services grid */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.service-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: block; height: 260px; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover img { transform: scale(1.08); }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,58,69,0) 40%, rgba(9,32,38,.85) 100%); }
.service-card .label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.service-card .label svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .2s ease; }
.service-card:hover .label svg { transform: translateX(4px); }
.service-grid.compact .service-card { height: 200px; }

/* Sale banner */
.sale-card { background: linear-gradient(135deg, #fff6ea, #fff); border: 2px solid var(--color-accent); border-radius: var(--radius); padding: 48px; text-align: center; box-shadow: var(--shadow-lg); }
.sale-badge { display: inline-block; background: var(--color-accent); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 16px; }
.sale-card h2 { margin-bottom: 10px; }
.sale-card > p { max-width: 640px; margin: 0 auto 0; color: var(--color-text-muted); }
.sale-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; margin: 30px 0; }
.sale-fact { display: flex; flex-direction: column; gap: 2px; }
.sale-fact .value { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--color-primary); }
.sale-fact .label { font-size: .78rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.sale-note { font-size: .9rem; color: var(--color-text-muted); margin-bottom: 22px; }
.sale-note a { color: var(--color-accent-dark); font-weight: 700; text-decoration: none; }
@media (max-width: 600px) { .sale-card { padding: 32px 22px; } .sale-facts { gap: 24px; } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); color: #fff; border-radius: var(--radius); padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Video band */
.video-band { position: relative; padding: 90px 0; background: linear-gradient(rgba(9,32,38,.6), rgba(9,32,38,.6)), url('/images/2018/05/17/marina.jpg') center/cover; text-align: center; color: #fff; }
.video-band h2 { color: #fff; }
.video-band p { color: rgba(255,255,255,.85); max-width: 50ch; margin-left: auto; margin-right: auto; }
.video-embed-wrap { max-width: 860px; margin: 30px auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.video-embed-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Testimonials */
.testimonial-carousel { max-width: 760px; margin: 0 auto; position: relative; min-height: 220px; }
.testimonial-quote { display: none; text-align: center; }
.testimonial-quote.active { display: block; }
.testimonial-quote .quote-icon { font-family: var(--font-heading); font-size: 3.5rem; color: var(--color-accent); line-height: 1; margin-bottom: 6px; }
.testimonial-quote p.msg { font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-primary); font-weight: 500; }
.testimonial-quote p.name { color: var(--color-text-muted); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.testimonial-nav { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.testimonial-nav button { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--color-border); cursor: pointer; padding: 0; }
.testimonial-nav button.active { background: var(--color-accent); }

/* Contact */
.contact-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-bottom: 50px; }
.contact-feature { background: var(--color-bg-alt); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; align-items: flex-start; gap: 16px; }
.contact-feature .icon-wrap { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--color-accent); color: #fff; flex-shrink: 0; }
.contact-feature .icon-wrap svg { width: 22px; height: 22px; }
.contact-feature h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-feature a, .contact-feature p { color: var(--color-text-muted); text-decoration: none; margin: 0; }
.contact-feature a:hover { color: var(--color-accent-dark); }

.contact-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.contact-grid > * { flex: 1 1 380px; min-width: 300px; }
.contact-form { background: var(--color-bg-alt); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea { font-family: var(--font-body); font-size: .95rem; padding: 13px 16px; border-radius: 8px; border: 1px solid var(--color-border); background: var(--color-bg); color: var(--color-text); resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.contact-form button { align-self: flex-start; background: var(--color-accent); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1rem; padding: 13px 30px; border-radius: 999px; border: none; cursor: pointer; transition: background-color .2s; }
.contact-form button:hover { background: var(--color-accent-dark); }
.map-embed { width: 100%; height: 100%; min-height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-embed.map-full { min-height: 480px; }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; transition: transform .3s ease; }
.gallery-grid a { overflow: hidden; border-radius: 10px; display: block; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* Media list (video embeds, one per line) */
.media-list { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.media-list .fb-video { max-width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-list .fb-video iframe { max-width: 100%; }

/* Page hero (interior pages) */
.page-hero { position: relative; padding: 90px 0 60px; color: #fff; background-size: cover; background-position: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(9,32,38,.62); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 6px; }
.page-hero p { color: rgba(255,255,255,.85); margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.breadcrumb a { color: #fff; text-decoration: none; font-weight: 700; }

/* Service detail page layout */
.service-detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.service-lede p { font-size: 1.02rem; }
.service-lede a { color: var(--color-accent-dark); font-weight: 700; text-decoration: underline; }
.service-sidebar { position: sticky; top: 100px; background: var(--color-bg-alt); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.service-sidebar h3 { font-size: 1.15rem; }
.service-sidebar .btn { margin-top: 14px; }
@media (max-width: 900px) { .service-detail-grid { grid-template-columns: 1fr; } .service-sidebar { position: static; } }

/* Tarif blocks */
.tarif-block { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; background: var(--color-bg-alt); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 26px; }
.tarif-block img { border-radius: 10px; height: 180px; width: 100%; object-fit: cover; }
.tarif-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--color-border); gap: 16px; }
.tarif-row:last-child { border-bottom: none; }
.tarif-row span:first-child { font-weight: 600; }
.tarif-row .price { font-family: var(--font-heading); font-weight: 700; color: var(--color-accent-dark); white-space: nowrap; }
.tarif-row .price.tbd { font-family: var(--font-body); font-weight: 700; color: var(--color-lake); font-size: .92rem; }
.tarif-note { max-width: 900px; margin: 10px auto 0; color: var(--color-text-muted); font-size: .88rem; line-height: 1.8; }
@media (max-width: 700px) { .tarif-block { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--color-primary); color: rgba(255,255,255,.8); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-brand img { height: 270px; margin-bottom: 14px; border-radius: 8px; }
.footer-brand p { color: rgba(255,255,255,.7); max-width: 34ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.8); font-weight: 600; }
.footer-links a:hover { color: var(--color-accent); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact a { text-decoration: none; color: rgba(255,255,255,.8); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.footer-contact svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background-color .2s; }
.footer-social a:hover { background: var(--color-accent); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
.footer-bottom a { color: rgba(255,255,255,.8); text-decoration: none; }

hr.divider { border: none; border-top: 1px solid var(--color-border); margin: 0; }

/* Responsive */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .section { padding: 52px 0; }
}
