/* Fontes locais */
@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/josefin-sans-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/josefin-sans-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/josefin-sans-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/josefin-sans-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/josefin-sans-700.woff2') format('woff2');
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Josefin Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Container principal */
.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

/* Seção 1 - Hero */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/main-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    padding: 40px 80px;
    max-width: 900px;
    width: calc(100% - 120px);
    margin: 0;
    box-sizing: border-box;
}

.hero-logo {
    width: 520px;
    height: 320px;
    border-radius: 50%;
    margin: 0 0 30px 0;
    overflow: hidden;
    background-image: url('assets/images/martha-logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-logo img {
    width: 40%;
    height: 40%;
    object-fit: cover;
}

.hero-tagline {
    font-size: 2.5em;
    font-weight: 500;
    color: #adab70;
    margin-bottom: 20px;
    letter-spacing: 1.6px;
    text-align: left;
    line-height: 1.2;
}

.hero-tagline .highlight {
    font-weight: 700;
    color: #b89b6d;
}

.hero-description {
    font-size: 1.2em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: left;
    max-width: 800px;
}

/* Seção 2 - Para quem projetamos */
.about-section {
    position: relative;
    padding: 100px 0;
    background-image: url('assets/images/image2.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: right;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(26, 42, 58, 0.9) 30%, rgba(26, 42, 58, 0));
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 0 0 auto;
    padding: 0 60px 0 80px; /* Aumentado o padding direito para afastar da borda direita */
    box-sizing: border-box;
}

.about-title {
    font-size: 3em;
    font-weight: 400;
    margin-bottom: 60px;
    letter-spacing: 1.6px;
    text-align: right;
    line-height: 1.2;
}

.about-items {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    margin-top: 60px;
    width: 100%;
}

.about-item {
    text-align: right;
    max-width: 400px;
    width: 100%;
}

.about-item h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f5f0e9;
}

.about-item p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #f5f0e9;
}

/* Seção 3 - Processo */
.process-section {
    position: relative;
    padding: 100px 0;
    background-image: url('assets/images/image3.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.process-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(173, 171, 112, 0.9), rgba(173, 171, 112, 0.7)); /* Alterado para escurecer */
    z-index: 1;
}

.process-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.process-title {
    font-size: 3em;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 1.6px;
    text-align: center;
    color: #f5f0e9;
    line-height: 1.2;
}

.process-subtitle {
    font-size: 1.5em;
    margin-bottom: 50px;
    color: #f5f0e9;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    justify-items: center;
    width: 100%;
}

.process-step {
    text-align: center;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
}

.process-step h4 {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f5f0e9;
}

.process-step p {
    font-size: 1em;
    line-height: 1.6;
    color: #f5f0e9;
}

/* Seção 4 - Call to Action */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-image: url('assets/images/background.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(51, 51, 51, 0.8) 0%, rgba(51, 51, 51, 0) 70%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    box-sizing: border-box;
}

.cta-title {
    font-size: 4em;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
}

.cta-subtitle {
    font-size: 2.5em;
    font-weight: 400;
    margin-bottom: 50px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
}

.cta-button.primary {
    background-color: #000;
    color: #fff;
}

.cta-button.secondary {
    background-color: #eee;
    color: #000;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-content {
        justify-content: center;
        padding: 20px 30px;
        width: calc(100% - 60px);
        text-align: center;
    }

    .hero-logo {
        margin: 0 auto 30px;
    }

    .hero-tagline,
    .hero-description {
        text-align: center;
        padding: 0;
    }

    .hero-tagline {
        font-size: 1.8em;
    }
    
    .hero-description {
        font-size: 1.1em;
        max-width: 100%;
    }
    
    .hero-logo {
        width: 200px;
        height: 200px;
    }

    .about-content,
    .process-content,
    .cta-content {
        width: calc(100% - 30px);
        padding: 0 15px;
    }
    
    .about-title {
        font-size: 2.2em;
        padding: 0 10px;
        text-align: center;
    }

    .process-title {
        font-size: 2.2em;
        padding: 0 10px;
    }
    
    .cta-title {
        font-size: 2.5em;
        padding: 0 10px;
    }
    
    .cta-subtitle {
        font-size: 1.8em;
        padding: 0 10px;
    }
    
    .about-items {
        align-items: center;
    }

    .about-item {
        text-align: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        padding: 0 10px;
        gap: 30px;
    }
    
    .about-item,
    .process-step {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px 20px;
        width: calc(100% - 40px);
    }

    .hero-tagline {
        font-size: 1.5em;
    }
    
    .hero-description {
        font-size: 1em;
    }

    .about-content,
    .process-content,
    .cta-content {
        width: calc(100% - 20px);
        padding: 0 10px;
    }
    
    .about-title,
    .process-title {
        font-size: 1.8em;
    }
    
    .cta-title {
        font-size: 2em;
    }
    
    .cta-subtitle {
        font-size: 1.5em;
    }
    
    .about-items,
    .process-steps {
        gap: 20px;
    }
    
    .about-section,
    .process-section,
    .cta-section {
        padding: 60px 0;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 320px) {
    .hero-content {
        width: 100%;
        padding: 0 15px;
    }

    .hero-content,
    .about-content,
    .process-content,
    .cta-content {
        width: 100%;
        padding: 0 5px;
    }

    .hero-tagline {
        font-size: 1.3em;
    }

    .about-title,
    .process-title {
        font-size: 1.6em;
    }

    .cta-title {
        font-size: 1.8em;
    }

    .cta-subtitle {
        font-size: 1.3em;
    }
}