/* ==========================================================================
   Pascal Etienne Auto-École — styles du thème
   Breakpoints : bureau ≥ 981px, tablette 768–980px, mobile ≤ 767px
   ========================================================================== */

:root {
	--pae-yellow: #ffc10a;
	--pae-yellow-logo: #ffcf39;
	--pae-cream: #ffefca;
	--pae-dark: #333;
	--pae-text: #454545;
	--pae-grey: #666;
	--pae-red: #f00;
	--pae-sky: #00b0f0;
	--pae-blue: #0070c0;
	--pae-shadow: 0 12px 40px -6px rgba(69, 69, 69, .3);
	--pae-anek: 'Anek Latin', Helvetica, Arial, Lucida, sans-serif;
	--pae-arial: Arial, Helvetica, Lucida, sans-serif;
}

/* ---------- Base (équivalent du socle Divi) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7em;
	color: var(--pae-grey);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--pae-dark); padding-bottom: 10px; line-height: 1em; font-weight: 500; }
h1 { font-size: 30px; } h2 { font-size: 26px; } h3 { font-size: 22px; } h4 { font-size: 18px; } h5 { font-size: 16px; } h6 { font-size: 14px; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
p { padding-bottom: 1em; }
p:last-child, p:last-of-type { padding-bottom: 0; }
a { color: #2ea3f2; text-decoration: none; }
strong, b { font-weight: 700; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
iframe, embed, video { max-width: 100%; }
button { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: #333; }

.pae-content ul, .pae-t ul { list-style: disc; padding: 0 0 1em 1em; line-height: 26px; }
.pae-content ol, .pae-t ol { list-style: decimal inside; padding: 0 0 1em; line-height: 26px; }
.pae-content ul:last-child, .pae-content ol:last-child { padding-bottom: 0; }

.pae-main { overflow-x: clip; }

/* ---------- Grille (reprend les proportions Divi) ---------- */
.pae-s { position: relative; padding: 54px 0; background-color: #fff; background-size: cover; background-position: 50%; }
.pae-r { position: relative; width: 80%; max-width: 1080px; margin: 0 auto; padding: 27px 0; }
.pae-r--wide { max-width: 1920px; }
.pae-r--full { width: 100%; max-width: none; }

/* Modules : espacement vertical Divi (2,75 % de la largeur de rangée en gouttière 3). */
.pae-r > :not(:last-child),
.pae-col > :not(:last-child) { margin-bottom: var(--pae-mb, 2.75%); }
.pae-r > .pae-cols:not(:last-child), .pae-cols > .pae-col { margin-bottom: 0; }

.pae-cols { display: flex; flex-wrap: nowrap; align-items: flex-start; --pae-gap: 5.5%; }
.pae-cols.pae-g2 { --pae-gap: 3%; }
.pae-cols.pae-g1 { --pae-gap: 0%; }
.pae-cols.pae-eq { align-items: stretch; }
.pae-col { position: relative; min-width: 0; flex: 0 0 auto; margin-right: var(--pae-gap); background-size: cover; background-position: 50%; background-repeat: no-repeat; }
.pae-col:last-child { margin-right: 0; }

.pae-c11 { width: 100%; --pae-mb: 2.75%; }
.pae-c12 { width: 47.25%; --pae-mb: 5.82%; }
.pae-c13 { width: 29.6667%; --pae-mb: 9.27%; }
.pae-c23 { width: 64.833%; --pae-mb: 4.242%; }
.pae-c14 { width: 20.875%; --pae-mb: 13.174%; }
.pae-c34 { width: 73.625%; --pae-mb: 3.735%; }
.pae-c25 { width: 36.7%; --pae-mb: 7.493%; }
.pae-c35 { width: 57.8%; --pae-mb: 4.758%; }
.pae-g2 > .pae-c12 { width: 48.5%; --pae-mb: 3.093%; }
.pae-g2 > .pae-c13 { width: 31.3333%; --pae-mb: 4.787%; }
.pae-g2 > .pae-c23 { width: 65.667%; --pae-mb: 2.284%; }
.pae-g2 > .pae-c14 { width: 22.75%; --pae-mb: 6.593%; }
.pae-g2 > .pae-c34 { width: 74.25%; --pae-mb: 2.02%; }
.pae-g2 > .pae-c25 { width: 38.8%; --pae-mb: 3.866%; }
.pae-g2 > .pae-c35 { width: 58.2%; --pae-mb: 2.577%; }
.pae-g1 > .pae-col { --pae-mb: 0; }
.pae-g1 > .pae-c12 { width: 50%; }
.pae-g1 > .pae-c13 { width: 33.3333%; }
.pae-g1 > .pae-c23 { width: 66.667%; }
.pae-g1 > .pae-c14 { width: 25%; }
.pae-g1 > .pae-c34 { width: 75%; }
.pae-g1 > .pae-c25 { width: 40%; }
.pae-g1 > .pae-c35 { width: 60%; }

/* Texte : bloc « module texte » (titre + paragraphes sans espacement de module) */
.pae-t > * { margin-bottom: 0 !important; }
.pae-t { word-wrap: break-word; }

.pae-center { text-align: center; }
.pae-img { line-height: 0; }
.pae-img img { display: block; }
.pae-img--inline img { display: inline-block; }

@media (min-width: 981px) and (max-width: 1349px) {
	.pae-s { padding: 4% 0; }
	.pae-r { padding: 2% 0; }
}
@media (max-width: 980px) {
	.pae-s { padding: 50px 0; }
	.pae-r { padding: 30px 0; }
	.pae-cols { flex-wrap: wrap !important; }
	.pae-cols.pae-cols > .pae-col { width: 100%; margin-right: 0; }
	.pae-cols.pae-cols > .pae-col:not(:last-child) { margin-bottom: 30px; }
	.pae-r > :not(:last-child), .pae-col > :not(:last-child) { margin-bottom: 30px; }
	.pae-g1 > .pae-col:not(:last-child), .pae-g1 > .pae-col > * { margin-bottom: 0; }
	.pae-cols.pae-cols.pae-c4-tablet > .pae-col { width: 47.25%; margin-right: 5.5%; }
	.pae-cols.pae-cols.pae-c4-tablet > .pae-col:nth-child(2n) { margin-right: 0; }
}
@media (max-width: 767px) {
	.pae-cols.pae-cols.pae-c4-tablet > .pae-col { width: 100%; margin-right: 0; }
}

/* ---------- Boutons ---------- */
a.pae-btn,
.pae-btn .wp-block-button__link {
	display: inline-block;
	font-family: var(--pae-arial);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.7em;
	color: #fff;
	background: var(--pae-yellow);
	border: 0;
	border-radius: 10px;
	padding: 12px 25px;
	text-decoration: none;
	transition: all .2s;
	cursor: pointer;
}
.wp-block-buttons { line-height: 0; }
.wp-block-button { display: inline-block; line-height: 1.7em; }

/* ==========================================================================
   Bandeau promotionnel (visible uniquement < 400px, comme le site d'origine)
   ========================================================================== */
.pae-topbar { display: none; }
@media (max-width: 399px) {
	.pae-topbar { display: block; position: fixed; z-index: 99998; top: 0; left: 0; width: 100%; background: var(--pae-yellow-logo); }
	.pae-topbar__box { line-height: 2em; padding: 5px 10px 6px; margin: 0 auto; text-align: center; color: #fff; font-family: var(--pae-arial); font-size: 13px; font-weight: 300; }
	body.pae-has-topbar { padding-top: 37px; }
	body.pae-has-topbar .pae-header__bar { top: 37px; }
	body.pae-has-topbar .pae-panel { top: 37px; height: calc(100vh - 37px); }
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.pae-header { position: relative; height: 70px; background: #fff; z-index: 1000; }
.pae-header__bar { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; background: #fff; transition: box-shadow .3s; }
body.admin-bar .pae-header__bar { top: 32px; }
.pae-header__bar.is-scrolled { box-shadow: 0 12px 18px -6px rgba(0, 0, 0, .1); }
.pae-header__inner { position: relative; display: flex; justify-content: space-between; height: 80px; padding: 0 20px; max-width: 3840px; margin: 0 auto; }
.pae-header__inner > div { display: flex; flex: none; }

.pae-header__logo-wrap { width: 15%; align-items: center; justify-content: flex-start; align-self: flex-start; }
.pae-header__logo { display: flex; align-items: center; justify-content: center; width: 75%; margin: 0 5px; padding: 20px 30px; background: var(--pae-yellow-logo); border-radius: 0 0 25px 25px; overflow: hidden; }
.pae-header__logo img { display: block; width: 100%; height: auto; }

.pae-header__search-wrap { width: 61%; align-items: flex-start; justify-content: flex-end; }
.pae-header__search { display: flex; align-items: center; margin: 18px 5px 0; padding: 10px; border: 0; border-radius: 3px; background: transparent; cursor: pointer; font-size: 18px; line-height: 18px; color: var(--pae-grey); }
.pae-header__search img { display: block; width: 24px; height: 24px; }
.pae-header__search-label { display: inline-block; margin-left: 5px; font-family: var(--pae-arial); font-size: 24px; line-height: 24px; color: var(--pae-text); }

.pae-header__menu-wrap { order: 1; width: 12%; align-items: flex-start; justify-content: center; }
.pae-header__menu { display: flex; flex-flow: row-reverse; align-items: center; justify-content: center; margin: 18px 5px 0; padding: 9px 10px; border: 0; border-radius: 3px; background: transparent; cursor: pointer; font-size: 20px; line-height: 34px; color: var(--pae-grey); }
.pae-header__menu img { display: block; width: 26px; height: 26px; }
.pae-header__menu-label { display: flex; margin-left: 5px; font-family: var(--pae-arial); font-size: 24px; line-height: 24px; color: var(--pae-text); }

.pae-header__contact-wrap { width: 12%; align-items: flex-start; justify-content: center; }
.pae-header__contact { min-width: 0; white-space: nowrap; display: flex; align-items: center; justify-content: center; margin: 16px 5px 0 10px; padding: 14px 21px; border-radius: 10px; background: var(--pae-yellow); font-family: var(--pae-arial); font-size: 20px; font-weight: 500; line-height: 20px; color: #fff; }

/* Recherche */
.pae-search { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0; background: #fff; }
.pae-search[hidden] { display: none; }
.pae-search__input { width: 668px; max-width: 75%; height: 43px; padding: 0 12px; border: 0; border-radius: 3px; background: #f6f6f6; font-family: 'Open Sans', Arial, sans-serif; font-size: 18px; color: rgba(69, 69, 69, .94); outline: 0; }
.pae-search__input::placeholder { color: rgba(69, 69, 69, .94); opacity: 1; }
.pae-search__close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: 0; padding: 0; border: 0; background: transparent; color: #000; cursor: pointer; }
.pae-search__close svg { width: 15px; height: 20px; }
.pae-header.is-searching .pae-header__inner > div { visibility: hidden; }

@media (max-width: 980px) {
	.pae-header__inner { padding-top: 14px; padding-bottom: 14px; }
	.pae-header__logo-wrap { width: 33%; }
	.pae-header__logo { width: 44%; padding: 3px; border-radius: 25px; }
	.pae-header__search-wrap { width: 30%; align-items: center; justify-content: center; }
	.pae-header__search, .pae-header__menu { margin-top: 0; }
	.pae-header__search { font-size: 24px; }
	.pae-header__menu-wrap { width: 33%; align-items: center; justify-content: flex-end; }
	.pae-header__contact-wrap { display: none !important; }
}
@media (max-width: 767px) {
	.pae-header__inner { height: 52px; padding: 0; }
	.pae-header__logo-wrap { justify-content: center; }
	.pae-header__logo { width: 63%; margin: 0 5px 0 0; border-radius: 0 0 25px 25px; }
	.pae-header__search-wrap, .pae-header__menu-wrap { align-items: flex-start; }
	.pae-header__search { margin: 5px 5px 0; font-size: 22px; }
	.pae-header__menu { margin-top: 5px; }
	.pae-header__menu img { width: 27px; height: 27px; }
	.pae-header__menu-label { display: none; }
	.pae-search__input { max-width: 90%; }
}
@media (max-width: 399px) {
	.pae-header__search-label { display: none; }
}

/* ==========================================================================
   Panneau latéral (menu)
   ========================================================================== */
.pae-panel-overlay { position: fixed; inset: 0; z-index: 99998; background: transparent; }
.pae-panel-overlay[hidden] { display: none; }
.pae-panel { position: fixed; top: 0; right: 0; z-index: 99999; width: 320px; height: 100vh; padding-top: 29px; background: #f9f9f9; overflow-y: auto; }
.pae-panel[hidden] { display: none; }
.pae-panel.is-opening { animation: paeFadeInRight .4s both; }
.pae-panel.is-closing { animation: paeFadeOutRight .4s both; }
.pae-panel-overlay.is-opening { animation: paeFade .4s both; }
.pae-panel-overlay.is-closing { animation: paeFade .4s reverse both; }
@keyframes paeFadeInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: none; } }
@keyframes paeFadeOutRight { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(100%); } }
@keyframes paeFade { from { opacity: 0; } to { opacity: 1; } }

.pae-panel__head { width: 300px; margin: 0 auto; padding: 0 20px 0 30px; }
.pae-panel__close { display: inline-flex; align-items: center; height: 34px; margin: 0; padding: 6px 8px 4px 14px; border: 0; border-radius: 50px; background: var(--pae-yellow); color: #fff; cursor: pointer; }
.pae-panel__close span { margin: 0 0 3px; font-family: var(--pae-arial); font-size: 19px; line-height: 19px; transition: color .3s; }
.pae-panel__close:hover span { color: #faf3e3; }
.pae-panel__close svg { width: 24px; height: 14px; }

.pae-panel__nav { width: 300px; margin: 0 auto; padding: 15px; max-height: 80vh; overflow: hidden; }
.pae-panel__slider { position: relative; overflow: hidden; }
.pae-menu { position: relative; }
.pae-menu, .pae-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.pae-menu { transition: transform .3s ease; }
.pae-menu > li { position: relative; }
.pae-menu li a { display: block; padding: 10px 20px; font-family: var(--pae-arial); font-size: 24px; line-height: 48px; color: var(--pae-text); text-align: left; cursor: pointer; transition: color .2s; }
.pae-menu li a:hover { color: var(--pae-text); }
.pae-menu li.current-menu-item > a,
.pae-menu li.current-menu-ancestor > a,
.pae-menu li.current-menu-parent > a { color: var(--pae-yellow); }
.pae-menu > li.menu-item-has-children > a { font-weight: 700; }
.pae-menu__toggle { position: absolute; top: 0; right: 0; width: 46px; height: 68px; padding: 0; border: 0; background: transparent; color: var(--pae-text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pae-menu__toggle svg { width: 12.5px; height: 20px; }
.pae-menu .sub-menu { position: absolute; top: 0; left: 100%; width: 100%; visibility: hidden; }
.pae-menu .sub-menu.is-open { visibility: visible; }
.pae-menu .sub-menu li a { border-bottom: 1px solid rgba(223, 224, 223, .42); line-height: 48px; }
.pae-menu.is-shifted { transform: translateX(-100%); }
.pae-submenu-header { display: flex; align-items: center; padding: 10px 0; margin-bottom: 20px; border-bottom: 2px solid #f3efe0; }
.pae-submenu-header button { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 0; border: 0; background: transparent; color: var(--pae-text); cursor: pointer; }
.pae-submenu-header button svg { width: 12.5px; height: 20px; }
.pae-submenu-header span { padding: 0 15px; font-family: var(--pae-arial); font-size: 24px; font-weight: 700; line-height: 50px; color: var(--pae-text); }

.pae-panel .pae-social { justify-content: flex-start; width: 236px; margin: 8px auto 0; }

@media (max-width: 980px) {
	.pae-panel__nav { width: 340px; max-width: 100%; }
	.pae-menu li a, .pae-submenu-header span { font-size: 22px; line-height: 44px; }
}
@media (max-width: 767px) {
	.pae-panel__head { padding: 0 20px 0 35px; }
	.pae-panel__nav { width: 300px; }
	.pae-menu__toggle { height: 64px; }
	.pae-menu .sub-menu li a { line-height: 44px; }
	.pae-panel .pae-social { margin-top: 31px; }
}

/* Icônes sociales (pastilles jaunes) */
.pae-social { display: flex; flex-wrap: wrap; list-style: none !important; margin: 0; padding: 0 !important; line-height: 26px; }
.pae-social li { margin: 0 8px 8px 0; }
.pae-social li:last-child { margin-right: 0; }
.pae-social a { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 6px; border-radius: 50%; background: var(--pae-yellow); color: #fff; transition: background-color .3s; }
.pae-social a:hover { background: var(--pae-text); }
.pae-social svg { height: 20px; width: 20px; }
.pae-social .pae-icon--facebook { width: 12.5px; }
.pae-social .pae-icon--instagram, .pae-social .pae-icon--whatsapp { width: 17.5px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.pae-footer__main { padding: 54px 0; background: #fff; }
.pae-footer__row { display: flex; width: 85%; max-width: 1920px; margin: 0 auto; padding: 27px 0; }
.pae-footer__col { width: 20.875%; margin-right: 5.5%; font-family: var(--pae-anek); font-size: 18px; font-weight: 500; line-height: 23.8px; color: var(--pae-text); }
.pae-footer__col:last-child { margin-right: 0; }
.pae-footer__col--2, .pae-footer__col--3 { padding-left: 40px; }
.pae-footer__col > * { margin-bottom: 10px; }
.pae-footer__col > .pae-social { margin-bottom: 0; }
.pae-footer__col p { padding: 0; }
.pae-footer__col a { color: var(--pae-yellow); text-decoration: underline; }
.pae-footer__title { font-family: var(--pae-anek); font-weight: 600; font-size: 42px; color: var(--pae-text); padding-bottom: 10px; }
.pae-footer__col h3 { font-family: var(--pae-anek); font-weight: 600; font-size: 30px; color: var(--pae-dark); }
.pae-footer__col .pae-social { margin-top: 30px !important; }
.pae-footer__col .pae-social a { color: #fff; text-decoration: none; width: 32px; height: 32px; padding: 0; border-radius: 3px; }
.pae-footer__col .pae-social svg { height: 16px; }
.pae-footer__col .pae-social .pae-icon--facebook { width: 10px; }
.pae-footer__col .pae-social .pae-icon--instagram, .pae-footer__col .pae-social .pae-icon--whatsapp { width: 14px; }
.pae-footer__legal { text-decoration: underline; color: var(--pae-yellow); }
.pae-footer__col--4 { line-height: 0; }
.pae-footer__img { display: block; width: 100%; height: auto; margin-left: -22px; border-radius: 15px; animation: paeMoveUpDown 6s ease-in-out infinite; }
@keyframes paeMoveUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

.pae-footer__bottom { background: var(--pae-cream); }
.pae-footer__bottom p { width: 80%; max-width: 1080px; margin: 0 auto; padding: 10px 0; font-family: var(--pae-arial); font-size: 14px; line-height: 23.8px; color: var(--pae-text); text-align: center; }
.pae-footer__bottom a { color: var(--pae-text); font-weight: 700; text-decoration: underline; }

@media (min-width: 981px) and (max-width: 1349px) {
	.pae-footer__main { padding: 4% 0; }
	.pae-footer__row { padding: 2% 0; }
}
@media (max-width: 980px) {
	.pae-footer__main { padding: 50px 0; }
	.pae-footer__row { flex-wrap: wrap; padding: 30px 0; }
	.pae-footer__col { width: 47.25%; margin-right: 5.5%; margin-bottom: 30px; font-size: 16px; }
	.pae-footer__col:nth-child(2n) { margin-right: 0; }
	.pae-footer__col:last-child { margin-bottom: 0; }
	.pae-footer__col--2, .pae-footer__col--3 { padding-left: 0; }
	.pae-footer__title { font-size: 2.5rem; }
	.pae-footer__col h3 { font-size: 2rem; }
	.pae-footer__img { width: auto; max-width: 75%; }
}
@media (max-width: 767px) {
	.pae-footer__col { width: 100%; margin-right: 0; font-size: 14px; }
	.pae-footer__title { font-size: 2rem; }
	.pae-footer__col h3 { font-size: 1.6rem; }
	.pae-footer__col--3 h3 { font-size: 1.5rem; }
	.pae-footer__col--4 { display: none; }
	.pae-footer__col--3 { margin-bottom: 30px !important; }
}

/* ==========================================================================
   Archives / recherche / 404
   ========================================================================== */
.pae-archive { padding: 54px 0; }
.pae-archive__title, .pae-entry__title { font-family: var(--pae-anek); font-weight: 600; font-size: 51px; line-height: 1.1em; color: var(--pae-dark); padding-bottom: 30px; }
.pae-result { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid #eee; }
.pae-result__title { font-family: var(--pae-anek); font-weight: 600; font-size: 30px; }
.pae-result__title a { color: var(--pae-dark); }
.pae-result__excerpt { font-family: var(--pae-arial); font-size: 16px; color: var(--pae-text); }
.pae-result__more { color: var(--pae-yellow); font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   Blocs WordPress (le CSS de base de WordPress est désactivé)
   ========================================================================== */
.pae-content { color: var(--pae-text); }
.pae-content h1, .pae-content h2, .pae-content h3, .pae-content h4 { font-family: var(--pae-anek); font-weight: 600; color: var(--pae-dark); }
.pae-content p, .pae-content li { font-family: var(--pae-arial); }
.pae-content a { color: inherit; }

.wp-block-image { margin: 0; line-height: 0; }
.wp-block-image img { max-width: 100%; height: auto; }
.wp-block-image.aligncenter { text-align: center; }
.wp-block-image figcaption { line-height: 1.5; font-size: 13px; }

.wp-block-cover { position: relative; display: block; overflow: hidden; }
.wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; padding: 0; object-fit: cover; border: 0; z-index: 0; }
.wp-block-cover__background { position: absolute; inset: 0; z-index: 1; opacity: .5; background-color: #000; }
.wp-block-cover__background.has-background-dim-100 { opacity: 1; }
.wp-block-cover__background.has-background-dim-0 { opacity: 0; }
.wp-block-cover__inner-container { position: relative; z-index: 2; }
.has-black-background-color { background-color: #000; }

.wp-block-columns, .wp-block-column { box-sizing: border-box; }
.wp-block-group { box-sizing: border-box; }

.pae-show-phone { display: none; }
@media (max-width: 767px) {
	.pae-hide-phone { display: none; }
	.pae-show-phone { display: inline; }
}

/* Boutons Divi : flèche au survol */
.pae-btn .wp-block-button__link { position: relative; transition: padding .3s ease, background-color .3s; }
.pae-btn .wp-block-button__link::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 12px;
	width: .5em;
	height: .8em;
	margin-top: -.4em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0;
	transition: opacity .3s;
}
.pae-btn .wp-block-button__link:hover { padding-right: 34px; }
.pae-btn .wp-block-button__link:hover::after { opacity: 1; }
.pae-btn--outline .wp-block-button__link { background: transparent; border: 4px solid #fff; padding: 16px 24px; letter-spacing: .1em; line-height: 34px; }
.pae-btn--outline .wp-block-button__link:hover { padding-right: 34px; }

/* Titres de section récurrents */
.pae-h-section { font-size: 51px; }
.pae-h-60 { font-size: 60px !important; }

/* Cartes (vignettes colorées cliquables) */
.pae-card {
	height: 100%;
	padding: 20px 20px 14vw;
	border-radius: 15px;
	box-shadow: var(--pae-shadow);
	transition: transform .3s ease, box-shadow .3s ease;
	cursor: pointer;
}
.pae-card:hover { box-shadow: 0 12px 70px -6px rgba(69, 69, 69, .4); transform: scale(1.02); }
.pae-card .wp-block-cover__inner-container > * { margin: 0; }
.pae-card__title { font-family: var(--pae-anek) !important; font-weight: 700 !important; font-size: 25px; line-height: 1em; color: #fff !important; text-align: center; padding-bottom: 10px; }
.pae-card__title a { color: #fff; }
.pae-card__line { font-family: var(--pae-arial); font-size: 16px; font-weight: 600; line-height: 23.8px; color: #fff; text-align: center; padding: 0 !important; }
.pae-card__title + .pae-card__line { margin-top: 59px !important; }
.pae-card__line + .pae-card__line { margin-top: 4.787% !important; }
.pae-card--list { padding-bottom: 0; }
.pae-eq > .pae-col { display: flex; flex-direction: column; }
.pae-eq > .pae-col > .pae-card { flex: 1 1 auto; }

@media (max-width: 980px) {
	.pae-card { padding: 20px 20px 27vw; }
	.pae-card--list { padding: 22px 20px 6vw; }
	.pae-card__title + .pae-card__line { margin-top: 43px !important; }
	.pae-card__line + .pae-card__line { margin-top: 30px !important; }
}
@media (max-width: 767px) {
	.pae-card { padding: 10px 20px 35vw; }
	.pae-card--list { padding: 15px 20px 8vw; }
	.pae-card__title { font-size: 20px; }
	.pae-card--list .pae-card__title { margin-bottom: 20px !important; }
	.pae-card__line { font-size: 14px; }
	.pae-card__title + .pae-card__line { margin-top: 0 !important; }
	.pae-card__line + .pae-card__line { margin-top: 10px !important; }
}

/* Pastilles de contact (e-mail / téléphone) */
.pae-blurb { text-align: center; cursor: pointer; }
.pae-blurb::before {
	content: '';
	display: block;
	width: 100px;
	height: 100px;
	margin: 0 auto 30px;
	border-radius: 100px;
	background: var(--pae-yellow) center / 60px 60px no-repeat;
}
.pae-blurb--mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fff' d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E"); }
.pae-blurb--phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fff' d='M347.1 24.6c7.7-18.6 28-28.5 47.4-23.2l88 24C499.9 30.2 512 46 512 64c0 247.4-200.6 448-448 448c-18 0-33.8-12.1-38.6-29.5l-24-88c-5.3-19.4 4.6-39.7 23.2-47.4l96-40c16.3-6.8 35.2-2.1 46.3 11.6L207.3 368c70.4-33.3 127.4-90.3 160.7-160.7L318.7 167c-13.7-11.2-18.4-30-11.6-46.3l40-96z'/%3E%3C/svg%3E"); }
.pae-blurb h3 { font-family: var(--pae-arial) !important; font-size: 20px; font-weight: 500 !important; line-height: 1em; color: var(--pae-dark); text-align: center; padding-bottom: 10px; }
.pae-blurb h3 a { color: var(--pae-dark); }

/* Carte Google Maps */
.pae-map iframe { vertical-align: baseline; }

/* Section « Prise de contact » (réutilisée sur plusieurs pages) */
.pae-contact-section { padding: 80px 0; }
.pae-contact-section .pae-t p { font-size: 18px; line-height: 23.8px; color: var(--pae-text); }
.pae-contact-blurbs { padding-top: 60px; }
.pae-contact-section .forminator-ui { margin: 0 !important; }
@media (min-width: 768px) and (max-width: 980px) {
	.pae-contact-blurbs { display: flex; justify-content: space-around; }
	.pae-contact-blurbs > .pae-blurb { margin-bottom: 0 !important; }
}
@media (max-width: 980px) {
	.pae-h-60 { font-size: 2.8rem !important; text-align: center; }
	.pae-contact-section .pae-h-60 { font-size: 2.7rem !important; text-align: left; }
}
@media (max-width: 767px) {
	.pae-h-60 { font-size: 2.2rem !important; }
	.pae-contact-section .pae-h-60 { font-size: 2.2rem !important; }
	.pae-contact-section .pae-t p { font-size: 16px; }
}

/* ==========================================================================
   Carrousel d'accueil
   ========================================================================== */
.pae-home-hero { padding: 0; z-index: 5; }
.pae-slider { position: relative; overflow: hidden; }
.pae-slider:not(.is-ready) > .pae-slide:not(:first-child) { display: none; }
.pae-slider__viewport { overflow: hidden; }
.pae-slider__track { display: flex; will-change: transform; }
.pae-slider__track > .pae-slide { flex: 0 0 100%; }
.pae-slide { padding: 24vh 0 22vh; text-align: center; }
.pae-slide .wp-block-cover__inner-container { display: flex; flex-direction: column; }
.pae-slide__title { font-family: var(--pae-anek) !important; font-weight: 600 !important; font-size: 64px; line-height: 1em; color: #fff !important; text-align: center; padding-bottom: 10px; }
.pae-slide__text { font-family: var(--pae-arial); font-size: 19px; font-weight: 500; line-height: 1.7em; color: #fff; text-align: center; padding: 0 !important; }
.pae-slide__buttons { margin-top: 20px; text-align: center; font-size: 14px; line-height: 23.8px; }
.pae-slide__buttons .wp-block-button { display: inline; }
.pae-btn--slide .wp-block-button__link { font-size: 26px; font-weight: 600; line-height: 23.8px; padding: 20px 26px; border-radius: 10px; overflow: hidden; }
.pae-btn--slide .wp-block-button__link::after { display: none; }
.pae-btn--slide .wp-block-button__link:hover { padding-right: 26px; }
.pae-slider__arrows { position: absolute; top: 50%; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.pae-slider__arrows button { pointer-events: all; display: flex; align-items: center; justify-content: center; width: 53px; height: 53px; padding: 0; border: 0; border-radius: 50%; background: var(--pae-yellow); color: #fff; cursor: pointer; }
.pae-slider__prev { margin-left: 20px; }
.pae-slider__next { margin-right: 20px; }
.pae-slider__arrows svg { width: 13px; height: 20px; }
@media (max-width: 980px) {
	.pae-slide { padding: 18vh 0; }
	.pae-slide__title { font-size: 60px; }
}
@media (max-width: 767px) {
	.pae-slide { padding: 14vh 0 12vh; }
	.pae-slide__title { font-size: 40px; }
	.pae-slide__text { font-size: 15px; padding: 0 35px !important; }
	.pae-btn--slide .wp-block-button__link { font-size: 20px; padding: 15px; }
	.pae-slider__arrows button { width: 39px; height: 39px; margin-top: 100px; }
	.pae-slider__prev { margin-left: 5px; }
	.pae-slider__next { margin-right: 5px; }
	.pae-slider__arrows svg { width: 9px; height: 14px; }
}

/* ==========================================================================
   Accueil
   ========================================================================== */
.pae-home-intro { padding-top: 46px; }
.pae-home-intro__text .pae-t { max-width: 80%; font-size: 18px; }
.pae-home-intro h1 { font-size: 70px; line-height: 1.2em; }
.pae-home-intro__text p { font-size: 18px; line-height: 23.8px; color: var(--pae-text); }
.pae-cards { max-width: none; }
.pae-cards--first { margin: 30px auto; }
.pae-home-events h2 { font-size: 51px; }

.pae-home-outings { padding: 0 0 54px; background: var(--pae-cream); }
.pae-home-outings__row { padding: 0; }
.pae-home-outings__left { padding: 8% 8% 30.83px 0; }
.pae-home-outings__left h2 { font-size: 48px; }
.pae-home-outings__left p { font-size: 17px; line-height: 1.6em; color: var(--pae-text); }
.pae-home-outings__img1 img { filter: brightness(125%); width: 100%; }
.pae-home-outings__right > * { margin-bottom: 0 !important; }
.pae-home-outings__photo { position: relative; line-height: 0; }
.pae-home-outings__img2 { margin-right: -16vw !important; }
.pae-home-outings__img2 img { filter: brightness(112%) contrast(84%); width: 100%; }
.pae-home-outings__cta { position: absolute; left: 0; bottom: 0; width: 100%; padding: 20px 40px 40px; background: var(--pae-yellow); text-align: center; line-height: 1.7em; }
.pae-home-outings__cta .wp-block-button__link { font-size: 20px; }
.pae-home-outings__gallery { padding: 60px 0 60px 60px; background: #fff; box-shadow: 16vw 0 0 0 #fff; }
.pae-home-outings__gallery h3 { font-size: 46px; margin-bottom: 5.82% !important; }
.pae-home-outings__gallery .wp-block-button__link { padding: 12px 25px; line-height: 34px; }

.pae-map-section { padding-top: 80px; }

@media (min-width: 981px) and (max-width: 1349px) {
	.pae-home-outings { padding: 0 0 4%; }
}
@media (max-width: 980px) {
	.pae-home-intro__text { padding-bottom: 0; }
	.pae-home-intro__text .pae-t { max-width: 100%; text-align: center; }
	.pae-home-intro h1 { font-size: 2.8rem; }
	.pae-home-intro__text .pae-t { margin-bottom: 20px; }
	.pae-cards { width: 65%; }
	.pae-cards--first { margin: 0 auto; }
	.pae-cards--second { padding-top: 0; }
	.pae-home-events h2 { text-align: center; }
	.pae-home-outings { padding-bottom: 50px; }
	.pae-home-outings__left { padding-right: 0; padding-bottom: 0; }
	.pae-home-outings__left h2 { font-size: 3.2rem; text-align: center; }
	.pae-home-outings__left p { font-size: 18px; text-align: center; }
	.pae-home-outings__img1 img, .pae-home-outings__img2 img { width: auto; }
	.pae-home-outings__img2 { margin-right: 0 !important; }
	.pae-home-outings__gallery { padding: 30px; box-shadow: none; }
	.pae-home-outings__gallery h3 { margin-bottom: 30px !important; }
}
@media (max-width: 767px) {
	.pae-home-intro { padding-top: 20px; }
	.pae-home-intro__text .pae-t, .pae-home-intro__text p { font-size: 15px; }
	.pae-home-intro h1 { font-size: 2.1rem; }
	.pae-cards { width: 80%; }
	.pae-home-events { padding-top: 10px; }
	.pae-home-events h2 { font-size: 2.4rem; }
	.pae-home-outings__left h2 { font-size: 2.2rem; }
	.pae-home-outings__left p { font-size: 13px; }
	.pae-home-outings__cta { position: static; }
	.pae-home-outings__cta .wp-block-button__link, .pae-home-outings__gallery .wp-block-button__link { font-size: 18px; line-height: 1.7em; }
	.pae-home-outings__gallery { padding: 20px; }
	.pae-home-outings__gallery h3 { font-size: 1.6rem; }
}

/* ==========================================================================
   Pages intérieures — composants communs
   ========================================================================== */
:where(.pae-content) h1 { font-size: 80px; line-height: 1.2em; }
:where(.pae-content) h2 { font-size: 50px; }
:where(.pae-content) h3 { font-size: 30px; }
:where(.pae-content) p, :where(.pae-content) li { font-size: 17px; line-height: 23.8px; color: var(--pae-text); }
:where(.pae-content) li { line-height: 26px; }
.pae-t ul { padding: 0 0 1em 1em; font-size: 17px; }
:where(.pae-content) strong { color: inherit; }
.pae-fs-51 { font-size: 51px !important; }
.pae-fs-45 { font-size: 45px !important; }
.pae-fs-18 p, p.pae-fs-18 { font-size: 18px !important; }
.pae-lh-12 { line-height: 1.2em !important; }
@media (max-width: 980px) {
	:where(.pae-content) h1 { font-size: 3.5rem; }
	:where(.pae-content) h2 { font-size: 2.7rem; }
	.pae-fs-51, .pae-fs-45 { font-size: 2.7rem !important; }
	:where(.pae-content) h3 { font-size: 2rem; }
}
@media (max-width: 767px) {
	:where(.pae-content) h1 { font-size: 2.5rem; }
	:where(.pae-content) h2 { font-size: 2.3rem; }
	.pae-fs-51, .pae-fs-45 { font-size: 2.3rem !important; }
	:where(.pae-content) h3 { font-size: 1.6rem; }
}

/* Bandeau photo en haut de page */
.pae-hero-section { padding: 0; }
.pae-hero .wp-block-cover__background { mix-blend-mode: multiply; }
.pae-hero .wp-block-cover__inner-container { width: 80%; max-width: 1920px; margin: 0 auto; padding-top: 38vh; }
.pae-hero__title { color: #fff !important; font-size: 80px; line-height: 1.2em; padding-bottom: 10px; }
@media (max-width: 980px) {
	.pae-hero .wp-block-cover__inner-container { padding-top: 30vh; }
	.pae-hero__title { font-size: 3.5rem; }
}
@media (max-width: 767px) {
	.pae-hero .wp-block-cover__inner-container { padding-top: 25vh; }
	.pae-hero__title { font-size: 2.5rem; }
}

/* Introduction (titre + texte + photos flottantes) */
.pae-intro { padding: 80px 0 18px; }
.pae-intro__title { padding-bottom: 0; }
.pae-intro .pae-t h3 { line-height: 1.2em; }
.pae-intro .pae-t p { padding-bottom: 1em; }
.pae-intro .pae-t p:last-child { padding-bottom: 0; }
@media (max-width: 980px) { .pae-intro { padding-top: 60px; } }
@media (max-width: 767px) { .pae-intro { padding-top: 40px; } }

/* Photos flottantes superposées */
.pae-float { position: relative; height: 50px; margin-top: -55px; }
.pae-float > .pae-float__item { position: absolute; margin: 0 !important; box-shadow: 0 12px 40px -6px rgba(0, 0, 0, .2); animation: paeFloat 5s linear infinite alternate; }
.pae-float > .pae-float__item img { display: block; width: 100%; border-radius: 15px; }
.pae-float > .pae-float__item--2 { animation-duration: 6s; animation-delay: .1s; }
.pae-float > .pae-float__item--3 { animation-duration: 4s; }
@keyframes paeFloat { from { transform: translateY(0); } to { transform: translateY(10%); } }
@media (prefers-reduced-motion: reduce) { .pae-float > .pae-float__item, .pae-footer__img { animation: none; } }
@media (max-width: 980px) { .pae-float { height: 250px; margin-top: 0; } }

/* Double bouton */
.pae-dual { display: flex; flex-wrap: nowrap; align-items: center; }
.pae-dual .wp-block-button { flex: 0 1 auto; min-width: 0; }
.pae-dual .wp-block-button__link { display: block; }
.pae-dual .wp-block-button__link { border: 4px solid var(--pae-yellow); padding: 12px 25px; line-height: 34px; }
.pae-dual .wp-block-button:first-child { margin-right: 25px; }
.pae-btn--ghost .wp-block-button__link { background: transparent; color: var(--pae-yellow); }
.pae-dual .wp-block-button__link::after { display: none; }
.pae-dual .wp-block-button__link:hover { padding-right: 25px; }
@media (max-width: 980px) {
	.pae-dual .wp-block-button__link { font-size: 18px; border-width: 3px; line-height: 30.6px; }
}
@media (max-width: 767px) {
	.pae-dual .wp-block-button__link { font-size: 15px; border-width: 2px; padding: 8px 15px; line-height: 25.5px; text-align: center; }
	.pae-dual .wp-block-button:first-child { margin-right: 15px; }
}

/* Agenda Amelia */
.pae-events { padding-top: 37px; }
.pae-events__row { margin-bottom: 60px; }

/* « Autres catégories » */
.pae-others__title { padding-bottom: 0; }
.pae-others-section { padding-top: 80px; }

/* --- Théorie --- */
.pae-float--theorie { margin-top: -15px; }
.pae-float--theorie .pae-float__item--1 { left: 5%; top: 115px; width: 284px; }
.pae-float--theorie .pae-float__item--2 { left: 31%; top: 0; width: 288px; }
@media (max-width: 980px) {
	.pae-float--theorie { margin-top: 50px; }
	.pae-float--theorie .pae-float__item--1 { left: 0; width: 341px; }
	.pae-float--theorie .pae-float__item--2 { left: 50%; width: 341px; }
}
@media (max-width: 767px) {
	.pae-float--theorie { height: 200px; }
	.pae-float--theorie .pae-float__item--1 { width: 220px; }
	.pae-float--theorie .pae-float__item--2 { left: 37%; width: 212px; }
}

/* --- Cours sauveteurs --- */
.pae-float--sauveteurs .pae-float__item--1 { left: 0; top: 30px; width: 154px; animation-duration: 5s; }
.pae-float--sauveteurs .pae-float__item--2 { left: 5%; top: 145px; width: 281px; }
.pae-float--sauveteurs .pae-float__item--3 { left: 45%; top: 0; width: 260px; }
@media (max-width: 980px) {
	.pae-float--sauveteurs .pae-float__item--1 { width: 196px; }
	.pae-float--sauveteurs .pae-float__item--2 { left: 22%; top: 110px; width: 293px; }
	.pae-float--sauveteurs .pae-float__item--3 { left: 66%; width: 208px; }
}
@media (max-width: 767px) {
	.pae-float--sauveteurs .pae-float__item--1 { width: 150px; }
	.pae-float--sauveteurs .pae-float__item--2 { left: 10%; top: 180px; width: 184px; }
	.pae-float--sauveteurs .pae-float__item--3 { left: 51%; width: 168px; }
}

/* --- Cours de sensibilisation --- */
.pae-float--sensibilisation .pae-float__item--1 { left: 5%; top: 115px; width: 284px; }
.pae-float--sensibilisation .pae-float__item--2 { left: 31%; top: 0; width: 288px; }
@media (max-width: 980px) {
	.pae-float--sensibilisation { height: 300px; }
	.pae-float--sensibilisation .pae-float__item--1 { left: 0; width: 350px; }
	.pae-float--sensibilisation .pae-float__item--2 { left: 42%; width: 358px; }
}
@media (max-width: 767px) {
	.pae-page-cours-de-sensibilisation .pae-hero__title { font-size: 2.3rem; }
	.pae-page-cours-de-sensibilisation .pae-intro__title h2 { font-size: 2.1rem; }
	.pae-float--sensibilisation { height: 250px; }
	.pae-float--sensibilisation .pae-float__item--1 { width: 225px; }
	.pae-float--sensibilisation .pae-float__item--2 { left: 25%; width: 245px; }
}

/* ==========================================================================
   Cours de conduite
   ========================================================================== */
.pae-conduite-intro { padding: 80px 0; }
.pae-btn--22 .wp-block-button__link { font-size: 22px; line-height: 37.4px; padding: 12px 25px; }
.pae-btn--22 .wp-block-button__link:hover { padding-right: 40px; }

/* Vignettes « catégorie » avec pastille */
.pae-iconcards { display: flex; flex-wrap: wrap; align-items: flex-start; }
.pae-iconcard:first-child { margin-bottom: calc(4.242% + 7px) !important; }
.pae-iconcard { width: 25%; min-height: 166px; margin: 0 20px 4.242% 0 !important; padding: 15px 0; border-radius: 15px; box-shadow: var(--pae-shadow); transition: box-shadow .3s; text-align: center; cursor: pointer; background: #fff; }
.pae-iconcard:hover { box-shadow: 0 12px 60px -6px rgba(69, 69, 69, .3); }
.pae-iconcard .pae-img { display: block; width: 90px; height: 90px; margin: 0 auto 15px !important; padding: 20px; border-radius: 100px; background: var(--pae-yellow); }
.pae-iconcard .pae-img img { display: block; width: 50px; height: 50px; }
.pae-iconcard h3 { font-family: var(--pae-arial) !important; font-weight: 700 !important; font-size: 19px !important; line-height: 1em; color: var(--pae-text) !important; text-align: center; padding-bottom: 10px; }
.pae-iconcard h3 a { color: inherit; }
.pae-iconcard--small h3 { font-size: 18px !important; }
.pae-conduite-intro .pae-iconcards { margin-bottom: 0 !important; }

/* Encadré info */
.pae-infobox { padding: 20px 33px; border-radius: 15px; background: var(--pae-cream); transform: translateY(-82px); }
.pae-infobox::before { content: ''; display: block; width: 91px; height: 91px; margin-bottom: 15px; border-radius: 100px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 512'%3E%3Cpath fill='%23ffc10a' d='M48 80a48 48 0 1 1 96 0A48 48 0 1 1 48 80zM0 224c0-17.7 14.3-32 32-32l64 0c17.7 0 32 14.3 32 32l0 224 32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 512c-17.7 0-32-14.3-32-32s14.3-32 32-32l32 0 0-192-32 0c-17.7 0-32-14.3-32-32z'/%3E%3C/svg%3E") center / 17px 44px no-repeat; }
.pae-content h3.pae-h3-32, .pae-h3-32 h3 { font-size: 32px; line-height: 1.2em; }
.pae-h3-34 { font-size: 34px !important; }

/* Véhicules (survol = caractéristiques) */
.pae-vehicles { padding-top: 0; }
.pae-vehicle { max-width: 80%; min-height: 370px; padding: 30px 20px 0; border-radius: 10px; cursor: pointer; }
.pae-vehicles .pae-col:first-child .pae-vehicle { margin-bottom: 30px !important; }
.pae-vehicle .wp-block-cover__background { mix-blend-mode: multiply; transition: background .3s; }
.pae-vehicle:hover .wp-block-cover__background { background: linear-gradient(180deg, rgba(69, 69, 69, .75) 0%, rgba(69, 69, 69, .56) 99%) !important; }
.pae-vehicle--bright .wp-block-cover__image-background { filter: brightness(112%); }
.pae-vehicle h3 { font-family: var(--pae-arial) !important; font-weight: 700 !important; font-size: 26px; line-height: 1em; color: #fff !important; padding-bottom: 10px; }
.pae-vehicle ul { display: none; list-style: disc; margin: 0; padding: 0 0 23px 1em; line-height: 26px; }
.pae-vehicle li { font-family: var(--pae-arial); font-size: 14px; line-height: 26px; color: #fff; }
.pae-vehicle:hover ul, .pae-vehicle:focus-within ul { display: block; }
.pae-vehicles .pae-col { margin-bottom: 0 !important; }

/* Photos flottantes */
.pae-float--conduite { margin-top: -15px; }
.pae-float--conduite .pae-float__item--1 { left: 5%; top: 115px; width: 338px; }
.pae-float--conduite .pae-float__item--2 { left: 31%; top: 0; width: 298px; }
.pae-float--remorque { margin-top: 5px; }
.pae-float--remorque .pae-float__item--1 { left: 5%; top: 130px; width: 338px; }
.pae-float--remorque .pae-float__item--2 { left: 34%; top: -25px; width: 340px; }
.pae-img--r10 img { border-radius: 10px; }

.pae-conduite-section { padding: 100px 0 60px; }
.pae-conduite-section--cream { background: var(--pae-cream); }
.pae-conduite-section--last { padding-bottom: 18px; }
.pae-conduite-section .pae-r:first-child, .pae-conduite-section .pae-cols:first-child, .pae-conduite-tarifs { padding-bottom: 0 !important; }
.pae-vehicles__intro { margin-right: 10%; }
.pae-conduite-others { padding: 80px 0 60px; }
.pae-inscription { padding: 100px 0; background: var(--pae-cream); }
.pae-inscription .pae-h-60 { font-size: 55px !important; }
.pae-inscription .pae-t p { font-size: 18px !important; }
.pae-blurb--white::before { background-color: #fff; }
.pae-blurb--white.pae-blurb--mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffc10a' d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E"); }
.pae-blurb--white.pae-blurb--phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffc10a' d='M347.1 24.6c7.7-18.6 28-28.5 47.4-23.2l88 24C499.9 30.2 512 46 512 64c0 247.4-200.6 448-448 448c-18 0-33.8-12.1-38.6-29.5l-24-88c-5.3-19.4 4.6-39.7 23.2-47.4l96-40c16.3-6.8 35.2-2.1 46.3 11.6L207.3 368c70.4-33.3 127.4-90.3 160.7-160.7L318.7 167c-13.7-11.2-18.4-30-11.6-46.3l40-96z'/%3E%3C/svg%3E"); }

@media (max-width: 980px) {
	.pae-conduite-intro { padding: 60px 0; }
	.pae-iconcard { width: 30%; }
	.pae-content h3.pae-h3-32 { font-size: 2rem; }
	.pae-h3-34 { font-size: 2rem !important; }
	.pae-iconcard h3 { font-size: 16px !important; }
	.pae-iconcard--small h3 { font-size: 15px !important; }
	.pae-infobox { transform: none; }
	#voiture > .pae-cols:first-child { margin-bottom: -30px !important; }
	.pae-vehicle { max-width: 100%; }
	.pae-float--conduite { height: 200px; margin-top: 0; }
	.pae-float--conduite .pae-float__item--1 { left: 0; }
	.pae-float--conduite .pae-float__item--2 { left: 50%; top: 20px; width: 321px; }
	.pae-float--remorque { height: 350px; }
	.pae-float--remorque .pae-float__item--1 { left: 0; top: 75px; }
	.pae-float--remorque .pae-float__item--2 { left: 45%; width: 355px; }
	.pae-inscription .pae-h-60 { font-size: 2.7rem !important; }
}
@media (min-width: 768px) and (max-width: 980px) {
	.pae-hide-tablet { display: none !important; }
}
@media (max-width: 767px) {
	.pae-conduite-intro { padding: 40px 0; }
	.pae-iconcards { display: block; }
	.pae-iconcard, .pae-iconcard:first-child { width: 100%; margin: 0 auto 30px !important; }
	.pae-content h3.pae-h3-32 { font-size: 1.6rem; }
	.pae-h3-34 { font-size: 1.6rem !important; }
	.pae-iconcard h3 { font-size: 15px !important; }
	.pae-iconcard--remorque h3 { font-size: 16px !important; }
	.pae-hide-phone-block { display: none !important; }
	.pae-vehicle h3 { font-size: 1.4rem; }
	.pae-vehicles .pae-col:first-child .pae-vehicle { min-height: 400px; }
	.pae-float--conduite { height: 150px; }
	.pae-float--conduite .pae-float__item--1 { width: 253px; }
	.pae-float--conduite .pae-float__item--2 { left: 35%; width: 224px; }
	.pae-float--remorque .pae-float__item--1 { top: 120px; width: 252px; }
	.pae-float--remorque .pae-float__item--2 { left: 30%; top: 10px; width: 230px; }
	.pae-inscription .pae-h-60 { font-size: 2.3rem !important; }
}

/* --- Cours 2 phases --- */
.pae-2phases-intro .pae-t p { font-size: 16px; }
.pae-float--2phases { margin-top: -15px; }
.pae-float--2phases .pae-float__item--1 { left: 5%; top: 115px; width: 284px; }
.pae-float--2phases .pae-float__item--2 { left: 31%; top: 0; width: 288px; }
.pae-map-2phases { padding: 38px 0 40px; }
.pae-map-2phases .pae-map { filter: saturate(0%); }
.pae-inscription--2phases { padding: 80px 0; }
.pae-inscription--2phases .pae-h-60 { font-size: 60px !important; }
@media (max-width: 980px) {
	.pae-float--2phases { height: 270px; margin-top: 20px; }
	.pae-float--2phases .pae-float__item--1 { left: 0; width: 306px; }
	.pae-float--2phases .pae-float__item--2 { left: 44%; width: 338px; }
	.pae-inscription--2phases .pae-h-60 { font-size: 2.7rem !important; }
	.pae-2phases-intro .pae-btn--22 .wp-block-button__link, .pae-conduite-intro .pae-btn--22 .wp-block-button__link { font-size: 20px; line-height: 34px; }
}
@media (max-width: 767px) {
	.pae-float--2phases { height: 250px; }
	.pae-float--2phases .pae-float__item--1 { width: 213px; }
	.pae-float--2phases .pae-float__item--2 { left: 32%; width: 217px; }
	.pae-inscription--2phases .pae-h-60 { font-size: 2.3rem !important; }
	.pae-2phases-intro .pae-btn--22 .wp-block-button__link { font-size: 18px; line-height: 30.6px; }
}

/* ==========================================================================
   Étapes du permis (frise)
   ========================================================================== */
.pae-etapes { padding: 80px 0 60px; }
.pae-etapes__intro { padding-bottom: 0; text-align: center; }
.pae-etapes__intro h1 { font-size: 80px; line-height: 1.2em; }
.pae-etapes__intro p { font-size: 18px; }
.pae-timeline { position: relative; margin: 42px 0 !important; padding: 28px 0; }
.pae-timeline::before { content: ''; position: absolute; top: 0; left: 50%; width: 4px; height: 100%; margin-left: -2px; background: var(--pae-yellow); }
.pae-timeline::after { content: ''; display: table; clear: both; }
.pae-step { position: relative; width: 45%; margin: 0 0 2.75% !important; padding: 22.4px; border-radius: 10px; background: #fff; box-shadow: var(--pae-shadow); transition: transform .3s ease; }
.pae-step:hover { transform: scale(1.02); }
.pae-step:last-child { margin-bottom: 160px !important; }
.pae-step:nth-child(2n) { margin-left: auto !important; }
.pae-step::before { content: ''; position: absolute; top: 0; left: calc(100% / .9 - 15px); width: 30px; height: 30px; border: 3px solid var(--pae-yellow); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23545454' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") center / 14px 14px no-repeat; box-shadow: 0 12px 18px -6px rgba(0, 0, 0, .3); }
.pae-step:nth-child(2n)::before { left: calc(-100% / 9 - 15px); }
.pae-step::after { content: ''; position: absolute; top: 16px; left: 100%; border: 7px solid transparent; border-left-color: #fff; }
.pae-step:nth-child(2n)::after { left: auto; right: 100%; border-left-color: transparent; border-right-color: #fff; }
.pae-step > * { margin: 0 !important; }
.pae-step__img img { display: block; width: 120px; height: auto; margin-bottom: 20px; border-radius: 10px; }
.pae-step__img--small img { width: 100px; }
.pae-step h2 { font-size: 40px !important; line-height: 1em; color: #303e49 !important; padding-bottom: 10px; }
.pae-step__text { margin: 18px 0 !important; }
.pae-step__text p { font-size: 16px; line-height: 1.6; padding: 0; color: var(--pae-text); }
.pae-step .wp-block-buttons { display: flex; }
.pae-step .wp-block-button__link { font-size: 20px; line-height: 23.8px; padding: 15px 30px; border-radius: 10px; }
.pae-step .wp-block-button__link::after { display: none; }
.pae-step .wp-block-button__link:hover { padding-right: 30px; }
.pae-step__date { position: absolute; top: 6px; left: 122%; width: 100%; padding: 28px 0 !important; font-size: 35px !important; line-height: 23.8px !important; color: var(--pae-text); opacity: .7; }
.pae-step:nth-child(2n) .pae-step__date { left: auto; right: 122%; text-align: right; }
.pae-etapes__fin { width: 50%; margin: -40px auto 0 !important; text-align: center; }
.pae-etapes__fin img { display: inline-block; }
.pae-contact-section--cream { background: var(--pae-cream); }

@media (max-width: 1169px) {
	.pae-timeline { margin: 28px 0 !important; }
	.pae-timeline::before { left: 18px; margin-left: 0; }
	.pae-step, .pae-step:nth-child(2n) { width: auto; margin-left: 60px !important; padding: 14px; }
	.pae-step::before, .pae-step:nth-child(2n)::before { left: -75px; }
	.pae-step::after, .pae-step:nth-child(2n)::after { left: auto; right: 100%; border-left-color: transparent; border-right-color: #fff; }
	.pae-step__date, .pae-step:nth-child(2n) .pae-step__date { position: static; width: auto; text-align: left; }
}
@media (max-width: 980px) {
	.pae-etapes { padding: 60px 0 18px; }
	.pae-etapes__intro h1 { font-size: 3.5rem; }
	.pae-step { margin-bottom: 30px !important; }
	.pae-step__date { font-size: 30px !important; }
	.pae-etapes__fin { width: 95%; margin: -100px 0 0 auto !important; }
}
@media (max-width: 767px) {
	.pae-etapes { padding-top: 40px; }
	.pae-etapes__intro h1 { font-size: 2.5rem; }
	.pae-etapes__steps { width: 90%; }
	.pae-timeline::before { background: #ffd11d; }
	.pae-step h2 { font-size: 30px !important; }
	.pae-step__text p { font-size: 15px; }
	.pae-step .wp-block-button__link { font-size: 17px; }
	.pae-step__date { font-size: 20px !important; padding: 16px 0 !important; }
	.pae-etapes__fin { width: 87%; margin-top: -150px !important; }
}
.pae-contact-section--cream { padding: 80px 0; }
@media (max-width: 767px) {
	.pae-contact-section--cream .pae-h-60 { font-size: 2.3rem !important; }
	.pae-contact-section--cream .pae-t p { font-size: 18px; }
}

/* ==========================================================================
   Sorties circuit (galerie)
   ========================================================================== */
.pae-sorties-intro .pae-intro__title h1 { font-size: 75px; line-height: 1.2em; }
.pae-float--sorties { margin-top: 0; }
.pae-float--sorties .pae-float__item--1 { left: 0; top: 65px; width: 202px; }
.pae-float--sorties .pae-float__item--2 { left: 31%; top: 0; width: 288px; }
.pae-galerie { padding-top: 110px; }
.pae-galerie__row { margin-bottom: 60px; }
.pae-galerie h2 { font-size: 70px; margin-bottom: 20px !important; }
.pae-galerie__row { container-type: inline-size; }
.pae-gallery { display: grid !important; grid-template-columns: repeat(4, 1fr); grid-auto-rows: calc((100cqw - 60px) / 4 - 20px); grid-auto-flow: dense; gap: 20px; margin: 0 0 20px !important; }
.pae-gallery > .wp-block-image { position: relative; margin: 0; overflow: hidden; border-radius: 10px; }
.pae-gallery > .wp-block-image:nth-child(6n+3), .pae-gallery > .wp-block-image:nth-child(6n+4) { grid-column: span 2; grid-row: span 2; }
.pae-gallery > .wp-block-image a { display: block; height: 100%; }
.pae-gallery > .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pae-gallery > .wp-block-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 207, 57, .54) 0, rgba(255, 193, 10, .54) 100%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.pae-gallery > .wp-block-image:hover::after { opacity: 1; }
.pae-gallery.is-limited > .wp-block-image.is-hidden { display: none; }
.pae-gallery-more { display: inline-block; font-weight: 400; padding: 15px 25px; border: 0; border-radius: 10px; background: var(--pae-yellow); color: #fff; font-family: var(--pae-arial); font-size: 18px; line-height: normal; cursor: pointer; }
.pae-gallery-more[hidden] { display: none; }
@media (max-width: 980px) {
	.pae-sorties-intro .pae-intro__title h1 { font-size: 3.5rem; }
	.pae-float--sorties { margin-top: 30px; }
	.pae-float--sorties .pae-float__item--1 { top: 0; }
	.pae-float--sorties .pae-float__item--2 { left: 43%; top: 45px; width: 341px; }
	.pae-galerie h2 { font-size: 3.4rem; }
	.pae-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: calc((100cqw - 20px) / 2 - 20px); }
	.pae-gallery > .wp-block-image:nth-child(6n+3), .pae-gallery > .wp-block-image:nth-child(6n+4) { grid-column: auto; grid-row: auto; }
}
@media (max-width: 767px) {
	.pae-sorties-intro .pae-intro__title h1 { font-size: 2.3rem; }
	.pae-float--sorties { height: 200px; margin-top: 20px; }
	.pae-float--sorties .pae-float__item--1 { width: 168px; }
	.pae-float--sorties .pae-float__item--2 { left: 41%; width: 204px; }
	.pae-galerie h2 { font-size: 2.6rem; }
}

/* Visionneuse */
.pae-lightbox { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .85); }
.pae-lightbox[hidden] { display: none; }
.pae-lightbox img { max-width: calc(100% - 140px); max-height: calc(100% - 140px); box-shadow: 0 0 40px rgba(0, 0, 0, .4); }
.pae-lightbox button, .pae-lightbox a { position: absolute; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; text-decoration: none; }
.pae-lightbox__close { top: 0; right: 0; }
.pae-lightbox__download { top: 0; right: 50px; font-size: 22px !important; }
.pae-lightbox__prev { left: 15px; top: 50%; transform: translateY(-50%); }
.pae-lightbox__next { right: 15px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) { .pae-lightbox img { max-width: 100%; } }

/* --- Contact / Mentions légales --- */
@media (max-width: 767px) {
	.pae-contact-section--page .pae-h-60 { font-size: 2.3rem !important; }
	.pae-contact-section--page .pae-t p { font-size: 18px; }
}
.pae-legal h1 { font-size: 65px; line-height: 1.2em; }
.pae-legal p { font-size: 14px; }
.pae-legal a { color: var(--pae-yellow); }
@media (max-width: 980px) { .pae-legal h1 { font-size: 3.5rem; } }
@media (max-width: 767px) { .pae-legal h1 { font-size: 2.5rem; } }

/* ==========================================================================
   Recherche
   ========================================================================== */
.pae-search-hero { padding: 20vh 0 12vh; background: url(../img/search-bg.jpg) 50% / cover no-repeat, linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(69, 69, 69, .35) 73%); background-blend-mode: multiply; }
.pae-search-hero .pae-r { padding-bottom: 0; }
.pae-search-hero__title { min-height: 80px; margin-top: -55px; margin-bottom: 2.75% !important; }
.pae-search-hero h1 { font-size: 70px; line-height: 1em; color: #fff; text-align: center; padding-bottom: 10px; }
.pae-searchform { display: flex; width: 100%; max-width: 600px; margin: 0 auto; border-radius: 8px; overflow: hidden; }
.pae-searchform__label { flex: 1 1 auto; }
.pae-searchform__input { display: block; width: 100%; padding: .715em; border: 0; border-radius: 8px 0 0 8px; background: #fff; font-family: var(--pae-arial); font-size: 18px; line-height: normal; color: var(--pae-grey); outline: 0; -webkit-appearance: none; }
.pae-searchform__input::placeholder { color: var(--pae-text); }
.pae-searchform__submit { flex: 0 0 100px; padding: .715em; border: 0; border-radius: 0 8px 8px 0; background: var(--pae-yellow); font-family: var(--pae-arial); font-size: 18px; line-height: normal; color: #fff; cursor: pointer; }
.pae-search-results { padding-top: 56px; }
.pae-search-results__label p { font-family: var(--pae-arial); font-size: 24px; font-weight: 700; line-height: 23.8px; color: var(--pae-text); text-align: center; }
.pae-results { display: flex; align-items: flex-start; }
.pae-results__col { flex: 0 0 29.667%; margin-right: 5.5%; }
.pae-results__col:last-child { margin-right: 0; }
.pae-results--cols-2 .pae-results__col { flex-basis: 47.25%; }
.pae-results--cols-1 .pae-results__col { flex-basis: 100%; }
.pae-result-card { margin: 0 0 18.54%; padding: 19px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--pae-shadow); transition: box-shadow .3s; }
.pae-result-card:hover { box-shadow: 0 12px 60px -6px rgba(69, 69, 69, .3); }
.pae-result-card__img { display: block; margin: -20px -20px 29px; line-height: 0; }
.pae-result-card__img img { display: block; width: 100%; height: auto; }
.pae-result-card__title { font-family: 'Open Sans', Arial, sans-serif !important; font-size: 28px !important; font-weight: 500 !important; line-height: 1.3em; padding-bottom: 10px; }
.pae-result-card__title a { font-family: var(--pae-anek); font-weight: 600; }
.pae-result-card__title a { color: var(--pae-text); }
.pae-result-card__meta { margin-bottom: 6px !important; font-family: var(--pae-arial); font-size: 14px !important; color: var(--pae-grey) !important; padding: 0 !important; }
.pae-result-card__more { font-family: 'Alata', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5em; color: var(--pae-yellow) !important; }
@media (max-width: 980px) {
	.pae-search-hero h1 { font-size: 55px; }
	.pae-result-card { margin-bottom: 11.64%; }
}
@media (max-width: 767px) {
	.pae-search-hero { padding: 10vh 0 8vh; }
	.pae-search-hero h1 { font-size: 45px; }
	.pae-search-results { padding-top: 40px; }
	.pae-result-card { margin-bottom: 35.875px; }
}

/* Plugin « Top Bar » : mêmes réglages que dans les options Divi (bandeau visible seulement < 400px). */
div#tpbr_box { font-family: var(--pae-arial) !important; font-size: 13px !important; padding-left: 10px !important; padding-right: 10px !important; }
@media (min-width: 400px) { #tpbr_topbar { display: none !important; } }
@media (max-width: 399px) { body.pae-has-topbar .pae-header__bar[style*="top"] { top: 37px !important; } }
