/* Polices système — aucune dépendance externe */

:root {
  --primary: #1B4332;
  --primary-light: #2D6A4F;
  --primary-dark: #0D2B20;
  --secondary: #D4A853;
  --secondary-light: #E8C47A;
  --white: #FFFFFF;
  --off-white: #F7F9F8;
  --light-gray: #E8EEEB;
  --mid-gray: #B8CFC0;
  --dark-gray: #3A4A3E;
  --text: #1C2B22;
  --text-light: #5A7060;

  --space-xs: 8px;
  --space-sm: 20px;
  --space-md: 40px;
  --space-lg: 72px;
  --space-xl: 112px;

  --radius: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --transition: 0.25s ease;
  --shadow: 0 4px 24px rgba(27,67,50,0.09);
  --shadow-lg: 0 12px 48px rgba(27,67,50,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-light); line-height: 1.8; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

img { display: block; max-width: 100%; height: auto; }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-gray);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.logo span { color: var(--secondary); }

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--secondary);
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,67,50,0.28); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); }

/* ── HERO HOMEPAGE ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,43,32,0.85) 0%, rgba(27,67,50,0.48) 55%, rgba(0,0,0,0.18) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: var(--space-lg);
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
}
.hero-content h1 { color: var(--white); max-width: 700px; margin-bottom: var(--space-sm); }
.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: var(--space-md);
}

/* ── INTRO SECTION (homepage) ── */
.intro-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-xl) 48px;
  max-width: 1280px;
  margin: 0 auto;
}
.intro-text h2 { margin-bottom: var(--space-sm); }
.intro-text p + p { margin-top: var(--space-sm); }
.intro-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.stat-card {
  background: var(--off-white);
  border-left: 4px solid var(--secondary);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.stat-number {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ── THEMES SECTION ── */
.themes-section {
  background: var(--off-white);
  padding: var(--space-xl) 0;
}
.section-title {
  text-align: center;
  margin-bottom: var(--space-xs);
}
.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}
.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}
.theme-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-md);
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.theme-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.theme-card h3,
.theme-card p {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.theme-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.theme-card p { font-size: 0.88rem; color: rgba(255,255,255,0.82); line-height: 1.6; }

/* ── SPLIT SECTION (homepage) ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-content {
  padding: var(--space-xl) 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  display: block;
  margin-bottom: var(--space-sm);
}
.split-content h2 { margin-bottom: var(--space-sm); }
.split-content p + p { margin-top: var(--space-sm); }
.split-content .btn { margin-top: var(--space-md); align-self: flex-start; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: var(--space-sm); }
.cta-banner p { color: rgba(255,255,255,0.82); max-width: 600px; margin: 0 auto var(--space-md); font-size: 1.05rem; }

/* ── PAGE HERO (amenagements) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
}
.page-hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,43,32,0.88) 0%, rgba(13,43,32,0.40) 60%, rgba(0,0,0,0.10) 100%);
  z-index: 0;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: var(--space-lg);
}
.page-hero-content .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-sm);
  padding: 0;
  background: none;
}
.page-hero-content .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-hero-content .breadcrumb a:hover { color: var(--secondary); }
.page-hero-content .breadcrumb span { color: rgba(255,255,255,0.5); }
.page-hero-content h1 { color: var(--white); max-width: 720px; margin-bottom: var(--space-sm); }
.page-hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; }

/* ── CONTENT INTRO ── */
.content-intro {
  padding: var(--space-xl) 48px;
  max-width: 1280px;
  margin: 0 auto;
}
.content-intro h2 { margin-bottom: var(--space-sm); }
.content-intro p + p { margin-top: var(--space-sm); }

/* ── IDEA SECTIONS ── */
.idea-section {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--light-gray);
}
.idea-section--alt { background: var(--off-white); }

.idea-number {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: -20px;
}
.idea-title {
  margin-bottom: var(--space-md);
  max-width: 720px;
}

.idea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.idea-grid--reverse .idea-image { order: -1; }

.idea-content h3 {
  margin: var(--space-md) 0 var(--space-sm);
  font-size: 1.1rem;
}
.idea-content p + p { margin-top: var(--space-sm); }

.idea-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  max-height: 500px;
}

.idea-list {
  list-style: none;
  margin-bottom: var(--space-md);
}
.idea-list li {
  padding: 10px 0 10px var(--space-md);
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
}
.idea-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}

.tip-box {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  margin-top: var(--space-md);
}
.tip-box strong { display: block; color: var(--secondary); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.tip-box p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }

.idea-content-full { max-width: 100%; }
.idea-content-full > p { max-width: 780px; margin-bottom: var(--space-md); }

/* ── MINI CARDS GRID ── */
.ideas-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.mini-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all var(--transition);
}
.mini-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mini-card h3 { font-size: 1rem; margin-bottom: var(--space-xs); color: var(--primary); }
.mini-card p { font-size: 0.9rem; }
.idea-section--alt .mini-card { background: var(--white); }

/* ── TRENDS SECTION ── */
.trends-section {
  background: var(--primary-dark);
  padding: var(--space-xl) 0;
}
.trends-section .section-title { color: var(--white); }
.trends-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-lg);
}
.trend-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trend-num {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  min-width: 60px;
}
.trend-body h3 { color: var(--white); margin-bottom: 8px; }
.trend-body p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ── SCROLL ANIMATIONS ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-lg) 0 var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer-brand .logo { color: var(--white); font-size: 1.3rem; margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--secondary); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .themes-grid { grid-template-columns: 1fr 1fr; }
  .header-inner, .container { padding: 0 32px; }
  .intro-section { padding: var(--space-xl) 32px; }
  .content-intro { padding: var(--space-xl) 32px; }
}

@media (max-width: 900px) {
  .intro-section { grid-template-columns: 1fr; gap: var(--space-md); }
  .intro-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1 1 140px; }
  .split-section { grid-template-columns: 1fr; }
  .split-image { min-height: 320px; }
  .split-content { padding: var(--space-lg) var(--space-md); }
  .idea-grid { grid-template-columns: 1fr; }
  .idea-grid--reverse .idea-image { order: 0; }
  .ideas-cards-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --space-lg: 48px; --space-xl: 64px; --space-md: 28px; }
  .header-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
  .intro-section { padding: var(--space-xl) 20px; }
  .content-intro { padding: var(--space-xl) 20px; }
  .nav-links { display: none; }
  .themes-grid { grid-template-columns: 1fr; }
  .ideas-cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .split-content { padding: var(--space-md) 20px; }
  .trend-item { flex-direction: column; gap: var(--space-xs); }
}