* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f5f6f7;
    color: #333;
    padding-top: 80px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: white;
    border-bottom: 1px solid #ddd;
    transition: top 0.3s;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #008035;
}

/* Links da navbar */
nav a {
    position: relative;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #008035;
    font-weight: 500;
    transition: 0.3s;
}

/* Efeito ao passar o mouse */
nav a:hover {
    background: #e6eefc;
}

/* Opcional: efeito mais suave (fade) */
nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: #e6eefc;
    opacity: 0;
    transition: 0.3s;
    z-index: -1;
}

nav a:hover::before {
    opacity: 1;
}

.login-btn {
    background: #008035;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.nav-buttons button {
    background: #008035;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.nav-buttons button:hover {
    background: #00662B;
}

/* PERFIS */
.profiles {
    margin-top: 100px;
    padding: 50px 20px;
    text-align: center;
    color: #00662B;
}

.profiles-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.profile {
    text-align: center;
    width: 140px;
    transition: 0.3s;
}

.profile img {
    width: 110px;
    border-radius: 50%;
    border: 3px solid #dbe4f0;
    margin-bottom: 10px;
}

.profile:hover {
    transform: translateY(-5px);
}

/* PROPOSTA */
.proposal {
    background: white;
    padding: 50px 20px;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.proposal h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #00662B;
}

.proposal > .container > p {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.proposal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.proposal-grid div {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.proposal-grid div:hover {
    background: #eef3fc;
}

/* BANNER */
.banner {
    margin-top: 40px;
}

/* Container mantém proporção 16:9 */
.banner-content {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* 🔥 chave do problema */
    border-radius: 10px;
    overflow: hidden;
}

/* Vídeo ocupa todo o espaço */
.banner-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-info {
    margin-top: 20px;
    border-left: 4px solid #008035;
    padding-left: 15px;
}

.banner-info h1 {
    font-size: 28px;
    color: #00662B;
    margin-bottom: 10px;
}

.banner-info p {
    font-size: 16px;
    color: #555;
}

/* CARDS */
.cards {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 20px;
    padding: 40px 20px;
}

.card {
    flex: 1;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
}

.card h3 {
    padding: 10px;
}

.card p {
    padding: 0 10px 15px;
}

/* BOTAO VOLTAR AO TOPO */
#btnTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #008035;
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
    z-index: 999;
}

#btnTop:hover {
    background: #00662B;
    transform: translateY(-3px);
}

/* FOOTER */
.footer {
    background: #00662B;
    color: white;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.footer-left h3 {
    margin-bottom: 10px;
}

.footer-left p {
    color: #cbd3e1;
}

.footer-right p {
    margin-bottom: 8px;
}

.footer a {
    color: #58a6ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Parte de baixo */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #cbd3e1;
}