/* ===================================
   RESET E ESTILOS GLOBAIS
   =================================== */

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

html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    overflow-x: hidden;
}

body {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ===================================
   CONTAINER PRINCIPAL
   =================================== */

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
    gap: 0;
    position: relative;
    z-index: 2;
}

/* ===================================
   SEÇÃO ESQUERDA - MOCKUP
   =================================== */

.section-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0px;
}

.mockup-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.mockup-image {
    width: auto;
    height: 100%;
    max-height: 100vh;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
    object-fit: contain;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===================================
   SEÇÃO DIREITA - CONTEÚDO
   =================================== */

.section-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    color: white;
    padding: 40px 40px;
    text-align: center;
}

/* ===================================
   LOGO DA PREFEITURA
   =================================== */

.header-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
    display: flex;
    justify-content: center;
    width: 100%;
}

.logo-prefeitura {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

/* ===================================
   CONTEÚDO PRINCIPAL
   =================================== */

.main-content {
    /* width: 100%; */
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* justify-content: center; */
    /* gap: 30px; */
}

/* ===================================
   ÍCONE PRINCIPAL
   =================================== */

.icon-section {
    width: 100%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.main-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2);
}

/* ===================================
   TÍTULO PRINCIPAL
   =================================== */

.main-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin: 20px 0;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.main-title br {
    display: block;
}

/* ===================================
   DESCRIÇÃO
   =================================== */

.description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 20px 0 40px 0;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===================================
   BOTÃO CTA
   =================================== */

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: white;
    color: #2563eb;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f0f9ff;
}

.cta-button:active {
    transform: translateY(-1px);
}

/* ===================================
   DECORAÇÃO DE FUNDO
   =================================== */

.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* ===================================
   ANIMAÇÕES
   =================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVIDADE - TABLETS (1024px e abaixo)
   =================================== */

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 0;
    }

    .section-left {
        flex: 1;
        height: auto;
        min-height: 400px;
        padding: 0px;
    }

    .mockup-image {
        height: auto;
        max-height: 400px;
        width: auto;
    }

    .section-right {
        flex: 1;
        height: auto;
        padding: 40px 20px;
    }

    .main-title {
        font-size: 56px;
    }

    .description {
        max-width: 100%;
    }

    .header-logo {
        margin-bottom: 40px;
    }

    .logo-prefeitura {
        height: 60px;
    }

    .icon-section {
        width: 120px;
        height: 120px;
    }

    .main-icon {
        width: 85px;
        height: 85px;
    }
}

/* ===================================
   RESPONSIVIDADE - MOBILE LANDSCAPE (768px e abaixo)
   =================================== */

@media (max-width: 768px) {
    .container {
        height: auto;
        min-height: 100vh;
    }

    .section-left {
        min-height: 300px;
        padding: 30px 15px;
    }

    .mockup-image {
        max-height: 300px;
    }

    .section-right {
        padding: 30px 15px;
    }

    .header-logo {
        margin-bottom: 30px;
    }

    .logo-prefeitura {
        height: 50px;
    }

    .icon-section {
        width: 100px;
        height: 100px;
        border-radius: 15px;
    }

    .main-icon {
        width: 70px;
        height: 70px;
    }

    .main-title {
        font-size: 42px;
        margin: 15px 0;
    }

    .main-content {
        gap: 20px;
    }

    .description {
        font-size: 16px;
        margin: 15px 0 0px 0;
    }

    .cta-button {
        padding: 14px 40px;
        font-size: 14px;
        width: 100%;
    }
}

/* ===================================
   RESPONSIVIDADE - MOBILE PORTRAIT (640px e abaixo)
   =================================== */

@media (max-width: 640px) {
    .container {
        height: auto;
        min-height: 100vh;
    }

    .section-left {
        min-height: 280px;
        padding: 25px 12px;
    }

    .mockup-image {
        max-height: 280px;
    }

    .section-right {
        padding: 25px 12px;
    }

    .header-logo {
        margin-bottom: 25px;
    }

    .logo-prefeitura {
        height: 45px;
    }

    .icon-section {
        width: 90px;
        height: 90px;
        border-radius: 12px;
    }

    .main-icon {
        width: 60px;
        height: 60px;
    }

    .main-title {
        font-size: 36px;
        margin: 12px 0;
    }

    .description {
        font-size: 15px;
        margin: 12px 0 20px 0;
    }

    .cta-button {
        padding: 13px 35px;
        font-size: 13px;
        width: 100%;
    }
}

/* ===================================
   RESPONSIVIDADE - MOBILE PEQUENO (480px e abaixo)
   =================================== */

@media (max-width: 480px) {
    .container {
        height: auto;
        min-height: 100vh;
    }

    .section-left {
        min-height: 250px;
        padding: 20px 10px;
    }

    .mockup-image {
        max-height: 250px;
        filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.25));
    }

    .section-right {
        padding: 20px 10px;
    }

    .header-logo {
        margin-bottom: 20px;
    }

    .logo-prefeitura {
        height: 40px;
    }

    .icon-section {
        width: 80px;
        height: 80px;
        border-radius: 10px;
    }

    .main-icon {
        width: 55px;
        height: 55px;
    }

    .main-title {
        font-size: 32px;
        margin: 10px 0;
        line-height: 1.1;
    }

    .main-content {
        gap: 15px;
    }

    .description {
        font-size: 14px;
        margin: 10px 0 15px 0;
        line-height: 1.5;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 12px;
        letter-spacing: 0.3px;
        width: 100%;
    }
}

/* ===================================
   RESPONSIVIDADE - MOBILE EXTRA PEQUENO (360px e abaixo)
   =================================== */

@media (max-width: 360px) {
    .container {
        height: auto;
        min-height: 100vh;
    }

    .section-left {
        min-height: 220px;
        padding: 15px 8px;
    }

    .mockup-image {
        max-height: 220px;
    }

    .section-right {
        padding: 15px 8px;
    }

    .header-logo {
        margin-bottom: 15px;
    }

    .logo-prefeitura {
        height: 35px;
    }

    .icon-section {
        width: 70px;
        height: 70px;
    }

    .main-icon {
        width: 48px;
        height: 48px;
    }

    .main-title {
        font-size: 28px;
        margin: 8px 0;
    }

    .description {
        font-size: 13px;
        margin: 8px 0 12px 0;
    }

    .cta-button {
        padding: 11px 25px;
        font-size: 11px;
    }
}

/* ===================================
   SUPORTE A TEMAS ESCUROS
   =================================== */

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #172554 100%);
    }
}

/* ===================================
   ORIENTAÇÃO LANDSCAPE
   =================================== */

@media (max-height: 600px) and (orientation: landscape) {
    .container {
        height: auto;
        min-height: 100vh;
    }

    .section-left {
        min-height: 300px;
    }

    .section-right {
        min-height: auto;
    }

    .main-title {
        font-size: 48px;
    }

    .description {
        font-size: 14px;
        margin: 10px 0 0px 0;
    }
}