/* Mouratoglou International School — feuille de style des pages recodées (sans Elementor).
   Rendu identique au site d'origine : chaque valeur est relevée sur l'ancien rendu.
   Points de rupture : mobile ≤ 767 px, tablette 768–1024 px, ordinateur ≥ 1025 px. */

/* ---------- Polices ---------- */
@font-face { font-family: 'Geometria'; font-style: normal; font-weight: 100; font-display: auto; src: url('/mis/fonts/Geometria-Thin.woff2') format('woff2'); }
@font-face { font-family: 'Geometria'; font-style: normal; font-weight: 200; font-display: auto; src: url('/mis/fonts/Geometria-ExtraLight.woff2') format('woff2'); }
@font-face { font-family: 'Geometria'; font-style: normal; font-weight: 300; font-display: auto; src: url('/mis/fonts/Geometria-Light.woff2') format('woff2'); }
@font-face { font-family: 'Geometria'; font-style: normal; font-weight: 400; font-display: auto; src: url('/mis/fonts/Geometria.woff2') format('woff2'); }
@font-face { font-family: 'Geometria'; font-style: normal; font-weight: 500; font-display: auto; src: url('/mis/fonts/Geometria-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Geometria'; font-style: normal; font-weight: 700; font-display: auto; src: url('/mis/fonts/Geometria-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Geometria'; font-style: normal; font-weight: 800; font-display: auto; src: url('/mis/fonts/Geometria-ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Geometria'; font-style: normal; font-weight: 900; font-display: auto; src: url('/mis/fonts/Geometria-Heavy.woff2') format('woff2'); }

/* ---------- Couleurs et typographies de la charte ---------- */
:root {
  --c-primary: #8CCBCF;   /* bleu clair */
  --c-secondary: #001937; /* bleu marine */
  --c-accent: #0098AA;    /* turquoise */
  --c-white: #ffffff;
  --f-serif: "Cormorant Garamond", sans-serif;
  --f-text: "Geometria", sans-serif;
  --f-menu: "Poppins", sans-serif;
  --f-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* ---------- Base ---------- */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
*, ::before, ::after { box-sizing: border-box; }
body {
  margin: 0; background-color: #fff; color: #333;
  font-family: var(--f-system); font-size: 1rem; font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { color: inherit; font-family: inherit; font-weight: 500; line-height: 1.2; margin-block: .5rem 1rem; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
p { margin-block: 0 .9rem; }
a { background-color: transparent; color: var(--c-accent); text-decoration: none; }
a:hover, a:active { color: var(--c-accent); }
b, strong { font-weight: bolder; }
img { border-style: none; height: auto; max-width: 100%; }
.hd__logo img, .hd__logo-m img { display: inline-block; vertical-align: middle; }
label { display: inline-block; line-height: 1; vertical-align: middle; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; line-height: 1.5; margin: 0; }
/* Suite de la remise à zéro du thème d'origine (chargée avant les blocs, comme dans le site d'origine) */
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre { font-family: monospace, monospace; font-size: 1em; white-space: pre-wrap; }
a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover { color: inherit; text-decoration: none; }
abbr[title] { border-block-end: none; text-decoration: underline dotted; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -.25em; }
sup { top: -.5em; }
details { display: block; }
summary { display: list-item; }
figcaption { color: #333; font-size: 16px; font-style: italic; font-weight: 400; line-height: 1.4; }
[hidden], template { display: none; }
dd, dl, dt, li, ol, ul { background: transparent; border: 0; font-size: 100%; margin-block: 0; outline: 0; vertical-align: baseline; }
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], select, textarea {
  border: 1px solid #666; border-radius: 3px; padding: .5rem 1rem; transition: all .3s; width: 100%;
}
button, input { overflow: visible; }
button, select { text-transform: none; }
[type=button], [type=reset], [type=submit], button { -webkit-appearance: button; width: auto; }
[type=button], [type=submit], button {
  background-color: transparent; border: 1px solid #c36; border-radius: 3px; color: #c36; display: inline-block; font-size: 1rem; font-weight: 400;
  padding: .5rem 1rem; text-align: center; transition: all .3s; user-select: none; white-space: nowrap;
}
[type=button]:focus:not(:focus-visible), [type=submit]:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover { background-color: #c36; color: #fff; text-decoration: none; }
[type=button]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) { cursor: pointer; }
fieldset { padding: .35em .75em .625em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; resize: vertical; }
[type=checkbox], [type=radio] { box-sizing: border-box; padding: 0; }
select { display: block; }
table { background-color: transparent; border-collapse: collapse; border-spacing: 0; font-size: .9em; margin-block-end: 15px; width: 100%; }
table td, table th { border: 1px solid hsla(0, 0%, 50%, .502); line-height: 1.5; padding: 15px; vertical-align: top; }
table th { font-weight: 700; }
table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th { background-color: hsla(0, 0%, 50%, .071); }
table tbody tr:hover > td, table tbody tr:hover > th { background-color: hsla(0, 0%, 50%, .102); }
svg.icon { display: block; width: 1em; height: 1em; fill: currentColor; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto !important; background-color: #eee; display: block; font-size: 1rem; height: auto; left: 5px; line-height: normal;
  padding: 12px 24px; text-decoration: none; top: 5px; width: auto; z-index: 100000; color: #333;
}

/* Bouton générique (en-tête, pied de page) */
.btn {
  display: inline-block; font-family: var(--f-serif); font-weight: 600; text-transform: uppercase; line-height: 1.5;
  text-align: center; padding: 10px 15px; border-radius: 0; transition: all .3s;
}
.btn__inner { display: flex; justify-content: center; gap: 5px; }
.btn--light { background-color: var(--c-primary); color: var(--c-secondary); fill: var(--c-secondary); border: none; }
.btn--light:hover, .btn--light:focus { background-color: var(--c-secondary); color: var(--c-primary); fill: var(--c-primary); }
.btn--dark { background-color: var(--c-secondary); color: var(--c-white); fill: var(--c-white); border: 1px solid var(--c-secondary); }
.btn--dark:hover, .btn--dark:focus { background-color: var(--c-white); color: var(--c-secondary); fill: var(--c-secondary); }
.btn--accent { background-color: var(--c-accent); color: var(--c-white); fill: var(--c-white); border: 1px solid var(--c-accent); }
.btn--accent:hover, .btn--accent:focus { background-color: var(--c-white); color: var(--c-accent); fill: var(--c-accent); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 99; }
.hd { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 80px; padding: 0 20px; background-color: var(--c-white); }
.hd > *, .hd__actions > div { position: relative; min-width: 0; }
.hd--mobile { display: none; }

/* Logo horizontal (ordinateur) */
.hd__logo { flex: 0 0 13.652%; display: flex; flex-direction: column; align-items: flex-end; padding: 10px; }
.hd__logo a { align-self: flex-start; display: inline-block; }
.hd__logo img { width: 177px; max-width: 100%; height: 100%; }

/* Boutons (ordinateur) */
.hd__actions { flex: 0 1 25%; display: flex; gap: 20px; padding: 10px; }
.hd__actions > div { align-self: center; }
.hd__actions .btn { font-size: 13px; }

/* Menu principal */
.menu { display: flex; flex-direction: column; flex: 0 1 auto; max-width: 100%; }
.menu__main { display: flex; }
.menu__list { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; }
.menu__list > li { display: flex; position: relative; }
.menu__link {
  display: flex; align-items: center; position: relative; flex-grow: 1; white-space: nowrap;
  padding: 13px 15px; font-family: var(--f-text); font-size: 14px; font-weight: 400; line-height: 1.5em;
  color: var(--c-secondary); fill: var(--c-secondary); transition: .4s;
}
.menu__link:hover, .menu__link:focus, .menu__link[aria-current="page"] { color: var(--c-primary); fill: var(--c-primary); }
.menu__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background-color: var(--c-primary);
  opacity: 0; transition: .3s cubic-bezier(.58, .3, .005, 1); z-index: 2;
}
.menu__link:hover::after, .menu__link:focus::after, .menu__link[aria-current="page"]::after { opacity: 1; }
.sub-arrow { display: flex; align-items: center; margin: -10px 0; padding: 10px 0 10px 10px; line-height: 1; }
.flag { display: block; }
.flag img { display: inline-block; width: 18px; height: 13.5px; margin: -2px 3px; vertical-align: baseline; }

/* Sous-menus (ordinateur et tablette) */
.submenu {
  display: none; position: absolute; top: 100%; left: 0; margin: -2px 0 0; padding: 0; list-style: none;
  min-width: 10em; max-width: 1000px; font-size: 13px; background-color: var(--c-white); border: 1px solid var(--c-primary); z-index: 3;
}
.menu__list > li:hover > .submenu, .menu__list > li:focus-within > .submenu { display: block; }
.menu__list > li:has(> .submenu):hover > .menu__link, .menu__list > li:has(> .submenu):focus-within > .menu__link { color: var(--c-primary); fill: var(--c-primary); }
.submenu li { display: block; position: relative; }
.submenu a {
  display: flex; align-items: center; padding: 13px 20px; border-left: 8px solid transparent; white-space: nowrap;
  font-family: var(--f-menu); font-size: 15px; font-weight: 400; line-height: 20px; color: var(--c-secondary);
  background-color: var(--c-white); transition: .4s;
}
.submenu a:hover, .submenu a:focus, .submenu a[aria-current="page"] { color: var(--c-primary); background-color: var(--c-white); }

/* Menu mobile (bouton + liste déroulante) */
.menu__toggle {
  display: none; align-items: center; justify-content: center; margin-left: auto; padding: .25em; cursor: pointer;
  font-size: 22px; line-height: 1.5em; color: var(--c-primary); fill: var(--c-primary); background: transparent; border: 0; border-radius: 0;
}
.menu__toggle:hover, .menu__toggle:focus { background: transparent; color: var(--c-primary); }
.menu__toggle svg { width: 1em; height: 1em; fill: var(--c-primary); }
.menu__toggle .icon-close { display: none; }
.menu__toggle[aria-expanded="true"] .icon-open { display: none; }
.menu__toggle[aria-expanded="true"] .icon-close { display: block; }
.menu__drop { display: none; }

/* ---------- Pied de page ---------- */
.ft-news {
  display: flex; flex-direction: column; margin-top: 70px; border-top: 1px solid var(--c-secondary);
  background: url('/images/Bisaux-4@4x.png') top right / 18% auto no-repeat;
}
.ft-news__inner { display: flex; gap: 20px; width: 100%; max-width: 83%; margin: 0 auto; padding: 74px 0 60px; }
.ft-news__text { flex: 0 0 40%; display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.ft-news__title { margin: 0; padding: 0; font-family: var(--f-serif); font-size: 24px; font-weight: 600; line-height: 1; color: var(--c-secondary); }
.ft-news__lead { margin-bottom: -10px; font-family: var(--f-text); font-size: 16px; line-height: 1.5em; color: var(--c-secondary); }
.ft-news__lead p { margin: 0 0 14.4px; }
.ft-news__form { flex: 0 1 auto; width: 88%; max-width: 88%; }
.form-fields { display: flex; flex-wrap: wrap; margin: 0 -5px -17px; }
.form-group { display: flex; flex-wrap: wrap; align-items: center; position: relative; min-height: 1px; margin-bottom: 17px; padding: 0 5px; width: 100%; }
.form-group--email { width: 75%; }
.form-group--submit { width: 20%; align-items: flex-end; }
.form-fields .form-field {
  display: block; width: 100%; max-width: 100%; min-height: 40px; padding: 8px 16px; vertical-align: middle;
  font-family: var(--f-menu); font-size: 12px; font-weight: 400; line-height: 30px; color: var(--c-secondary);
  background-color: var(--c-white); border: 1px solid var(--c-secondary); border-radius: 3px; transition: all .3s;
}
.form-fields .form-field:focus { border-color: var(--c-secondary); }
.form-field::placeholder { color: inherit; opacity: .6; font-family: inherit; }
.form-consent { display: block; width: 100%; max-width: 100%; }
.form-consent input { display: inline-block; width: 13px; height: 13px; margin: 0; padding: 0; vertical-align: baseline; }
.form-consent label {
  display: inline; vertical-align: baseline; font-family: var(--f-menu); font-size: 12px; font-weight: 400; line-height: 30px; color: var(--c-secondary);
}
.form-submit {
  display: block; width: 100%; min-height: 33px; padding: 11px 0; cursor: pointer;
  font-family: var(--f-serif); font-size: 14px; font-weight: 600; text-transform: uppercase; line-height: 150%; text-align: center;
  color: var(--c-white); background-color: var(--c-secondary); border: 1px solid transparent; border-radius: 0; transition: all .3s;
}
.form-submit:hover, .form-submit:focus { background-color: var(--c-white); color: var(--c-secondary); border-color: var(--c-secondary); }
.form-submit .btn__inner { align-items: center; }
form.is-waiting { opacity: .45; }
.form-message { width: 100%; margin-top: 10px; font-family: var(--f-text); font-size: 16px; line-height: 1.5em; color: var(--c-secondary); }
.form-message--danger { color: #d9534f; }

.ft-links { display: flex; flex-direction: column; }
.ft-links__inner { display: flex; gap: 20px; width: 100%; max-width: 81%; margin: 0 auto; padding: 40px 0 43px; }
.ft-col { flex: 0 1 20%; display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; min-width: 0; }
.ft-col--contact { flex-basis: 44%; }
.ft-col__title {
  margin: 0; padding: 0; font-family: var(--f-serif); font-size: 20px; font-weight: 600; line-height: 1; text-transform: uppercase; color: var(--c-primary);
}
.ft-col__title a { color: inherit; }
.ft-list { list-style: none; margin: 0; padding: 0; }
.ft-list li { display: flex; align-items: center; position: relative; }
.ft-list li:not(:last-child) { padding-bottom: 2.5px; }
.ft-list li:not(:first-child) { margin-top: 2.5px; }
.ft-list a { display: flex; align-items: center; width: 100%; font-family: var(--f-text); font-size: 16px; font-weight: 400; line-height: 1.5em; color: var(--c-secondary); }
.ft-contact { font-family: var(--f-text); font-size: 16px; line-height: 1.5em; color: var(--c-secondary); }
.ft-contact p { margin: 0 0 14.4px; }

.ft-legal { display: flex; flex-direction: column; align-items: flex-start; }
.ft-legal__inner { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 82%; margin: 0 auto; padding: 0 0 35px; }
.ft-legal__wrap { width: 100%; overflow: hidden; }
.ft-legal__list { display: flex; flex-wrap: wrap; list-style: none; margin: 0 -25px; padding: 0; }
.ft-legal__list li { display: flex; align-items: center; position: relative; margin: 0 25px; font-family: var(--f-text); font-size: 14px; line-height: 1.5em; color: var(--c-secondary); }
.ft-legal__list a { display: flex; align-items: center; color: var(--c-secondary); }

.ft-cta { display: none; }

/* ---------- Pages légales ---------- */
.page-header .entry-title { margin: 8px auto 16px; width: 100%; max-width: 1140px; font-size: 40px; font-weight: 500; line-height: 48px; }
.legal { display: flex; flex-direction: column; padding: 0 10px; }
.legal__inner { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: min(100%, 1140px); margin: 0 auto; padding: 10px 0; }
.rich-text { font-family: var(--f-text); font-size: 16px; font-weight: 400; line-height: 1.5em; color: var(--c-secondary); }
.rich-text p { margin: 0 0 14.4px; }
.rich-text ul { margin: 0; padding: 0 0 0 40px; }

/* ================= Tablette et mobile (≤ 1024 px) ================= */
@media (max-width: 1024px) {
  .hd--desktop { display: none; }
  .hd--mobile { display: flex; }
  .hd__logo-m img { width: 100%; max-width: 100%; height: 27px; object-fit: contain; object-position: center center; }
  .hd__logo-m { text-align: center; }
  .hd--mobile .btn { font-size: 15px; }
  .hd--mobile .btn .icon { font-size: 15px; }
  .hd--mobile > div { align-self: center; }
  .hd--mobile .menu { padding: 0; }
  .hd--mobile .menu__link { font-size: 22px; padding-left: 12px; padding-right: 12px; text-transform: capitalize; }
  .hd--mobile .submenu a { font-size: 13px; padding-left: 15px; padding-right: 15px; text-transform: capitalize; }

  .ft-news__inner { padding: 74px 0 60px; }
  .ft-news__title { font-size: 22px; }
  .ft-news__form { padding: 0; }
  .form-fields .form-field, .form-consent label { font-size: 14px; line-height: 2em; }
  .form-group--email, .form-group--submit { width: 100%; }
  .form-submit { font-size: 18px; }
  .ft-col { gap: 16px; }
  .ft-col, .ft-col--contact { flex-basis: 20%; }
  .ft-col__title { font-size: 18px; }

  .ft-cta {
    display: flex; flex-direction: column; gap: 20px; position: sticky; bottom: 0; z-index: 99; width: 100%; padding: 10px;
    background-color: var(--c-accent);
  }
  .ft-cta a {
    align-self: flex-start; display: inline-block; padding: 12px 24px; border-radius: 3px; background-color: transparent;
    font-family: var(--f-serif); font-size: 18px; font-weight: 700; text-transform: uppercase; line-height: 1.5; text-align: center;
    color: var(--c-white); fill: var(--c-white);
  }
  .legal__inner { max-width: min(100%, 1024px); }
}

/* Largeur du titre des pages légales (thème d'origine) */
@media (max-width: 1199px) { .page-header .entry-title { max-width: 800px; } }
@media (max-width: 991px) { .page-header .entry-title { max-width: 600px; } }
@media (max-width: 767px) { .page-header .entry-title { max-width: 500px; } }
@media (max-width: 575px) { .page-header .entry-title { max-width: none; padding: 0 10px; } }

/* ================= Mobile (≤ 767 px) ================= */
@media (max-width: 767px) {
  .hd--mobile { flex-wrap: wrap; justify-content: space-evenly; gap: 0; padding: 0 5px; max-width: min(100%, 1600px); }
  .hd__logo-m img { height: 40px; }
  .hd--mobile .btn { font-size: 14px; padding: 7px 15px; }
  .hd--mobile .btn--accent { padding: 11px 15px; }
  .hd--mobile .btn .icon { font-size: 14px; }
  .hd--mobile .menu__main { display: none; }
  .menu__toggle { display: flex; }
  .menu__drop {
    display: block; position: absolute; top: 74.5px; left: 0; width: 100%; z-index: 9997;
    background-color: var(--c-white); border: 1px solid var(--c-primary);
    font-size: 13px; line-height: 1.5;
    max-height: 0; overflow: hidden; transform: scaleY(0); transform-origin: top; transition: max-height .3s, transform .3s;
  }
  .menu__drop.is-open { max-height: calc(100vh - 74.5px); overflow-y: auto; transform: scaleY(1); }
  .menu__drop ul { list-style: none; margin: 0; padding: 0; }
  .menu__drop li { display: block; position: relative; }
  .menu__drop .menu__link, .menu__drop .submenu a {
    justify-content: center; padding: 20px 15px; font-family: var(--f-menu); font-size: 15px; text-transform: capitalize; color: var(--c-secondary);
  }
  .menu__drop .menu__link { line-height: 1.5; }
  .menu__drop .menu__link::after { display: none; }
  .menu__drop .menu__link:hover, .menu__drop .menu__link:focus, .menu__drop .menu__link[aria-current="page"] { color: var(--c-primary); }
  .menu__drop .submenu { display: none; position: static; margin: 0; max-width: none; min-width: 0; border: 1px solid var(--c-primary); }
  .menu__drop .menu__link.is-active { color: var(--c-primary); fill: var(--c-primary); }
  .menu__drop .submenu.is-open { display: block; }
  .menu__drop .submenu a { white-space: normal; line-height: 20px; }

  .ft-news { padding: 0 25px 0 24px; background-size: 138px auto; }
  .ft-news__inner { flex-wrap: wrap; max-width: min(100%, 767px); padding: 20px 0 0; }
  .ft-news__text { flex: 0 0 280px; justify-content: center; align-items: flex-start; align-self: center; flex-wrap: wrap; }
  .ft-news__title { font-size: 18px; }
  .form-submit { font-size: 16px; }
  .ft-links__inner { flex-direction: column; flex-wrap: wrap; max-width: min(100%, 767px); }
  .ft-col, .ft-col--contact { flex: 0 1 auto; width: 90%; align-self: center; align-items: flex-start; gap: 10px; padding: 12px; flex-wrap: wrap; }
  .ft-col__title { font-size: 16px; text-align: start; }
  .ft-legal__inner { max-width: min(100%, 767px); padding: 0 0 79px; }
  .ft-legal__wrap { padding: 0 0 16px 24px; }
  .ft-legal__list { margin: 0 -11px; }
  .ft-legal__list li { margin: 0 11px; font-size: 13px; }

  .ft-cta { width: 95%; min-height: 60px; justify-content: center; align-self: center; margin: 0 auto; bottom: 15px; }
  .ft-cta a { align-self: center; padding: 0; font-size: 20px; }
  .legal__inner { max-width: min(100%, 767px); flex-wrap: wrap; }
}

/* Téléphone (formulaires) : indicatif sans drapeau ni globe (demande de Guillaume, 10/11/2026) */
.cfefp-intl-container .iti__selected-country .iti__flag,
.cfefp-intl-container .iti__country-list .iti__flag { display: none !important; }

/* Vidéos de fond : remplissent tout le bloc (Elementor le faisait en JavaScript), recadrées comme une image de fond */
.b-background-video-hosted { width: 100%; height: 100%; }
