/* European Clinics Corporation — Luxury 2027 (Smile House inspired) */

:root {
	/* Paleta ECC — alinhada com theme.json */
	--ecc-night: #041424;
	--ecc-navy: #0a2540;
	--ecc-blue: #1a6b9a;
	--ecc-blue-bright: #5eb8e8;
	--ecc-blue-glow: #9dd4f2;
	--ecc-white: #ffffff;
	--ecc-cream: #f4f8fc;
	--ecc-surface: #eef4fa;
	--ecc-gold: #c9b07a;
	--ecc-muted: #4a6278;
	--ecc-blue-deep: var(--ecc-navy);
	--ecc-night-rgb: 4, 20, 36;
	--ecc-navy-rgb: 10, 37, 64;
	--ecc-blue-rgb: 26, 107, 154;
	--ecc-accent-rgb: 94, 184, 232;
	--ecc-gold-rgb: 201, 176, 122;
	--ecc-radius: 1.25rem;
	--ecc-radius-sm: 0.75rem;
	--ecc-shadow: 0 24px 60px rgba(var(--ecc-night-rgb), 0.12);
	--ecc-shadow-lg: 0 40px 90px rgba(var(--ecc-night-rgb), 0.2);
	--ecc-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ecc-header-h: 6.75rem;
	--ecc-container-max: 1320px;
	--ecc-container: min(var(--ecc-container-max), 100%);
	--ecc-gutter: 1.25rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: var(--ecc-white);
	color: var(--ecc-night);
	font-family: "Outfit", system-ui, -apple-system, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.65;
	overflow-x: hidden;
}

/* Inner pages: header sempre legível */
body.ecc-inner-page .ecc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(4, 20, 36, 0.08);
	box-shadow: 0 4px 24px rgba(4, 20, 36, 0.06);
}

body.ecc-inner-page .ecc-header .ecc-primary-nav__link,
body.ecc-inner-page .ecc-header .ecc-primary-nav__subtoggle,
body.ecc-inner-page .ecc-header .ecc-btn--ghost {
	color: var(--ecc-night);
}

body.ecc-inner-page .ecc-header .ecc-btn--ghost {
	border-color: rgba(4, 20, 36, 0.18);
}


body.ecc-inner-page main {
	padding-top: 0;
}

body.ecc-has-hero .wp-site-blocks {
	padding-top: 0;
	margin-top: 0;
}

body.ecc-has-hero .wp-site-blocks > main,
body.ecc-has-hero main.wp-block-group {
	margin-block-start: 0 !important;
	padding-top: 0 !important;
}

body.ecc-has-hero main.is-layout-flow > :first-child,
body.ecc-has-hero main > .ecc-hero:first-child {
	margin-block-start: 0 !important;
}

body.ecc-has-hero .ecc-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 120;
	margin: 0 !important;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background 0.5s var(--ecc-ease), border-color 0.5s var(--ecc-ease), box-shadow 0.5s var(--ecc-ease);
}

/* Barra de admin WP: hero continua até ao topo do ecrã */
body.admin-bar.ecc-has-hero {
	padding-top: 0 !important;
}

body.admin-bar.ecc-has-hero .ecc-header {
	top: 32px;
}

body.admin-bar.ecc-has-hero .ecc-hero {
	margin-top: -32px;
	padding-top: calc(var(--ecc-header-h) + 3rem + 32px);
}

@media (max-width: 782px) {
	body.admin-bar.ecc-has-hero .ecc-header {
		top: 46px;
	}

	body.admin-bar.ecc-has-hero .ecc-hero {
		margin-top: -46px;
		padding-top: calc(var(--ecc-header-h) + 3rem + 46px);
	}
}

body.ecc-has-hero .ecc-header .ecc-primary-nav__link,
body.ecc-has-hero .ecc-header .ecc-primary-nav__subtoggle,
body.ecc-has-hero .ecc-header .ecc-btn--ghost {
	color: rgba(255, 255, 255, 0.92);
}

body.ecc-has-hero .ecc-header .ecc-btn--ghost {
	border-color: rgba(255, 255, 255, 0.35);
}

body.ecc-has-hero .ecc-header.is-scrolled {
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(18px) saturate(1.4);
	border-bottom-color: rgba(4, 20, 36, 0.08);
	box-shadow: 0 8px 32px rgba(4, 20, 36, 0.08);
}

body.ecc-has-hero .ecc-header.is-scrolled .ecc-primary-nav__link,
body.ecc-has-hero .ecc-header.is-scrolled .ecc-primary-nav__subtoggle,
body.ecc-has-hero .ecc-header.is-scrolled .ecc-btn--ghost {
	color: var(--ecc-night);
}

body.ecc-has-hero .ecc-header.is-scrolled .ecc-btn--ghost {
	border-color: rgba(4, 20, 36, 0.15);
}

/* Páginas interiores: hero colado ao menu (sem faixa branca) */
body.ecc-inner-page.ecc-has-hero .wp-site-blocks {
	padding-top: 0;
	margin-top: 0;
}

body.ecc-inner-page.ecc-has-hero .wp-site-blocks > main,
body.ecc-inner-page.ecc-has-hero main.wp-block-group {
	margin-block-start: 0 !important;
	padding-top: 0 !important;
}

body.ecc-inner-page.ecc-has-hero main > .ecc-page-hero:first-child {
	margin-block-start: 0 !important;
}

body.ecc-inner-page.ecc-has-hero .ecc-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 120;
	margin: 0 !important;
	background: transparent;
	border-bottom-color: transparent;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

body.ecc-inner-page.ecc-has-hero .ecc-header.is-scrolled {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(4, 20, 36, 0.08);
	box-shadow: 0 8px 32px rgba(var(--ecc-night-rgb), 0.08);
}

body.ecc-inner-page.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-primary-nav__link,
body.ecc-inner-page.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-primary-nav__subtoggle,
body.ecc-inner-page.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-btn--ghost {
	color: rgba(255, 255, 255, 0.92);
}

body.ecc-inner-page.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-btn--ghost {
	border-color: rgba(255, 255, 255, 0.35);
}

body.admin-bar.ecc-inner-page.ecc-has-hero {
	padding-top: 0 !important;
}

body.admin-bar.ecc-inner-page.ecc-has-hero .ecc-header {
	top: 32px;
}

body.admin-bar.ecc-inner-page.ecc-has-hero .ecc-page-hero--media {
	padding-top: calc(var(--ecc-header-h) + 0.85rem + 32px);
}

@media (max-width: 782px) {
	body.admin-bar.ecc-inner-page.ecc-has-hero .ecc-header {
		top: 46px;
	}

	body.admin-bar.ecc-inner-page.ecc-has-hero .ecc-page-hero--media {
		padding-top: calc(var(--ecc-header-h) + 0.85rem + 46px);
	}
}

.ecc-container {
	width: 100%;
	max-width: var(--ecc-container-max);
	margin-inline: auto;
	padding-inline: var(--ecc-gutter);
}

/* ── Header ── */
.ecc-header {
	padding-block: 0.85rem;
}

.ecc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	max-width: var(--ecc-container-max);
	margin-inline: auto;
	padding-inline: var(--ecc-gutter);
}

/* Logo horizontal (SVG 30 anos — azul + branco) */
.ecc-logo {
	display: inline-grid;
	text-decoration: none;
	line-height: 0;
	transition: opacity 0.3s var(--ecc-ease);
}

.ecc-logo:hover {
	opacity: 0.92;
}

.ecc-header__inner > p:has(.ecc-logo),
.ecc-header__inner > .wp-block-html:has(.ecc-logo),
.ecc-header__inner > p:has(.ecc-primary-nav),
.ecc-header__inner > .wp-block-html:has(.ecc-primary-nav) {
	margin: 0;
	line-height: 0;
}

.ecc-logo__img {
	grid-area: 1 / 1;
	height: clamp(4.15rem, 8.6vw, 5.95rem);
	width: auto;
	max-width: min(630px, 84vw);
	display: none;
}

.ecc-logo__img--color {
	display: block;
}

.ecc-logo--footer {
	margin-bottom: 0.75rem;
}

.ecc-logo--footer .ecc-logo__img {
	height: clamp(3.35rem, 7vw, 4.75rem);
	max-width: min(520px, 90vw);
}

.ecc-logo--footer .ecc-logo__img--color {
	display: none;
}

.ecc-logo--footer .ecc-logo__img--white {
	display: block;
}

body.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-logo__img--color {
	display: none;
}

body.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-logo__img--white {
	display: block;
	filter: drop-shadow(0 2px 10px rgba(var(--ecc-night-rgb), 0.2));
}

body.ecc-has-hero .ecc-header.is-scrolled .ecc-logo__img--white {
	display: none;
}

body.ecc-has-hero .ecc-header.is-scrolled .ecc-logo__img--color {
	display: block;
}

.ecc-header__actions {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
}

.ecc-primary-nav__link {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ecc-night);
	transition: color 0.3s var(--ecc-ease), opacity 0.3s;
}

.ecc-primary-nav__link:hover {
	opacity: 0.75;
}

body.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-primary-nav__link,
body.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-primary-nav__subtoggle,
body.ecc-inner-page.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-primary-nav__link,
body.ecc-inner-page.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-primary-nav__subtoggle {
	color: rgba(255, 255, 255, 0.92);
}

body.ecc-has-hero .ecc-header.is-scrolled .ecc-primary-nav__link,
body.ecc-has-hero .ecc-header.is-scrolled .ecc-primary-nav__subtoggle,
body.ecc-inner-page .ecc-primary-nav__link,
body.ecc-inner-page .ecc-primary-nav__subtoggle {
	color: var(--ecc-night);
}

/* ── Buttons ── */
.ecc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.95rem 1.85rem;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--body, "Outfit", sans-serif);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.35s var(--ecc-ease), box-shadow 0.35s var(--ecc-ease), background 0.35s, color 0.35s, border-color 0.35s;
}

.ecc-btn:hover {
	transform: translateY(-2px);
}

.ecc-btn--primary {
	background: linear-gradient(135deg, var(--ecc-blue) 0%, var(--ecc-blue-bright) 100%);
	color: var(--ecc-white);
	box-shadow: 0 12px 32px rgba(26, 107, 154, 0.35);
}

.ecc-btn--primary:hover {
	box-shadow: 0 18px 40px rgba(26, 107, 154, 0.45);
}

.ecc-btn--ghost {
	background: transparent;
	color: var(--ecc-white);
	border-color: rgba(255, 255, 255, 0.45);
}

.ecc-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

.ecc-btn--outline {
	background: transparent;
	color: var(--ecc-blue);
	border-color: rgba(26, 107, 154, 0.35);
}

.ecc-btn--outline:hover {
	background: rgba(94, 184, 232, 0.1);
}

.ecc-btn--sm {
	padding: 0.65rem 1.15rem;
	font-size: 0.68rem;
}

.wp-block-button__link.ecc-btn {
	color: inherit;
}

/* ── Hero ── */
.ecc-hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	align-items: end;
	margin: 0;
	padding: calc(var(--ecc-header-h) + 3rem) 0 4rem;
	overflow: hidden;
	color: var(--ecc-white);
}

body.ecc-has-hero .ecc-hero {
	width: 100%;
	max-width: none;
}

.ecc-hero__bg {
	position: absolute;
	inset: 0;
	top: 0;
	background:
		linear-gradient(115deg, rgba(4, 20, 36, 0.92) 0%, rgba(10, 37, 64, 0.75) 45%, rgba(26, 107, 154, 0.35) 100%),
		url("../images/hero-clinic.jpg") center / cover no-repeat;
	transform: scale(1.06);
	animation: ecc-hero-zoom 18s var(--ecc-ease) infinite alternate;
}

@keyframes ecc-hero-zoom {
	from { transform: scale(1.06); }
	to { transform: scale(1.12); }
}

.ecc-hero__grain {
	position: absolute;
	inset: 0;
	opacity: 0.04;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	pointer-events: none;
}

.ecc-hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
}

.ecc-hero__glow--1 {
	width: 420px;
	height: 420px;
	top: 10%;
	right: -8%;
	background: rgba(94, 184, 232, 0.25);
	animation: ecc-float 8s ease-in-out infinite;
}

.ecc-hero__glow--2 {
	width: 300px;
	height: 300px;
	bottom: 15%;
	left: -5%;
	background: rgba(201, 176, 122, 0.15);
	animation: ecc-float 10s ease-in-out infinite reverse;
}

@keyframes ecc-float {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(20px, -15px); }
}

.ecc-hero__content {
	position: relative;
	z-index: 2;
	max-width: 52rem;
}

.ecc-eyebrow {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ecc-blue-glow);
	margin: 0 0 1.25rem;
}

.ecc-eyebrow--dark {
	color: var(--ecc-blue);
}

.ecc-hero__title {
	font-family: var(--wp--preset--font-family--sans, "Outfit", system-ui, sans-serif);
	font-size: clamp(2.75rem, 6.5vw, 4.75rem);
	font-weight: 500;
	line-height: 1.05;
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
	color: var(--ecc-white) !important;
}

.ecc-accent,
.ecc-hero__title .ecc-accent,
.ecc-section-title em,
.ecc-intro__title em,
.ecc-contact__title em {
	font-style: normal;
	color: var(--ecc-blue-glow);
}

.ecc-hero__lead {
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.82);
	max-width: 36rem;
	margin: 0 0 2rem;
}

.ecc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.ecc-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ecc-hero__stats li {
	display: grid;
	gap: 0.25rem;
}

.ecc-hero__stats strong {
	font-family: var(--wp--preset--font-family--sans, serif);
	font-size: 2rem;
	font-weight: 500;
	color: var(--ecc-blue-glow);
	line-height: 1;
}

.ecc-hero__stats span {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.ecc-hero__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	width: 28px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	z-index: 2;
	text-decoration: none;
}

.ecc-hero__scroll span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	background: var(--ecc-blue-glow);
	border-radius: 999px;
	animation: ecc-scroll-dot 1.8s ease-in-out infinite;
}

@keyframes ecc-scroll-dot {
	0%, 100% { opacity: 1; transform: translateY(0); }
	50% { opacity: 0.3; transform: translateY(12px); }
}

/* ── Reveal animations ── */
.ecc-reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.9s var(--ecc-ease), transform 0.9s var(--ecc-ease);
}

.ecc-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ecc-reveal:nth-child(2) { transition-delay: 0.08s; }
.ecc-reveal:nth-child(3) { transition-delay: 0.16s; }
.ecc-reveal:nth-child(4) { transition-delay: 0.24s; }
.ecc-reveal:nth-child(5) { transition-delay: 0.32s; }

/* ── Intro section ── */
.ecc-intro {
	padding: clamp(4rem, 10vw, 7rem) 0;
	background: var(--ecc-white);
}

.ecc-intro__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.ecc-intro__title {
	font-family: var(--wp--preset--font-family--sans, serif);
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 0 0 1rem;
	line-height: 1.1;
}

.ecc-intro__text {
	color: var(--ecc-muted);
	font-size: 1.05rem;
	line-height: 1.8;
	margin: 0;
}

.ecc-intro__cards {
	display: grid;
	gap: 1rem;
}

.ecc-pill-card {
	padding: 1.5rem 1.75rem;
	background: linear-gradient(135deg, var(--ecc-cream) 0%, var(--ecc-white) 100%);
	border: 1px solid rgba(26, 107, 154, 0.1);
	border-radius: var(--ecc-radius);
	transition: transform 0.4s var(--ecc-ease), box-shadow 0.4s var(--ecc-ease), border-color 0.4s;
}

.ecc-pill-card:hover {
	transform: translateX(8px);
	box-shadow: var(--ecc-shadow);
	border-color: rgba(94, 184, 232, 0.35);
}

.ecc-pill-card__num {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--ecc-blue);
	margin-bottom: 0.5rem;
}

.ecc-pill-card h3 {
	font-family: var(--wp--preset--font-family--sans, serif);
	font-size: 1.35rem;
	margin: 0 0 0.35rem;
	font-weight: 500;
}

.ecc-pill-card p {
	margin: 0;
	color: var(--ecc-muted);
	font-size: 0.92rem;
	line-height: 1.65;
}

/* ── Sections ── */
.ecc-section {
	padding: clamp(4rem, 10vw, 6.5rem) 0;
}

.ecc-section--light {
	background: var(--ecc-white);
}

.ecc-section--cream {
	background: var(--ecc-cream);
}

.ecc-section--navy {
	background: linear-gradient(165deg, var(--ecc-night) 0%, var(--ecc-navy) 100%);
	color: var(--ecc-white);
}

.ecc-section-title {
	font-family: var(--wp--preset--font-family--sans, serif);
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 500;
	margin: 0 0 2rem;
	line-height: 1.1;
	text-align: center;
}

.ecc-section-title--light em {
	color: var(--ecc-blue-glow);
}

.ecc-section-lead {
	text-align: center;
	max-width: 32rem;
	margin: -1rem auto 2.5rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.05rem;
}

.ecc-section__cta {
	text-align: center;
	margin-top: 2.5rem;
}

/* Cabeçalho de secção (título + subtítulo) */
.ecc-section-head {
	text-align: center;
	margin-bottom: 1.5rem;
}

.ecc-section-head .ecc-eyebrow {
	margin-bottom: 0.65rem;
}

.ecc-section-head .ecc-section-title {
	margin: 0 0 0.4rem;
}

.ecc-section-subtitle {
	margin: 0;
	font-size: clamp(1rem, 1.8vw, 1.125rem);
	font-weight: 500;
	line-height: 1.4;
	color: var(--ecc-muted);
	letter-spacing: 0.02em;
}

.ecc-section--cases .ecc-section-head {
	margin-bottom: 1.25rem;
}

.ecc-section--cases .ecc-gallery--cases {
	margin-top: 0;
}

/* ── Cards grid ── */
.ecc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
}

.ecc-grid--specialties {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

.ecc-grid--specialties .ecc-card__title {
	font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.35rem);
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.01em;
	padding: 1rem 0.9rem;
	padding-top: 2.65rem;
}

.ecc-card__link-wrap {
	display: block;
	position: relative;
	color: inherit;
	text-decoration: none;
}

.ecc-card {
	position: relative;
	background: var(--ecc-white);
	border-radius: var(--ecc-radius);
	overflow: hidden;
	border: 1px solid rgba(26, 107, 154, 0.08);
	box-shadow: var(--ecc-shadow);
	transition: transform 0.5s var(--ecc-ease), box-shadow 0.5s var(--ecc-ease);
}

.ecc-section--navy .ecc-card {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
}

.ecc-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 32%, rgba(4, 20, 36, 0.88) 100%);
	opacity: 1;
	pointer-events: none;
	z-index: 1;
}

.ecc-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--ecc-shadow-lg);
}

.ecc-card__media {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.ecc-card--team .ecc-card__media {
	aspect-ratio: 3 / 4;
}

.ecc-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ecc-ease);
}

.ecc-card:hover .ecc-card__media img {
	transform: scale(1.08);
}

.ecc-card__title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	margin: 0;
	padding: 1.25rem 1.35rem;
	font-family: var(--wp--preset--font-family--sans, serif);
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--ecc-white) !important;
	text-shadow: 0 2px 16px rgba(var(--ecc-night-rgb), 0.45);
	transform: translateY(0);
	transition: transform 0.4s var(--ecc-ease);
}

.ecc-card__title a {
	color: inherit;
	text-decoration: none;
}

.ecc-card__meta {
	position: absolute;
	bottom: 3.5rem;
	left: 1.35rem;
	right: 1.35rem;
	z-index: 2;
	margin: 0;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ecc-blue-glow);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.4s var(--ecc-ease), transform 0.4s var(--ecc-ease);
}

.ecc-card:hover .ecc-card__meta {
	opacity: 1;
	transform: translateY(0);
}

.ecc-card__excerpt {
	display: none;
}

.ecc-card__link {
	position: absolute;
	bottom: 1rem;
	right: 1.25rem;
	z-index: 3;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ecc-blue-glow);
	text-decoration: none;
	opacity: 0;
	transition: opacity 0.35s;
}

.ecc-card:hover .ecc-card__link {
	opacity: 1;
}

.ecc-card--specialty .ecc-card__title,
.ecc-card--team .ecc-card__title {
	background: linear-gradient(180deg, transparent 0%, rgba(4, 20, 36, 0.94) 68%);
	padding-top: 3rem;
}

/* Texto branco sobre fotos / fundos escuros (override theme.json) */
.ecc-hero :is(h1, h2, h3, h4, .wp-block-heading, .ecc-hero__title),
.ecc-page-hero :is(h1, .wp-block-post-title, .ecc-page-hero__title),
.ecc-contact-wrap :is(h2, h3, .ecc-contact__title),
.ecc-section--navy :is(.ecc-section-title, h2, h3):not(.ecc-card h3) {
	color: var(--ecc-white) !important;
}

.ecc-hero .ecc-accent,
.ecc-page-hero .ecc-accent {
	color: var(--ecc-blue-glow) !important;
}

.ecc-card :is(.ecc-card__title, .ecc-card__title a, h3.wp-block-heading) {
	color: var(--ecc-white) !important;
}

.ecc-card .ecc-card__meta {
	color: var(--ecc-blue-glow) !important;
}

.ecc-card .ecc-card__link {
	color: var(--ecc-white) !important;
	opacity: 0.85;
}

.ecc-card:hover .ecc-card__link {
	opacity: 1;
}

.ecc-section--navy .ecc-section-title,
.ecc-section--navy .ecc-eyebrow:not(.ecc-eyebrow--dark) {
	color: var(--ecc-white) !important;
}

.ecc-section--navy .ecc-section-lead {
	color: rgba(255, 255, 255, 0.78) !important;
}

.ecc-prose .wp-block-cover,
.ecc-prose .wp-block-cover .wp-block-cover__inner-container {
	color: var(--ecc-white);
}

.ecc-prose .wp-block-cover :is(h1, h2, h3, h4, p, .wp-block-heading) {
	color: var(--ecc-white) !important;
}

/* ── Team section (homepage — compact) ── */
.ecc-section--team-home {
	padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.ecc-section--team-home .ecc-section-title {
	margin-bottom: 0.5rem;
	font-size: clamp(1.65rem, 3.5vw, 2.35rem);
}

.ecc-section-lead--compact {
	margin: 0 auto 1.25rem;
	font-size: 0.95rem;
}

.ecc-section__cta--compact {
	margin-top: 1.25rem;
}

/* ── Team carousel (~5 cards visíveis em desktop) ── */
.ecc-team-carousel {
	--ecc-carousel-gap: 0.75rem;
	--ecc-carousel-slide: min(78vw, 13.5rem);
	margin: 0;
}

.ecc-team-carousel__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.ecc-team-carousel__hint {
	margin: 0;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.45);
}

.ecc-team-carousel__nav {
	display: flex;
	gap: 0.5rem;
	flex-shrink: 0;
}

.ecc-team-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--ecc-white);
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.25s var(--ecc-ease), border-color 0.25s, opacity 0.25s;
}

.ecc-team-carousel__btn:hover:not(:disabled) {
	background: rgba(94, 184, 232, 0.2);
	border-color: rgba(157, 212, 242, 0.5);
}

.ecc-team-carousel__btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.ecc-team-carousel__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	padding-bottom: 0.25rem;
}

.ecc-team-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.ecc-team-carousel__viewport:focus-visible {
	outline: 2px solid var(--ecc-blue-glow);
	outline-offset: 4px;
	border-radius: var(--ecc-radius-sm);
}

.ecc-team-carousel__track {
	display: flex;
	gap: var(--ecc-carousel-gap);
	padding-inline: 2px;
}

.ecc-team-carousel__track .ecc-card--team-compact {
	flex: 0 0 var(--ecc-carousel-slide);
	scroll-snap-align: start;
	scroll-snap-stop: always;
	max-width: var(--ecc-carousel-slide);
}

.ecc-team-carousel .ecc-card--team-compact {
	border-radius: var(--ecc-radius-sm);
	box-shadow: 0 8px 20px rgba(var(--ecc-night-rgb), 0.18);
}

.ecc-team-carousel .ecc-card--team-compact:hover {
	transform: translateY(-3px);
}

.ecc-team-carousel .ecc-card--team-compact .ecc-card__media {
	aspect-ratio: 1 / 1.12;
	height: auto;
}

.ecc-team-carousel .ecc-card--team-compact .ecc-card__title {
	padding: 0.55rem 0.6rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.25;
	padding-top: 1.35rem;
}

.ecc-team-carousel .ecc-card--team-compact .ecc-card__meta {
	position: absolute;
	bottom: 2.15rem;
	left: 0.6rem;
	right: 0.6rem;
	opacity: 1;
	transform: none;
	font-size: 0.5625rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ecc-team-carousel .ecc-card--team-compact .ecc-card__link {
	display: none;
}

/* Assistentes — corpo clínico */
.ecc-assistants-section {
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

.ecc-assistants-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1rem;
	margin-top: 1.5rem;
}

.ecc-assistant-card {
	background: var(--ecc-white);
	border: 1px solid rgba(26, 107, 154, 0.12);
	border-radius: var(--ecc-radius);
	padding: 1.25rem 1rem;
	text-align: center;
	box-shadow: 0 8px 24px rgba(var(--ecc-night-rgb), 0.06);
}

.ecc-assistant-card__media {
	display: block;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 auto 0.75rem;
	border-radius: 999px;
	overflow: hidden;
}

.ecc-assistant-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ecc-assistant-card__title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ecc-night);
	line-height: 1.3;
}

.ecc-assistant-card__role {
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	color: var(--ecc-blue);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ecc-team-carousel__dots {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.85rem;
}

.ecc-team-carousel__dot {
	position: relative;
	width: 0.4rem;
	height: 0.4rem;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.28);
	cursor: pointer;
	transition: background 0.25s, transform 0.25s;
}

.ecc-team-carousel__dot::after {
	content: "";
	position: absolute;
	inset: -0.55rem;
}

.ecc-team-carousel__dot.is-active {
	background: var(--ecc-blue-glow);
	transform: scale(1.15);
}

.ecc-team-carousel__dot:focus-visible {
	outline: 2px solid var(--ecc-blue-glow);
	outline-offset: 2px;
}

@media (min-width: 600px) {
	.ecc-team-carousel {
		--ecc-carousel-slide: calc((100% - (var(--ecc-carousel-gap) * 1)) / 2);
	}
}

@media (min-width: 782px) {
	.ecc-team-carousel {
		--ecc-carousel-slide: calc((100% - (var(--ecc-carousel-gap) * 2)) / 3);
	}
}

@media (min-width: 900px) {
	.ecc-team-carousel {
		--ecc-carousel-slide: calc((100% - (var(--ecc-carousel-gap) * 4)) / 5);
	}

	.ecc-team-carousel__hint {
		display: none;
	}
}

/* Legacy banner (optional elsewhere) */
.ecc-team-banner {
	min-height: 200px;
	margin: 0 0 2rem;
	border-radius: var(--ecc-radius);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ── Gallery ── */
.ecc-gallery--cases {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem;
}

.ecc-gallery__figure {
	margin: 0;
	border-radius: var(--ecc-radius-sm);
	overflow: hidden;
	box-shadow: var(--ecc-shadow);
	transition: transform 0.45s var(--ecc-ease);
}

.ecc-gallery__figure:hover {
	transform: scale(1.02);
}

.ecc-gallery__item {
	display: block;
	width: 100%;
	height: auto;
}

/* ── Contact ── */
.ecc-contact-wrap {
	background: linear-gradient(165deg, var(--ecc-night) 0%, var(--ecc-navy) 100%);
	color: var(--ecc-white);
}

.ecc-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	padding: clamp(2rem, 5vw, 3.5rem);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: calc(var(--ecc-radius) * 1.2);
	backdrop-filter: blur(12px);
}

.ecc-contact__title {
	font-family: var(--wp--preset--font-family--sans, serif);
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	margin: 0 0 1rem;
	line-height: 1.1;
	color: var(--ecc-white) !important;
}

.ecc-contact__title em {
	color: var(--ecc-blue-glow);
}

.ecc-contact__text {
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.75;
	margin: 0 0 1.5rem;
}

.ecc-contact__phones {
	display: grid;
	gap: 0.35rem;
	margin-bottom: 1.5rem;
}

.ecc-contact__phones a {
	font-family: var(--wp--preset--font-family--sans, serif);
	font-size: 1.5rem;
	color: var(--ecc-white);
	text-decoration: none;
	transition: color 0.3s;
}

.ecc-contact__phones a:hover {
	color: var(--ecc-blue-glow);
}

.ecc-contact__form-panel {
	background: rgba(255, 255, 255, 0.06);
	border-radius: var(--ecc-radius);
	padding: 1.75rem;
}

.ecc-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.ecc-form-alert {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: var(--ecc-radius-sm);
	font-size: 0.9rem;
	line-height: 1.5;
}

.ecc-form-alert--success {
	background: rgba(26, 107, 154, 0.15);
	border: 1px solid rgba(26, 107, 154, 0.28);
	color: var(--ecc-navy);
}

.ecc-form-alert--error {
	background: rgba(180, 48, 48, 0.1);
	border: 1px solid rgba(180, 48, 48, 0.25);
	color: #7a1f1f;
}

.ecc-contact-wrap .ecc-form-alert--success {
	background: rgba(94, 184, 232, 0.18);
	border-color: rgba(157, 212, 242, 0.35);
	color: var(--ecc-white);
}

.ecc-contact-wrap .ecc-form-alert--error {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 180, 180, 0.35);
	color: #ffe8e8;
}

.ecc-form {
	display: grid;
	gap: 1rem;
}

.ecc-form label {
	display: grid;
	gap: 0.4rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

.ecc-form input,
.ecc-form textarea {
	width: 100%;
	padding: 0.95rem 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--ecc-radius-sm);
	background: rgba(255, 255, 255, 0.06);
	color: var(--ecc-white);
	font: inherit;
	transition: border-color 0.3s, background 0.3s;
}

.ecc-form input:focus,
.ecc-form textarea:focus {
	outline: none;
	border-color: var(--ecc-blue-bright);
	background: rgba(255, 255, 255, 0.1);
}

.ecc-form textarea {
	border-radius: var(--ecc-radius-sm);
	resize: vertical;
	min-height: 120px;
}

/* ── Social ── */
.ecc-social-strip {
	text-align: center;
	padding-bottom: 2rem;
}

.ecc-social-icons {
	justify-content: center;
	gap: 1rem !important;
}

.ecc-social-icons .wp-block-social-link a {
	background: var(--ecc-cream) !important;
	color: var(--ecc-blue) !important;
	transition: transform 0.35s var(--ecc-ease), background 0.35s;
}

.ecc-social-icons .wp-block-social-link a:hover {
	transform: translateY(-4px);
	background: var(--ecc-blue) !important;
	color: var(--ecc-white) !important;
}

/* ── Footer (modern) ── */
.ecc-footer {
	background: linear-gradient(180deg, var(--ecc-night) 0%, var(--ecc-navy) 100%);
	color: rgba(255, 255, 255, 0.88);
	margin-top: 0;
}

.ecc-footer__top {
	padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ecc-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}

.ecc-footer__grid > .wp-block-group,
.ecc-footer__grid > .wp-block-html {
	margin: 0;
	min-width: 0;
}

.ecc-footer__grid > .wp-block-html > nav,
.ecc-footer__grid > .wp-block-html > .ecc-footer__contact,
.ecc-footer__grid > .wp-block-html > .ecc-footer__cta {
	display: block;
}


.ecc-footer__tagline {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.62);
	max-width: 28ch;
}

.ecc-footer__label {
	margin: 0 0 0.85rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ecc-blue-glow);
}

.ecc-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ecc-footer__social a {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.9);
	transition: background 0.3s var(--ecc-ease), border-color 0.3s, transform 0.3s;
}

.ecc-footer__social a:hover {
	background: rgba(94, 184, 232, 0.15);
	border-color: rgba(157, 212, 242, 0.45);
	transform: translateY(-2px);
}

.ecc-footer__nav ul,
.ecc-footer__contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.ecc-footer__nav a,
.ecc-footer__contact-list a,
.ecc-footer__map-link {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: color 0.25s;
}

.ecc-footer__nav a:hover,
.ecc-footer__contact-list a:hover,
.ecc-footer__map-link:hover {
	color: var(--ecc-blue-glow);
}

.ecc-footer__hours,
.ecc-footer__address {
	margin: 0.75rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.62);
}

.ecc-footer__cta-text {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.62);
}

.ecc-footer__cta-actions {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.ecc-footer .ecc-btn--ghost {
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--ecc-white);
}

.ecc-footer .ecc-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

.ecc-footer__map-wrap {
	padding: 0 0 clamp(2rem, 4vw, 2.5rem);
}

.ecc-footer__map-card {
	display: grid;
	grid-template-columns: minmax(200px, 280px) 1fr;
	gap: 0;
	border-radius: calc(var(--ecc-radius) * 1.1);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(12px);
	box-shadow: 0 24px 60px rgba(var(--ecc-night-rgb), 0.25);
}

.ecc-footer__map-info {
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: rgba(var(--ecc-navy-rgb), 0.55);
}

.ecc-footer__map-link {
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ecc-footer__map {
	min-height: 260px;
}

.ecc-footer__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 260px;
	border: 0;
	filter: grayscale(0.25) contrast(1.05);
}

.ecc-footer__bottom {
	padding: 1.25rem 0 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ecc-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.ecc-footer__copy,
.ecc-footer__legal,
.ecc-footer__credit {
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.45);
}

.ecc-footer__legal {
	letter-spacing: 0.04em;
}

.ecc-footer__credit a {
	color: rgba(255, 255, 255, 0.72);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.25s var(--ecc-ease);
}

.ecc-footer__credit a:hover {
	color: var(--ecc-blue-glow);
}

/* Hide duplicate social section before footer if present */
.ecc-social-strip {
	border-bottom: 1px solid rgba(4, 20, 36, 0.06);
}

/* ── Sticky CTA (Smile House style) ── */
.ecc-sticky-cta {
	position: fixed;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 90;
	display: grid;
	gap: 0.65rem;
}

.ecc-sticky-cta__item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.1rem;
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ecc-white);
	box-shadow: 0 12px 32px rgba(4, 20, 36, 0.25);
	transition: transform 0.35s var(--ecc-ease), box-shadow 0.35s;
	writing-mode: horizontal-tb;
}

.ecc-sticky-cta__item:hover {
	transform: translateX(-4px) scale(1.04);
	box-shadow: 0 16px 40px rgba(4, 20, 36, 0.35);
}

.ecc-sticky-cta__item--primary {
	background: linear-gradient(135deg, var(--ecc-blue), var(--ecc-blue-bright));
}

.ecc-sticky-cta__item--wa {
	background: linear-gradient(135deg, var(--ecc-navy), var(--ecc-blue));
	border: 1px solid rgba(var(--ecc-gold-rgb), 0.35);
}

/* Hide old floating */
.ecc-floating-actions {
	display: none !important;
}

/* ── Legacy cover cleanup ── */
.wp-block-cover.ecc-hero {
	display: none;
}

main {
	padding-top: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.ecc-intro__grid {
		grid-template-columns: 1fr;
	}

	.ecc-contact {
		grid-template-columns: 1fr;
	}

	.ecc-sticky-cta {
		top: auto;
		bottom: 1.25rem;
		right: 1rem;
		transform: none;
		flex-direction: row;
		display: flex;
	}
}

@media (max-width: 1024px) {
	.ecc-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ecc-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {
	.ecc-header__inner {
		display: flex !important;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-start !important;
		gap: 0.5rem;
	}

	.ecc-header__inner > p:has(.ecc-logo),
	.ecc-header__inner > .wp-block-html:has(.ecc-logo) {
		flex: 1 1 0;
		min-width: 0;
		margin-right: 0;
	}

	.ecc-primary-nav,
	.ecc-header__inner > nav.ecc-primary-nav,
	.ecc-header__inner > p:has(.ecc-primary-nav),
	.ecc-header__inner > .wp-block-html:has(.ecc-primary-nav) {
		flex: 0 0 auto;
		margin: 0 0 0 auto;
	}

	.ecc-header__actions {
		flex: 0 0 auto;
		margin-left: 0.5rem;
	}

	.ecc-header__actions .ecc-btn--ghost {
		display: none;
	}

	/* Nunca mostrar submenu desktop na barra do telemóvel */
	.ecc-header .ecc-primary-nav__desktop,
	.ecc-header .ecc-primary-nav__list,
	.ecc-header .ecc-primary-nav__submenu {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.ecc-hero__stats {
		gap: 1.25rem;
	}

	.ecc-footer__grid {
		grid-template-columns: 1fr;
	}

	.ecc-footer__map-card {
		grid-template-columns: 1fr;
	}

	.ecc-footer__cta-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.ecc-grid {
		grid-template-columns: 1fr;
	}
}

/* ── Inner page hero (compacto + imagem) ── */
.ecc-page-hero {
	position: relative;
	overflow: hidden;
	color: var(--ecc-white);
	background: var(--ecc-night);
}

.ecc-page-hero--media {
	min-height: clamp(11.5rem, 24vh, 14.5rem);
	padding: calc(var(--ecc-header-h) + 0.85rem) 0 1.25rem;
}

.ecc-page-hero__media {
	position: absolute;
	inset: 0;
	background-color: var(--ecc-navy);
	background-image: linear-gradient(120deg, rgba(var(--ecc-night-rgb), 0.9), rgba(var(--ecc-navy-rgb), 0.78)),
		url("../images/hero-clinic.jpg");
	background-size: cover;
	background-position: center;
}

.ecc-page-hero--media .ecc-page-hero__inner,
.ecc-page-hero--media .wp-block-group.ecc-page-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: min(1320px, calc(100% - (var(--ecc-gutter) * 2)));
	margin-inline: auto;
	padding-inline: var(--ecc-gutter);
}

.ecc-page-hero__title,
.ecc-page-hero .wp-block-post-title.ecc-page-hero__title {
	font-size: clamp(1.5rem, 3.2vw, 2.15rem);
	font-weight: 600;
	line-height: 1.15;
	margin: 0;
	letter-spacing: -0.02em;
	color: var(--ecc-white) !important;
}

.ecc-page-hero__lead,
.ecc-page-hero__meta {
	font-size: clamp(0.9375rem, 1.6vw, 1.02rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.84);
	margin: 0.45rem 0 0;
	max-width: 34rem;
}

.ecc-eyebrow--hero {
	color: var(--ecc-blue-glow);
	margin-bottom: 0.45rem;
	font-size: 0.6875rem;
}

.ecc-page .ecc-section {
	padding: clamp(2.5rem, 6vw, 4rem) 0;
}

/* ── Prose / legibilidade ── */
.ecc-prose {
	max-width: 68ch;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ecc-night);
}

.ecc-prose p,
.ecc-prose li {
	color: var(--ecc-muted);
}

.ecc-prose h1,
.ecc-prose h2,
.ecc-prose h3,
.ecc-prose h4 {
	font-family: "Outfit", system-ui, sans-serif;
	font-weight: 600;
	color: var(--ecc-night);
	letter-spacing: -0.02em;
	text-transform: none;
}

.ecc-prose h2 {
	font-size: 1.5rem;
	margin: 2rem 0 0.75rem;
}

.ecc-prose h3 {
	font-size: 1.2rem;
	margin: 1.5rem 0 0.5rem;
}

.ecc-prose a {
	color: var(--ecc-blue);
	font-weight: 500;
}

.ecc-prose a:hover {
	color: var(--ecc-night);
}

.ecc-prose .wp-block-image img,
.ecc-prose img {
	border-radius: var(--ecc-radius-sm);
}

.ecc-prose .wp-block-gallery,
.ecc-prose .ecc-gallery {
	margin: 2rem 0;
}

/* ── Single especialidade / médico — legibilidade ── */
.ecc-page--single .ecc-single-content,
.ecc-page--single .ecc-section--light {
	padding-inline: 0;
}

.ecc-page--single .ecc-single-content .ecc-container.ecc-prose,
.ecc-page--single .ecc-section--light .ecc-container.ecc-prose {
	width: 100%;
	max-width: min(68ch, calc(100% - (var(--ecc-gutter) * 2)));
	margin-inline: auto;
}

.ecc-page--single .ecc-single-content .wp-block-post-content,
.ecc-page--single .ecc-section--light .wp-block-post-content {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--ecc-night);
}

.ecc-page--single .ecc-single-content .wp-block-post-content p,
.ecc-page--single .ecc-section--light .wp-block-post-content p,
.ecc-page--single .ecc-single-content .wp-block-paragraph,
.ecc-page--single .ecc-section--light .wp-block-paragraph {
	color: var(--ecc-night);
	margin: 0 0 1.35em;
}

.ecc-page--single .ecc-single-content .wp-block-post-content p:last-child,
.ecc-page--single .ecc-section--light .wp-block-post-content p:last-child {
	margin-bottom: 0;
}

/* Anula max-width do layout constrained do WP (sem padding lateral) */
.ecc-page--single .ecc-single-content .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.ecc-page--single .ecc-section--light .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none !important;
	margin-inline: 0 !important;
}

/* post-content fora do container (templates antigos partidos em blocos HTML) */
.ecc-page--single .ecc-section--light > .ecc-container.ecc-prose:empty {
	display: none;
}

.ecc-page--single .ecc-section--light > .wp-block-post-content,
.ecc-page--single .ecc-section--light .ecc-container.ecc-prose .wp-block-post-content {
	box-sizing: border-box;
	width: 100%;
	max-width: 68ch;
	margin-inline: auto;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ecc-muted);
}

.ecc-page--single .ecc-section--light > .wp-block-post-content > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.ecc-page--single .ecc-section--light .ecc-container.ecc-prose .wp-block-post-content > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 68ch;
	margin-inline: auto;
}

.ecc-page--single .ecc-section--light .wp-block-post-content p {
	margin: 0 0 1.25em;
}

.ecc-page--single .ecc-section--light .wp-block-post-content h2,
.ecc-page--single .ecc-section--light .wp-block-post-content h3 {
	font-family: "Outfit", system-ui, sans-serif;
	font-weight: 600;
	color: var(--ecc-night);
	letter-spacing: -0.02em;
}

.ecc-page--single .ecc-section--light .wp-block-post-content h2 {
	font-size: 1.35rem;
	margin: 1.75rem 0 0.65rem;
}

.ecc-page--single .ecc-section--light .wp-block-post-content h3 {
	font-size: 1.125rem;
	margin: 1.35rem 0 0.5rem;
}

/* Especialidades — texto justificado */
body.single-especialidade .ecc-prose :is(p, li),
body.single-especialidade .ecc-page--single .wp-block-post-content :is(p, li),
body.single-especialidade .ecc-page--single .wp-block-paragraph {
	text-align: justify;
	text-wrap: pretty;
	hyphens: auto;
	-webkit-hyphens: auto;
}

body.single-especialidade .ecc-prose :is(h1, h2, h3, h4, .wp-block-heading),
body.single-especialidade .ecc-page-hero__lead,
body.single-especialidade .ecc-cta-band :is(h2, p) {
	text-align: inherit;
	hyphens: manual;
	-webkit-hyphens: manual;
}

/* CTA band on singles */
.ecc-cta-band__inner {
	text-align: center;
	max-width: 36rem;
	margin-inline: auto;
}

.ecc-cta-band__inner h2 {
	font-size: 1.75rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	color: var(--ecc-night);
}

.ecc-cta-band__inner p {
	color: var(--ecc-muted);
	margin: 0 0 1.5rem;
}

.ecc-cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.ecc-btn--outline {
	color: var(--ecc-blue);
	border-color: rgba(26, 107, 154, 0.35);
	background: transparent;
}

body.ecc-inner-page .ecc-btn--outline {
	color: var(--ecc-blue);
}

/* Home hero: títulos grandes mas sans legível */
.ecc-hero__title {
	font-weight: 600;
	letter-spacing: -0.03em;
}

.ecc-section-title {
	font-weight: 600;
	letter-spacing: -0.02em;
	text-transform: none;
}

.ecc-intro__title,
.ecc-contact__title {
	font-weight: 600;
	text-transform: none;
}

/* Esconder títulos WP duplicados */
.ecc-page .wp-block-post-title:not(.ecc-page-hero__title) {
	display: none;
}

/* ── Navegação principal (desktop + hamburger) ── */
.ecc-header,
.ecc-header__inner,
.ecc-primary-nav {
	position: relative;
	overflow: visible;
}

.ecc-nav-toggle {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.28rem;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid rgba(4, 20, 36, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ecc-night);
	cursor: pointer;
	pointer-events: auto;
}

.ecc-nav-toggle__bar {
	display: block;
	width: 1rem;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
}

body.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-nav-toggle {
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.12);
	color: var(--ecc-white);
}

body.ecc-has-hero .ecc-header.is-scrolled .ecc-nav-toggle,
body.ecc-inner-page .ecc-nav-toggle {
	border-color: rgba(4, 20, 36, 0.12);
	background: rgba(255, 255, 255, 0.96);
	color: var(--ecc-night);
}

.ecc-primary-nav__desktop {
	display: none;
}

.ecc-primary-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 1.1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ecc-primary-nav__item {
	position: relative;
}

.ecc-primary-nav__row {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.ecc-primary-nav__subtoggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: transparent;
	color: var(--ecc-night);
	cursor: pointer;
	transition: color 0.3s var(--ecc-ease), opacity 0.3s;
}

.ecc-primary-nav__chevron {
	display: block;
	width: 0.4rem;
	height: 0.4rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.2s var(--ecc-ease), border-color 0.3s var(--ecc-ease);
}

.ecc-primary-nav__item.is-submenu-open .ecc-primary-nav__chevron {
	transform: rotate(-135deg) translateY(1px);
}

/* Setas submenu desktop — branco sobre hero, escuro com fundo claro */
body.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-primary-nav__subtoggle,
body.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-primary-nav__chevron {
	color: var(--ecc-white);
}

body.ecc-has-hero .ecc-header:not(.is-scrolled) .ecc-primary-nav__chevron {
	border-right-color: var(--ecc-white);
	border-bottom-color: var(--ecc-white);
}

body.ecc-has-hero .ecc-header.is-scrolled .ecc-primary-nav__subtoggle,
body.ecc-has-hero .ecc-header.is-scrolled .ecc-primary-nav__chevron,
body.ecc-inner-page .ecc-header .ecc-primary-nav__subtoggle,
body.ecc-inner-page .ecc-header .ecc-primary-nav__chevron {
	color: var(--ecc-night);
}

body.ecc-has-hero .ecc-header.is-scrolled .ecc-primary-nav__chevron,
body.ecc-inner-page .ecc-header .ecc-primary-nav__chevron {
	border-right-color: var(--ecc-night);
	border-bottom-color: var(--ecc-night);
}

.ecc-primary-nav__submenu {
	position: absolute;
	top: calc(100% + 0.45rem);
	left: 0;
	z-index: 200;
	min-width: 15rem;
	margin: 0;
	padding: 0.4rem 0;
	list-style: none;
	background: var(--ecc-white);
	border: 1px solid rgba(4, 20, 36, 0.1);
	border-radius: var(--ecc-radius);
	box-shadow: var(--ecc-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.35rem);
	transition: opacity 0.2s var(--ecc-ease), transform 0.2s var(--ecc-ease), visibility 0.2s;
}

.ecc-primary-nav__subitem {
	margin: 0;
}

.ecc-primary-nav__sublink {
	display: block;
	padding: 0.55rem 1rem;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	text-decoration: none;
	color: var(--ecc-night);
	white-space: nowrap;
}

.ecc-primary-nav__sublink:hover {
	background: rgba(26, 107, 154, 0.08);
	color: var(--ecc-blue);
}

@media (min-width: 783px) {
	.ecc-nav-toggle {
		display: none !important;
	}

	.ecc-primary-nav__desktop {
		display: block;
	}

	.ecc-primary-nav__item--has-children .ecc-primary-nav__subtoggle {
		display: inline-flex;
	}

	.ecc-primary-nav__item--has-children:hover .ecc-primary-nav__submenu,
	.ecc-primary-nav__item--has-children:focus-within .ecc-primary-nav__submenu,
	.ecc-primary-nav__item--has-children.is-submenu-open .ecc-primary-nav__submenu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}

/* ── Menu mobile ECC (overlay próprio, todas as páginas) ── */
.ecc-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
}

.ecc-mobile-menu.is-open {
	display: block;
}

.ecc-mobile-menu__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(var(--ecc-night-rgb), 0.55);
}

.ecc-mobile-menu__panel {
	position: absolute;
	inset: 0;
	background: var(--ecc-white);
	color: var(--ecc-night);
	padding: calc(var(--ecc-header-h) + 3rem) 1.25rem 2rem;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

body.admin-bar .ecc-mobile-menu__panel {
	padding-top: calc(var(--ecc-header-h) + 3rem + 46px);
}

.ecc-mobile-menu__close {
	position: fixed;
	top: calc(var(--ecc-header-h) + 0.65rem);
	right: 1.25rem;
	z-index: 100001;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: var(--ecc-cream);
	color: var(--ecc-night);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

body.admin-bar .ecc-mobile-menu__close {
	top: calc(var(--ecc-header-h) + 0.65rem + 46px);
}

.ecc-mobile-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ecc-mobile-menu__item {
	border-bottom: 1px solid rgba(26, 107, 154, 0.12);
}

.ecc-mobile-menu__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.ecc-mobile-menu__link {
	flex: 1;
	display: block;
	padding: 1rem 0;
	color: var(--ecc-night);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.ecc-mobile-menu__link:hover {
	color: var(--ecc-blue);
}

.ecc-mobile-menu__subtoggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(26, 107, 154, 0.08);
	color: var(--ecc-night);
	cursor: pointer;
	flex-shrink: 0;
}

.ecc-mobile-menu__chevron {
	display: block;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s var(--ecc-ease);
}

.ecc-mobile-menu__item.is-expanded .ecc-mobile-menu__chevron {
	transform: rotate(-135deg);
}

.ecc-mobile-menu__submenu {
	list-style: none;
	margin: 0;
	padding: 0 0 0.65rem 0.75rem;
}

.ecc-mobile-menu__submenu[hidden] {
	display: none !important;
}

.ecc-mobile-menu__sublink {
	display: block;
	padding: 0.55rem 0;
	color: var(--ecc-night);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	text-decoration: none;
	border-bottom: 1px solid rgba(26, 107, 154, 0.08);
}

.ecc-mobile-menu__sublink:last-child {
	border-bottom: none;
}

.ecc-mobile-menu__sublink:hover {
	color: var(--ecc-blue);
}

.ecc-mobile-menu__cta {
	display: grid;
	gap: 0.65rem;
	margin-top: 1.5rem;
}

.ecc-mobile-menu__cta .ecc-btn--ghost {
	color: var(--ecc-blue);
	border-color: rgba(26, 107, 154, 0.35);
}

html.ecc-menu-open {
	overflow: hidden;
}

/* Telemóvel: só hamburger (menu em overlay ECC) */
@media (max-width: 782px) {
	.ecc-primary-nav {
		display: flex;
		align-items: center;
	}

	.ecc-primary-nav__desktop {
		display: none !important;
	}

	.ecc-nav-toggle {
		display: inline-flex !important;
		flex-shrink: 0;
	}
}

/* ── A Nossa Clínica (2027) ── */
.ecc-page--clinica .ecc-section-title {
	font-size: clamp(1.625rem, 2.8vw, 2rem);
	margin-bottom: 0;
}

.ecc-clinic-intro__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
}

.ecc-clinic-intro__title {
	font-size: clamp(1.75rem, 3.2vw, 2.35rem);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

.ecc-clinic-intro__title em {
	font-style: normal;
	color: var(--ecc-blue);
}

.ecc-clinic-intro__text {
	margin: 0 0 1.25rem;
	color: var(--ecc-muted);
	line-height: 1.75;
	max-width: 52ch;
}

.ecc-clinic-intro__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.55rem;
}

.ecc-clinic-intro__list li {
	position: relative;
	padding-left: 1.25rem;
	color: var(--ecc-muted);
	font-size: 0.98rem;
}

.ecc-clinic-intro__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--ecc-blue), var(--ecc-blue-bright));
}

.ecc-clinic-intro__panel {
	display: grid;
	gap: 0.85rem;
	padding: 1.75rem;
	border-radius: calc(var(--ecc-radius) * 1.1);
	background: linear-gradient(165deg, var(--ecc-night) 0%, var(--ecc-navy) 100%);
	color: var(--ecc-white);
	box-shadow: var(--ecc-shadow-lg);
}

.ecc-clinic-stat {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ecc-clinic-stat:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.ecc-clinic-stat strong {
	font-size: 1.75rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.ecc-clinic-stat span {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.65);
	letter-spacing: 0.04em;
}

.ecc-clinic-intro__panel .ecc-btn--primary {
	margin-top: 0.5rem;
	justify-self: start;
}

.ecc-clinic-gallery-section .ecc-section-head {
	margin-bottom: 1.25rem;
}

.ecc-clinic-gallery {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: minmax(140px, auto);
	gap: 0.85rem;
}

.ecc-clinic-gallery__item {
	margin: 0;
	border-radius: var(--ecc-radius-sm);
	overflow: hidden;
	box-shadow: var(--ecc-shadow);
	transition: transform 0.45s var(--ecc-ease), box-shadow 0.45s;
}

.ecc-clinic-gallery__item:hover {
	transform: translateY(-4px);
	box-shadow: var(--ecc-shadow-lg);
}

.ecc-clinic-gallery__item--feature {
	grid-column: span 7;
	grid-row: span 2;
}

.ecc-clinic-gallery__item:not(.ecc-clinic-gallery__item--feature) {
	grid-column: span 5;
}

.ecc-clinic-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
}

.ecc-clinic-pillars__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 0.5rem;
}

.ecc-clinic-pillar {
	padding: 1.5rem 1.35rem;
	border-radius: var(--ecc-radius-sm);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
}

.ecc-clinic-pillar__num {
	display: block;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--ecc-blue-glow);
	margin-bottom: 0.65rem;
}

.ecc-clinic-pillar h3 {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--ecc-white) !important;
}

.ecc-clinic-pillar p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.72);
}

.ecc-clinic-cases .ecc-gallery--cases {
	margin-top: 0;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1rem;
}

.ecc-clinic-visit {
	background: var(--ecc-cream);
	padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.ecc-clinic-visit__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: stretch;
}

.ecc-clinic-visit__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.ecc-clinic-visit__address,
.ecc-clinic-visit__hours {
	margin: 0 0 0.65rem;
	color: var(--ecc-muted);
	line-height: 1.6;
}

.ecc-clinic-visit__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.ecc-clinic-visit__map {
	border-radius: var(--ecc-radius);
	overflow: hidden;
	box-shadow: var(--ecc-shadow);
	border: 1px solid rgba(26, 107, 154, 0.1);
	min-height: 280px;
}

.ecc-clinic-visit__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	border: 0;
}

@media (max-width: 1024px) {
	.ecc-clinic-intro__grid,
	.ecc-clinic-visit__grid {
		grid-template-columns: 1fr;
	}

	.ecc-clinic-pillars__grid {
		grid-template-columns: 1fr;
	}

	.ecc-clinic-gallery__item--feature {
		grid-column: span 12;
		grid-row: span 1;
	}

	.ecc-clinic-gallery__item:not(.ecc-clinic-gallery__item--feature) {
		grid-column: span 6;
	}
}

@media (max-width: 600px) {
	.ecc-clinic-gallery__item:not(.ecc-clinic-gallery__item--feature) {
		grid-column: span 12;
	}
}

/* ── Contactos (layout compacto) ── */
.ecc-page--contact main.wp-block-group {
	margin-block: 0;
}

.ecc-page-hero--contact .ecc-page-hero__inner {
	padding-bottom: 0.65rem;
}

.ecc-page-hero--contact .ecc-page-hero__lead {
	margin-inline: auto;
}

.ecc-page-hero--contact .ecc-contact-luxury-bar {
	margin-top: 0;
	text-align: left;
}

.ecc-eyebrow--luxury {
	color: var(--ecc-gold);
	margin: 0 0 0.25rem;
}

.ecc-contact-luxury-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(0.75rem, 2vw, 1.5rem);
	padding: 0.7rem 1rem;
	border-radius: calc(var(--ecc-radius) * 1.05);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ecc-contact-luxury-bar__intro {
	flex-shrink: 0;
	min-width: 0;
}

.ecc-contact-luxury-bar__tagline {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.82);
	letter-spacing: 0.01em;
}

.ecc-contact-luxury-bar__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.55rem;
	flex: 1;
	justify-content: flex-end;
}

.ecc-contact-luxury-wa {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 0.75rem 1.15rem;
	border-radius: 999px;
	text-decoration: none;
	color: var(--ecc-white) !important;
	background: linear-gradient(135deg, var(--ecc-blue) 0%, var(--ecc-blue-bright) 100%);
	border: 1px solid rgba(var(--ecc-gold-rgb), 0.4);
	box-shadow: 0 12px 32px rgba(var(--ecc-blue-rgb), 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: transform 0.35s var(--ecc-ease), box-shadow 0.35s;
}

.ecc-contact-luxury-wa:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 40px rgba(var(--ecc-blue-rgb), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ecc-contact-luxury-wa__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: rgba(var(--ecc-gold-rgb), 0.22);
	color: var(--ecc-gold);
}

.ecc-contact-luxury-wa__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.ecc-contact-luxury-wa__copy {
	display: grid;
	gap: 0.05rem;
	text-align: left;
}

.ecc-contact-luxury-wa__copy strong {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ecc-contact-luxury-wa__copy small {
	font-size: 0.6875rem;
	opacity: 0.9;
	font-weight: 500;
}

.ecc-contact-luxury-wa__number {
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.ecc-contact-luxury-tel {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	text-decoration: none;
	color: var(--ecc-white) !important;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.16);
	transition: background 0.3s var(--ecc-ease), border-color 0.3s, transform 0.3s;
}

.ecc-contact-luxury-tel:hover {
	background: rgba(255, 255, 255, 0.11);
	border-color: rgba(157, 212, 242, 0.45);
	transform: translateY(-2px);
}

.ecc-contact-luxury-tel__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: rgba(94, 184, 232, 0.12);
	color: var(--ecc-blue-glow);
}

.ecc-contact-luxury-tel__icon svg {
	width: 1rem;
	height: 1rem;
}

.ecc-contact-luxury-tel__copy {
	display: grid;
	gap: 0.05rem;
}

.ecc-contact-luxury-tel__copy strong {
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}

.ecc-contact-luxury-tel__copy small {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Breadcrumb (contact + interior SEO) */
.ecc-breadcrumb {
	padding: 0.65rem 0 0;
	font-size: 0.8125rem;
}

.ecc-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	color: var(--ecc-muted);
}

.ecc-breadcrumb li + li::before {
	content: "/";
	margin-right: 0.5rem;
	color: rgba(74, 98, 120, 0.55);
}

.ecc-breadcrumb a {
	color: var(--ecc-blue);
	text-decoration: none;
	font-weight: 500;
}

.ecc-breadcrumb a:hover {
	text-decoration: underline;
}

.ecc-breadcrumb [aria-current="page"] {
	color: var(--ecc-night);
	font-weight: 600;
}

.ecc-contact-page-main .ecc-breadcrumb {
	padding: 0 0 1rem;
}

.ecc-contact-page-details address {
	font-style: normal;
	line-height: 1.55;
}

.ecc-contact-page-info__text a {
	color: var(--ecc-blue);
	font-weight: 600;
	text-decoration: none;
}

.ecc-contact-page-info__text a:hover {
	text-decoration: underline;
}

.ecc-contact-faq {
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
	padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
	border-top: 1px solid rgba(26, 107, 154, 0.1);
}

.ecc-contact-faq__title {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
	font-weight: 600;
	color: var(--ecc-night);
}

.ecc-contact-faq__list {
	display: grid;
	gap: 0.65rem;
}

.ecc-contact-faq__item {
	border: 1px solid rgba(26, 107, 154, 0.12);
	border-radius: var(--ecc-radius-sm);
	background: var(--ecc-cream);
	padding: 0.85rem 1rem;
}

.ecc-contact-faq__item summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--ecc-night);
	list-style-position: outside;
}

.ecc-contact-faq__item summary::-webkit-details-marker {
	color: var(--ecc-blue);
}

.ecc-contact-faq__item p {
	margin: 0.65rem 0 0;
	color: var(--ecc-muted);
	line-height: 1.65;
	font-size: 0.95rem;
}

.ecc-contact-faq__item p a {
	color: var(--ecc-blue);
	font-weight: 600;
	text-decoration: none;
}

.ecc-contact-faq__item p a:hover {
	text-decoration: underline;
}

.ecc-contact-page-map__intro {
	margin: 0 0 0.85rem;
	color: var(--ecc-muted);
	line-height: 1.6;
	font-size: 0.95rem;
	max-width: 52rem;
}

.ecc-contact-page-main {
	padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 4vw, 2.75rem);
	background: var(--ecc-white);
}

.ecc-contact-page-main__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.25rem, 2.5vw, 2rem);
	align-items: start;
}

.ecc-contact-page-info__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	font-weight: 600;
}

.ecc-contact-page-info__text {
	margin: 0 0 1rem;
	color: var(--ecc-muted);
	line-height: 1.65;
	font-size: 0.98rem;
}

.ecc-contact-page-details {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.ecc-contact-page-details li {
	display: grid;
	gap: 0.25rem;
}

.ecc-contact-page-details__label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ecc-blue);
}

.ecc-contact-page-details a {
	color: var(--ecc-night);
	font-weight: 600;
	text-decoration: none;
}

.ecc-contact-page-details a:hover {
	color: var(--ecc-blue);
}

.ecc-contact-form--page {
	padding: 1.35rem 1.5rem;
	border-radius: var(--ecc-radius);
	background: var(--ecc-cream);
	border: 1px solid rgba(26, 107, 154, 0.1);
	box-shadow: none;
}

.ecc-contact-form__title {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--ecc-night);
}

.ecc-contact-form--page .ecc-form label {
	color: var(--ecc-night);
}

.ecc-contact-form--page .ecc-form input,
.ecc-contact-form--page .ecc-form textarea {
	background: var(--ecc-cream);
	border: 1px solid rgba(26, 107, 154, 0.15);
	color: var(--ecc-night);
}

.ecc-contact-form__wa-hint {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	color: var(--ecc-muted);
}

.ecc-contact-form__wa-hint a {
	color: var(--ecc-blue);
	font-weight: 600;
}

.ecc-btn--block {
	width: 100%;
}

.ecc-contact-page-map {
	margin-top: clamp(1.5rem, 3vw, 2rem);
	padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
	border-top: 1px solid rgba(26, 107, 154, 0.1);
}

.ecc-contact-page-map__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.ecc-contact-page-map__title {
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--ecc-night);
}

.ecc-contact-page-map__link {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ecc-blue);
	text-decoration: none;
	white-space: nowrap;
}

.ecc-contact-page-map__link:hover {
	color: var(--ecc-night);
}

.ecc-contact-page-map__frame {
	border-radius: var(--ecc-radius);
	overflow: hidden;
	box-shadow: var(--ecc-shadow);
	border: 1px solid rgba(26, 107, 154, 0.12);
	min-height: 280px;
	background: var(--ecc-navy);
}

.ecc-contact-page-map__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	border: 0;
}

body.ecc-page-contact .ecc-footer__map-wrap {
	display: none;
}

@media (max-width: 900px) {
	.ecc-contact-page-map__frame {
		min-height: 240px;
	}

	.ecc-contact-page-map__frame iframe {
		min-height: 240px;
	}
}

body.ecc-page-contact .ecc-sticky-cta__item--wa {
	animation: ecc-wa-pulse 2.5s ease-in-out infinite;
}

@keyframes ecc-wa-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(var(--ecc-gold-rgb), 0.45); }
	50% { box-shadow: 0 0 0 10px rgba(var(--ecc-gold-rgb), 0); }
}

@media (max-width: 900px) {
	.ecc-contact-luxury-bar {
		flex-direction: column;
		align-items: stretch;
	}

	.ecc-contact-luxury-bar__actions {
		justify-content: stretch;
		flex-direction: column;
	}

	.ecc-contact-luxury-wa,
	.ecc-contact-luxury-tel {
		width: 100%;
		justify-content: flex-start;
	}

	.ecc-contact-luxury-wa {
		grid-template-columns: auto 1fr;
	}

	.ecc-contact-luxury-wa__number {
		grid-column: 2;
		justify-self: start;
	}

	.ecc-contact-page-main__grid {
		grid-template-columns: 1fr;
	}
}

/* ═══════════════════════════════════════════════════════════════
   Mobile & touch — cards, grids, hero, formulários, todas as páginas
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 782px) {
	:root {
		--ecc-gutter: 1.25rem;
		--ecc-header-h: 6.15rem;
	}

	body {
		font-size: 1rem;
	}

	.ecc-header {
		padding-block: 0.65rem;
	}

	.ecc-header__inner {
		gap: 0.45rem;
	}

	.ecc-header__inner > p:has(.ecc-logo),
	.ecc-header__inner > .wp-block-html:has(.ecc-logo) {
		flex: 1 1 auto;
		min-width: 0;
	}

	.ecc-header .ecc-logo {
		max-width: 100%;
	}

	.ecc-logo__img {
		height: clamp(4.15rem, 17vw, 5.25rem);
		max-width: min(540px, 90vw, 100%);
		object-fit: contain;
	}

	.ecc-header__actions {
		margin-left: 0.5rem;
		gap: 0.5rem;
	}

	.ecc-header__actions .ecc-btn--sm {
		min-height: 2.75rem;
		padding: 0.55rem 0.95rem;
	}

	.ecc-header__actions .ecc-btn--primary.ecc-btn--sm {
		font-size: 0.62rem;
		padding: 0.5rem 0.75rem;
		white-space: nowrap;
	}

	.ecc-hero {
		min-height: auto;
		padding: calc(var(--ecc-header-h) + 2.25rem) 0 3rem;
	}

	.ecc-page-hero--media {
		padding-top: calc(var(--ecc-header-h) + 1.15rem);
	}

	body.ecc-inner-page.ecc-has-hero .ecc-page-hero--media {
		padding-top: calc(var(--ecc-header-h) + 1.15rem);
	}

	body.admin-bar.ecc-has-hero .ecc-hero {
		padding-top: calc(var(--ecc-header-h) + 2.25rem + 46px);
	}

	body.admin-bar.ecc-inner-page.ecc-has-hero .ecc-page-hero--media {
		padding-top: calc(var(--ecc-header-h) + 1.15rem + 46px);
	}

	.ecc-hero__title {
		font-size: clamp(2rem, 9vw, 2.65rem);
	}

	.ecc-hero__lead {
		font-size: 1rem;
		margin-bottom: 1.5rem;
	}

	.ecc-hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 0.65rem;
		margin-bottom: 1.75rem;
	}

	.ecc-hero__actions .ecc-btn {
		width: 100%;
		min-height: 2.85rem;
	}

	.ecc-hero__stats {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem 1.25rem;
	}

	.ecc-hero__stats strong {
		font-size: 1.5rem;
	}

	.ecc-hero__scroll {
		display: none;
	}

	.ecc-section {
		padding: clamp(2.5rem, 8vw, 3.5rem) 0;
	}

	.ecc-section-title {
		font-size: clamp(1.5rem, 6vw, 1.85rem);
	}

	.ecc-section-lead {
		font-size: 0.98rem;
	}

	.ecc-intro {
		padding: clamp(2.5rem, 8vw, 3.5rem) 0;
	}

	.ecc-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
		margin: 1.25rem 0;
	}

	.ecc-grid--specialties {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.ecc-grid--specialties .ecc-card__media {
		aspect-ratio: 3 / 4;
	}

	.ecc-grid--specialties .ecc-card__title {
		font-size: clamp(0.9375rem, 4.1vw, 1.125rem);
		line-height: 1.28;
		font-weight: 600;
		padding: 0.7rem 0.6rem;
		padding-top: 2rem;
	}

	.ecc-grid--specialties .ecc-card__meta,
	.ecc-grid--specialties .ecc-card__link {
		display: none;
	}

	.ecc-grid--team {
		grid-template-columns: 1fr;
	}

	.ecc-gallery--cases {
		grid-template-columns: 1fr;
		gap: 0.85rem;
	}

	.ecc-card {
		box-shadow: 0 12px 32px rgba(var(--ecc-night-rgb), 0.1);
	}

	.ecc-card__title {
		font-size: 1.15rem;
		padding: 1rem 1.1rem;
	}

	.ecc-card--team .ecc-card__title {
		padding-top: 2.25rem;
	}

	.ecc-team-carousel__toolbar {
		flex-wrap: nowrap;
		gap: 0.5rem;
		margin-bottom: 0.5rem;
	}

	.ecc-team-carousel__nav {
		gap: 0.35rem;
	}

	.ecc-team-carousel__btn {
		width: 2rem;
		height: 2rem;
		min-width: 0;
		min-height: 0;
		font-size: 0.8rem;
	}

	.ecc-team-carousel__dots {
		gap: 0.35rem;
		margin-top: 0.65rem;
	}

	.ecc-contact {
		padding: 1.35rem;
		gap: 1.5rem;
	}

	.ecc-contact__title {
		font-size: clamp(1.45rem, 6vw, 1.85rem);
	}

	.ecc-contact__phones {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}

	.ecc-contact__phones a {
		font-size: 1.2rem;
		min-height: 2.75rem;
		display: inline-flex;
		align-items: center;
	}

	.ecc-contact__copy > .ecc-btn {
		width: 100%;
		min-height: 2.85rem;
	}

	.ecc-form input,
	.ecc-form textarea,
	.ecc-form select {
		font-size: 16px;
		min-height: 2.85rem;
	}

	.ecc-form textarea {
		min-height: 7rem;
	}

	.ecc-page-hero--media {
		min-height: auto;
		padding-bottom: 1rem;
	}

	.ecc-page-hero__lead {
		font-size: 0.9375rem;
		max-width: none;
	}

	.ecc-page .ecc-section {
		padding: clamp(2rem, 6vw, 2.75rem) 0;
	}

	.ecc-page--single .ecc-single-content,
	.ecc-page--single .ecc-section--light {
		padding-block: clamp(2rem, 5vw, 2.75rem);
	}

	.ecc-page--single .ecc-single-content .ecc-container.ecc-prose,
	.ecc-page--single .ecc-section--light .ecc-container.ecc-prose {
		width: 100%;
		max-width: none;
		padding-inline: var(--ecc-gutter);
	}

	.ecc-page--single .ecc-single-content .wp-block-post-content,
	.ecc-page--single .ecc-section--light .wp-block-post-content,
	.ecc-page--single .ecc-section--light > .wp-block-post-content,
	.ecc-page--single .ecc-section--light .ecc-container.ecc-prose .wp-block-post-content {
		width: 100%;
		max-width: none;
		font-size: 1.0625rem;
		line-height: 1.82;
		color: var(--ecc-night);
	}

	.ecc-page--single .ecc-single-content .wp-block-post-content p,
	.ecc-page--single .ecc-section--light .wp-block-post-content p {
		font-size: 1.0625rem;
		line-height: 1.82;
		color: var(--ecc-night);
		margin-bottom: 1.4em;
	}

	.ecc-page-hero--media .ecc-page-hero__inner,
	.ecc-page-hero--media .wp-block-group.ecc-page-hero__inner {
		max-width: none;
		padding-inline: var(--ecc-gutter);
	}

	.ecc-page-hero__title,
	.ecc-page-hero .wp-block-post-title.ecc-page-hero__title {
		font-size: clamp(1.625rem, 7vw, 2rem);
		line-height: 1.2;
	}

	.ecc-cta-band .ecc-container,
	.ecc-cta-band__inner {
		padding-inline: var(--ecc-gutter);
	}

	.ecc-prose {
		max-width: none;
		font-size: 1rem;
	}

	.ecc-page--single .ecc-section--light .wp-block-post-content h2 {
		font-size: 1.25rem;
	}

	.ecc-cta-band__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ecc-cta-band__actions .ecc-btn {
		width: 100%;
		min-height: 2.85rem;
	}

	.ecc-clinic-intro__panel {
		padding: 1.25rem;
	}

	.ecc-clinic-intro__panel .ecc-btn--primary {
		width: 100%;
		justify-self: stretch;
	}

	.ecc-clinic-gallery {
		grid-auto-rows: minmax(120px, auto);
		gap: 0.65rem;
	}

	.ecc-footer__map-card {
		gap: 1rem;
	}

	.ecc-footer__map iframe {
		min-height: 200px;
	}

	.ecc-footer__cta-actions .ecc-btn {
		flex: 1 1 auto;
		min-height: 2.75rem;
		justify-content: center;
	}

	.ecc-contact-page-main__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.ecc-contact-form--page {
		padding: 1.15rem 1.2rem;
	}

	.ecc-contact-page-map__frame,
	.ecc-contact-page-map__frame iframe {
		min-height: 220px;
	}

	.ecc-social-icons {
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	:root {
		--ecc-gutter: 1rem;
	}

	.ecc-hero__stats {
		grid-template-columns: 1fr;
	}

	.ecc-header__actions .ecc-btn--sm {
		font-size: 0.62rem;
		padding-inline: 0.75rem;
	}

	.ecc-contact-luxury-wa__number {
		font-size: 0.875rem;
	}
}

/* Touch: meta e link dos cards sempre visíveis (sem depender de hover) */
@media (hover: none), (pointer: coarse) {
	.ecc-card:hover {
		transform: none;
	}

	.ecc-card__meta {
		opacity: 1;
		transform: translateY(0);
		bottom: 3.25rem;
	}

	.ecc-card__link {
		opacity: 0.9;
	}

	.ecc-card:hover .ecc-card__media img {
		transform: none;
	}

	.ecc-gallery__figure:hover {
		transform: none;
	}
}

@media (max-width: 782px) {
	.ecc-card__meta {
		opacity: 1;
		transform: translateY(0);
		bottom: 3.25rem;
	}

	.ecc-card__link {
		opacity: 0.9;
	}
}

/* Sticky CTA em barra inferior no telemóvel */
@media (max-width: 1024px) {
	body {
		padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
	}

	.ecc-sticky-cta {
		top: auto;
		bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
		right: max(0.75rem, env(safe-area-inset-right, 0px));
		left: max(0.75rem, env(safe-area-inset-left, 0px));
		transform: none;
		flex-direction: row;
		gap: 0.5rem;
	}

	.ecc-sticky-cta__item {
		flex: 1;
		min-height: 2.85rem;
		padding: 0.7rem 0.85rem;
		font-size: 0.62rem;
	}

	.ecc-sticky-cta__item:hover {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}

	.ecc-reveal {
		opacity: 1;
		transform: none;
	}

	.ecc-hero__bg {
		transform: none;
	}

	.ecc-team-carousel__viewport {
		scroll-behavior: auto;
	}
}

/* Retratos da equipa: cortar por baixo para nunca cortar a cabeça. */
.ecc-card--team .ecc-card__media img,
.ecc-assistant-card__media img {
	object-position: center 12%;
}

/* 2026-11-04: ícone WhatsApp verde na barra de contactos */
.ecc-contact-luxury-wa__icon {
	background: #25d366;
	color: #fff;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.ecc-contact-luxury-wa__icon svg,
.ecc-contact-luxury-wa__icon svg path {
	fill: #fff;
}

/* 2026-11-04: foto do médico na página individual (single-medico) */
.ecc-page--single .ecc-single-content .ecc-container.ecc-prose--profile:has(.ecc-doctor-photo) {
	display: grid;
	grid-template-columns: minmax(220px, 320px) minmax(0, 68ch);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
	justify-content: center;
	max-width: min(1120px, calc(100% - (var(--ecc-gutter) * 2)));
}
.ecc-page--single .ecc-doctor-photo {
	margin: 0;
	position: sticky;
	top: 7rem;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(var(--ecc-blue-rgb), 0.18);
	border: 1px solid rgba(var(--ecc-gold-rgb), 0.35);
	aspect-ratio: 3 / 4;
}
.ecc-page--single .ecc-doctor-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 12%;
}
@media (max-width: 860px) {
	.ecc-page--single .ecc-single-content .ecc-container.ecc-prose--profile:has(.ecc-doctor-photo) {
		grid-template-columns: minmax(0, 1fr);
		max-width: none;
	}
	.ecc-page--single .ecc-doctor-photo {
		position: static;
		width: min(280px, 75vw);
		margin-inline: auto;
	}
}

/* 2026-11-04: rodapé legal (privacidade, termos, Livro de Reclamações, entidade/ERS) */
.ecc-footer__legal-wrap {
	display: grid;
	gap: 0.3rem;
	text-align: center;
	flex: 1 1 100%;
	order: -1;
	padding-bottom: 0.5rem;
}
.ecc-footer__legal-links a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.25s var(--ecc-ease);
}
.ecc-footer__legal-links a:hover {
	color: var(--ecc-blue-glow);
}
.ecc-footer__legal-links span {
	margin-inline: 0.45rem;
	opacity: 0.6;
}
.ecc-footer__entity {
	font-size: 0.75rem !important;
	letter-spacing: 0 !important;
	line-height: 1.6;
}
.ecc-form__consent {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	line-height: 1.5;
	font-weight: 400;
}
.ecc-form__consent input[type="checkbox"] {
	width: 1.1rem !important;
	height: 1.1rem;
	min-height: 0 !important;
	margin: 0.15rem 0 0;
	padding: 0 !important;
	flex: none;
	accent-color: var(--ecc-blue);
}
.ecc-form__consent a {
	text-decoration: underline;
}
