*,
*::before,
*::after { box-sizing: border-box; }

:root {
    --santin-blue: #0034A0;
    --santin-blue-dark: #002574;
    --santin-sky: #008DFF;
    --santin-yellow: #FEBD01;
    --santin-ink: #091127;
    --santin-muted: #667085;
    --santin-line: #e7eaf0;
    --santin-bg: #f7f9fc;
    --white: #fff;
    --container: 1180px;
    --shadow: 0 12px 40px rgba(0, 52, 160, .10);
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--santin-ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(0, 52, 160, .08);
    backdrop-filter: blur(12px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 24px; }
.brand-image { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-image img { width: auto; max-height: 64px; }
.site-nav { margin-left: auto; }
.menu {
    display: flex; align-items: center; gap: 25px;
    list-style: none; margin: 0; padding: 0;
}
.menu a {
    position: relative; display: block; padding: 30px 0 25px;
    font-size: 13px; font-weight: 700; text-transform: uppercase;
}
.menu a::after {
    content: ""; position: absolute; left: 0; bottom: 17px; width: 0; height: 2px;
    background: var(--santin-blue); transition: width .2s ease;
}
.menu a:hover::after, .current-menu-item > a::after { width: 100%; }

.header-socials {
    display: flex; align-items: center; gap: 10px;
    margin-left: 10px;
}
.header-socials a,
.footer-social-icons a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(0,52,160,.12); color: var(--santin-blue);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.header-socials a:hover,
.footer-social-icons a:hover {
    color: #fff; background: var(--santin-blue); transform: translateY(-1px);
}
.header-socials svg,
.footer-social-icons svg {
    width: 18px; height: 18px; fill: currentColor;
}

.header-cta {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 13px 17px; background: var(--santin-yellow);
    color: #0a1736; border-radius: 4px; font-size: 12px;
    font-weight: 900; text-transform: uppercase; white-space: nowrap;
}

.menu-toggle {
    display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
}
.menu-toggle span:not(.screen-reader-text) {
    display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--santin-blue);
}
.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.hero-slider { position: relative; overflow: hidden; background: var(--santin-blue); }
.hero-track { position: relative; aspect-ratio: 1920 / 760; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide picture, .hero-slide img, .hero-slide-link { display: block; width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; }

.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5; width: 48px; height: 48px; border: 0; border-radius: 50%;
    color: #fff; background: rgba(0,0,0,.15); font-size: 36px; line-height: 1; cursor: pointer;
}
.slider-arrow.prev { left: 22px; } .slider-arrow.next { right: 22px; }
.slider-dots {
    position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
    z-index: 5; display: flex; gap: 8px;
}
.slider-dots button {
    width: 9px; height: 9px; border: 1px solid #fff; border-radius: 50%;
    padding: 0; background: transparent; cursor: pointer;
}
.slider-dots button.is-active { background: #fff; }

.section-space { padding: 78px 0; }
.eyebrow {
    display: inline-block; margin-bottom: 10px; color: var(--santin-blue);
    font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
}
.eyebrow.light { color: #fff; }

.about-section { background: #fff; }
.about-grid {
    display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; align-items: center;
}
.about-photo-wrap { position: relative; min-height: 500px; }
.about-photo {
    position: relative; z-index: 2; width: 76%; height: 440px; margin-left: 16%;
    overflow: hidden; border-radius: 10px; box-shadow: var(--shadow); background: #eef3fc;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-block {
    position: absolute; left: 6%; bottom: 18px; width: 160px; height: 210px;
    border-radius: 12px; background: var(--santin-blue);
}
.about-decor.about-waves {
    position: absolute; left: 0; bottom: 26px; width: 92px; opacity: .95;
}
.about-eagle {
    position: absolute; right: 0; bottom: -10px; width: 240px; opacity: .07; pointer-events: none;
}
.about-copy { position: relative; }
.about-copy h2, .section-heading h2 {
    margin: 0; letter-spacing: -.035em; line-height: 1.08;
}
.about-copy h2 { max-width: 700px; font-size: clamp(34px, 4vw, 54px); }
.about-copy h2 span { color: var(--santin-sky); }
.about-copy p {
    max-width: 680px; margin: 22px 0 30px; color: #364152; font-size: 16px;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 18px;
    min-height: 48px; padding: 0 20px; border-radius: 4px; font-size: 12px;
    font-weight: 900; text-transform: uppercase;
}
.btn-blue { color: #fff; background: var(--santin-blue); }
.btn-yellow { color: #09215a; background: var(--santin-yellow); }

.commitments { background: var(--santin-bg); }
.section-heading.centered { text-align: center; }
.section-heading h2 { font-size: clamp(30px, 3vw, 44px); }

.commitments-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 48px;
}
.commitment-card { position: relative; padding: 10px 28px 0; text-align: center; }
.commitment-card + .commitment-card { border-left: 1px solid #dce1ea; }
.commitment-icon-image {
    width: 66px; height: 66px; object-fit: contain; margin: 0 auto 14px;
}
.commitment-card h3 {
    min-height: 60px; margin: 13px 0 10px; color: var(--santin-blue);
    font-size: 15px; line-height: 1.25; text-transform: uppercase;
}
.commitment-card p { margin: 0; color: #475467; font-size: 13px; }

.row-heading {
    display: flex; align-items: end; justify-content: space-between;
    gap: 30px; margin-bottom: 32px;
}
.text-link {
    color: var(--santin-blue); font-size: 12px; font-weight: 900; text-transform: uppercase;
}

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.news-card {
    overflow: hidden; border: 1px solid var(--santin-line); border-radius: 8px;
    background: #fff; box-shadow: 0 6px 22px rgba(16,24,40,.05);
}
.news-image {
    display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9eef9;
}
.news-image img {
    width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease;
}
.news-card:hover .news-image img { transform: scale(1.035); }
.news-image-placeholder {
    display: grid; place-items: center; width: 100%; height: 100%; min-height: 220px;
    color: #fff; background: linear-gradient(135deg, var(--santin-blue), var(--santin-sky));
    font-size: 28px; font-weight: 900;
}
.news-content { padding: 22px; }
.news-meta {
    display: flex; gap: 14px; margin-bottom: 12px; color: var(--santin-blue);
    font-size: 11px; font-weight: 900; text-transform: uppercase;
}
.news-card h2, .news-card h3 { margin: 0 0 18px; line-height: 1.25; }
.news-card h2 { font-size: 23px; }
.news-card h3 { font-size: 20px; }

.gallery-section { background: #fff; }
.gallery-placeholder {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 1fr 1fr;
    gap: 10px; min-height: 430px; margin-top: 36px;
}
.gallery-placeholder > div {
    display: grid; place-items: center; min-height: 200px;
    color: rgba(255,255,255,.88);
    background: linear-gradient(135deg, var(--santin-blue), var(--santin-sky));
    font-weight: 900;
}
.gallery-placeholder .gallery-big {
    grid-row: 1 / span 2; min-height: 430px;
    background: linear-gradient(145deg, var(--santin-blue-dark), var(--santin-blue)); font-size: 28px;
}

.social-cta {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0,52,160,.98), rgba(0,141,255,.92)),
        var(--santin-blue);
}
.social-cta-inner {
    min-height: 160px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.social-copy h2 {
    margin: 0; font-size: clamp(34px, 5vw, 56px); font-weight: 300; line-height: 1;
}
.social-copy h2 strong { font-weight: 800; }
.social-copy p { margin: 9px 0 0; }
.social-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-social-icons { display: flex; gap: 12px; }

.site-footer { padding: 48px 0 22px; color: rgba(255,255,255,.78); background: #002574; }
.footer-grid {
    display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 44px;
}
.site-footer h3 {
    margin: 0 0 16px; color: #fff; font-size: 13px; text-transform: uppercase;
}
.footer-logo-image img { max-width: 164px; height: auto; }
.footer-brand p { max-width: 260px; font-size: 13px; }

.footer-menu, .footer-social-list {
    list-style: none; margin: 0; padding: 0;
}
.footer-menu li, .footer-social-list li { margin: 6px 0; }
.site-footer a:hover { color: #fff; }

.footer-legal {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15);
    font-size: 10px; text-align: center; text-transform: uppercase;
}
.footer-cnpj { color: var(--santin-yellow); font-weight: 900; }

.page-hero, .single-header {
    padding: 74px 0;
    color: #fff; background: linear-gradient(120deg, var(--santin-blue-dark), var(--santin-blue), var(--santin-sky));
}
.page-hero h1, .single-header h1 {
    margin: 0; font-size: clamp(38px, 6vw, 72px); line-height: 1.03; letter-spacing: -.045em;
}
.archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.single-container { width: min(calc(100% - 40px), 860px); }
.single-meta {
    margin-bottom: 14px; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 700; text-transform: uppercase;
}
.single-excerpt {
    max-width: 760px; margin: 22px 0 0; color: rgba(255,255,255,.86); font-size: 20px;
}
.single-featured { margin-top: 44px; }
.single-featured img { width: 100%; border-radius: 10px; }
.single-content, .page-content { padding-top: 50px; padding-bottom: 80px; font-size: 18px; }
.single-content p, .page-content p { margin: 0 0 1.3em; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers {
    display: grid; place-items: center; min-width: 40px; height: 40px;
    border: 1px solid var(--santin-line); border-radius: 4px;
}
.pagination .current {
    color: #fff; background: var(--santin-blue); border-color: var(--santin-blue);
}

@media (max-width: 1140px) {
    .menu { gap: 18px; }
    .commitments-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .commitment-card + .commitment-card { border-left: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
    .header-socials { display: none; }
    .header-cta { display: none; }
}
@media (max-width: 820px) {
    .header-inner { min-height: 76px; }
    .menu-toggle { display: block; margin-left: auto; }
    .site-nav {
        position: fixed; top: 76px; left: 0; right: 0; display: none;
        margin: 0; padding: 12px 20px 28px; background: #fff;
        border-top: 1px solid var(--santin-line); box-shadow: 0 18px 40px rgba(0,0,0,.08);
    }
    .site-nav.is-open { display: block; }
    .menu { display: block; }
    .menu a { padding: 14px 0; }
    .menu a::after { display: none; }
    .hero-track { aspect-ratio: 4 / 5; }
    .about-grid { grid-template-columns: 1fr; gap: 42px; }
    .about-photo-wrap { min-height: 420px; }
    .about-photo { width: 82%; height: 380px; margin-left: 12%; }
    .about-eagle { width: 180px; right: 12px; }
    .news-grid, .archive-grid { grid-template-columns: 1fr; }
    .gallery-placeholder { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .gallery-placeholder .gallery-big {
        grid-column: 1 / -1; grid-row: auto; min-height: 300px;
    }
    .social-cta-inner {
        min-height: 240px; flex-direction: column; justify-content: center; align-items: flex-start;
    }
    .social-cta-actions { align-items: flex-start; }
}
@media (max-width: 600px) {
    .site-container { width: min(calc(100% - 28px), var(--container)); }
    .brand-image img { max-height: 52px; max-width: 220px; }
    .slider-arrow { width: 40px; height: 40px; }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }
    .section-space { padding: 58px 0; }
    .about-photo-wrap { min-height: 350px; }
    .about-photo { width: 86%; height: 320px; margin-left: 10%; }
    .about-block { width: 120px; height: 150px; }
    .about-copy h2 { font-size: 37px; }
    .commitments-grid { grid-template-columns: 1fr; gap: 0; }
    .commitment-card { padding: 28px 12px; border-top: 1px solid #dce1ea; }
    .commitment-card:first-child { border-top: 0; }
    .row-heading { align-items: flex-start; flex-direction: column; }
    .gallery-placeholder { grid-template-columns: 1fr 1fr; gap: 6px; }
    .gallery-placeholder > div { min-height: 140px; }
    .gallery-placeholder .gallery-big { min-height: 230px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal { align-items: center; flex-direction: column; gap: 8px; }
}


/* ============================
   V5 - ajustes de acabamento
   ============================ */

/* Garante que o cabeçalho oficial do tema fique visível. */
body.santin-theme .site-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 99999 !important;
    width: 100% !important;
    min-height: 92px;
    background: #fff !important;
}

body.santin-theme .header-inner {
    min-height: 92px;
}

/* Logo: os arquivos foram recortados para remover área transparente excedente. */
body.santin-theme .brand-image img {
    width: 190px;
    max-width: 190px;
    max-height: none;
    height: auto;
}

/* Ícones sociais do topo maiores. */
body.santin-theme .header-socials a {
    width: 40px;
    height: 40px;
}
body.santin-theme .header-socials svg {
    width: 21px;
    height: 21px;
}

/* Ícones das bandeiras maiores e com presença visual. */
body.santin-theme .commitment-icon-image {
    width: 92px;
    height: 92px;
    margin: 0 auto 16px;
    object-fit: contain;
}

/* Ícones sociais da faixa azul maiores. */
body.santin-theme .footer-social-icons {
    gap: 14px;
}
body.santin-theme .footer-social-icons a {
    width: 48px;
    height: 48px;
    border-width: 2px;
    border-color: rgba(255,255,255,.78);
    color: #fff;
}
body.santin-theme .footer-social-icons svg {
    width: 25px;
    height: 25px;
}

/* Rodapé oficial do tema. */
body.santin-theme .santin-official-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 20;
}

/* CNPJ/legal bem visível. */
body.santin-theme .footer-legal {
    width: min(calc(100% - 40px), var(--container));
    min-height: 66px;
    margin: 34px auto 0;
    padding: 18px 0 4px;
    border-top: 2px solid rgba(254,189,1,.9);
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
}
body.santin-theme .footer-cnpj {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--santin-yellow) !important;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

/*
 * Esconde cabeçalhos/rodapés antigos criados por Elementor Theme Builder
 * ou plugins de Header/Footer Builder. O conteúdo normal do Elementor
 * nas páginas continua disponível.
 */
body.santin-theme .elementor-location-header,
body.santin-theme .elementor-location-footer,
body.santin-theme .elementor-type-header,
body.santin-theme .elementor-type-footer,
body.santin-theme .hfe-header,
body.santin-theme .hfe-footer,
body.santin-theme #masthead:not(.site-header),
body.santin-theme #colophon:not(.site-footer) {
    display: none !important;
}

/* A galeria foi removida da Home na V5. */
body.santin-theme .gallery-section {
    display: none !important;
}

@media (max-width: 980px) {
    body.santin-theme .brand-image img {
        width: 168px;
        max-width: 168px;
    }
}

@media (max-width: 600px) {
    body.santin-theme .site-header,
    body.santin-theme .header-inner {
        min-height: 76px;
    }

    body.santin-theme .brand-image img {
        width: 152px;
        max-width: 152px;
    }

    body.santin-theme .commitment-icon-image {
        width: 104px;
        height: 104px;
    }

    body.santin-theme .footer-social-icons a {
        width: 50px;
        height: 50px;
    }

    body.santin-theme .footer-legal {
        width: min(calc(100% - 28px), var(--container));
        padding-top: 18px;
        font-size: 11px;
    }

    body.santin-theme .footer-cnpj {
        font-size: 13px;
        white-space: normal;
        text-align: center;
    }
}


/* ==========================================================
   V6 — acabamento + páginas internas
   ========================================================== */

/* Logo menor, no tamanho da prévia aprovada. */
body.santin-theme .brand-image img {
    width: 132px !important;
    max-width: 132px !important;
    height: auto !important;
    max-height: 56px !important;
    object-fit: contain !important;
}

body.santin-theme .site-header,
body.santin-theme .header-inner {
    min-height: 76px !important;
}

/* Oculta variantes conhecidas do rodapé legado. */
body.santin-theme .elementor-location-footer,
body.santin-theme .elementor-type-footer,
body.santin-theme .hfe-footer,
body.santin-theme .hfe-before-footer-wrap,
body.santin-theme footer.elementor,
body.santin-theme footer[data-elementor-type="footer"] {
    display: none !important;
}

/* Página institucional: Quem é Santin */
.internal-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 78px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(0,141,255,.32), transparent 34%),
        linear-gradient(120deg, var(--santin-blue-dark), var(--santin-blue));
}
.internal-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(254,189,1,.11);
}
.internal-hero .eyebrow {
    color: var(--santin-yellow);
}
.internal-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0;
    font-size: clamp(46px, 7vw, 86px);
    line-height: .98;
    letter-spacing: -.055em;
}
.internal-hero p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 19px;
}

.bio-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 72px;
    align-items: center;
}
.bio-photo {
    overflow: hidden;
    border-radius: 14px;
    background: #edf2fb;
    box-shadow: var(--shadow);
}
.bio-photo img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: center top;
}
.bio-copy h2 {
    margin: 0 0 22px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    letter-spacing: -.04em;
}
.bio-copy h2 span {
    color: var(--santin-sky);
}
.bio-copy p {
    color: #394150;
    font-size: 17px;
}
.bio-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
}
.bio-highlight {
    padding: 22px;
    border: 1px solid var(--santin-line);
    border-radius: 10px;
    background: #fff;
}
.bio-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: var(--santin-blue);
    font-size: 16px;
}
.bio-highlight span {
    color: var(--santin-muted);
    font-size: 13px;
}

/* Propostas */
.proposals-page {
    background: #f8faff;
}
.proposals-intro {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}
.proposals-intro h2 {
    margin: 0 0 16px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.06;
}
.proposals-intro p {
    color: var(--santin-muted);
}
.proposals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.proposal-card {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 22px;
    align-items: start;
    padding: 30px;
    border: 1px solid var(--santin-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,52,160,.055);
}
.proposal-card img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}
.proposal-card h3 {
    margin: 0 0 10px;
    color: var(--santin-blue);
    font-size: 21px;
    line-height: 1.18;
}
.proposal-card p {
    margin: 0;
    color: #4b5565;
}

/* Contato */
.contact-page-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 56px;
    align-items: start;
}
.contact-info-card,
.contact-form-card {
    border: 1px solid var(--santin-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}
.contact-info-card {
    padding: 36px;
    color: #fff;
    background: linear-gradient(145deg, var(--santin-blue-dark), var(--santin-blue));
}
.contact-info-card h2 {
    margin: 0 0 12px;
    font-size: 34px;
}
.contact-info-card p {
    color: rgba(255,255,255,.8);
}
.contact-mail {
    display: inline-block;
    margin-top: 20px;
    color: var(--santin-yellow);
    font-weight: 800;
    word-break: break-word;
}
.contact-form-card {
    padding: 36px;
}
.santin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.santin-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.santin-form-field.full {
    grid-column: 1 / -1;
}
.santin-form-field label {
    color: var(--santin-blue-dark);
    font-size: 13px;
    font-weight: 800;
}
.santin-form-field input,
.santin-form-field textarea {
    width: 100%;
    border: 1px solid #d9dfeb;
    border-radius: 7px;
    padding: 13px 14px;
    outline: none;
}
.santin-form-field input:focus,
.santin-form-field textarea:focus {
    border-color: var(--santin-sky);
    box-shadow: 0 0 0 3px rgba(0,141,255,.09);
}
.santin-form-message {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: 7px;
    font-size: 14px;
}
.santin-form-message.success {
    color: #075b31;
    background: #e8f8ef;
}
.santin-form-message.error {
    color: #8a1c1c;
    background: #fdecec;
}

/* Notícias */
.news-archive-header {
    margin-bottom: 34px;
}
.news-archive-header h1 {
    margin: 0;
}
.archive-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.single-post .single-content {
    line-height: 1.8;
}
.single-post .single-content h2,
.single-post .single-content h3 {
    margin-top: 1.6em;
    line-height: 1.18;
}
.single-post .single-content img {
    border-radius: 10px;
}

@media (max-width: 900px) {
    .bio-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .bio-photo img {
        height: 520px;
    }

    .bio-highlights {
        grid-template-columns: 1fr;
    }

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

    .archive-news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    body.santin-theme .brand-image img {
        width: 116px !important;
        max-width: 116px !important;
        max-height: 50px !important;
    }

    .internal-hero {
        padding: 68px 0 58px;
    }

    .bio-photo img {
        height: 430px;
    }

    .proposal-card {
        grid-template-columns: 64px 1fr;
        padding: 22px;
    }

    .proposal-card img {
        width: 58px;
        height: 58px;
    }

    .santin-form-grid {
        grid-template-columns: 1fr;
    }

    .archive-news-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   V6.2 - recuperação estável
   ========================================================== */

/* Logo vertical oficial em tamanho intermediário */
body.santin-theme .brand-image img {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
    max-height: 66px !important;
    object-fit: contain !important;
}

body.santin-theme .site-header,
body.santin-theme .header-inner {
    min-height: 84px !important;
}

/* Rodapé oficial sempre visível */
body.santin-theme .santin-official-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-height: 245px !important;
    padding: 48px 0 22px !important;
    color: rgba(255,255,255,.82) !important;
    background: #002574 !important;
}

body.santin-theme .santin-official-footer .footer-grid {
    display: grid !important;
}

body.santin-theme .santin-official-footer .footer-legal {
    display: flex !important;
    visibility: visible !important;
}

body.santin-theme .santin-official-footer .footer-cnpj {
    display: inline-block !important;
    color: #FEBD01 !important;
    font-weight: 900 !important;
}

/* Oculta somente rodapés legados do Elementor */
body.santin-theme .elementor-location-footer,
body.santin-theme .elementor-type-footer,
body.santin-theme .hfe-footer,
body.santin-theme .hfe-before-footer-wrap,
body.santin-theme footer[data-elementor-type="footer"] {
    display: none !important;
}

@media (max-width: 820px) {
    body.santin-theme .brand-image img {
        width: 138px !important;
        max-width: 138px !important;
        max-height: 60px !important;
    }

    body.santin-theme .santin-official-footer {
        min-height: 0 !important;
    }
}

@media (max-width: 600px) {
    body.santin-theme .brand-image img {
        width: 126px !important;
        max-width: 126px !important;
        max-height: 56px !important;
    }
}



/* =========================================================
   PÁGINAS INTERNAS V6.3
   ========================================================= */

.santin-page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, rgba(0,141,255,.42), transparent 30%),
        linear-gradient(120deg, #002574 0%, #0034A0 58%, #008DFF 100%);
}

.santin-page-hero .santin-kicker {
    color: #FEBD01;
}

.santin-page-hero-grid {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}

.santin-page-hero-copy {
    position: relative;
    z-index: 3;
    padding: 72px 0;
}

.santin-page-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
}

.santin-page-hero p {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 19px;
    line-height: 1.6;
}

.santin-page-hero-narrow {
    position: relative;
    z-index: 2;
    padding: 92px 0 86px;
}

.santin-page-hero-photo {
    position: relative;
    align-self: stretch;
    min-height: 520px;
}

.santin-page-hero-photo img {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    width: min(440px, 92%);
    max-height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 28px 28px 0 0;
}

.santin-page-photo-shape {
    position: absolute;
    right: 36px;
    bottom: -90px;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    background: #FEBD01;
    opacity: .95;
}

.santin-page-hero-eagle {
    position: absolute;
    left: -80px;
    bottom: -120px;
    width: 410px;
    opacity: .08;
}

.santin-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #0034A0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.santin-kicker-light {
    color: #fff;
}

.santin-section {
    padding: 88px 0;
}

.santin-bio-main-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 82px;
    align-items: center;
}

.santin-bio-image-card {
    position: relative;
    overflow: visible;
}

.santin-bio-image-card > img:first-child {
    width: 100%;
    height: 610px;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    box-shadow: 0 22px 60px rgba(0,52,160,.14);
}

.santin-bio-waves {
    position: absolute;
    left: -66px;
    bottom: 44px;
    width: 150px;
    z-index: -1;
}

.santin-bio-text h2,
.santin-section-title h2 {
    margin: 0;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.santin-bio-text p {
    margin: 20px 0;
    color: #465065;
    font-size: 17px;
    line-height: 1.75;
}

.santin-values {
    background: #f7f9fc;
}

.santin-section-title {
    max-width: 760px;
    margin-bottom: 44px;
}

.santin-section-title-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.santin-section-title > p {
    color: #667085;
    font-size: 17px;
}

.santin-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.santin-value-card {
    min-height: 250px;
    padding: 30px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5eaf3;
    box-shadow: 0 8px 26px rgba(0,52,160,.045);
}

.santin-value-card > span {
    display: inline-block;
    margin-bottom: 36px;
    color: #008DFF;
    font-size: 13px;
    font-weight: 900;
}

.santin-value-card h3 {
    margin: 0 0 10px;
    color: #0034A0;
    font-size: 25px;
}

.santin-value-card p {
    margin: 0;
    color: #5c6577;
    line-height: 1.65;
}

.santin-page-cta {
    padding: 58px 0;
    color: #fff;
    background: #0034A0;
}

.santin-page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.santin-page-cta h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -.04em;
}

/* propostas */

.santin-proposals {
    background: #f8faff;
}

.santin-proposals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.santin-proposal-card {
    position: relative;
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 26px;
    min-height: 300px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid #e4e9f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 36px rgba(0,52,160,.06);
}

.santin-proposal-card:nth-child(5) {
    grid-column: 1 / -1;
}

.santin-proposal-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.santin-proposal-icon img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.santin-proposal-number {
    display: inline-block;
    margin-bottom: 12px;
    color: #008DFF;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
}

.santin-proposal-card h3 {
    margin: 0 0 8px;
    color: #0034A0;
    font-size: 27px;
    line-height: 1.1;
}

.santin-proposal-card strong {
    display: block;
    margin-bottom: 13px;
    color: #111a30;
    font-size: 15px;
}

.santin-proposal-card p {
    margin: 0;
    color: #5d6678;
    line-height: 1.68;
}

.santin-proposals-note {
    display: flex;
    gap: 18px;
    margin-top: 30px;
    padding: 22px 26px;
    border-left: 4px solid #FEBD01;
    background: #fff;
    color: #5e6677;
}

.santin-proposals-note strong {
    flex-shrink: 0;
    color: #0034A0;
}

/* contato */

.santin-contact {
    background: #f7f9fc;
}

.santin-contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 38px;
    align-items: stretch;
}

.santin-contact-panel {
    min-height: 580px;
    padding: 46px;
    border-radius: 18px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 15%, rgba(0,141,255,.42), transparent 30%),
        #002574;
}

.santin-contact-panel h2 {
    margin: 0 0 18px;
    font-size: 46px;
    line-height: 1;
    letter-spacing: -.04em;
}

.santin-contact-panel > p {
    color: rgba(255,255,255,.78);
    line-height: 1.7;
}

.santin-contact-detail {
    margin-top: 34px;
}

.santin-contact-detail span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.santin-contact-detail a,
.santin-contact-detail strong {
    color: #fff;
    font-size: 17px;
}

.santin-contact-divider {
    margin: 38px 0 26px;
    border-top: 1px solid rgba(255,255,255,.16);
}

.santin-contact-panel small {
    color: rgba(255,255,255,.56);
    line-height: 1.6;
}

.santin-contact-form-wrap {
    padding: 46px;
    border: 1px solid #e4e9f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(0,52,160,.06);
}

.santin-contact-form-heading h2 {
    margin: 0 0 30px;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -.04em;
}

.santin-contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
}

.santin-contact-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.santin-contact-field-full {
    grid-column: 1 / -1;
}

.santin-contact-field label {
    color: #1a2541;
    font-size: 12px;
    font-weight: 800;
}

.santin-contact-field input,
.santin-contact-field textarea {
    width: 100%;
    border: 1px solid #d9dfeb;
    border-radius: 8px;
    padding: 14px 15px;
    outline: none;
    background: #fff;
    color: #111a30;
}

.santin-contact-field input:focus,
.santin-contact-field textarea:focus {
    border-color: #008DFF;
    box-shadow: 0 0 0 3px rgba(0,141,255,.09);
}

.santin-contact-submit {
    border: 0;
    cursor: pointer;
}

.santin-form-alert {
    margin-bottom: 22px;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.santin-form-alert.success {
    color: #075d35;
    background: #e9f9f0;
}

.santin-form-alert.error {
    color: #8d2222;
    background: #fdecec;
}

.santin-honeypot {
    position: absolute !important;
    left: -9999px !important;
}

/* responsive */

@media (max-width: 960px) {
    .santin-page-hero-grid,
    .santin-bio-main-grid,
    .santin-contact-grid {
        grid-template-columns: 1fr;
    }

    .santin-page-hero-photo {
        min-height: 440px;
    }

    .santin-values-grid,
    .santin-proposals-grid {
        grid-template-columns: 1fr 1fr;
    }

    .santin-proposal-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    .santin-section {
        padding: 64px 0;
    }

    .santin-page-hero-grid {
        min-height: 0;
    }

    .santin-page-hero-copy,
    .santin-page-hero-narrow {
        padding: 66px 0 58px;
    }

    .santin-page-hero h1 {
        font-size: 47px;
    }

    .santin-page-hero p {
        font-size: 16px;
    }

    .santin-page-hero-photo {
        min-height: 390px;
    }

    .santin-page-hero-photo img {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(350px, 90%);
        max-height: 380px;
    }

    .santin-page-photo-shape {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 310px;
        height: 310px;
    }

    .santin-bio-image-card > img:first-child {
        height: 470px;
    }

    .santin-values-grid,
    .santin-proposals-grid {
        grid-template-columns: 1fr;
    }

    .santin-proposal-card {
        grid-template-columns: 74px 1fr;
        gap: 18px;
        padding: 25px;
        min-height: 0;
    }

    .santin-proposal-icon img {
        width: 65px;
        height: 65px;
    }

    .santin-proposals-note {
        flex-direction: column;
    }

    .santin-contact-panel,
    .santin-contact-form-wrap {
        padding: 30px;
    }

    .santin-contact-panel {
        min-height: 0;
    }

    .santin-contact-fields {
        grid-template-columns: 1fr;
    }

    .santin-contact-field-full {
        grid-column: auto;
    }

    .santin-page-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==========================================================
   V6.7 - RODAPÉ EMBUTIDO DIRETAMENTE NOS TEMPLATES
   ========================================================== */
body.santin-theme .site-footer.santin-official-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 48px 0 22px !important;
    background: #002574 !important;
    color: rgba(255,255,255,.82) !important;
    position: relative !important;
    z-index: 20 !important;
}
body.santin-theme .site-footer.santin-official-footer .footer-grid {
    display: grid !important;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 44px;
}
body.santin-theme .site-footer.santin-official-footer .footer-logo-image img {
    width: 260px !important;
    max-width: 100% !important;
    height: auto !important;
}
body.santin-theme .site-footer.santin-official-footer .footer-legal {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
@media (max-width: 1140px) {
    body.santin-theme .site-footer.santin-official-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    body.santin-theme .site-footer.santin-official-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    body.santin-theme .site-footer.santin-official-footer .footer-logo-image img {
        width: 210px !important;
    }
}


/* ==========================================================
   V6.9 — DEPURAÇÃO RESPONSIVA / MOBILE
   Regras finais para eliminar conflitos entre os breakpoints
   antigos do tema.
   ========================================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

body.menu-open {
    overflow: hidden;
}

.single-content img,
.page-content img,
.single-content iframe,
.page-content iframe,
.single-content video,
.page-content video {
    max-width: 100%;
    height: auto;
}

.single-content table,
.page-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 820px) {

    .site-container {
        width: min(calc(100% - 32px), var(--container));
    }

    /* HEADER / MENU */
    body.santin-theme .site-header,
    body.santin-theme .header-inner {
        min-height: 72px !important;
    }

    body.santin-theme .header-inner {
        gap: 12px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    body.santin-theme .brand-image img {
        width: 126px !important;
        max-width: 126px !important;
        max-height: 54px !important;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 6px;
        border-radius: 8px;
    }

    .menu-toggle span:not(.screen-reader-text) {
        width: 25px;
        margin: 5px auto;
    }

    .site-nav {
        position: fixed;
        z-index: 1200;
        top: 72px;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px 20px 24px;
        background: #fff;
        border-top: 1px solid var(--santin-line);
        box-shadow: 0 18px 40px rgba(0,0,0,.12);
    }

    .site-nav .menu {
        width: 100%;
    }

    .site-nav .menu li {
        border-bottom: 1px solid #edf0f5;
    }

    .site-nav .menu li:last-child {
        border-bottom: 0;
    }

    .site-nav .menu a {
        padding: 15px 2px;
        font-size: 14px;
        line-height: 1.25;
    }

    body.admin-bar .site-header {
        top: 32px;
    }

    body.admin-bar .site-nav {
        top: 104px;
        max-height: calc(100dvh - 104px);
    }

    /* SLIDER */
    .hero-track {
        aspect-ratio: 4 / 5;
        min-height: 0;
    }

    .hero-slide img {
        object-position: center center;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 29px;
        background: rgba(0,0,0,.24);
    }

    .slider-arrow.prev {
        left: 8px;
    }

    .slider-arrow.next {
        right: 8px;
    }

    .slider-dots {
        bottom: 12px;
    }

    /* HOME */
    .section-space {
        padding: 52px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-photo-wrap {
        min-height: 0;
        padding: 0 0 18px;
    }

    .about-photo {
        width: 84%;
        height: auto;
        aspect-ratio: 4 / 5;
        margin: 0 auto;
    }

    .about-block {
        left: 2%;
        bottom: 0;
        width: 118px;
        height: 145px;
    }

    .about-decor.about-waves {
        left: 0;
        bottom: 14px;
        width: 72px;
    }

    .about-eagle {
        right: 0;
        bottom: -8px;
        width: 145px;
    }

    .about-copy h2 {
        font-size: clamp(31px, 8.4vw, 40px);
    }

    .about-copy p {
        margin: 18px 0 24px;
        font-size: 16px;
    }

    .commitments-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 28px;
    }

    .commitment-card {
        padding: 24px 10px;
        border-top: 1px solid #dce1ea;
    }

    .commitment-card:first-child {
        border-top: 0;
    }

    .commitment-card + .commitment-card {
        border-left: 0;
    }

    body.santin-theme .commitment-icon-image {
        width: 78px !important;
        height: 78px !important;
    }

    .commitment-card h3 {
        min-height: 0;
        margin: 10px 0 8px;
    }

    .row-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }

    .news-grid,
    .archive-grid,
    .archive-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-content {
        padding: 18px;
    }

    .news-card h2 {
        font-size: 21px;
    }

    .news-card h3 {
        font-size: 19px;
    }

    .news-image-placeholder {
        min-height: 180px;
        font-size: 24px;
    }

    /* CTA SOCIAL */
    .social-cta {
        padding: 38px 0;
    }

    .social-cta-inner {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
    }

    .social-copy h2 {
        font-size: clamp(34px, 10vw, 44px);
    }

    .social-copy p {
        font-size: 15px;
    }

    .social-cta-actions {
        width: 100%;
        align-items: flex-start;
        gap: 16px;
    }

    .social-cta-actions .btn {
        width: 100%;
        max-width: 360px;
    }

    body.santin-theme .footer-social-icons a {
        width: 44px !important;
        height: 44px !important;
    }

    /* FOOTER */
    body.santin-theme .site-footer.santin-official-footer {
        padding: 38px 0 20px !important;
    }

    body.santin-theme .site-footer.santin-official-footer .footer-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    body.santin-theme .site-footer.santin-official-footer .footer-logo-image img {
        width: 190px !important;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .site-footer a,
    .site-footer p {
        overflow-wrap: anywhere;
    }

    .footer-legal {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-top: 28px;
        text-align: left;
    }

    body.santin-theme .footer-cnpj {
        text-align: left;
    }

    /* HERO / NOTÍCIAS / PÁGINAS PADRÃO */
    .internal-hero,
    .page-hero,
    .single-header {
        padding: 54px 0 48px;
    }

    .internal-hero h1,
    .page-hero h1,
    .single-header h1 {
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.02;
        letter-spacing: -.045em;
    }

    .internal-hero p,
    .single-excerpt {
        margin-top: 18px;
        font-size: 16px;
    }

    .single-container {
        width: min(calc(100% - 32px), 860px);
    }

    .single-featured {
        margin-top: 28px;
    }

    .single-content,
    .page-content {
        padding-top: 36px;
        padding-bottom: 54px;
        font-size: 17px;
    }

    /* PÁGINAS INTERNAS V6.3 */
    .santin-section {
        padding: 54px 0;
    }

    .santin-page-hero-grid {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .santin-page-hero-copy,
    .santin-page-hero-narrow {
        padding: 54px 0 48px;
    }

    .santin-page-hero h1 {
        font-size: clamp(39px, 11vw, 50px);
        line-height: 1.02;
    }

    .santin-page-hero p {
        margin-top: 17px;
        font-size: 16px;
    }

    .santin-page-hero-photo {
        min-height: 330px;
    }

    .santin-page-hero-photo img {
        width: min(315px, 86%);
        max-height: 325px;
    }

    .santin-page-photo-shape {
        width: 275px;
        height: 275px;
    }

    .santin-bio-main-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .santin-bio-image-card > img:first-child {
        height: 410px;
    }

    .santin-bio-waves {
        left: -10px;
        bottom: -20px;
        width: 100px;
    }

    .santin-bio-text h2,
    .santin-section-title h2 {
        font-size: clamp(31px, 9vw, 42px);
    }

    .santin-bio-text p,
    .santin-section-title > p {
        font-size: 16px;
    }

    .santin-values-grid,
    .santin-proposals-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .santin-value-card {
        min-height: 0;
        padding: 24px;
    }

    .santin-value-card > span {
        margin-bottom: 18px;
    }

    .santin-proposal-card {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 16px;
        min-height: 0;
        padding: 22px;
    }

    .santin-proposal-icon img {
        width: 58px;
        height: 58px;
    }

    .santin-proposal-card h3 {
        font-size: 22px;
    }

    .santin-proposals-note {
        flex-direction: column;
        gap: 8px;
        padding: 20px;
    }

    .santin-page-cta {
        padding: 44px 0;
    }

    .santin-page-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .santin-page-cta h2 {
        font-size: clamp(30px, 8.5vw, 40px);
    }

    .santin-page-cta .btn {
        width: 100%;
        max-width: 360px;
    }

    /* CONTATO */
    .santin-contact-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .santin-contact-panel,
    .santin-contact-form-wrap {
        min-height: 0;
        padding: 26px;
        border-radius: 14px;
    }

    .santin-contact-panel h2 {
        font-size: 36px;
    }

    .santin-contact-form-heading h2 {
        font-size: 34px;
    }

    .santin-contact-fields {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .santin-contact-field-full {
        grid-column: auto;
    }

    .santin-contact-field input,
    .santin-contact-field textarea,
    .santin-form-field input,
    .santin-form-field textarea {
        font-size: 16px;
    }
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    body.admin-bar .site-nav {
        top: 118px;
        max-height: calc(100dvh - 118px);
    }
}

@media (max-width: 480px) {

    .site-container,
    .single-container {
        width: min(calc(100% - 24px), var(--container));
    }

    body.santin-theme .site-header,
    body.santin-theme .header-inner {
        min-height: 68px !important;
    }

    body.santin-theme .brand-image img {
        width: 112px !important;
        max-width: 112px !important;
        max-height: 48px !important;
    }

    .site-nav {
        top: 68px;
        max-height: calc(100dvh - 68px);
        padding-left: 16px;
        padding-right: 16px;
    }

    body.admin-bar .site-nav {
        top: 114px;
        max-height: calc(100dvh - 114px);
    }

    .hero-track {
        aspect-ratio: 4 / 5;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 26px;
    }

    .section-space {
        padding: 44px 0;
    }

    .about-photo-wrap {
        padding-bottom: 0;
    }

    .about-photo {
        width: 100%;
        margin: 0;
    }

    .about-block,
    .about-decor.about-waves {
        display: none;
    }

    .about-copy h2 {
        font-size: 31px;
    }

    .btn {
        width: 100%;
        min-height: 50px;
        padding-left: 16px;
        padding-right: 16px;
    }

    body.santin-theme .commitment-icon-image {
        width: 70px !important;
        height: 70px !important;
    }

    .social-copy h2 {
        font-size: 34px;
    }

    .footer-social-icons {
        flex-wrap: wrap;
    }

    body.santin-theme .site-footer.santin-official-footer .footer-logo-image img {
        width: 170px !important;
    }

    .internal-hero,
    .page-hero,
    .single-header {
        padding: 46px 0 42px;
    }

    .internal-hero h1,
    .page-hero h1,
    .single-header h1 {
        font-size: 38px;
    }

    .santin-section {
        padding: 46px 0;
    }

    .santin-page-hero-copy,
    .santin-page-hero-narrow {
        padding: 48px 0 42px;
    }

    .santin-page-hero h1 {
        font-size: 38px;
    }

    .santin-page-hero-photo {
        min-height: 290px;
    }

    .santin-page-hero-photo img {
        width: min(275px, 88%);
        max-height: 285px;
    }

    .santin-page-photo-shape {
        width: 240px;
        height: 240px;
    }

    .santin-bio-image-card > img:first-child {
        height: 350px;
    }

    .santin-bio-waves {
        display: none;
    }

    .santin-proposal-card {
        display: block;
        padding: 21px;
    }

    .santin-proposal-icon {
        justify-content: flex-start;
        margin-bottom: 14px;
    }

    .santin-contact-panel,
    .santin-contact-form-wrap {
        padding: 22px;
    }

    .santin-contact-panel h2 {
        font-size: 32px;
    }

    .santin-contact-form-heading h2 {
        font-size: 30px;
    }
}


/* ==========================================================
   V6.10 — MENU MOBILE DEPURADO
   ========================================================== */

@media (min-width: 821px) {
    .site-nav {
        display: block !important;
    }

    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: block !important;
        position: relative;
        z-index: 1301;
    }

    .site-nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-8px);
        transition:
            opacity .18s ease,
            transform .18s ease,
            visibility .18s ease;
    }

    .site-nav.is-open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0);
    }

    .site-nav .menu {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-nav .menu > li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .site-nav .menu > li > a {
        display: block !important;
        width: 100% !important;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .menu-toggle span {
        transition: transform .18s ease, opacity .18s ease;
    }
}


/* ==========================================================
   V6.11 — AJUSTES FINAIS DE DEPURAÇÃO
   ========================================================== */

.menu-toggle {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (max-width: 820px) {
    .site-header {
        isolation: isolate;
    }

    .site-nav {
        overscroll-behavior: contain;
    }

    .site-nav.is-open {
        display: block !important;
    }

    .site-nav .menu a {
        min-height: 48px;
        display: flex !important;
        align-items: center;
    }

    .hero-slide-link {
        height: 100%;
    }

    .footer-menu a,
    .footer-social-list a {
        display: inline-flex;
        min-height: 36px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .header-inner {
        gap: 8px !important;
    }

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

    .site-nav {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
}


/* ==========================================================
   V6.12 — IDENTIDADE + FOOTER CORRIGIDOS
   ========================================================== */

/* O rodapé oficial é sempre azul escuro. */
body.santin-theme .site-footer.santin-official-footer,
.site-footer.santin-official-footer {
    background: #002574 !important;
    color: rgba(255,255,255,.82) !important;
}

/* A faixa que antecede o rodapé permanece azul, nunca laranja. */
body.santin-theme .social-cta,
.social-cta {
    background:
        linear-gradient(90deg, rgba(0,52,160,.98), rgba(0,141,255,.92)),
        #0034A0 !important;
    color: #fff !important;
}

/* Amarelo fica restrito aos destaques e botões. */
.site-footer.santin-official-footer .footer-legal {
    border-top-color: #FEBD01 !important;
}

.site-footer.santin-official-footer .footer-cnpj {
    color: #FEBD01 !important;
}


/* ==========================================================
   V6.13 — EU APOIO + GALERIA FLICKR
   ========================================================== */

.santin-support-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 22%, rgba(0,141,255,.42), transparent 34%),
        linear-gradient(135deg, #002574 0%, #0034A0 58%, #0077df 100%);
    color: #fff;
}

.santin-support-section::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -220px;
    bottom: -260px;
    border: 70px solid rgba(254,189,1,.16);
    border-radius: 50%;
    pointer-events: none;
}

.santin-support-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
    align-items: center;
    gap: 64px;
}

.santin-support-copy {
    max-width: 650px;
}

.santin-support-copy .eyebrow {
    color: #FEBD01;
}

.santin-support-copy h2 {
    max-width: 650px;
    margin: 12px 0 18px;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: .98;
    letter-spacing: -.055em;
}

.santin-support-copy h2 span {
    color: #FEBD01;
}

.santin-support-copy p {
    max-width: 590px;
    margin: 0 0 28px;
    color: rgba(255,255,255,.86);
    font-size: 18px;
    line-height: 1.65;
}

.santin-support-button {
    min-width: 220px;
}

.santin-support-preview {
    display: block;
    width: min(100%, 390px);
    justify-self: end;
    color: inherit;
    text-decoration: none;
}

.santin-support-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 7px solid rgba(255,255,255,.95);
    border-radius: 22px;
    background: #dcecff;
    box-shadow: 0 30px 70px rgba(0,0,0,.28);
}

.santin-support-photo > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.santin-support-badge {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    justify-content: center;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0,37,116,.92);
    backdrop-filter: blur(7px);
}

.santin-support-badge img {
    width: min(230px, 90%);
    height: auto;
}

.santin-support-preview-label {
    display: block;
    margin-top: 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.santin-flickr-section,
.santin-fotos-page {
    background: #f6f8fc;
}

.santin-flickr-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.santin-flickr-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 300px;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    background: #0034A0;
    box-shadow: 0 16px 36px rgba(0,37,116,.12);
    text-decoration: none;
}

.santin-flickr-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.santin-flickr-card:hover > img {
    transform: scale(1.035);
}

.santin-flickr-placeholder {
    display: flex;
    height: 100%;
    min-height: 300px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 28px;
    background:
        linear-gradient(145deg, #002574, #008DFF);
    color: #fff;
    text-align: center;
}

.santin-flickr-dots {
    display: inline-flex;
    gap: 7px;
}

.santin-flickr-dots i {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #008DFF;
}

.santin-flickr-dots i + i {
    background: #ff2997;
}

.santin-flickr-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    min-height: 116px;
    flex-direction: column;
    justify-content: flex-end;
    gap: 7px;
    padding: 22px 18px 17px;
    background: linear-gradient(transparent, rgba(0,18,57,.96));
    color: #fff;
}

.santin-flickr-overlay strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.santin-flickr-overlay small {
    color: #FEBD01;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.santin-flickr-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.santin-support-mini {
    padding: 42px 0;
    background:
        linear-gradient(90deg, #0034A0, #008DFF);
    color: #fff;
}

.santin-support-mini-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.santin-support-mini h2 {
    margin: 5px 0 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
}

@media (max-width: 980px) {
    .santin-support-grid {
        grid-template-columns: 1fr 330px;
        gap: 36px;
    }

    .santin-flickr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .santin-support-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .santin-support-copy h2 {
        font-size: clamp(36px, 10vw, 50px);
    }

    .santin-support-copy p {
        font-size: 16px;
    }

    .santin-support-preview {
        width: min(100%, 360px);
        justify-self: center;
    }

    .santin-support-mini-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .santin-support-mini .btn {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 560px) {
    .santin-flickr-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .santin-flickr-card {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .santin-flickr-placeholder {
        min-height: 270px;
    }

    .santin-support-photo {
        border-width: 5px;
    }

    .santin-support-badge {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}
/* =========================================
   BANNER MOBILE — MESMA ARTE, SEM CORTAR
   ========================================= */

@media (max-width: 820px) {

    .hero-slider {
        width: 100% !important;
        background: #0034A0 !important;
    }

    .hero-track {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .hero-slide,
    .hero-slide picture {
        width: 100% !important;
        height: 100% !important;
    }

    .hero-slide img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;

        object-fit: contain !important;
        object-position: center center !important;
    }

}
