/*
 * Templates DORA / ISO 27001.
 *
 * Les pages utilisent d'abord les classes existantes du thème (.page__heading, .section__base,
 * .section__title, .badge, .team__card, .section__stats--small, .link-border…).
 * Ce fichier n'ajoute que les mises en page propres aux maquettes (grilles, lignes, tableaux,
 * FAQ…), avec les valeurs du thème : textes #333447, noir #0c0c0c, gris #f6f6f6,
 * filets #c2c2c2 / #d9d9d9 / #e2e2e2, arrondis 20px, Poppins / Outfit.
 */

/* ---------- Sections ---------- */
.cz-page .cz-narrow {
	max-width: 960px;
}
.cz-page .cz-head {
	margin-bottom: 52px;
}
.cz-page .cz-head .badge {
	margin-bottom: 16px;
}
.cz-page .cz-head h2 {
	margin: 0;
}
.cz-page .cz-intro {
	max-width: 760px;
	margin: 20px auto 0;
}
.cz-page .cz-intro p {
	margin: 0 0 12px;
}
.cz-page .cz-intro p:last-child {
	margin-bottom: 0;
}
.cz-page .cz-head--left {
	text-align: left;
	margin-bottom: 32px;
}
.cz-page .cz-head--left .cz-intro {
	margin-left: 0;
}
.cz-page .cz-text p {
	margin: 0 0 16px;
}

/* ---------- Grilles ---------- */
.cz-page .cz-grid {
	display: grid;
	gap: 32px;
}
.cz-page .cz-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cz-page .cz-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cz-page .cz-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cz-page .cz-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.cz-page .cz-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 72px;
	align-items: start;
}
.cz-page .cz-split--40 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.cz-page .cz-split--end { align-items: end; }

/* ---------- Cartes ---------- */
.cz-page .cz-card {
	text-align: left;
}
.cz-page .cz-card h3 {
	margin: 0 0 12px;
}
.cz-page .cz-card p {
	margin: 0;
}
.cz-page .cz-card p + p {
	margin-top: 12px;
}
/* Carte à filet : comme « Nos expertises » / « Pourquoi viser… » */
.cz-page .cz-card--line {
	border-top: 1px solid #c2c2c2;
	padding: 40px 20px;
}
/* Carte grise : comme les cartes produits / « Pourquoi faire confiance » */
.cz-page .cz-card--box {
	background: #f6f6f6;
	border-radius: 20px;
	padding: 32px;
	box-shadow: rgba(0, 0, 0, 0) 0 10px 50px;
	transform: translateY(0);
	transition: all .5s ease-in-out;
}
.cz-page .cz-card--box:hover {
	box-shadow: rgba(0, 0, 0, .1) 0 10px 50px;
	transform: translateY(-4px);
}
/* Carte à bordure : comme le comparatif TPN */
.cz-page .cz-card--outline {
	border: 1px solid #e2e2e2;
	border-radius: 20px;
	padding: 32px;
}
.cz-page .cz-num {
	display: block;
	margin-bottom: 16px;
	font-family: "Outfit", sans-serif;
	font-size: 2em;
	font-weight: 900;
	line-height: 1;
}
.cz-page .number {
	display: block;
	font-family: "Outfit", sans-serif;
	font-size: 3em;
	font-weight: 900;
	line-height: 1;
}
.cz-page .cz-label {
	font-size: .8em;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.cz-page .cz-small {
	font-size: .9em;
	opacity: .8;
	margin: 20px 0 0;
}

/* ---------- Listes à coches (listes du thème, alignées à gauche) ---------- */
.cz-page .cz-list {
	margin: 24px 0 0;
}
.cz-page .site-main .cz-list li,
.cz-page.site-main .cz-list li {
	text-align: left;
	justify-content: flex-start;
	align-items: flex-start;
	margin-bottom: 16px;
}
.cz-page.site-main .cz-list li:last-child {
	margin-bottom: 0;
}
.cz-page.site-main .cz-list li:before {
	flex: 0 0 auto;
	margin-right: 4px;
}

/* ---------- Encadrés ---------- */
.cz-page .cz-box {
	background: #f6f6f6;
	border-radius: 20px;
	padding: 40px;
}
.cz-page .cz-box h3 {
	margin: 0 0 8px;
}
.cz-page .cz-box p {
	margin: 0;
}
.cz-page .cz-box__item + .cz-box__item {
	border-top: 1px solid #d9d9d9;
	margin-top: 24px;
	padding-top: 24px;
}
.cz-page .cz-note {
	margin-top: 32px;
	background: #f6f6f6;
	border-radius: 20px;
	padding: 24px 32px;
}
.cz-page .cz-note p {
	margin: 0;
}
.cz-page .cz-statement {
	margin-top: 52px;
	background: #f6f6f6;
	border-radius: 20px;
	padding: 32px;
	text-align: center;
	font-size: 1.25em;
	font-weight: 700;
}

/* ---------- Étapes ---------- */
.cz-page .cz-step {
	position: relative;
	border-top: 3px solid #d9d9d9;
	padding-top: 28px;
}
.cz-page .cz-step:before {
	content: "";
	position: absolute;
	top: -3px;
	left: 0;
	width: 30%;
	height: 3px;
	background: #0c0c0c;
}
.cz-page .cz-step h3 {
	margin: 16px 0 8px;
}
.cz-page .cz-step p {
	margin: 0;
}
.cz-page .cz-step .badge {
	margin-top: 16px;
}

/* ---------- Lignes (5 piliers DORA) ---------- */
.cz-page .cz-rows {
	display: grid;
	gap: 16px;
}
.cz-page .cz-row {
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr) minmax(220px, 320px);
	align-items: center;
	gap: 32px;
	background: #f6f6f6;
	border: 2px solid transparent;
	border-radius: 20px;
	padding: 32px;
}
.cz-page .cz-row h3 {
	margin: 0 0 8px;
}
.cz-page .cz-row h3 small {
	font-size: .7em;
	font-weight: 400;
}
.cz-page .cz-row p {
	margin: 0;
}
.cz-page .cz-row .badge {
	margin-bottom: 12px;
}
.cz-page .cz-row__aside {
	border-left: 1px solid #d9d9d9;
	padding-left: 24px;
}
.cz-page .cz-row--highlight {
	background: #fff;
	border-color: #0c0c0c;
}
.cz-page .cz-row--optional {
	background: transparent;
	border: 1px dashed #9b9b9b;
}
.cz-page .cz-row--optional .number {
	color: #9b9b9b;
}

/* ---------- Icônes en anneaux (reprend .product__item-icon) ---------- */
.cz-page .cz-ring {
	position: relative;
	width: 70px;
	height: 70px;
	margin: 13px;
	border: 1px solid #9b9b9b;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cz-page .cz-ring:before,
.cz-page .cz-ring:after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	opacity: .2;
}
.cz-page .cz-ring:before {
	width: 82px;
	height: 82px;
	border: 2px solid #838383;
}
.cz-page .cz-ring:after {
	width: 96px;
	height: 96px;
	border: 3px solid #afafaf;
}
.cz-page .cz-ring__inner {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	box-shadow: inset 0 0 8px rgba(0, 0, 0, .35);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Outfit", sans-serif;
	font-size: 1.5em;
	font-weight: 900;
}
.cz-page .cz-ring__inner svg {
	width: 32px;
	height: 32px;
}

/* ---------- « Pourquoi Cyberzen ? » (DORA – Nos services) ---------- */
.cz-page .cz-why {
	display: grid;
	gap: 24px;
}
.cz-page .cz-why__item {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	align-items: center;
	gap: 32px;
	background: #f6f6f6;
	border-radius: 20px;
	padding: 32px;
}
.cz-page .cz-why__item .cz-ring {
	justify-self: center;
}
.cz-page .cz-why__item h3 {
	margin: 0 0 8px;
}
.cz-page .cz-why__item p {
	margin: 0;
}

/* ---------- Équipe / portraits (cartes du thème, en grille) ---------- */
.cz-page .cz-team {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	margin-top: 52px;
}
.cz-page.section__team .team__card img,
.cz-page .section__team .team__card img {
	object-position: center top;
}

/* ---------- ISO : situations, certifications, livrables ---------- */
.cz-page .cz-situation {
	display: flex;
	flex-direction: column;
}
.cz-page .cz-situation h3 {
	margin-top: 16px;
}
.cz-page .cz-situation p {
	margin-bottom: 20px;
}
.cz-page .cz-arrow {
	margin-top: auto;
	align-self: flex-start;
	font-weight: 700;
}
span.cz-arrow {
	padding: 8px 0;
}
.cz-page .cz-cert__logo {
	display: block;
	height: 120px;
	width: auto;
	max-width: 100%;
	margin: 0 auto 24px;
	object-fit: contain;
}
.cz-page .cz-table {
	width: 100%;
	border-collapse: collapse;
}
.cz-page .cz-table th {
	font-family: "Poppins", sans-serif;
	font-size: .8em;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-align: left;
	padding: 16px 20px;
	border-bottom: 2px solid #0c0c0c;
}
.cz-page .cz-table td {
	padding: 18px 20px;
	border-bottom: 1px solid #e2e2e2;
	vertical-align: top;
}
.cz-page .cz-table td:first-child {
	width: 40%;
	font-weight: 700;
}
.cz-page .cz-deliverables {
	gap: 12px;
}
.cz-page .cz-deliverable {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #f6f6f6;
	border-radius: 16px;
	padding: 18px 20px;
	font-weight: 600;
}
.cz-page .cz-deliverable .cz-num {
	margin: 0;
	font-size: 1.2em;
}
.cz-page .cz-points {
	display: grid;
	gap: 16px;
}

/* ---------- ISO : causes, encadré budget, référence, « pensé pour vous » ---------- */
.cz-page .cz-cause__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}
.cz-page .cz-cause__consequence {
	border-top: 1px solid #d9d9d9;
	padding-top: 16px;
	margin-top: 20px !important;
	font-size: .95em;
}
.cz-page .cz-callout {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	margin-top: 32px;
	background: #f6f6f6;
	border-radius: 20px;
	padding: 40px;
}
.cz-page .cz-callout h3 {
	margin: 12px 0 8px;
}
.cz-page .cz-callout p {
	margin: 0 0 12px;
}
.cz-page .cz-reference {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #e2e2e2;
}
.cz-page .cz-reference p {
	margin: 0;
	font-size: .9em;
}
.cz-page .cz-reference a {
	white-space: nowrap;
	font-weight: 700;
}
.cz-page .cz-pm__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 24px;
}
.cz-page .cz-pm__list > div {
	border-top: 1px solid #d9d9d9;
	padding-top: 12px;
}
.cz-page .cz-pm__list strong {
	display: block;
	margin-bottom: 4px;
}
.cz-page .cz-pm__list span {
	font-size: .95em;
}

/* ---------- Présentation avec image (DORA – Accueil) ---------- */
.cz-page .cz-presentation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 52px;
}
.cz-page .cz-presentation img {
	display: block;
	margin: 0 auto;
	max-height: 420px;
	width: auto;
}

/* ---------- FAQ ---------- */
.cz-page .cz-faq details {
	border-top: 1px solid #c2c2c2;
}
.cz-page .cz-faq details:last-child {
	border-bottom: 1px solid #c2c2c2;
}
.cz-page .cz-faq summary {
	position: relative;
	cursor: pointer;
	list-style: none;
	padding: 24px 48px 24px 0;
	font-family: "Poppins", sans-serif;
	font-size: 1.1em;
	font-weight: 600;
}
.cz-page .cz-faq summary::-webkit-details-marker {
	display: none;
}
.cz-page .cz-faq summary:after {
	content: "+";
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.6em;
	font-weight: 300;
}
.cz-page .cz-faq details[open] summary:after {
	content: "–";
}
.cz-page .cz-faq details p {
	margin: 0 0 24px;
	max-width: 820px;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 1100px) {
	.cz-page .cz-grid--4,
	.cz-page .cz-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cz-page .cz-row { grid-template-columns: 80px minmax(0, 1fr); }
	.cz-page .cz-row__aside { grid-column: 2; border-left: 0; padding-left: 0; border-top: 1px solid #d9d9d9; padding-top: 16px; }
}
@media screen and (max-width: 992px) {
	.cz-page .cz-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cz-page .cz-split,
	.cz-page .cz-split--40 { grid-template-columns: 1fr; gap: 40px; }
	.cz-page .cz-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 768px) {
	.cz-page .cz-grid--2,
	.cz-page .cz-grid--3,
	.cz-page .cz-grid--4,
	.cz-page .cz-grid--5,
	.cz-page .cz-pm__list { grid-template-columns: 1fr; }
	.cz-page .cz-grid { gap: 20px; }
	.cz-page .cz-card--line { padding: 28px 8px; }
	.cz-page .cz-box,
	.cz-page .cz-callout { padding: 28px 24px; }
	.cz-page .cz-row { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
	.cz-page .cz-row__aside { grid-column: 1; }
	.cz-page .cz-why__item,
	.cz-page .cz-callout { grid-template-columns: 1fr; gap: 16px; }
	.cz-page .cz-why__item .cz-ring { justify-self: start; }
	.cz-page .cz-reference { flex-direction: column; align-items: flex-start; }
	.cz-page .cz-presentation .col-5,
	.cz-page .cz-presentation .col-7 { width: 100%; }
	.cz-page .cz-head { margin-bottom: 32px; }
}

/* ---------- Ajustements sur les composants du thème ---------- */
/* Badge noir : le thème force la couleur du texte sur tous les éléments (`* { color }`) */
.cz-page .badge:not(.outline) span {
	color: #fff;
}
/* Bloc chiffres : le thème prévoit 4 chiffres ; pas de séparateur après le dernier */
.cz-page.site-main .section__stats--small .stats__card:last-child {
	border-right: none;
}
/* Mobile : même taille de titre que `.section__base h2` du thème (2rem) */
@media screen and (max-width: 768px) {
	.cz-page .section__title h2 {
		font-size: 2rem;
	}
}

/* ==========================================================================
   Couleurs des maquettes pour les informations importantes.
   Variables définies dans css/cz/cz-colors.css (chargé sur tout le site).
   Le thème impose `* { color }` : la couleur est posée sur l'élément texte lui-même.
   ========================================================================== */

/* Titre de page (DORA) : même dégradé que le thème, en vert. */
.cz-dora .page__heading h1 {
	background: linear-gradient(to bottom, var(--cz-accent-dark) 0%, var(--cz-accent) 55%, #4fb3ab 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

/* Surtitres (badges au-dessus des titres) et mots mis en avant dans les titres (*mot*). */
.cz-page .cz-head .badge.outline,
.cz-page .cz-callout .badge.outline {
	border-color: var(--cz-accent);
}
.cz-page .cz-head .badge.outline span,
.cz-page .cz-callout .badge.outline span,
.cz-page .cz-accent {
	color: var(--cz-accent);
}

/* Numéros, chiffres clés, étiquettes. */
.cz-page .cz-num,
.cz-page .number,
.cz-page .cz-label,
.cz-page.site-main .section__stats--small .stats__card h3 {
	color: var(--cz-accent);
}
.cz-page .cz-row--optional .number {
	color: #9b9b9b;
}

/* Coches vertes. */
.cz-page.site-main .cz-list li:before {
	content: url("/wp-content/themes/cyberzen-v2/assets/img/check-accent.svg");
}

/* Cartes à filet : filet teinté. */
.cz-page .cz-card--line {
	border-top-color: var(--cz-accent-line);
}

/* Étapes : segment vert, étiquette teintée. */
.cz-page .cz-step:before {
	background: var(--cz-accent);
}
.cz-page .cz-step .badge.outline {
	background: var(--cz-accent-soft);
	border-color: var(--cz-accent-soft);
}
.cz-page .cz-step .badge.outline span {
	color: var(--cz-accent-dark);
}

/* Encadrés « à retenir » : filet vert à gauche, fond teinté. */
.cz-page .cz-note {
	border-left: 3px solid var(--cz-accent);
	border-radius: 0 20px 20px 0;
	background: linear-gradient(90deg, var(--cz-accent-soft), #f6f6f6 40%);
}
.cz-page .cz-row__aside {
	border-left: 3px solid var(--cz-accent);
	background: var(--cz-accent-tint);
	border-radius: 0 12px 12px 0;
	padding: 16px 20px;
}
.cz-page .cz-row__aside strong,
.cz-page .cz-cause__consequence strong,
.cz-page .cz-pm__list strong {
	color: var(--cz-accent-dark);
}
.cz-page .cz-statement {
	background: rgba(0, 140, 130, .09);
	border: 1px solid rgba(0, 140, 130, .45);
}
.cz-page .cz-callout {
	border: 1px solid var(--cz-accent-line);
}
.cz-page .cz-points > .cz-card--box {
	border-left: 3px solid var(--cz-accent);
	border-radius: 0 20px 20px 0;
}

/* Pilier mis en avant (« Angle mort fréquent ») : orange, comme la maquette. */
.cz-page .cz-row--highlight {
	background: var(--cz-warning-soft);
	border-color: var(--cz-warning-line);
}
.cz-page .cz-row--highlight .number {
	color: var(--cz-warning);
}
.cz-page .cz-row--highlight .badge {
	background: var(--cz-warning);
}

/* Icônes en anneaux : vert. */
.cz-page .cz-ring {
	border-color: var(--cz-accent);
}
.cz-page .cz-ring:before {
	border-color: var(--cz-accent);
}
.cz-page .cz-ring:after {
	border-color: var(--cz-accent-line);
}
.cz-page .cz-ring__inner {
	background: var(--cz-accent-soft);
	box-shadow: inset 0 0 8px rgba(0, 140, 130, .3);
}
.cz-page .cz-ring__inner,
.cz-page .cz-ring__inner svg,
.cz-page .cz-ring__inner svg * {
	color: var(--cz-accent);
}

/* Causes (Pourquoi ISO) : barre verte en haut de carte. */
.cz-page .cz-cause {
	position: relative;
}
.cz-page .cz-cause:before {
	content: "";
	position: absolute;
	top: 0;
	left: 32px;
	width: 56px;
	height: 3px;
	background: var(--cz-accent);
}

/* Livrables : filet vert sur l'en-tête du tableau. */
.cz-page .cz-table th {
	border-bottom-color: var(--cz-accent);
}

/* Titres de cartes colorés (comme les maquettes). */
.cz-dora-pourquoi .cz-card h3,
.cz-dora-rssi .cz-card h3,
.cz-iso-accueil .cz-cert h3 {
	color: var(--cz-accent-dark);
}

/* Liens et flèches. */
.cz-page .cz-arrow,
.cz-page .cz-reference a,
.cz-page a.link-border {
	color: var(--cz-accent);
}
.cz-page .link-border::before {
	border-left-color: var(--cz-accent);
	border-bottom-color: var(--cz-accent);
}
.cz-page .link-border::after {
	border-right-color: var(--cz-accent);
	border-top-color: var(--cz-accent);
}

/* FAQ : signe +/– vert. */
.cz-page .cz-faq summary:after {
	color: var(--cz-accent);
}
