/* ==========================================================================
   Confiança RS Corretora de Seguros - Folha de Estilos Consolidada
   ========================================================================== */

:root {
    --primary: #0a3d62;          /* Azul marinho institucional */
    --primary-dark: #072a44;
    --primary-light: #1e537c;
    --accent: #20bf6b;           /* Verde Confia Educação / Destaques */
    --accent-dark: #179b55;
    --text: #2f3542;
    --text-muted: #747d8c;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border: #e4e7eb;
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   Topbar Regulatória
   ========================================================================== */
.topbar {
    background-color: var(--primary-dark);
    color: #ced6e0;
    font-size: 0.85rem;
    padding: 8px 0;
}
.topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.topbar-info .sep {
    margin: 0 8px;
    color: #57606f;
}
.topbar-links a, .topbar-action a {
    color: #ced6e0;
    text-decoration: none;
    transition: color 0.2s;
}
.topbar-links a:hover, .topbar-action a:hover, .topbar-wa {
    color: #7bed9f;
}

/* ==========================================================================
   Cabeçalho Principal
   ========================================================================== */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.brand-img {
    height: 74px; /* Aumento de ~20% para conferir presença marcante */
    width: auto;
    display: block;
}
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 22px;
    align-items: center;
}
.main-nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.main-nav a:hover {
    color: var(--accent);
}
.main-nav .link-destaque {
    background-color: #e8f8f0;
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
}

/* ==========================================================================
   Botões Globais
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
}
.btn-lg {
    padding: 12px 26px;
    font-size: 1rem;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}
.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}
.btn-accent:hover {
    background-color: var(--accent-dark);
}
.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}
.btn-outline-light:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}
.mt-4 {
    margin-top: 20px;
}

/* ==========================================================================
   Hero Section & Card Lateral Compacto
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #082136 100%);
    color: var(--white);
    padding: 70px 0;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 40px;
    align-items: center;
}
.badge-hero {
    display: inline-block;
    background-color: rgba(32, 191, 107, 0.15);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.hero-content h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 800;
}
.hero-content p {
    font-size: 1.1rem;
    color: #dcdde1;
    margin-bottom: 30px;
}
.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.hero-trust {
    font-size: 0.85rem;
    color: #a4b0be;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hero-trust .dot {
    color: var(--accent);
}

.hero-card {
    display: flex;
    justify-content: flex-end;
}
.card-highlight {
    background: var(--white);
    color: var(--text);
    padding: 26px 24px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    width: 100%;
    max-width: 360px;
}
.card-header-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.card-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
}
.card-highlight h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
}
.card-highlight p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 20px;
}
.btn-wa-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25d366;
    color: var(--white);
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-wa-block:hover {
    background-color: #1ebc59;
    transform: translateY(-2px);
}

/* ==========================================================================
   Produtos e Seguros
   ========================================================================== */
.products-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}
.section-title {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.featured-product-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 45px;
    box-shadow: 0 10px 30px rgba(10, 61, 98, 0.15);
}
.featured-product-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 35px;
    align-items: center;
}
.featured-img-col {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}
.badge-featured {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.featured-text-col h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    line-height: 1.25;
}
.featured-text-col p {
    color: #ecf0f1;
    font-size: 1rem;
    margin-bottom: 25px;
}
.featured-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.product-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}
.product-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.product-card h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.card-link:hover {
    color: var(--accent);
}
.card-links-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.card-links-group .link-sep {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Seguradoras Parceiras
   ========================================================================== */
.partners-section {
    padding: 70px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 35px;
}
.partner-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 15px 20px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 61, 98, 0.08);
    border-color: var(--primary);
}
.partner-logo-img {
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(15%);
    transition: filter 0.2s ease;
}
.partner-card:hover .partner-logo-img {
    filter: grayscale(0%);
}

/* ==========================================================================
   Sobre Nós & Institucional
   ========================================================================== */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.about-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.25;
}
.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 18px;
}
.about-highlights {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.highlight-icon {
    background-color: #e8f8f0;
    color: var(--accent);
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.highlight-item strong {
    color: var(--primary);
    font-size: 1rem;
}
.highlight-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}
.about-card-box .about-badge-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.about-badge-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #e8f8f0;
    padding-bottom: 10px;
}
.official-list {
    list-style: none;
    margin-bottom: 25px;
}
.official-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 0.92rem;
    color: var(--text);
}
.official-list li strong {
    color: var(--primary);
}

/* ==========================================================================
   Contacto & Mapa
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}
.contact-info-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-info-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.contact-lead {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.c-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.c-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.c-item strong {
    color: var(--primary);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2px;
}
.c-item p, .c-item a {
    color: var(--text);
    font-size: 0.92rem;
    text-decoration: none;
}
.c-item a:hover {
    color: var(--accent);
}
.contact-map-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}

/* ==========================================================================
   Rodapé Institucional
   ========================================================================== */
.site-footer {
    background-color: #0b1d2e;
    color: #ced6e0;
    padding: 60px 0 0;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo {
    max-height: 48px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1.1rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col a {
    color: #ced6e0;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--accent);
}
.footer-reg {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #a4b0be;
}
.footer-bottom {
    border-top: 1px solid #1e3750;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #a4b0be;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* ==========================================================================
   Botão Flutuante de WhatsApp
   ========================================================================== */
.wa-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: var(--white);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}
.wa-floating-btn:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   Responsividade Mobile / Tablets
   ========================================================================== */
@media (max-width: 900px) {
    .hero-container, 
    .featured-product-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .d-none-sm { display: none; }
    .main-nav { display: none; }
    .header-cta { display: none; }
    .hero-content h1 { font-size: 2rem; }
    .featured-product-banner { padding: 25px; }
}/* Botões de Redes Sociais no Rodapé */
.footer-social-links {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ced6e0;
    padding: 7px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.social-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-2px);
}