/* =========================================================
   CENSO • Base responsiva moderna (mobile-first)
   Mantém os mesmos seletores já usados no seu HTML.
   ========================================================= */

/* --------- Tokens / Design System --------- */
:root{
  /* Cores */
  --primary:   #01448A;
  --secondary: #64BB5C;
  --highlight: #99C850;
  --curve:     #009344;
  --curve2:    #38ac59;

  /* Neutros */
  --bg:        #f7f7f7;
  --surface:   #ffffff;
  --ink:       #21344a;
  --ink-weak:  #5a7186;

  /* Efeitos */
  --glass-bg:       rgba(1,68,138,0.13);
  --glass-border:   rgba(255,255,255,0.18);
  --shadow-1:       0 6px 20px rgba(0,0,0,.08);
  --shadow-2:       0 12px 32px rgba(0,0,0,.12);
  --shadow-strong:  0 18px 60px rgba(1,68,138,0.14);

  /* Tipografia (escala fluida) */
  --fs-xs: clamp(.78rem, .72rem + .2vw, .9rem);
  --fs-sm: clamp(.9rem,  .86rem + .25vw, 1.02rem);
  --fs-md: clamp(1rem,   .96rem + .35vw, 1.15rem);
  --fs-lg: clamp(1.2rem, 1.05rem + .8vw, 1.55rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.8vw, 2.4rem);
  --fs-xxl:clamp(2.2rem, 1.7rem + 3vw,   3.6rem);

  /* Espaçamentos */
  --space-1: .35rem;
  --space-2: .6rem;
  --space-3: .9rem;
  --space-4: 1.2rem;
  --space-5: 1.6rem;
  --space-6: 2.1rem;
  --radius-1: 10px;
  --radius-2: 14px;
  --radius-3: 20px;

  /* Larguras */
  --container: 1250px;
}

/* Dark mode automático */
@media (prefers-color-scheme: dark){
  :root{
    --bg: #0f1520;
    --surface:#131a23;
    --ink: #e7eef7;
    --ink-weak:#b3c0cc;
    --glass-bg: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.12);
  }
}

/* --------- Base / Reset suave --------- */
*,
*::before,
*::after{ box-sizing: border-box; }
html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    font-family: 'Segoe UI', Arial, sans-serif;
}
body { overflow-x: hidden; }

/* HERO */
.censo-hero {
    background: var(--primary);
    min-height: 92vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}
.censo-hero-vertical-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100vw;
    position: relative;
    z-index: 3;
    margin-top: 0;
}
.censo-hero-illustration {
  margin-top: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  margin-bottom: -32px;
  position: relative;
  z-index: 10;
  /* pointer-events: none;  ← REMOVIDO para permitir clique no link */
}

.censo-hero-illustration a {
  pointer-events: auto;             /* garante clique mesmo se usar pointer-events no pai */
  display: inline-block;
}

.censo-hero-illustration img {
  padding: 18px 22px 8px 22px;
  border-radius: 22px;
  width: auto;
  max-width: clamp(180px, 22vw, 360px); /* ← MAIOR e responsivo */
  height: auto;
  box-shadow: 0 16px 38px rgba(1,68,138,0.13), 0 4px 12px rgba(1,68,138,0.09);
  animation: floatIlustra 3.2s infinite ease-in-out alternate;
}

/* opcional: em telas muito pequenas, garante boa leitura */
@media (max-width: 480px) {
  .censo-hero-illustration img {
    max-width: 200px;
  }
}

@keyframes floatIlustra {
    0% { transform: translateY(0);}
    100% { transform: translateY(-5px);}
}
.censo-glass-box {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: var(--shadow-strong), 0 2px 14px rgba(0,0,0,0.10);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    max-width: 1200px;
    width: 94vw;
    margin: 0 auto;
    padding: 44px 64px 44px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-image: var(--gradient-card);
    transition: box-shadow .17s;
    z-index: 6;
}
.logos-top {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
}
.logos-top img {
    height: 38px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(1,68,138,0.10);
    padding: 4px 12px;
    object-fit: contain;
    max-width: 98px;
    transition: box-shadow .12s, transform .12s;
}
.censo-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 80px;
    justify-content: space-between;
    align-items: stretch;
    min-height: 220px;
    margin-top: 0;
    margin-bottom: 0;
}
.censo-left {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 320px;
    max-width: 560px;
    gap: 0;
}
.hero-title {
    color: #fff;
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.hero-subtitle {
    font-size: 3.1rem;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.02em;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.02;
    text-transform: uppercase;
}
.hero-year {
    font-size: 2.65rem;
    color: var(--highlight);
    font-weight: 900;
    margin: 8px 0 18px 0;
    line-height: 1;
}
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 370px;
    margin-top: 24px;
}
.hero-buttons a {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    padding: 18px 0;
    font-size: 1.18rem;
    border-radius: 13px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--secondary);
    background: #fff;
    color: var(--primary);
    box-shadow: 0 2px 10px #01233e10;
    transition: background .14s, color .13s, box-shadow .15s, border .13s;
}
.hero-buttons a i { font-size: 1.25em; }
.hero-buttons a.agende {
    background: var(--secondary);
    color: #fff;
    border: 2px solid var(--secondary);
    box-shadow: 0 5px 18px rgba(100,187,92,0.18);
}
.hero-buttons a.agende:hover {
    background: #3b8e36;
    color: #f4fff3;
    box-shadow: 0 10px 28px #64bb5c33;
    border-color: #1d6b15;
}
.hero-buttons a.inicie:hover {
    background: #eaf5fc;
    color: var(--primary);
    border-color: #92cbaf;
}
.censo-right {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    gap: 12px;
    min-width: 260px;
    max-width: 420px;
    padding-left: 64px;
    border-left: 2.5px solid rgba(100,187,92,0.10);
}
.hero-period-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
}
.hero-period-date {
    font-size: 1.7rem;
    color: var(--highlight);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}
.hero-period-date i {
    color: var(--highlight);
    margin-right: 7px;
    font-size: 1.24em;
}
.hero-period-new {
    font-size: 1.07rem;
    font-weight: bold;
    color: #fff;
    margin-top: 14px;
    margin-bottom: 0;
}
.hero-period-note {
    font-size: 1.12rem;
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 18px;
    line-height: 1.18;
    text-shadow: 0 1px 4px #01233e19;
    word-break: break-word;
}
.hero-period-note b {
    color: #0be68e;
    font-weight: 900;
}
.censo-curve {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 130px;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 -6px 26px #009344b5);
    opacity: 1;
}
.censo-curve2 {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
    pointer-events: none;
    filter: blur(2.2px) opacity(0.91);
    opacity: 0.98;
    mix-blend-mode: lighten;
}

/* RESPONSIVE */
@media (min-width: 960px){
  .censo-content{ grid-template-columns: 1fr .95fr; }
  .censo-right{ padding-left: clamp(16px, 4vw, 64px); border-left: 2px solid rgba(100,187,92,0.12); }
}
@media (max-width: 959.98px){
  .censo-right{ padding-left: 0; border-left: 0; border-top: 2px solid #38ac5911; margin-top: 18px; }
}

@media (max-width: 1100px) {
    .censo-glass-box { max-width: 98vw; width: 98vw; padding: 22px 2vw 16px 2vw;}
    .censo-content { flex-direction: column; gap: 32px;}
    .censo-right { padding-left: 0; border-left: none; border-top: 2px solid #38ac5911; margin-top: 24px;}
    .censo-left { max-width: 96vw;}
}
@media (max-width: 700px) {
    .logos-top { gap: 6px; }
    .censo-glass-box { padding: 8px 2vw 6px 2vw; }
    .censo-content { flex-direction: column; gap: 14px;}
    .hero-buttons { max-width: 94vw;}
    .censo-right { padding-left: 0;}
    .hero-title { font-size: 1.1rem;}
    .hero-subtitle { font-size: 1.3rem;}
    .hero-year { font-size: 1.3rem;}
    .hero-period-title { font-size: 1rem;}
    .hero-period-date { font-size: 1.08rem;}
}
/* Tipos fluidos do hero */
.hero-title{ font-size: clamp(1rem, .7rem + 1.2vw, 1.3rem); }
.hero-subtitle{ font-size: clamp(1.3rem, 1rem + 3.2vw, 3.1rem); }
.hero-year{ font-size: clamp(1.15rem, .9rem + 2vw, 2.65rem); }
.hero-period-title{ font-size: clamp(1rem, .9rem + 1.8vw, 2.2rem); }
.hero-period-date{ font-size: clamp(1rem, .9rem + 1.1vw, 1.7rem); }
.logos-top{ gap: clamp(6px, 2vw, 32px); }
.hero-buttons{ max-width: min(94vw, 420px); }

.censo-section-info {
    position: relative;
    background: #f5f9fa;
    padding: 100px 0 80px 0; /* aumentei o padding superior/inferior */
    overflow: hidden;
    z-index: 2;
}

.censo-section-curve {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 180px; /* curva maior */
    z-index: 3;
    pointer-events: none;
}

.container-info {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px; /* mais espaço entre vídeo e texto */
    padding: 0 20px;
    position: relative;
    z-index: 4;
}

.info-media {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.info-media-card {
    width: 100%;
    background: rgba(255,255,255,0.9);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.14);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .18s ease, transform .18s ease;
    backdrop-filter: blur(7px);
}

.info-media-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
    transform: translateY(-4px);
}

.info-media-card video {
    width: 100%;
    height: auto;
    border-radius: 14px;
    max-height: 400px; /* vídeo maior */
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 2px solid #c6f2eb;
}

.info-caption {
    color: #2e7d32;
    font-size: 1.1rem; /* ligeiramente maior */
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.info-text {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    border-radius: 22px; /* mais arredondado */
    padding: 30px 35px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.info-text h2 {
    color: #377fa3;
    font-size: 1.6rem; /* maior */
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 1px 8px rgba(1, 35, 62,0.07);
}

.info-text h2 span {
    color: #17913a;
    font-weight: 900;
    letter-spacing: 1px;
}

.info-text p {
    font-size: 1.1rem; /* maior e mais legível */
    color: #21344a;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.75; /* mais espaçamento entre linhas */
    margin-bottom: 14px;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .container-info { flex-direction: column; gap: 35px; align-items: center; }
    .info-media, .info-text { max-width: 98vw; }
    .info-media-card video { max-height: 320px; }
    .info-text { padding: 22px 18px; }
    .info-text h2 { font-size: 1.35rem; }
    .info-text p { font-size: 1.05rem; }
}

@media (max-width: 600px) {
    .info-media-card video { max-height: 260px; }
    .info-caption { font-size: 1rem; }
    .info-text h2 { font-size: 1.2rem; text-align: center; }
    .info-text p { font-size: 1rem; text-align: justify; }
}

@media (min-width: 980px){
  .info-container{ grid-template-columns: .9fr 1.6fr; }
}

/* SESSÃO 3: FAQ Wizard + Accordion moderno */
.faq-section {
    background: #cfffff;
    padding: 70px 0 80px 0;
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 1;
}

.faq-container {
    width: 100%;
    max-width: 1100px;    /* Largura maior */
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow:
    0 24px 54px 0 rgba(1,68,138,0.17),
    0 4px 22px 0 rgba(1,68,138,0.09),
    0 1.5px 14px 0 #38ac5942;
    padding: 54px 56px 48px 56px;
    position: relative;
    transition: box-shadow .22s, transform .19s;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 18px;
    /* Suave efeito flutuante */
    animation: floatCard 4.7s ease-in-out infinite alternate;
}

@keyframes floatCard {
    from { box-shadow: 0 24px 54px 0 rgba(1,68,138,0.17), 0 4px 22px 0 rgba(1,68,138,0.09), 0 1.5px 14px 0 #38ac5942; }
    to   { box-shadow: 0 32px 68px 0 rgba(1,68,138,0.24), 0 8px 32px 0 rgba(1,68,138,0.12), 0 2.5px 18px 0 #38ac5977; }
}

.faq-title {
    font-size: 2.3rem;
    color: #377fa3;
    text-align: center;
    margin-bottom: 24px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 2px 9px #00934413;
}

.faq-wizard-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 29px;
    border-bottom: 2px solid #b9e7e3;
    background: transparent;
    position: relative;
    z-index: 5;
}

.faq-wizard-tab {
    background: #c8eeeb;
    border: none;
    outline: none;
    padding: 16px 36px 13px 36px;
    font-size: 1.13rem;
    color: #377fa3;
    font-weight: 700;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    transition: background .21s, color .16s, box-shadow .21s, border .15s;
    margin-bottom: -2.5px;
    position: relative;
    z-index: 2;
    border-bottom: 3px solid transparent;
    min-width: 160px;
    letter-spacing: 0.5px;
}

.faq-wizard-tab.active, .faq-wizard-tab:hover {
    background: #fff;
    color: #38ac59;
    font-weight: 900;
    border-bottom: 3px solid #38ac59;
    box-shadow: 0 4px 13px #38ac5923;
    z-index: 3;
}
.faq-wizard-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 190px;
}
.faq-accordion-list {
    margin-top: 9px;
    display: flex;
    flex-direction: row;
    gap: 36px;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.faq-accordion-list .faq-accordion-item {
    flex: 1 1 340px;
    min-width: 270px;
    max-width: 99vw;
}

.faq-accordion-item {
    background: #ecfaf6;
    border-radius: 14px;
    box-shadow: 0 3px 18px #b9e7e322;
    border: 1.5px solid #c6f2eb;
    overflow: hidden;
    transition: box-shadow .14s, background .13s, border-color .13s;
    cursor: pointer;
    margin-bottom: 0;
}
.faq-accordion-item.open {
    background: #eaffef;
    border-color: #38ac59;
    box-shadow: 0 8px 26px #38ac5919;
}
.faq-accordion-header {
    padding: 19px 26px 19px 23px;
    font-size: 1.15rem;
    color: #377fa3;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    background: transparent;
    transition: background .12s;
    border-radius: 10px;
}
.faq-accordion-header:hover {
    background: #d9fff6;
}
.faq-accordion-icon {
    font-size: 1.13em;
    margin-left: 15px;
    color: #38ac59;
    transition: transform .22s;
}
.faq-accordion-item.open .faq-accordion-icon {
    transform: rotate(90deg) scale(1.11);
}
.faq-accordion-body {
    max-height: 0;
    opacity: 0;
    transition: max-height .27s cubic-bezier(.45,.12,.32,1), opacity .13s linear;
    font-size: 1.05rem;
    color: #2d5a4a;
    padding: 0 24px;
    overflow: hidden;
    border-radius: 0 0 13px 13px;
}
.faq-accordion-item.open .faq-accordion-body {
    padding: 15px 24px 18px 24px;
    opacity: 1;
    max-height: 130px;
    background: linear-gradient(90deg, #eafff2 0%, #ecfaf6 100%);
}
.wizard-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 54px 0 44px 0;
    border-radius: 14px;
    background: #f3fefb;
    box-shadow: 0 2px 13px #38ac5912;
    margin-top: 5px;
    min-height: 130px;
}
.wizard-icon {
    font-size: 2.3em;
    color: #38ac59;
    margin-bottom: 12px;
}
.wizard-placeholder-title {
    font-weight: 900;
    color: #377fa3;
    font-size: 1.14em;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.wizard-placeholder-desc {
    color: #5ebda4;
    font-size: 1.02em;
    text-align: center;
}

/* Responsividade */
@media (max-width: 1150px) {
    .faq-container { max-width: 96vw; padding: 24px 2vw 18px 2vw; }
    .faq-title { font-size: 1.25rem; }
    .faq-wizard-tab { padding: 10px 6px; font-size: 1rem;}
    .faq-accordion-header { font-size: 1.03rem;}
}
@media (max-width: 900px) {
    .faq-container { max-width: 99vw; padding: 10px 2vw 8px 2vw;}
    .faq-title { font-size: 1.04rem; }
    .faq-wizard-tabs { gap: 4px;}
    .faq-wizard-tab { min-width: 95px; font-size: 0.96rem;}
    .faq-accordion-list { flex-direction: column; gap: 12px;}
}
@media (max-width: 600px) {
    .faq-container { padding: 3vw 1vw 4vw 1vw;}
    .faq-title { font-size: 0.99rem; }
    .faq-wizard-tab { padding: 5px 2px; font-size: 0.81rem;}
    .faq-accordion-header, .faq-accordion-body { padding-left: 7px; padding-right: 7px;}
}

/* SEÇÃO DOWNLOADS */
.downloads-section {
    background: #61e2bd;
    padding: 56px 0 40px 0;
    text-align: center;
}
.downloads-title {
    font-size: 2.2rem;
    color: #356e47;
    font-weight: 800;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 36px;
    letter-spacing: 2px;
}
.downloads-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    max-width: 1300px;
    margin: 0 auto;
}
.download-card {
    background: #6ee8c7;
    border-radius: 12px;
    box-shadow: 0 6px 24px #00934420, 0 2px 8px #38ac5911;
    flex: 1 1 260px;
    max-width: 330px;
    min-width: 200px;
    min-height: 170px;
    padding: 22px 18px 14px 18px;
    text-decoration: none;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow .16s, transform .13s, background .13s;
    border: 2px solid #44c59b33;
}
.download-card:hover {
    box-shadow: 0 14px 32px #00934429;
    background: #9dfbe1;
    transform: translateY(-2px) scale(1.04);
    border-color: #38ac59;
}
.download-card-title {
    font-size: 1.13rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #1e5642;
    text-align: center;
    min-height: 36px;
}
.download-card-icon {
    font-size: 2.6em;
    color: #d70000;
    margin-bottom: 9px;
}
.download-card-desc {
    font-size: 1.03rem;
    color: #1e5642;
    font-weight: 500;
    margin-top: 5px;
    text-align: center;
}
@media (max-width: 900px) {
    .downloads-grid { flex-direction: column; gap: 17px; }
}

/* SEÇÃO INFORMAÇÕES */
.info-section {
    background: #fff;
    padding: 55px 0 35px 0;
}
.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}
.info-img {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #50958b;
    border-radius: 13px;
    min-height: 380px;
    max-width: 340px;
    overflow: hidden;
}
.info-img img {
    max-width: 290px;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    margin: 0 auto;
}
.info-content {
    flex: 2 1 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
}
.info-title {
    font-size: 2.1rem;
    color: #37753b;
    font-weight: 800;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 8px;
    letter-spacing: 2px;
}
.info-desc {
    font-size: 1.13rem;
    color: #26352b;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 8px;
    line-height: 1.45;
}
.info-links {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-top: 15px;
}
.info-link {
    background: #3ba139;
    color: #fff;
    border-radius: 8px;
    font-size: 1.13rem;
    font-weight: 500;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    box-shadow: 0 3px 12px #38ac5914;
    transition: background .14s, transform .13s;
}
.info-link i {
    font-size: 1.19em;
}
.info-link:hover {
    background: #47cc55;
    color: #213f29;
    transform: scale(1.03);
}
@media (max-width: 900px) {
    .info-container { flex-direction: column; gap: 22px;}
    .info-img { max-width: 95vw; min-height: 260px;}
    .info-content { max-width: 95vw; }
}

/* SEÇÃO RODA PÉ */
.footer-sistema {
    width: 100%;
    background: #f7f7f7;
    border-top: 1.7px solid #ededed;
    padding: 12px 0;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

.footer-content {
    max-width: 1640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 28px 6px 28px;
    gap: 24px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo {
    height: 39px;
    width: auto;
    object-fit: contain;
    display: block;
}
.footer-logo.governo {
    height: 36px;
    margin-left: 9px;
}
.footer-logo.brasao {
    height: 36px;
    margin-left: 7px;
}

.footer-text {
    color: #23292e;
    font-size: 1.07rem;
    font-weight: 500;
    text-align: right;
    letter-spacing: 0.01em;
}
.footer-text b {
    color: #23292e;
    font-weight: 800;
    letter-spacing: 0.02em;
}

@media (max-width: 1050px) {
    .footer-content {
    flex-direction: column;
    gap: 10px;
    padding: 8px 10vw 6px 10vw;
    align-items: flex-start;
    }
    .footer-text { text-align: left; font-size: 0.98rem; }
    .footer-logo, .footer-logo.governo, .footer-logo.brasao { height: 32px; }
}
@media (max-width: 600px) {
    .footer-content { padding: 8px 2vw 6px 2vw; }
    .footer-logo, .footer-logo.governo, .footer-logo.brasao { height: 24px; }
    .footer-text { font-size: 0.83rem; }
}

/* SEÇÃO CENSO REGISTRAR */
/* ====== TOKENS ====== */
:root{
  --censo-c1: #b8f3ff;  /* azul claro base */
  --censo-c2: #38ac59;  /* verde brand */
  --censo-c3: #0a5a2c;  /* verde escuro de apoio */
}

/* ====== SEÇÃO CENSO REGISTRAR (fundo profissional) ====== */
.censo-form-bg{
  position: relative;
  min-height: 100dvh; /* trata mobile */
  display: flex;
  align-items: center;
  justify-content: center;

  /* padding com safe-area (iOS notch etc.) */
  padding:
    max(24px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));

  /* base gradient (fallback) */
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--censo-c1) 85%, #ffffff 15%) 0%,
      color-mix(in srgb, var(--censo-c2) 75%, #0f7a3d 25%) 100%);
  overflow: hidden; /* esconde “blobs” fora da tela */
}

/* “Blobs” suaves para criar profundidade (mesh) */
.censo-form-bg::before{
  content:"";
  position: absolute;
  inset: -12% -20% -18% -12%;
  background:
    radial-gradient(600px 420px at 12% -6%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(520px 360px at 88% 0%, rgba(56,172,89,.33), transparent 65%),
    radial-gradient(520px 360px at 8% 100%, rgba(184,243,255,.40), transparent 62%),
    radial-gradient(520px 360px at 100% 82%, rgba(10,90,44,.28), transparent 60%);
  filter: blur(6px);
  pointer-events: none;
}

/* Textura sutil + camada de brilho (sem pesar) */
.censo-form-bg::after{
  content:"";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    repeating-linear-gradient(to right, rgba(255,255,255,.08) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.06) 0 1px, transparent 1px 60px);
  mix-blend-mode: soft-light;
  opacity: .35;
  pointer-events: none;
}

/* Container central com largura máxima agradável */
.censo-form-center{
  width: 100%;
  max-width: 1180px;             /* ajuste conforme sua página */
  min-height: min(86dvh, 980px); /* centralização vertical elegante */
  padding: clamp(16px, 2.2vw, 32px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
}

/* (Opcional) se você tiver um card do formulário, realce o contraste aqui */
.censo-form-card{
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  border-radius: 18px;
}

/* ====== Dark mode (automático) ====== */
@media (prefers-color-scheme: dark){
  :root{
    --censo-c1: #0f2f3a;
    --censo-c2: #0c6d32;
    --censo-c3: #0a5a2c;
  }
  .censo-form-bg{
    background:
      linear-gradient(135deg,
        color-mix(in srgb, var(--censo-c1) 85%, #0b1b22 15%) 0%,
        color-mix(in srgb, var(--censo-c2) 75%, #073c1d 25%) 100%);
  }
  .censo-form-bg::after{ opacity: .22; }
  .censo-form-card{
    background: rgba(18,26,28,.7);
    border-color: rgba(255,255,255,.08);
  }
}

/* ====== Acessibilidade: menos movimento ====== */
@media (prefers-reduced-motion: reduce){
  .censo-form-bg::before{ filter: none; }
}


/* CARD do formulário */
.censo-form-card2 {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px #38ac5933, 0 1.5px 8px #00934417;
    min-width: 320px;
    max-width: 620px;
    width: 100%;
    padding: 38px 38px 22px 38px;
    animation: slideDownCard .7s cubic-bezier(.57,.13,.18,.91);
    transition: box-shadow .23s;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.censo-form-logo {
    text-align: center;
    margin-bottom: 10px;
}
.censo-form-logo img {
    width: 104px;
    max-width: 120px;
    margin: 0 auto 5px;
}

@keyframes slideDownCard {
    from { opacity: 0; transform: translateY(-54px) scale(.98);}
    to   { opacity: 1; transform: translateY(0) scale(1);}
}

.censo-form-title {
    text-align: center;
    font-size: 1.38rem;
    color: #269866;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: .17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

.censo-form-row {
    width: 100%;
    display: flex;
    gap: 17px;
}
.censo-form-row .censo-form-group { flex: 1; }

.censo-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 13px;
    position: relative;
}
.censo-form-group label {
    font-weight: 700;
    color: #24525e;
    margin-bottom: 3px;
    font-size: 1.08rem;
    padding-left: 2px;
}

.censo-form-input-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.censo-form-input-icon i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #38ac59;
    font-size: 1.12em;
    opacity: 0.90;
    pointer-events: none;
    z-index: 2;
}
.censo-form-input-icon input,
.censo-form-input-icon select {
    width: 100%;
    padding: 11px 13px 11px 39px;
    border-radius: 8px;
    border: 1.5px solid #b9e7e3;
    font-size: 1.10rem;
    background: #f6fcfa;
    transition: border-color .17s, background .17s, box-shadow .13s;
    outline: none;
    color: #254e5c;
    box-shadow: 0 1px 3px #38ac5910;
}
.censo-form-input-icon input:focus,
.censo-form-input-icon select:focus {
    border-color: #38ac59;
    background: #fff;
    box-shadow: 0 3px 18px #38ac5922;
}

/* Botão */
.censo-btn {
    width: 60%;
    min-width: 180px;
    max-width: 250px;
    padding: 9px 0 9px 0;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.09rem;
    color: #fff;
    background: linear-gradient(90deg,#377fa3 0,#38ac59 100%);
    border: none;
    cursor: pointer;
    margin: 18px auto 6px auto;
    transition: background .19s, box-shadow .18s, transform .14s;
    box-shadow: 0 2px 12px #38ac5914;
    letter-spacing: .18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}
.censo-btn-success:hover, .censo-btn-success:focus {
    background: linear-gradient(90deg,#2e7d32 0,#377fa3 100%);
    box-shadow: 0 6px 24px #38ac5924;
    transform: translateY(-1px) scale(1.012);
}

/* Footer */
.censo-form-footer {
    margin-top: 8px;
    text-align: center;
    font-size: 1.01rem;
}
.censo-form-footer a {
    color: #377fa3;
    text-decoration: none;
    font-weight: 700;
    transition: color .15s;
}
.censo-form-footer a:hover {
    color: #38ac59;
    text-decoration: underline;
}

.censo-form-error {
    color: #d32f2f;
    font-size: .97em;
    margin-top: 2px;
    padding-left: 1px;
    font-weight: 600;
}

.censo-form-row-full {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}
.censo-form-row-full .censo-form-group {
    width: 100%;
}

/* RESPONSIVIDADE */
@media (min-width: 760px){
  .censo-form-row{ grid-template-columns: 1fr 1fr; }
}
.censo-btn{
  width: min(100%, 280px);
  min-width: 140px;
}
@media (max-width: 600px){
  .censo-form-bg,
  .censo-form-center{ min-height: unset; padding-block: 12vw; }
  .censo-btn{ width: 100%; min-width: 110px; }
}
@media (max-width: 400px){
  .censo-form-card2{ border-radius: 10px; }
}

/* ===== AJUSTES FINOS EM TELAS MENORES ===== */
@media (max-width: 700px){
  .hero-buttons{ max-width: 94vw; }
  .censo-right{ padding-left: 0; border-left: 0; }
}

@media (max-width: 900px) {
    .censo-form-card2 {
        max-width: 98vw;
        min-width: 160px;
        padding: 16px 2vw 13px 2vw;
    }
    .censo-form-row,
    .censo-form-row-full {
        flex-direction: column;
        gap: 0;
    }
    .censo-btn {
        width: 95%;
        min-width: 120px;
    }
}
@media (max-width: 600px) {
    .censo-form-bg,
    .censo-form-center {
        min-height: unset;
        padding: 12vw 0;
    }
    .censo-form-card2 {
        padding: 7vw 3vw 5vw 3vw;
        min-width: 0;
        max-width: 99vw;
    }
    .censo-form-title { font-size: 1.04rem;}
    .censo-form-row, .censo-form-row-full { flex-direction: column; gap: 0; }
    .censo-btn { width: 100%; min-width: 90px; }
}
@media (max-width: 400px) {
    .censo-form-card2 {
        padding: 6vw 1vw 4vw 1vw;
        border-radius: 7px;
    }
    .censo-form-title { font-size: 0.93rem;}
    .censo-form-logo img { width: 80px; }
}
