/* ===================================
   École de Chaillot E.M.P. — style.css
   =================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0c1829;
  --navy2:  #12243a;
  --burg:   #7f1d1d;
  --burg2:  #991f1f;
  --cream:  #faf5eb;
  --cream2: #f0e8d6;
  --gold:   #c9a84c;
  --text:   #1a1a2e;
  --muted:  #5a6370;
  --white:  #ffffff;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(0,0,0,.18);
}

html { scroll-behavior: smooth; }
body { font-family: 'Georgia', 'Times New Roman', serif; background: var(--cream); color: var(--text); line-height: 1.75; font-size: 16px; }

a { color: var(--burg); text-decoration: none; transition: color .2s; }
a:hover { color: var(--burg2); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5 { font-family: 'Georgia', serif; line-height: 1.25; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---- NAV ---- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 999; border-bottom: 3px solid var(--burg); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 52px; width: auto; }
.nav-menu { display: flex; list-style: none; gap: 0; }
.nav-menu a { display: block; padding: 8px 18px; color: var(--cream); font-family: 'Georgia', serif; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; transition: color .2s, background .2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); background: rgba(255,255,255,.05); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 2px solid var(--cream); color: var(--cream); padding: 6px 10px; cursor: pointer; font-size: 1.2rem; border-radius: var(--radius); }

/* ---- HERO ---- */
.hero { position: relative; height: 92vh; min-height: 560px; background: url('/images/hero-ecole.jpg') center center / cover no-repeat; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(12,24,41,.87); }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.hero-eyebrow { display: inline-block; background: var(--burg); color: var(--cream); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 18px; border-radius: var(--radius); margin-bottom: 22px; }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--white); margin-bottom: 18px; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { font-size: 1.15rem; color: var(--cream2); max-width: 600px; margin: 0 auto 30px; }
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-family: 'Georgia', serif; font-size: .95rem; letter-spacing: .05em; transition: all .25s; cursor: pointer; }
.btn-primary { background: var(--burg); color: var(--white); border: 2px solid var(--burg); }
.btn-primary:hover { background: var(--burg2); border-color: var(--burg2); text-decoration: none; color: var(--white); }
.btn-outline { background: transparent; color: var(--cream); border: 2px solid var(--cream); margin-left: 12px; }
.btn-outline:hover { background: var(--cream); color: var(--navy); text-decoration: none; }

/* ---- SECTIONS ---- */
section { padding: 80px 0; }
.section-label { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--burg); font-family: Georgia, serif; margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--navy); margin-bottom: 14px; }
.section-title span { color: var(--burg); }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 580px; margin-bottom: 48px; }
.section-intro { text-align: center; margin-bottom: 48px; }
.section-intro .section-sub { margin: 0 auto 0; }

/* ---- FEATURES ---- */
.features { background: var(--navy); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.feature-card { text-align: center; padding: 36px 24px; border: 1px solid rgba(201,168,76,.2); border-radius: var(--radius); transition: border-color .2s; }
.feature-card:hover { border-color: var(--gold); }
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-card h3 { color: var(--cream); font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { color: #a0aab4; font-size: .92rem; }

/* ---- 2-COL ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }
.two-col-text h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); color: var(--navy); margin-bottom: 16px; }
.two-col-text h2 span { color: var(--burg); }
.two-col-text p { color: var(--muted); margin-bottom: 16px; }
.two-col-text .btn { margin-top: 10px; }
.alt-bg { background: var(--cream2); }

/* ---- CLIENT PARAGRAPH ---- */
.client-section { background: var(--white); }
.client-text { max-width: 860px; margin: 0 auto; font-size: 1.02rem; color: var(--muted); line-height: 1.85; }
.client-text a { color: var(--burg); font-weight: bold; }

/* ---- SERVICES ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 12px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 32px; border-top: 4px solid var(--burg); box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .93rem; }

/* ---- BANNER ---- */
.banner { position: relative; padding: 90px 0; background: url('/images/campus.jpg') center / cover no-repeat; text-align: center; }
.banner::before { content: ''; position: absolute; inset: 0; background: rgba(12,24,41,.88); }
.banner-content { position: relative; z-index: 2; }
.banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--white); margin-bottom: 14px; }
.banner p { color: var(--cream2); font-size: 1.08rem; max-width: 600px; margin: 0 auto 28px; }

/* ---- CTA 2-col ---- */
.cta-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta-block img { border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-text h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); color: var(--navy); margin-bottom: 16px; }
.cta-text p { color: var(--muted); margin-bottom: 16px; }
.cta-text .btn { margin-top: 10px; }

/* ---- BLOG CARDS ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-meta { font-size: .78rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.blog-card p { font-size: .91rem; color: var(--muted); }
.blog-card a.read-more { display: inline-block; margin-top: 14px; font-size: .88rem; color: var(--burg); font-weight: bold; }

/* ---- ARTICLE ---- */
.article-hero { position: relative; height: 420px; background: center/cover no-repeat; }
.article-hero::before { content: ''; position: absolute; inset: 0; background: rgba(12,24,41,.82); }
.article-hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px 0; }
.article-hero-content .container { }
.article-hero-content h1 { font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--white); max-width: 800px; }
.article-meta { color: var(--cream2); font-size: .85rem; margin-top: 10px; }
.article-body { max-width: 820px; margin: 0 auto; padding: 60px 24px 80px; }
.article-body h2 { font-size: 1.5rem; color: var(--navy); margin: 40px 0 14px; }
.article-body h3 { font-size: 1.2rem; color: var(--navy); margin: 28px 0 10px; }
.article-body p { color: var(--muted); margin-bottom: 18px; }
.article-body img { margin: 28px 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-body ul, .article-body ol { margin: 18px 0 18px 28px; color: var(--muted); }
.article-body li { margin-bottom: 6px; }
.article-back { display: inline-flex; align-items: center; gap: 8px; color: var(--burg); font-size: .9rem; margin-bottom: 40px; }

/* ---- BREADCRUMB ---- */
.breadcrumb { background: var(--navy2); padding: 12px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; font-size: .83rem; color: #9aacba; }
.breadcrumb a { color: var(--gold); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 8px; }

/* ---- PAGE HERO ---- */
.page-hero { background: var(--navy); padding: 72px 0 56px; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--white); margin-bottom: 12px; }
.page-hero p { color: var(--cream2); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

/* ---- ACCORDION ---- */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border: 1px solid var(--cream2); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.accordion-btn { width: 100%; background: var(--white); border: none; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: Georgia, serif; font-size: 1rem; color: var(--navy); text-align: left; }
.accordion-btn:hover { background: var(--cream2); }
.accordion-btn span { transition: transform .25s; }
.accordion-body { display: none; padding: 18px 24px; background: var(--white); color: var(--muted); font-size: .95rem; border-top: 1px solid var(--cream2); }
.accordion-item.open .accordion-body { display: block; }
.accordion-item.open .accordion-btn span { transform: rotate(45deg); }

/* ---- FORM ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: bold; color: var(--navy); margin-bottom: 6px; letter-spacing: .03em; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid #d4c9b0; border-radius: var(--radius); font-family: Georgia, serif; font-size: .95rem; background: var(--white); color: var(--text); transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--burg); }
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-info h3 { color: var(--navy); margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 12px; font-size: .95rem; }

/* ---- STATS ---- */
.stats { background: var(--burg); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; }
.stat-item { text-align: center; padding: 40px 20px; border-right: 1px solid rgba(255,255,255,.2); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.8rem; font-family: Georgia, serif; color: var(--white); font-weight: bold; }
.stat-label { color: rgba(255,255,255,.8); font-size: .88rem; margin-top: 4px; }

/* ---- FOOTER ---- */
.site-footer { background: var(--navy); color: #9aacba; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: var(--cream); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--burg); display: inline-block; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #9aacba; font-size: .9rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-bottom a { color: #9aacba; }
.footer-bottom a:hover { color: var(--gold); text-decoration: none; }

/* ---- SITEMAP ---- */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.sitemap-col h3 { color: var(--navy); font-size: 1rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--burg); }
.sitemap-col ul { list-style: none; }
.sitemap-col ul li { margin-bottom: 8px; }
.sitemap-col ul a { color: var(--muted); font-size: .93rem; }
.sitemap-col ul a:hover { color: var(--burg); }

/* ---- 404 ---- */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--navy); }
.error-page h1 { font-size: 8rem; color: var(--burg); line-height: 1; }
.error-page h2 { font-size: 2rem; color: var(--white); margin: 16px 0; }
.error-page p { color: var(--cream2); max-width: 460px; margin: 0 auto 28px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .two-col, .cta-block, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); border-top: 2px solid var(--burg); padding: 16px 0; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { height: 85vh; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}
