/* ==========================================================================
   Iquattro — Header
   ========================================================================== */

@keyframes anileft {

    0% { transform: translateX(30px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}


.anileft1{
    
    animation: anileft 0.5s cubic-bezier(0, 0.77, 0.26, 1) 100ms forwards;
    opacity: 0;
}
.anileft2{
    
    animation: anileft 0.5s cubic-bezier(0, 0.77, 0.26, 1) 230ms forwards;
    opacity: 0;
}
.anileft3{
    
    animation: anileft 0.5s cubic-bezier(0, 0.77, 0.26, 1) 350ms forwards;
    opacity: 0;
}
.anileft4{
    
    animation: anileft 0.5s cubic-bezier(0, 0.77, 0.26, 1) 420ms forwards;
    opacity: 0;
}


@keyframes anibomb {

    0% { transform: scale(0.8); opacity: 0; }
    30% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
.anibomb {
    
    animation: anibomb 750ms cubic-bezier(0, 0.77, 0.26, 1) 300ms forwards;
    opacity: 0;
}


span.tab-icon svg path {
    fill: #a9bddf;
}

.active span.tab-icon svg path {
    fill: #fff;
}


.betterdocs-modal-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    background: #ffffff96;
    left: 0;
    top: 0;
	overflow: scroll;
}


.betterdocs-search-wrapper {
    background: #fff;
    width: 100%;
    max-width: 800px;
    padding: 30px;
    margin: 46px auto auto;
    box-shadow: 0px 14px 56px 0px rgba(50, 72, 117, 0.37);
    border-radius: 25px;
    max-height: unset;
    height: auto;
	position: relative;
	
}


.betterdocs-search-item-content {
    border-bottom: solid 1px #d6daeb;
    margin: 0 0 16px 0;
}



.betterdocs-search-popup {
    margin-bottom: 0 !important;
}


.betterdocs-searchform-input-wrap {
    width: auto;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 6px;
	flex-grow: 1;
}

.betterdocs-search-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}


.content-main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
	gap: 3px;
}

.betterdocs-search-items-wrapper.betterdocs-search-tab-content-wrapper {
    padding: 30px 0 0;
}


.content-sub {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    font-size: 16px;
	color: var(--iq-color-text, #63656C);
	padding: 0 0 0 24px;
}

.content-sub h5 {
    color: var(--iq-color-text, #63656C);
    font-weight: 500;
    letter-spacing: 0.075em;
    font-size: 11px;
    text-transform: uppercase;
    line-height: 1.55em;
}

.content-main h4 {
    margin: 0 0 10px;
}


.betterdocs-popular-keywords {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--iq-color-accent, #FF5100);
    
}

.keywords {
    display: flex;
    gap: 6px;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
	
}

.betterdocs-popular-keywords {
	margin-top: 6px;
	margin-bottom: 0;
}


.betterdocs-search-content {
    display: flex;
    flex-direction: column;
}


.betterdocs-search-info-tab.betterdocs-search-tabs {
    display: flex;
    gap: 5px;
}

.betterdocs-search-item-list path {
    fill: #a9bddf;
}

.betterdocs-tab-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    gap: 4px;
    font-size: 15px;
    padding: 5px 13px 5px 10px;
    border-radius: 12px;
    background: #75B0EA0F;
    cursor: pointer;
}

.betterdocs-tab-items.active {

	background-color: var(--iq-color-accent, #FF5100);
	color: 	#fff;

}


.xmark {
    display: none;
}


span.keyword {
    background: #fff7f0;
    padding: 1px 7px;
    border-radius: 13px;
}

svg.doc-search-icon {
    flex-shrink: 0;
}


.betterdocs-select-option-wrapper {
    width: auto;
	font-size: 16px;
	
}

.css-13cymwt-control {
    border: none !important;
    background: transparent !important;
}

span.command-key, span.esc-button {
    display: flex;
    background: #859cc21e;
    width: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-shrink: 0;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 5px;
    color: #61779c;
}


svg.doc-search-icon path {
    fill: #fb5003;
}

.betterdocs-live-search.betterdocs-search-popup .betterdocs-searchform .betterdocs-searchform-input-wrap .betterdocs-search-command {
    color: #869cc2 !important;
	font-size: 15px;
}

.iq-header__search .betterdocs-live-search.betterdocs-sidebar-search.betterdocs-search-popup{

}


.home .iq-header {
	background: #fff;
    box-shadow:none;	
	
}


.iq-header {
	background: #fff;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.07);	
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow var(--iq-transition);
}
.iq-header.is-stuck {
	box-shadow: 0 2px 12px rgba(32, 41, 69, 0.08);
}

.iq-header__inner {
    display: flex;
    gap: 20px;
    align-items: center;
    min-height: 72px;
    padding-block: 12px;
    flex-direction: row;
    align-content: center;
	justify-content: space-between;
	max-width: 1750px;
}

/* ---------- Brand: logo + texto ---------- */
.iq-header__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--iq-color-primary);
	line-height: 1;
	white-space: nowrap;
    flex-shrink: 0;
	margin: 0 30px 0 0;
}
.iq-header__brand:hover { color: var(--iq-color-accent); }

.iq-header__logo {
	display: block;
	height: 28px;
	width: auto;
	max-height: 36px !important;
}

.iq-header__site-title {
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}


.iq-header__suffix {
    font-weight: 400;
    color: var(--iq-color-primary);
    font-size: 13px;
    padding: 10px 0 0;
}
.iq-header__suffix strong {
	color: var(--iq-color-accent);
	font-weight: 700;
}

/* ---------- Busca ---------- */
.iq-header__search {
	width: 100%;
	max-width: 560px;
	margin-inline: auto;
}

@media (min-width: 768px) {
	body.home .iq-header.iq-header--search-hidden .iq-header__search {
		width: 0;
		max-width: 0;
		min-width: 0;
		flex: 0 0 0;
		margin: 0;
		overflow: visible;
	}

	body.home .iq-header.iq-header--search-hidden .iq-header__search #betterdocs-search-modal > .betterdocs-search-layout-1 {
		display: none;
	}
}

.iq-header__search .betterdocs-searchform,
.iq-header__search .search-form,
.betterdocs-search-header {
	display: flex;
	align-items: center;
	background: #75B0EA0F ; 
	border: 1px solid var(--iq-color-blue-soft, #4d76b1);
	border-radius: 15px ;
	padding: 6px 6px 6px 8px;
	transition: border-color var(--iq-transition), box-shadow var(--iq-transition);
	margin: 0px 0px 0px 0px ;
    width: 100% ;
    height: auto ;
	flex-direction: row;
    flex-wrap: wrap;
}

/* Barra inicial BetterDocs: botão explícito para indicar como iniciar a busca. */
.iq-header__search .betterdocs-search-modal-layout-1 .search-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	padding: 5px 6px 5px 12px;
	border: 1px solid var(--iq-color-blue-soft, #4d76b1);
	border-radius: 15px;
	background: #75B0EA0F;
	cursor: pointer;
}

.iq-header__search .betterdocs-search-modal-layout-1 .search-input-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
}

.iq-header__search .betterdocs-search-modal-layout-1 .search-input {
	flex: 1 1 auto;
	color: #818181;
	font-size: .95rem;
}

.iq-header__search .betterdocs-search-modal-layout-1 .search-button {
    flex: 0 0 auto;
    padding: 0px 18px;
    border-radius: 9px;
    background: var(--iq-color-accent, #fb5003);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
    height: 37px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}






.iq-header__search .betterdocs-searchform:focus-within,
.iq-header__search .search-form:focus-within {
	border-color: var(--iq-color-accent);
	box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.12);
	background: #fff;
}
.iq-header__search input[type="text"],
.iq-header__search input[type="search"] {
	flex: 1;
	background: transparent;
	border: 0;
	outline: 0;
	padding: 10px 12px;
	font-size: 0.95rem;
	color: var(--iq-color-primary);
	min-width: 0;
}
.iq-header__search input::placeholder {
	color: #818181;
}
.iq-header__search .docs-search-icon {
	width: 20px;
	height: 20px;
	fill: var(--iq-color-accent, #FF5100);
	flex-shrink: 0;
}
.iq-header__search .docs-search-loader,
.iq-header__search .docs-search-close {
	display: none;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* ---------- Botão CTA ---------- */
.iq-header__actions {
	display: flex;
	align-items: center;
}

.iq-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	border: 1px solid transparent;
	transition: all var(--iq-transition);
	white-space: nowrap;
}

.iq-btn--ghost {
    color: #61779c;
    border: none;
    background: #e9eff8;
    padding: 0 20px;
    height: 45px;
    border-radius: 8px;
    font-size: 15px;
    box-shadow: 0px 0px 0px 0px rgba(251, 80, 3, 0),
    0px 0 0 0 rgba(251, 80, 3, 0);
    transition: all 270ms linear;
}


.iq-btn--ghost:hover {
	color: var(--iq-color-accent, #FF5100);
	background: #fff;
	box-shadow: 0px 0px 0px 1px rgba(251, 80, 3, 1.00),
    0px 15px 23px -5px rgba(251, 80, 3, 0.25);
}
.iq-btn--ghost:hover .iq-icon--external path {
	fill: var(--iq-color-secondary, #324875);
}

.iq-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.iq-icon--external path {
	fill: currentColor;
	transition: fill var(--iq-transition);
}



@media (max-width: 1200px) {

span.command-key, span.esc-button {
	display: none;
}



    .xmark {
        display: flex;
        flex-direction: column;
        position: absolute;
        width: 30px;
        height: 30px;
        background: var(--iq-color-accent, #FF5100);
        align-content: center;
        align-items: center;
        justify-content: center;
        border-radius: 50px;
        right: 15px;
        top: -15px;
    }

	 .xmark svg {
		fill: #fff;
	 }

.betterdocs-modal-overlay {
    padding: 24px 40px 0;
}





}



/* ---------- Responsivo ---------- */
@media (max-width: 767px) {


	.betterdocs-modal-overlay {
    padding:0;
}


.iq-header__brand {
   
    align-items: flex-start;
    gap: 00;
    flex-shrink: 0;
    margin: 0 10px 0 0;
	flex-direction: column;
	
   
}
    .iq-header__logo {
        height: 24px;
    }

.betterdocs-select-option-wrapper {
    font-size: 14px;
    width: 100%;
    display: none;
}

.betterdocs-live-search.betterdocs-search-popup .betterdocs-searchform .betterdocs-searchform-input-wrap .betterdocs-search-command {
	display: none;
}

.iq-header__suffix {
	    padding: 7px 0 0;
}

.betterdocs-search-wrapper {
	padding: 30px 30px 100vw;
	margin: 71px auto auto;
}

.betterdocs-popular-keywords {
    order: 2;
}

.betterdocs-tab-items {
	font-size: 12px;
}

	
	.iq-header__actions { grid-area: actions; justify-self: end; }
	.iq-header__search  { grid-area: search; max-width: 100%; }

	.iq-header__cta span { display: none; }
	.iq-header__cta { padding: 10px; }
}

