*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --mf-bg: #f0f9ff;
  --mf-dark: #0c4a6e;
  --mf-ocean: #0369a1;
  --mf-gold: #f59e0b;
  --mf-muted: #4a7a9b;
  --mf-border: #bae6fd;
  --mf-white: #ffffff;
  --mf-surface: #e0f2fe;
}
body { font-family: 'Nunito', sans-serif; background: var(--mf-bg); color: var(--mf-dark); line-height: 1.7; }
.mf-wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1,h2,h3 { font-family: 'Merriweather', serif; }
em { font-style: italic; color: var(--mf-ocean); }
a { color: var(--mf-ocean); text-decoration: none; }
img { max-width: 100%; height: auto; border-radius: 16px; display: block; }

/* Header */
.mf-header { background: var(--mf-white); border-bottom: 1px solid var(--mf-border); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(12,74,110,.08); }
.mf-header__row { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.mf-header__logo { font-family: 'Merriweather', serif; font-size: 1.3rem; font-weight: 700; color: var(--mf-dark); }
.mf-header__logo span { color: var(--mf-gold); }
.mf-header__nav { display: flex; gap: 32px; }
.mf-header__nav a { font-size: .9rem; font-weight: 700; color: var(--mf-muted); transition: color .2s; }
.mf-header__nav a:hover { color: var(--mf-ocean); }

/* Tag */
.mf-tag { display: inline-block; background: var(--mf-gold); color: var(--mf-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; margin-bottom: 20px; }
.mf-tag--center { display: block; text-align: center; width: fit-content; margin: 0 auto 20px; }

/* Buttons */
.mf-btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-weight: 800; font-size: .95rem; transition: all .2s; cursor: pointer; border: none; font-family: 'Nunito', sans-serif; }
.mf-btn--ocean { background: var(--mf-ocean); color: #fff; }
.mf-btn--ocean:hover { background: var(--mf-dark); }
.mf-btn--ghost { background: transparent; border: 2px solid var(--mf-border); color: var(--mf-ocean); }
.mf-btn--ghost:hover { border-color: var(--mf-ocean); }

/* Hero */
.mf-hero { padding: 80px 0; }
.mf-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.mf-hero__text h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.25; margin-bottom: 20px; }
.mf-hero__text p { color: var(--mf-muted); font-size: 1.05rem; margin-bottom: 32px; }
.mf-hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }
.mf-hero__img img { aspect-ratio: 1; object-fit: cover; box-shadow: 0 24px 64px rgba(12,74,110,.2); }

/* Services */
.mf-services { padding: 80px 0; background: var(--mf-white); }
.mf-title { font-size: clamp(1.8rem, 3vw, 2.6rem); text-align: center; margin-bottom: 56px; }
.mf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mf-serv { background: var(--mf-bg); border: 2px solid var(--mf-border); border-radius: 20px; padding: 36px 28px; position: relative; transition: box-shadow .2s; }
.mf-serv:hover { box-shadow: 0 8px 32px rgba(12,74,110,.12); }
.mf-serv--featured { border-color: var(--mf-gold); background: var(--mf-dark); color: #fff; }
.mf-serv--featured h3, .mf-serv--featured p { color: rgba(255,255,255,.85); }
.mf-serv__ribbon { position: absolute; top: -12px; left: 28px; background: var(--mf-gold); color: var(--mf-dark); font-size: .7rem; font-weight: 800; padding: 4px 14px; border-radius: 20px; letter-spacing: .06em; text-transform: uppercase; }
.mf-serv__price { font-family: 'Merriweather', serif; font-size: 1.7rem; font-weight: 700; color: var(--mf-gold); margin-bottom: 12px; }
.mf-serv__price small { font-size: 1rem; font-weight: 400; color: var(--mf-muted); }
.mf-serv--featured .mf-serv__price small { color: rgba(255,255,255,.6); }
.mf-serv h3 { font-size: 1.15rem; margin-bottom: 12px; }
.mf-serv p { font-size: .88rem; color: var(--mf-muted); margin-bottom: 16px; }
.mf-serv ul { list-style: none; font-size: .85rem; color: var(--mf-muted); }
.mf-serv--featured ul { color: rgba(255,255,255,.65); }
.mf-serv ul li { padding: 7px 0; border-bottom: 1px solid var(--mf-border); }
.mf-serv--featured ul li { border-bottom-color: rgba(255,255,255,.12); }
.mf-serv ul li::before { content: '☀ '; color: var(--mf-gold); }

/* Agence */
.mf-agence { padding: 80px 0; }
.mf-agence__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.mf-agence__photo img { aspect-ratio: 4/5; object-fit: cover; }
.mf-agence__text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.3; margin-bottom: 20px; }
.mf-agence__text p { color: var(--mf-muted); margin-bottom: 16px; }
.mf-agence__list { list-style: none; margin-top: 20px; }
.mf-agence__list li { padding: 12px 0; border-bottom: 1px solid var(--mf-border); font-weight: 700; color: var(--mf-ocean); }

/* Contact */
.mf-contact { padding: 80px 0; background: var(--mf-surface); }
.mf-form { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.mf-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mf-form__group { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 800; color: var(--mf-ocean); }
.mf-form__group input, .mf-form__group select, .mf-form__group textarea { padding: 12px 16px; border: 2px solid var(--mf-border); border-radius: 12px; font-size: .95rem; font-family: 'Nunito', sans-serif; background: var(--mf-white); outline: none; transition: border-color .2s; }
.mf-form__group input:focus, .mf-form__group select:focus, .mf-form__group textarea:focus { border-color: var(--mf-ocean); }
.mf-form__check { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--mf-muted); font-weight: 400; }
.mf-form__check input { margin-top: 3px; accent-color: var(--mf-ocean); }

/* Footer */
.mf-footer { background: var(--mf-dark); color: rgba(255,255,255,.65); padding: 60px 0 0; }
.mf-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.mf-footer__logo { font-family: 'Merriweather', serif; font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.mf-footer__logo span { color: var(--mf-gold); }
.mf-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.mf-footer ul { list-style: none; font-size: .87rem; }
.mf-footer ul li { margin-bottom: 8px; }
.mf-footer a { color: rgba(255,255,255,.5); transition: color .2s; }
.mf-footer a:hover { color: var(--mf-gold); }
.mf-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .78rem; color: rgba(255,255,255,.3); }

/* Legal */
.mf-legal { padding: 80px 0; }
.mf-legal__inner { max-width: 780px; margin: 0 auto; }
.mf-legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.mf-legal__date { color: var(--mf-muted); font-size: .9rem; margin-bottom: 40px; }
.mf-legal h2 { font-family: 'Merriweather', serif; font-size: 1.15rem; margin: 32px 0 10px; color: var(--mf-ocean); }
.mf-legal p, .mf-legal ul { color: var(--mf-muted); margin-bottom: 16px; }
.mf-legal ul { padding-left: 20px; }
.mf-legal__back { display: inline-block; margin-top: 40px; font-weight: 800; color: var(--mf-ocean); }

@media (max-width: 768px) {
  .mf-hero__grid, .mf-agence__grid { grid-template-columns: 1fr; }
  .mf-grid { grid-template-columns: 1fr; }
  .mf-footer__grid { grid-template-columns: 1fr 1fr; }
  .mf-form__row { grid-template-columns: 1fr; }
  .mf-header__nav { display: none; }
}
