/* ============================================================
   INOVAÇÃO: O QUE FAZEMOS — Estilos da página
   ============================================================ */

/* ---- HERO ---- */
#iof-hero {
    position: relative;
    overflow: hidden;
}

.iof-hero-container {
    overflow: hidden;
}

.iof-hero-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 600px;
    object-fit: cover;
}

.iof-hero-placeholder {
    width: 100%;
    height: 600px;
    background: #ecf1f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iof-hero-placeholder-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #5a738d;
    letter-spacing: -0.32px;
}

/* ---- PAINT ESQUERDO (dentro do hero) ---- */
.iof-paint-left {
    position: absolute;
    left: -74px;
    top: 0; /* Figma: top=-20px relativo ao hero; aceito 0 para evitar overflow:hidden visual */
    transform: rotate(180deg) scaleY(-1);
    pointer-events: none;
    z-index: 0;
}

.iof-paint-left img { width: 324px; display: block; }

/* ---- SEÇÃO DE CONTEÚDO ---- */
#iof-content {
    padding: 0 0 87px;
    position: relative;
    overflow: hidden;
}

/* ---- PAINT DIREITO (dentro do content) ---- */
.iof-paint-right {
    position: absolute;
    right: -100px;
    top: 496px; /* Figma: frame y=1472, content start y=976 → 496px */
    transform: rotate(180deg);
    pointer-events: none;
    z-index: 0;
}

.iof-paint-right img { width: 341px; display: block; }

/* ---- COLUNAS ---- */
.iof-columns {
    display: flex;
    align-items: flex-start;
}

.iof-left-col {
    width: 53.44%; /* Figma: 684/1280 */
    flex-shrink: 0;
    padding-top: 229px; /* Figma: texto top=1205, section top=976 → 229px */
}

.iof-right-col {
    width: 46.56%; /* Figma: 596/1280 */
    flex-shrink: 0;
}

/* ---- HEADING ESQUERDA ---- */
.iof-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #5a738d;
    letter-spacing: -0.32px;
    line-height: 1.62;
    max-width: 464px;
    margin: 0;
}

.iof-heading p,
.iof-heading strong,
.iof-heading em {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    margin-bottom: 0;
}

/* ---- CAIXA DIREITA ---- */
.iof-right-box {
    background: #ecf1f6;
    border-radius: 0 0 20px 20px;
    padding: 78px 40px 92px;
}

/* ---- TEXTOS DA CAIXA ---- */
.iof-body-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #5a738d;
    letter-spacing: -0.32px;
    line-height: 1.88;
    margin: 0;
}

.iof-body-text p {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    margin-bottom: 0;
}

.iof-body-text-1 { margin-bottom: 37px; }
.iof-body-text-2 { margin-top: 37px; }

/* ---- BOTÕES ---- */
.iof-buttons {
    display: flex;
    gap: 21px;
    flex-wrap: wrap;
}

.iof-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 198px;
    min-height: 157px;
    background: #66589e;
    border: 2px solid #66589e;
    border-radius: 20px;
    text-decoration: none;
    padding: 20px 16px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.iof-btn:hover {
    background: #554a87;
    border-color: #554a87;
    text-decoration: none;
}

.iof-btn-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 1.4;
    letter-spacing: -0.32px;
    margin: 0;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 1199px) {
    .iof-hero-img { height: 460px; }
    .iof-hero-placeholder { height: 460px; }
}

@media (max-width: 991px) {
    .iof-hero-img { height: 340px; }
    .iof-hero-placeholder { height: 340px; }
    .iof-columns { flex-direction: column; }
    .iof-left-col { width: 100%; padding-top: 50px; }
    .iof-right-col { width: 100%; margin-top: 32px; }
    .iof-right-box { border-radius: 20px; }
    .iof-heading { max-width: 100%; font-size: 20px; }
    #iof-content { padding-bottom: 60px; }
}

@media (max-width: 767px) {
    .iof-hero-img { height: 220px; }
    .iof-hero-placeholder { height: 220px; }
    .iof-left-col { padding-top: 36px; }
    .iof-heading { font-size: 18px; }
    .iof-body-text { font-size: 15px; }
    .iof-right-box { padding: 40px 24px 50px; }
    .iof-buttons { justify-content: center; }
    .iof-btn { width: 100%; max-width: 280px; min-height: 70px; }
    #iof-content { padding-bottom: 40px; }
}
