/* Reset e Variáveis CSS */
:root {
    --primary: #365260;
    --primary-dark: #38588C;
    --primary-light: #365260;
    --secondary: #ac3113;
    --secondary-dark: #E05575;
    --accent: #4ECDC4;
    --light: #F8F9FA;
    --dark: #2D3436;
    --gray: #636E72;
    --light-gray: #DFE6E9;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 10px;
}

h1 {
    font-size: 3.2rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    position: relative;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.2rem;
    color: #535252;
    font-weight: 400;
}

footer p {
    color: #fff;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ac3113;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ac3113, var(--secondary-dark));
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover:before {
    left: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: #fff;
}

.btn-secondary {
    background: linear-gradient(90deg, #ac3113, var(--secondary-dark));
}

.btn-secondary:before {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.btn-accent {
    background: linear-gradient(90deg, var(--accent), #6AE0D8);
    color: var(--dark);
}

.btn-accent:before {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.section {
    padding: 100px 0;
}

.section-light {
    background-color: white;
}

.section-gray {
    background-color: #f9fafc;
}

.text-center {
    text-align: center;
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Header Moderno */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    color: #ac3113;
    font-size: 2rem;
}

.logo span {
    background: linear-gradient(90deg, var(--primary), #ac3113);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Menu Moderno */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu > li {
    position: relative;
    margin-left: 30px;
}

.nav-menu > li > a {
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    color: var(--dark);
}

.nav-menu > li > a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ac3113;
    transition: var(--transition);
}

.nav-menu > li > a:hover {
    color: #ac3113;
}

.nav-menu > li > a:hover:after {
    width: 100%;
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 15px 0;
}

.nav-menu > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 10px 25px;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.submenu a:hover {
    background-color: rgba(74, 111, 165, 0.05);
    color: var(--primary);
    padding-left: 30px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    background: none;
    border: none;
}

/* Hero Section Moderna */
.hero {
    background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%234A6FA5" opacity="0.03"/></svg>');
    background-size: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), #ac3113);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cdcdcd;
    font-weight: 400;
}

/* Manifesto Moderno */
.manifesto {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: white;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

.manifesto:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    z-index: 0;
}

.manifesto-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.manifesto p {
    font-size: 1.4rem;
    font-style: italic;
    color: white;
    font-weight: 300;
    margin-bottom: 0;
}

/* Carrosséis */
.carousel-section {
    margin: 80px 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin: 40px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Estilo para carrossel de revistas */
.magazine-carousel .carousel-slide {
    min-width: 33.333%;
}

/* Estilo para carrossel de blog */
.blog-carousel .carousel-slide {
    min-width: 33.333%;
}

/* Estilo para carrossel de projetos */
.projects-carousel .carousel-slide {
    min-width: 33.333%;
}

@media (max-width: 992px) {
    .magazine-carousel .carousel-slide,
    .blog-carousel .carousel-slide,
    .projects-carousel .carousel-slide {
        min-width: 50%;
    }
}

@media (max-width: 768px) {
    .magazine-carousel .carousel-slide,
    .blog-carousel .carousel-slide,
    .projects-carousel .carousel-slide {
        min-width: 100%;
    }
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.carousel-nav button {
    background: var(--light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark);
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.carousel-nav button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Cards Modernos */
.magazine-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.magazine-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.magazine-img {
    height: 250px;
    background-color: var(--light-gray);
    background-size: cover;
    background-position: center;
}

.magazine-content {
    padding: 25px;
}

.magazine-tag {
    display: inline-block;
    background: rgba(74, 111, 165, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Blog Section */
.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    height: 200px;
    background-color: var(--light-gray);
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #4a4a4a;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Projects Section */
.project-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-img {
    height: 200px;
    background-color: var(--light-gray);
    background-size: cover;
    background-position: center;
}

.project-content {
    padding: 25px;
}

.project-category {
    display: inline-block;
    background: rgba(255, 107, 139, 0.1);
    color: #ac3113;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Footer Moderno */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-logo i {
    margin-right: 10px;
    color: #ac3113;
}

.footer-logo span {
    background: linear-gradient(90deg, #fff, #a83215);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(90deg, #ac3113, var(--secondary-dark));
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: #ac3113;
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsividade */
@media (max-width: 1100px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
        border-radius: 0 0 var(--radius) var(--radius);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu > li {
        margin: 0 0 20px 0;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(74, 111, 165, 0.05);
        margin-top: 10px;
        border-radius: var(--radius-sm);
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .manifesto {
        padding: 30px;
    }
    
    .manifesto p {
        font-size: 1.1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 130px 0 60px;
    }
    
    .btn {
        padding: 12px 25px;
    }
}

/* CSS ISOLADO APENAS PARA A HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%234A6FA5" opacity="0.03"/></svg>');
    background-size: cover;
    z-index: 0;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text-content {
    max-width: 600px;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #2D3436;
    font-family: 'Montserrat', sans-serif;
}

.hero-highlight {
    background: linear-gradient(90deg, #365260, #ac3113);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #636E72;
    margin-bottom: 40px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.hero-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
    z-index: -1;
}

.hero-btn:hover:before {
    left: 0;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    color: #fff;
}

.hero-btn-primary {
    background: linear-gradient(90deg, #365260, #365260);
}

.hero-btn-primary:before {
    background: linear-gradient(90deg, #ac3113, #E05575);
}

.hero-btn-secondary {
    background: linear-gradient(90deg, #ac3113, #E05575);
}

.hero-btn-secondary:before {
    background: linear-gradient(90deg, #365260, #365260);
}

.hero-stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid rgba(74, 111, 165, 0.1);
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #365260;
    margin-bottom: 5px;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: #636E72;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-img-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    transition: transform 0.5s ease;
}

.hero-img-container:hover .hero-main-img {
    transform: scale(1.05);
}

.hero-img-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: -1;
}

.hero-deco-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(74, 111, 165, 0.1), rgba(255, 107, 139, 0.1));
}

.hero-deco-1 {
    width: 100px;
    height: 100px;
    top: -30px;
    right: -30px;
}

.hero-deco-2 {
    width: 70px;
    height: 70px;
    bottom: 40px;
    left: -20px;
}

.hero-deco-3 {
    width: 50px;
    height: 50px;
    bottom: -15px;
    right: 60px;
}

/* Responsividade */
@media (max-width: 1100px) {
    .hero-grid-wrapper {
        gap: 60px;
    }
    
    .hero-main-title {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .hero-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-text-content {
        max-width: 100%;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-img-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .hero-stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}


.modulo-contato p {
    color: #000;
}