/*
Theme Name: FILAA Theme
Theme URI: https://filaa.com
Author: OpenAI
Description: Thème WordPress one page pour le festival FILAA.
Version: 1.0
Text Domain: filaa-theme
*/

:root {
  --bg: #f8f4ed;
  --surface: #fffdf9;
  --surface-2: #f3ede3;
  --text: #1f1a17;
  --muted: #6f665f;
  --primary: #6e1f2a;
  --primary-dark: #4f141d;
  --accent: #c49b52;
  --border: rgba(31, 26, 23, 0.08);
  --shadow: 0 10px 35px rgba(31, 26, 23, 0.08);
  --radius: 18px;
  --container: 1180px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 96px 0; position: relative; scroll-margin-top: calc(var(--header-h) + 18px); }
.section--alt { background: var(--surface); }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(110, 31, 42, 0.08); color: var(--primary); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-head h2 {
  font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; margin: 0 0 12px;
}
.section-head p { max-width: 640px; margin: 0; color: var(--muted); }
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h); display: flex; align-items: center;
  background: rgba(255, 253, 249, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: fit-content; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center; color: white; font-family: "Playfair Display", serif; font-size: 1.2rem;
  font-weight: 700; box-shadow: var(--shadow);
}
.brand-text strong { display: block; font-size: 1.05rem; letter-spacing: .08em; }
.brand-text span { color: var(--muted); font-size: .9rem; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.nav a, .nav li a { font-size: .96rem; color: var(--muted); font-weight: 600; transition: color .25s ease; }
.nav a:hover, .nav a:focus, .nav li a:hover, .nav li a:focus { color: var(--primary); }
.nav ul { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; transition: .25s ease; cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 12px 28px rgba(110, 31, 42, 0.2); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); }
.btn-light { background: white; color: var(--primary); border-color: var(--border); }
.hero {
  padding: 90px 0 70px; color: white;
  background:
    linear-gradient(rgba(23,18,16,.52), rgba(23,18,16,.52)),
    radial-gradient(circle at top left, rgba(196,155,82,.25), transparent 40%),
    url('https://images.unsplash.com/photo-1512820790803-83ca734da794?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; min-height: calc(100vh - var(--header-h) - 90px); }
.hero-badge {
  display: inline-flex; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; backdrop-filter: blur(8px);
}
.hero h1 { font-family: "Playfair Display", serif; font-size: clamp(3rem, 6vw, 5.3rem); line-height: .95; margin: 0 0 18px; }
.hero p { font-size: 1.08rem; max-width: 640px; color: rgba(255,255,255,.88); margin: 0 0 28px; }
.hero-actions, .hero-meta, .pill-list { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions { margin-bottom: 30px; }
.meta-card {
  min-width: 150px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px);
}
.meta-card strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.meta-card span { color: rgba(255,255,255,.75); font-size: .92rem; }
.hero-panel {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 26px; padding: 28px; backdrop-filter: blur(12px); box-shadow: var(--shadow);
}
.hero-panel h3 { font-family: "Playfair Display", serif; font-size: 1.8rem; margin: 0 0 18px; }
.highlight-list { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.highlight-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: rgba(255,255,255,.9); }
.highlight-list li::before { content: "•"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3, .card h4 { margin-top: 0; margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); }
.icon-box {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(110, 31, 42, 0.08);
  color: var(--primary); font-size: 1.4rem; margin-bottom: 16px;
}
.festival-layout, .contact-wrap { display: grid; gap: 28px; }
.festival-layout { grid-template-columns: 1fr 1fr; align-items: stretch; }
.contact-wrap { grid-template-columns: 1fr .95fr; }
.festival-image {
  min-height: 520px; border-radius: 26px;
  background: linear-gradient(rgba(31,26,23,.18), rgba(31,26,23,.18)), url('https://images.unsplash.com/photo-1521587760476-6c12a4b040da?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  box-shadow: var(--shadow);
}
.schedule { display: grid; gap: 18px; }
.schedule-day { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.schedule-day h3 { margin: 0 0 14px; font-family: "Playfair Display", serif; font-size: 1.6rem; }
.program-item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--border); }
.program-item:first-of-type { border-top: 0; }
.program-time { color: var(--primary); font-weight: 700; }
.pill { padding: 10px 14px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: .92rem; font-weight: 600; }
.author-card, .news-card { overflow: hidden; padding: 0; }
.author-photo { aspect-ratio: 4 / 4.3; background: linear-gradient(135deg, rgba(110,31,42,.18), rgba(196,155,82,.26)); }
.author-photo img, .news-media img { width: 100%; height: 100%; object-fit: cover; }
.author-content, .news-content { padding: 24px; }
.author-role { color: var(--primary); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.news-media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-media img { transition: transform .4s ease; }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-date { display: inline-block; margin-bottom: 10px; color: var(--primary); font-weight: 700; font-size: .9rem; }
.cta-band {
  padding: 38px; border-radius: 28px; background: linear-gradient(135deg, var(--primary), #7e2b37, var(--primary-dark)); color: #fff;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; box-shadow: var(--shadow);
}
.cta-band h3 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
input, textarea, select {
  width: 100%; border: 1px solid var(--border); background: #fff; border-radius: 14px; padding: 15px 16px; font: inherit; color: var(--text); outline: none;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(110,31,42,.35); box-shadow: 0 0 0 4px rgba(110,31,42,.08); }
.contact-list { display: grid; gap: 16px; margin-top: 18px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--border); background: #f3ede4; }
.footer-wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); }
.screen-reader-text { position: absolute; left: -9999px; }
@media (max-width: 1100px) {
  .nav { display: none; }
  .hero-grid, .festival-layout, .contact-wrap, .cta-band, .grid-4, .grid-3, .grid-2, .section-head { grid-template-columns: 1fr; }
  .section-head { display: grid; }
}
@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .section { padding: 76px 0; }
  .hero { padding: 70px 0 50px; }
  .hero-grid { min-height: auto; }
  .hero h1 { line-height: 1.02; }
  .form-row, .program-item { grid-template-columns: 1fr; }
  .header-wrap { gap: 14px; }
  .brand-text span { display: none; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; }
}
