/* ============================================================
   RWC SEGUROS — Design System
   Tema: Preto (#0a0a0a) + Dourado (#d4af37)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --preto: #0a0a0a;
    --preto-suave: #141414;
    --dourado: #d4af37;
    --dourado-escuro: #c19d2e;
    --dourado-claro: #f0dc9a;
    --creme: #fdf6e3;
    --branco: #ffffff;
    --cinza-bg: #f5f6f8;
    --texto: #232323;
    --texto-suave: #666;
    --borda: #e8e8e8;
    --verde-ok: #155724;
    --vermelho-erro: #721c24;
    --sombra-card: 0 10px 35px rgba(0, 0, 0, 0.12);
    --sombra-hover: 0 16px 45px rgba(0, 0, 0, 0.18);
    --raio: 12px;
    --transicao: 0.25s ease;
}

/* ---------- Reset e Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cinza-bg);
    color: var(--texto);
    line-height: 1.6;
    overflow-x: hidden; /* trava rolagem horizontal acidental no celular */
    background-image:
        radial-gradient(circle at 6% 12%, rgba(212, 175, 55, 0.08), transparent 30%),
        radial-gradient(circle at 95% 85%, rgba(212, 175, 55, 0.07), transparent 30%);
    background-attachment: fixed;
    background-repeat: no-repeat;
}

::selection {
    background: var(--dourado);
    color: var(--preto);
}

/* Scrollbar customizada */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--dourado); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--dourado-escuro); }

/* Foco acessível */
:focus-visible {
    outline: 2px solid var(--dourado);
    outline-offset: 2px;
}

img { max-width: 100%; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   HEADER (base — vale para todas as páginas)
   ============================================================ */
header {
    background-color: var(--preto);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4%;
    border-bottom: 3px solid var(--dourado);
    position: sticky;
    top: 0;
    z-index: 900;
    transition: box-shadow var(--transicao);
}

header.rolou,
.site-header.rolou {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dourado);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}

#nav-menu {
    display: flex;
    align-items: center;
}

/* ---------- Header novo (classes) ---------- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 10px 4%;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 3px solid var(--dourado);
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    height: 58px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: transform var(--transicao), border-color var(--transicao);
}

.site-logo:hover img {
    transform: scale(1.07);
    border-color: var(--dourado);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item { position: relative; }

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px 2px;
    letter-spacing: 0.2px;
    position: relative;
    white-space: nowrap;
    transition: color var(--transicao);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--dourado);
    border-radius: 2px;
    transition: width var(--transicao);
}

.nav-link:hover { color: var(--dourado); }
.nav-link:hover::after { width: 100%; }

/* ---------- Dropdown ---------- */
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #101010;
    min-width: 240px;
    max-height: 380px;
    overflow-y: auto;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
    border: 1px solid #262626;
    border-radius: 10px;
    padding: 8px 0;
    z-index: 300;
}

.dropdown-menu.aberto { display: block; animation: dropDown 0.18s ease; }

@keyframes dropDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dropdown-menu a {
    display: block;
    padding: 10px 22px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background var(--transicao), color var(--transicao), padding-left var(--transicao);
}

.dropdown-menu a:hover {
    background: #1c1c1c;
    color: var(--dourado);
    padding-left: 27px;
}

.dropdown-menu::-webkit-scrollbar { width: 7px; }
.dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.dropdown-menu::-webkit-scrollbar-thumb { background: var(--dourado); border-radius: 4px; }

/* ---------- Botões de Auth ---------- */
.auth-buttons,
.botoes-auth {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.btn-login, .btn-criar,
.btn-outline-dourado, .btn-dourado {
    text-decoration: none;
    padding: 9px 22px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: transform var(--transicao), background var(--transicao), color var(--transicao), box-shadow var(--transicao);
    white-space: nowrap;
    display: inline-block;
    cursor: pointer;
}

.btn-login,
.btn-outline-dourado {
    background: transparent;
    color: var(--dourado) !important;
    border: 2px solid var(--dourado);
}
.btn-login:hover,
.btn-outline-dourado:hover {
    background: var(--dourado);
    color: var(--preto) !important;
}

.btn-criar,
.btn-dourado {
    background: var(--dourado);
    color: var(--preto) !important;
    border: 2px solid var(--dourado);
}
.btn-criar:hover,
.btn-dourado:hover {
    background: var(--dourado-escuro);
    border-color: var(--dourado-escuro);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background:
        radial-gradient(circle at 82% 25%, rgba(212, 175, 55, 0.16), transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #181818 60%, #101010 100%);
    padding: 85px 5% 115px;
    position: relative;
    overflow: hidden;
}

/* Hero com imagem IA ao fundo (versão desfocada, sem texto da marca) */
.hero-imagem {
    background:
        linear-gradient(100deg, rgba(8, 8, 8, 0.96) 30%, rgba(10, 10, 10, 0.78) 62%, rgba(12, 12, 12, 0.45) 100%),
        url('../img/hero-familia-desfocada.png') center right / cover no-repeat,
        #0a0a0a;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.hero-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.08);
    color: var(--dourado-claro);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.hero-texto h1 {
    color: white;
    font-size: clamp(32px, 4.6vw, 52px);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 18px;
}

.hero-texto h1 span {
    background: linear-gradient(90deg, var(--dourado), var(--dourado-claro));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-texto p {
    color: #c9c9c9;
    font-size: 17px;
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-acoes {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--dourado), var(--dourado-escuro));
    color: var(--preto);
    padding: 15px 34px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 10px 26px rgba(212, 175, 55, 0.35);
    transition: transform var(--transicao), box-shadow var(--transicao);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(212, 175, 55, 0.45);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: white;
    padding: 13px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: border-color var(--transicao), color var(--transicao), transform var(--transicao);
}

.btn-ghost:hover {
    border-color: var(--dourado);
    color: var(--dourado);
    transform: translateY(-3px);
}

.btn-ghost svg { width: 19px; height: 19px; stroke: currentColor; }

.hero-stats {
    display: flex;
    gap: 42px;
    flex-wrap: wrap;
}

.stat b {
    display: block;
    font-size: 27px;
    font-weight: 800;
    color: var(--dourado);
    line-height: 1.1;
}

.stat span {
    color: #a9a9a9;
    font-size: 13px;
}

.hero-arte {
    display: flex;
    justify-content: center;
}

.hero-arte svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: flutuar 5s ease-in-out infinite;
    filter: drop-shadow(0 22px 40px rgba(212, 175, 55, 0.18));
}

@keyframes flutuar {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

/* ============================================================
   SEÇÕES EM CARDS BRANCOS
   ============================================================ */
.secao-video,
.categorias-section,
.imagens-destaque-duo,
.parceiros-section {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
}

.secao-video { margin-top: -65px; }
.categorias-section { margin-top: 48px; }
.imagens-destaque-duo { margin-top: 42px; }
.parceiros-section { margin-top: 55px; max-width: 980px; }

.video-box,
.categorias-box,
.contato-card,
.parceiros-box {
    background: white;
    border-radius: var(--raio);
    box-shadow: var(--sombra-card);
    padding: 36px;
    border-top: 5px solid var(--dourado);
}

.video-box h2,
.categorias-box h3 {
    text-align: center;
    color: var(--preto);
    margin-bottom: 20px;
    font-size: 21px;
}

/* ---------- Vídeo institucional animado ---------- */
.video-placeholder {
    width: 100%;
    aspect-ratio: 21 / 9;
    min-height: 300px;
}

.video-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 30%, rgba(212, 175, 55, 0.22), transparent 50%),
        linear-gradient(120deg, #0a0a0a 0%, #171310 55%, #1d160c 100%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-fundo {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(212,175,55,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    animation: videoPan 24s linear infinite alternate;
}

@keyframes videoPan {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-40px, -26px) scale(1.08); }
}

.video-particulas span {
    position: absolute;
    bottom: -8px;
    border-radius: 50%;
    background: rgba(240, 220, 154, 0.75);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
    animation: subir linear infinite;
}

@keyframes subir {
    from { transform: translateY(0); opacity: 0; }
    12%  { opacity: 1; }
    to   { transform: translateY(-420px); opacity: 0; }
}

.video-escudo {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(120px, 22%, 230px);
    opacity: 0.5;
    animation: flutuar 5s ease-in-out infinite;
}

.video-texto {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 62%;
    padding-left: 7%;
}

.video-texto h3 {
    color: #fff;
    font-size: clamp(17px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.3;
}

.video-texto p {
    color: var(--dourado-claro);
    font-size: clamp(13px, 1.7vw, 19px);
    margin-top: 6px;
}

.video-texto.animar h3,
.video-texto.animar p {
    animation: cenaEntra 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.video-texto.animar p { animation-delay: 0.25s; }

@keyframes cenaEntra {
    from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.video-play-btn {
    position: absolute;
    z-index: 3;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: none;
    background: var(--dourado);
    color: var(--preto);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    animation: pulsar 2s infinite;
    transition: transform var(--transicao), opacity var(--transicao);
}

.video-play-btn svg { width: 30px; height: 30px; margin-left: 4px; fill: var(--preto); }
.video-play-btn:hover { transform: scale(1.08); }
.video-play-btn.escondido { opacity: 0; pointer-events: none; }

.video-controles {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
    opacity: 0;
    transition: opacity var(--transicao);
}

.video-canvas:hover .video-controles,
.video-canvas.tocando .video-controles { opacity: 1; }

.video-controles button {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 11px;
    cursor: pointer;
    transition: background var(--transicao);
}

.video-controles button:hover { background: rgba(255, 255, 255, 0.3); }

.video-barras {
    flex: 1;
    display: flex;
    gap: 6px;
}

.vb {
    flex: 1;
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.vb i {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--dourado);
    transform: scaleX(0);
    transform-origin: left;
}

.vb i.cheia { transform: scaleX(1); }

.vb i.enchendo {
    animation: vbEncher linear forwards;
    animation-duration: inherit;
}

@keyframes vbEncher {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.video-indice {
    color: #ddd;
    font-size: 11.5px;
    font-weight: 600;
}

@keyframes pulsar {
    0%   { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.45); }
    70%  { box-shadow: 0 0 0 22px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* ---------- Seção Sobre (imagem + texto) ---------- */
.sobre-section {
    max-width: 1150px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 55px;
    align-items: center;
}

.sobre-imagem {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.sobre-imagem img {
    width: 100%;
    display: block;
    transition: transform 6s ease;
}

.sobre-imagem:hover img {
    transform: scale(1.06);
}

.sobre-imagem::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 10, 0.55));
    pointer-events: none;
}

.sobre-selo {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-left: 5px solid var(--dourado);
    border-radius: 14px;
    padding: 14px 22px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    animation: flutuar 4s ease-in-out infinite;
}

.sobre-selo b {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--preto);
    line-height: 1.1;
}

.sobre-selo span {
    font-size: 12.5px;
    color: var(--texto-suave);
    font-weight: 600;
}

.sobre-badge {
    display: inline-block;
    border: 1px solid rgba(193, 157, 46, 0.5);
    background: rgba(212, 175, 55, 0.1);
    color: var(--dourado-escuro);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.sobre-texto h2 {
    text-align: left;
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.22;
    color: var(--preto);
    margin-bottom: 18px;
}

.sobre-texto h2 span {
    background: linear-gradient(90deg, var(--dourado-escuro), var(--dourado));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sobre-texto p {
    color: var(--texto-suave);
    font-size: 15.5px;
    margin-bottom: 14px;
}

.sobre-lista {
    list-style: none;
    margin: 22px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sobre-lista li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--texto);
}

.sobre-lista svg {
    width: 22px;
    height: 22px;
    stroke: var(--dourado-escuro);
    background: var(--creme);
    border-radius: 50%;
    padding: 4px;
    flex-shrink: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    max-width: 1150px;
    margin: 65px auto 0;
    padding: 0 20px;
}

.cta-conteudo {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 20%, rgba(240, 220, 154, 0.25), transparent 45%),
        linear-gradient(120deg, #14100a 0%, #1d180d 55%, #241c0e 100%);
    border-radius: 26px;
    padding: 52px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.cta-conteudo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212,175,55,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.cta-texto h2 {
    color: #fff;
    font-size: clamp(22px, 2.8vw, 32px);
    margin-bottom: 8px;
    text-align: left;
}

.cta-texto p {
    color: #c9bfa5;
    font-size: 15.5px;
}

.cta-acoes {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-cta-branco {
    display: inline-block;
    background: #fff;
    color: var(--preto);
    padding: 15px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    transition: transform var(--transicao), box-shadow var(--transicao);
    white-space: nowrap;
}

.btn-cta-branco:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255, 255, 255, 0.25);
}

.btn-cta-whats {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #25d366, #1eb857);
    color: #fff;
    padding: 15px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: transform var(--transicao), box-shadow var(--transicao);
    white-space: nowrap;
}

.btn-cta-whats svg { width: 19px; height: 19px; stroke: #fff; }

.btn-cta-whats:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
}

/* ---------- Categorias rápidas ---------- */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 22px;
}

.categoria-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 11px;
    padding: 14px 6px;
    border-radius: 12px;
    transition: transform var(--transicao), background var(--transicao), box-shadow var(--transicao);
}

.categoria-item:hover {
    transform: translateY(-6px);
    background: var(--creme);
    box-shadow: 0 12px 26px rgba(212, 175, 55, 0.22);
}

.categoria-icone {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--creme);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transicao), transform var(--transicao);
}

.categoria-item:hover .categoria-icone {
    border-color: var(--dourado);
    transform: scale(1.08);
}

.categoria-icone svg { width: 30px; height: 30px; stroke: var(--preto); }

.categoria-item span {
    font-size: 13px;
    font-weight: 700;
    color: var(--preto);
    text-align: center;
}

/* ---------- Vantagens ---------- */
.vantagens-section {
    max-width: 1100px;
    margin: 55px auto 0;
    padding: 0 20px;
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.vantagem-card {
    background: white;
    border-radius: var(--raio);
    box-shadow: var(--sombra-card);
    padding: 30px 26px;
    border-top: 4px solid transparent;
    transition: transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}

.vantagem-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--sombra-hover);
    border-top-color: var(--dourado);
}

.vantagem-icone {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--creme), #f7ecc8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.vantagem-icone svg { width: 26px; height: 26px; stroke: var(--dourado-escuro); }

.vantagem-card h3 {
    font-size: 16px;
    color: var(--preto);
    margin-bottom: 8px;
}

.vantagem-card p {
    font-size: 13.5px;
    color: var(--texto-suave);
}

/* ---------- Contato ---------- */
.contato-wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 55px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.contato-card h2 {
    text-align: center;
    color: var(--preto);
    margin-bottom: 6px;
}

.contato-card h2 span { color: var(--dourado-escuro); }

.contato-sub {
    text-align: center;
    color: var(--texto-suave);
    font-size: 14px;
    margin-bottom: 34px;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.contato-lista {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--borda);
    border-radius: 10px;
    transition: border-color var(--transicao), box-shadow var(--transicao), transform var(--transicao);
}

.contato-item:hover {
    border-color: var(--dourado);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.16);
    transform: translateX(4px);
}

.contato-icone {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--creme);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contato-icone svg { width: 22px; height: 22px; stroke: var(--preto); }

.contato-item strong {
    display: block;
    color: var(--preto);
    font-size: 14.5px;
}

.contato-item span {
    color: var(--texto-suave);
    font-size: 13.5px;
}

/* Formulários */
.form-contato input,
.form-contato textarea,
.campo-input {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid #dcdcdc;
    border-radius: 8px;
    font-size: 14px;
    color: var(--texto);
    background: white;
    transition: border-color var(--transicao), box-shadow var(--transicao);
}

.form-contato input:focus,
.form-contato textarea:focus,
.campo-input:focus {
    outline: none;
    border-color: var(--dourado);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.form-contato textarea {
    min-height: 145px;
    resize: vertical;
    font-family: inherit;
}

.form-linha-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-contato textarea { margin-bottom: 14px; }

/* reCAPTCHA — mantém dentro da largura da tela no celular */
.recaptcha-wrap {
    display: flex;
    justify-content: center;
    margin: 14px 0;
    max-width: 100%;
}

.btn-enviar {
    width: 100%;
    background: linear-gradient(135deg, var(--dourado), var(--dourado-escuro));
    color: var(--preto);
    padding: 15px;
    border: none;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform var(--transicao), box-shadow var(--transicao), opacity var(--transicao);
}

.btn-enviar:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.4);
}

.btn-enviar:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ============================================================
   PARCEIROS
   ============================================================ */
.parceiros-box h2 {
    color: var(--preto);
    margin-bottom: 26px;
}

.parceiros-subtitulo {
    color: var(--dourado-escuro);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: left;
    margin: 26px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--creme);
}

.parceiros-subtitulo:first-of-type {
    margin-top: 0;
}

.parceiros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.parceiro-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--borda);
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    min-width: 0;
    filter: grayscale(0.85);
    opacity: 0.78;
    transition: filter var(--transicao), opacity var(--transicao), transform var(--transicao), box-shadow var(--transicao);
}

.parceiro-item:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* Nome da empresa — aparece no hover */
.parceiro-nome {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 10px;
    background: rgba(10, 10, 10, 0.82);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.3px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transicao);
}

.parceiro-item:hover .parceiro-nome {
    opacity: 1;
}

.parceiro-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    min-width: 0;
    min-height: 0;
}

/* ============================================================
   FOOTER NOVO
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, #0a0a0a, #060606);
    color: #b5b5b5;
    margin-top: 70px;
    border-top: 3px solid var(--dourado);
}

.footer-grid {
    max-width: 1150px;
    margin: 0 auto;
    padding: 55px 5% 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 40px;
}

.footer-marca img {
    height: 62px;
    border-radius: 50%;
    margin-bottom: 14px;
}

.footer-marca p {
    font-size: 13.5px;
    max-width: 270px;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transicao), background var(--transicao), transform var(--transicao);
}

.footer-social a:hover {
    border-color: var(--dourado);
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-3px);
}

.footer-social svg { width: 17px; height: 17px; stroke: var(--dourado); fill: none; }

.footer-col h4 {
    color: var(--dourado);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: #b5b5b5;
    text-decoration: none;
    font-size: 13.5px;
    transition: color var(--transicao), padding-left var(--transicao);
}

.footer-col a:hover {
    color: var(--dourado);
    padding-left: 5px;
}

.footer-contato li {
    display: flex;
    gap: 10px;
    font-size: 13.5px;
    align-items: flex-start;
}

.footer-contato svg {
    width: 16px;
    height: 16px;
    stroke: var(--dourado);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-base {
    border-top: 1px solid #222;
    padding: 20px 5%;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.footer-base a { color: var(--dourado); text-decoration: none; }
.footer-base a:hover { text-decoration: underline; }

/* Footer simples (páginas internas) */
footer {
    background-color: var(--preto);
    color: #aaa;
    text-align: center;
    padding: 26px 20px;
    border-top: 1px solid #333;
}

.links-uteis a {
    color: var(--dourado);
    text-decoration: none;
    margin: 0 10px;
}
.links-uteis a:hover { text-decoration: underline; }

/* ============================================================
   CONTEÚDO GENÉRICO / LEGADO (mantido p/ páginas internas)
   ============================================================ */
main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--preto);
}

.botoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 50px;
}

.btn-rapido {
    background-color: white;
    border: 2px solid var(--preto);
    color: var(--preto);
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transicao);
}

.btn-rapido:hover {
    background-color: var(--preto);
    color: var(--dourado);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

#formulario-contato {
    background-color: white;
    padding: 30px;
    border-radius: var(--raio);
    box-shadow: var(--sombra-card);
    border-top: 5px solid var(--dourado);
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    padding-right: 60px;
    border: 1.5px solid #dcdcdc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color var(--transicao), box-shadow var(--transicao);
}

.input-group input:focus {
    outline: none;
    border-color: var(--dourado);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.btn-olho {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #888;
    cursor: pointer;
    padding: 5px 10px;
}

.btn-olho:hover {
    color: var(--dourado-escuro);
    border-color: var(--dourado);
}

#auth-container span {
    font-size: 14px;
    font-weight: bold;
}

/* Mensagens de alerta */
.mensagem-escondida { display: none; }

#mensagem-alerta, #mensagem-login, #mensagem-cadastro {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.mensagem-erro {
    display: block !important;
    background-color: #f8d7da;
    color: var(--vermelho-erro);
    border: 1px solid #f5c6cb;
    animation: aparecerMsg 0.25s ease;
}

.mensagem-sucesso {
    display: block !important;
    background-color: #d4edda;
    color: var(--verde-ok);
    border: 1px solid #c3e6cb;
    animation: aparecerMsg 0.25s ease;
}

@keyframes aparecerMsg {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25d366, #1eb857);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    z-index: 999;
    text-decoration: none;
    transition: transform var(--transicao);
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: pulsar 2.2s infinite;
}

.whatsapp-float:hover { transform: scale(1.1) rotate(6deg); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* ============================================================
   ANIMAÇÕES DE SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visivel {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-arte svg { animation: none; }
    html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1000px) {
    /* Header novo */
    .site-header { position: relative; }
    .menu-toggle { display: block; order: 3; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0d0d0d;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 6% 22px;
        border-bottom: 3px solid var(--dourado);
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
        z-index: 500;
    }

    .site-nav.ativo { display: flex; }

    .nav-link { padding: 12px 4px; border-bottom: 1px solid #1d1d1d; }
    .nav-link::after { display: none; }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: #151515;
        max-height: none;
        animation: none;
    }

    @keyframes dropDown { from { opacity: 0; } to { opacity: 1; } }

    .auth-buttons {
        margin-left: auto;
        order: 2;
    }

    /* Header legado */
    header { padding: 15px 20px; flex-wrap: wrap; }
    #nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
    }
    #nav-menu.ativo { display: flex; }
    nav ul.menu-principal {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    nav ul.menu-principal li { width: 100%; margin: 5px 0; }
    .botoes-auth { flex-direction: column; width: 100%; margin-top: 15px; gap: 10px; }
    .btn-login, .btn-criar { text-align: center; width: 100%; }
    .dropdown-menu { position: static; box-shadow: none; padding-left: 20px; transform: none; }
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.ativo .dropdown-menu { display: block; }
}

@media (max-width: 860px) {
    .hero { padding: 60px 6% 100px; }
    .hero-conteudo { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .hero-texto p { margin-left: auto; margin-right: auto; }
    .hero-acoes, .hero-stats { justify-content: center; }
    .hero-stats { gap: 28px; }
    .hero-arte svg { max-width: 290px; }

    /* Hero com imagem: escurece mais para legibilidade */
    .hero-imagem {
        background:
            linear-gradient(180deg, rgba(8, 8, 8, 0.9) 0%, rgba(10, 10, 10, 0.86) 100%),
            url('../img/hero-familia-desfocada.png') center / cover no-repeat,
            #0a0a0a;
    }

    .sobre-grid { grid-template-columns: 1fr; gap: 34px; }
    .sobre-texto h2, .cta-texto h2 { text-align: center; }
    .sobre-lista li { justify-content: flex-start; }

    .cta-conteudo {
        flex-direction: column;
        text-align: center;
        padding: 42px 26px;
    }
    .cta-acoes { justify-content: center; }

    .contato-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 640px) {
    .form-linha-2 { grid-template-columns: 1fr; }
    .video-box, .categorias-box, .contato-card, .parceiros-box { padding: 26px 18px; }
    .imagens-destaque-duo { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .auth-buttons .btn-login { display: none; } /* economiza espaço no mobile */
    .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
    .whatsapp-float svg { width: 28px; height: 28px; }

    .contato-wrapper { padding: 0 14px; margin-bottom: 30px; }
    .contato-item { padding: 14px 14px; gap: 12px; }
    .contato-item span { word-break: break-word; }
    .contato-grid { gap: 22px; }
    .btn-enviar { width: 100%; }
}

/* reCAPTCHA cabe em telas bem estreitas: encolhe e recorta a borda */
@media (max-width: 400px) {
    .recaptcha-wrap {
        justify-content: flex-start;
        height: 66px;
        overflow: hidden;
    }
    .recaptcha-wrap .g-recaptcha {
        transform: scale(0.86);
        transform-origin: 0 0;
    }
}

/* ==========================================
   BANNER DAS PÁGINAS INTERNAS
   ========================================== */
.banner-pagina {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(8, 8, 8, 0.94) 35%, rgba(10, 10, 10, 0.72) 65%, rgba(12, 12, 12, 0.5) 100%),
        url('../img/banner-familia-desfocada.png') center right / cover no-repeat,
        #0a0a0a;
    padding: 64px 6% 58px;
    border-bottom: 3px solid var(--dourado);
}

.banner-pagina::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.banner-conteudo {
    position: relative;
    z-index: 1;
    max-width: 1150px;
    margin: 0 auto;
}

.banner-badge {
    display: inline-block;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: rgba(212, 175, 55, 0.08);
    color: var(--dourado-claro);
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.banner-conteudo h1 {
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
}

.banner-conteudo p {
    color: #c9c9c9;
    font-size: 15.5px;
}

/* ==========================================
   SEÇÃO INSTAGRAM
   ========================================== */
.instagram-section {
    margin: 70px auto;
    max-width: 1100px;
}

.instagram-card {
    background: linear-gradient(135deg, #161616 0%, #201a10 100%);
    border: 1px solid #262626;
    border-radius: 22px;
    padding: 55px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.instagram-icone {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 8px 24px rgba(220, 39, 67, 0.35);
}

.instagram-icone svg {
    width: 34px;
    height: 34px;
    stroke: #fff;
}

.instagram-card h2 {
    font-size: 1.9rem;
    margin: 8px 0 0;
    color: #fff;
}

.instagram-card h2 span {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.instagram-card p {
    color: #b5b5b5;
    max-width: 540px;
    margin: 0;
    line-height: 1.65;
}

.btn-instagram {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-instagram svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(188, 24, 136, 0.5);
}

@media (max-width: 640px) {
    .instagram-section { margin: 46px auto; }
    .instagram-card { padding: 36px 20px; }
    .instagram-card h2 { font-size: 1.4rem; }
}
