/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
    --color-brown: #9E7C64;
    --color-dark: #5E3A3D;
    --color-sand: #F1EBDF;
    --color-blue: #DCE0EB;
    --color-bg: #F5F5F5;
}


/* ==========================================================================
   BASE RESETS (mobile-first)
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Lexend', sans-serif;
    font-weight: 250;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    line-height: 1.5;
    color: var(--color-dark);
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    overflow-x: clip;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
}

h1, h2 {
    font-weight: 400;
    font-size: 1.125rem;
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: disc;
    padding-left: 1.2em;
}

li {
    margin-bottom: 10px;
}


/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    width: 233px;
}


/* ==========================================================================
   HERO — plena essência
   ========================================================================== */
.hero {
    margin: 0 20px 98px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.hero-water,
.hero-sand {
    aspect-ratio: 25 / 52;
    background-size: cover;
    background-position: center;
}

.hero-water {
    background-image: url('img/hero-water.jpg');
    filter: contrast(1.3) saturate(0.3);
}

.hero-sand {
    background-image: url('img/hero-sand.jpg');
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.hero-plena {
    font-family: 'Lexend', sans-serif;
    font-weight: 200;
    font-size: 1.875rem;
    letter-spacing: 0;
    line-height: 1.25;
    color: var(--color-dark);
    text-align: right;
    transform: translateX(-100%);
}

.hero-essencia {
    font-family: 'Lexend', sans-serif;
    font-weight: 200;
    font-size: 1.875rem;
    letter-spacing: 0;
    line-height: 1.25;
    color: var(--color-dark);
}


/* ==========================================================================
   ABOUT — Row 1: Woman + Intro + Geometric
   ========================================================================== */
.about-row-1 {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    position: relative;
    z-index: 1;
}

.about-photo {
    order: 1;
}

.about-photo img {
    width: 74%;
    aspect-ratio: 270 / 310;
    object-fit: cover;
}

.about-intro {
    padding: 40px 20px;
}

.about-intro h1 {
    margin-bottom: 30px;
}

.about-intro p + p {
    margin-top: 27px;
}

.about-geometric {
    position: absolute;
    right: -65px;
    top: -98px;
    transform: translateY(-50%);
    width: 110px;
    height: auto;
    padding: 0;
    min-height: auto;
    pointer-events: none;
}

.about-geometric svg {
    width: 100%;
    max-width: none;
    height: auto;
}


/* ==========================================================================
   ABOUT — Row 2: Architecture + Beach
   ========================================================================== */
.about-row-2 {
    display: flex;
    flex-direction: column;
    margin: 0 20px 66px;
}

.about-architecture {
    padding: 40px 20px;
}

.about-architecture h2 {
    margin-bottom: 24px;
}

.about-architecture p + p {
    margin-top: 27px;
}

.about-beach-images {
    display: none;
}

.about-beach-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}


/* ==========================================================================
   ABOUT — Row 3: Differentials
   ========================================================================== */
.about-row-3 {
    background: var(--color-blue);
    display: flex;
    flex-direction: column;
    margin: 0 20px 50px;
}

.differentials-image {
    order: 1;
}

.differentials-image img {
    width: 100%;
    aspect-ratio: 365 / 213;
    object-fit: cover;
}

.differentials-content {
    padding: 84px 20px 40px 38px;
}

.differentials-content h2 {
    margin-bottom: 20px;
}

.differentials-content ul {
    line-height: 1.25;
}


/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact {
    background: var(--color-dark);
    color: var(--color-sand);
    padding: 109px 20px 68px;
    position: relative;
    overflow: hidden;
}

.contact-circles {
    display: none;
}

.contact-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-weight: 400;
    font-size: 1.125rem;
    letter-spacing: 0.03em;
    color: #fff;
    margin-bottom: 34px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0 0 12px 36px;
    border: none;
    border-bottom: 1.7px solid var(--color-sand);
    border-left: 1.7px solid var(--color-sand);
    border-radius: 0 0 0 36px / 0 0 0 100%;
    background: transparent;
    color: var(--color-sand);
    font-family: 'Lexend', sans-serif;
    font-weight: 250;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    outline: none;
}

.form-control::placeholder {
    color: var(--color-sand);
    opacity: 0.7;
}

.form-group {
    margin-bottom: 32px;
}

.form-checkboxes {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid var(--color-sand);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--color-sand);
}

.form-actions {
    margin-top: 67px;
}

.btn-send {
    display: inline-block;
    border: 1.7px solid var(--color-sand);
    border-radius: 150px;
    padding: 8px 32px;
    background: transparent;
    color: var(--color-sand);
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-send:hover {
    background: var(--color-sand);
    color: var(--color-dark);
}

.btn-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.msg {
    padding: 15px;
    margin-top: 15px;
}

.msg ul {
    margin: 10px 0 0;
    padding-left: 20px;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--color-brown);
    color: var(--color-sand);
    padding: 40px 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    width: 140px;
}

.footer-tagline {
    font-weight: 200;
    font-size: 1.25rem;
    letter-spacing: 0;
    text-align: center;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social a {
    display: flex;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-social img {
    width: 36px;
    height: 36px;
    filter: brightness(0) saturate(100%) invert(95%) sepia(6%) saturate(604%) hue-rotate(337deg) brightness(104%) contrast(90%);
}

.footer-credit {
    font-size: 0.875rem;
    opacity: 0.7;
}


/* ==========================================================================
   RESPONSIVE — Desktop (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
    body {
        font-size: 1.125rem;
    }

    h1, h2 {
        font-size: 2rem;
    }

    .header-logo {
        width: 240px;
    }

    .hero {
        margin: 0 20px 99px;
    }

    .hero-water,
    .hero-sand {
        aspect-ratio: 50 / 39.5;
    }


    .hero-plena {
        font-size: 3.4375rem;
    }

    .hero-essencia {
        font-size: 3.4375rem;
        margin-top: -18px;
    }

    /* About Row 1: two columns */
    .about-row-1 {
        flex-direction: row;
        align-items: center;
    }

    .about-geometric {
        display: none;
    }

    .about-photo {
        order: 0;
        width: 25.2%;
        flex-shrink: 0;
        align-self: stretch;
    }

    .about-photo img {
        width: 100%;
        height: 100%;
        max-height: 551px;
        aspect-ratio: auto;
    }

    .about-intro {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 50px 40px;
    }

    .about-intro h1,
    .about-intro p {
        max-width: 470px;
        width: 100%;
    }

    .about-intro h1 {
        margin-bottom: 48px;
    }

    /* About Row 2: text left, images right */
    .about-row-2 {
        flex-direction: row;
        align-items: center;
    }

    .about-architecture {
        width: 36%;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 50px 40px;
    }

    .about-architecture h2,
    .about-architecture p {
        max-width: 333px;
        width: 100%;
    }

    .about-beach-images {
        display: block;
        flex: 1;
        align-self: stretch;
        max-width: 897px;
        margin-left: auto;
    }

    .about-beach-images img {
        width: 100%;
        height: 100%;
        max-height: 570px;
        object-fit: cover;
    }

    /* About Row 3: image left, text right */
    .about-row-3 {
        flex-direction: row;
        align-items: center;
    }

    .differentials-image {
        display: block;
        order: 0;
        flex: 1;
        align-self: stretch;
    }

    .differentials-image img {
        max-width: 660px;
        height: 100%;
        max-height: 629px;
        aspect-ratio: auto;
    }

    .differentials-content {
        flex-shrink: 0;
        width: 64%;
        max-width: 897px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 50px 40px;
    }

    .differentials-content h2 {
        max-width: 370px;
        width: 100%;
        margin-bottom: 41px;
    }

    .differentials-content ul {
        max-width: 469px;
        width: 100%;
        line-height: 1.5;
    }

    /* Form */
    .form {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .form-group {
        grid-column: 1 / -1;
    }

    .form-actions {
        margin-top: 45px;
        align-self: end;
    }

    .contact {
        padding: 200px 20px 150px;
    }

    .contact-circles {
        display: block;
        position: absolute;
        left: max(20px, calc(50% - 600px));
        bottom: 150px;
        width: min(280px, calc(100% - 636px));
        height: auto;
        pointer-events: none;
    }

    .contact-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: flex-end;
    }

    .contact-form-area {
        max-width: 576px;
        width: 100%;
    }

    .contact-title {
        font-size: 2rem;
        margin-bottom: 113px;
    }

    .form-control {
        font-size: 1.125rem;
    }

    .form-checkboxes {
        gap: 18px;
    }

    .checkbox-label {
        font-size: 1.125rem;
    }

    .checkbox-label input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    .btn-send {
        padding: 16px 50px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer-left {
        align-items: center;
    }

    .footer-tagline {
        text-align: left;
    }
}


/* ==========================================================================
   RESPONSIVE — Large Desktop (min-width: 1200px)
   ========================================================================== */
@media (min-width: 1200px) {
    .header {
        padding: 100px 20px;
    }

    .header-logo {
        width: 429px;
    }

    .about-row-1 {
        position: relative;
        z-index: 2;
    }

    .about-geometric {
        display: block;
        position: absolute;
        right: 72px;
        top: -99px;
        transform: translateY(-50%);
        width: 200px;
        height: auto;
        padding: 0;
        min-height: auto;
    }

    .about-geometric svg {
        width: 100%;
        max-width: none;
    }

    .about-intro {
        padding-right: 300px;
    }

    .about-architecture {
        padding: 60px 80px;
    }

    .differentials-content {
        padding: 60px 80px;
    }

    .contact {
        padding: 352px 20px 259px;
    }

    .contact-circles {
        width: 384px;
        bottom: 259px;
    }

    .footer {
        padding: 53px 20px;
    }

    .footer-logo {
        width: 186px;
    }

    .footer-social {
        gap: 20px;
    }

    .footer-social img {
        width: 40px;
        height: 40px;
    }
}


/* ==========================================================================
   RESPONSIVE — Extra Large Desktop (min-width: 1500px)
   ========================================================================== */
@media (min-width: 1500px) {
    .about-photo {
        min-width: 459px;
    }

    .about-geometric {
        width: 358px;
    }

    .about-intro {
        padding-right: 460px;
    }

    .contact-circles {
        left: calc(50% - 600px);
    }
}
