/*
Theme Name: Instituto do Frete
Author: Seu Nome
Version: 1.0
*/

/* ================================
   VARIÁVEIS E RESET GLOBAL
================================ */

:root {
    --azul-escuro: #001f3f;
    --azul-claro: #3a7bd5;
    --laranja: #f37335;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ================================
   ESTILOS DA HOME
================================ */

body {
    background-color: #f0f4f8;
    color: #2d3436;
    line-height: 1.6;
}

/* HERO */
header {
    background: #060b17;
    color: white;
    padding: 100px 20px 130px;
    text-align: center;
}

.logo-img {
    max-width: 340px;
    width: 100%;
    margin-bottom: 30px;
    filter: drop-shadow(0px 10px 25px rgba(0,0,0,0.5));
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 720px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-button {
    background: var(--laranja);
    color: white;
    padding: 16px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.25s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(243,115,53,0.35);
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: -90px auto 60px;
    padding: 0 20px;
}

.card {
    background: rgba(255, 255, 255, 0.97);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border-top: 5px solid var(--laranja);
}

h2 {
    color: var(--azul-escuro);
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-box {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--azul-claro);
}

.feature-box h3 {
    color: var(--azul-claro);
    margin-bottom: 10px;
}

.cta-secondary {
    margin-top: 30px;
    text-align: center;
}

/* SEÇÃO IA */
.ia-section {
    background: linear-gradient(135deg, #001f3f 0%, #000c1a 100%);
    color: white;
    padding: 45px;
    border-radius: 15px;
}

.ia-section h2 {
    color: var(--laranja);
}

.ia-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ia-item:last-child {
    border: none;
}

.ia-item strong {
    color: var(--laranja);
    font-size: 1.2rem;
}

footer {
    text-align: center;
    padding: 40px;
    color: #636e72;
}

/* ================================
   ESTILOS DO MAPA
================================ */

.logo-link {
    display: inline-block;
}

.back-button {
    background: var(--laranja);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s ease;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(243,115,53,0.35);
}

.map-container {
    flex: 1;
    width: 100%;
    height: 100%;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ================================
   RESPONSIVO
================================ */

@media (max-width: 768px) {
    .logo-img {
        max-width: 240px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .back-button {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}