/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #00234B;
    padding: 0.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
    border-radius: 8px;
    display: block;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 8px 12px;
}

header nav ul li a:hover {
    color: #FF4F00;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px; /* Laranja */
}

/* Menu Hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Seção Hero */
#hero {
    background: linear-gradient(rgba(0, 35, 75, 0.8), rgba(0, 35, 75, 0.8)), url('https://images.unsplash.com/photo-1554774853-719586f82d77?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    color: #fff;
    padding: 180px 0 100px;
    text-align: center;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    background-color: #FF4F00; /* Laranja */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #e04500;
}

.cta-button i {
    margin-right: 8px;
    font-size: 1.2em;
}

/* Seções Padrão */
section {
    padding: 80px 0;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00234B; /* Azul Marinho */
}

section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

#sobre {
    background: #fff;
}

#sobre p {
    text-align: justify;
    max-width: 800px;
}

/* Seção Seguros - Cards */
#seguros {
    background: #f8f9fa;
}

#seguros .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF4F00, #FF7A00);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: rgba(255, 79, 0, 0.1);
}

.card h3 {
    font-size: 1.3rem;
    color: #00234B;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Ícones dos Cards */
.card-icon {
    height: 80px;
    width: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #FF4F00, #FF7A00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 79, 0, 0.2);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px rgba(255, 79, 0, 0.35);
}

/* Seção Cotação - Formulário */
#cotacao {
    background: #fff;
}

.form-cotacao {
    max-width: 700px;
    margin: 2rem auto 0;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #00234B;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF4F00;
}

.form-group textarea {
    resize: vertical;
}

.form-cotacao button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
}

/* Seção Contato */
#contato {
    background-color: #00234B; /* Azul Marinho */
    color: #fff;
}

#contato h2, #contato p {
    color: #fff;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo {
        height: 60px;
        margin-bottom: 0;
    }

    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #00234B;
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }

    header nav.active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    header nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    header nav ul li a {
        display: block;
        padding: 15px 10px;
        width: 100%;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #seguros .cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        max-width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}


/* Alinhamento dos contatos no rodapé */
footer .footer-contacts {
    text-align: left;
    display: inline-block;
    margin-top: 1rem;
}

footer .footer-contacts p {
    margin: 0.5rem 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

footer .footer-contacts i {
    width: 25px;
    display: inline-block;
    text-align: center;
    margin-right: 8px;
    flex-shrink: 0;
}

footer .footer-contacts a {
    display: flex;
    align-items: center;
}

