/* Débora Andrade — identidade visual compartilhada entre HTML e WordPress. */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-italic.woff2') format('woff2');
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope.woff2') format('woff2');
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --paper: #faf9f6;
    --cream: #efede6;
    --sage: #758074;
    --sage-dark: #52624f;
    --ink: #333b32;
    --muted: #73766f;
    --line: #dcded4;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #d9dfd3;
}

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

button {
    font: inherit;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
p,
figure {
    margin: 0;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
}

h2 {
    font-size: clamp(40px, 4vw, 62px);
    line-height: 1.05;
    letter-spacing: -1.6px;
}

h3 {
    font-size: 34px;
    line-height: 1.15;
}

p {
    color: var(--muted);
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--sage-dark);
    outline-offset: 5px;
}

.page-shell {
    width: min(1300px, 88%);
    margin-inline: auto;
}

.section-space {
    padding-block: 110px;
}

.eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.4px;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 24px;
}

.line-before {
    display: flex;
    gap: 16px;
    align-items: center;
}

.line-before::before {
    content: '';
    display: block;
    width: 38px;
    height: 1px;
    background: var(--sage);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: var(--paper);
    padding: 10px 20px;
}

.skip-link:focus {
    top: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(250, 249, 246, .97);
    border-bottom: 1px solid var(--line);
}

.navbar {
    padding-block: 20px;
    min-height: 100px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand-text {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: -.7px;
}

.brand-text small {
    display: block;
    font-family: var(--sans);
    font-size: 7px;
    letter-spacing: 2px;
    line-height: 1.7;
    margin-top: 6px;
}

.navbar-nav {
    gap: 24px;
}

.navbar-nav .nav-link {
    color: var(--ink);
    font-size: 10px;
    letter-spacing: .5px;
    transition: color .2s;
    padding: 9px 0;
}

.navbar-nav .nav-link:hover {
    color: var(--sage);
}

.navbar-nav .nav-contact {
    border: 1px solid #bdc3b5;
    padding: 11px 17px;
    margin-left: 14px;
}

.nav-contact span {
    margin-left: 14px;
    font-size: 17px;
}

.navbar-toggler {
    border: 0;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.menu-lines {
    display: block;
    width: 23px;
    height: 14px;
    border-block: 1px solid var(--ink);
    position: relative;
}

.menu-lines::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 5px;
    width: 18px;
    height: 1px;
    background: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: min(730px, calc(100vh - 100px));
}

.hero-copy {
    padding: 95px 9% 55px 12%;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

h1 {
    font-size: clamp(55px, 5.2vw, 83px);
    line-height: .99;
    letter-spacing: -2.7px;
    margin-bottom: 30px;
}

h1 em {
    font-weight: 400;
    color: var(--sage-dark);
}

.hero-description {
    max-width: 340px;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 16px 25px;
    font-size: 10px;
    letter-spacing: .8px;
    min-height: 55px;
    transition: background .25s, color .25s;
}

.button span {
    font-size: 23px;
    line-height: 1;
}

.button-solid {
    background: var(--sage-dark);
    color: white;
}

.button-solid:hover {
    background: #414d3f;
    color: white;
}

.hero-scroll {
    margin-top: 57px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 9px;
    color: var(--muted);
}

.scroll-line {
    height: 28px;
    width: 1px;
    background: var(--sage);
}

.hero-photo {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    background: #dad8d0;
}

.hero-photo>img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
}

.hero-photo::after {
    content: '';
    position: absolute;
    inset: 60% 0 0;
    background: linear-gradient(transparent, rgba(23, 26, 21, .55));
    pointer-events: none;
}

.hero-photo-caption {
    position: absolute;
    bottom: 43px;
    left: 40px;
    right: 40px;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: end;
    color: white;
}

.hero-photo-caption span {
    display: block;
    font-size: 8px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-photo-caption strong {
    font-family: var(--serif);
    font-size: 35px;
    font-weight: 400;
}

.hero-photo-caption a {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    width: 45px;
    height: 45px;
    font-size: 22px;
}

.photo-index {
    position: absolute;
    top: 32px;
    right: 35px;
    color: white;
    font-size: 10px;
    letter-spacing: 2px;
    z-index: 1;
    text-shadow: 0 1px 4px #555;
}

.section-heading {
    margin-bottom: 42px;
}

.section-intro {
    max-width: 355px;
    margin-left: auto;
    font-size: 13px;
}

.project-filters {
    display: flex;
    gap: 27px;
    margin-bottom: 32px;
}

.filter-button {
    background: none;
    border: 0;
    border-bottom: 1px solid transparent;
    padding: 0 0 6px;
    color: var(--muted);
    font-size: 10px;
    cursor: pointer;
}

.filter-button.active {
    color: var(--sage-dark);
    border-bottom-color: var(--sage-dark);
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: start;
}

.project-card:nth-child(2) {
    margin-top: 70px;
}

.project-grid:has(.project-card[hidden]) .project-card {
    margin-top: 0;
}

.project-cover {
    display: block;
    padding: 0;
    border: 0;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 4.6;
    position: relative;
    background: var(--cream);
    text-align: left;
}

.project-cover>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.project-cover:hover>img {
    transform: scale(1.035);
}

.project-tag {
    position: absolute;
    left: 22px;
    top: 23px;
    background: rgba(250, 249, 246, .94);
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 7px;
    padding: 8px 14px;
}

.project-open {
    position: absolute;
    right: 23px;
    bottom: 23px;
    width: 42px;
    height: 42px;
    background: var(--paper);
    display: grid;
    place-items: center;
    font-size: 23px;
}

.project-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    padding-top: 22px;
}

.project-info .eyebrow {
    font-size: 8px;
    margin-bottom: 9px;
}

.project-info h3 {
    font-size: 37px;
}

.text-link {
    background: none;
    border: 0;
    border-bottom: 1px solid #c7cdbe;
    padding: 0 0 5px;
    font-size: 10px;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 18px;
    transition: color .2s;
}

.text-link span {
    font-size: 18px;
}

.text-link:hover {
    color: var(--sage);
}

.portfolio-note {
    border-top: 1px solid var(--line);
    margin-top: 45px;
    padding-top: 20px;
    font-size: 10px;
    text-align: right;
    letter-spacing: .2px;
}

.about {
    background: var(--cream);
}

.about-portrait {
    position: relative;
}

.about-portrait figure {
    margin-left: 15px;
}

.about-portrait figure>img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    object-position: 50% 15%;
}

.about-portrait figcaption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    font-family: var(--serif);
    font-size: 23px;
}

.about-portrait figcaption span {
    font-family: var(--sans);
    font-size: 7px;
    letter-spacing: 1.7px;
}

.portrait-stamp {
    position: absolute;
    right: -24px;
    bottom: 70px;
    background: var(--paper);
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
}

.about-copy h2 {
    margin-bottom: 25px;
}

.about-copy>p {
    font-size: 12px;
    margin-bottom: 22px;
}

.about-copy>.about-manifesto {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.25;
    color: var(--ink);
}

.about-details {
    margin-bottom: 25px;
    border-block: 1px solid #d0d2c9;
}

.about-details summary {
    list-style: none;
    padding: 13px 0;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.about-details summary::-webkit-details-marker {
    display: none;
}

.about-details summary span {
    font-size: 20px;
}

.about-details p {
    font-size: 12px;
    padding-bottom: 15px;
}

.about-details[open] summary span {
    transform: rotate(45deg);
}

.services-heading h2 {
    max-width: 420px;
    margin-bottom: 26px;
}

.services-heading>p:not(.eyebrow) {
    font-size: 12px;
    max-width: 355px;
    margin-bottom: 36px;
}

.service-detail {
    width: 280px;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.service-item {
    display: flex;
    gap: 22px;
    border-bottom: 1px solid var(--line);
    padding-block: 31px;
}

.service-item:first-child {
    padding-top: 0;
}

.service-number {
    font-size: 10px;
    color: var(--sage);
    padding-top: 10px;
}

.service-item h3 {
    font-size: 32px;
    margin-bottom: 13px;
}

.service-item p {
    font-size: 12px;
    line-height: 1.9;
    max-width: 340px;
}

.service-arrow {
    margin-left: auto;
    font-size: 25px;
    color: var(--sage);
}

.process {
    background: #f0f2ec;
}

.process-heading h2 {
    margin-bottom: 24px;
    max-width: 400px;
}

.process-heading>p:not(.eyebrow) {
    font-size: 12px;
    max-width: 365px;
}

.process-motto {
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1.35;
    color: var(--sage-dark);
    margin-top: 60px;
}

.process-motto>span {
    display: block;
    font-family: var(--sans);
    font-size: 40px;
    margin-bottom: 15px;
}

.process-accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: #ced4c7;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: var(--ink);
}

.process-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid #ced4c7;
    border-radius: 0;
}

.process-accordion .accordion-button {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--ink);
    font-weight: 400;
    padding: 22px 0;
    gap: 20px;
    line-height: 1.6;
    box-shadow: none;
}

.process-accordion .accordion-button::after {
    background-image: none;
    content: '+';
    width: auto;
    height: auto;
    font-size: 20px;
    font-weight: 200;
    color: var(--sage-dark);
}

.process-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
}

.step-number {
    font-size: 9px;
    color: var(--sage);
    min-width: 16px;
}

.process-accordion .accordion-body {
    padding: 0 25px 22px 36px;
    font-size: 11px;
}

.accordion-body p+p {
    margin-top: 13px;
}

.contact {
    background: var(--sage-dark);
    color: var(--paper);
    overflow: hidden;
}

.contact-inner {
    position: relative;
}

.contact .eyebrow {
    color: #d4decc;
}

.contact h2 {
    max-width: 720px;
    font-size: clamp(48px, 5vw, 77px);
    margin-bottom: 24px;
}

.contact p:not(.eyebrow) {
    color: #d3d9ce;
    max-width: 490px;
    font-size: 12px;
    margin-bottom: 30px;
}

.button-light {
    background: var(--paper);
    color: var(--sage-dark);
}

.button-light:hover {
    background: #e5e9de;
    color: var(--sage-dark);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-link {
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.contact-outline {
    position: absolute;
    right: -10px;
    top: -25px;
    font-family: var(--serif);
    font-size: 340px;
    letter-spacing: -50px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(229, 235, 221, .2);
    pointer-events: none;
    user-select: none;
}

.site-footer {
    padding-top: 40px;
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
    padding-bottom: 30px;
}

.original-logo {
    width: 178px;
    height: auto;
    mix-blend-mode: multiply;
}

.footer-top p {
    font-family: var(--serif);
    font-size: 22px;
}

.footer-bottom {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-block: 22px;
    font-size: 8px;
    letter-spacing: .4px;
    color: var(--muted);
}

.project-modal .modal-content {
    border: 0;
    border-radius: 0;
    background: var(--paper);
}

.project-modal .modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--line);
}

.project-modal .modal-header .eyebrow {
    margin-bottom: 4px;
    font-size: 8px;
}

.project-modal .modal-title {
    font-size: 38px;
}

.project-modal .modal-body {
    padding: 24px 32px;
}

.gallery-image-wrap {
    position: relative;
    background: #ebece5;
    height: min(63vh, 610px);
    display: flex;
    justify-content: center;
}

.gallery-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: calc(50% - 22px);
    border: 0;
    background: var(--paper);
    color: var(--ink);
    width: 44px;
    height: 44px;
    font-size: 22px;
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.gallery-counter {
    position: absolute;
    bottom: 13px;
    right: 15px;
    background: var(--paper);
    padding: 3px 12px;
    font-size: 10px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 3px;
}

.gallery-thumbnails button {
    border: 1px solid transparent;
    padding: 3px;
    background: none;
    flex-shrink: 0;
}

.gallery-thumbnails button.active {
    border-color: var(--sage-dark);
}

.gallery-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.project-description {
    font-size: 12px;
    max-width: 660px;
    margin-top: 20px;
}

@media (min-width: 1600px) {
    .hero {
        min-height: 770px;
    }

    .hero-copy {
        padding-left: max(12%, calc((100vw - 1300px) / 2));
    }
}

@media (max-width: 1199.98px) {
    .navbar-nav {
        gap: 17px;
    }

    .brand-text {
        font-size: 25px;
    }

    .hero-copy {
        padding: 70px 10% 50px 12%;
    }

    h1 {
        font-size: 67px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-photo {
        min-height: 620px;
    }

    .page-shell {
        width: 90%;
    }
}

@media (max-width: 991.98px) {
    .section-space {
        padding-block: 75px;
    }

    .navbar {
        min-height: 84px;
        padding-block: 16px;
    }

    html {
        scroll-padding-top: 84px;
    }

    .navbar-nav {
        padding-top: 25px;
        gap: 6px;
        padding-bottom: 12px;
    }

    .navbar-nav .nav-link {
        font-size: 12px;
        padding: 9px 0;
    }

    .navbar-nav .nav-contact {
        display: inline-block;
        margin: 10px 0 0;
        padding: 10px 15px;
    }

    .hero-copy {
        padding: 55px 9%;
    }

    h1 {
        font-size: 58px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-scroll {
        margin-top: 35px;
        font-size: 8px;
    }

    .hero-photo {
        min-height: 580px;
    }

    .hero-photo-caption {
        left: 25px;
        right: 25px;
        bottom: 28px;
    }

    .section-intro {
        margin-left: 0;
        max-width: 500px;
    }

    .project-grid {
        gap: 25px;
    }

    .project-info {
        align-items: flex-start;
    }

    .project-info h3 {
        font-size: 30px;
    }

    .project-info .text-link {
        margin-top: 8px;
        gap: 8px;
        font-size: 9px;
    }

    .about-portrait {
        max-width: 520px;
        margin-inline: auto;
    }

    .about-copy {
        max-width: 650px;
    }

    .about-portrait figure {
        margin-left: 0;
    }

    .portrait-stamp {
        right: -5px;
    }

    .service-detail {
        display: none;
    }

    .service-item:first-child {
        padding-top: 0;
    }

    .service-item p {
        max-width: 550px;
    }

    .process-motto {
        display: none;
    }

    .contact-outline {
        font-size: 260px;
        right: 20px;
        top: 15px;
        opacity: .6;
    }

    .contact h2,
    .contact p {
        position: relative;
        z-index: 1;
    }

    .footer-top p {
        max-width: 250px;
        font-size: 20px;
    }
}

@media (max-width: 575.98px) {
    .page-shell {
        width: 88%;
    }

    .section-space {
        padding-block: 58px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .brand-text {
        font-size: 24px;
    }

    .brand-text small {
        font-size: 6px;
        letter-spacing: 1.7px;
    }

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

    .hero-copy {
        padding: 58px 6% 45px;
    }

    h1 {
        font-size: clamp(55px, 14vw, 70px);
        line-height: 1;
        letter-spacing: -2px;
    }

    .hero-description {
        max-width: 320px;
        font-size: 12px;
        margin-bottom: 28px;
    }

    .hero-scroll {
        margin-top: 32px;
    }

    .hero-photo {
        min-height: 410px;
    }

    .hero-photo-caption {
        left: 24px;
        right: 24px;
        bottom: 25px;
    }

    .hero-photo-caption strong {
        font-size: 31px;
    }

    .photo-index {
        top: 24px;
        right: 24px;
    }

    h2 {
        font-size: 44px;
        letter-spacing: -1px;
    }

    .eyebrow {
        font-size: 8px;
        margin-bottom: 20px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .project-filters {
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 26px;
    }

    .filter-button {
        font-size: 9px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .project-card:nth-child(2) {
        margin-top: 0;
    }

    .project-info h3 {
        font-size: 35px;
    }

    .project-info .text-link {
        font-size: 10px;
    }

    .portfolio-note {
        text-align: left;
        margin-top: 34px;
    }

    .about-portrait figcaption {
        font-size: 23px;
    }

    .portrait-stamp {
        width: 85px;
        height: 85px;
        bottom: 65px;
        right: -4px;
    }

    .portrait-stamp img {
        width: 53px;
    }

    .about-copy>.about-manifesto {
        font-size: 27px;
    }

    .about-copy>p {
        font-size: 12px;
    }

    .service-item {
        gap: 16px;
        padding-block: 26px;
    }

    .service-item h3 {
        font-size: 29px;
    }

    .service-arrow {
        font-size: 20px;
    }

    .process-accordion .accordion-button {
        font-size: 11px;
        gap: 15px;
        padding-block: 19px;
    }

    .process-accordion .accordion-body {
        padding-left: 31px;
        padding-right: 12px;
    }

    .contact h2 {
        font-size: 51px;
    }

    .contact-outline {
        font-size: 190px;
        right: 0;
        top: 130px;
        letter-spacing: -26px;
    }

    .contact p:not(.eyebrow) {
        max-width: 310px;
    }

    .footer-top {
        flex-wrap: wrap;
        gap: 22px;
    }

    .footer-top p {
        font-size: 22px;
        max-width: 100%;
        width: 100%;
        order: 3;
    }

    .original-logo {
        width: 150px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        font-size: 8px;
    }

    .project-modal .modal-header,
    .project-modal .modal-body {
        padding: 20px;
    }

    .project-modal .modal-title {
        font-size: 33px;
    }

    .gallery-image-wrap {
        height: 52vh;
    }

    .gallery-prev,
    .gallery-next {
        width: 33px;
        height: 33px;
        font-size: 18px;
    }

    .gallery-prev {
        left: 5px;
    }

    .gallery-next {
        right: 5px;
    }

    .gallery-thumbnails img {
        width: 52px;
        height: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
