/*
Theme Name: VitalAssist
Author: WebSuccess
Version: 1.0.1
Text Domain: vitalassist
*/

/* =========================================================
   1. VARIABLES & RESET
   ========================================================= */
:root {
	--navy: #16375e;
	--navy-dark: #122c4b;
	--red: #e8272f;
	--bleu-clair: #dce9f5;
	--white: #ffffff;
	--text-gray: #4a5568;
	--radius: 12px;
	--shadow: 0 10px 30px rgba(22, 55, 94, 0.1);
	--font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--text-gray);
	line-height: 1.65;
	background: var(--white);
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
	font-family: var(--font);
	color: var(--navy);
	margin: 0 0 16px;
	font-weight: 700;
	line-height: 1.25;
}

p { margin: 0 0 16px; }

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.section { padding: 80px 0; }

@media (max-width: 768px) {
	.section { padding: 50px 0; }
}

/* =========================================================
   2. UTILITIES
   ========================================================= */
.section-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	color: var(--red);
	margin-bottom: 12px;
}

.section-label svg { width: 16px; height: 16px; flex-shrink: 0; }

.section-title { font-size: 36px; margin-bottom: 20px; }

.text-center { text-align: center; }

.section-intro {
	max-width: 700px;
	margin: 0 auto 50px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 32px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 15px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	border: none;
	cursor: pointer;
}

.btn svg { width: 18px; height: 18px; }

.btn-red {
	background: var(--red);
	color: var(--white);
	box-shadow: 0 8px 20px rgba(232, 39, 47, 0.35);
}

.btn-red:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(232, 39, 47, 0.45); }

.btn-navy {
	background: var(--navy);
	color: var(--white);
	box-shadow: 0 8px 20px rgba(22, 55, 94, 0.3);
}

.btn-navy:hover { transform: translateY(-2px); background: var(--navy-dark); }

.btn-outline {
	background: transparent;
	border: 2px solid var(--white);
	color: var(--white);
}

/* Cards */
.card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 32px;
}

/* icon circle */
.icon-circle {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.icon-circle svg { width: 28px; height: 28px; stroke: var(--white); }

/* checks */
.check-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	font-weight: 500;
	color: var(--navy);
}

.check-item svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	stroke: var(--red);
}

/* =========================================================
   3. HEADER
   ========================================================= */
.site-header {
	background: var(--white);
	position: sticky;
	top: 0;
	z-index: 999;
	box-shadow: 0 2px 12px rgba(22, 55, 94, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
	max-width: 1280px;
	margin: 0 auto;
}

.site-logo img { height: 55px; width: auto; }

.main-nav {
	display: flex;
	align-items: center;
	gap: 36px;
}

.main-nav ul {
	display: flex;
	gap: 32px;
}

.main-nav a {
	font-weight: 500;
	color: var(--navy);
	font-size: 15px;
	transition: color 0.2s;
}

.main-nav a:hover { color: var(--red); }

.main-nav a.header-cta,
.main-nav a.header-cta:hover { color: var(--white); padding: 14px 28px; }

.header-cta { display: none; }

@media (min-width: 992px) {
	.header-cta { display: inline-flex; }
}

.burger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.burger span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--navy);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (min-width: 992px) {
	.burger { display: none; }
}

@media (max-width: 991px) {
	.main-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 78%;
		max-width: 320px;
		height: 100vh;
		background: var(--white);
		flex-direction: column;
		align-items: flex-start;
		padding: 90px 30px;
		gap: 24px;
		transition: right 0.3s ease;
		box-shadow: -8px 0 24px rgba(0,0,0,0.1);
	}
	.main-nav.is-open { right: 0; }
	.main-nav ul { flex-direction: column; gap: 20px; width: 100%; }
	.header-cta { display: inline-flex; margin-top: 10px; }
}

.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(18, 44, 75, 0.5);
	z-index: 998;
}

.nav-overlay.is-open { display: block; }

/* =========================================================
   4. HERO
   ========================================================= */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	color: var(--white);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 25, 45, 0.62);
}

.hero-content { position: relative; z-index: 2; max-width: 720px; }

.hero-content h1 {
	color: var(--white);
	font-size: 58px;
	margin-bottom: 20px;
}

.hero-content h1 span { color: var(--red); }

.hero-content p { font-size: 18px; color: #e8eef5; margin-bottom: 28px; }

.hero-small {
	position: relative;
	min-height: 46vh;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	color: var(--white);
}

.hero-small::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(18, 44, 75, 0.72);
}

.hero-small .hero-content { max-width: 760px; }
.hero-small h1 { color: var(--white); font-size: 44px; }
.hero-small h1 span { color: var(--red); }
.hero-small p { font-size: 17px; color: #e8eef5; }

@media (max-width: 768px) {
	.hero-content h1 { font-size: 38px; }
	.hero-small h1 { font-size: 30px; }
}

/* =========================================================
   5. STATS
   ========================================================= */
.stats-section { background: var(--bleu-clair); }

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.stat-item {
	background: var(--white);
	border-radius: var(--radius);
	padding: 32px 20px;
	text-align: center;
	box-shadow: var(--shadow);
}

.stat-item .icon-circle { margin: 0 auto 16px; }

.stat-number {
	font-size: 32px;
	font-weight: 700;
	color: var(--navy);
}

.stat-label { color: var(--text-gray); font-weight: 500; font-size: 15px; }

@media (max-width: 768px) {
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   6. ABOUT SECTION
   ========================================================= */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.about-media { position: relative; }

.about-media img.main-img {
	border-radius: var(--radius);
	width: 100%;
}

.about-media img.overlay-img {
	position: absolute;
	bottom: -30px;
	right: -30px;
	width: 45%;
	border: 6px solid var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.about-text .btn { margin-top: 10px; }

@media (max-width: 900px) {
	.about-grid { grid-template-columns: 1fr; gap: 40px; }
	.about-media { margin-bottom: 40px; }
	.about-media img.overlay-img { width: 40%; bottom: -20px; right: -15px; }
}

/* =========================================================
   7. SERVICES
   ========================================================= */
.services-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 24px;
}

.service-card {
	text-align: center;
	transition: transform 0.25s ease;
}

.service-card:hover { transform: translateY(-6px); }

.service-card .icon-circle { margin: 0 auto 20px; }

.service-card h3 { font-size: 18px; }

.services-cta { text-align: center; margin-top: 44px; }

@media (max-width: 992px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	.services-grid { grid-template-columns: 1fr; }
}

/* Detailed services page */
.services-grid-detailed {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

.service-card-detailed {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.service-card-detailed img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.service-card-detailed .service-body { padding: 28px; }

.service-card-detailed .icon-circle { margin-bottom: 16px; }

@media (max-width: 768px) {
	.services-grid-detailed { grid-template-columns: 1fr; }
}

/* =========================================================
   8. WHY CHOOSE US (navy section)
   ========================================================= */
.why-section {
	background: var(--navy);
	color: #dce6f0;
}

.why-section .section-label { color: var(--red); }
.why-section h2 { color: var(--white); }

.why-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.why-list li {
	display: flex;
	gap: 14px;
	margin-bottom: 18px;
	align-items: flex-start;
}

.why-list svg {
	width: 22px;
	height: 22px;
	stroke: var(--red);
	flex-shrink: 0;
	margin-top: 3px;
}

.why-media img { border-radius: var(--radius); }

@media (max-width: 900px) {
	.why-grid { grid-template-columns: 1fr; gap: 32px; }
	.why-media { order: -1; }
}

/* =========================================================
   9. CTA SECTION
   ========================================================= */
.cta-section {
	position: relative;
	background-size: cover;
	background-position: center;
	color: var(--white);
	text-align: center;
	padding: 100px 0;
}

.cta-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(12, 28, 48, 0.72);
}

.cta-section .container { position: relative; z-index: 2; }

.cta-section h2 { color: var(--white); font-size: 34px; max-width: 700px; margin: 0 auto 16px; }
.cta-section p { max-width: 600px; margin: 0 auto 30px; color: #e8eef5; }

/* =========================================================
   10. PROCESS (about page)
   ========================================================= */
.process-section { background: var(--navy); }
.process-section .section-label { color: var(--red); }
.process-section h2 { color: var(--white); }
.process-section .section-intro { color: #cfdcea; }

.process-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.process-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 34px 28px;
	box-shadow: var(--shadow);
}

.process-card .step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	font-weight: 700;
	margin-bottom: 16px;
}

@media (max-width: 900px) {
	.process-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   11. GOAL / AMBITIONS
   ========================================================= */
.goal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.goal-grid img { border-radius: var(--radius); }

.goal-block { margin-bottom: 30px; }
.goal-block:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
	.goal-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   12. EXPERTISE (services page)
   ========================================================= */
.expertise-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.expertise-media { position: relative; }

.expertise-media img { border-radius: var(--radius); }

.expertise-badge {
	position: absolute;
	bottom: 24px;
	left: 24px;
	background: var(--navy);
	color: var(--white);
	padding: 18px 26px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.expertise-badge .badge-number { font-size: 26px; font-weight: 700; display: block; }
.expertise-badge .badge-label { font-size: 13px; color: #cfdcea; }

@media (max-width: 900px) {
	.expertise-grid { grid-template-columns: 1fr; gap: 60px; }
}

/* =========================================================
   13. CONTACT PAGE
   ========================================================= */
.contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 50px;
	align-items: start;
}

.contact-info-item {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin-bottom: 30px;
}

.contact-info-item h4 { margin-bottom: 6px; font-size: 17px; }
.contact-info-item p { margin: 0; }
.contact-info-item a { color: var(--text-gray); }
.contact-info-item a:hover { color: var(--red); }

.contact-form-card { background: var(--white); }

@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   14. FOOTER
   ========================================================= */
.site-footer {
	background: var(--bleu-clair);
	color: var(--navy);
	padding: 64px 0 24px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer-col h4 {
	font-size: 16px;
	margin-bottom: 18px;
	color: var(--navy);
}

.footer-logo img { height: 50px; margin-bottom: 14px; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col a {
	color: var(--navy);
	opacity: 0.85;
	font-size: 14px;
	transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 1; color: var(--red); }

.footer-call {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 16px;
	color: var(--navy);
}

.footer-call svg { width: 20px; height: 20px; stroke: var(--red); }

.footer-bottom {
	border-top: 1px solid rgba(22, 55, 94, 0.15);
	padding-top: 20px;
	text-align: center;
	font-size: 13px;
	opacity: 0.75;
}

@media (max-width: 900px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	.footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   15. BACK TO TOP
   ========================================================= */
.back-to-top {
	position: fixed;
	bottom: 28px;
	right: 28px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.25s ease;
	z-index: 900;
	border: none;
	cursor: pointer;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.back-to-top svg { width: 20px; height: 20px; stroke: var(--white); }

/* =========================================================
   16. 404 PAGE
   ========================================================= */
.error-404-section {
	text-align: center;
	padding: 120px 24px;
}

.error-404-section .code {
	font-size: 100px;
	font-weight: 700;
	color: var(--navy);
	line-height: 1;
}

/* =========================================================
   17. RESPONSIVE TWEAKS
   ========================================================= */
@media (max-width: 768px) {
	.section-title { font-size: 28px; }
	.contact-grid, .about-grid, .why-grid, .expertise-grid, .goal-grid { gap: 32px; }
}

/* =========================================================
   FORMULAIRE WPFORMS (page contact)
   ========================================================= */
.contact-form-card .wpforms-container { margin: 0; }
.contact-form-card .wpforms-field { padding: 10px 0; }
.contact-form-card .wpforms-field-label {
	display: block;
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 8px;
	font-size: 15px;
}
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	color: #333;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(22, 55, 94, .12);
}
.contact-form-card textarea { min-height: 150px; resize: vertical; }
.contact-form-card .wpforms-submit,
.contact-form-card button[type="submit"] {
	display: inline-block;
	background: var(--red);
	color: #fff;
	border: none;
	border-radius: 50px;
	padding: 14px 40px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s, transform .2s;
	margin-top: 8px;
}
.contact-form-card .wpforms-submit:hover,
.contact-form-card button[type="submit"]:hover {
	background: #c81e26;
	transform: translateY(-2px);
}
.contact-form-card .wpforms-required-label { color: var(--red); }
