/* ========================= */
/*       VARIÁVEIS CSS       */
/* ========================= */
:root {
    --primary-color: #007bff;
    --hover-color: #0056b3;
    --text-color: #333;
    --bg-color: #fff;
    --header-bg: rgba(0, 0, 0, 0.8);
    --shadow-light: 0px 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 10px 20px rgba(0, 0, 0, 0.15);
    --transition-speed: 0.3s;
}
  
/* ========================= */
/*         RESET             */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
  
html, body {
    font-size: 16px;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}
  
h1, h2, h3, p {
    line-height: 1.6;
}
  
a {
    text-decoration: none;
    color: inherit;
}
  
ul {
    list-style: none;
}
  
/* ========================= */
/*         HEADER            */
/* ========================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    z-index: 1000;
    transition: background var(--transition-speed);
}
  
header img {
    height: 50px;
}
  
/* Navegação */
nav {
    display: flex;
    align-items: center;
}
  
nav ul {
    display: flex;
    gap: 1.2rem;
}
  
nav ul li a {
    color: var(--bg-color);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    transition: transform var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
}
  
nav ul li a:hover {
    color: var(--primary-color);
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(0,123,255,0.6);
}
  
/* Botão de ação no menu */
.nav-btn {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}
  
.nav-btn:hover {
    background-color: var(--hover-color);
    transform: scale(1.1);
}
  
/* ========================= */
/*       HERO SECTION        */
/* ========================= */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Garante que o conteúdo seja sempre visível */
    min-height: 100vh;
    background-image: url('fotomeusite.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-top: 80px; /* Espaço para o header fixo */
}
  
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
  
.hero h1 {
    position: relative;
    z-index: 2;
    font-size: 5vw; /* Tamanho proporcional */
    font-weight: 700;
    margin-bottom: 20px;
}
  
.hero p,
.hero .btn {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    margin-top: 10px;
    color: #fff;
}
  
.hero .btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
  
.hero .btn:hover {
    background-color: var(--hover-color);
    transform: scale(1.05);
}
  
/* ========================= */
/*       HIGHLIGHTS          */
/* ========================= */
.highlights {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 20px;
}
  
.highlights .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
  
.highlight-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    max-width: 300px;
    flex: 1 1 300px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
  
.highlight-card img {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}
  
.highlight-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
  
.highlight-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
  
.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
  
/* ========================= */
/*     CONTEÚDO GERAL       */
/* ========================= */
.content-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 40px auto;
}
  
.image-container {
    position: relative;
    max-width: 40%;
    border-radius: 12px;
    overflow: hidden;
}
  
.image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 0;
    border-radius: 12px;
}
  
.image-container img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 12px;
}
  
.text-content {
    flex: 1;
    padding-left: 60px;
    font-family: 'Roboto', sans-serif;
    color: #333;
    min-height: 300px;
}
  
.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}
  
.text-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.8;
}
  
.text-content ul {
    margin: 0 0 30px 0;
}
  
.text-content ul li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
  
.text-content ul li::before {
    content: "➔";
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}
  
.text-content button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}
  
.text-content button:hover {
    background-color: var(--hover-color);
    transform: scale(1.05);
}
  
/* ========================= */
/*       CTA SECTION        */
/* ========================= */
.cta-box {
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}
  
.cta-box p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}
  
.cta-box a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color var(--transition-speed) ease;
}
  
.cta-box a:hover {
    background-color: #002699;
}
  
/* ========================= */
/*      COTAÇÃO SEGURO      */
/* ========================= */
.cotacao-seguro {
    background-color: var(--primary-color);
    padding: 4rem 2rem;
}
  
.cotacao-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}
  
.cotacao-texto {
    flex: 1;
    max-width: 500px;
}
  
.cotacao-texto h2 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
  
.cotacao-texto h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: bold;
}
  
.cotacao-texto p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.6;
}
  
.cotacao-botao {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-color);
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
  
.cotacao-botao:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}
  
.cotacao-imagem {
    flex: 1;
    max-width: 500px;
    text-align: center;
}
  
.cotacao-imagem img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
  
/* ========================= */
/*       SEÇÕES GERAIS      */
/* ========================= */
section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
  
h3 i {
    margin-right: 8px;
    color: #FF6A00;
}
  
.cotacao-botao a {
    transition: transform 0.3s ease;
}
  
.cotacao-botao:hover {
    color: #fff;
    transform: scale(1.05);
}
  
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
  
.btn:hover {
    background-color: var(--primary-color);
}
  
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
    font-size: 12px;
}
  
/* Tablets (até 1024px) */
@media (max-width: 1024px) {
    section {
        flex-direction: column;
        padding: 60px 20px;
    }
    
    .hero {
        min-height: 100vh;
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .text-content h2 {
        font-size: 2rem;
    }
    
    .text-content p {
        font-size: 1.1rem;
    }
    
    .content-container {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }
    
    .image-container {
        max-width: 100%;
    }
    
    .text-content {
        padding-left: 0;
    }
}
  
/* Celulares grandes e tablets menores (até 768px) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        margin-top: 10px;
    }
    
    section {
        min-height: auto;
        padding: 40px 20px;
    }
    
    .hero {
        min-height: 100vh;
        padding: 30px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Ajuste dos cards para telas menores */
    .highlights .container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .content-container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .text-content h2 {
        font-size: 1.5rem;
    }
    
    .text-content p {
        font-size: 1rem;
    }
    
    .cotacao-container {
        flex-direction: column;
        text-align: center;
    }
}
  
/* Telas muito pequenas (até 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .text-content h2 {
        font-size: 1.3rem;
    }
}
