/* ==========================================================================
   Raizen Machine · Contato
   Mesmo registro editorial da Galeria e do Informativo:
   cantos retos, tipografia leve, hairlines, verde só como acento.
   Prefixo .ct- para não conflitar com o CSS global do site.
   ========================================================================== */

.ct-page {
    --ct-verde: #0f9d3a;
    --ct-verde-profundo: #06452c;
    --ct-verde-claro: #6ee88b;
    --ct-tinta: #101214;
    --ct-cinza: #6f747c;
    --ct-cinza-claro: #a6abb3;
    --ct-linha: #e4e5e8;
    --ct-painel: #f5f5f5;
    --ct-fonte: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    font-family: var(--ct-fonte);
    color: var(--ct-tinta);
    background: #fff;
    overflow-x: hidden;
}

.ct-page ::selection {
    background: rgba(15, 157, 58, .16);
}

/* o CSS global estiliza <p>/<h*> direto no elemento */
.ct-page :where(p) {
    font-family: var(--ct-fonte);
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    text-align: left;
    margin: 0;
}

.ct-page :where(h1, h2, h3, h4, h5, h6) {
    font-family: var(--ct-fonte);
    font-size: inherit;
    line-height: 1.2;
    font-weight: 500;
    color: inherit;
    margin: 0;
}

.ct-page :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-page :where(a) {
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Estrutura
   -------------------------------------------------------------------------- */
.ct-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

.ct-rotulo {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ct-cinza-claro);
}

/* --------------------------------------------------------------------------
   Topo
   -------------------------------------------------------------------------- */
.ct-topo {
    padding: 150px clamp(20px, 7vw, 150px) 125px;
    background: var(--ct-painel);
    text-align: left;
}

.ct-topo__titulo {
    margin: 20px 0 20px;
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -.038em;
    color: var(--ct-tinta);
    max-width: 20ch;
}

.ct-topo__lead {
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.68;
    font-weight: 300;
    color: #3a3e45;
    max-width: 56ch;
}

/* --------------------------------------------------------------------------
   Corpo
   -------------------------------------------------------------------------- */
.ct-corpo {
    display: grid;
    grid-template-columns: 340px 1fr;
    align-items: start;
    gap: 56px;
    margin: -48px 0 110px;
}

/* ------------------------- painel de canais ------------------------- */
.ct-canais {
    padding: 40px 36px;
    background: #006641;
    border-radius: 0;
    color: #fff;
}

.ct-canais__titulo {
    padding-bottom: 22px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.ct-canal {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ct-canal:last-of-type {
    border-bottom: 0;
    padding-bottom: 10px;
}

.ct-canal__icone {
    flex: 0 0 auto;
    display: block;
    width: auto;
    height: auto;
    margin-top: 3px;
    border-radius: 0;
    background: none;
    color: var(--ct-verde-claro);
    font-size: 13px;
}

.ct-canal__rotulo {
    display: block;
    margin-bottom: 7px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.ct-canal__valor {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, .92);
}

.ct-canal__valor a {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    transition: border-color .2s linear, color .2s linear;
}

.ct-canal__valor a:hover {
    color: var(--ct-verde-claro);
    border-color: var(--ct-verde-claro);
}

.ct-canais__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 0;
    background: none;
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: background-color .2s linear, border-color .2s linear, color .2s linear;
}

.ct-canais__btn:hover {
    background: var(--ct-verde);
    border-color: var(--ct-verde);
    color: #fff;
}

/* ------------------------- formulário ------------------------- */
.ct-form {
    padding: 52px 54px 56px;
    background: #fff;
    border: 1px solid var(--ct-linha);
    border-radius: 0;
    box-shadow: none;
}

.ct-form__titulo {
    font-size: clamp(1.45rem, 2.3vw, 1.95rem);
    font-weight: 400;
    letter-spacing: -.028em;
}

.ct-form__apoio {
    margin-top: 10px;
    font-size: .98rem;
    font-weight: 300;
    color: var(--ct-cinza);
}

/* blocos do formulário */
.ct-bloco {
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid #1e1e1e;
}

.ct-bloco:first-of-type {
    border-top: 1px solid var(--ct-tinta);
}

.ct-bloco__titulo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ct-tinta);
}

.ct-bloco__titulo span {
    display: block;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--ct-cinza-claro);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
}

.ct-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 32px;
}

.ct-campo {
    display: flex;
    flex-direction: column;
}

.ct-campo--largo {
    grid-column: 1 / -1;
}

.ct-campo label {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ct-cinza);
}

.ct-campo label span {
    font-weight: 500;
    letter-spacing: .1em;
    color: var(--ct-cinza-claro);
}

.ct-campo input[type="text"],
.ct-campo input[type="email"],
.ct-campo input[type="tel"],
.ct-campo textarea {
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--ct-linha);
    border-radius: 0;
    background: none;
    font-family: var(--ct-fonte);
    font-size: 1.02rem;
    font-weight: 300;
    color: var(--ct-tinta);
    transition: border-color .18s linear;
}

.ct-campo input::placeholder,
.ct-campo textarea::placeholder {
    color: var(--ct-cinza-claro);
    font-weight: 300;
}

.ct-campo input:focus,
.ct-campo textarea:focus {
    outline: none;
    border-bottom-color: var(--ct-tinta);
}

.ct-campo textarea {
    min-height: 128px;
    padding-top: 6px;
    resize: vertical;
    line-height: 1.65;
}

/* opções */
.ct-opcoes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ct-opcao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1px solid var(--ct-linha);
    border-radius: 0;
    background: #fff;
    font-size: .95rem;
    font-weight: 300;
    color: var(--ct-tinta);
    cursor: pointer;
    transition: border-color .18s linear, background-color .18s linear;
}

.ct-opcao:hover {
    border-color: #c9ced6;
}

.ct-opcao input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--ct-verde);
    cursor: pointer;
}

.ct-opcao:has(input:checked) {
    border-color: var(--ct-tinta);
    background: var(--ct-painel);
}

/* mensagens de retorno */
.dynamic-content {
    display: none;
}

.ct-aviso {
    padding: 20px 24px;
    margin-bottom: 6px;
    border-radius: 0;
    border-left: 2px solid var(--ct-verde);
    background: var(--ct-painel);
    font-size: .98rem;
    font-weight: 300;
    line-height: 1.6;
}

.ct-aviso--erro {
    border-left-color: #a3352a;
}

.ct-aviso strong {
    font-weight: 600;
}

/* envio */
.ct-envio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--ct-tinta);
}

.ct-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 17px 40px;
    border: 1px solid var(--ct-tinta);
    border-radius: 0;
    background: var(--ct-tinta);
    color: #fff;
    font-family: var(--ct-fonte);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s linear, border-color .2s linear;
}

.ct-btn:hover {
    background: var(--ct-verde);
    border-color: var(--ct-verde);
}

.ct-btn i {
    font-size: 10px;
}

.ct-nota {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ct-cinza-claro);
}

/* --------------------------------------------------------------------------
   Mapa
   -------------------------------------------------------------------------- */
.ct-mapa {
    height: 440px;
    background: var(--ct-painel);
}

.ct-mapa iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(1);
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
    .ct-wrap {
        padding: 0 28px;
    }

    .ct-corpo {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 84px;
    }

    .ct-form {
        padding: 38px 30px 40px;
    }
}

@media (max-width: 620px) {
    .ct-wrap {
        padding: 0 20px;
    }

    .ct-topo {
        padding: 104px 20px 66px;
    }

    .ct-corpo {
        margin: -36px 0 68px;
    }

    .ct-canais {
        padding: 30px 24px;
    }

    .ct-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ct-envio {
        gap: 18px;
    }

    .ct-btn {
        width: 100%;
        justify-content: center;
    }

    .ct-mapa {
        height: 300px;
    }
}
