/* ===================================
   ERGOXEIRO ANTONIA - Global Styles
   Palette: White + Warm Gray + Terracotta
   Fonts: Playfair Display + Inter
   =================================== */

:root {
    --white: #FFFFFF;
    --cream: #FAF8F5;
    --warm-gray: #F3F0EC;
    --border: #E8E4DF;
    --text: #2C2420;
    --text-light: #7a726a;
    --text-mid: #5a524a;
    --terracotta: #8B4E3A;
    --terracotta-hover: #A0604C;
    --gold-warm: #C4956E;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   NAVIGATION
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--text-light);
    transition: color 0.2s;
    font-weight: 400;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-cta {
    color: var(--terracotta) !important;
    font-weight: 500 !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
    border-radius: 1px;
}

/* ===================================
   HERO
   =================================== */

.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    max-height: 750px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 64px;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(44,36,32,0.82) 0%,
        rgba(44,36,32,0.55) 40%,
        rgba(44,36,32,0.15) 70%,
        rgba(44,36,32,0.05) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
    padding: 0 24px 0 calc((100vw - 1100px) / 2 + 24px);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.hero-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 28px;
    line-height: 1.7;
    font-weight: 300;
}

/* ===================================
   PAGE HERO (inner pages)
   =================================== */

.page-hero {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 64px;
}

.page-hero-image {
    position: absolute;
    inset: 0;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-istoria .page-hero-image img {
    object-position: center 28%;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44,36,32,0.55);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.01em;
}

.page-hero-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--terracotta-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
}

.btn-outline-dark {
    background: transparent;
    color: var(--terracotta);
    border: 1px solid var(--border);
}

.btn-outline-dark:hover {
    border-color: var(--terracotta);
    background: rgba(139,78,58,0.04);
}

/* ===================================
   SECTIONS
   =================================== */

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 0.9375rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

/* ===================================
   CATEGORY CARDS
   =================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.card-image {
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.card-body p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   TRUST BAR
   =================================== */

.trust-bar {
    background: var(--cream);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--terracotta);
}

.trust-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ===================================
   ALEXIA SECTION
   =================================== */

.alexia-section {
    background: var(--white);
}

.alexia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.alexia-text h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.alexia-text p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.alexia-image img {
    border-radius: 8px;
}

/* ===================================
   CONTENT SECTIONS (inner pages)
   =================================== */

.content-section {
    padding: 64px 0;
}

.content-section:nth-child(even) {
    background: var(--cream);
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.content-section p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-grid img {
    border-radius: 8px;
    width: 100%;
}

.image-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.image-grid-3 img {
    border-radius: 8px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.image-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.image-grid-2 img {
    border-radius: 8px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: var(--text);
    padding: 56px 0;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 6px;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 64px 0;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-detail {
    margin-bottom: 24px;
}

.contact-detail h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--terracotta);
    margin-bottom: 6px;
}

.contact-detail p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--terracotta);
    font-weight: 500;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-store-image {
    margin-top: 32px;
}

.contact-store-image img {
    border-radius: 8px;
    width: 100%;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--cream);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-col p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--terracotta);
}

.footer-social {
    font-size: 0.875rem;
    color: var(--terracotta) !important;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ===================================
   NOTE BANNER
   =================================== */

.note-banner {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 32px 0;
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.note-banner strong {
    color: var(--terracotta);
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   MOBILE RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .nav-links.open { display: flex; }

    .hero {
        height: auto;
        min-height: unset;
        max-height: unset;
        flex-direction: column;
    }

    .hero-image {
        position: relative;
        height: 50vh;
        min-height: 280px;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content {
        position: relative;
        padding: 28px 24px 36px;
        max-width: 100%;
        background: var(--white);
    }

    .hero-content h1 {
        font-size: 1.75rem;
        color: var(--text);
    }

    .hero-content p {
        color: var(--text-mid);
        font-weight: 400;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trust-items {
        gap: 24px;
    }

    .trust-item {
        flex: 0 0 calc(50% - 12px);
    }

    .alexia-grid,
    .content-grid,
    .content-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .image-grid-3 {
        grid-template-columns: 1fr;
    }

    .image-grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-hero {
        height: 250px;
    }

    .page-hero-content h1 {
        font-size: 1.5rem;
        padding: 0 24px;
    }

    .section {
        padding: 56px 0;
    }

    .content-section {
        padding: 48px 0;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-items {
        flex-direction: column;
        gap: 16px;
    }

    .trust-item {
        flex: none;
    }
}

/* FAQ section */
.faq-section {
    padding: 16px 0 72px;
}
.faq-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--terracotta);
    margin-bottom: 28px;
    text-align: center;
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}
.faq-item p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.8;
}

/* Testimonials section */
.reviews-section {
    padding: 64px 0;
    background: var(--cream);
}
.reviews-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--terracotta);
    text-align: center;
    margin-bottom: 36px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}
.review-text {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.75;
    font-style: italic;
    flex-grow: 1;
}
.review-author {
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text);
}
.reviews-source {
    text-align: center;
    margin-top: 32px;
    font-size: 0.9375rem;
}
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}
