* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f9fbfd;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Cabeçalho (cinza-chumbo / azul-acinzentado escuro, fosco) */
.site-header {
    background: #2b2f36;
    box-shadow: 0 2px 12px rgba(0,0,0,0.28);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.site-title {
    margin: 0;
    flex-shrink: 0;
    line-height: 0;
}

.site-title img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* — [ícone] Conectando pessoas — com brilho verde */
.header-tagline-block {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
}

.header-tagline-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(480px, 96vw);
    height: 72px;
    background: radial-gradient(ellipse 72% 70% at 50% 50%,
        rgba(129, 199, 132, 0.22) 0%,
        rgba(102, 187, 106, 0.1) 50%,
        transparent 72%);
    pointer-events: none;
    filter: blur(18px);
    animation: taglineGlowPulse 6.2s ease-in-out infinite;
}

.header-tagline-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: min(520px, 94vw);
    margin: 0 auto;
    gap: 0;
    flex-wrap: nowrap;
}

/* Linhas horizontais: fortes junto ao ícone/texto, somem nas bordas */
.header-tagline-line {
    flex: 1 1 0;
    min-width: 8px;
    height: 1px;
    align-self: center;
}

.header-tagline-line--left {
    margin-right: 14px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(236, 239, 234, 0.55) 85%,
        rgba(240, 244, 240, 0.92) 100%
    );
}

.header-tagline-line--right {
    margin-left: 14px;
    background: linear-gradient(
        90deg,
        rgba(240, 244, 240, 0.92) 0%,
        rgba(236, 239, 234, 0.55) 15%,
        rgba(255, 255, 255, 0.08) 55%,
        transparent 100%
    );
}

.header-tagline-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    flex-shrink: 0;
    /* Mesma cor do ícone e do texto do slogan */
    --tagline-chain-color: #66bb6a;
    animation: taglineCorePulse 6.2s ease-in-out infinite;
}

/* Corrente: verde médio saturado + halo suave */
.header-tagline-chain {
    flex-shrink: 0;
    color: var(--tagline-chain-color, #66bb6a);
    filter:
        drop-shadow(0 0 6px rgba(102, 187, 106, 0.95))
        drop-shadow(0 0 14px rgba(129, 199, 132, 0.55))
        drop-shadow(0 0 22px rgba(165, 214, 167, 0.3));
    animation: taglineChainPulse 6.2s ease-in-out infinite;
}

/* Texto: mesma cor das correntes + brilho verde coerente */
.header-tagline-text {
    font-size: clamp(1rem, 2.6vw, 1.55rem);
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--tagline-chain-color, #66bb6a);
    text-shadow:
        0 0 12px rgba(102, 187, 106, 0.85),
        0 0 22px rgba(129, 199, 132, 0.5),
        0 0 34px rgba(165, 214, 167, 0.25),
        0 1px 2px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    animation: taglineTextGlow 6.2s ease-in-out infinite;
}

@keyframes taglineGlowPulse {
    0%, 100% {
        opacity: 0.66;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.78;
        transform: translate(-50%, -50%) scale(1.02);
    }
}

@keyframes taglineTextGlow {
    0%, 100% {
        text-shadow:
            0 0 12px rgba(102, 187, 106, 0.85),
            0 0 22px rgba(129, 199, 132, 0.5),
            0 0 34px rgba(165, 214, 167, 0.25),
            0 1px 2px rgba(0, 0, 0, 0.4);
    }
    50% {
        text-shadow:
            0 0 13px rgba(102, 187, 106, 0.9),
            0 0 24px rgba(129, 199, 132, 0.55),
            0 0 36px rgba(165, 214, 167, 0.26),
            0 1px 2px rgba(0, 0, 0, 0.4);
    }
}

@keyframes taglineCorePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.015);
    }
}

@keyframes taglineChainPulse {
    0%, 100% {
        transform: scale(1);
        filter:
            drop-shadow(0 0 6px rgba(102, 187, 106, 0.95))
            drop-shadow(0 0 14px rgba(129, 199, 132, 0.55))
            drop-shadow(0 0 22px rgba(165, 214, 167, 0.3));
    }
    50% {
        transform: scale(1.03);
        filter:
            drop-shadow(0 0 7px rgba(102, 187, 106, 0.98))
            drop-shadow(0 0 17px rgba(129, 199, 132, 0.64))
            drop-shadow(0 0 25px rgba(165, 214, 167, 0.36));
    }
}

.header-idioma {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-idioma-flag {
    width: 32px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
}

.header-idioma-select {
    background: rgba(255,255,255,0.9);
    color: #333;
    border: 1px solid rgba(46,125,50,0.3);
    height: 24px;
    padding: 0 0.45rem;
    line-height: 22px;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
}

.header-idioma-select:hover,
.header-idioma-select:focus {
    border-color: #2e7d32;
    outline: none;
}

/* Faixa de menus */
.menu-strip {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.menu-pages a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.menu-pages a:hover {
    color: #2e7d32;
}

.menu-home-btn {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    font-size: 0.95rem;
    font-weight: 500;
}

.menu-home-btn:empty::before {
    content: attr(title);
}

.menu-home-btn svg {
    display: none !important;
    width: 22px;
    height: 22px;
}

.menu-pages .menu-sep {
    color: #999;
    margin: 0 0.5rem;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    padding: 0;
    margin: 0;
}

.menu-list a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
}

.menu-list a:hover {
    color: #2e7d32;
    background: #e8f5e9;
}

.menu-list .menu-item-signup a {
    color: #43a047;
    font-weight: 600;
}

.menu-list .menu-item-signup a:hover {
    color: #2e7d32;
    background: transparent;
    text-decoration: underline;
}

/* Conteúdo principal */
.site-main {
    flex: 1;
    padding: 40px 1rem 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Index: imagem em largura total, proporção natural (sem cover/fit que amplia) */
.site-main--index {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1rem 50px;
    min-height: 0;
}

.index-hero-wrap {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: #e9ecef;
    line-height: 0;
}

.index-hero-img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.home-hero-text--index {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 30px 1rem 0.75rem;
    margin: 0;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    pointer-events: none;
    line-height: normal;
}

.home-index-title {
    margin: 28px 0 0;
    padding: 0 0.75rem;
    pointer-events: auto;
    text-align: center;
    font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-size: clamp(1.85rem, 5.8vw, 2.85rem);
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1.35;
    color: #fff;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.75),
        0 2px 14px rgba(0, 0, 0, 0.45),
        0 0 2px rgba(0, 0, 0, 0.9);
}

.home-index-subtitulo {
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    width: min(42rem, calc(100% - 2rem));
    margin: 0;
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: center;
    font-family: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-size: clamp(1.35rem, 4.8vw, 2rem);
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.03em;
    line-height: 1.45;
    color: #fff;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.75),
        0 2px 14px rgba(0, 0, 0, 0.45),
        0 0 2px rgba(0, 0, 0, 0.9);
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 499px) {
    .site-main--index {
        padding: 0 0 36px;
    }

    /* Hero em tela cheia (index_cell.jpg no <picture>): imagem cobre toda a viewport */
    .index-hero-wrap {
        position: relative;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        height: 100vh;
        height: 100svh;
        height: 100dvh;
    }

    .index-hero-wrap > picture {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .index-hero-wrap .index-hero-img {
        width: 100%;
        height: 100%;
        min-height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center center;
    }

    .home-hero-text--index {
        padding: 14px 0.6rem 0.5rem;
        z-index: 2;
    }

    .home-index-title {
        margin-top: 10px;
        padding: 0 0.45rem;
        font-size: clamp(1.28rem, 6vw, 1.62rem);
        letter-spacing: 0.028em;
        line-height: 1.28;
    }

    .home-index-subtitulo {
        bottom: 22px;
        width: calc(100% - 0.75rem);
        padding: 0 0.45rem;
        font-size: clamp(0.98rem, 4.2vw, 1.32rem);
        line-height: 1.38;
        z-index: 2;
    }
}

.home-hero-text {
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.home-hero-titulo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2e7d32;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 200px;
    padding: 1rem;
    box-sizing: border-box;
    margin-left: calc(50% - 50vw);
    background: transparent;
}

.home-hero-subtitulo {
    font-size: 1.15rem;
    color: #2e7d32;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 200px;
    padding: 1rem;
    box-sizing: border-box;
    margin-left: calc(50% - 50vw);
    background: transparent;
}

.hero {
    text-align: center;
    padding: 2rem 1rem;
}

.hero-text {
    font-size: 1.15rem;
    color: #555;
}

/* Rodapé: nome da empresa, ano, copyright (ordem correta) */
.site-footer {
    background: #37474f;
    color: #b0bec5;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

.footer-copy {
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.site-footer p:last-child {
    margin: 0;
    font-size: 0.875rem;
}

.site-footer a {
    color: #b0bec5;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
    color: #e0e0e0;
}

/* Responsivo */
@media (max-width: 600px) {
    .site-header {
        padding: 1rem 0.75rem;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .header-idioma-select {
        font-size: 0.8rem;
        padding: 0.3rem 0.4rem;
    }

    .menu-strip {
        padding: 0.6rem 0.75rem;
    }

    .menu-list {
        gap: 0.25rem 1rem;
        padding: 0;
    }

    .menu-list a {
        font-size: 0.875rem;
    }

    .home-hero-titulo {
        font-size: 1.95rem;
    }
}

/* Telas menores que 400px */
@media (max-width: 399px) {
    .site-header {
        flex-wrap: wrap;
        padding: 0.6rem 0.5rem;
        gap: 0.35rem;
    }

    .site-title img {
        height: 32px;
        max-width: 120px;
    }

    .header-tagline-block {
        flex: 1 1 100%;
        order: 3;
        min-height: auto;
        padding: 4px 0 2px;
        justify-content: center;
    }

    /* Traços brancos curtos nas laterais (mesma linha que ícone + texto) */
    .header-tagline-row {
        max-width: 100%;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .header-tagline-core {
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100% - 56px);
        justify-content: center;
        gap: 6px;
        padding: 0 2px;
        box-sizing: border-box;
    }

    .header-tagline-chain {
        width: 24px;
        height: auto;
        max-height: 19px;
        flex-shrink: 0;
        filter:
            drop-shadow(0 0 4px rgba(102, 187, 106, 0.9))
            drop-shadow(0 0 10px rgba(129, 199, 132, 0.45))
            drop-shadow(0 0 16px rgba(165, 214, 167, 0.22));
    }

    .header-tagline-line--left,
    .header-tagline-line--right {
        flex: 0 0 18px;
        width: 18px;
        min-width: 18px;
        max-width: 18px;
    }

    .header-tagline-line--left {
        margin-right: 6px;
        margin-left: 0;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.35) 40%,
            rgba(255, 255, 255, 0.95) 100%
        );
    }

    .header-tagline-line--right {
        margin-left: 6px;
        margin-right: 0;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.35) 60%,
            transparent 100%
        );
    }

    .header-tagline-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
        line-height: 1.25;
        font-size: 0.88rem;
        color: var(--tagline-chain-color, #66bb6a);
        text-shadow:
            0 0 8px rgba(102, 187, 106, 0.75),
            0 0 16px rgba(129, 199, 132, 0.4),
            0 0 24px rgba(165, 214, 167, 0.2),
            0 1px 2px rgba(0, 0, 0, 0.45);
    }

    .header-tagline-glow {
        width: 100%;
        max-width: 280px;
        height: 72px;
        filter: blur(14px);
    }

    .header-idioma {
        margin-left: auto;
    }

    .header-idioma-flag {
        width: 24px;
        height: 20px;
    }

    .header-idioma-select {
        font-size: 0.75rem;
        height: 20px;
        padding: 0 0.3rem;
        line-height: 18px;
        max-width: 100px;
    }

    .menu-strip {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0.5rem;
        gap: 0.4rem;
    }

    .menu-pages {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.1rem 0.18rem;
        width: 100%;
    }

    .menu-pages a {
        font-size: 0.74rem;
        display: inline;
        width: auto;
        text-align: center;
        white-space: nowrap;
    }

    /* Mesmo tamanho dos outros itens; evita colapso (font-size:0) no flex que some o Início */
    .menu-pages a.menu-home-btn {
        font-size: 0.74rem !important;
        font-weight: 500;
        color: #555;
        flex-shrink: 0;
        min-width: min-content;
        display: inline !important;
        visibility: visible !important;
    }

    .menu-pages .menu-sep {
        display: inline;
        margin: 0 0.04rem;
    }

    .menu-list {
        justify-content: center;
        gap: 0.5rem;
    }

    .menu-list a {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .site-main {
        padding: 1rem 0.5rem;
    }

    .home-hero-titulo {
        font-size: 1.7rem;
    }

    .site-footer {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .footer-copy {
        font-size: 0.8rem;
    }

    .site-footer p:last-child {
        font-size: 0.8rem;
    }

    /* Modais em telas pequenas */
    #modal-avaliacoes > div,
    #modal-contato > div,
    #modal-avaliacoes-obrigado > div,
    #modal-conta-excluida > div {
        padding: 16px;
        max-width: 100%;
        width: 95%;
        margin: 0.5rem;
    }
}
