/*
Theme Name: Roteiro Pra Que
Theme URI: https://roteiropraque.com.br
Author: Manus AI
Description: Tema customizado para o portal Roteiro Pra Que, com foco em planejamento de viagens.
Version: 6.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roteiro-pra-que
*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

:root {
    --primary-blue: #0D1B6E;
    --secondary-blue: #1565C0;
    --success-green: #0A8C5A;
    --warning-yellow: #E6A817;
    --error-red: #D63838;
    --light-bg: #F5F7FF;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
	--purple: #660066;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: clamp(1.75rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue);
}

/* ===== HEADER ===== */
.site-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 70px; /* Garante altura mínima para o alinhamento */
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Alinha tudo verticalmente no centro */
    gap: 2rem;
    flex-wrap: nowrap;
}

.site-logo {
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
    white-space: nowrap;
}

.site-logo a {
    color: var(--white);
    display: flex;
    align-items: center; /* Alinha ícone e texto da logo */
    gap: 0.5rem;
    font-weight: bold;
    text-decoration: none;
}

.site-logo a img {
	max-width: 1.5rem;
}

.main-navigation {
    display: none;
    flex: 1;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center; /* Alinha itens do menu */
}

.main-navigation a {
    color: var(--white);
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.main-navigation a:hover {
    color: var(--success-green);
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    border: none;
}

.btn-outline-blue {
    border: 2px solid var(--secondary-blue);
    color: var(--white);
    background-color: transparent;
}

.btn-outline-blue:hover {
    background-color: var(--secondary-blue);
}

.btn-outline-white {
	border: 2px solid var(--white);
    color: var(--white);
    background-color: transparent;
}

.btn-outline-white:hover {
    background-color: var(--white);
}

.btn-solid-green {
    background-color: var(--success-green);
    color: var(--white);
}

.btn-solid-green:hover {
    background-color: #087a4d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 140, 90, 0.3);
}

/* Menu Mobile Toggle */
.menu-toggle {
    display: flex;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-toggle.active::after {
    content: '✕';
}

.menu-toggle::after {
    content: '☰';
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: var(--primary-blue);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 0.75rem 0;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* Botões dentro do menu mobile */
.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
}

/* Ocultar botões no mobile */
.desktop-only {
    display: none;
}

/* Media Query - Mostrar botões no desktop */
@media (min-width: 768px) {
    .desktop-only {
        display: flex;
    }
    
    .mobile-buttons {
        display: none;
    }
}

/* Media Query - Mobile */
@media (max-width: 767px) {
    .header-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(180deg, rgba(13, 27, 110, 0.8) 0%, rgba(21, 101, 192, 0) 100%), 
            url('https://www.roteiropraque.com.br/wp-content/uploads/2026/05/wallpaper_roteiro_pra_que.png' ) center/cover;
    color: var(--white);
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
	min-height: 33rem;
    margin: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)" /></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h3 {
	font-size: 1.5rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    font-weight: bold;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
	min-width: 12rem;
}

.btn-hero-primary {
    background-color: var(--success-green);
    color: var(--white);
}

.btn-hero-primary:hover {
    background-color: #087a4d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 140, 90, 0.3);
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 0 1rem;
    background-color: var(--light-bg);
    width: 100%;
    margin: 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
	position: relative;
	top: -2.75rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.feature-icon .bi-map-fill {
	color: var(--success-green);
}

.feature-icon .bi-briefcase-fill {
	color: var(--secondary-blue);
}

.feature-icon .bi-share-fill {
	color: var(--purple);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 1rem 0;
    font-weight: bold;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 2rem 1rem;
    margin-top: 2rem;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--success-green);
}

.social-icons {
    font-size: 0.95rem;
}

.site-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== ELEMENTOR COMPATIBILITY ===== */
.elementor {
    background-color: var(--light-bg);
}

.elementor-section {
    padding: 0;
}

/* ===== MOBILE (até 767px) ===== */
@media (max-width: 767px) {
    .main-navigation {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-container {
        flex-wrap: nowrap;
    }

    .site-logo {
        font-size: 1rem;
    }

    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }

    .hero-icon {
        font-size: 2rem;
    }

    .btn-hero {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }
	
	.menu {
		list-style-type: none;
	}
}

/* ===== TABLET (768px - 1023px) ===== */
@media (min-width: 768px) {
    .main-navigation {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    .header-buttons {
        gap: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}

/* ===== DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
    .header-container {
        gap: 2rem;
    }

    .main-navigation ul {
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
	
	.feature-card {
		max-width: 360px;
	}

    .btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 1.5rem;
    }

    .hero-section {
        padding: 2rem 1rem 5rem 1rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* ===== PRINT ===== */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle {
        display: none;
    }

    body {
        background-color: var(--white);
    }
}
