@import url('https://fonts.googleapis.com/css2?family=Calistoga&display=swap');


:root {
    --bg: #8f2e2e;
    --fg: #ffecb8;
}

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

html, body {
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: Calistoga, serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center; /* espaço para header fixo */
    position: relative;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 20px 24px;
    min-height: 70px;
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 236, 184, 0.15);
    z-index: 1000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: absolute;
    right: 24px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--fg);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg);
    border: 1px solid rgba(255, 236, 184, 0.15);
    border-radius: 0 0 12px 12px;
    padding: 16px;
    min-width: 200px;
}

.nav-mobile.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Header items */
.nav-link {
    color: var(--fg);
    text-decoration: none;
    font-weight: 400;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 200ms ease;
}

.nav-link:hover {
    background: var(--fg);
    color: var(--bg);
}

/* Logo */
.logo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.logo-button img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    filter: none;
    transition: transform 600ms ease;
}

.logo-button:hover img {
    transform: rotate(360deg);
}

/* Hero */
.hero {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    margin-top: 22vh;
}

.hero-title {
    display: block;
    font-size: clamp(40px, 8vw, 96px);
    line-height: 1.05;
    font-weight: 300;
    font-family: Calistoga, serif;
}

/* mobile hero title */
@media (max-width: 768px) {
    .hero-title {
        margin-top: 3rem;
    }
}

.hero-subtitle {
    display: block;
    margin-top: 24px;
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-size: clamp(14px, 2vw, 18px); /* a little smaller */

}

.hero-search {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
    padding: 0 32px;
}

.hero-search input {
    width: min(300px, 75vw);
    background: rgba(255, 236, 184, 0.12);
    border: 1px solid rgba(255, 236, 184, 0.3);
    color: var(--fg);
    padding: 10px 14px;
    border-radius: 10px;
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 300;
    font-size: 15px;
}

.hero-search input::placeholder {
    color: var(--fg);
    opacity: 0.7;
}

.hero-search button {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
}

.hint-arrow {
    display: inline-block;
    animation: hint-bounce 2.4s ease-in-out infinite;
}

@keyframes hint-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.hero-buttons {
    display: flex;
    gap: 12px; /* closer */
    margin-top: 36px;
    justify-content: center;
}

.full-button,
.outline-button {
    padding: 12px 20px;
    border-radius: 12px;
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-size: 15px; /* a little smaller */
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--fg);
    transition: transform 160ms ease, opacity 160ms ease, background-color 200ms ease, color 200ms ease;
}

.full-button {
    background: var(--fg);
    color: var(--bg);
}

.outline-button {
    background: transparent;
    color: var(--fg);
}

.full-button:hover {
    transform: translateY(-1px);
    background: transparent;   /* swap colors */
    color: var(--fg);
}

.outline-button:hover {
    transform: translateY(-1px);
    background: var(--fg);      /* swap colors */
    color: var(--bg);
}



/* Featured items section */
.featured-items {
    position: relative;
    width: 100%;
    height: 350px;
}

.featured-items img {
    position: absolute;
    width: 300px !important;
    height: 200px !important;
    object-fit: contain;
    opacity: 0;
    transition: opacity 400ms ease, transform 400ms ease;
    border-radius: 12px;
}

/* Posicionamento bagunçado das 4 imagens */
.featured-items img:nth-child(1) { /* PS5 */
    top: 20px;
    left: 20%;
    transform: rotate(-8deg) translateY(40px);
}

.featured-items img:nth-child(2) { /* Câmera */
    top: 80px;
    left: 35%;
    transform: rotate(12deg) translateY(40px);
}

.featured-items img:nth-child(3) { /* Furadeira */
    top: 60px;
    right: 35%;
    transform: rotate(-15deg) translateY(40px);
}

.featured-items img:nth-child(4) { /* Bicicleta */
    top: 10px;
    right: 20%;
    transform: rotate(6deg) translateY(40px);
}

.featured-items img.fade-in:nth-child(1) {
    opacity: 0.9;
    transform: rotate(-8deg) translateY(0);
}

.featured-items img.fade-in:nth-child(2) {
    opacity: 0.9;
    transform: rotate(12deg) translateY(0);
}

.featured-items img.fade-in:nth-child(3) {
    opacity: 0.9;
    transform: rotate(-15deg) translateY(0);
}

.featured-items img.fade-in:nth-child(4) {
    opacity: 0.9;
    transform: rotate(6deg) translateY(0);
}

.featured-items img:hover {
    opacity: 1;
    transform: rotate(0deg) translateY(-8px) scale(1.4);
    z-index: 10;
}

/* Banner de categorias */
.categories-banner {
    width: 100%;
    margin-top: 64px;
    overflow: hidden;
    background: var(--fg); /* fg como bg */
    color: var(--bg);      /* bg como texto */
}

.marquee {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 52px;
}

.marquee-track {
    display: inline-flex;
    gap: 28px;
    white-space: nowrap;
    will-change: transform;
    animation: marquee-scroll 60s linear infinite;
}

.banner-item {
    color: var(--bg);
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 800;
    letter-spacing: 0.2px;
}

.banner-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* centraliza o separador */
    width: 24px;             /* largura fixa para centralização visual */
    color: var(--bg);
    opacity: 0.8;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Small screens */
@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
        min-height: 60px;
        justify-content: space-between;
    }

    .header .nav-link:not(.nav-mobile .nav-link) {
        display: none;
    }

    .menu-toggle {
        display: flex;
        position: static;
    }

    .container {
        padding: 80px 0px 0px; /* menos padding para header menor */
    }

    .hero {
        margin-top: 4vh;
    }

    .featured-items {
        display: none; /* remove imagens no mobile */
    }

    .content-with-image {
        flex-direction: column;
        text-align: center;
    }

    .image-content {
        flex: none;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .steps-grid {
        flex-direction: column;
        gap: 12px;
    }

    .step-item {
        min-width: auto;
    }

    .step-header::after {
        display: none;
    }
}

/* Seções de conteúdo */
.section {
    width: 100%;
    max-width: 1000px;
    margin: 56px auto 56px;
    padding: 0 20px;
}

.section_swap {
    width: 100%;
    margin: 0px auto 0;
    padding: 0 20px;
}

.section-header {
    text-align: left;
    margin-bottom: 20px;
}

/* Timeline header centralizado */
#como-funciona .section-header {
    text-align: center;
    margin-top: 32px;
}

#por-que-rent .section-header {
    text-align: center;
}

.kicker {
    display: inline-block;
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.85;
}

.section h2 {
    font-family: Calistoga, serif;
    font-size: clamp(22px, 3.5vw, 32px);
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    color: var(--fg);
    font-weight: 400;
}

.section p {
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Steps linha horizontal */
.steps-grid {
    display: flex;
    gap: 16px;
    max-width: 1000px;
    margin: 28px auto 0;
    overflow-x: auto;
    padding-bottom: 40px;
}

.step-item {
    flex: 1;
    min-width: 220px;
    text-align: center;
    padding: 20px 16px;
}

.step-item h3 {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin: 12px 0 8px;
}

.step-item p {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fg);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 12px;
}

.step-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 12px;
}

.step-header {
    background: rgba(255, 236, 184, 0.12);
    border: 2px solid rgba(255, 236, 184, 0.3);
    position: relative;
}

.step-header::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    width: 0;
    height: 0;
    border-left: 8px solid rgba(255, 236, 184, 0.3);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transform: translateY(-50%);
}

/* Mobile: menor espaçamento entre passos */
@media (max-width: 768px) {
    .steps-grid {
        gap: 8px;
    }
}

/* Espaçamento entre as duas linhas */
.steps-grid + .steps-grid {
    margin-top: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.feature {
    background: rgba(255, 236, 184, 0.06);
    border: 1px solid rgba(255, 236, 184, 0.15);
    border-radius: 12px;
    padding: 20px;
}

.feature-ico { font-size: 28px; }

/* Seções com cores invertidas - largura total */
.section-inverted {
    background: var(--fg);
    color: var(--bg);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 60px 0;
}

.section-inverted .section-header,
.section-inverted .features-grid,
.section-inverted .content-with-image {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-inverted .kicker {
    color: var(--bg);
    opacity: 0.8;
}

.section-inverted h2 {
    color: var(--bg);
}

.section-inverted .feature {
    background: rgba(143, 46, 46, 0.15);
    border: 1px solid rgba(143, 46, 46, 0.3);
    color: var(--bg);
}

/* Layout com imagem */
.content-with-image {
    display: flex;
    gap: 32px;
    align-items: center;
    max-width: 900px;
    margin: 28px auto 0;
}

.text-content {
    flex: 1;
}

.text-content p {
    margin-bottom: 16px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.image-content {
    flex: 0 0 400px;
}

.image-content img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Links de contato */
#contato a {
    color: var(--fg);
    text-decoration: underline;
}

/* Cards & grades */
.card-row {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.card {
    flex: 1 1 260px;
    min-width: 240px;
    background: rgba(255, 236, 184, 0.08);
    border: 1px solid rgba(255, 236, 184, 0.2);
    border-radius: 14px;
    padding: 18px;
}

.card h3,
.feature h3,
.timeline-card h3,
.contact-card h3 {
    margin: 8px 0 12px;
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 18px;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 4px;
}

.cta {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}



/* Contato */
.contact-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    flex: 1 1 260px;
    min-width: 240px;
    background: rgba(255, 236, 184, 0.08);
    border: 1px solid rgba(255, 236, 184, 0.2);
    border-radius: 14px;
    padding: 20px;
}

.contact-form {
    flex: 2 1 360px;
    min-width: 280px;
    background: rgba(255, 236, 184, 0.08);
    border: 1px solid rgba(255, 236, 184, 0.2);
    border-radius: 14px;
    padding: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.field label {
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-size: 14px;
    font-weight: 600;
    opacity: 0.95;
}

.field input,
.field textarea {
    background: rgba(255, 236, 184, 0.12);
    border: 1px solid rgba(255, 236, 184, 0.3);
    color: var(--fg);
    padding: 12px 16px;
    border-radius: 10px;
    outline: none;
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-size: 15px;
    transition: border-color 200ms ease, background-color 200ms ease;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--fg);
    background: rgba(255, 236, 184, 0.18);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--fg);
    opacity: 0.6;
}

/* Newsletter */
.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: rgba(255, 236, 184, 0.08);
    border: 1px solid rgba(255, 236, 184, 0.2);
    border-radius: 14px;
    padding: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter h3 {
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 236, 184, 0.12);
    border: 1px solid rgba(255, 236, 184, 0.3);
    color: var(--fg);
    padding: 12px 16px;
    border-radius: 10px;
    outline: none;
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-size: 15px;
}

.newsletter-form input:focus {
    border-color: var(--fg);
    background: rgba(255, 236, 184, 0.18);
}

.newsletter-form input::placeholder {
    color: var(--fg);
    opacity: 0.6;
}

/* To top button */
.to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: var(--fg);
    color: var(--bg);
    border: none;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* mobile to top button */
@media (max-width: 768px) {
    .to-top {
        display: none;
    }
}

/* FAQ */
.faq {
    max-width: 700px;
    margin: 0 auto;
}

.faq details {
    background: rgba(255, 236, 184, 0.08);
    border: 1px solid rgba(255, 236, 184, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq summary {
    padding: 20px 24px;
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    transition: transform 200ms ease;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    padding: 0 24px 20px;
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* FAQ Toggle Button */
.faq-toggle-container {
    text-align: center;
    margin-top: 24px;
}

.faq-toggle-btn {
    background: none;
    border: none;
    color: var(--fg);
    font-family: var(--ui-font, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 12px 0;
    transition: opacity 200ms ease;
}

.faq-toggle-btn:hover {
    opacity: 0.8;
}

.faq-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: all 400ms ease;
}

.faq-hidden.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Styles */
.footer-content {
    background: var(--bg);
    padding: 40px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 600ms ease;
    color: var(--fg); /* This will control the SVG color */
}

.footer-logo:hover img {
    transform: rotate(360deg);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-link {
    color: var(--fg);
    text-decoration: none;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    padding: 8px 0;
    transition: opacity 200ms ease;
}

.footer-nav-link:hover {
    opacity: 0.7;
}

.footer-right {
    display: flex;
    align-items: flex-start;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--fg);
    background: rgba(255, 236, 184, 0.08);
    border: 1px solid rgba(255, 236, 184, 0.15);
    border-radius: 50%;
    transition: all 200ms ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--fg);
    color: var(--bg);
    transform: translateY(-2px);
}

.footer-brand {
    text-align: center;
    margin: 40px 0;
}

.brand-name {
    font-family: Calistoga, serif;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 400;
    color: var(--fg);
    margin: 0;
    line-height: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 236, 184, 0.15);
}

.copyright, .licenses {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    color: var(--fg);
    opacity: 0.8;
}

.licenses {
    cursor: pointer;
    transition: opacity 200ms ease;
}

.licenses:hover {
    opacity: 1;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .brand-name {
        font-size: clamp(36px, 10vw, 72px);
    }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: all 400ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


