#hero{
    display:flex;
    height:100vh;
    max-height:100vh;
    overflow:hidden;
    background:#f2efe6;
}

.hero-image{
    flex:1;
    min-width:0;/**/
    position:relative;
    background:#f2efe6;
}

.hero-image img{
    display:block;/**/
    width:100%;
    height:100%;
    object-fit:cover;/**/

    -webkit-mask-image:linear-gradient(to right, #000 80%, transparent 100%);
            mask-image:linear-gradient(to right, #000 80%, transparent 100%);
}

.hero-image::after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    right:0;
    left:0;
    background:linear-gradient(to right, rgba(242,239,230,0) 74%, rgba(242,239,230,0.55) 89%, #f2efe6 100%);
    pointer-events:none;
}

.hero-content{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    padding-top:24vh;
    background:#f2efe6;

    position:relative;
    overflow:hidden;
}

.hero-tag {
    color: #b67a1c;
    font-weight: 500;
}

.hero-title {
    position: relative;
    font-family: "Cormorant Garamond", serif;
    font-size: 5rem;
    font-weight: 600;
    color: #223a59;
    margin-bottom: 40px;
}

/* Straight horizontal hyphen for "Bem-vindo" (Cormorant's is short/angled) */
.hero-title .hero-hyphen {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.62em;
    vertical-align: 0.09em;
    margin: 0 0.02em;
}

/* Slash grown to match the "d" height, sitting on the baseline (descender trimmed) */
.hero-title .hero-slash {
    display: inline-block;
    font-size: 1em;
    line-height: 0.72em;
    overflow: hidden;
        
}

.hero-title::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -15px;

    width: 100px;
    height: 2px;

    background: #ba9652;
    border-radius: 2px;
}

.hero-text{
    max-width:600px;
    margin-left:80px;

    position:relative;
    z-index:2;
}

.hero-quote{
    position:relative;
    margin-top:50px;
    margin-left:90px;      
    max-width:520px;
    font-family: "Cormorant Garamond", serif;    
    font-weight: 600;
    font-size: 1.35rem;
    text-align: justify;
}


.hero-quote::before{
    content:"“";

    position:absolute;

    top:-5px;
    left:-15px;

    font-family:"EB Garamond", serif;
    font-size:2rem;
    line-height:1;

    color:#c5a575;

    opacity:.8;
}

.hero-quote-close{
    font-family:"EB Garamond", serif;
    font-size:2rem;
    line-height:1;
    color:#c5a575;
    opacity:.8;
    margin-left:3px;
    vertical-align:-0.15em;
}

.hero-quote footer{

    margin-top:25px;
    text-align: right;

    color:#ba9652;

    font-weight:500;
    font-size: 1.5rem;
    font-style:normal;
}

.hero-services {
    margin-top: 84px;
    text-align: center;
    color: #223a59;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.hero-leaf{
    position:absolute;

    top:60%;
    right:-220px;

    transform:translateY(-50%) rotateY(180deg) rotateZ(30deg);

    width:500px;

    opacity:2;  

    z-index:1;

    pointer-events:none;
    user-select:none;
}


.btn-primary{
    position: relative;
    margin-top:80px;
    display:inline-flex;
    align-items:center;
    gap:12px;

    padding:14px 24px;

    background:#223a59;
    color:#fff;

    text-decoration:none;

    border-radius:10px;

    font-family:"Inter", sans-serif;
    font-size:0.95rem;
    font-weight:500;

    transition:all .25s ease;
}

.btn-primary:hover{
    background:#2d4c74;
    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(34,58,89,.18);
}

.btn-arrow{
    display:flex;
    align-items:center;
    justify-content:center;

    font-size:1rem;

    transition:transform .25s ease;
}

.btn-primary:hover .btn-arrow{
    transform:translateX(4px);
}


@media (max-width: 1199.98px) {
    #hero {
        flex-direction: column;
        height:auto;
        max-height:none;
    }

    .hero-image {
        height:min(70vh, 620px);
        max-height:none;
    }

    .hero-image img {
        -webkit-mask-image:linear-gradient(to bottom, #000 85%, transparent 100%);
                mask-image:linear-gradient(to bottom, #000 85%, transparent 100%);
    }

    .hero-image::after {
        background:linear-gradient(to bottom, rgba(242,239,230,0) 80%, rgba(242,239,230,0.55) 92%, #f2efe6 100%);
    }

    .hero-content {
        height:auto;
        padding:40px 24px 60px;
    }

    .hero-text {
        margin-left:0;
        max-width:100%;
    }

    .hero-title {
        font-size:3.2rem;
        margin-bottom:24px;
    }

    .hero-quote {
        margin-top:30px;
        margin-left:20px;
        max-width:100%;
        font-size:1.1rem;
    }

    .hero-quote::before {
        left:-35px;
        font-size:3.5rem;
        top:-10px;
    }

    .hero-leaf {
        width:280px;
        right:-120px;
        opacity:0.7;
    }

    .btn-primary {
        margin-top:28px;
    }
}
@media (max-width: 600px) {

    #hero {
        flex-direction: column;
        height:auto;
        max-height:none;
    }
    
    .hero-image {
        height:min(58vh, 460px);
        max-height:none;
    }

    .hero-content {
        padding:32px 20px 48px;
    }

    .hero-title {
        font-size:2.6rem;
        margin-bottom:20px;
    }

    .hero-quote {
        margin-left:14px;
        font-size:1rem;
    }

    .hero-quote::before {
        left:-24px;
        font-size:3rem;
        top:-8px;
    }

    .hero-leaf {
        display:none;
    }

    .btn-primary {
        margin-top:24px;
        padding:12px 18px;
    }
}

/* Home hero: no fade/mask, hard edge between image and content
   (folded in from the former hero-test3.css). */
.hero-image img {
    -webkit-mask-image: none;
            mask-image: none;
}

.hero-image::after {
    display: none;
}

