/* ============================================================
   CLAIRE GRANDGIRARD – MTC DIJON
   Palette : crème / sépia / or chaud
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --cream:        #FAF8F3;
  --cream-2:      #F3EDE3;
  --beige:        #E8D9C8;
  --beige-2:      #D5C4B0;
  --taupe-pale:   #C0AA94;
  --taupe:        #8B7868;
  --taupe-dark:   #5A4232;
  --brown:        #2C1E12;
  --gold:         #C4955A;
  --gold-dark:    #9E7440;
  --white:        #FFFFFF;
  --text:         #2C2018;
  --text-mid:     #5A4A3A;
  --text-muted:   #8B7060;
  --border:       #DDD0C0;
  --border-light: #EDE5D8;

  --font-h: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'Lato', 'Helvetica Neue', Arial, sans-serif;

  --nav-h:     70px;
  --container: 1100px;
  --radius:    3px;
  --shadow:    0 6px 32px rgba(44,32,24,.10);
  --ease:      .28s ease;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--text);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.4em; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  font-weight: 400;
  line-height: 1.15;
  color: var(--taupe-dark);
}
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
h4 { font-size: 1.15rem; letter-spacing: .02em; }
p  { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 90px 0; }
.section-alt { background: var(--cream-2); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: .6rem; }
.section-header .lead {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 560px; margin: 0 auto;
}
.section-divider {
  width: 48px; height: 1px;
  background: var(--taupe-pale);
  margin: 1.2rem auto 0;
}
.label {
  font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: .8rem;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .88em 2.2em;
  border-radius: var(--radius);
  font-family: var(--font-b);
  font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  cursor: pointer; border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--taupe-dark); color: var(--white); border-color: var(--taupe-dark); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--taupe-dark); border-color: var(--taupe-dark); }
.btn-outline:hover { background: var(--taupe-dark); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(250,248,243,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
  max-width: var(--container); margin: 0 auto; padding: 0 1.5rem;
  gap: 1.5rem;
}
.nav-brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.nav-brand-logo { width: 34px; opacity: .7; }
.nav-brand-text { line-height: 1.2; }
.nav-brand-name {
  font-family: var(--font-h); font-size: 1.1rem; font-weight: 500;
  color: var(--taupe-dark); display: block;
}
.nav-brand-sub {
  font-size: .65rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--taupe); display: block;
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .78rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text-mid);
  position: relative; padding-bottom: 3px;
  transition: color var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--ease);
}
.nav-links a:hover { color: var(--taupe-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta-link { display: none; }
.nav-cta {
  flex-shrink: 0; font-size: .77rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--white);
  background: var(--taupe-dark); padding: .54em 1.4em;
  border-radius: var(--radius); transition: background var(--ease);
}
.nav-cta:hover { background: var(--gold-dark); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--taupe-dark);
  transition: all var(--ease); transform-origin: center;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    padding: .5rem 1.5rem 1.2rem; gap: 0; z-index: 199;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
  }
  .nav-links li { border-bottom: 1px solid var(--border-light); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: .95rem 0; font-size: .88rem; color: var(--text-mid); }
  .nav-cta-link { display: block; }
  .nav-cta-link a {
    display: block; width: 100%; margin-top: .8rem; padding: .85em;
    text-align: center; border-radius: var(--radius);
    background: var(--taupe-dark); color: var(--white);
    font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  }
  .site-header.nav-open .nav-links { display: flex; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--cream);
}
.hero-deco {
  position: absolute; right: -2%; top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 560px);
  opacity: .35; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 620px; }
.hero-eyebrow {
  font-size: .74rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--taupe);
  display: block; margin-bottom: 1.2rem;
}
.hero h1 { color: var(--taupe-dark); line-height: 1.08; }
.hero-sub {
  font-family: var(--font-h); font-size: clamp(1.1rem, 2vw, 1.55rem);
  color: var(--taupe); font-weight: 300;
  margin-top: .6rem; margin-bottom: .5rem;
}
.hero-tags { font-size: .87rem; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 2.5rem; }
.hero-tags span { margin: 0 .3em; color: var(--taupe-pale); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero { min-height: 88vh; }
  .hero-deco { opacity: .12; width: 85vw; right: -25vw; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ── INTRO ───────────────────────────────────────────────── */
.intro-grid { display: grid; grid-template-columns: 1fr 1.65fr; gap: 5rem; align-items: center; }
.intro-photo { position: relative; }
.intro-photo img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: top center;
  border-radius: var(--radius);
}
.intro-photo::before {
  content: ''; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid var(--beige); border-radius: var(--radius); z-index: -1;
}
.intro-formations { list-style: none; padding: 0; margin: 1.5rem 0; }
.intro-formations li {
  padding: .45rem 0; border-bottom: 1px solid var(--border-light);
  font-size: .9rem; color: var(--text-muted);
  display: flex; align-items: baseline; gap: .6rem;
}
.intro-formations li::before { content: '—'; color: var(--taupe-pale); flex-shrink: 0; }
@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-photo { max-width: 280px; margin: 0 auto; }
}

/* ── CARDS ───────────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--border-light);
  padding: 2.5rem 2rem; border-radius: var(--radius);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--beige); }
.card-num { font-family: var(--font-h); font-size: 3rem; color: var(--beige); line-height: 1; margin-bottom: .8rem; font-weight: 300; }
.card h3 { margin-bottom: .6rem; font-size: 1.55rem; }
.card p { color: var(--text-muted); font-size: .93rem; }
.card-link {
  display: inline-flex; align-items: center; gap: .3rem; margin-top: 1.3rem;
  font-size: .77rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--taupe-dark); border-bottom: 1px solid var(--beige);
  padding-bottom: 2px; transition: border-color var(--ease), color var(--ease);
}
.card-link:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ── POUR QUI ────────────────────────────────────────────── */
.pour-qui-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
.indications-list { list-style: none; padding: 0; }
.indications-list li {
  padding: .65rem 0; border-bottom: 1px solid var(--border-light);
  color: var(--text-mid); display: flex; align-items: center; gap: .9rem; font-size: .96rem;
}
.indications-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--taupe-pale); flex-shrink: 0; }
.indications-disclaimer {
  margin-top: 1.5rem; padding: 1.1rem 1.4rem;
  background: var(--cream); border-left: 3px solid var(--taupe-pale);
  font-size: .84rem; color: var(--text-muted);
  border-radius: 0 var(--radius) var(--radius) 0; font-style: italic;
}
@media (max-width: 768px) { .pour-qui-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── TARIF ───────────────────────────────────────────────── */
.tarif-section { background: var(--taupe-dark); color: var(--white); text-align: center; }
.tarif-section h2 { color: var(--white); margin-bottom: .4rem; }
.tarif-section .lead { color: var(--taupe-pale); font-size: 1rem; }
.tarif-price {
  font-family: var(--font-h); font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--beige-2); line-height: 1; margin: 1.2rem 0 .3rem; font-weight: 300;
}
.tarif-price sup { font-size: .45em; vertical-align: super; }
.tarif-modes { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe-pale); margin-bottom: 2.5rem; }

/* ── CABINET ─────────────────────────────────────────────── */
.cabinet-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4.5rem; align-items: center; }
.cabinet-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.cabinet-photos img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.cabinet-photos img:first-child { grid-row: span 2; height: 420px; }
.cabinet-photos img:not(:first-child) { height: 200px; }
.cabinet-info h2 { margin-bottom: 1.5rem; }
.cabinet-address { list-style: none; padding: 0; margin-bottom: 1.4rem; }
.cabinet-address li { padding: .3rem 0; color: var(--text-mid); font-size: .95rem; }
a.cabinet-phone {
  font-family: var(--font-h); font-size: 1.55rem; color: var(--taupe-dark);
  display: block; margin-bottom: 1.5rem; transition: color var(--ease);
}
a.cabinet-phone:hover { color: var(--gold-dark); }
@media (max-width: 900px) {
  .cabinet-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cabinet-photos img:first-child { height: 300px; }
  .cabinet-photos img:not(:first-child) { height: 150px; }
}
@media (max-width: 480px) {
  .cabinet-photos { grid-template-columns: 1fr; }
  .cabinet-photos img:first-child { grid-row: span 1; height: 240px; }
  .cabinet-photos img:not(:first-child) { height: 200px; }
}

/* ── MTC ─────────────────────────────────────────────────── */
.mtc-preview { position: relative; overflow: hidden; }
.mtc-deco-bg { position: absolute; left: -60px; top: 50%; transform: translateY(-50%); width: 380px; opacity: .06; pointer-events: none; }
.mtc-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 3rem; }
.principle { text-align: center; padding: 1.5rem 1rem; }
.principle-num { font-family: var(--font-h); font-size: 2.8rem; color: var(--beige); line-height: 1; margin-bottom: .5rem; font-weight: 300; }
.principle h4 { margin-bottom: .4rem; font-size: 1.05rem; }
.principle p { font-size: .87rem; color: var(--text-muted); margin: 0; }

/* ── BLOG ────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 2rem; }
.blog-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; transition: transform var(--ease), box-shadow var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--cream-2); display: flex; align-items: center; justify-content: center; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-placeholder { width: 60px; opacity: .22; }
.blog-card-body { padding: 1.8rem; }
.blog-card-date { font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .45rem; }
.blog-card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.blog-card h3 a { transition: color var(--ease); }
.blog-card h3 a:hover { color: var(--gold-dark); }
.blog-card p { color: var(--text-muted); font-size: .91rem; }

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero { background: var(--cream-2); padding: 72px 0 52px; text-align: center; border-bottom: 1px solid var(--border-light); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); }
.page-hero .page-hero-sub { color: var(--text-muted); margin-top: .7rem; font-size: 1.05rem; }
.article-date { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); margin-top: .7rem; }

/* ── PAGE CONTENT ────────────────────────────────────────── */
.page-content { max-width: 760px; margin: 0 auto; padding: 72px 1.5rem 80px; }
.page-content h2 { margin-top: 2.8rem; margin-bottom: .8rem; font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.page-content h3 { margin-top: 2rem; margin-bottom: .6rem; }
.page-content p { color: var(--text-mid); }
.page-content ul, .page-content ol { margin-bottom: 1.2em; }
.page-content li { margin-bottom: .4em; color: var(--text-mid); }
.page-content hr { border: none; border-top: 1px solid var(--border-light); margin: 2.5rem 0; }
.page-content blockquote {
  margin: 1.5rem 0; padding: 1rem 1.5rem;
  border-left: 3px solid var(--taupe-pale); background: var(--cream-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted); font-style: italic;
}
.page-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .92rem; }
.page-content th, .page-content td { padding: .6rem 1rem; border: 1px solid var(--border-light); }
.page-content th { background: var(--cream-2); font-weight: 600; }
.page-content strong { color: var(--taupe-dark); }
.page-content img { border-radius: var(--radius); margin: 1.5rem auto; }

/* ── RÉSERVATION ─────────────────────────────────────────── */
.resa-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 2.5rem 0 3rem; }
.resa-card { background: var(--cream-2); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.resa-card h4 { margin-bottom: .4rem; font-size: 1rem; }
.resa-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }
.resa-card a { color: var(--taupe-dark); }
.resa-btn-wrap { text-align: center; margin: 2rem 0 .8rem; }
.resa-btn-wrap .btn { font-size: .9rem; padding: 1em 3em; }
.resa-note { text-align: center; color: var(--text-muted); font-size: .88rem; margin-top: .6rem; }

/* ── ACCÈS ───────────────────────────────────────────────── */
.acces-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; margin-bottom: 3rem; }
.acces-photos { display: flex; flex-direction: column; gap: 1rem; }
.acces-photos img { border-radius: var(--radius); width: 100%; height: 220px; object-fit: cover; }
.acces-map { border-radius: var(--radius); overflow: hidden; }
.acces-map iframe { width: 100%; height: 380px; border: none; display: block; }
@media (max-width: 768px) { .acces-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--brown); color: var(--taupe-pale); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { width: 30px; margin-bottom: .8rem; opacity: .35; }
.footer-brand h3 { font-family: var(--font-h); color: var(--white); font-size: 1.4rem; margin-bottom: .4rem; }
.footer-brand p { font-size: .87rem; color: var(--taupe-pale); margin-bottom: 1.2rem; }
.footer-col h4 { color: var(--white); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { font-size: .87rem; color: var(--taupe-pale); transition: color var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: .87rem; margin-bottom: .35rem; }
.footer-contact a { color: var(--taupe-pale); transition: color var(--ease); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(192,170,148,.5);
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom a { color: inherit; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .mtc-principles { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
