/*
Theme Name: Victus Marketing
Theme URI: https://victusmarketing.nl
Author: Victus Marketing
Description: Blokthema voor Victus Marketing – performance marketing (Google Ads, Meta Ads, tracking).
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: victus
*/

html { scroll-behavior: smooth; }
:where(section[id]) { scroll-margin-top: 90px; }

/* ---------- Secties ---------- */
.vm-section { padding-top: clamp(64px, 9vw, 104px) !important; padding-bottom: clamp(64px, 9vw, 104px) !important; }
.vm-lavendel { background: #F4F2FA; }
.vm-dark { background: #14102A; color: #ffffff; }
.vm-dark :where(h1, h2, h3, h4) { color: #ffffff; }

.vm-gradient {
	position: relative;
	color: #ffffff;
	background-color: #4B00A0;
	background-image: url(assets/images/rays.svg), linear-gradient(125deg, #3A0082 0%, #4B00A0 38%, #2A6FB4 74%, #00D1C1 100%);
	background-size: cover, cover;
	background-position: left bottom, center;
	background-repeat: no-repeat;
}
.vm-gradient :where(h1, h2, h3, h4) { color: #ffffff; }
.vm-gradient a:not(.wp-element-button) { color: #ffffff; }

/* ---------- Header ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
.vm-header { background: #ffffff; border-bottom: 1px solid #ECE9F4; padding-top: 14px; padding-bottom: 14px; }
.vm-brand { gap: 12px !important; }
.vm-brand .wp-block-image { margin: 0; width: 44px; flex: 0 0 44px; }
.vm-brand .wp-block-image img,
.vm-brand .wp-block-image .components-resizable-box__container { width: 44px !important; height: 44px !important; border-radius: 50%; display: block; }
.vm-footer .vm-brand .wp-block-image { width: 36px; flex-basis: 36px; }
.vm-footer .vm-brand .wp-block-image img,
.vm-footer .vm-brand .wp-block-image .components-resizable-box__container { width: 36px !important; height: 36px !important; }
.vm-brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; margin: 0; }
.vm-brand-name a { color: #14102A; text-decoration: none; }
.vm-header .wp-block-navigation { font-weight: 600; font-size: 15px; gap: 28px; }
.vm-header .wp-block-navigation a { color: #2A2540; text-decoration: none; }
.vm-header .wp-block-navigation a:hover { color: #4B00A0; }
.vm-header .wp-block-button__link { font-size: 15px; padding: 12px 22px; }
@media (max-width: 781px) {
	.vm-header .wp-block-buttons.vm-header-cta { display: none; }
	.vm-header .alignwide { flex-wrap: nowrap !important; }
}

/* ---------- Typografie-hulpjes ---------- */
.vm-eyebrow { font-size: 14px !important; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #4B00A0; margin-bottom: 12px !important; }
.vm-dark .vm-eyebrow { color: #5FE6D8; }
.vm-muted { color: #5B5670; }
.vm-dark .vm-muted, .vm-dark p { color: rgba(255,255,255,0.82); }
.vm-lead { font-size: 1.25rem; line-height: 1.6; }
.vm-gradient .vm-lead { color: rgba(255,255,255,0.92); }
.vm-pill { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); padding: 8px 16px; border-radius: 999px; }
.vm-hand { font-family: var(--wp--preset--font-family--caveat); font-size: 30px; font-weight: 700; line-height: 1.1; color: #ffffff; padding-left: 82px; min-height: 60px; background: url(assets/images/arrow.svg) left bottom / 70px 60px no-repeat; padding-top: 6px; }

/* ---------- Knoppen ---------- */
.is-style-outline-light .wp-block-button__link { background: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,0.7); padding: 13px 26px; }
.is-style-outline-light .wp-block-button__link:hover { background: rgba(255,255,255,0.12); color: #ffffff; }
.vm-btn-white .wp-block-button__link { background: #ffffff; color: #4B00A0; }
.vm-btn-white .wp-block-button__link:hover { background: #F4F2FA; color: #2E0066; }

/* ---------- Hero ---------- */
.vm-hero { padding-top: clamp(64px, 8vw, 96px) !important; padding-bottom: clamp(72px, 9vw, 112px) !important; }
.vm-hero h1 { margin-top: 20px; margin-bottom: 24px; }
.vm-hero-card img { border-radius: 24px; box-shadow: 0 30px 60px rgba(20,0,60,0.35); width: 100%; height: auto; }
.vm-hero-card { margin: 0; }

/* ---------- Lijsten ---------- */
.vm-card .vm-checks { margin-top: 20px !important; }
.vm-checks { list-style: none; padding-left: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vm-checks li { padding-left: 30px; background: url(assets/icons/check.svg) left 4px / 20px 20px no-repeat; }
.vm-checks-inline { list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.92); margin-top: 32px; }
.vm-checks-inline li { padding-left: 26px; background: url(assets/icons/check-white.svg) left 3px / 18px 18px no-repeat; }
.vm-tags { list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.vm-tags li { font-size: 15px; font-weight: 600; background: #F4F2FA; color: #2A2540; padding: 8px 16px; border-radius: 999px; }

/* ---------- Kaarten ---------- */
.vm-card { background: #ffffff; border: 1px solid #ECE9F4; border-radius: 20px; padding: 32px !important; height: 100%; box-sizing: border-box; }
.vm-card h3 { margin-top: 0; }
.vm-card > *:first-child { margin-top: 0; }
.vm-dark .vm-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.wp-block-column:has(> .vm-card) { display: flex; flex-direction: column; }

.vm-icon::before { content: ""; display: block; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px; background-color: #4B00A0; background-image: var(--vm-icon), linear-gradient(135deg, #00D1C1, #4B00A0); background-size: 26px 26px, cover; background-position: center; background-repeat: no-repeat; }
.vm-icon-users { --vm-icon: url(assets/icons/users.svg); }
.vm-icon-box { --vm-icon: url(assets/icons/box.svg); }
.vm-icon-question { --vm-icon: url(assets/icons/question.svg); }

.vm-service { border: none; box-shadow: 0 8px 30px rgba(75,0,160,0.06); border-radius: 24px; padding: 44px 32px 36px !important; background: linear-gradient(90deg, #00D1C1, #4B00A0) top / 100% 8px no-repeat, #ffffff; }
.vm-service::before { content: ""; display: block; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px; background: var(--vm-icon) center / 28px 28px no-repeat, #EFE6FA; }
.vm-service-search { --vm-icon: url(assets/icons/search.svg); }
.vm-service-video { --vm-icon: url(assets/icons/video.svg); }
.vm-service-chart { --vm-icon: url(assets/icons/chart.svg); }

/* ---------- Werkwijze ---------- */
.vm-step { border-top: 3px solid var(--vm-step, #4B00A0); padding-top: 24px; }
.vm-step-num { font-size: 44px !important; font-weight: 800; line-height: 1 !important; color: var(--vm-step-text, #4B00A0); margin-bottom: 14px !important; }
.vm-step h3 { font-size: 20px; margin: 0 0 8px; }
.vm-step-2 { --vm-step: #3A3FAE; --vm-step-text: #3A3FAE; }
.vm-step-3 { --vm-step: #1F73A8; --vm-step-text: #1F6E9E; }
.vm-step-4 { --vm-step: #00B39E; --vm-step-text: #007F76; }

/* ---------- Over mij ---------- */
.vm-photo { margin: 0 auto; max-width: 380px; aspect-ratio: 1 / 1; border-radius: 50%; padding: 10px; box-sizing: border-box; background: linear-gradient(135deg, #00D1C1 0%, #2A6FB4 50%, #4B00A0 100%); }
.vm-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid #ffffff; box-sizing: border-box; display: block; }

/* ---------- Contact ---------- */
.vm-contact-list { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; font-weight: 600; margin: 28px 0 0 !important; }
.vm-contact-list li { padding-left: 34px; background-position: left 3px; background-size: 22px 22px; background-repeat: no-repeat; }
.vm-contact-list .vm-mail { background-image: url(assets/icons/mail.svg); }
.vm-contact-list .vm-pin { background-image: url(assets/icons/pin.svg); }
.vm-contact-card { background: #ffffff; color: #2A2540; border-radius: 24px; padding: 36px !important; box-shadow: 0 30px 60px rgba(20,0,60,0.3); }
.vm-contact-card :where(h2, h3) { color: #14102A !important; }
.vm-contact-card a:not(.wp-element-button) { color: #4B00A0 !important; }
.vm-contact-card p { color: #2A2540; }

/* ---------- Footer ---------- */
.vm-footer { background: #14102A; color: rgba(255,255,255,0.78); font-size: 14px; padding-top: 40px !important; padding-bottom: 40px !important; }
.vm-footer p { margin: 0; }
.vm-footer a { color: rgba(255,255,255,0.85); }
.vm-footer a:hover { color: #ffffff; }
.vm-footer .vm-brand-name a { color: #ffffff; }

/* ---------- ROAS-calculator ---------- */
.vm-calc-hero { padding-top: clamp(56px, 7vw, 88px) !important; padding-bottom: clamp(120px, 12vw, 160px) !important; }
.vm-calc-hero h1 { margin-top: 20px; margin-bottom: 20px; }
.vm-calc-section { padding-top: 0 !important; padding-bottom: clamp(64px, 8vw, 96px) !important; }
.vm-calc-section .vm-calc { margin-top: -96px; }
.vm-calc { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .vm-calc { grid-template-columns: minmax(0, 1fr); } }

.vm-calc-inputs { background: #ffffff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 20px 50px rgba(20,0,60,0.12); display: flex; flex-direction: column; gap: 20px; margin: 0; }
.vm-calc-title { font-size: 1.5rem !important; margin: 0; }
.vm-calc-hint { margin: -8px 0 4px; font-size: 15px; color: #5B5670; }
.vm-field { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.vm-field label, .vm-field legend { font-size: 15px; font-weight: 700; color: #14102A; }
.vm-field label span, .vm-field legend span { font-weight: 500; color: #5B5670; }
.vm-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 480px) { .vm-field-row { grid-template-columns: minmax(0, 1fr); } }

.vm-input { position: relative; display: flex; align-items: center; }
.vm-input input { width: 100%; box-sizing: border-box; font: inherit; font-size: 18px; font-weight: 600; color: #14102A; background: #ffffff; border: 1.5px solid #CFC9E0; border-radius: 12px; min-height: 52px; padding: 12px 16px; }
.vm-input input:focus { outline: none; border-color: #4B00A0; box-shadow: 0 0 0 3px rgba(75,0,160,0.18); }
.vm-input-eur input { padding-left: 38px; }
.vm-input-eur::before { content: "€"; position: absolute; left: 16px; font-weight: 700; color: #5B5670; pointer-events: none; }
.vm-input-pct input { padding-right: 40px; }
.vm-input-pct::after { content: "%"; position: absolute; right: 16px; font-weight: 700; color: #5B5670; pointer-events: none; }

.vm-toggle { border: none; padding: 0; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.vm-toggle legend { width: 100%; margin-bottom: 8px; padding: 0; }
.vm-toggle label { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border: 1.5px solid #CFC9E0; border-radius: 999px; padding: 10px 18px; min-height: 44px; box-sizing: border-box; cursor: pointer; color: #2A2540; }
.vm-toggle input { accent-color: #4B00A0; margin: 0; }
.vm-toggle label:has(input:checked) { border-color: #4B00A0; background: #EFE6FA; color: #2E0066; }
.vm-toggle label:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(75,0,160,0.25); }

.vm-calc-result { position: sticky; top: 100px; color: #ffffff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px rgba(20,0,60,0.3); background-color: #4B00A0; background-image: url(assets/images/rays.svg), linear-gradient(125deg, #3A0082 0%, #4B00A0 45%, #2A6FB4 85%, #00D1C1 120%); background-size: cover, cover; background-position: left bottom, center; }
@media (max-width: 860px) { .vm-calc-result { position: static; } }
.vm-calc-label { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.vm-calc-big { margin: 6px 0 4px; font-size: clamp(3.5rem, 8vw, 5.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.vm-calc-sub { margin: 0 0 24px; font-size: 16px; color: rgba(255,255,255,0.9); min-height: 1.6em; }
.vm-calc-list { margin: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.22); }
.vm-calc-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.22); }
.vm-calc-list dt { font-size: 15px; color: rgba(255,255,255,0.88); }
.vm-calc-list dd { margin: 0; font-size: 18px; font-weight: 800; white-space: nowrap; }
.vm-calc-warning { margin: 20px 0 0; background: #ffffff; color: #6B1D1D; border-radius: 14px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.vm-calc.is-invalid .vm-calc-big { opacity: 0.5; }
.vm-calc-note { margin-top: 40px !important; font-size: 15px; }

/* ---------- Gewone pagina's ---------- */
.vm-page { padding-top: 72px; padding-bottom: 96px; }
