/* =========================================================
   JOHN DANILO STUDIO DESIGN
   RESPONSIVE.CSS
========================================================= */


/* =========================================================
   ATÉ 1440PX
========================================================= */

@media (max-width: 1440px) {

	:root {
		--container-width: 1360px;
	}

	.hero-content {
		width: min(700px, 58vw);
	}

	.hero-title {
		font-size: clamp(74px, 9vw, 142px);
	}

	.manifesto-title {
		font-size: clamp(48px, 7vw, 102px);
	}

	.section-title,
	.services-title,
	.clients-heading .section-title {
		font-size: clamp(46px, 6vw, 90px);
	}

	.experience-title .section-title {
		font-size: clamp(46px, 6.4vw, 98px);
	}

	.contact-title {
		font-size: clamp(54px, 8vw, 120px);
	}

}


/* =========================================================
   ATÉ 1280PX
========================================================= */

@media (max-width: 1280px) {

	:root {
		--container-padding: 30px;
	}

	.site-navigation {
		gap: 26px;
	}

	.hero-content {
		width: min(680px, 60vw);
	}

	.hero-title {
		font-size: clamp(70px, 9vw, 128px);
	}

	.hero-bottom {
		gap: 42px;
	}

	.manifesto-title {
		font-size: clamp(46px, 7vw, 94px);
	}

	.manifesto-content {
		gap: 75px;
	}

	.services-header,
	.clients-heading {
		grid-template-columns: .55fr 1.45fr;
		gap: 60px;
	}

	.service-item {
		grid-template-columns: 70px 1fr minmax(260px, 380px) 70px;
		gap: 28px;
	}

	.experience-layout {
		gap: 70px;
	}

	.contact-title {
		font-size: clamp(52px, 8vw, 108px);
	}

}


/* =========================================================
   ATÉ 1100PX
========================================================= */

@media (max-width: 1100px) {

	.hero-content {
		width: min(640px, 64vw);
	}

	.hero-title {
		font-size: clamp(68px, 9.5vw, 118px);
	}

	.manifesto-title {
		font-size: clamp(44px, 7.6vw, 86px);
	}

	.manifesto-orbit-one {
		right: -28%;
	}

	.manifesto-orbit-two {
		right: -12%;
	}

	.service-title h3 {
		font-size: clamp(30px, 4vw, 54px);
	}

}


/* =========================================================
   ATÉ 1024PX
========================================================= */

@media (max-width: 1024px) {

	:root {
		--header-height: 88px;
	}

	.site-navigation,
	.site-header-contact {
		display: none;
	}

	.site-header-content {
		grid-template-columns: 1fr auto;
	}

	.site-menu-toggle {
		display: flex;
		justify-self: end;
	}

	.site-menu-toggle.is-active span:first-child {
		transform: translateY(4px) rotate(45deg);
	}

	.site-menu-toggle.is-active span:last-child {
		transform: translateY(-4px) rotate(-45deg);
	}

	.mobile-menu-index {
		top: 105px;
	}

	.hero-background::before {
		background:
			linear-gradient(
				90deg,
				rgba(0, 0, 0, .97) 0%,
				rgba(0, 0, 0, .86) 38%,
				rgba(0, 0, 0, .34) 72%,
				rgba(0, 0, 0, .16) 100%
			),
			linear-gradient(
				180deg,
				rgba(0, 0, 0, .26) 0%,
				rgba(0, 0, 0, 0) 45%,
				rgba(0, 0, 0, .82) 100%
			);
	}

	.hero-background-image {
		object-position: 62% center;
	}

	.hero-content {
		width: min(650px, 68vw);
	}

	.hero-title {
		font-size: clamp(68px, 10vw, 112px);
	}

	.hero-bottom {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.hero-specialties {
		max-width: 260px;
	}

	.hero-meta {
		gap: 28px;
	}

	.hero-index {
		display: none;
	}

	.manifesto-section,
	.services-section,
	.experience-section,
	.clients-section,
	.contact-section {
		padding-top: 130px;
		padding-bottom: 120px;
	}

	.manifesto-symbol {
		right: -20%;
		width: 65vw;
	}

	.manifesto-heading {
		max-width: 900px;
	}

	.manifesto-title {
		font-size: clamp(42px, 7.8vw, 78px);
	}

	.manifesto-content {
		gap: 60px;
		margin-top: 85px;
	}

	.services-header,
	.clients-heading {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.service-item {
		grid-template-columns: 62px 1fr 70px;
		gap: 24px;
		min-height: 170px;
	}

	.service-description {
		grid-column: 2 / 3;
		padding-bottom: 34px;
	}

	.service-icon {
		grid-column: 3 / 4;
		grid-row: 1 / 2;
	}

	.experience-layout {
		grid-template-columns: 1fr;
		gap: 46px;
	}

	.experience-content {
		max-width: 720px;
	}
	
	.experience-photo{
		max-width:420px;
	}
	
	.experience-content{
		align-items:flex-start;
	}
	
	.experience-content .text-reveal-mask{
		max-width:100%;
	}

	.numbers-grid {
		margin-top: 90px;
	}

	.number-item {
		min-height: 240px;
		padding: 42px 28px;
	}

	.clients-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-content {
		max-width: 900px;
	}

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

	.contact-footer-info {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: space-between;
	}

}


/* =========================================================
   ATÉ 900PX
========================================================= */

@media (max-width: 900px) {

	.hero-content {
		width: min(610px, 72vw);
	}

	.hero-title {
		font-size: clamp(64px, 10vw, 102px);
	}

	.manifesto-title {
		font-size: clamp(40px, 8vw, 70px);
	}

	.manifesto-orbit {
		opacity: .65;
	}

	.services-background-word {
		top: 90px;
	}

	.experience-background-number {
		right: -10vw;
	}

	.contact-symbol {
		right: -16%;
		width: 62vw;
	}

	.contact-title {
		font-size: clamp(48px, 9vw, 88px);
	}

}


/* =========================================================
   ATÉ 767PX
========================================================= */

@media (max-width: 767px) {

	:root {
		--container-padding: 15px;
		--header-height: 76px;
	}

	body {
		font-size: 15px;
	}

	.site-header.is-scrolled {
		height: 70px;
	}

	.site-brand {
		gap: 12px;
	}

	.site-brand-symbol {
		width: 40px;
		height: 40px;
	}

	.site-brand-text strong {
		font-size: 11px;
	}

	.site-brand-text small {
		font-size: 7px;
		letter-spacing: .26em;
	}

	.site-menu-toggle {
		width: 42px;
		height: 42px;
	}

	.mobile-menu {
		align-items: flex-start;
		justify-content: flex-start;
		padding-top: 130px;
	}

	.mobile-menu-navigation {
		width: 100%;
		padding: 0 28px;
		gap: 16px;
	}

	.mobile-menu-navigation a {
		width: 100%;
		font-size: clamp(34px, 12vw, 58px);
	}

	.mobile-menu-navigation a span {
		flex: 0 0 28px;
	}

	.mobile-menu-background {
		width: 90vw;
	}

	.mobile-menu-index {
		top: 94px;
		left: 28px;
	}

	.mobile-menu-footer {
		right: 28px;
		bottom: 24px;
		left: 28px;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.hero-section,
	.hero-container {
		min-height: 100svh;
	}

	.hero-container {
		align-items: flex-end;
		padding-top: calc(var(--header-height) + 40px);
		padding-bottom: 150px;
	}

	.hero-image-wrap {
		inset: -3%;
	}

	.hero-background-image {
		object-position: 66% center;
	}

	.hero-background::before {
		background:
			linear-gradient(
				180deg,
				rgba(0, 0, 0, .20) 0%,
				rgba(0, 0, 0, .18) 28%,
				rgba(0, 0, 0, .72) 62%,
				rgba(0, 0, 0, .98) 100%
			),
			linear-gradient(
				90deg,
				rgba(0, 0, 0, .70) 0%,
				rgba(0, 0, 0, .18) 100%
			);
	}

	.hero-grid {
		background-size: 42px 42px;
		mask-image: linear-gradient(
			to bottom,
			transparent 0%,
			#000 40%,
			transparent 100%
		);
		-webkit-mask-image: linear-gradient(
			to bottom,
			transparent 0%,
			#000 40%,
			transparent 100%
		);
	}

	.hero-glow-one {
		top: 22%;
		left: -35%;
		width: 280px;
		height: 280px;
	}

	.hero-glow-two {
		right: -30%;
		bottom: -10%;
		width: 360px;
		height: 360px;
	}

	.hero-content {
		width: 100%;
	}

	.hero-eyebrow {
		margin-bottom: 20px;
		font-size: 8px;
		letter-spacing: .16em;
	}

	.hero-eyebrow-line {
		width: 28px;
	}

	.hero-title {
		font-size: clamp(62px, 21vw, 96px);
		line-height: .82;
	}

	.hero-bottom {
		margin-top: 30px;
		padding-top: 24px;
	}

	.hero-introduction p {
		max-width: 100%;
		font-size: 15px;
		line-height: 1.65;
	}

	.hero-specialties-label {
		font-size: 8px;
	}

	.hero-specialties-words {
		height: 28px;
	}

	.hero-specialties-words span {
		font-size: 17px;
	}

	.hero-meta {
		display: none;
	}

	.hero-scroll {
		left: 20px;
		bottom: 28px;
	}

	.hero-scroll-text {
		font-size: 8px;
	}

	.hero-scroll-icon {
		width: 38px;
		height: 38px;
	}

	.hero-lines span:nth-child(1) {
		margin-left: 14%;
	}

	.hero-lines span:nth-child(2) {
		margin-left: 38%;
	}

	.hero-lines span:nth-child(3) {
		display: none;
	}

	.section-label {
		gap: 12px;
		font-size: 9px;
		letter-spacing: .16em;
	}

	.section-label > span {
		width: 32px;
		height: 32px;
	}

	.section-title {
		font-size: clamp(42px, 13vw, 66px);
		line-height: .96;
	}

	.manifesto-section,
	.services-section,
	.experience-section,
	.clients-section,
	.contact-section {
		min-height: auto;
		padding-top: 95px;
		padding-bottom: 95px;
	}

	.manifesto-section {
		padding-bottom: 110px;
	}

	.manifesto-symbol {
		top: 36%;
		right: -38%;
		width: 110vw;
	}

	.manifesto-orbit-one {
		top: 18%;
		right: -85%;
		width: 560px;
		height: 560px;
	}

	.manifesto-orbit-two {
		top: 28%;
		right: -40%;
		width: 280px;
		height: 280px;
	}

	.manifesto-title {
		margin-top: 36px;
		font-size: clamp(42px, 12.5vw, 68px);
		line-height: .96;
		letter-spacing: -.055em;
	}

	.manifesto-line-wrap {
		padding-bottom: .08em;
	}

	.manifesto-content {
		grid-template-columns: 1fr;
		gap: 38px;
		margin-top: 70px;
		padding-top: 38px;
	}

	.manifesto-icon {
		width: 82px;
		height: 82px;
		font-size: 28px;
	}

	.manifesto-icon::before {
		width: 82px;
		height: 82px;
	}

	.manifesto-text {
		justify-self: start;
	}

	.manifesto-text p {
		font-size: 18px;
		line-height: 1.55;
	}

	.text-link {
		margin-top: 28px;
		font-size: 11px;
	}

	.services-background-word {
		top: 90px;
		right: -15vw;
		font-size: 32vw;
	}

	.services-header,
	.clients-heading {
		margin-bottom: 62px;
	}

	.services-title,
	.clients-heading .section-title {
		font-size: clamp(42px, 13vw, 66px);
		line-height: .96;
	}

	.service-item {
		grid-template-columns: 44px 1fr 54px;
		gap: 14px;
		min-height: 156px;
		padding: 26px 0;
	}

	.service-item:hover {
		padding-left: 16px;
		padding-right: 16px;
	}

	.service-number {
		align-self: start;
		padding-top: 7px;
		font-size: 9px;
	}

	.service-title h3 {
		font-size: clamp(30px, 9vw, 46px);
	}

	.service-description {
		grid-column: 2 / 4;
		padding-bottom: 0;
	}

	.service-description p {
		font-size: 15px;
		line-height: 1.6;
	}

	.service-icon {
		width: 48px;
		height: 48px;
		font-size: 15px;
	}

	.experience-background-number {
		top: 28%;
		right: -30vw;
		font-size: 90vw;
	}

	.experience-title .section-title {
		margin-top: 36px;
		font-size: clamp(42px, 13vw, 68px);
	}

	.experience-content p {
		font-size: 15px;
	}
	
	.experience-content{
		align-items:center;
		text-align:left;
	}
	
	.experience-photo-wrap{
		width:100%;
		margin-bottom:32px;
	}
	
	.experience-photo{
		max-width:360px;
		margin:0 auto;
		border-radius:26px;
	}
	
	.experience-content .text-reveal-mask{
		max-width:100%;
	}

	.numbers-grid {
		grid-template-columns: 1fr;
		margin-top: 68px;
	}

	.number-item {
		min-height: 190px;
		padding: 38px 28px;
		border-right: 0;
		border-bottom: 1px solid var(--border-light);
	}

	.number-item:last-child {
		border-bottom: 0;
	}

	.number-value strong {
		font-size: clamp(70px, 22vw, 104px);
	}

	.number-value span {
		font-size: 42px;
	}

	.number-item p {
		margin-top: 22px;
	}

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

	.client-placeholder {
		min-height: 130px;
		padding: 20px;
		font-size: 10px;
	}

	.contact-section {
		min-height: 100svh;
		padding-top: 110px;
		padding-bottom: 210px;
	}

	.contact-symbol {
		top: 64%;
		right: -38%;
		width: 115vw;
	}

	.contact-marquee {
		top: 30px;
	}

	.contact-marquee-track span {
		font-size: 22vw;
	}

	.contact-title {
		margin-top: 38px;
		font-size: clamp(48px, 15vw, 78px);
		line-height: .90;
	}

	.contact-button {
		width: 100%;
		gap: 20px;
		margin-top: 48px;
		padding: 16px 16px 16px 24px;
		font-size: 10px;
	}

	.contact-button i {
		flex: 0 0 auto;
		width: 44px;
		height: 44px;
	}

	.contact-footer {
		right: 20px;
		bottom: 26px;
		left: 20px;
		grid-template-columns: 1fr auto;
		gap: 26px;
	}

	.contact-footer-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		font-size: 9px;
	}

	.contact-footer-social a {
		width: 38px;
		height: 38px;
	}

}


/* =========================================================
   ATÉ 600PX
========================================================= */

@media (max-width: 600px) {

	.hero-container {
		padding-bottom: 145px;
	}

	.hero-title {
		font-size: clamp(60px, 20.5vw, 88px);
	}

	.manifesto-title {
		font-size: clamp(40px, 12vw, 55px);
	}

	.service-item {
		grid-template-columns: 38px 1fr 50px;
	}

	.service-title h3 {
		font-size: clamp(28px, 8.8vw, 42px);
	}

	.clients-heading .section-title,
	.services-title,
	.experience-title .section-title {
		font-size: clamp(40px, 12vw, 50px);
	}

	.contact-title {
		font-size: clamp(46px, 14vw, 70px);
	}

}


/* =========================================================
   ATÉ 480PX
========================================================= */

@media (max-width: 480px) {

	.site-brand-text {
		display: none;
	}

	.mobile-menu-navigation {
		padding: 0 20px;
	}

	.mobile-menu-navigation a {
		gap: 14px;
	}

	.mobile-menu-index {
		left: 20px;
	}

	.mobile-menu-footer {
		right: 20px;
		left: 20px;
	}

	.hero-background-image {
		object-position: 69% center;
	}

	.hero-title {
		font-size: clamp(58px, 20vw, 82px);
	}

	.hero-eyebrow {
		max-width: 320px;
		line-height: 1.5;
	}

	.hero-specialties {
		max-width: 100%;
	}

	.manifesto-title {
		font-size: clamp(38px, 11.5vw, 50px);
	}

	.manifesto-text p {
		font-size: 15px;
	}

	.service-item {
		grid-template-columns: 34px 1fr 46px;
	}

	.service-title h3 {
		font-size: clamp(26px, 8.5vw, 36px);
	}

	.service-icon {
		width: 44px;
		height: 44px;
	}

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

	.client-placeholder {
		min-height: 110px;
	}

	.contact-content h2,
	.contact-title {
		font-size: clamp(44px, 14vw, 68px);
	}

	.contact-button span {
		max-width: 220px;
		line-height: 1.4;
	}

	.contact-footer-brand strong {
		font-size: 11px;
	}

	.contact-footer-brand span {
		font-size: 7px;
	}
	
	.experience-photo{
		max-width:100%;
		border-radius:22px;
	}

}


/* =========================================================
   ATÉ 380PX
========================================================= */

@media (max-width: 380px) {

	:root {
		--container-padding: 16px;
	}

	.hero-scroll {
		left: 16px;
	}

	.hero-title {
		font-size: clamp(54px, 19vw, 72px);
	}

	.hero-eyebrow {
		gap: 12px;
		font-size: 7px;
	}

	.hero-introduction p {
		font-size: 13px;
	}

	.manifesto-title {
		font-size: clamp(35px, 11vw, 49px);
	}

	.section-title,
	.services-title,
	.clients-heading .section-title,
	.experience-title .section-title {
		font-size: clamp(36px, 11.5vw, 52px);
	}

	.service-item {
		grid-template-columns: 30px 1fr 42px;
		gap: 10px;
	}

	.service-title h3 {
		font-size: clamp(24px, 8.2vw, 34px);
	}

	.service-icon {
		width: 40px;
		height: 40px;
	}

	.contact-title {
		font-size: clamp(40px, 13vw, 58px);
	}

	.contact-button {
		padding-left: 19px;
	}

	.contact-footer {
		right: 16px;
		left: 16px;
	}

}


/* =========================================================
   ALTURAS REDUZIDAS
========================================================= */

@media (max-height: 820px) and (min-width: 768px) {

	.hero-container {
		padding-top: calc(var(--header-height) + 20px);
		padding-bottom: 100px;
	}

	.hero-title {
		font-size: clamp(62px, 8vw, 112px);
	}

	.hero-bottom {
		margin-top: 34px;
		padding-top: 24px;
	}

	.hero-meta,
	.hero-scroll {
		bottom: 24px;
	}

	.contact-section {
		padding-top: 120px;
		padding-bottom: 120px;
	}

	.contact-title {
		margin-top: 36px;
		font-size: clamp(48px, 7vw, 96px);
	}

	.contact-button {
		margin-top: 46px;
	}

}


/* =========================================================
   MOBILE COM ALTURA REDUZIDA
========================================================= */

@media (max-height: 700px) and (max-width: 767px) {

	.hero-container {
		padding-top: calc(var(--header-height) + 25px);
		padding-bottom: 118px;
	}

	.hero-title {
		font-size: clamp(52px, 17vw, 76px);
	}

	.hero-eyebrow {
		margin-bottom: 14px;
	}

	.hero-bottom {
		margin-top: 22px;
		padding-top: 18px;
	}

	.hero-specialties {
		display: none;
	}

	.mobile-menu {
		padding-top: 105px;
	}

	.mobile-menu-navigation {
		gap: 10px;
	}

	.mobile-menu-navigation a {
		font-size: clamp(30px, 9vh, 48px);
	}

}


/* =========================================================
   ORIENTAÇÃO HORIZONTAL MOBILE
========================================================= */

@media (max-height: 520px) and (orientation: landscape) {

	.mobile-menu {
		align-items: center;
		padding-top: 60px;
	}

	.mobile-menu-navigation {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 14px 50px;
		max-width: 720px;
	}

	.mobile-menu-navigation a {
		font-size: clamp(28px, 7vw, 44px);
	}

	.mobile-menu-footer {
		display: none;
	}

	.hero-container {
		padding-top: 95px;
		padding-bottom: 70px;
	}

	.hero-title {
		font-size: clamp(54px, 12vw, 86px);
	}

	.hero-bottom {
		margin-top: 24px;
	}

	.hero-meta,
	.hero-scroll {
		display: none;
	}

}


/* =========================================================
   DISPOSITIVOS SEM HOVER
========================================================= */

@media (hover: none) {

	.service-item:hover {
		padding-left: 0;
		padding-right: 0;
	}

	.service-item:hover .service-progress {
		width: 0;
	}

	.service-item:hover .service-icon {
		background: transparent;
		color: inherit;
		transform: none;
	}

	.service-item:hover .service-description p {
		color: rgba(0, 0, 0, .60);
	}

	.number-item:hover::before {
		height: 0;
	}

	.number-item:hover .number-value strong {
		color: var(--color-white);
	}

	.number-item:hover .number-value span {
		color: var(--color-primary);
	}

	.number-item:hover p {
		color: var(--color-gray-500);
	}

	.client-placeholder:hover {
		color: rgba(255, 255, 255, .30);
	}

	.client-placeholder:hover::before {
		transform: translateY(102%);
	}

	.client-placeholder:hover span {
		transform: none;
	}

}


/* =========================================================
   REDUÇÃO DE MOVIMENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	.hero-scroll-icon i {
		animation: none;
	}

	.hero-image-wrap,
	.hero-background-image,
	.hero-content,
	.hero-grid,
	.hero-glow,
	.manifesto-symbol,
	.manifesto-orbit,
	.services-background-word,
	.experience-background-number,
	.contact-symbol {
		will-change: auto;
	}

}