/* =========================================================================
   AcTournai – styles du site (thème enfant Divi)
   Couleurs et polices : modifier les variables ci-dessous.
   ========================================================================= */
:root {
	--act-magenta: #bf1574;
	--act-magenta-dark: #9a0f5d;
	--act-ink: #1d1d1f;
	--act-muted: #5c5c63;
	--act-line: #e6e2dd;
	--act-paper: #f6f3ef;
	--act-dark: #18181a;
	--act-head: "Montserrat", system-ui, sans-serif;
	--act-body: "Palanquin", system-ui, sans-serif;
	--act-wrap: 1200px;
	--act-radius: 6px;
}

/* ---------- Base ---------- */
body.act-site { font-family: var(--act-body); font-size: 17px; line-height: 1.65; color: var(--act-ink); background: #fff; }
.act-site h1, .act-site h2, .act-site h3, .act-site h4,
.act-site .et_pb_module h1, .act-site .et_pb_module h2, .act-site .et_pb_module h3 { font-family: var(--act-head); color: var(--act-ink); font-weight: 700; line-height: 1.2; padding-bottom: 0; letter-spacing: -.01em; }
.act-site a { color: var(--act-magenta); }
.act-site a:hover { color: var(--act-magenta-dark); }
.act-site :focus-visible { outline: 3px solid var(--act-magenta); outline-offset: 2px; }
.act-site #page-container { padding-top: 0 !important; }
.act-site #main-content .container::before { display: none; }
.act-site .et_pb_section { padding: 0; }
.act-site .et_pb_row { width: min(100% - 40px, var(--act-wrap)); max-width: none; padding: 0; }
.act-site .et_pb_text_inner > *:last-child { margin-bottom: 0; }
.act-site .et_pb_module { margin-bottom: 0; }

/* ---------- Logo ---------- */
.act-site .act-logo, .act-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--act-ink); flex-shrink: 0; }
.act-logo__mark { width: 46px; height: 46px; border-radius: 50%; background: var(--act-ink) url(hare-white.png) 52% 55% / 33px auto no-repeat; flex-shrink: 0; }
.act-logo__text { display: flex; flex-direction: column; font-family: var(--act-head); font-weight: 600; font-size: 14px; line-height: 1.08; text-transform: uppercase; letter-spacing: .02em; }
.act-logo__city { color: var(--act-magenta); font-weight: 500; letter-spacing: .42em; font-size: 12.5px; margin-top: 2px; }
.act-site .act-logo--light { color: #fff; }
.act-logo--light .act-logo__mark { background-color: #fff; background-image: url(hare-black.png); }
.act-site .act-logo:hover { color: var(--act-ink); }
.act-site .act-logo--light:hover { color: #fff; }

/* ---------- Top bar (students) ---------- */
.act-topbar { background: var(--act-dark); color: #c9c9cf; font-size: 13px; font-family: var(--act-head); }
.act-topbar__inner { width: min(100% - 40px, var(--act-wrap)); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 20px; }
.act-topbar__students { display: flex; align-items: center; gap: 14px; }
.act-topbar__label { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: #8d8d94; }
.act-topbar ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.act-topbar a { color: #e8e8ec; text-decoration: none; }
.act-topbar a:hover { color: #fff; text-decoration: underline; }
.act-topbar__right { display: flex; align-items: center; gap: 18px; }
.act-lang { display: flex; gap: 2px; }
.act-lang a { padding: 2px 7px; border-radius: 3px; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.act-lang a.is-current { background: var(--act-magenta); color: #fff; }

/* ---------- Header ---------- */
.act-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--act-line); }
.admin-bar .act-header { top: 32px; }
.act-header__inner { width: min(100% - 40px, var(--act-wrap)); margin: 0 auto; display: flex; align-items: center; gap: 28px; min-height: 78px; }
.act-nav { margin-left: auto; }
.act-menu { list-style: none; display: flex; margin: 0; padding: 0; gap: 4px; }
.act-menu > li { position: relative; }
.act-menu > li > a { display: flex; align-items: center; gap: 6px; padding: 28px 12px; font-family: var(--act-head); font-weight: 600; font-size: 15px; color: var(--act-ink); text-decoration: none; }
.act-menu > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); opacity: .55; }
.act-menu > li > a:hover, .act-menu > li:focus-within > a, .act-menu > li.current-menu-item > a, .act-menu > li.current-menu-ancestor > a { color: var(--act-magenta); }
.act-menu .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 270px; margin: 0; padding: 10px 0; background: #fff; border: 1px solid var(--act-line); border-top: 3px solid var(--act-magenta); box-shadow: 0 18px 40px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.act-menu > li:hover > .sub-menu, .act-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.act-menu .sub-menu a { display: block; padding: 8px 20px; color: var(--act-ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.act-menu .sub-menu a:hover, .act-menu .sub-menu .current-menu-item > a { color: var(--act-magenta); background: var(--act-paper); }
/* Long submenus (Formations) on two columns: add the CSS class "act-mega" to the menu item. */
.act-menu > li.act-mega > .sub-menu { columns: 2; column-gap: 0; min-width: 540px; }
.act-menu > li.act-mega > .sub-menu li { break-inside: avoid; }
.act-menu .sub-menu li.act-sep { border-top: 1px solid var(--act-line); margin-top: 6px; padding-top: 6px; }
.act-nav__extra { display: none; }
.act-cta { flex-shrink: 0; background: var(--act-magenta); color: #fff !important; font-family: var(--act-head); font-weight: 600; font-size: 15px; padding: 11px 22px; border-radius: 999px; text-decoration: none; transition: background .15s; }
.act-cta:hover { background: var(--act-magenta-dark); }
.act-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.act-burger span { display: block; height: 2px; background: var(--act-ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.act-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.act-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.act-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.act-subtoggle { display: none; }

@media (max-width: 1120px) {
	.act-topbar__students { display: none; }
	.act-topbar__inner { justify-content: flex-end; }
	.act-header__inner { min-height: 66px; gap: 14px; }
	.act-burger { display: block; }
	.act-cta { margin-left: auto; padding: 9px 16px; font-size: 14px; }
	.act-nav { position: fixed; inset: 102px 0 0 0; background: #fff; overflow-y: auto; padding: 8px 20px 40px; display: none; margin: 0; }
	.admin-bar .act-nav { top: 148px; }
	.act-nav.is-open { display: block; }
	.act-menu { flex-direction: column; gap: 0; }
	.act-menu > li { border-bottom: 1px solid var(--act-line); display: flex; flex-wrap: wrap; align-items: center; }
	.act-menu > li > a { padding: 16px 0; font-size: 18px; flex: 1; }
	.act-menu > li.menu-item-has-children > a::after { display: none; }
	.act-subtoggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--act-ink); }
	.act-subtoggle::before { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
	.act-subtoggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
	.act-menu .sub-menu, .act-menu > li.act-mega > .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; columns: 1; min-width: 0; width: 100%; padding: 0 0 12px; display: none; }
	.act-menu > li:hover > .sub-menu { display: none; }
	.act-menu > li.is-open > .sub-menu { display: block; }
	.act-menu .sub-menu a { padding: 9px 0 9px 14px; }
	.act-nav__extra { display: block; padding-top: 24px; }
	.act-nav__extra .act-lang a { font-size: 15px; padding: 6px 12px; border: 1px solid var(--act-line); margin-right: 6px; color: var(--act-ink); }
	.act-nav__extra .act-lang a.is-current { color: #fff; border-color: var(--act-magenta); }
	.act-nav__students { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 15px; }
	.act-nav__students a { color: var(--act-muted); }
	body.act-menu-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .act-header { top: 46px; } .admin-bar .act-nav { top: 148px; } }
@media (max-width: 480px) {
	.act-logo__text { font-size: 12px; }
	.act-logo__city { font-size: 11px; letter-spacing: .32em; }
	.act-logo__mark { width: 40px; height: 40px; background-size: 28px auto; }
	.act-cta { padding: 8px 13px; font-size: 13px; }
}

/* ---------- Footer ---------- */
.act-footer { background: var(--act-dark); color: #c9c9cf; font-size: 15px; }
.act-footer__grid { width: min(100% - 40px, var(--act-wrap)); margin: 0 auto; padding: 64px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.act-footer h2 { color: #fff; font-family: var(--act-head); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; padding: 0; }
.act-footer p { margin: 0 0 12px; padding: 0; }
.act-footer a { color: #fff; }
.act-footer a:hover { color: #ff8cc8; }
.act-footer__brand p { margin-top: 18px; max-width: 34ch; }
.act-footer__menu { list-style: none; margin: 0; padding: 0; }
.act-footer__menu li { margin-bottom: 7px; padding: 0; }
.act-footer__menu a { text-decoration: none; }
.act-footer__bottom { width: min(100% - 40px, var(--act-wrap)); margin: 0 auto; padding: 20px 0 28px; border-top: 1px solid #2f2f33; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: #8d8d94; flex-wrap: wrap; }
.act-footer__bottom .act-lang a { color: #c9c9cf; }
.act-footer__bottom .act-lang a.is-current { color: #fff; }
@media (max-width: 900px) { .act-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .act-footer__grid { grid-template-columns: 1fr; padding-top: 48px; } }

/* ---------- Shared page elements ---------- */
.act-eyebrow { font-family: var(--act-head); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--act-magenta); margin: 0 0 10px; padding: 0; }
.act-lead { font-size: 20px; line-height: 1.55; color: var(--act-muted); max-width: none; }
.act-pagehead { background: var(--act-paper); padding: 56px 0 44px !important; border-bottom: 1px solid var(--act-line); }
.act-pagehead h1 { font-size: clamp(30px, 4.2vw, 46px); margin: 0; }
.act-pagehead .act-lead { margin: 14px 0 0; }
.act-content { padding: 48px 0 80px !important; }
/* Page content uses the full width of the Divi row. */
.act-prose { max-width: none; width: 100%; }
.act-prose h2 { font-size: 26px; margin: 1.6em 0 .5em; }
.act-prose h3 { font-size: 20px; margin: 1.4em 0 .4em; }
.act-prose ul, .act-prose ol { padding-left: 1.2em; margin-bottom: 1em; }
.act-prose li { margin-bottom: .35em; }
.act-prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 15px; }
.act-prose td, .act-prose th { border: 1px solid var(--act-line); padding: 8px 10px; }
.act-doc-list { list-style: none; padding: 0 !important; }
.act-doc-list li { padding: 14px 16px; background: var(--act-paper); border-left: 3px solid var(--act-magenta); margin-bottom: 8px; }
.act-doc-list a { font-weight: 600; color: var(--act-ink); text-decoration: none; }
.act-doc-list a:hover { color: var(--act-magenta); text-decoration: underline; }
.act-doc-meta { display: block; font-size: 13px; color: var(--act-muted); }

/* Buttons (Divi button module with class act-btn) */
.act-site .et_pb_button.act-btn, .act-site .act-btn .et_pb_button, .act-site a.act-btn { display: inline-block; background: var(--act-magenta); color: #fff; border: 2px solid var(--act-magenta); border-radius: 999px; font-family: var(--act-head); font-weight: 600; font-size: 16px; padding: 12px 26px; line-height: 1.2; text-decoration: none; }
.act-site .et_pb_button.act-btn:hover, .act-site .act-btn .et_pb_button:hover { background: var(--act-magenta-dark); border-color: var(--act-magenta-dark); padding: 12px 26px; }
.act-site .et_pb_button.act-btn::after, .act-site .act-btn .et_pb_button::after { display: none; }
.act-site .act-btn--ghost.et_pb_button, .act-site .act-btn--ghost .et_pb_button { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.act-site .act-btn--ghost.et_pb_button:hover, .act-site .act-btn--ghost .et_pb_button:hover { background: #fff; color: var(--act-ink); border-color: #fff; }
.act-site .act-btn--light.et_pb_button, .act-site .act-btn--light .et_pb_button { background: #fff; color: var(--act-magenta); border-color: #fff; }
.act-site .act-btn--light.et_pb_button:hover, .act-site .act-btn--light .et_pb_button:hover { background: var(--act-ink); color: #fff; border-color: var(--act-ink); }
.act-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Formation pages and cards use the site colour */
.af-formation { --af-accent: var(--act-magenta); --af-soft: var(--act-paper); --af-line: var(--act-line); }
.af-title, .af-formation h2, .af-formation h3 { font-family: var(--act-head); }

/* =========================================================================
   Home page
   ========================================================================= */
.act-hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; background: var(--act-dark); }
.act-hero > .et_pb_row { position: static; padding: 120px 0 64px; }
.act-hero .et_pb_column, .act-hero .et_pb_code, .act-hero .et_pb_code_inner { position: static; }
.act-hero .et_pb_text { position: relative; z-index: 2; }
.act-hero__media { position: absolute; inset: 0; z-index: 0; }
.act-hero__media video, .act-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.act-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72) 100%); pointer-events: none; }
.act-site .act-hero__text h1 { color: #fff; font-size: clamp(34px, 5.4vw, 64px); max-width: 15ch; margin: 0 0 16px; }
.act-hero__text p { color: rgba(255,255,255,.9); font-size: clamp(17px, 1.6vw, 21px); max-width: 52ch; margin: 0 0 26px; }
.act-hero__text .act-eyebrow { color: #ff9fd1; }
.act-hero__pause { position: absolute; right: 20px; bottom: 20px; z-index: 3; background: rgba(0,0,0,.5); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font: 600 13px var(--act-head); padding: 7px 14px; cursor: pointer; }

.act-section { padding: 88px 0 !important; }
.act-section--paper { background: var(--act-paper); }
.act-head { margin-bottom: 36px; }
.act-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0; }
.act-head p.act-lead { margin: 12px 0 0; }

.act-events { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0 !important; margin: 0; }
.act-event { background: #fff; border: 1px solid var(--act-line); border-radius: var(--act-radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.act-event__date { font-family: var(--act-head); font-weight: 700; font-size: 22px; color: var(--act-magenta); line-height: 1.2; }
.act-event__title { font-family: var(--act-head); font-weight: 600; font-size: 17px; margin: 4px 0 0; }
.act-event p { margin: 0; color: var(--act-muted); font-size: 15px; }
.act-event a { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; }
@media (max-width: 980px) { .act-events { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .act-events { grid-template-columns: 1fr; } }

.act-register { background: var(--act-magenta); color: #fff; padding: 72px 0 !important; }
.act-register .et_pb_row { display: grid !important; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.act-register .et_pb_column { width: auto !important; margin: 0 !important; }
.act-register h2 { color: #fff !important; font-size: clamp(28px, 3.2vw, 40px); margin: 0 0 12px; }
.act-register p { color: rgba(255,255,255,.92); margin: 0 0 10px; }
.act-register__dates { background: rgba(0,0,0,.16); border-radius: var(--act-radius); padding: 24px 26px; }
.act-register__dates h3 { color: #fff !important; font-size: 17px; margin: 0 0 10px; }
.act-register__dates ul { list-style: none; padding: 0 !important; margin: 0 0 18px; }
.act-register__dates li { padding: 4px 0; font-weight: 600; }
@media (max-width: 860px) { .act-register .et_pb_row { grid-template-columns: 1fr; } }

.act-site .af-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.act-site .af-card a { position: relative; border-radius: var(--act-radius); overflow: hidden; }
.act-site .af-card img { aspect-ratio: 4 / 3; transition: transform .4s; }
.act-site .af-card a:hover img, .act-site .af-card a:focus-visible img { transform: scale(1.04); }
.act-site .af-card-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-family: var(--act-head); font-size: 19px; font-weight: 700; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); }
@media (max-width: 860px) { .act-site .af-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .act-site .af-cards { grid-template-columns: 1fr; } }
.af-list { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.af-list li { border-bottom: 1px solid var(--act-line); padding: 0; }
.af-list a { display: block; padding: 13px 0; color: var(--act-ink); font-family: var(--act-head); font-weight: 600; font-size: 15px; text-decoration: none; }
.af-list a:hover { color: var(--act-magenta); }
@media (max-width: 860px) { .af-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .af-list { grid-template-columns: 1fr; } }
.act-subhead { font-size: 20px !important; margin: 56px 0 16px !important; }

.act-history .et_pb_row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.act-history .et_pb_column { width: auto !important; margin: 0 !important; }
.act-history img { border-radius: var(--act-radius); width: 100%; }
.act-history h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 0 0 18px; }
.act-history .act-year { font-family: var(--act-head); font-weight: 700; font-size: 64px; line-height: 1; color: var(--act-magenta); margin: 0 0 8px; }
@media (max-width: 860px) { .act-history .et_pb_row { grid-template-columns: 1fr; gap: 32px; } }

.act-quick { padding: 0 0 88px !important; }
.act-quick__list { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.act-quick__list a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px 24px; border: 1px solid var(--act-line); border-radius: var(--act-radius); color: var(--act-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.act-quick__list a strong { font-family: var(--act-head); font-size: 17px; }
.act-quick__list a span { font-size: 15px; color: var(--act-muted); }
.act-quick__list a:hover { border-color: var(--act-magenta); box-shadow: 0 10px 24px rgba(191,21,116,.12); }
@media (max-width: 980px) { .act-quick__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .act-quick__list { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* Links styled as buttons inside text modules */
.act-site a.act-btn:hover { background: var(--act-magenta-dark); border-color: var(--act-magenta-dark); color: #fff; }
.act-site a.act-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.act-site a.act-btn--ghost:hover { background: #fff; color: var(--act-ink); border-color: #fff; }
.act-site a.act-btn--light { background: #fff; color: var(--act-magenta); border-color: #fff; }
.act-site a.act-btn--light:hover { background: var(--act-ink); color: #fff; border-color: var(--act-ink); }

/* Lists used as layouts: no Divi bullets or indents */
.act-site .et_pb_text ul.af-cards, .act-site .et_pb_text ul.af-list, .act-site .et_pb_text ul.act-events, .act-site .et_pb_text ul.act-quick__list, .act-site .et_pb_text ul.act-doc-list { padding: 0; list-style: none; }
.act-site .et_pb_text ul.af-cards > li, .act-site .et_pb_text ul.af-list > li, .act-site .et_pb_text ul.act-events > li, .act-site .et_pb_text ul.act-quick__list > li, .act-site .et_pb_text ul.act-doc-list > li { list-style: none; }

/* Hero: stronger shade behind the text, on the left where it sits */
.act-hero::after { background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.1) 75%), linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5) 100%); }
.act-hero__text p { text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.act-hero::after { display: block; width: 100%; height: 100%; }
.act-hero::after { content: none; }
.act-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.12) 78%), linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45) 100%); }
.act-hero__media video { position: absolute; inset: 0; }
.act-site .et_pb_section { padding-left: 0 !important; padding-right: 0 !important; }
.act-site .et_pb_section > .et_pb_row { margin-left: auto !important; margin-right: auto !important; }
.act-site .act-event__title { margin: 2px 0 0; padding: 0; }
.act-site .act-event p { padding: 0; }

/* ---------- Contact page and forms ---------- */
.act-contact .et_pb_row { display: grid !important; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.act-contact .et_pb_column { width: auto !important; margin: 0 !important; }
.act-contact-card { background: var(--act-paper); border-radius: var(--act-radius); padding: 28px; }
.act-contact-card h2 { font-size: 22px; margin: 0 0 14px; }
.act-contact-card h3 { font-size: 16px; margin: 22px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.act-contact-card p { margin: 0 0 12px; padding: 0; }
.act-muted { color: var(--act-muted); font-size: 15px; }
.act-contact-doc .et_pb_row { max-width: 860px; }
@media (max-width: 900px) { .act-contact .et_pb_row { grid-template-columns: 1fr; gap: 32px; } }

.act-site .act-form .et_pb_contact_main_title { font-family: var(--act-head); font-size: clamp(24px, 2.6vw, 30px); margin: 0 0 18px; padding: 0; }
.act-site .act-form .et_pb_contact_form_label, .act-site .act-form label.et_pb_contact_form_label { display: block; font-family: var(--act-head); font-weight: 600; font-size: 14px; color: var(--act-ink); margin-bottom: 6px; }
.act-site .act-form .input, .act-site .act-form select.et_pb_contact_select { background: #fff; border: 1px solid #cfcac4; border-radius: var(--act-radius); padding: 12px 14px; font-family: var(--act-body); font-size: 16px; color: var(--act-ink); width: 100%; }
.act-site .act-section--paper .act-form .input, .act-site .act-section--paper .act-form select.et_pb_contact_select { background: #fff; }
.act-site .act-form .input:focus, .act-site .act-form select:focus { border-color: var(--act-magenta); outline: 2px solid var(--act-magenta); outline-offset: 0; }
.act-site .act-form textarea.input { min-height: 150px; }
.act-site .act-form .et_contact_error { border-color: #c62828 !important; }
.act-site .act-form .et_pb_contact_field_options_list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
.act-site .act-form .et_pb_contact_field_checkbox label { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.act-site .act-form .et_pb_contact_field_checkbox label i { border: 1px solid #cfcac4; background: #fff; }
@media (max-width: 700px) { .act-site .act-form .et_pb_contact_field_options_list { grid-template-columns: 1fr 1fr; } }
.act-site .act-form .et_pb_contact_submit, .act-site .act-form .et_pb_button { background: var(--act-magenta) !important; color: #fff !important; border: 2px solid var(--act-magenta) !important; border-radius: 999px !important; font-family: var(--act-head) !important; font-weight: 600; font-size: 16px !important; padding: 12px 28px !important; }
.act-site .act-form .et_pb_contact_submit:hover { background: var(--act-magenta-dark) !important; border-color: var(--act-magenta-dark) !important; }
.act-site .act-form .et_contact_bottom_container { float: none; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 10px; justify-content: flex-start; }
.act-site .act-form .et_pb_contact_right { font-size: 15px; }
.act-site .act-form .et_pb_contact_right .input { width: 64px; display: inline-block; padding: 10px; }
.act-site .act-form .et-pb-contact-message { font-size: 16px; }
.act-site .act-form .et-pb-contact-message p { background: #e9f6ec; border-left: 4px solid #2e7d32; padding: 14px 18px; margin: 0 0 16px; }
.act-site .act-form .et-pb-contact-message ul { background: #fdecec; border-left: 4px solid #c62828; padding: 12px 18px 12px 36px; }
.act-form-note { font-size: 14px; color: var(--act-muted); margin-top: 18px; }
/* Error message: one red box (intro line + list of missing fields) */
.act-site .act-form .et-pb-contact-message:has(ul) p { background: #fdecec; border-left-color: #c62828; margin: 0; padding-bottom: 4px; }
.act-site .act-form .et-pb-contact-message:has(ul) ul { margin: 0 0 16px; padding-top: 4px; }
@media (max-width: 600px) {
	.act-site .act-form .et_pb_contact_field { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
	.act-site .act-form .et_pb_contact_field_options_list { grid-template-columns: 1fr; }
}
.act-site .act-form .et_pb_contact_field_checkbox label { align-items: flex-start; line-height: 1.4; }
.act-site .act-form .et_pb_contact_field_checkbox label i { flex-shrink: 0; margin-top: 2px; }
.act-site .act-form-title { font-size: clamp(24px, 2.6vw, 30px); margin: 0 0 22px; }
/* "Nous trouver" follows the form while scrolling: the sticky element is the Divi module,
   whose column is stretched to the height of the form. */
.act-contact .et_pb_row > .et_pb_column:first-child > .et_pb_module { position: sticky; top: 102px; }
.admin-bar .act-contact .et_pb_row > .et_pb_column:first-child > .et_pb_module { top: 134px; }
@media (max-width: 900px) { .act-contact .et_pb_row > .et_pb_column:first-child > .et_pb_module { position: static; } }
.act-contact .et_pb_row > .et_pb_column:first-child { align-self: stretch; }
.act-footer .act-cookie-open { background: none; border: 0; padding: 0; color: #c9c9cf; font: inherit; text-decoration: underline; cursor: pointer; }
.act-footer .act-cookie-open:hover { color: #fff; }

/* Legal pages */
.act-legal .act-prose { max-width: 860px; }
.act-legal .act-prose h2 { font-size: 24px; margin: 36px 0 10px; }
.act-legal .act-prose h2:first-child { margin-top: 0; }
body.act-site .act-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; border: 0; }
body.act-site .act-table th, body.act-site .act-table td { text-align: left; vertical-align: top; padding: 10px 12px; border: 0; border-bottom: 1px solid #e6e2dd; }
.act-table th { font-family: var(--act-head); font-weight: 600; background: #f6f3ef; }
.act-table code { font-size: 14px; background: #f1eeea; padding: 1px 6px; border-radius: 4px; }
@media (max-width: 640px) {
	.act-table thead { display: none; }
	.act-table tr { display: block; border-bottom: 1px solid #e6e2dd; padding: 8px 0; }
	body.act-site .act-table td { display: block; border: 0; padding: 3px 0; }
	.act-table td:first-child { font-weight: 600; }
}
mark.act-todo { background: #fff1a8; color: #5a4a00; padding: 1px 4px; border-radius: 3px; }
.act-site button.act-btn { display: inline-block; background: var(--act-magenta); color: #fff; border: 2px solid var(--act-magenta); border-radius: 999px; font-family: var(--act-head); font-weight: 600; font-size: 16px; padding: 12px 26px; line-height: 1.2; cursor: pointer; }
.act-site button.act-btn:hover { background: var(--act-magenta-dark); border-color: var(--act-magenta-dark); }
.act-updated { margin-top: 32px; }
.act-footer__bottom a { color: #c9c9cf; }
.act-footer__bottom a:hover { color: #fff; }

/* Partners (bottom of the home page) */
.act-partners { border-top: 1px solid var(--act-line); }
.act-site .act-partners__title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--act-muted); font-weight: 600; text-align: center; margin: 0 0 24px; }
.act-site .et_pb_text ul.act-partners__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.act-site .et_pb_text ul.act-partners__list > li { list-style: none; padding: 0; }
.act-partners__list a { display: block; border-radius: var(--act-radius); transition: opacity .15s, transform .15s; }
.act-partners__list a:hover { opacity: .8; transform: translateY(-2px); }
.act-partners__logo { display: block; height: 72px; width: auto; }

/* Home page on phones: agenda and finalités become swipeable rows (the next card peeks out). */
@media (max-width: 767px) {
	.act-home .ae-cards, .act-site.act-home .af-cards {
		display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
		margin: 0 -20px; padding: 4px 20px 16px !important; scroll-padding-inline: 20px; scrollbar-width: none;
	}
	.act-home .ae-cards::-webkit-scrollbar, .act-site.act-home .af-cards::-webkit-scrollbar { display: none; }
	.act-home .ae-cards > li, .act-site.act-home .af-cards > li { flex: 0 0 82%; scroll-snap-align: start; }
	.act-home .ae-card:hover, .act-home .ae-card:focus-within { transform: none; }
	.act-swipe-dots { display: flex; justify-content: center; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
	.act-swipe-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--act-line); cursor: pointer; }
	.act-swipe-dots button[aria-current="true"] { background: var(--act-magenta); width: 22px; border-radius: 5px; }
}
@media (min-width: 768px) { .act-swipe-dots { display: none; } }
