/* Variáveis de cores e estilos */
:root {
    --black: #000000;
    --dark-blue: #0a192f;
    --navy: #112240;
    --light-navy: #15314b;
    --gold: #d4af37;
    --light-gold: #f1e5ac;
    --white: #ffffff;
    --light-gray: #ccd6f6;
    --dark-gray: #8892b0;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--light-gray);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

body.fade-in {
    opacity: 1;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--light-gray);
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1s forwards 0.5s;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.logo span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--light-gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--light-gray);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.blog-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 2rem 2rem;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--black) 100%);
    overflow: hidden;
}

.carbon-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='%230a192f'/%3E%3Cpath d='M0 0l100 100M100 0L0 100' stroke='%2315324b' stroke-width='0.5'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.floating-diamonds {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border-right: 0.15em solid var(--gold);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--dark-gray);
    font-weight: 400;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--light-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-gray);
    border: 1px solid var(--gold);
}

.btn-secondary:hover {
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* Diagonal Transition */
.diagonal-section {
    position: relative;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-blue) 100%);
    padding: 6rem 0;
}

.diagonal-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--black);
    transform: skewY(-2deg);
    z-index: 1;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--black);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 1s;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card {
    background: var(--navy);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.service-card:nth-child(1) {
    animation: fadeInUp 1s forwards 1.2s;
}

.service-card:nth-child(2) {
    animation: fadeInUp 1s forwards 1.4s;
}

.service-card:nth-child(3) {
    animation: fadeInUp 1s forwards 1.6s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--black) 100%);
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--black);
    transform: skewY(2deg);
    z-index: 1;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.benefit-item:nth-child(1) {
    animation: fadeInUp 1s forwards 1.2s;
}

.benefit-item:nth-child(2) {
    animation: fadeInUp 1s forwards 1.4s;
}

.benefit-item:nth-child(3) {
    animation: fadeInUp 1s forwards 1.6s;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.benefit-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.benefit-description {
    color: var(--dark-gray);
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background-color: var(--black);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--light-navy);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    border: 3px solid var(--light-navy);
    position: relative;
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step-description {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--black) 100%);
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 1s;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
.blog-footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--black) 100%);
    padding: 5rem 2rem 2rem;
    position: relative;
}

.blog-footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--black);
    transform: skewY(2deg);
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
}

.footer-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.footer-widget p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 0.8rem;
}

.footer-link a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(204, 214, 246, 0.1);
    font-size: 0.9rem;
    color: var(--dark-gray);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Phone Number Styling */
.phone-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.phone-number i {
    font-size: 1.3rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--navy);
    color: var(--light-gray);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--light-gold);
    transform: translateY(-5px);
}

/* Responsividade */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: var(--navy);
        width: 250px;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .phone-number {
        font-size: 1rem;
        justify-content: flex-start;
    }
}

/* Animações e efeitos especiais */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--gold) }
}

.floating-diamonds::before,
.floating-diamonds::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--gold);
    border-radius: 2px;
    opacity: 0.5;
    animation: float 5s ease-in-out infinite;
}

.floating-diamonds::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-diamonds::after {
    top: 60%;
    right: 20%;
    animation-delay: 2.5s;
}
