/* =============================================
Medson Seguros - Estilos Customizados
Tema WordPress: medson
============================================= */

/* ---- Fontes Locais (Ruda) ---- */
@font-face {
    font-family: 'Ruda';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ruda/ruda-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Ruda';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/ruda/ruda-500.ttf') format('truetype');
}

@font-face {
    font-family: 'Ruda';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/ruda/ruda-700.ttf') format('truetype');
}

@font-face {
    font-family: 'Ruda';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/ruda/ruda-900.ttf') format('truetype');
}

/* ---- Variáveis ---- */
:root {
    --color-dark-blue: #29437b;
    --color-light-blue: #259ed8;
    --color-red: #d62939;
    --color-bg-light: #f8f9fa;
}

body {
    font-family: 'Ruda', sans-serif;
    color: #333;
    padding-top: 76px;
    /* Espaço para o navbar fixo */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--color-dark-blue);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.navbar-brand {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-brand img {
    max-height: 75px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--color-dark-blue) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-red) !important;
}

/* Botões Customizados */
.btn-custom-red {
    background-color: var(--color-red);
    color: white;
    border: none;
    font-weight: 700;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-custom-red:hover {
    background-color: #b0202e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(214, 41, 57, 0.4);
}

.btn-custom-blue {
    background-color: var(--color-light-blue);
    color: white;
    border: none;
    font-weight: 700;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-custom-blue:hover {
    background-color: #1e80b0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 158, 216, 0.4);
}

/* Hero Section */
#hero {
    /* Adicionado imagem de fundo com overlay azul escuro (rgba) para manter legibilidade */
    background: linear-gradient(rgba(41, 67, 123, 0.85), rgba(21, 36, 70, 0.95)), url('https://images.unsplash.com/photo-1560520653-9e0e4c89eb11?q=80&w=1973&auto=format&fit=crop') center center / cover no-repeat;
    color: white;
    padding: 140px 0 100px 0;
    text-align: center;
}

#hero h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Sombra para destacar o texto sobre a imagem */
}

#hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #d1e5f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Sections Geração */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--color-red);
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Cards Sobre Nós */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
    text-align: center;
    padding-bottom: 20px;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
}

.team-card .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-light-blue);
    color: white;
    margin: 15px 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.team-card .social-icons a:hover {
    background-color: var(--color-dark-blue);
}

/* Cards Seguros */
.seguro-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.seguro-card:hover {
    border-color: var(--color-light-blue);
    box-shadow: 0 10px 25px rgba(37, 158, 216, 0.15);
}

.seguro-card i {
    font-size: 3.5rem;
    color: var(--color-dark-blue);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.seguro-card:hover i {
    color: var(--color-light-blue);
}

.seguro-card h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* Soluções */
#solucoes {
    background-color: var(--color-bg-light);
}

.solucao-box {
    text-align: center;
    padding: 30px;
}

.solucao-icon {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 2rem;
    color: var(--color-red);
}

/* CTA Section */
#cta-section {
    /* Adicionada imagem de fundo com overlay azul para manter contraste */
    background: linear-gradient(rgba(37, 158, 216, 0.9), rgba(41, 67, 123, 0.9)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?q=80&w=1920&auto=format&fit=crop') center center / cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 0;
}

#cta-section h2 {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

#cta-section .btn-custom-red {
    font-size: 1.2rem;
    padding: 15px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Contato */
.contact-info i {
    color: var(--color-red);
    font-size: 1.5rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-light-blue);
}

.social-contact a {
    font-size: 1.8rem;
    color: var(--color-dark-blue);
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-contact a:hover {
    color: var(--color-red);
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--color-light-blue);
    box-shadow: 0 0 0 0.25rem rgba(37, 158, 216, 0.25);
}

/* Footer */
footer {
    background-color: var(--color-dark-blue);
    color: white;
    padding: 30px 0;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
    opacity: 0.8;
}

.footer-credits {
    font-size: 0.7rem;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.footer-credits:hover {
    opacity: 1;
}

.footer-credits img {
    height: 14px;
    margin-left: 5px;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s ease;
    vertical-align: middle;
}

.footer-credits:hover img {
    filter: none;
}