/*
Theme Name: Saint Fiacre Orleans Child
Template: astra
Version: 1.0.1
Description: Child theme pour la fete florale Saint-Fiacre Orleans 2026
Author: Corporation Saint-Fiacre
Text Domain: saint-fiacre-child
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500;1,700&family=Nunito:wght@300;400;600;700;800&display=swap');

:root {
  --sf-rouge:       #c05030;
  --sf-rouge-fonce: #9a3a20;
  --sf-bleu:        #3a6a9a;
  --sf-bleu-clair:  #daeaf5;
  --sf-brun:        #2a1a0e;
  --sf-brun-clair:  #7a5a40;
  --sf-creme:       #fffaf7;
  --sf-beige:       #f9f4ef;
  --sf-bordure:     #f0e0d0;
  --sf-vert:        #5a9a30;
  --font-titre:     'Playfair Display', Georgia, serif;
  --font-corps:     'Nunito', Arial, sans-serif;
}

/* BASE */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-corps);
  color: var(--sf-brun);
  background: #fff;
  line-height: 1.75;
  font-size: 16px;
}

/* TYPOGRAPHIE */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titre);
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
}
h1 { font-size: clamp(26px, 5vw, 40px); }
h2 { font-size: clamp(20px, 4vw, 28px); }
h3 { font-size: clamp(17px, 3vw, 21px); }
h1 em, h2 em, h3 em { color: var(--sf-rouge); font-style: italic; }

p { font-size: 15px; color: var(--sf-brun-clair); line-height: 1.85; margin-bottom: 1rem; }
a { color: var(--sf-bleu); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sf-rouge); }

/* HEADER ASTRA */
.site-header, #masthead {
  background: #fff !important;
  border-bottom: 1.5px solid var(--sf-bordure) !important;
  box-shadow: none !important;
}
.site-title { font-family: var(--font-titre) !important; font-style: italic; color: var(--sf-rouge) !important; font-size: 18px !important; }
.site-title a { color: var(--sf-rouge) !important; }
.site-description { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sf-brun-clair); font-weight: 600; }

/* MENU */
.main-header-menu .menu-item > a,
#site-navigation .menu-item > a {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: var(--sf-brun) !important;
}
.main-header-menu .menu-item > a:hover,
.main-header-menu .current-menu-item > a {
  color: var(--sf-rouge) !important;
}

/* BOUTONS */
.sf-btn-primary {
  display: inline-block;
  background: var(--sf-rouge);
  color: #fff !important;
  border: none;
  padding: 12px 28px;
  border-radius: 26px;
  font-family: var(--font-corps);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.sf-btn-primary:hover { background: var(--sf-rouge-fonce); }

.sf-btn-secondary {
  display: inline-block;
  background: #fff;
  color: var(--sf-bleu) !important;
  border: 2px solid var(--sf-bleu);
  padding: 11px 24px;
  border-radius: 26px;
  font-family: var(--font-corps);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.sf-btn-secondary:hover { background: var(--sf-bleu); color: #fff !important; }

/* HERO ACCUEIL */
.sf-hero {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem 2rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.sf-hero-poster img {
  width: 260px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(180,80,30,.18);
}
.sf-hero-eyebrow {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sf-rouge);
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.sf-hero-infos { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.5rem; }
.sf-hero-info-line { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.sf-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* BANDEAU CHIFFRES */
.sf-bandeau { background: var(--sf-rouge); display: flex; }
.sf-bandeau-item { flex: 1; text-align: center; padding: 14px 8px; border-right: 1px solid rgba(255,255,255,.2); }
.sf-bandeau-item:last-child { border-right: none; }
.sf-bandeau-num { font-family: var(--font-titre); font-size: 24px; font-weight: 700; color: #fff; display: block; }
.sf-bandeau-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #ffddd0; font-weight: 600; }

/* SECTIONS */
.sf-section { padding: 3.5rem 2rem; }
.sf-section-creme { background: var(--sf-creme); }
.sf-section-beige { background: var(--sf-beige); }
.sf-section-head { text-align: center; margin-bottom: 2.5rem; }
.sf-section-head p { max-width: 520px; margin: 0 auto; }

/* CARDS PILIERS */
.sf-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; max-width: 1100px; margin: 0 auto; }
.sf-pillar-card { background: #fff; border: 1px solid var(--sf-bordure); border-radius: 14px; padding: 1.8rem 1.4rem; text-align: center; transition: box-shadow 0.2s, transform 0.2s; }
.sf-pillar-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(192,80,48,.1); }
.sf-pillar-icon { font-size: 32px; color: var(--sf-rouge); margin-bottom: 0.9rem; display: block; }
.sf-pillar-card h3 { font-size: 16px; font-style: italic; margin-bottom: 0.5rem; }
.sf-pillar-card p { font-size: 13px; line-height: 1.75; }

/* PROGRAMME CARDS */
.sf-prog-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.sf-prog-card { border-radius: 12px; border: 1px solid var(--sf-bordure); overflow: hidden; }
.sf-prog-card-top { background: var(--sf-creme); padding: 1rem 1.2rem .8rem; border-top: 3px solid var(--sf-rouge); }
.sf-prog-card-body { background: #fff; padding: .9rem 1.2rem 1.1rem; }
.sf-prog-day { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sf-rouge); font-weight: 800; margin-bottom: .25rem; }
.sf-prog-title { font-family: var(--font-titre); font-size: 15px; font-style: italic; color: #1a1a1a; }
.sf-prog-desc { font-size: 12.5px; color: var(--sf-brun-clair); line-height: 1.7; }
.sf-prog-time { display: inline-flex; align-items: center; gap: 5px; margin-top: .6rem; font-size: 11px; font-weight: 700; color: var(--sf-bleu); background: #e8f0fa; padding: 3px 10px; border-radius: 10px; }

/* TIMELINE */
.sf-prog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; max-width: 1100px; margin: 0 auto; padding: 2rem; align-items: start; }
.sf-timeline { position: relative; padding-left: 3rem; }
.sf-timeline::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--sf-bordure); }
.sf-tl-item { position: relative; margin-bottom: 1.8rem; }
.sf-tl-dot { position: absolute; left: -3rem; top: 4px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--sf-rouge); background: #fff; z-index: 1; }
.sf-tl-dot.featured { background: var(--sf-rouge); }
.sf-tl-dot.blue { border-color: var(--sf-bleu); }
.sf-tl-dot.green { border-color: var(--sf-vert); }
.sf-tl-time { font-size: 11px; font-weight: 800; color: var(--sf-rouge); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: .3rem; }
.sf-tl-card { background: #fff; border: 1px solid var(--sf-bordure); border-left: 3px solid var(--sf-bordure); border-radius: 10px; padding: 1rem 1.2rem; }
.sf-tl-card.featured { border-left-color: var(--sf-rouge); background: var(--sf-creme); }
.sf-tl-card.blue { border-left-color: var(--sf-bleu); }
.sf-tl-card.green { border-left-color: var(--sf-vert); }
.sf-tl-title { font-family: var(--font-titre); font-size: 15px; font-style: italic; color: #1a1a1a; margin-bottom: .3rem; }
.sf-tl-desc { font-size: 13px; color: var(--sf-brun-clair); line-height: 1.7; margin-bottom: .5rem; }

/* TAGS */
.sf-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.sf-tag { font-size: 10px; padding: 3px 10px; border-radius: 8px; font-weight: 700; border: 1px solid; }
.sf-tag-red   { background: #fff0ea; color: var(--sf-rouge); border-color: #f0c0a8; }
.sf-tag-blue  { background: #e8f0fa; color: var(--sf-bleu);  border-color: #b8d0f0; }
.sf-tag-green { background: #eaf5e0; color: var(--sf-vert);  border-color: #b0d890; }
.sf-tag-gold  { background: #fef8e0; color: #9a7010;         border-color: #f0d870; }

/* SIDEBAR */
.sf-prog-sidebar { position: sticky; top: 100px; }
.sf-side-card { background: var(--sf-creme); border: 1px solid var(--sf-bordure); border-radius: 12px; padding: 1.3rem; margin-bottom: 1rem; }
.sf-side-title { font-family: var(--font-titre); font-size: 14px; font-style: italic; color: #1a1a1a; margin-bottom: .8rem; }

/* GALERIE */
.sf-galerie-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 10px; }
.sf-gal-item { border-radius: 10px; overflow: hidden; }
.sf-gal-item:first-child { grid-row: 1 / 3; border-radius: 12px; }
.sf-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.sf-gal-item:hover img { transform: scale(1.03); }

/* TEMOIGNAGES */
.sf-temo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; max-width: 1100px; margin: 0 auto; }
.sf-temo { background: var(--sf-creme); border: 1px solid var(--sf-bordure); border-radius: 12px; padding: 1.3rem; }
.sf-temo-stars { color: #e8a020; font-size: 14px; letter-spacing: 2px; margin-bottom: .5rem; }
.sf-temo-text { font-size: 13px; font-style: italic; color: var(--sf-brun); line-height: 1.75; margin-bottom: .7rem; }
.sf-temo-author { font-size: 11.5px; font-weight: 700; color: var(--sf-rouge); }

/* INFOS PRATIQUES */
.sf-infos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; max-width: 1100px; margin: 0 auto; }
.sf-info-card { background: #fff; border: 1px solid var(--sf-bordure); border-radius: 12px; padding: 1.3rem; }
.sf-info-icon { font-size: 24px; color: var(--sf-bleu); margin-bottom: .6rem; display: block; }
.sf-info-title { font-size: 13.5px; font-weight: 700; color: #1a1a1a; margin-bottom: .35rem; }
.sf-info-text { font-size: 12.5px; color: var(--sf-brun-clair); line-height: 1.7; }

/* PARTENAIRES */
.sf-partners { padding: 1.8rem 2rem; border-top: 1px solid var(--sf-bordure); text-align: center; }
.sf-partners-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: #9a8a7a; font-weight: 700; margin-bottom: 1rem; }
.sf-partners-logos { display: flex; justify-content: center; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.sf-partner-pill { background: var(--sf-creme); border: 1px solid var(--sf-bordure); border-radius: 20px; padding: 7px 20px; font-size: 12px; color: var(--sf-brun-clair); font-weight: 600; }

/* FOOTER */
.site-footer, #colophon { background: #1a1a1a !important; color: #c0a080 !important; padding: 2rem !important; }
.site-footer a, #colophon a { color: #7a6a5a !important; font-size: 11px; }
.site-footer a:hover, #colophon a:hover { color: #f0d0b8 !important; }
.sf-footer-brand { font-family: var(--font-titre); font-size: 16px; color: #f0d0b8; font-style: italic; }
.sf-footer-url { font-size: 11px; color: #c07050; font-weight: 600; margin-top: 3px; }

/* FORMULAIRES */
.wpcf7 input, .wpcf7 textarea {
  font-family: var(--font-corps) !important;
  border: 1px solid var(--sf-bordure) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  width: 100% !important;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none !important; border-color: var(--sf-rouge) !important; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .sf-hero { flex-direction: column; text-align: center; }
  .sf-hero-poster img { width: 200px; margin: 0 auto; }
  .sf-hero-btns { justify-content: center; }
  .sf-prog-layout { grid-template-columns: 1fr; }
  .sf-prog-sidebar { position: static; }
  .sf-galerie-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .sf-gal-item:first-child { grid-column: 1 / -1; height: 200px; }
}
@media (max-width: 600px) {
  .sf-bandeau { flex-wrap: wrap; }
  .sf-bandeau-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .sf-pillars, .sf-prog-cards, .sf-temo-grid, .sf-infos-grid { grid-template-columns: 1fr; }
  .sf-galerie-mosaic { grid-template-columns: 1fr; }
  .sf-gal-item { height: 180px; }
}

/* OVERRIDES ASTRA */
.ast-container, .ast-wide-container { max-width: 1200px !important; }
.ast-breadcrumbs-wrap { background: var(--sf-beige); padding: .6rem 2rem; font-size: 12px; border-bottom: 1px solid var(--sf-bordure); }
.ast-breadcrumbs-wrap a { color: var(--sf-rouge); }
