:root {
    --km-blue: #3366cc;
    --km-blue-dark: #244a92;
    --km-blue-soft: #6890e1;
    --km-bg: #ecf2ff;
    --km-text-main: #111827;
    --km-text-soft: #4b5563;
    --km-text-light: #6b7280;
    --km-text-lighter: #9ca3af;
    --km-border-soft: #e5e7eb;
    --km-white: #ffffff;
    --km-bg-light: #f9fafb;
    --radius-card: 20px;
    --radius-input: 12px;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.07);
    --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.06);
    --shadow-button: 0 8px 18px rgba(51, 102, 204, 0.32);
    --max-width: 1120px;
    --transition-fast: 0.15s ease-out;
    --transition-medium: 0.18s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, -system-ui, sans-serif;
    color: var(--km-text-main);
    background: var(--km-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* a:hover {
    background-color: var(--km-blue-dark);
} */

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

/* =================== UTILITIES =================== */

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-wrapw {
    flex-wrap: wrap;
}

.gap-5 {
    gap: 5px;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

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

.maxh-55 {
    max-height: 55px;
}

.maxh-95,
.maxh-95b {
    max-height: 95px;
}

.maxh-120 {
    max-height: 120px;
}

.mb-22 {
    margin-bottom: 22px;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.height-18 {
    height: 18px;
}

/* =================== BUTTONS =================== */

.btn {
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--km-blue);
    color: var(--km-white);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    background: var(--km-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(51, 102, 204, 0.4);
}

.btn-outline {
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: var(--km-text-main);
    background: var(--km-white);
}

.btn-outline:hover {
    background: var(--km-bg-light);
    border-color: #9ca3af;
}

/* =================== NAVBAR =================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 64px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--km-text-soft);
}

.nav-links a {
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--km-blue);
    transition: width var(--transition-medium);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 880px) {
    .nav-links {
        display: none;
    }
}

/* =================== HERO =================== */

.hero-ultra {
    position: relative;
    width: 100%;
    height: 92vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center,
            #f7faff 0%,
            #eef3fd 35%,
            #e3ecfb 60%,
            #dae5fa 90%);

    /* background: radial-gradient(ellipse at center,
            #f7faff 0%,
            #e9f0fb 35%,
            #dbe6f8 60%,
            #cddbf4 90%); */
    /* background: radial-gradient(ellipse at center, #f7faff 0%, #e6eef9 35%, #dce6f5 60%, #cfdaf1 90%); */
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(480px at 70% 30%, rgba(90, 130, 215, 0.22), rgba(255, 255, 255, 0) 70%),
        radial-gradient(520px at 30% 75%, rgba(130, 155, 225, 0.22), rgba(255, 255, 255, 0) 70%),
        radial-gradient(860px at 50% 50%, rgba(185, 205, 240, 0.24), rgba(255, 255, 255, 0) 80%);
    /*
    background:
        radial-gradient(500px at 70% 30%, rgba(79, 124, 207, 0.25), rgba(255, 255, 255, 0) 70%),
        radial-gradient(550px at 30% 75%, rgba(136, 160, 219, 0.24), rgba(255, 255, 255, 0) 70%),
        radial-gradient(900px at 50% 50%, rgba(204, 215, 245, 0.26), rgba(255, 255, 255, 0) 80%);
*/
    /* background:
        radial-gradient(500px at 70% 30%, rgba(79, 124, 207, 0.3), transparent 70%),
        radial-gradient(550px at 30% 75%, rgba(136, 160, 219, 0.28), transparent 70%),
        radial-gradient(900px at 50% 50%, rgba(204, 215, 245, 0.3), transparent 80%); */
    animation: blobFloat 18s ease-in-out infinite alternate;
    filter: blur(38px);
}

@keyframes blobFloat {
    0% {
        transform: translate3d(-30px, -22px, 0);
    }

    100% {
        transform: translate3d(30px, 22px, 0);
    }
}

.hero-logo-container {
    position: relative;
    z-index: 10;
    padding: 32px 48px 0 48px;
    border-radius: 28px;
    backdrop-filter: blur(14px) saturate(170%);
    background-color: var(--km-white);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06), inset 0 0 40px rgba(255, 255, 255, 0.55);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    min-width: 240px;
    max-width: 420px;
}

@media (max-width: 640px) {
    .hero-ultra {
        height: 78vh;
    }

    .hero-logo-container {
        padding: 22px 26px 0 26px;
        border-radius: 22px;
    }
}

/* =================== SECTIONS =================== */

.section {
    padding: 60px 20px;
}

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

.section.soft {
    background: var(--km-bg);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    /* text-align: center; */
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 16px;
    font-weight: 500;
    color: var(--km-blue);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
    /* deixa a linha com largura controlável */
}

/* A linha de baixo */
.section-label::after {
    content: "";
    display: block;
    width: 220px;
    /* Largura da linha */
    height: 1px;
    /* Espessura */
    background-color: var(--km-blue-soft);
    /* Cor exata da sua linha */
    margin: 12px auto 20px auto;
    /* Espaçamento acima e centralização */
    border-radius: 3px;
    /* opcional */
}

.section-title {
    font-size: 30px;
    line-height: 1.15;
    text-align: center;
    margin-bottom: 12px;
}

@media (min-width: 880px) {
    .section-title {
        font-size: 34px;
    }
}

.section-subtitle {
    font-size: 15px;
    color: var(--km-text-soft);
    max-width: 940px;
    text-align: center;
    margin: 0 auto 36px auto;
}

/* =================== CARDS =================== */

.card-base {
    background: var(--km-white);
    border-radius: var(--radius-card);
    padding: 20px 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(229, 231, 235, 0.95);
}

.card {
    background: var(--km-white);
    border-radius: var(--radius-card);
    padding: 22px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(229, 231, 235, 0.95);
}

.card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    margin-bottom: 25px;
}

.card p {
    font-size: 14px;
    color: var(--km-text-soft);
    line-height: 1.5;
    margin-top: 25px;
}

.card-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--km-blue);
}

.card-icon path,
.card-icon rect,
.card-icon circle {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =================== GRIDS =================== */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

@media (min-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* =================== O QUE É =================== */

.oqe-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: flex-start;
}

@media (min-width: 960px) {
    .oqe-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
        gap: 40px;
    }

    .resumo-card {
        order: 0;
    }
}

@media (max-width: 960px) {
    .resumo-card {
        order: 2;
    }
}

.oqe-title {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 16px;
    text-align: center;
}

.oqe-text {
    font-size: 15px;
    color: var(--km-text-soft);
    margin-bottom: 18px;
    max-width: 560px;
}

.bullet-list {
    list-style: none;
    padding: 0;
    color: var(--km-text-soft);
    font-size: 15px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--km-blue);
}

.oqe-footnote {
    font-size: 12px;
    color: var(--km-text-lighter);
    text-align: center;
}

/* Resumo Card */

.resumo-card {
    background: var(--km-white);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 24px 26px;
    border: 2px solid rgba(229, 231, 235, 0.95);
}

.resumo-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.resumo-card p {
    font-size: 14px;
    color: var(--km-text-soft);
    margin-bottom: 10px;
}

.quote {
    font-size: 13px;
    color: var(--km-text-light);
    margin-top: 0px;
    margin-bottom: 30px !important;
    padding-left: 10px;
    font-style: italic;
    text-align: center;
}

.quote-text {
    font-size: 13px;
    color: var(--km-text-light);
    font-style: italic;
    margin-bottom: 12px;
}

.quote-author {
    font-size: 12px;
    color: #777;
    font-weight: 600;
    margin-top: 10px;
}

.quote>.frase {
    color: black;
    font-weight: 600;
    font-style: normal;
}

.quote>.frase br {
    display: none;
}

.quote>.normal {
    font-style: normal;
}

.pill-tagx {
    margin-top: 30px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 25px;
    border-radius: 999px;
    background: var(--km-blue);
    color: var(--km-bg-light);
    padding: 10px 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.45);
    font-size: 13px;
    font-weight: 500;
    justify-content: center;
    text-align: center;
}

.pill-tag {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    font-weight: 600;
    color: var(--km-blue-dark);
    letter-spacing: 0.2px;
    border-top: 1px solid #e6ecff;
    border-bottom: 1px solid #e6ecff;
    border-radius: 10px;
    background: #f7faff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pill-logo {
    height: 28px;
    width: auto;
}

/* =================== PILL BOARDS =================== */

.pill-board {
    background: var(--km-white);
    border-radius: var(--radius-card);
    padding: 20px 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(229, 231, 235, 0.95);
}

.pill-board-dark {
    background: #f4f7ff;
    /* background: var(--km-bg); */
    border-radius: var(--radius-card);
    padding: 20px 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(229, 231, 235, 0.95);
}

.pill-heading {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.pill-text {
    font-size: 14px;
    color: var(--km-text-soft);
}

/* =================== INFO BLOCKS =================== */

.info-block {
    background: var(--km-white);
    border-radius: var(--radius-card);
    padding: 20px 18px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(229, 231, 235, 0.95);
}

.info-block h3 {
    font-size: 16px;
    margin-bottom: 25px;
    text-align: center;
}

.info-block p {
    font-size: 14px;
    color: var(--km-text-soft);
    margin-top: 20px;
}

.tagline {
    font-size: 14px;
    color: var(--km-text-light);
    margin-top: 8px;
}

/* =================== IMAGES =================== */

.img-decorated {
    border: 1px solid #f0f0f0;
    padding: 10px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.img-simple,
.img-simple2 {
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-soft);
}

/* Modal fundo */
.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    z-index: 9999;
    animation: fadeIn .25s ease-out;
}

/* Container da imagem ampliada */
.image-modal img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    animation: zoomIn .25s ease-out;
}

/* Suavidade */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Cursor indicando zoom */
.zoomable {
    cursor: zoom-in;
    transition: transform .2s ease;
}

.zoomable:hover {
    transform: scale(1.03);
}

/* =================== FORMS =================== */

.km-form {
    margin-top: 40px;
    background: var(--km-white);
    padding: 32px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(229, 231, 235, 0.95);
}

.km-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 720px) {
    .km-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.km-full {
    grid-column: 1 / -1;
}

.km-field {
    text-align: left;
}

.km-field label {
    /* display: block; */
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--km-text-main);
    font-weight: 500;
}

.km-field input,
.km-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: var(--radius-input);
    border: 1px solid var(--km-border-soft);
    background: var(--km-bg-light);
    outline: none;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.km-field input:focus,
.km-field textarea:focus {
    border-color: var(--km-blue);
    background: var(--km-white);
}

/* =================== RADIO BUTTONS =================== */

.km-label-titulo {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--km-text-main);
    font-weight: 500;
}

.km-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--radius-input);
    border: 1px solid var(--km-border-soft);
    background: var(--km-bg-light);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.km-radio-group:focus-within {
    border-color: var(--km-blue);
    background: var(--km-white);
}

.km-radio-item {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-weight: normal;
    position: relative;
}

.km-radio-item input[type="radio"] {
    appearance: none;
    width: 12px;
    height: 12px;
    padding: 10px !important;
    border: 2px solid var(--km-border-soft);
    /* border-radius: 50%; */
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
    background: var(--km-white);
    margin: 0;
    flex-shrink: 0;
}

.km-radio-item input[type="radio"]:hover {
    border-color: var(--km-blue-soft);
}

.km-radio-item input[type="radio"]:checked {
    border-color: var(--km-blue);
    background: var(--km-white);
}

.km-radio-item input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    /* border-radius: 50%; */
    background: var(--km-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.km-radio-item span {
    font-size: 14px;
    color: var(--km-text-main);
    user-select: none;
    line-height: 1;
}

.km-radio-item:hover span {
    color: var(--km-blue);
}

/* =================== END RADIO BUTTONS =================== */


.g-recaptcha {
    transform: scale(1);
    /* altera tamanho geral */
    transform-origin: 0 0;
    /* mantém posição ao escalar */
    margin: 20px auto;
    /* centraliza */
    display: flex;
    justify-content: center;
}

/* =================== FOOTER =================== */

.footer {
    border-top: 1px solid rgba(229, 231, 235, 0.9);
    padding: 18px 20px 32px 20px;
    background: var(--km-white);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: var(--km-text-lighter);
}

.footer-inner a {
    color: var(--km-text-light);
}

/* Modal overlay */
.km-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Modal box */
.km-modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    opacity: 0;
    transition: 0.25s ease-out;
    font-family: system-ui, sans-serif;
}

/* Active state */
.km-modal.show {
    display: flex !important;
}

.km-modal.show .km-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.km-btn-close {
    margin-top: 20px;
    background: #005bcc;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 16px;
    cursor: pointer;
}

.km-btn-close:hover {
    background: #014fae;
}

#btnEnviar:disabled {
    background: #a0a0a0 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* =================== SETINHA DE HINT =================== */

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 28px;
    cursor: pointer;
    user-select: none;
    opacity: 0.85;
    transition: opacity .3s ease;
}

.scroll-hint:hover {
    opacity: 1;
}

.scroll-hint span {
    font-size: 18px;
    color: #3A5FB0;
    /* use sua cor institucional */
    margin-bottom: 6px;
    font-weight: 500;
}

.arrow {
    animation: floatDown 2.4s ease-in-out infinite;
}

@keyframes floatDown {
    0% {
        transform: translateY(0);
        opacity: .8;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: .8;
    }
}

/* =================== RESPONSIVE ADJUSTMENTS =================== */

@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;
    }

    .section {
        padding: 48px 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .oqe-title {
        font-size: 24px;
    }
}

/* =================== MOBILE FIXES - VERSÃO COMPLETA =================== */

@media (max-width: 768px) {

    /* Fix 1: Botão "Fale com a gente" no topo - evitar ficar escuro */
    .nav-right .btn-primary:active {
        background: var(--km-blue) !important;
        color: var(--km-white) !important;
    }

    /* Fix 2: Logo KM-Escolar menor no hero em mobile */
    .hero-logo {
        min-width: 180px;
        max-width: 280px;
    }

    /* Fix 3: Botões "Peça uma demonstração" e "Veja como" com mesma largura */
    .flex-center.flex-wrapw.gap-10 .btn {
        width: 100%;
        min-width: 240px;
        max-width: 280px;
    }

    /* Fix 4: Frase "Quem não é o maior..." alinhada e bonita */
    .quote {
        padding-left: 0;
        text-align: center;
    }

    .quote span {
        display: block;
        line-height: 1.6;
    }

    /* Fix 5: Módulos - Cards Financeiro, Secretaria, etc - Imagens alinhadas */
    .card .flex-row.gap-10.flex-center {
        flex-direction: column !important;
        gap: 15px;
    }

    .card .flex-row.gap-10.flex-center img {
        max-height: 200px !important;
        width: 100%;
        object-fit: contain;
    }

    .card .flex-col.gap-10.flex-center {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .card .flex-col.gap-10.flex-center img {
        max-height: 80px !important;
        width: auto;
    }

    .card .flex-col.gap-30.flex-center {
        flex-direction: row !important;
        gap: 10px;
    }

    /* Fix 6: Portais - 3 telas lado a lado ajustadas */
    .card .flex-row.gap-20.flex-center.flex-wrapw {
        flex-direction: row !important;
        justify-content: center;
        gap: 8px;
    }

    .card .flex-row.gap-20.flex-center.flex-wrapw img {
        max-height: 100px !important;
        width: auto;
        flex: 1;
        min-width: 0;
        object-fit: contain;
    }

    /* Fix 7: Depoimentos reais - 3 imagens lado a lado ajustadas */
    .info-block .flex-row.gap-10.flex-center.flex-wrapw {
        flex-direction: row !important;
        justify-content: center;
        gap: 8px;
    }

    .info-block .flex-row.gap-10.flex-center.flex-wrapw img {
        max-height: 70px !important;
        width: auto;
        flex: 1;
        min-width: 0;
        object-fit: contain;
    }

    /* Fix 8: Texto "Vamos conversar" - remover quebras de linha forçadas */
    .section-subtitle2 br {
        display: none;
    }

    .section-subtitle2 {
        text-align: left;
        line-height: 1.8;
    }

    /* Fix 9: Ícones WhatsApp + telefones na mesma linha */
    .flex-row.flex-wrapw.gap-10 {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .flex-row.flex-wrapw.gap-10>.flex-row {
        flex-direction: row !important;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

    .flex-row.flex-wrapw.gap-10>.flex-row img {
        flex-shrink: 0;
    }

    /* Fix adicional: Cards dos módulos - parágrafos com melhor espaçamento */
    .card p {
        margin-top: 15px;
        line-height: 1.6;
    }

    /* Fix adicional: Garantir que flex-row não force coluna globalmente */
    .flex-row.gap-5,
    .flex-row.gap-10:not(.flex-wrapw),
    .flex-row.gap-20:not(.flex-center) {
        flex-direction: row !important;
    }

    .img-simple2 {
        width: 90px !important;
        box-shadow: none;
    }

    .pill-logo {
        height: 22px;
    }

    .img-decorated {
        border: 1px solid #f0f0f0;
        box-shadow: none;
        padding: 10px;
        border-radius: 2px;
    }

    .quote>.frase {
        line-height: 1.2;
    }

    .quote>.frase br {
        display: inline;
    }

    .maxh-95b {
        width: 50px;
        height: 90px;
    }

    .g-recaptcha {
        transform: scale(.70);
        transform-origin: center;
    }
}

/* Ajuste específico para telas muito pequenas (< 400px) */
@media (max-width: 400px) {
    .hero-logo {
        max-width: 220px;
    }

    .card .flex-row.gap-20.flex-center.flex-wrapw img {
        max-height: 80px !important;
    }

    .info-block .flex-row.gap-10.flex-center.flex-wrapw img {
        max-height: 60px !important;
    }
}