/* ADAM Partenaires – charte ADAM (ciel, encre, rose cauri, triangles). */

.adp {
	--ink: #17275E;
	--ink-2: #22357A;
	--blue: #3CA7E2;
	--blue-text: #1D6FA8;
	--deep: #2E86CB;
	--sky: #A6DCFB;
	--sky-2: #D6EEFD;
	--mist: #F1F9FF;
	--cowrie: #E22E7F;
	--cowrie-strong: #D41F72;
	--cowrie-text: #B0155C;
	--white: #FFFFFF;
	--muted: #4A5A8A;
	--line: #CBDDF0;
	--field: #B4C7DE;
	--display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
	--body: "Figtree", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	font-family: var(--body);
	color: var(--ink);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.adp *, .adp *::before, .adp *::after { box-sizing: border-box; }
.adp h1, .adp h2, .adp h3 { font-family: var(--display); color: inherit; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 .5em; }
.adp p { margin: 0 0 1em; }
.adp a { color: var(--blue-text); }
.adp :focus-visible { outline: 3px solid var(--cowrie); outline-offset: 3px; border-radius: 4px; }
.adp-print-logo, .adp-print-only { display: none; }
.adp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.adp-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.adp-section { padding-block: clamp(56px, 8vw, 104px); }
.adp-section--sky { background: linear-gradient(180deg, #C7E9FC 0%, var(--mist) 100%); }
.adp-section--mist { background: var(--mist); }
.adp-section--ink { background: var(--ink); color: #DCE6F7; }
.adp-section--ink h2, .adp-section--ink h3 { color: var(--white); }

.adp-h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.03; max-width: 20ch; }
.adp-h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; }
.adp-h3 { font-size: 1.35rem; font-weight: 700; }
.adp-lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.55; max-width: 60ch; color: var(--ink-2); }
.adp-section--ink .adp-lead { color: #DCE6F7; }
.adp-kicker { font-family: var(--display); font-weight: 600; font-size: .95rem; margin-bottom: .9em !important; }
.adp-label { font-family: var(--display); font-weight: 700; font-size: .98rem; margin: 28px 0 10px !important; }
.adp-small { font-size: .9rem; color: var(--muted); margin: 12px 0 0 !important; }

.adp-tri { width: 20px; height: auto; fill: var(--cowrie); flex: none; display: block; }
.adp-tri--blue { fill: var(--blue); }
.adp-tri--deep { fill: var(--deep); }
.adp-tri--cowrie { fill: var(--cowrie); }
.adp-tri--sky { fill: var(--sky); }

/* Boutons */
.adp-btn {
	--bg: var(--ink); --fg: var(--white);
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .75em 1.5em; border: 2px solid var(--bg); border-radius: 999px;
	background: var(--bg); color: var(--fg) !important; text-decoration: none; cursor: pointer;
	font-family: var(--display); font-weight: 600; font-size: .95rem; line-height: 1.2;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.adp-btn:hover { transform: translateY(-1px); }
.adp-btn--primary { --bg: var(--cowrie-strong); }
.adp-btn--primary:hover { --bg: var(--cowrie-text); }
.adp-btn--ink:hover { --bg: var(--ink-2); }
.adp-btn--light { --bg: var(--white); --fg: var(--ink); }
.adp-btn--light:hover { --bg: var(--sky-2); }
.adp-btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.adp-btn--outline:hover { --bg: var(--ink); --fg: var(--white); }
.adp-btn--block { width: 100%; }
.adp-btn--lg { min-height: 56px; padding: .9em 1.9em; font-size: 1.02rem; }
.adp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.adp-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* Puces */
.adp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.adp-chips li { padding: .36em .9em; border-radius: 999px; background: var(--sky-2); color: var(--ink); font-weight: 600; font-size: .93rem; }
.adp-chips--dark li { background: rgba(166, 220, 251, .16); color: var(--white); }

/* ---------- Page d'accès ---------- */

.adp-gate-hero {
	background: url("lowpoly.svg") 70% 30% / 1500px auto no-repeat, linear-gradient(180deg, #A0D8F8 0%, #C4E8FC 100%);
	padding-block: clamp(40px, 7vw, 96px);
}
.adp-gate-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.adp-gate-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; max-width: 52ch; }
.adp-gate-list li { display: grid; grid-template-columns: 16px 1fr; gap: 14px; }
.adp-gate-list .adp-tri { width: 16px; margin-top: .4em; }

.adp-card { background: var(--white); border-radius: 20px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -36px rgba(23, 39, 94, .45); }
.adp-gate-form .adp-h3 { margin-bottom: 20px; }

/* Champs */
.adp-field { margin-bottom: 18px; min-width: 0; }
.adp-field > label:not(.adp-check), .adp-fieldset > legend { display: block; margin-bottom: 8px; padding: 0; font-weight: 700; font-size: 1rem; color: var(--ink); }
.adp-opt { font-weight: 500; color: var(--muted); font-size: .9rem; }
.adp-help { margin: 6px 0 0 !important; font-size: .9rem; color: var(--muted); }
.adp-field__error { margin: 6px 0 0 !important; font-size: .92rem; font-weight: 600; color: var(--cowrie-text); }
.adp input[type="text"], .adp input[type="email"], .adp input[type="tel"], .adp input[type="number"], .adp select, .adp textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: 10px;
	background: var(--white); color: var(--ink); font: inherit; font-size: 1rem;
}
.adp textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.adp select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.adp input:focus, .adp select:focus, .adp textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 4px rgba(60, 167, 226, .25); }
.adp .has-error input, .adp .has-error select, .adp .has-error textarea { border-color: var(--cowrie); }
.adp input:disabled { background: var(--mist); color: var(--muted); }

.adp-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .97rem; line-height: 1.45; }
.adp-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.adp-check--small { margin-top: 10px; font-size: .93rem; }
.adp-check--small input { width: 18px; height: 18px; }
.adp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.adp-alert { padding: 12px 14px; border-radius: 10px; background: #FDF0F5; color: var(--cowrie-text); font-weight: 600; font-size: .95rem; }

/* ---------- Dossier : héros ---------- */

.adp-hero {
	background: url("lowpoly.svg") 70% 30% / 1500px auto no-repeat, linear-gradient(180deg, #A0D8F8 0%, #C4E8FC 100%);
	padding-top: clamp(36px, 6vw, 80px);
}
.adp-hello { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.adp-hello__out { font-family: var(--body); font-weight: 500; font-size: .88rem; color: var(--ink-2) !important; }
.adp-hero .adp-actions { margin-top: 28px; }
.adp-toc { display: flex; flex-wrap: wrap; gap: 6px 4px; margin-top: clamp(36px, 5vw, 64px); padding-block: 14px; background: linear-gradient(rgba(23, 39, 94, .15), rgba(23, 39, 94, .15)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.adp-toc a:first-child { margin-left: -12px; }
.adp-toc a { padding: 6px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.adp-toc a:hover { background: rgba(255, 255, 255, .6); }

/* Pourquoi */
.adp-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.adp-reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.adp-reasons .adp-tri { margin-bottom: 14px; }
.adp-reasons h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .35em; }
.adp-reasons p { color: var(--ink-2); margin: 0; font-size: .98rem; }

/* Packs */
.adp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; margin-bottom: clamp(24px, 4vw, 44px); }
.adp-head .adp-h2 { margin: 0; }
.adp-head p { margin: 0; max-width: 52ch; color: var(--ink-2); }

.adp-packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.adp-pack { display: flex; flex-direction: column; background: var(--white); border-radius: 18px; padding: 26px 24px 24px; border: 1px solid var(--line); }
@supports (grid-template-rows: subgrid) {
	.adp-pack { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
}
.adp-pack__head { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.adp-pack__head .adp-tri { margin-bottom: 16px; }
.adp-pack__name { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px !important; }
.adp-pack__price { display: grid; gap: 6px; margin-bottom: 14px !important; font-family: var(--display); line-height: 1; }
.adp-pack__amount { font-size: clamp(1.8rem, 2.5vw, 2.3rem); font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.adp-pack__cur { font-size: .95rem; font-weight: 700; color: var(--blue-text); }
.adp-pack__pitch { margin: 0 !important; font-size: .95rem; color: var(--ink-2); }
.adp-pack__items { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; flex: 1; align-content: start; }
.adp-pack__items li { display: grid; gap: 2px; padding-left: 18px; position: relative; }
.adp-pack__items li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 8px; background: var(--cowrie); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.adp-pack__label { font-size: .83rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.adp-pack__value { font-size: .97rem; font-weight: 600; line-height: 1.35; }
.adp-pack__items li:has(.adp-pack__label:only-child) .adp-pack__label { font-size: .97rem; color: var(--ink); }

.adp-pack--top { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: 0 30px 60px -30px rgba(23, 39, 94, .6); }
.adp-pack--top .adp-pack__head { border-color: rgba(166, 220, 251, .25); }
.adp-pack--top .adp-pack__cur { color: var(--sky); }
.adp-pack--top .adp-pack__pitch, .adp-pack--top .adp-pack__label { color: #BFD0EE; }
.adp-pack--top .adp-pack__items li:has(.adp-pack__label:only-child) .adp-pack__label { color: var(--white); }

@media (max-width: 1100px) { .adp-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .adp-packs { grid-template-columns: 1fr; } }

/* Comparatif */
.adp-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.adp-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: .96rem; }
.adp-table th, .adp-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.adp-table thead th { background: var(--mist); font-family: var(--display); font-weight: 700; font-size: 1.02rem; vertical-align: bottom; }
.adp-table thead th:last-child { background: var(--ink); color: var(--white); }
.adp-table__price { display: block; margin-top: 4px; font-family: var(--body); font-weight: 600; font-size: .88rem; color: var(--blue-text); }
.adp-table thead th:last-child .adp-table__price { color: var(--sky); }
.adp-table tbody th { width: 24%; font-weight: 700; background: var(--white); position: sticky; left: 0; }
.adp-table tbody td:last-child { background: #F6F8FD; font-weight: 600; }
.adp-table tbody tr:last-child > * { border-bottom: 0; }
.adp-yes, .adp-no { display: inline-block; }
.adp-yes { width: 14px; height: 12px; background: var(--cowrie); clip-path: polygon(50% 0, 100% 100%, 0 100%); margin-top: 4px; }
.adp-no { width: 14px; height: 2px; background: var(--field); vertical-align: middle; }

/* Packs commerciaux */
.adp-com { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.adp-section--ink .adp-label { color: var(--white); }
.adp-examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.adp-examples li { display: grid; grid-template-columns: 12px 1fr; gap: 12px; }
.adp-examples .adp-tri { width: 12px; margin-top: .45em; }
.adp-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.adp-steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 22px 0; border-top: 1px solid rgba(166, 220, 251, .28); }
.adp-steps li:last-child { border-bottom: 1px solid rgba(166, 220, 251, .28); }
.adp-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.adp-steps h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .3em; }
.adp-steps p { margin: 0; color: #C9D6EE; }

/* Proposition */
.adp-prop { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.adp-prop__intro { position: sticky; top: 110px; }
.adp-prop__intro p { color: var(--ink-2); }
.adp-prop-form { background: var(--white); border-radius: 20px; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); }
.adp-fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.adp-fieldset--inner { margin: 18px 0 0; }

.adp-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.adp-choice { position: relative; display: flex; cursor: pointer; }
.adp-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.adp-choice__box { width: 100%; display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--field); border-radius: 12px; transition: border-color .15s, background-color .15s; }
.adp-choice__name { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.015em; }
.adp-choice__price { font-size: .9rem; font-weight: 600; color: var(--blue-text); }
.adp-choice:hover .adp-choice__box { border-color: var(--ink); }
.adp-choice input:checked + .adp-choice__box { background: var(--ink); border-color: var(--ink); color: var(--white); }
.adp-choice input:checked + .adp-choice__box .adp-choice__price { color: var(--sky); }
.adp-choice input:focus-visible + .adp-choice__box { outline: 3px solid var(--cowrie); outline-offset: 2px; }
.adp-fieldset.has-error .adp-choice__box { border-color: var(--cowrie); }

.adp-choices--pills { display: flex; flex-wrap: wrap; gap: 8px; }
.adp-pill { position: relative; cursor: pointer; }
.adp-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.adp-pill span { display: inline-block; padding: .55em 1.05em; border: 1.5px solid var(--field); border-radius: 999px; font-weight: 600; font-size: .95rem; background: var(--white); }
.adp-pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.adp-pill input:focus-visible + span { outline: 3px solid var(--cowrie); outline-offset: 2px; }

.adp-field--toggle { padding: 16px 18px; border-radius: 12px; background: var(--mist); }
.adp-commercial { padding: 20px; border-radius: 14px; border: 1.5px dashed var(--field); margin-top: -6px; }
.adp-commercial > legend { float: left; width: 100%; margin-bottom: 14px; font-family: var(--display); }
.adp-commercial > legend + * { clear: both; }
.adp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.adp-total { margin: 4px 0 0 !important; font-family: var(--display); font-weight: 700; }
.adp-total:empty { display: none; }

.js-adp [data-adp-show], .js-adp [data-adp-commercial-fields] { display: none; }
.js-adp [data-adp-show].is-on, .js-adp [data-adp-commercial-fields].is-on { display: block; }
.js-adp [data-adp-hide].is-off { display: none; }

.adp-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--ink); }
.adp-submit .adp-small { margin: 0 !important; flex: 1 1 220px; }

.adp-notice { padding: 26px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); margin-bottom: 24px; }
.adp-notice .adp-tri { width: 24px; margin-bottom: 12px; }
.adp-notice h3 { font-size: 1.3rem; }
.adp-notice--ok { background: var(--sky-2); border-color: var(--sky); }
.adp-notice--error { background: #FDF0F5; border-color: #F5BCD4; }
.adp-notice--error ul { margin: 0; padding-left: 1.2em; }
.adp-notice--error a { color: var(--cowrie-text); font-weight: 600; }
.adp-recap { margin: 18px 0; display: grid; gap: 0; }
.adp-recap > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(23, 39, 94, .12); }
.adp-recap dt { font-weight: 600; color: var(--muted); font-size: .93rem; }
.adp-recap dd { margin: 0; font-weight: 600; }

/* Contact */
.adp-contact { padding-block: clamp(40px, 6vw, 64px); }
.adp-contact__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.adp-contact p { margin: 0; color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.adp-gate-hero__grid, .adp-why, .adp-com, .adp-prop { grid-template-columns: 1fr; }
	.adp-prop__intro { position: static; }
}
@media (max-width: 600px) {
	.adp-reasons, .adp-choices, .adp-grid { grid-template-columns: 1fr; }
	.adp-recap > div { grid-template-columns: 1fr; gap: 2px; }
	.adp-toc { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.adp-toc a { white-space: nowrap; }
	.adp-toc a:first-child { margin-left: 0; }
	.adp-table tbody th { width: 160px; min-width: 160px; }
	.adp-actions .adp-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) { .adp * { transition: none !important; } }

/* ---------- Impression / PDF ---------- */

@media print {
	@page { size: A4; margin: 14mm; }
	body.adp-page header, body.adp-page footer, body.adp-page .site-header, body.adp-page .site-footer,
	.adp-actions, .adp-toc, .adp-hello__out, #proposition, .adp-pack__cta, .adp-contact .adp-actions, #wpadminbar { display: none !important; }
	html { margin-top: 0 !important; }
	.adp { font-size: 11pt; }
	.adp-hero, .adp-gate-hero, .adp-section--sky, .adp-section--mist { background: none !important; }
	.adp-section { padding-block: 6mm; }
	.adp-hero { padding-top: 0; }
	.adp-why { grid-template-columns: 1fr; gap: 6mm; }
	.adp-reasons { grid-template-columns: repeat(4, 1fr); gap: 5mm; }
	.adp-print-only { display: block !important; }
	.adp-section--ink { background: var(--ink) !important; color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.adp-pack, .adp-table thead th, .adp-pack--top, .adp-yes, .adp-steps li::before, .adp-chips li { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.adp-packs { grid-template-columns: repeat(2, 1fr); }
	.adp-pack, .adp-table, .adp-steps li { break-inside: avoid; }
	#packs, #comparatif, #commercial { break-before: page; }
	.adp-reasons li, .adp-why > div, .adp-head { break-inside: avoid; }
	.adp-h2 { break-after: avoid; }
	.adp-print-logo { display: block !important; width: 52mm; margin-bottom: 8mm; }
	.adp-table { min-width: 0; font-size: 9pt; }
	.adp-table-wrap { overflow: visible; }
	.adp-contact { padding-top: 0; }
}
