
:root{
    color-scheme: light;

    --bg:#f4efe6;
    --paper:#e6ddd0;

    --green-dark:#33402f;
    --green-medium:#5f6b4e;
    --green-soft:#8a9275;

    --wine:#7a2e20;
    --wine-soft:#a34b39;

    --text:#2a241f;
    --text-soft:#62584d;

    --border:#cfc2b1;
    --shadow:rgba(34,25,20,.15);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Cormorant Garamond', serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

/* HEADER */

header{
    position:fixed;
    top:0;
    width:100%;
    padding:10px 60px;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    background:var(--green-medium);
    box-shadow:0 4px 20px rgba(0,0,0,.08);
}

header::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-20px;
    width:100%;
    height:25px;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cpath fill='%235f6b4e' d='M0 10 C5 20 15 20 20 10 S35 0 40 10 S55 20 60 10 S75 0 80 10 S95 20 100 10 S115 0 120 10 V0 H0 Z'/%3E%3C/svg%3E");
    background-repeat:repeat-x;
    background-size:120px 25px;
}

nav{
    display:flex;
    gap:35px;
    flex-wrap:wrap;
}

nav a{
    color:#f4efe6;
    font-size:0.8rem;
    transition:.3s;
}

nav a:hover{
    color:#ffd7c8;
}


/* MAIN */

main{
    padding:110px 80px 100px;
}

/* HERO */

.hero{
    min-height:85vh;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:80px;
    align-items:center;
    margin-bottom:120px;
}

.hero-text h1{
    font-family:"Dancing Script", cursive;
    font-size:7rem;
    line-height:.95;
    font-weight:500;
    color:var(--green-dark);
    margin-bottom:25px;
}

.hero-text p{
    font-size:2rem;
    line-height:1.6;
    color:var(--text-soft);
}

.hero img{
    border-radius:14px;
    border:3px solid var(--paper);
    box-shadow:0 15px 40px rgba(0,0,0,.18);
}

/* SEÇÕES */

.content-section{
    margin-bottom:90px;
}

.section-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    border-bottom:1px solid var(--green-soft);
    padding-bottom:14px;
}

.section-title h2{
    font-size:2.3rem;
    color:var(--green-medium);
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
    gap:28px;
}

/* CARDS */

.post-card{
    background:var(--paper);
    border:1px solid var(--border);
    border-radius:12px;
    padding:42px;
    min-height:520px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    transition:.35s ease;
    box-shadow:0 6px 20px var(--shadow);
}

.post-card:hover{
    transform:translateY(-6px);
    background:#ede5d8;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.category{
    font-size:.8rem;
    letter-spacing:2px;
    color:var(--wine);
    font-weight:600;
    margin-bottom:20px;
}

.post-card h3{
    font-family:"Dancing Script", cursive;
    font-size:3.5rem;
    color:var(--green-dark);
    margin-bottom:20px;
}

.post-text{
    font-size:1.7rem;
    line-height:1.7;
    color:var(--text);
    flex:1;
}

.meta{
    margin-top:35px;
    color:var(--text-soft);
    font-size:.95rem;
}

/* QUOTE */

.quote{
    text-align:center;
    padding:90px 20px 20px;
}

.quote-symbol{
    font-size:5rem;
    color:var(--wine);
}

.quote p{
    font-family:"Dancing Script", cursive;
    font-size:3rem;
    line-height:1.6;
    color:var(--wine);
}

/* FOOTER */

footer{
    border-top:1px solid var(--green-soft);
    background:var(--green-medium);
    padding:40px 80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.footer-left,
.footer-center,
.footer-right a{
    color:#f4efe6;
}

.footer-center{
    font-size:2rem;
}

.footer-right{
    display:flex;
    gap:22px;
}

/* RESPONSIVO */

@media(max-width:1000px){

    header{
        padding:20px 30px;
    }

    nav{
        justify-content:center;
        gap:18px;
    }

    main{
        padding:120px 30px 80px;
    }

    .hero{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-text h1{
        font-size:5rem;
    }

    .hero-text p{
        font-size:1.6rem;
    }

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

    footer{
        flex-direction:column;
        gap:20px;
        text-align:center;
        padding:30px;
    }
}

@media(max-width:600px){

    .hero-text h1{
        font-size:3.8rem;
    }

    .hero-text p{
        font-size:1.3rem;
    }

    .post-card{
        padding:28px;
        min-height:auto;
    }

    .post-card h3{
        font-size:2.8rem;
    }

    .post-text{
        font-size:1.35rem;
    }

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