@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #f9f6f1;
    --color-bg-alt: #f2ebe0;
    --color-bg-muted: #e8dfd2;
    --color-text: #2c2416;
    --color-text-light: #564a3d;
    --color-accent: #6f6725;
    --color-line: #d9cfc0;
    --brand-color: #a3964d;
    --brand-dark: #6f6725;
    --font-primary: 'Source Sans 3', Helvetica, Arial, sans-serif;
    --font-display: 'Libre Baskerville', Georgia, serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --spacing-xxl: 12rem;
    --shadow-subtle: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
    --radius-sm: 6px;
    --radius-md: 10px;
    --secondary-color: #a3964d;
    --text-section: clamp(2.25rem, 4.2vw, 3rem);
    --text-lead: clamp(1.125rem, 2vw, 1.35rem);
    --text-body: 1rem;
    --text-small: 0.875rem;
    --text-label: 0.75rem;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-body);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.65;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.6s ease;
    position: relative;
}

/* Variações de tema por página */
.page-home {
    background: linear-gradient(180deg, #f9f6f1 0%, #f4efe6 50%, #f9f6f1 100%);
}

.page-craft {
    background-color: var(--color-bg);
}

body.page-craft::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
}


/* Tipografia Editorial */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-text);
}

h2, h3 {
    color: var(--color-text);
}

/* Navegação editorial */
.main-nav {
    position: relative;
    z-index: 1000;
    background-color: rgba(249, 246, 241, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* Menu mobile aberto: header fica no ecrã para fechar o hamburger */
.main-nav.menu-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.main-nav__bar {
    border-bottom: 1px solid var(--color-line);
    position: relative;
    z-index: 1001;
}

.main-nav__bar::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(163, 150, 77, 0.55), transparent);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    padding: 0.9rem clamp(1rem, 3vw, 2rem);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    width: clamp(7.5rem, 14vw, 9.5rem);
    display: block;
    object-fit: contain;
    transition: filter 0.35s ease, opacity 0.35s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    flex: 1 1 auto;
}

.nav-links--editorial {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.85rem, 2vw, 1.75rem);
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
}

.nav-item {
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.15rem 0;
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text-light);
    position: relative;
    transition: color 0.25s ease;
}

.nav-link::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0;
    background: var(--brand-color);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease, margin-right 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--color-text);
}

.nav-link.active {
    color: var(--brand-dark);
    font-weight: 500;
}

.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
    margin-right: 0.45rem;
}

.nav-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-lang-btn {
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.nav-lang-btn:hover,
.nav-lang-btn.fw-bold {
    color: var(--brand-dark);
}

.nav-lang-separator {
    color: var(--brand-color);
    opacity: 0.75;
    font-size: 0.85rem;
    line-height: 1;
}

.nav-contact.button-cta {
    padding: 0.55rem 1.15rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-color: var(--brand-dark);
    color: var(--brand-dark);
}

.nav-contact.button-cta::before {
    background: var(--brand-dark);
}

.nav-contact.button-cta:hover {
    color: #fff;
    border-color: var(--brand-dark);
}

.main-nav.scrolled {
    background-color: rgba(249, 246, 241, 0.98);
    box-shadow: var(--shadow-subtle);
}

.main-nav.scrolled .nav-container {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

/* Navbar já não fica sobre o hero: manter cores escuras no fundo cream */
.page-home .main-nav--hero:not(.menu-open) {
    background-color: rgba(249, 246, 241, 0.94);
    box-shadow: none;
}

.no-banner img {
    filter: brightness(0) !important;
}

.mobile-menu-toggle {
    display: none;
    position: relative;
    width: 1.65rem;
    height: 1.1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle span:nth-child(2) {
    opacity: 1;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Seções */
.page-section {
    padding: 8rem 16rem;
    margin: 0 auto;
}

.cta-section-width {
    max-width: 1400px;
    padding: 5rem 8rem;
    margin: 0rem auto;
}

/* Who We Are Section - Layout Editorial Moderno */
.section-who-we-are {
    background: var(--color-bg);
    position: relative;
}

.section-who-we-are::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-line) 20%, var(--color-line) 80%, transparent 100%);
}

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.who-we-are-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .who-we-are-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 5rem;
    }
}

.who-we-are-label-col {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .who-we-are-label-col {
        grid-column: span 4;
    }
}

.who-we-are-label {
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 1rem;
    transition: all 0.7s ease;
    opacity: 1;
    transform: translateY(0);
}

.editorial-divider {
    width: 100%;
    height: 1px;
    background: var(--color-line);
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .editorial-divider {
        width: 60px;
    }
}

.img-show-full {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

.about-brand-logo {
    display: block;
    max-width: 280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    object-fit: contain;
}

.who-we-are-image {
    margin-top: 2rem;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--color-bg-alt);
}

.who-we-are-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-card .founder-photo {
    aspect-ratio: 3 / 4;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center 15%;
}

.who-we-are-image:hover img {
    transform: scale(1.02);
}

.who-we-are-image:hover .founder-photo {
    transform: scale(1.02);
}

@media (min-width: 1024px) {
    .who-we-are-image {
        margin-top: 3rem;
    }
}

.who-we-are-content-col {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .who-we-are-content-col {
        grid-column: span 8;
    }
}

.who-we-are-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0 0 2rem 0;
    transition: all 0.7s ease;
    transition-delay: 100ms;
    opacity: 1;
    transform: translateY(0);
}

.who-we-are-title .italic {
    font-style: italic;
    font-weight: 300;
}

.who-we-are-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-light);
    max-width: 42rem;
    margin: 0;
    transition: all 0.7s ease;
    transition-delay: 200ms;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1023px) {
    .who-we-are-grid {
        margin-bottom: 3rem;
    }
    
    .who-we-are-title {
        margin-bottom: 1.5rem;
    }
}


/* Hero: full-bleed banner with structure */
.page-hero {
    min-height: 92vh;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.hero-left {
    padding: 12rem 15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
    align-items: center;
}




.hero-content {
    width: 100%;
    background-image: url('imagens/banner.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    display: flex;
    gap: 0;
    align-items: stretch;
    margin: 0;
    max-width: none;
    min-height: 100vh;
    position: relative;
    transform: translate3d(0, var(--hero-parallax, 0px), 0);
    will-change: transform;
}

.hero-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(44, 36, 22, 0.78), rgba(92, 79, 30, 0.52)),
        rgba(44, 36, 22, 0.35);
    z-index: 0;
    pointer-events: none;
}

.hero-content > * {
    position: relative;
    z-index: 1;
}
/* Sobrescrever todas as cores para branco dentro do hero-content */
.hero-content .hero-eyebrow,
.hero-content .hero-title,
.hero-content .hero-subtitle,
.hero-content .hero-cred-item,
.hero-content .hero-cred-item strong,
.hero-content .hero-cred-item span {
    color: white !important;
}

.hero-content .hero-credentials {
    border-top-color: rgba(255, 255, 255, 0.3);
}

.hero-content .hero-cta {
    color: white !important;
    border-color: white !important;
}

.hero-content .hero-cta::before {
    background: var(--secondary-color);
}

.hero-content .hero-cta:hover {
    border-color: var(--secondary-color) !important;
}

.hero-content .hero-scroll-line {
    background: white;
}

.hero-content .hero-scroll span {
    color: rgba(255, 255, 255, 0.7) !important;
}


.hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 600;
    line-height: 0.92;
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-text-light);
    letter-spacing: 0.04em;
    margin-bottom: var(--spacing-md);
}

.hero-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm) var(--spacing-lg);
    margin-bottom: 24px;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-line);
}

.hero-cred-item {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.hero-cred-item strong { color: var(--color-text); font-weight: 500; }

.hero-cta {
    align-self: center;
    display: inline-block;
    align-self: flex-start;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-text);
    padding: var(--spacing-sm) var(--spacing-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-text);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}


.hero-cta:hover {
    color: var(--color-bg);
    border-color: var(--color-text);
}

.hero-cta:hover::before { left: 0; }

/* Button CTA com animação de preenchimento preto */
.button-cta {
    color: var(--color-text);
    border: 1px solid var(--color-text);
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translate(var(--magnet-x, 0), var(--magnet-y, 0));
    transition: transform 0.2s ease, color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.button-cta:active {
    transform: translate(var(--magnet-x, 0), var(--magnet-y, 0)) scale(0.98);
}

.button-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.button-cta:hover {
    color: var(--color-bg);
    border-color: var(--secondary-color);
}

.button-cta:hover::before {
    left: 0;
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50vw;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    z-index: 999;
    top: 85vh;
    border: none;
    background: transparent;
    padding: 0.5rem;
    cursor: pointer;
    color: inherit;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-scroll:hover {
    opacity: 0.85;
    transform: translateX(-50%) translateY(3px);
}

.hero-scroll:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 4px;
    border-radius: 2px;
}

.hero-scroll-line {
    width: 1px;
    height: 32px;
    background: var(--color-text);
    opacity: 0.35;
    animation: scrollLine 2s ease-in-out infinite;
}


/* Scroll line animation - mantida para indicador de scroll */
@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}
.brand-slider {
    overflow: hidden;
    width: 100%;
  }
  
  .brand-track {
    display: flex;
    width: calc(100%); /* porque vamos repetir os items */
    animation: scroll 8s linear infinite;
  }
  
  .brand-item {
    flex: 0 0 25%; /* 4 itens por linha */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .brand-item img {
    max-width: 50%;
    filter: brightness(0) invert(1);
  }

  .partners-logos--slider .brand-item {
    padding: 1rem 1.25rem;
    margin: 0 0.35rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    min-height: 76px;
  }

  .partners-logos--slider .brand-item img {
    max-width: 85%;
    max-height: 48px;
    object-fit: contain;
    filter: none;
  }

  .partners-intro {
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--color-text-muted, #5c5c5c);
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .section-bg-alt .partners-intro {
    color: rgba(255, 255, 255, 0.82);
  }

  .partners-logos--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    align-items: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  }

  .partner-logo img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  @media (min-width: 768px) {
    .partners-logos--grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* move metade da track para a esquerda */
    }
  }
  


/* Section Headers */
.section-header {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
    margin-bottom: 5rem;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-line);
    position: relative;
}

.home-gear-accent::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 0%; /* círculo central */
    box-shadow: 
        0 -6px 0 0 var(--secondary-color),    /* topo */
        0 6px 0 0 var(--secondary-color),     /* baixo */
        -6px 0 0 0 var(--secondary-color),    /* esquerda */
        6px 0 0 0 var(--secondary-color),     /* direita */
        -4px -4px 0 0 var(--secondary-color), /* diagonal top-left */
        4px -4px 0 0 var(--secondary-color),  /* diagonal top-right */
        -4px 4px 0 0 var(--secondary-color),  /* diagonal bottom-left */
        4px 4px 0 0 var(--secondary-color);   /* diagonal bottom-right */
    transform: translate(-50%, -50%) rotate(0deg);
    animation: spin-gear 8s linear infinite;
}

/* Rotação contínua */
@keyframes spin-gear {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


.contact-phone-accent::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 36px;
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    transform: translate(-50%, -50%);
    box-sizing: border-box;

    animation: phone-loop 5s cubic-bezier(.4,0,.2,1) infinite;
}

.contact-phone-accent::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--secondary-color);
    border-radius: 10px;
    bottom: 47%;
    transform: translateX(-50%);
    animation: speaker-loop 5s cubic-bezier(.4, 0, .2, 1) infinite;
}


@keyframes phone-loop {
    0% {
        height: 0;
        opacity: 0;
    }
    25% {
        height: 36px;
        opacity: 1;
    }
    65% {
        height: 36px;
        opacity: 1;
    }
    100% {
        height: 0;
        opacity: 0;
    }
}

@keyframes speaker-loop {
    0%, 25% {
        opacity: 0;
    }
    35%, 55% {
        opacity: 1;
    }
    65% {
        opacity: 0; /* desaparece antes do fecho */
    }
    100% {
        opacity: 0;
    }
}




  .shoe-draw svg{
    width: 70px;
    height: 50px;
    color: var(--brand-dark);
  }

  .section-bg-alt .shoe-draw svg {
    color: rgba(255, 255, 255, 0.88);
  }
  
  /* Caminho do sapato */
  .shoe-draw path {
    stroke: currentColor;
    stroke-width: 5;        /* grossura da linha */
    fill: none;             /* sem preenchimento */
    stroke-linecap: round;
    stroke-linejoin: round;
  
    stroke-dasharray: 3000;   /* comprimento total do path (ajusta se necessário) */
    stroke-dashoffset: 3000;  /* começa escondido */
  
    animation: draw-shoe 5s ease-in-out infinite;
  }
  
  /* Animação de desenhar e voltar atrás */
  @keyframes draw-shoe {
    0% {
      stroke-dashoffset: 3000;  /* linha escondida */
    }
    50% {
      stroke-dashoffset: 0;      /* linha totalmente desenhada */
    }
    100% {
      stroke-dashoffset: 3000;  /* linha volta a desaparecer */
    }
  }
  



/* Headers únicos para Homepage */
.home-what-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Brands Seal Accent - Círculo com Check */
.home-brands-accent {
    width: 25px;
    height: 25px;
    position: relative;
    flex-shrink: 0;
}

.home-brands-accent::before {
    content: '';
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid white; /* contorno do selo */
    position: absolute;
    top: 0;
    left: 0;
}

.home-brands-accent::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;  /* largura total do check */
    height: 5px;  /* altura total */
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: translate(-50%, -50%) rotate(-45deg) scale(1);
    animation: pulse-check 1.5s ease-in-out infinite;
}

/* Animação de pulso */
@keyframes pulse-check {
    0%, 100% { transform: translate(-50%, -50%) rotate(-45deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(-45deg) scale(1.2); }
}




/* Who We Are Header Accent - Fundamento/Base sólida */
.home-what-accent {
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
}

.home-what-accent::before {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--brand-color);
    position: absolute;
    transform: rotate(45deg);
    animation: solid-foundation 3s ease-in-out infinite;
}

.home-what-accent::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-bg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes solid-foundation {
    0%, 100% {
        transform: rotate(45deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: rotate(45deg) scale(0.85);
        opacity: 0.8;
    }
}

.home-vision-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.home-vision-number {
    position: relative;
}

.home-vision-line {
    width: 100px;
    height: 1px;
    background: var(--color-line);
    position: relative;
    overflow: visible;
}

.home-vision-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: -4px;
    width: 8px;
    height: 8px;
    background: var(--color-text);
    border-radius: 50%;
    animation: ball-travel 3s ease-in-out infinite;
    transform: translateX(0);
}

@keyframes ball-travel {
    0% {
        transform: translateX(0);
    }
    45% {
        transform: translateX(92px);
    }
    50% {
        transform: translateX(92px);
    }
    95% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}

/* Production Header Accent - Elemento decorativo */
.production-header-accent {
    width: 25px;
    height: 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.production-header-accent::before {
    content: '';
    width: 25px;
    height: 25px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    position: absolute;
    animation: pulse-ring 5s ease-out infinite;
}

.production-header-accent::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: absolute;
    z-index: 1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Ícone de Caixa com Tampa */
.home-service-accent {
    width: 15px;
    height: 15px;
    position: relative;
}

/* Caixa */
.home-service-accent::before {
    content: '';
    width: 20px;
    height: 15px;
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
}

/* Tampa */
.home-service-accent::after {
    content: '';
    width: 20px;
    height: 5px;
    background: var(--secondary-color);
    position: absolute;
    top: -2px;
    left: 0;
    animation: open-lid 3s ease-in-out infinite alternate;
    border-bottom: 1px solid #6a6a6a;
}

/* Animação da tampa */
@keyframes open-lid {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-5px); /* Tampa abre para cima */
    }
}


.section-number {
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.section-header:hover .section-number {
    color: var(--color-text);
    transform: translateX(-5px);
}

.section-title {
    font-size: var(--text-section);
    font-weight: 400;
    transition: transform 0.3s ease;
    display: inline-block;
    letter-spacing: -0.02em;
    line-height: 1.12;
}


/* ─── Services Section - Fundo verde do logotipo ─── */
.page-section.section-bg-alt {
    background-color: var(--brand-dark);
    color: #ffffff;
}

.bg-alt {
    background-color: var(--brand-dark);
    color: #ffffff;
}

.page-section.section-bg-alt .section-title,
.page-section.section-bg-alt .section-number,
.page-section.section-bg-alt .text-info-services,
.page-section.section-bg-alt .editorial-intro,
.page-section.section-bg-alt .editorial-paragraph,
.page-section.section-bg-alt .service-elegant-title {
    color: #ffffff;
}

.page-section.section-bg-alt .section-number {
    color: rgba(255, 255, 255, 0.6);
}

.page-section.section-bg-alt .section-header:hover .section-number {
    color: #ffffff;
}

.page-section.section-bg-alt .home-vision-line {
    background: rgba(255, 255, 255, 0.3);
}

.page-section.section-bg-alt .home-vision-line::after {
    background: #ffffff;
}

.page-section.section-bg-alt .service-elegant-number {
    color: rgba(255, 255, 255, 0.15);
}

.page-section.section-bg-alt .service-elegant-item:hover .service-elegant-number {
    color: rgba(255, 255, 255, 0.3);
}

.page-section.section-bg-alt .button-cta {
    color: #ffffff;
    border-color: #ffffff;
}

.page-section.section-bg-alt .button-cta::before {
    background: #ffffff;
}

.page-section.section-bg-alt .button-cta:hover {
    color: var(--brand-dark);
    border-color: #ffffff;
}

.page-section.section-bg-alt .service-modern-number,
.page-section.section-bg-alt .service-modern-title,
.page-section.section-bg-alt .service-modern-description {
    color: rgba(255, 255, 255, 0.92);
}

.page-section.section-bg-alt .service-modern-number {
    color: rgba(163, 150, 77, 0.85);
}

.page-section.section-bg-alt .service-modern-description {
    color: rgba(255, 255, 255, 0.78);
}

.page-section.section-bg-alt .home-what-accent::before {
    background: var(--brand-color);
}

.page-section.section-bg-alt .home-what-accent::after {
    background: var(--brand-dark);
}

.page-section.section-bg-alt .section-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* ─── Services Grid Modern - Layout com linhas divisórias ─── */
.services-grid-modern {
    max-width: 1400px;
    margin: var(--spacing-lg) auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .services-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-modern-item {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: background-color 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Borders para separação - aparecem quando animados */
.service-modern-item.animate {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Remover border duplicado entre itens adjacentes */
.service-modern-item.animate:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    
    /* Border entre linhas */
    .service-modern-item.animate:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Delays escalonados para animações fade-in */
.service-modern-item.fade-in-left:nth-child(1),
.service-modern-item.fade-in-right:nth-child(2) {
    transition-delay: 200ms;
}

.service-modern-item.fade-in-left:nth-child(3),
.service-modern-item.fade-in-right:nth-child(4) {
    transition-delay: 400ms;
}

.service-modern-item.fade-in-left:nth-child(5),
.service-modern-item.fade-in-right:nth-child(6) {
    transition-delay: 600ms;
}

@media (min-width: 768px) {
    .service-modern-item {
        padding: 3rem;
    }
}

@media (min-width: 1024px) {
    .service-modern-item {
        padding: 4rem;
    }
}

.service-modern-item.animate:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.service-modern-number {
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.service-modern-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-modern-item:hover .service-modern-title {
    transform: translateX(0.5rem);
}

.service-modern-description {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Legacy styles mantidos para compatibilidade */
.services-elegant {
    max-width: 1400px;
    margin: var(--spacing-lg) auto 0;
    padding: var(--spacing-lg) var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service-elegant-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-elegant-number {
    font-size: 5rem;
    font-weight: 300;
    color: var(--color-text-light);
    opacity: 0.15;
    font-family: var(--font-display);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: var(--spacing-md);
    transition: all 0.4s ease;
    display: block;
}

.service-elegant-item:hover .service-elegant-number {
    opacity: 0.3;
    transform: scale(1.1);
}

.service-elegant-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
    transition: color 0.4s ease;
}

.service-elegant-item:hover .service-elegant-title {
    color: var(--color-text);
}

@media (max-width: 1024px) {
    .services-elegant {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        padding: var(--spacing-md) var(--spacing-md);
    }
    
    .production-network-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .section-header{
        flex-direction: row!important;
    }
    
    .network-node-pt {
        top: 10%;
    }
    
    .network-node-eu,
    .network-node-as {
        bottom: 15%;
    }
    
}

@media (max-width: 768px) {
    .service-modern-item {
        padding: 2rem;
    }
    
    .services-elegant {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }
    
    .service-elegant-number {
        font-size: 3.5rem;
    }
    
    .service-elegant-title {
        font-size: 1.5rem;
    }
    

    .hub-center {
        width: 70px;
        height: 70px;
    }
    
    .hub-center::before {
        width: 18px;
        height: 18px;
    }
    
    .node-marker {
        width: 60px;
        height: 60px;
    }
    
    .node-code {
        font-size: 0.875rem;
    }
    
    .production-intro-text {
        font-size: 1.125rem;
    }
}



.portugal-region, .europe-region, .asia-region {
    position: relative; /* essencial */
    overflow: hidden;   /* garante que nada vaza */
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

/* imagem de fundo */
.portugal-region::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('imagens/portugal.jpeg');
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    z-index: 0;
}
/* imagem de fundo */
.europe-region::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('imagens/europa.jpeg');
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    z-index: 0;
}
.asia-region::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('imagens/asia.jpeg');
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    z-index: 0;
}

/* overlay cinza clarinho */
.portugal-region::after, .europe-region::after, .asia-region::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9); /* cinza clarinho */
    z-index: 1;
    pointer-events: none; /* evita bloquear cliques */
}

/* conteúdo fica acima do overlay */
.portugal-region > *, .europe-region > *, .asia-region > * {
    position: relative;
    z-index: 2;
}


/* Escada usando margin-left */
.portugal-region {
    margin-left: 0;   /* primeira fica à esquerda do pai */
}

.europe-region {
    margin-left: 10%; /* desloca para a direita */
}

.asia-region {
    margin-left: 20%; /* mais para a direita */
}




/* Production Regions - Design Editorial Geográfico */
/* ─── Production Network - Design de Rede Conectada ─── */
.production-geography-container {
    width: 100%;
}

.production-network-wrapper {
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.production-network-text {
    padding-right: var(--spacing-xl);
}

.explore-word {
    display: inline-block; /* garante que o transform funcione como esperas */
    transition: transform 0.3s ease;
}

.explore-word:hover {
    transform: translateX(5px);
}


.production-intro-text {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-light);
    margin: 0;
    max-width: 100%;
}

.production-network-visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.connection-line {
    stroke: var(--color-line);
    stroke-width: 2;
    transition: stroke 0.4s ease;
}

.production-network-visual:hover .connection-line {
    stroke: var(--color-text);
    opacity: 0.6;
}

.network-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hub-center {
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-text);
    border-radius: 50%;
    background: var(--color-bg);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hub-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: var(--color-text);
    border-radius: 50%;
}

.production-network-visual:hover .hub-center {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0.03);
}

.network-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.network-node-pt {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.network-node-eu {
    bottom: 15%;
    left: 20%;
}

.network-node-as {
    bottom: 15%;
    right: 20%;
}

.node-marker {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.network-node:hover .node-marker {
    border-color: var(--color-text);
    transform: scale(1.15);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.04);
}

.node-code {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text);
    font-family: var(--font-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}



/* Footer */
.main-footer {
    padding: 5rem 15rem;
    padding-bottom: 50px;
    background-color: var(--color-bg-alt);
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-line {
    width: 100%;
    height: 1px;
    background-color: var(--color-line);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-text {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    font-weight: 400;
    color: #4a3f32;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    font-weight: 400;
    color: #4a3f32;
    letter-spacing: 0.05em;
}

.footer-link {
    color: #4a3f32;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.2s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--brand-dark);
    opacity: 1;
    transform: translateX(2px);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--brand-dark);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover::after {
    width: 100%;
}


.footer-separator {
    opacity: 0.45;
    color: var(--brand-color);
}

.scrolled .nav-link::after {
    background-color: var(--brand-dark) !important;
}

@media (max-width: 1366px) {

    .nav-logo img {
        width: 150px;
        opacity: 0.9;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: block;
        object-fit: contain;
    }
    

    .main-nav{
        padding: var(--spacing-xs) var(--spacing-md)!important;
    }

    .partners{
        padding: 5rem 5rem!important;
    }
    
    .services-grid-modern{
        grid-template-columns: repeat(3, 1fr);
    }
    .page-section{
        padding: 8rem 4rem;
    }

    .who-we-are-title{
        font-size: 2rem;
    }

    .who-we-are-description{
        font-size: 1rem;
    }

    .quote-block{
        padding: 2rem!important;
    }

    .credentials-strip{
        padding: 2rem 3rem!important;
    }

    .hero-title{
        font-size: 3rem;
    }

    .hero-credentials{
        gap: 20px;
    }

    .credentials-item strong{
        font-size: 18px!important;
    }

    .credentials-item span{
        font-size: 14px!important;
    }

    .section-header{
        margin-bottom: 30px!important;
    }

    .section-title{
        font-size: 2.2rem!important;
    }

    .section-cta{
        padding: 3rem 4rem!important;
    }

    .button-cta{
        padding: 10px 30px!important;
    }
    
    .cta-title{
        font-size: clamp(1.5rem, 5vw, 2rem)!important;
        font-weight: 400!important;
        text-transform: none!important;
    }

    .section-cta{
        padding: 5rem 0rem!important;
    }

    .section-cta::after{
        background: rgba(0, 0, 0, 0.7)!important;
    }

    .cta-description{
        font-size: 14px!important;
    }

    .production-network-text{
        padding-right: 0!important;
    }

    .production-network-visual{
        width: 100%!important;
    }

    .editorial-content{
        text-align: center!important;
    }

    .items-footer{
        justify-content: center!important;
    }

    .main-footer{
        padding: 5rem 4rem;
    }

}


/* Responsive */
@media (max-width: 1024px) {
    .hero-content,
    .asymmetric-layout,
    .asymmetric-layout-reverse {
        grid-template-columns: 1fr;
    }
    .credentials-strip { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); }

    .nav-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: flex-end;
    }
    
    .nav-links {
        gap: var(--spacing-md);
        font-size: 0.75rem;
    }
    
    .value-item {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .editorial-image-half {
        width: 100%;
    }
}

@media (max-width: 1000px) {

    .banner-portugal h1{
        font-size: 3.5rem!important;
      }

      .banner-portugal {
        width: 80%;
      }

    .partners{
        padding-top: 4rem!important;
        padding-left: 1rem!important;
        padding-right: 1rem!important;
    }

    .about-image {
        order: 2;
        text-align: center!important;
    }

    .about-content {
        order: 1;
    }
      
    .brand-track {
        animation: scroll 3s linear infinite!important;
    }
    
    .brand-item {
        flex: 0 0 50%!important; /* 4 itens por linha */
    }

    .main-nav{
        padding: var(--spacing-xs) var(--spacing-md);
    }
    
    .home-vision-line::after {
        content: '';
        position: absolute;
        left: 0;
        top: -4px;
        width: 8px;
        height: 8px;
        background: var(--color-text);
        border-radius: 50%;
        animation: ball-travel 3s ease-in-out infinite;
        transform: translateX(0);
    }
    
    @keyframes ball-travel {
        0% {
            transform: translateX(0);
        }
        45% {
            transform: translateX(52px);
        }
        50% {
            transform: translateX(52px);
        }
        95% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(0);
        }
    }

    .services-grid-modern {
        grid-template-columns: repeat(1, 1fr);
    }

    .portugal-region, .europe-region, .asia-region{
        margin: 0px auto!important;
    }

    .footer-text{
        order: 2!important;
        flex-direction: column!important;
    }
    .footer-links{
        order: 1!important;
    }

    .footer-copy{
        order: 2!important;
    }
    .footer-signature{
        order: 1!important;
    }
    .credentials-strip{
        padding: 20px!important;
        display: flex!important;
        flex-direction: column!important;
    }
    .main-footer{
        padding: 10px!important;
    }

    .next-steps{
        text-align: center!important;
    }

    .cta-text{
        margin: 0px auto!important;
        text-align: center!important;
    }

    .cta-button-wrapper .button-cta{
        margin: 0px auto!important;
    }
    .items-footer{
        justify-content: center!important;
    }

    .production-network-wrapper{
        display: flex!important;
        flex-direction: column!important;
    }

    .production-network-visual{
        width: 100%!important;
    }

    .portugal-region, .europe-region, .asia-region{
        margin-left: 0!important;
    }
    /* Footer Mobile */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .footer-links {
        flex-direction:row ;
        align-items: flex-start;
        gap: var(--spacing-xs);
    }

    :root {
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }

    .section-cta{
        padding-right: 2rem!important;
        padding-left: 2rem!important;
    }

    /* Mobile Menu — fullscreen craft overlay */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        justify-content: space-between;
    }

    .nav-content {
        position: fixed;
        inset: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        max-height: none;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(0, -100%, 0);
        background: #f9f6f1;
        border-top: none;
        box-shadow: none;
        z-index: 999;
        padding: 6.5rem 1.5rem 2.5rem;
        transition: visibility 0.35s step-end, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .main-nav.menu-open .nav-content {
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
        transition: visibility 0s linear, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Estilos do painel sempre activos (não só com menu-open) para não saltarem ao fechar */
    .nav-content .nav-link {
        color: var(--color-text) !important;
        padding: 1.1rem 0;
        font-size: clamp(1.35rem, 5vw, 1.75rem);
        font-family: var(--font-display);
        font-weight: 400;
        letter-spacing: 0.02em;
        text-transform: none;
        border-bottom: 1px solid rgba(217, 207, 192, 0.7);
        width: 100%;
    }

    .nav-content .nav-link::before {
        display: none;
    }

    .nav-content .nav-link.active {
        color: var(--brand-dark) !important;
        padding-left: 1rem;
        border-left: 3px solid var(--brand-color);
    }

    .nav-content {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .nav-links--editorial {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-toolbar {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 2rem 0 0;
        margin-top: 1.5rem;
        border-top: 1px solid var(--color-line);
        background: transparent;
    }

    .nav-lang {
        justify-content: flex-start;
    }

    .nav-lang-btn {
        font-size: 0.8rem;
    }

    .nav-contact.button-cta {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1.25rem;
        font-size: 0.75rem;
    }

    .page-home .main-nav--hero.menu-open .nav-logo img {
        filter: none;
    }

    .main-nav.menu-open {
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .main-nav.menu-open .main-nav__bar {
        background: rgba(249, 246, 241, 0.96);
        backdrop-filter: blur(12px);
        border-bottom-color: var(--color-line);
    }

    .main-nav.menu-open .mobile-menu-toggle span {
        background-color: var(--color-text) !important;
    }

    .nav-logo {
        margin-right: 0;
    }

    .nav-logo img {
        width: 120px;
    }

    .hero-eyebrow {
        text-align: center !important;
    }

    .section-header {
        align-items: center !important;
    }

    .section-number, .home-vision-line, .home-what-accent {
        padding-right: 1em;
    }

    .who-we-are-label-col {
        order: 2 !important;
    }

    .who-we-are-content-col {
        order: 1 !important;
    }

    .editorial-divider {
        margin-bottom: 14px !important;
    }

    .who-we-are-grid {
        gap: 0rem !important;
    }

    .hero-credentials {
        text-align: center !important;
    }

    /* Sections Mobile */
    .section {
        padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-lg);
    }

    .page-section {
        padding: var(--spacing-xl) var(--spacing-sm);
    }

    .page-hero {
        padding: 0;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .hero-left {
        padding: 4.5rem 1.25rem 5.5rem;
        margin-top: 0;
        justify-content: center;
        min-height: 100vh;
        min-height: 100dvh;
        box-sizing: border-box;
    }

    .hero-text {
        gap: 0.75rem;
        transform: translateY(-6vh);
    }

    .hero-text .hero-logo {
        width: min(68%, 16rem) !important;
        max-width: 16rem;
    }

    .hero-scroll {
        top: auto;
        bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-scroll:hover {
        transform: translateX(-50%) translateY(3px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-title {
        font-size: clamp(2.75rem, 12vw, 5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-credentials { flex-direction: column; gap: var(--spacing-xs); }
    .credentials-strip { grid-template-columns: 1fr; padding: var(--spacing-lg) var(--spacing-md); }

    /* Typography Mobile */
    .section-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .editorial-intro {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }
    
    .editorial-paragraph {
        font-size: 1rem;
        line-height: 1.8;
    }

    .editorial-quote {
        font-size: 20px;
        margin: var(--spacing-lg) 0;
        padding-left: var(--spacing-sm);
    }

    /* Headers Mobile */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
        padding-bottom: var(--spacing-sm);
        margin-bottom: var(--spacing-lg);
    }


    .home-what-header {
        gap: var(--spacing-sm);
    }
    
    .home-what-accent {
        width: 12px;
        height: 12px;
    }
    
    .home-what-accent::before {
        width: 12px;
        height: 12px;
    }
    
    .home-what-accent::after {
        width: 6px;
        height: 6px;
    }

    .home-header-accent {
        width: 3px;
    }

    .home-vision-header {
        flex-wrap: wrap;
    }

    .home-vision-line {
        width: 60px;
    }
    
    .production-header-accent {
        width: 50px;
        height: 50px;
    }
    
    .production-header-accent::before {
        width: 35px;
        height: 35px;
    }
    
    .production-header-accent::after {
        width: 10px;
        height: 10px;
    }

    /* Layouts Mobile */
    .asymmetric-layout,
    .asymmetric-layout-reverse {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .editorial-image-half {
        width: 100%;
    }

    .editorial-image-full {
        margin: var(--spacing-lg) 0;
    }

    .showroom-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

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

    /* Contactos Mobile */
    .contactos-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contactos-info-section {
        padding-right: 0;
    }

    .contactos-info-section::after {
        display: none;
    }

    .contact-item {
        padding-left: var(--spacing-md) !important;
    }

    /* Process Mobile */
    .process-item {
        grid-template-columns: 1fr;
    }

    .process-description {
        max-width: 100%;
    }



    /* Remover elementos decorativos em mobile */
    .page-home .page-section::before {
        display: none;
    }

    /* Ajustes de padding específicos para mobile */
    .page-section {
        padding-top: 6rem;
    }

    .service-modern-item{
        padding: 2rem;
    }

    .section-header {
        margin-top: 0;
    }

    /* Desabilitar hover em mobile */
    .showroom-image:hover,
    .editorial-image-full:hover,
    .editorial-image-half:hover,
    .asymmetric-image:hover,
    .process-image-placeholder:hover,
    .cultural-image:hover {
        transform: none;
    }

    /* Scroll Indicator Mobile */
    .scroll-indicator {
        bottom: var(--spacing-lg);
        font-size: 0.75rem;
    }

    /* CTA Link Mobile */
    .cta-link {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    /* Contact Form Mobile */
    .contact-form {
        width: 100%;
    }

    .form-group {
        margin-bottom: var(--spacing-md);
    }

    .contact-info {
        margin-bottom: var(--spacing-lg);
    }

    /* Cultural/Value Items Mobile */
    .cultural-item,
    .value-item {
        margin-bottom: var(--spacing-lg);
    }

    /* Section Numbers Mobile */
    .section-number {
        font-size: 0.75rem;
    }

    /* Tipos header mobile */
    .tipos-header-number {
        display: none;
    }

    /* Tendencias header mobile */
    .tendencias-header-right {
        width: 100%;
    }

    .tendencias-line-horizontal {
        width: 100px;
    }

    /* Contactos header mobile */
    .contactos-header-circle {
        align-self: flex-start;
    }

    /* Footer separators mobile */
    .footer-text .footer-separator,
    .footer-links .footer-separator {
        display: none;
    }


    .hero-tagline {
        font-size: 0.75rem;
    }

    .hero-cta {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-md);
    }
}

/* Editorial Content Sections */
.editorial-content {
    max-width: 900px;
    margin: 0 auto;
}

.text-info-services {
    margin: 0 auto 5rem auto;
}

.editorial-intro {
    font-size: var(--text-lead);
    font-weight: 300;
    line-height: 1.55;
    color: var(--color-text);
}

.editorial-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.editorial-paragraph {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--color-text-light);
}

.editorial-image-full {
    width: 100%;
    aspect-ratio: 16/10;
    margin: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #e8e8e8 0%, #f0f0f0 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-subtle);
}

.editorial-image-full::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.04);
    transition: background 0.4s ease;
}

.editorial-image-full:hover {
    transform: scale(1.01);
}

.editorial-image-full:hover::after {
    background: rgba(0, 0, 0, 0.08);
}

.editorial-image-half {
    width: 65%;
    aspect-ratio: 4/5;
    margin: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #e8e8e8 0%, #f0f0f0 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-subtle);
}

.editorial-image-half::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.04);
    transition: background 0.4s ease;
}

.editorial-image-half:hover {
    transform: scale(1.015);
}

.editorial-image-half:hover::after {
    background: rgba(0, 0, 0, 0.08);
}

.editorial-image-right {
    margin-left: auto;
}

.editorial-image-left {
    margin-right: auto;
}

.editorial-quote {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    line-height: 1.55;
    color: var(--color-text);
    margin: var(--spacing-xl) 0;
    padding-left: var(--spacing-md);
    border-left: 1px solid var(--color-line);
    transition: border-color 0.3s ease, padding-left 0.3s ease;
    cursor: default;
}

.editorial-quote:hover {
    border-left-color: var(--color-text);
    padding-left: calc(var(--spacing-md) + 5px);
}

.asymmetric-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: start;
    margin: var(--spacing-xl) 0;
}

.asymmetric-layout-reverse {
    grid-template-columns: 1.2fr 1fr;
}

.asymmetric-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.asymmetric-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #e8e8e8 0%, #f0f0f0 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-subtle);
}

.asymmetric-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.04);
    transition: background 0.4s ease;
}

.asymmetric-image:hover {
    transform: scale(1.015);
}

.asymmetric-image:hover::after {
    background: rgba(0, 0, 0, 0.08);
}

/* Manifesto / Statement Styles */
.manifesto-section {
    padding: var(--spacing-xxl) var(--spacing-md);
}

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.03em;
}

.manifesto-text {
    font-size: 1.375rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.manifesto-break {
    width: 60px;
    height: 1px;
    background-color: var(--color-line);
    margin: var(--spacing-lg) 0;
}

/* Cultural Context Section */
.cultural-section {
    padding-top: var(--spacing-xxl);
}

.cultural-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}


/* ─── SISTEMA UNIVERSAL DE ANIMAÇÕES ───
 * 
 * Sistema baseado em classes CSS aplicadas manualmente no HTML.
 * Animações ativadas via Intersection Observer quando elementos entram na viewport.
 * 
 * USO: Adicionar classe ao elemento HTML (ex: <div class="fade-in-up">)
 * 
 * Classes disponíveis:
 * - .fade-in        - Fade simples (opacidade)
 * - .fade-in-up     - Fade + movimento para cima (20px)
 * - .fade-in-down   - Fade + movimento para baixo (20px)
 * - .fade-in-left   - Fade + movimento para esquerda (20px)
 * - .fade-in-right  - Fade + movimento para direita (20px)
 */

/* Estado inicial: elementos invisíveis */
.fade-in,
.fade-in-up,
.fade-in-down,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fade In - Apenas opacidade */
.fade-in {
    transform: none;
}

/* Fade In Up - Movimento para cima */
.fade-in-up {
    transform: translateY(20px);
}

/* Fade In Down - Movimento para baixo */
.fade-in-down {
    transform: translateY(-20px);
}

/* Fade In Left - Movimento para esquerda */
.fade-in-left {
    transform: translateX(-20px);
}

/* Fade In Right - Movimento para direita */
.fade-in-right {
    transform: translateX(20px);
}

/* Estado final: quando classe .animate é adicionada via JS */
.fade-in.animate,
.fade-in-up.animate,
.fade-in-down.animate,
.fade-in-left.animate,
.fade-in-right.animate {
    opacity: 1;
    transform: translate(0, 0);
}

.next-steps {
    background-color: #f7f7f7!important;
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 3rem);
    border-top: 1px solid var(--color-line);
}

/* ─── Section background variation (subtle tone shifts) ─── */
.section-cta {
    max-width: 100%;
    margin: 0rem auto 0rem auto;
    background-image: url('imagens/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('imagens/banner.png');
    background-size: cover;
    background-position: center var(--parallax-y, 0);
    background-repeat: no-repeat;
    filter: brightness(0.9) contrast(1.1);
    z-index: 0;
    pointer-events: none;
    will-change: background-position;
}

.section-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.section-cta > * {
    position: relative;
    z-index: 2;
}

/* CTA Content Layout */
.cta-content-wrapper {
    gap: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}


.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--color-bg);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
}

.cta-button-wrapper {
    margin-top: 2rem;
}

.cta-button-wrapper .button-cta {
    background-color:white!important;
    color: black!important;
}

/* Botão CTA com estilo para fundo escuro */
.section-cta .button-cta {
    color: var(--color-bg);
    border-color: var(--color-bg);
    background: transparent;
}

.section-cta .button-cta::before {
    background: var(--color-bg);
}

.section-cta .button-cta:hover {
    color: var(--color-text);
    border-color: var(--color-bg);
}

@media (max-width: 1024px) {
  
    
    .cta-description {
        max-width: 100%;
    }
    
}


/* Section eyebrow */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: var(--spacing-sm);
}

/* Card / block with depth */
.card-block {
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-subtle);
}

.quote-block {
    max-width: 900px;
    margin: 3rem 0;
}

.quote-block .editorial-quote {
    margin: 0;
    border: none;
    padding: 0;
}

.next-steps-content {
    max-width: 42rem;
}

.next-steps-content .editorial-intro {
    color: #4a3f32;
}

/* Credentials grid (in-brief strip) */
.credentials-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 10vw, 10rem);
    background:
        linear-gradient(180deg, rgba(163, 150, 77, 0.12), rgba(242, 235, 224, 0.95)),
        var(--color-bg-alt);
    border-top: 1px solid rgba(111, 103, 37, 0.15);
    border-bottom: 1px solid rgba(111, 103, 37, 0.15);
    margin: 0 auto;
}

.credentials-item {
    text-align: center;
    position: relative;
}

.credentials-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(var(--spacing-md) * -0.5);
    width: 1px;
    height: 3rem;
    transform: translateY(-50%);
    background: rgba(111, 103, 37, 0.2);
}

.credentials-item strong {
    display: block;
    font-size: 24px;
    font-weight: 400;
    color: var(--brand-dark);
    margin-bottom: var(--spacing-xs);
}

.credentials-item span {
    font-size: 0.8125rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-light);
}
.page-section {
    transition: background 0.6s ease;
}

/* ─── Nav / logo transitions ─── */
.main-nav,
.nav-logo img,
.nav-link::after {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


strong{
    font-weight: bold;
}

.card-service {
    transition:
      background-color 0.25s ease,
      color 0.15s ease,
      transform 0.25s ease;
  }
  
  .card-service:hover {
    background-color: var(--secondary-color)!important;
    color: white;
    transform: translateY(-5px);
  }

.card-service:hover img{
    filter: brightness(0) invert(1);
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
  }
  



  .banner-portugal h1{
    font-size: 4.5rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    color: white;
  }

  .banner-portugal span{
    color: white;
    font-size: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);

  }

  .banner-portugal .button-cta{
    font-size: 1rem;
  }

  .banner-portugal{
    position: absolute;
    top: 45%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .img-portugal{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
  }


  .header-must-visit{
    border-left: 4px solid var(--secondary-color);
    padding-left: 1rem;
    border-bottom: 0px;
    padding-bottom: 0px;
  }

  .header-must-visit h2{
    font-size: 32px;
  }

  .north-section span{
    opacity: 0.8;
    font-size: 1.1rem;
  }

  @media (min-width: 768px) {
    .stats {
        position: relative;
    }

    .stat {
        position: relative;
    }

    .stat:not(:first-child)::after {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 50px;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.1);
    }
}

.history-intro {
    max-width: 52rem;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.history-timeline {
    position: relative;
    padding: var(--spacing-md) 0 var(--spacing-lg);
}

.timeline-rail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: rgba(111, 103, 37, 0.12);
    pointer-events: none;
    overflow: hidden;
}

.timeline-rail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--timeline-fill, 0%);
    background: linear-gradient(180deg, var(--brand-color), var(--brand-dark));
    transition: height 0.15s linear;
}

.timeline-item.is-active::before {
    background: var(--brand-color);
    box-shadow: 0 0 0 3px rgba(163, 150, 77, 0.35);
    transform: translate(-50%, -50%) scale(1.15);
}

.timeline-item.is-active .timeline-panel--media img {
    transform: scale(1.03);
}

.timeline-item.is-active .timeline-year {
    color: var(--brand-color);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    margin-bottom: clamp(3rem, 7vw, 6rem);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 2.25rem;
    left: 50%;
    width: 0.85rem;
    height: 0.85rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--brand-dark);
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--brand-color);
    z-index: 1;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-panel--text {
    max-width: 34rem;
}

.timeline-item--origin .timeline-panel--text,
.timeline-item--split .timeline-panel--text {
    grid-column: 1;
    justify-self: end;
    text-align: right;
    padding-right: clamp(1.5rem, 4vw, 3rem);
}

.timeline-item--origin .timeline-panel--display,
.timeline-item--split .timeline-panel--media {
    grid-column: 2;
    justify-self: start;
    padding-left: clamp(1.5rem, 4vw, 3rem);
}

.timeline-item--split.timeline-item--reverse .timeline-panel--text {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    padding-right: 0;
    padding-left: clamp(1.5rem, 4vw, 3rem);
}

.timeline-item--split.timeline-item--reverse .timeline-panel--media {
    grid-column: 1;
    justify-self: end;
    padding-left: 0;
    padding-right: clamp(1.5rem, 4vw, 3rem);
}

.timeline-index {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-color);
    margin-bottom: 0.75rem;
}

.timeline-year {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.timeline-copy {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.timeline-panel--display {
    min-height: 16rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(104, 98, 36, 0.18);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(160, 148, 72, 0.12), rgba(255, 255, 255, 0.9)),
        var(--color-bg-alt);
    box-shadow: var(--shadow-subtle);
}

.timeline-display-year {
    font-size: clamp(4rem, 10vw, 7rem);
    line-height: 0.9;
    font-weight: 300;
    letter-spacing: -0.04em;
    color: rgba(104, 98, 36, 0.22);
}

.timeline-panel--media {
    width: min(100%, 34rem);
}

.timeline-panel--media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.timeline-item:hover .timeline-panel--media img {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(104, 98, 36, 0.18);
}

.founder-card hr {
    width: 3rem;
    margin: 1rem 0 0.75rem;
    border: 0;
    border-top: 1px solid rgba(104, 98, 36, 0.35);
    opacity: 1;
}

.founder-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-top: 0.5rem;
}

.founder-role {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.heritage-link {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin: 1.5rem 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--brand-dark);
    border-bottom: 1px solid rgba(104, 98, 36, 0.35);
    padding-bottom: 0.2rem;
    transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.heritage-link:hover {
    color: var(--brand-color);
    border-color: var(--brand-color);
    gap: 0.35rem;
}

.section-leather-goods {
    background:
        linear-gradient(180deg, rgba(160, 148, 72, 0.05), rgba(255, 255, 255, 0)),
        var(--color-bg);
}

.leather-showcase {
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.4fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.leather-showcase-copy {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-light);
    max-width: 30rem;
    margin: 0;
}

.leather-points {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
}

.leather-points li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.85rem;
    color: var(--color-text);
    font-size: 0.95rem;
}

.leather-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--brand-color);
}

.leather-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 2vw, 1.25rem);
}

.leather-card {
    margin: 0;
}

.leather-card-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
    box-shadow: var(--shadow-card);
}

.leather-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20, 19, 8, 0.18));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.leather-card:hover .leather-card-media::after {
    opacity: 1;
}

.leather-card-media img {
    width: 100%;
    height: auto;
    max-height: min(18rem, 42vh);
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.leather-card:hover .leather-card-media img {
    transform: none;
}

a:focus-visible,
.button-cta:focus-visible,
.hero-cta:focus-visible,
.nav-link:focus-visible,
.heritage-link:focus-visible {
    outline: 2px solid var(--brand-color);
    outline-offset: 3px;
}

@media (max-width: 1000px) {
    .credentials-item:not(:last-child)::after {
        display: none;
    }

    .leather-showcase {
        grid-template-columns: 1fr;
    }

    .leather-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .history-intro {
        text-align: left;
        margin-bottom: var(--spacing-lg);
    }

    .timeline-rail {
        left: 0.45rem;
        transform: none;
    }

    .timeline-item,
    .timeline-item--split.timeline-item--reverse {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding-left: 2.25rem;
    }

    .timeline-item::before {
        left: 0.45rem;
        top: 1.5rem;
    }

    .timeline-item--origin .timeline-panel--text,
    .timeline-item--split .timeline-panel--text,
    .timeline-item--split.timeline-item--reverse .timeline-panel--text {
        grid-column: 1;
        justify-self: stretch;
        text-align: left;
        padding: 0;
        max-width: none;
    }

    .timeline-item--origin .timeline-panel--display,
    .timeline-item--split .timeline-panel--media,
    .timeline-item--split.timeline-item--reverse .timeline-panel--media {
        grid-column: 1;
        justify-self: stretch;
        padding: 0;
        width: 100%;
    }

    .timeline-panel--display {
        min-height: auto;
        justify-content: center;
    }

}

.work-showcase {
    margin-top: var(--spacing-md);
}

.work-showcase-intro {
    max-width: 42rem;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
}

.work-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-lg);
}

.work-filter {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #ffffff;
    padding: 0.55rem 1.1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.work-filter:hover,
.work-filter.is-active {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--brand-dark);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1120px;
    margin: 0 auto;
}

.work-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.35s ease;
}

.work-card.is-hidden {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.work-card.is-revealing {
    animation: work-card-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes work-card-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.work-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.work-card--visual-only .work-card-zoom {
    border-radius: var(--radius-md);
}

.work-card--visual-only .work-card-media {
    border-radius: var(--radius-md);
}

.work-card-zoom {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: #f4f2ed;
    cursor: zoom-in;
    position: relative;
    text-align: center;
}

.work-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 1.25rem;
    box-sizing: border-box;
}

.work-card-media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.work-card-zoom:hover .work-card-media img {
    transform: scale(1.03);
}

.work-card-zoom-icon {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-dark);
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.work-card-zoom:hover .work-card-zoom-icon,
.work-card-zoom:focus-visible .work-card-zoom-icon {
    opacity: 1;
}

.work-card-body {
    padding: 1.15rem 1.2rem 1.3rem;
    text-align: left;
}

.work-card-category {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-color);
    margin-bottom: 0.45rem;
}

.work-card-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--brand-dark);
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.work-card-copy {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

.work-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.work-lightbox.is-visible {
    opacity: 1;
}

.work-lightbox[hidden] {
    display: none !important;
}

.work-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 10, 0.88);
    cursor: pointer;
}

.work-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100vh - 3rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transform: scale(0.96) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-lightbox.is-visible .work-lightbox__dialog {
    transform: scale(1) translateY(0);
}

.work-lightbox__close {
    position: absolute;
    top: -0.25rem;
    right: 0;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
}

.work-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--brand-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.work-lightbox__nav:hover {
    background: var(--brand-dark);
    color: #fff;
}

.work-lightbox__nav--prev {
    left: -1.25rem;
}

.work-lightbox__nav--next {
    right: -1.25rem;
}

.work-lightbox__nav:focus-visible {
    outline: 2px solid var(--brand-color);
    outline-offset: 3px;
}

.work-lightbox__figure {
    margin: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.work-lightbox__image {
    display: block;
    width: 100%;
    max-height: min(72vh, 720px);
    object-fit: contain;
    background: #f4f2ed;
}

.work-lightbox__caption {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--brand-dark);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.work-lightbox-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 1000px) {
    .work-showcase {
        padding-inline: var(--spacing-sm);
    }

    .work-showcase-intro {
        margin-bottom: var(--spacing-md);
        padding-inline: 0.25rem;
    }

    .work-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .work-card-body {
        padding: 1rem 1.1rem 1.2rem;
    }

    .work-card-zoom-icon {
        opacity: 1;
    }

    .work-filters {
        gap: 0.5rem;
    }

    .work-filter {
        flex: 1 1 calc(50% - 0.35rem);
        min-width: 7.5rem;
        text-align: center;
    }
}

.contact-form-section {
    margin-top: var(--spacing-xl);
}

.contact-form-card {
    background: var(--color-bg);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-subtle);
}

.contact-form-intro {
    max-width: 36rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.copy-accent {
    font-weight: 600;
    color: var(--brand-dark);
}

.copy-accent--underline {
    text-decoration: underline;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.contact-form-field--full {
    grid-column: 1 / -1;
}

.contact-form-field label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-dark);
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font: inherit;
    color: var(--color-text);
    background: #fff;
}

.contact-form-field textarea {
    min-height: 9rem;
    resize: vertical;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: 2px solid rgba(163, 150, 77, 0.35);
    border-color: var(--brand-color);
    box-shadow: 0 0 0 3px rgba(163, 150, 77, 0.12);
}

.contact-form-field input.is-valid,
.contact-form-field textarea.is-valid {
    border-color: rgba(111, 103, 37, 0.55);
}

.contact-form-field input.is-invalid,
.contact-form-field textarea.is-invalid {
    border-color: #b54a4a;
    outline-color: rgba(181, 74, 74, 0.25);
}

.contact-detail-link {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-detail-link:hover {
    color: var(--brand-dark);
}

.contact-detail-link strong {
    font-weight: 600;
}

.contact-form-status.is-success {
    animation: status-pop 0.45s ease;
}

@keyframes status-pop {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-form-actions {
    margin-top: 1.25rem;
}

.contact-form-status {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.contact-form-status.is-success {
    color: var(--brand-dark);
}

.contact-form-status.is-error {
    color: #8b2f2f;
}

.contact-form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}

.page-legal {
    background: #fafafa;
}

.legal-page {
    padding-top: calc(var(--spacing-xl) + 4rem);
}

.legal-document {
    max-width: 48rem;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-line);
}

.legal-title {
    margin-bottom: var(--spacing-sm);
}

.legal-updated {
    color: var(--color-text-light);
    font-size: var(--text-small);
}

.legal-section {
    margin-bottom: var(--spacing-md);
}

.legal-section h2 {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.legal-section-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-light);
}

.legal-section-body a {
    color: var(--brand-dark);
}

.legal-section-body code {
    font-size: 0.95em;
}

.page-portugal-hero {
    height: clamp(18rem, 55vh, 80vh);
    overflow: hidden;
}

.portugal-discover-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.2;
}

@media (max-width: 1000px) {
    .credentials-strip {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        flex-direction: unset !important;
        gap: var(--spacing-md) !important;
        padding: var(--spacing-lg) var(--spacing-md) !important;
    }

    .banner-portugal {
        width: min(92%, 28rem);
        padding: 1.25rem;
    }

    .banner-portugal h1 {
        font-size: clamp(2.25rem, 10vw, 3.5rem) !important;
        margin-bottom: var(--spacing-md) !important;
    }

    .portugal-stats .stat {
        min-width: 0;
    }

    .hero-left {
        margin-top: 0;
        padding-top: 4rem;
        padding-bottom: 5.75rem;
    }

    .hero-text {
        transform: translateY(-8vh);
        gap: 0.65rem;
    }

    .hero-scroll {
        top: auto;
        bottom: max(1.35rem, calc(env(safe-area-inset-bottom, 0px) + 0.35rem));
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 0.35rem;
    }

    .section-header {
        align-items: flex-start !important;
    }

    .section-title {
        font-size: clamp(1.875rem, 8vw, 2.75rem) !important;
    }

    .main-footer {
        padding: var(--spacing-lg) var(--spacing-md) !important;
    }

    .legal-page {
        padding-inline: var(--spacing-md);
    }
}

/* ─── Page transition overlay ─── */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(163, 150, 77, 0.22), transparent 55%),
        var(--brand-dark);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.42s ease, visibility 0.42s ease;
}

.page-transition.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.page-transition__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.page-transition.is-active .page-transition__content {
    transform: translateY(0);
    opacity: 1;
}

.page-transition__logo {
    width: clamp(9rem, 22vw, 13rem);
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
    .page-transition,
    .page-transition__content {
        transition: none;
    }
}

/* ─── Craft & Material theme ─── */

body.menu-open {
    overflow: hidden;
}

/* Inner page banner */
.page-banner {
    position: relative;
    min-height: clamp(14rem, 38vh, 22rem);
    margin-top: 0;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: var(--color-bg-muted);
}

.page-banner__media {
    position: absolute;
    inset: 0;
}

.page-banner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 8s ease;
}

.page-banner:hover .page-banner__media img {
    transform: scale(1.06);
}

.page-banner__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(44, 36, 22, 0.35) 0%, rgba(44, 36, 22, 0.82) 100%),
        linear-gradient(90deg, rgba(111, 103, 37, 0.45), transparent 65%);
    pointer-events: none;
}

.page-banner__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}

.page-banner__eyebrow {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.65rem;
}

.page-banner__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 400;
    line-height: 1.12;
    color: #fff;
    max-width: 18ch;
}

.page-banner__subtitle {
    margin-top: 0.85rem;
    max-width: 42ch;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

/* Craft cards & imagery */
.founder-card,
.card-block,
.card-service {
    border-color: var(--color-line) !important;
    box-shadow: 0 8px 32px rgba(44, 36, 22, 0.06);
}

.founder-photo,
.about-brand-logo,
.img-show-full {
    border-radius: var(--radius-md);
    border: 1px solid rgba(217, 207, 192, 0.8);
}

.portugal-region,
.europe-region,
.asia-region {
    background: var(--color-bg) !important;
    border: 1px solid var(--color-line);
    box-shadow: 0 6px 24px rgba(44, 36, 22, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.portugal-region:hover,
.europe-region:hover,
.asia-region:hover {
    transform: translateY(-3px);
    border-color: rgba(160, 148, 72, 0.45);
    box-shadow: 0 12px 32px rgba(44, 36, 22, 0.08);
}

.credentials-strip {
    background:
        linear-gradient(180deg, rgba(163, 150, 77, 0.12), rgba(242, 235, 224, 0.95)),
        var(--color-bg-alt);
    border-top: 1px solid rgba(111, 103, 37, 0.15);
    border-bottom: 1px solid rgba(111, 103, 37, 0.15);
}

.section-bg-alt {
    /* fundo verde do logotipo — ver regras em .page-section.section-bg-alt */
}

/* Contraste e cores do logotipo em secções claras */
.page-craft .text-muted {
    color: #564a3d !important;
}

.page-craft .about-content p,
.page-craft .editorial-paragraph,
.page-craft .timeline-copy {
    color: #4a3f32;
}

.page-craft .bg-light {
    background-color: var(--color-bg-alt) !important;
}

.portugal-stats .opacity-75 {
    opacity: 1 !important;
    color: #564a3d;
}

.craft-label {
    color: var(--brand-dark) !important;
    font-weight: 600;
}

.craft-accent {
    color: var(--brand-dark) !important;
}

.craft-highlight {
    color: var(--brand-dark) !important;
    font-weight: 600;
}

.craft-icon-wrap {
    color: var(--brand-dark);
    background-color: rgba(163, 150, 77, 0.18);
    border-radius: 50px;
    padding: 8px;
}

.who-we-are-label {
    color: var(--brand-dark);
}

.who-we-are-title .italic,
.editorial-quote {
    font-family: var(--font-display);
    font-style: italic;
}

.main-nav.scrolled {
    background-color: rgba(249, 246, 241, 0.98);
}

.page-craft .main-nav:not(.main-nav--hero) {
    background-color: rgba(249, 246, 241, 0.94);
}

.page-craft .main-nav.scrolled {
    box-shadow: 0 4px 24px rgba(44, 36, 22, 0.06);
}

@media (max-width: 1000px) {
    .page-banner {
        margin-top: 0;
        min-height: clamp(12rem, 32vh, 18rem);
    }

    .page-banner__title {
        max-width: none;
    }
}

@media (min-width: 1001px) {
    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -0.15rem;
        width: 0;
        height: 1px;
        background: var(--brand-color);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .nav-link.active::before {
        display: none;
    }

    .nav-link.active {
        font-weight: 600;
    }
}

/* ─── UX chrome: progress, back-to-top ─── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1001;
    pointer-events: none;
    background: rgba(111, 103, 37, 0.08);
}

@media (max-width: 1000px) {
    .scroll-progress {
        display: none;
    }
}

.scroll-progress__bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-color));
    transition: width 0.08s linear;
    box-shadow: 0 0 8px rgba(163, 150, 77, 0.35);
}

.back-to-top {
    position: fixed;
    right: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: 998;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    background: rgba(249, 246, 241, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--brand-dark);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(44, 36, 22, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.75rem);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.back-to-top:focus-visible {
    outline: 2px solid var(--brand-color);
    outline-offset: 3px;
}

.quick-contact {
    position: fixed;
    left: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: 998;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem 0.65rem 0.85rem;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: rgba(249, 246, 241, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--brand-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 6px 24px rgba(44, 36, 22, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.75rem);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.quick-contact.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quick-contact:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.quick-contact:focus-visible {
    outline: 2px solid var(--brand-color);
    outline-offset: 3px;
}

.quick-contact__label {
    line-height: 1;
}

@media (max-width: 640px) {
    .quick-contact {
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        overflow: hidden;
        gap: 0;
    }

    .quick-contact__label {
        display: none;
    }

    .quick-contact .bi {
        font-size: 1.05rem;
        line-height: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .work-card.is-revealing {
        animation: none;
    }

    .scroll-progress__bar {
        transition: none;
    }

    .back-to-top {
        transition: none;
    }

    .quick-contact {
        transition: none;
    }
}

/* ─── Experience enhancements ─── */
.production-region-card {
    border: 1px solid transparent;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.production-region-card.is-in-view {
    border-color: rgba(111, 103, 37, 0.18);
    box-shadow: 0 10px 28px rgba(44, 36, 22, 0.08);
}

@media (hover: hover) {
    .production-region-card:hover {
        border-color: rgba(111, 103, 37, 0.28);
        box-shadow: 0 14px 36px rgba(44, 36, 22, 0.1);
        transform: translateY(-2px);
    }
}

.credentials-strip:not(.is-revealed) .credentials-item {
    opacity: 0;
    transform: translateY(14px);
}

.credentials-strip.is-revealed .credentials-item {
    animation: credentialReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--stagger-delay, 0s);
}

@keyframes credentialReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .work-lightbox__nav--prev {
        left: 0.5rem;
    }

    .work-lightbox__nav--next {
        right: 0.5rem;
    }
}

/* ─── Experience enhancements (nav) ─── */
.section-jump-nav-sentinel {
    height: 0;
    pointer-events: none;
}

.section-jump-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0.75rem;
    z-index: 250;
    padding: 0 clamp(1rem, 3vw, 2rem);
    margin: 0.75rem 0 1.5rem;
}

.section-jump-nav.is-pinned {
    position: fixed;
    left: 0;
    right: 0;
    top: 0.75rem;
    margin: 0;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    background: transparent;
}

.section-jump-nav__inner {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.65rem;
    background: rgba(249, 246, 241, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-line);
    border-radius: 999px;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(44, 36, 22, 0.06);
}

.section-jump-nav__inner::-webkit-scrollbar {
    display: none;
}

.section-jump-nav__link {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text-light);
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.section-jump-nav__link:hover {
    color: var(--brand-dark);
    background: rgba(163, 150, 77, 0.12);
}

.section-jump-nav__link.is-active {
    color: #fff;
    background: var(--brand-dark);
}

.img-reveal {
    overflow: hidden;
}

.img-reveal img {
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.65s ease, transform 0.8s ease;
}

.img-reveal.is-loaded img,
.founder-photo.is-loaded,
.about-brand-logo.is-loaded {
    opacity: 1;
    transform: scale(1);
}

.heritage-link {
    transition: gap 0.25s ease, color 0.25s ease;
}

.heritage-link i {
    transition: transform 0.25s ease;
}

.heritage-link:hover i {
    transform: translateX(4px);
}

.hero-cta {
    transform: translate(var(--magnet-x, 0), var(--magnet-y, 0));
    transition: transform 0.2s ease, color 0.3s ease, border-color 0.3s ease;
}

.credentials-item strong {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1000px) {
    .section-jump-nav {
        top: 0.5rem;
        margin: 1rem 0 1.25rem;
    }

    .section-jump-nav.is-pinned {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .section-jump-nav__link {
        font-size: 0.68rem;
        padding: 0.4rem 0.85rem;
    }
}
