/* CSS Variables & Design Tokens */
:root {
    /* Colors - Design System */
    --color-bg-primary: #FDFCF5;
    --color-bg-secondary: #F5F5DC;
    --color-overlay: rgba(0, 0, 0, 0.3);

    --color-text-primary: #4A403A;
    --color-text-secondary: #3E3C38;
    --color-text-light: #FDFCF5;

    --color-accent-primary: #CCA386;
    --color-accent-secondary: #4F6D53;

    /* Typhography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.7s ease-out;
    --transition-fast: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.section--alt {
    background-color: var(--color-bg-secondary);
}

.text-center {
    text-align: center;
}

.text-light {
    color: var(--color-text-light);
}

.section__title {
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.btn--primary {
    background-color: var(--color-accent-primary);
    color: #fff;
    border: 1px solid var(--color-accent-primary);
}

.btn--primary:hover {
    background-color: #8C6239;
    color: var(--color-bg-primary);
    border-color: #8C6239;
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: var(--color-accent-secondary);
    color: #fff;
    border: 1px solid var(--color-accent-secondary);
}

.btn--secondary:hover {
    filter: brightness(0.9);
}

.btn--nav {
    background-color: var(--color-accent-primary);
    /* Terracota Initial */
    color: #fff;
    border: none;
    padding: 10px 28px;
    transition: background-color 0.4s ease, transform 0.3s ease;
}

.btn--nav:hover {
    background-color: #fff;
    color: var(--color-accent-primary);
    transform: translateY(-2px);
}

/* Scrolled state for Nav Button */
.header.scrolled .btn--nav {
    background-color: var(--color-accent-secondary);
    /* Verde Musgo */
    color: #fff;
}

.header.scrolled .btn--nav:hover {
    filter: brightness(1.1);
    color: #fff;
}

/* Header */
/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition-fast);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    color: var(--color-text-light);
}

.header.scrolled {
    background: var(--color-bg-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    color: var(--color-text-primary);
}

/* Logo Filter for White Version on Top */
.header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1);
}

.header.scrolled .logo img {
    filter: none;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 90px;
    /* Increased from 60px */
    width: auto;
}

.nav__list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav__link {
    font-size: 0.95rem;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent-primary);
    transition: var(--transition-fast);
}

.nav__link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    /* Initial zoom for effect */
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 60, 56, 0.4);
    /* Warm brown overlay */
    z-index: -1;
}

.hero__title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Button Special Style */
.hero .btn--primary {
    background-color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(204, 163, 134, 0.4);
    padding: 14px 38px;
}

.hero .btn--primary:hover {
    background-color: #fff;
    color: var(--color-accent-primary);
    transform: translateY(-2px);
}

/* About (A Consultora) */
/* About (A Consultora) Refined */
.about {
    position: relative;
    overflow: hidden;
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Simulated Organic Shadow */
.leaf-shadow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(74, 64, 58, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Visual Wrapper */
.about__visual {
    position: relative;
    padding-bottom: 20px;
    /* Space for bg offset */
    padding-right: 20px;
}

.about__bg-block {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-secondary);
    z-index: -1;
    border-radius: 4px;
    transition: transform 1s ease-out;
}

.about__img-mask {
    border-radius: 4px;
    overflow: hidden;
    /* Basic style, reveal handled by generic reveal classes or specific enhancement */
}

.about__img {
    width: 100%;
    border-radius: 4px;
    transition: transform 0.6s ease-out, border-radius 0.6s ease-out;
    display: block;
}

/* Hover Effect */
.about__visual:hover .about__img {
    transform: scale(1.05);
    border-top-right-radius: 80px;
    /* Mais orgânico */
    border-bottom-left-radius: 80px;
}

.about__title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.about__text p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    /* "Respirar" */
    text-align: left;
}

.about__signature {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: var(--color-accent-primary);
    margin-top: 2.5rem;
}

/* Services */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-bg-primary);
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(74, 64, 58, 0.05);
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card__icon {
    font-size: 3rem;
    color: var(--color-accent-secondary);
    margin-bottom: 1.5rem;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.service-card__desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Gallery */
/* Gallery - Immersive */
.gallery {
    padding: var(--section-padding) 0 100px 0;
    overflow: hidden;
    text-align: center;
}

.gallery .section__title {
    display: block;
    width: 100%;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.gallery__carousel-wrapper {
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 5%, rgba(0, 0, 0, 1) 95%, transparent 100%);
}

.gallery__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 40px calc(50% - 40vw);
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: center;
}

.gallery__track::-webkit-scrollbar {
    display: none;
}

.gallery__item {
    flex: 0 0 auto;
    width: 60vw;
    max-width: 900px;
    height: 70vh;
    min-height: 500px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    scroll-snap-align: center;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.5;
    transform: scale(0.9);
    cursor: default;
    box-shadow: 0 10px 30px rgba(204, 163, 134, 0.25);
}

.gallery__item.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(204, 163, 134, 0.35);
    z-index: 2;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover Effects */
.gallery__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px;
    background: linear-gradient(to top, rgba(74, 50, 35, 0.9) 0%, rgba(74, 50, 35, 0.4) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 60%;
    pointer-events: none;
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__name {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.5rem;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

.gallery__location {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(30px);
    transition: transform 0.5s ease 0.1s;
}

.gallery__item:hover .gallery__name,
.gallery__item:hover .gallery__location {
    transform: translateY(0);
}

/* Navigation Areas */
.gallery__nav-area {
    position: absolute;
    top: 0;
    height: 100%;
    width: 15vw;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery__nav-area:hover {
    opacity: 1;
}

.gallery__nav-area.prev {
    left: 0;
    background: linear-gradient(to right, rgba(74, 50, 35, 0.35), transparent);
    justify-content: center;
}

.gallery__nav-area.prev::before {
    content: '';
    width: 50px;
    height: 50px;
    border-left: 2px solid var(--color-accent-primary);
    border-bottom: 2px solid var(--color-accent-primary);
    transform: rotate(45deg);
}

.gallery__nav-area.next {
    right: 0;
    background: linear-gradient(to left, rgba(74, 50, 35, 0.35), transparent);
    justify-content: center;
}

.gallery__nav-area.next::before {
    content: '';
    width: 50px;
    height: 50px;
    border-right: 2px solid var(--color-accent-primary);
    border-top: 2px solid var(--color-accent-primary);
    transform: rotate(45deg);
}

/* Remove old nav buttons styles if not cleaned up already */
.gallery__nav {
    display: none;
}

@media (max-width: 768px) {
    .gallery__item {
        width: 85vw;
        height: 60vh;
        min-height: 400px;
        opacity: 1;
        transform: scale(1);
    }

    .gallery__track {
        padding: 20px;
    }

    .gallery__nav-area {
        display: none;
    }
}

/* Transformations Section - Atmospheric Background */
.transformations {
    position: relative;
    overflow: hidden;
}

.transformations::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.transformations::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(79, 109, 83, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatGlow1 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.transformations .container {
    position: relative;
    z-index: 1;
}

/* Floating glow circle 2 - via extra element in HTML or pseudo on container */
.transformations .container::before {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -15%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(204, 163, 134, 0.40) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatGlow2 25s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatGlow1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20%, 25%) scale(1.15);
    }

    50% {
        transform: translate(-15%, -20%) scale(0.9);
    }

    75% {
        transform: translate(-20%, 15%) scale(1.1);
    }
}

@keyframes floatGlow2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-25%, -15%) scale(1.12);
    }

    66% {
        transform: translate(18%, 25%) scale(0.88);
    }
}

/* Section Title Override for Transformations */
.transformations .section__title {
    display: block;
    width: 100%;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-style: italic;
    font-weight: 500;
    color: #4F6D53;
    margin-bottom: 4rem;
    text-align: center;
}

/* Image Comparison Slider */
.img-comparison-slider {
    position: relative;
    width: 80%;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    overflow: hidden;
    border-radius: 8px;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.2);
}

.img-comparison-slider__before,
.img-comparison-slider__after {
    position: relative;
    width: 100%;
}

.img-comparison-slider__after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(0 0 0 50%);
}

.img-comparison-slider__before img,
.img-comparison-slider__after img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Labels */
.img-comparison-slider__label {
    position: absolute;
    top: 16px;
    padding: 4px 14px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    pointer-events: none;
    z-index: 5;
}

.img-comparison-slider__label--before {
    left: 16px;
}

.img-comparison-slider__label--after {
    right: 16px;
}

/* Handle */
.img-comparison-slider__handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}

.img-comparison-slider__line {
    flex: 1;
    width: 2px;
    background: rgba(255, 255, 255, 0.85);
}

.img-comparison-slider__circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-accent-primary);
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
    pointer-events: auto;
    cursor: col-resize;
}

.img-comparison-slider__circle .arrow {
    color: #fff;
    font-size: 0.7rem;
    line-height: 1;
}

/* Case Study */
.case-study {
    margin-bottom: 6rem;
    text-align: center;
    position: relative;
}

.case-study__title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    color: var(--color-accent-primary);
    text-align: center;
}

/* Editorial Floating Card */
.case-study__card {
    position: relative;
    background-color: #FFFEF9;
    max-width: 700px;
    margin: -50px auto 0;
    padding: 50px 45px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.case-study__quote-icon {
    display: block;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 60px;
    line-height: 0.6;
    color: #CCA386;
    margin-bottom: 16px;
    pointer-events: none;
}

.case-study__text {
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.8;
    color: #4A403A;
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    .transformations .section__title {
        font-size: 2.5rem;
    }

    .img-comparison-slider {
        width: 95%;
    }

    .case-study__title {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .case-study__card {
        margin-top: -30px;
        padding: 35px 25px 30px;
        max-width: 95%;
    }

    .case-study__quote-icon {
        font-size: 45px;
    }

    .case-study__text {
        font-size: 1rem;
    }
}

/* Contact */
.contact {
    background-color: var(--color-accent-secondary);
    background-image: linear-gradient(to right, #405a45, #4F6D53);
    color: #fff;
}

.contact__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.contact__form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    /* very subtle */
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-item i {
    font-size: 2rem;
    color: var(--color-accent-primary);
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

/* Contact Link Hover Effect */
.contact a {
    transition: var(--transition-fast);
    display: inline-block;
}

.contact a:hover {
    color: var(--color-bg-primary);
    text-decoration: underline;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: var(--color-bg-primary);
    padding: 40px 0;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__links a {
    margin-right: 20px;
    color: var(--color-text-secondary);
}

.footer__credits {
    text-align: right;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .header__container {
        padding: 0 15px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-bg-primary);
        padding: 80px 40px;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .about__container,
    .contact__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__title {
        font-size: 3rem;
    }

    .gallery__item {
        flex: 0 0 280px;
    }

}

/* =========================================
   About Page (Editorial Style)
   ========================================= */

/* Hero Section: Split Screen */
.about-hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
    overflow: hidden;
}

@media (min-width: 992px) {
    .about-hero {
        grid-template-columns: 1fr 1fr;
    }
}

/* Left: Full Height Image */
.about-hero__image-wrapper {
    position: relative;
    height: 100vh;
    /* 100vh on both mobile and desktop as per brief "Avatar Fabiana... height: 100vh" */
    overflow: hidden;
}

@media (max-width: 991px) {
    .about-hero__image-wrapper {
        height: 70vh;
    }
}

.about-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Align to top to show maximum headroom */
    animation: zoomOut 10s ease-out forwards;
    /* Slow zoom out effect */
    transform: scale(1.1);
    /* Start state */
}

@keyframes zoomOut {
    to {
        transform: scale(1.0);
    }
}

/* Right: Text Content */
.about-hero__content {
    background-color: #FDFCF5;
    /* Creme */
    display: flex;
    align-items: center;
    /* Vertical Center */
    justify-content: flex-start;
    padding: 60px 40px;
}

@media (min-width: 992px) {
    .about-hero__content {
        padding: 0 80px;
        /* 80px padding as requested */
    }
}

.about-hero__text-wrapper {
    max-width: 600px;
}

.about-hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-style: italic;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 2.5rem;
    line-height: 1.1;
}

.about-hero__body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-hero__signature {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.5rem;
    color: var(--color-accent-primary);
    /* Terracota */
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
}

/* Services Preview */
.services-preview {
    background-color: #F5F5DC;
    /* Bege Areia */
    padding: 100px 0;
}

.services-preview__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .services-preview__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.service-preview__item {
    text-align: center;
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}

.service-preview__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-preview__icon {
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-preview__title {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-preview__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Closing CTA */
.closing-cta {
    background-color: #4F6D53;
    /* Deep Moss Green */
    padding: 120px 0;
    color: #ffffff;
}

.closing-cta__container {
    max-width: 800px;
    margin: 0 auto;
}

.closing-cta__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 3rem;
    font-style: italic;
}

@media (min-width: 768px) {
    .closing-cta__title {
        font-size: 2.5rem;
    }
}

.closing-cta .btn--outline {
    background-color: #FDFCF5;
    /* Creme */
    border-color: #FDFCF5;
    color: #4A403A;
    /* Texto escuro para legibilidade */
}

.closing-cta .btn--outline:hover {
    background-color: var(--color-accent-primary);
    /* Terracota */
    border-color: var(--color-accent-primary);
    color: #FDFCF5;
    /* Creme claro */
}

/* Animations Helpers */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.2s;
}

.delay-200 {
    animation-delay: 0.4s;
}

.delay-300 {
    animation-delay: 0.6s;
}

.delay-400 {
    animation-delay: 0.8s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Services Page (Ateliê de Projetos)
   ========================================= */

/* -- Button Variants -- */
.btn--outline-green {
    background-color: transparent;
    color: var(--color-accent-secondary);
    border: 2px solid var(--color-accent-secondary);
}

.btn--outline-green:hover {
    background-color: var(--color-accent-secondary);
    color: #ffffff;
}

.btn--solid-terracotta {
    background-color: var(--color-accent-primary);
    color: #ffffff;
    border: 2px solid var(--color-accent-primary);
}

.btn--solid-terracotta:hover {
    background-color: #b8906f;
    border-color: #b8906f;
    color: #ffffff;
}

.btn--white {
    background-color: #ffffff;
    color: var(--color-accent-secondary);
    border: 2px solid #ffffff;
    font-weight: 500;
}

.btn--white:hover {
    background-color: transparent;
    color: #ffffff;
}

/* -- Hero Section -- */
.svc-hero {
    background-color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Sunlight through Canopy - Video Overlay */
.svc-hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

/* Dark gradient overlay for text legibility */
.svc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.svc-hero::after {
    display: none;
}

/* --- Hero Typography Choreography (The Breathing Text) --- */

/* Title mask container for reveal effect */
.svc-hero__title-mask {
    overflow: hidden;
    padding-bottom: 8px;
}

/* Passo A (0.0s): Tracking Expansion - Overline */
.svc-anim-tracking {
    opacity: 0;
    letter-spacing: 2px !important;
    animation: trackingExpand 1.2s ease-out 0.1s forwards;
}

@keyframes trackingExpand {
    to {
        opacity: 1;
        letter-spacing: 8px;
    }
}

/* Passo B (0.3s): Mask Up Reveal - Title */
.svc-anim-mask-up {
    transform: translateY(110%);
    animation: maskUpReveal 1s ease-out 0.3s forwards;
}

@keyframes maskUpReveal {
    to {
        transform: translateY(0%);
    }
}

/* Passo C (0.8s): Simple Fade Up - Subtitle */
.svc-anim-fade-up {
    opacity: 0;
    transform: translateY(25px);
    animation: heroFadeUp 1s ease-out 0.8s forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.svc-hero__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 60px;
    position: relative;
    z-index: 2;
}

.svc-hero__overline {
    display: block;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.svc-hero__title {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-style: italic;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.08;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.svc-hero__subtitle {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .svc-hero {
        min-height: 100vh;
        padding: 0 20px;
    }

    .svc-hero__overline {
        font-size: 0.85rem;
        letter-spacing: 5px;
    }

    .svc-hero__title {
        font-size: 3.2rem;
    }

    .svc-hero__subtitle {
        font-size: 1.1rem;
    }
}

/* -- Zig-Zag Pillar Sections -- */
.svc-pillar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.svc-pillar__image {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.svc-pillar__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-pillar__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 70px;
    background-color: var(--color-bg-primary);
}

.svc-pillar__text-wrapper {
    max-width: 580px;
    width: 100%;
}

.svc-pillar__title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    color: #4F6D53;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.svc-pillar__subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-accent-primary);
    margin-bottom: 1.75rem;
}

.svc-pillar__desc {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

/* -- Checklist with Leaf Icons -- */
.svc-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.svc-checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-primary);
    padding: 10px 0;
}

.svc-checklist li i {
    color: var(--color-accent-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* -- Zig-Zag Reverse -- */
.svc-pillar--reverse {
    direction: rtl;
}

.svc-pillar--reverse>* {
    direction: ltr;
}

/* -- Responsive Pillars -- */
@media (max-width: 991px) {
    .svc-pillar {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .svc-pillar--reverse {
        direction: ltr;
    }

    .svc-pillar__image {
        min-height: 400px;
    }

    .svc-pillar__content {
        padding: 50px 25px;
    }

    .svc-pillar__title {
        font-size: 2rem;
    }
}

/* -- Process Section -- */
.svc-process {
    background-color: #F5F5DC;
    padding: 120px 0;
}

.svc-process__title {
    display: block;
    width: 100%;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: 5rem;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.svc-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

/* Dotted connector line */
.svc-process__grid::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    border-top: 2px dashed var(--color-accent-primary);
    opacity: 0.4;
    z-index: 0;
}

.svc-process__step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.svc-process__icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
}

.svc-process__icon i {
    font-size: 2.2rem;
    color: var(--color-accent-secondary);
}

.svc-process__number {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
}

.svc-process__step-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
}

.svc-process__step-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .svc-process__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }

    .svc-process__grid::before {
        display: none;
    }

    .svc-process {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .svc-process__grid {
        grid-template-columns: 1fr;
    }
}

/* -- CTA Final Section -- */
.svc-cta {
    background-color: #4F6D53;
    padding: 120px 0;
    color: #ffffff;
}

.svc-cta__container {
    max-width: 700px;
    margin: 0 auto;
}

.svc-cta__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.svc-cta__subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* -- Fade-in Animations for Zig-Zag -- */
.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* -- Contact Page Styles -- */

/* Contact Hero */
.contact-hero {
    padding: 180px 0 80px;
    background-color: var(--color-bg-primary);
    text-align: center;
}

.contact-hero__title {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: #3E3C38;
    /* Darker primary text */
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.contact-hero__subtitle {
    font-size: 1.2rem;
    font-family: var(--font-body);
    color: #555;
    /* Darker secondary text */
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    padding-bottom: 100px;
    background-color: var(--color-bg-primary);
}

.contact-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(74, 64, 58, 0.08);
    /* Soft shadow */
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

/* Form Structure */
.form-block {
    margin-bottom: 3.5rem;
    /* Gap between blocks */
}

.form-block__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #A0785C;
    /* Darker Terracotta */
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(160, 120, 92, 0.3);
    /* Darker border */
    padding-bottom: 0.5rem;
    display: inline-block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Material Design Inputs - Minimalist */
.material-input {
    width: 100%;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-primary);
    /* Already dark */
    background: transparent;
    border: none;
    border-bottom: 2px solid #999;
    /* Darker border */
    outline: none;
    transition: all 0.3s ease;
}

.material-textarea {
    resize: vertical;
    min-height: 40px;
    line-height: 1.5;
}

.material-input:focus {
    border-bottom-color: var(--color-accent-secondary);
    /* Verde Musgo on focus */
}

.material-label {
    position: absolute;
    top: 10px;
    left: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    /* Darker label color */
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Float Label Logic */
.material-input:focus~.material-label,
.material-input:not(:placeholder-shown)~.material-label {
    top: -12px;
    font-size: 0.85rem;
    color: var(--color-accent-secondary);
    font-weight: 500;
}

/* Select & Radio/Checkbox Customization */
.field-label {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #3E3C38;
    /* Darker primary text */
    margin-bottom: 1rem;
    font-weight: 500;
}

.field-label-select {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #A0785C;
    /* Darker Terracotta */
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.material-select {
    width: 100%;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid #CCC;
    outline: none;
    cursor: pointer;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    /* Increased weight */
}

.custom-radio input {
    display: none;
}

.radio-mark {
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    /* Darker border */
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s;
}

.custom-radio input:checked~.radio-mark {
    border-color: var(--color-accent-secondary);
}

.custom-radio input:checked~.radio-mark::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background-color: var(--color-accent-secondary);
    border-radius: 50%;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    /* Increased weight */
}

.custom-checkbox input {
    display: none;
}

.checkbox-mark {
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    /* Darker border */
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-checkbox input:checked~.checkbox-mark {
    background-color: var(--color-accent-secondary);
    /* Verde Musgo */
    border-color: var(--color-accent-secondary);
}

.custom-checkbox input:checked~.checkbox-mark::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

/* Submit Section */
.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn--large {
    padding: 16px 48px;
    font-size: 1rem;
    letter-spacing: 1px;
    width: 100%;
    max-width: 400px;
    position: relative;
}

.btn-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.btn--primary:disabled {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    transform: none;
}

.hidden {
    display: none !important;
}

.invisible {
    visibility: hidden;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 0.8s ease-out;
}

.success-icon {
    font-size: 4rem;
    color: var(--color-accent-secondary);
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-message h3 {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.success-message p {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Direct Contact Section */
.direct-contact {
    padding: 80px 0;
    background-color: var(--color-bg-secondary);
}

.section__title-small {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: 3rem;
    text-align: center;
}

.direct-contact__grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-accent-primary);
}

.contact-item a:hover {
    color: var(--color-accent-secondary);
}

/* Utility margins */
.mt-4 {
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-card {
        padding: 40px 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero__title {
        font-size: 2.5rem;
    }

    .direct-contact__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* -- Terms of Use Page Styles -- */

.terms-page-layout {
    display: flex;
    gap: 60px;
    padding: 180px 20px 80px;
    position: relative;
    align-items: flex-start;
}

/* Sticky Sidebar */
.terms-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    display: block;
}

.terms-nav__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-accent-primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(204, 163, 134, 0.3);
    padding-bottom: 0.5rem;
}

.terms-nav__list {
    list-style: none;
    padding: 0;
}

.terms-nav__list li {
    margin-bottom: 0.8rem;
}

.terms-nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding-left: 10px;
    border-left: 2px solid transparent;
}

.terms-nav-link:hover,
.terms-nav-link.active {
    color: var(--color-accent-primary);
    border-left-color: var(--color-accent-primary);
    padding-left: 15px;
}

.btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-primary);
    text-decoration: none;
    border: 1px solid #CCC;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-download-pdf:hover {
    background-color: #E8E6DC;
    border-color: #999;
}

/* Editorial Content */
.terms-content {
    flex: 1;
    max-width: 750px;
    /* Editorial constraint */
    background-color: #FDFCF5;
    /* Creme Suave */
}

.terms-header {
    margin-bottom: 4rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 2rem;
}

.terms-main-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent-primary);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.terms-date {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.terms-section {
    margin-bottom: 4rem;
    scroll-margin-top: 140px;
    /* Offset for sticky header */
}

.terms-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #A0785C;
    /* Terracota Darker */
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.terms-section p {
    font-family: 'Montserrat', sans-serif;
    /* Or Lato if preferred */
    font-size: 1rem;
    /* 16px */
    line-height: 1.8;
    /* Editorial spacing */
    color: #3E3C38;
    /* Cinza Chumbo */
    margin-bottom: 1.2rem;
    text-align: left;
    /* Comfortable left align, justified can create rivers */
}

.terms-section ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 1.2rem;
}

.terms-section ul li {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #3E3C38;
    margin-bottom: 0.8rem;
    position: relative;
}

.terms-section ul li::before {
    content: "•";
    color: var(--color-accent-primary);
    position: absolute;
    left: -20px;
    font-weight: bold;
}

.terms-section strong {
    font-weight: 600;
    color: #2c2a26;
}

/* Responsive */
@media (max-width: 900px) {
    .terms-page-layout {
        flex-direction: column;
        gap: 40px;
        padding-top: 100px;
    }

    .terms-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 20px;
    }

    .terms-nav__list {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .terms-nav__list li {
        width: auto;
        margin-bottom: 0;
    }

    .terms-nav-link {
        padding-left: 0;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding-bottom: 5px;
    }

    .terms-nav-link:hover,
    .terms-nav-link.active {
        padding-left: 0;
        border-left-color: transparent;
        border-bottom-color: var(--color-accent-primary);
    }

    .terms-main-title {
        font-size: 2.2rem;
    }
}

/* =========================================
   Mobile Optimization — Responsive Fixes
   ========================================= */

/* Footer: stacks vertically on mobile */
@media (max-width: 768px) {
    .footer__container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    .footer__links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .footer__links a {
        margin-right: 0;
    }

    .footer__credits {
        text-align: center;
    }
}

/* Contact Card: reduce padding on small screens */
@media (max-width: 600px) {
    .contact-card {
        padding: 30px 20px;
    }

    .contact-hero {
        padding-top: 120px;
    }
}

/* Form Grid: single column on mobile */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Hero Title: reduce size on very small screens */
@media (max-width: 480px) {
    .hero__title {
        font-size: 2.4rem;
    }

    .gallery__item {
        flex: 0 0 260px;
    }
}

/* Lazy loading — images use decoding async by default in modern browsers */
img[loading="lazy"] {
    will-change: auto;
}