@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0c4c9d;
    --secondary-color: #ff9800;
    --dark-blue: #003380;
    --light-gray: #f8f9fa;
    --text-color: #333;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.central-vendas {
    display: flex;
    align-items: center;
}

.central-vendas * {margin-right:5px;}

.central-vendas i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 24px;
}

.central-vendas-list {
    display:inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.central-vendas-list a {color: var(--primary-color); text-decoration:none;}

.central-vendas-list li {
    padding: 2px 0;
}

.logo-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 10px;
}

.logo {
    max-height: 60px;
}

#logoglobal {max-height:66px;}
#logoporto {max-height:36px;}

/* Hero Section */
.hero {
    padding: 0;
}

.heroimg {max-width:200px;}



.hero-col {
    flex: 1;
    min-width: 300px;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    background-image: url('bg-1-1.webp');
    background-size: cover;
    background-position: center;
}

.hero-col-online {
    background: rgba(0, 136, 213, 0.8); /* #0088D5 com 80% de opacidade */
}

.hero-col-especialista {
    background: rgba(12, 76, 155, 0.8); /* #0c4c9b com 80% de opacidade */
}

.hero-col-content {
    padding: 40px;
    color: #fff;
    max-width: 500px;
}

.hero-col h2 {
    line-height:1.2;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-col p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-col .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .hero-col {
        min-height: 300px;
    }
    
    .central-vendas {
		display:block;
        place-items: center;
        width: 100%;
    }
	
    .central-vendas-list {
		display: block;
    }
	
	.central-vendas i {display:none}
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Coberturas */
.coberturas {
    background-color: var(--light-gray);
}

.coberturas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.cobertura-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cobertura-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cobertura-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.cobertura-item h3 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.cobertura-item p {
    color: #666;
    font-size: 0.95rem;
}

.simulacao-online {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.simulacao-online h3 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.simulacao-online p {
    margin-bottom: 20px;
}

/* Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.servico-item {
    text-align: center;
}

.servico-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.servico-icon i {
    font-size: 35px;
    color: var(--white);
}

.servico-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Estilos para a seção de outros seguros */
.outros-seguros {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

/* Grid de seguros em linha */
.seguros-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 15px;
}

/* Item individual de seguro */
.seguro-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.seguro-item:hover {
    transform: translateY(-5px);
}

/* Ícones */
.seguro-icon {
    font-size: 32px;
    color: #0056b3;
    margin-bottom: 10px;
}

/* Informações */
.seguro-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

/* Botão de cotação */
.fazer-cotacao {
    display: inline-block;
    padding: 6px 12px;
    color: #fff;
    background-color: #007bff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.fazer-cotacao:hover {
    background-color: #0056b3;
}

/* Responsividade para telas menores */
@media (max-width: 992px) {
    .seguros-grid {
        flex-wrap: wrap;
    }
    
    .seguro-item {
        flex-basis: 48%;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .seguro-item {
        flex-basis: 100%;
    }
}

/* Estilos para a seção de outros seguros */
.outros-seguros {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

/* Grid de seguros em linha */
.seguros-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 15px;
    width: 100%;
}

/* Item individual de seguro */
.seguro-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.seguro-item:hover {
    transform: translateY(-5px);
}

/* Ícones/Imagens */
.seguro-icon {
    margin-bottom: 15px;
}

.seguro-icon img {
    width: 64px;
    height: auto;
}

/* Informações */
.seguro-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

/* Botão de cotação */
.fazer-cotacao {
    display: inline-block;
    padding: 8px 16px;
    color: #fff;
    background-color: #007bff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.fazer-cotacao:hover {
    background-color: #0056b3;
}

/* Responsividade para telas menores */
@media (max-width: 992px) {
    .seguros-grid {
        flex-wrap: wrap;
    }
    
    .seguro-item {
        flex-basis: 48%;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .seguro-item {
        flex-basis: 100%;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    max-height: 66px;
    margin-bottom: 20px;
}

.footer-about p {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-links h3 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.privacy-policy {
    font-size: 0.8rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 15px;
}

/* WhatsApp Button */
.whatsapp-button {
    text-decoration:none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* Modals/Popups */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Success Modal */
.success-modal {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-title {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 768px) {
	header {position: relative}
	
    .hero-buttons {
        flex-direction: column;
    }
    
    .header-top {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .logo-container {
        flex-direction: row;
    }
    
    .logo {
		max-width:40%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .coberturas-grid,
    .servicos-grid,
    .seguros-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .btn {
        width: 100%;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
}