:root {
  --primary: f0dbff;        /* violet doux */
  --primary-dark: #5a2dbd;
  --accent: #ff9b3d;         /* orange chaleureux */
  --bg: f0dbff;
  --bg-alt: f0dbff;         /* léger violet clair */
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e8e5f7;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(34, 10, 71, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

@media all and (orientation:landscape) {
body {
  font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
/*  background: var(--bg); */
  line-height: 1.6;
  background-image: url("http://animationponey.fr/bg_portrait.jpeg?auto=compress&cs=tinysrgb&w=1600");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% auto;
}
}

@media all and (orientation: portrait) {
body {
  font-family: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
/*  background: var(--bg); */
  line-height: 1.6;
  background-image: url("http://animationponey.fr/bg_portrait.jpeg?auto=compress&cs=tinysrgb&w=1600");
	background-position: center;
/*	background-repeat: no-repeat; */
	background-size: 100% auto;
}
	
}

/* Utilities */
.container { margin: 0 auto; width: 90vw;}
.section {
	padding: 64px 0;
	min-height: 100vh;
}
.section-alt { background: var(--bg-alt); }
.section-highlight { background: linear-gradient(180deg, #fff 0%, #f3ecff 100%); }
.mt { margin-top: 28px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1.2fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }



.media img { width: 100%; height: auto; border-radius: var(--radius); }


.hidden {
  opacity: 0;
  transform: translateY(50px);
}

.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}


/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 800; }
.brand img { width: 36px; height: 36px; }

.nav-list { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; color: var(--text); font-weight: 700; }
.nav-list .btn { margin-left: 8px; }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); }

/* Hero */
.hero { position: relative; height: 300px; min-height: 300px; clip-path: path("M0,0 L1800,0 L1800,200 C1200,300 600,300 0,200 Z");}
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,7,56,0.65), rgba(17,7,56,0.10));
  display: flex; align-items: center;
}
.hero h1 {
  color: #fff; font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 8px 0;
/*  clip-path: path("M0,250 C300,350 600,150 900,250 C1200,350 1500,150 1800,250 L1800,300 L0,300 Z");  */
}
.hero p { color: #FBCEB1; font-size: 1.05rem; margin: 0 0 18px 0; }
.hero-actions { display: flex; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 12px; font-weight: 800; text-decoration: none;
  border: 2px solid transparent; transition: transform 0.05s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-secondary { background: var(--accent); color: #1a1a1a; }

/* Lists */
.list { padding-left: 18px; }
.list li { margin-bottom: 8px; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { margin-bottom: 8px; }

/* Badges & links */

.link { color: var(--primary-dark); text-decoration: none; font-weight: 700; }
.link:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: #130a2b; color: #d8d3eb; padding: 44px 0; margin-top: 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer a { color: #eae6ff; text-decoration: none; }

/* Responsive */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute; right: 4%; top: 64px; background: #fff; border: 1px solid var(--border);
    border-radius: 12px; padding: 10px; display: none; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
  }
  .nav-list.open { display: flex; }
}