/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --cor-primaria: #9F4619;     /* Terracota */
    --cor-secundaria: #Cf792E;   /* Ocre */
    --cor-terciaria: #E8C39A;    /* Pêssego / Areia */
    --cor-fundo-claro: #FAF6F0;  /* Creme Papel Natural */
    --cor-fundo-escuro: #2C1103; /* Marrom Terroso Escuro */
    
    --cor-sombra: rgba(44, 17, 3, 0.08);
    --cor-sombra-forte: rgba(44, 17, 3, 0.15);
    
    /* Text Colors */
    --cor-texto: #3D2314;
    --cor-texto-mutado: #6B4E3D;
    --cor-texto-claro: #FAF6F0;
    
    /* Font Families */
    --font-heading: 'Roboto Serif', Georgia, serif;
    --font-body: 'Roboto', Helvetica, Arial, sans-serif;
    
    /* Transitions */
    --trans-suave: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --trans-rapida: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--cor-fundo-claro);
    color: var(--cor-texto);
    font-family: var(--font-body);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--cor-texto);
    font-weight: 700;
    line-height: 1.25;
}

p {
    color: var(--cor-texto-mutado);
    margin-bottom: 1rem;
}

a {
    color: var(--cor-primaria);
    text-decoration: none;
    transition: var(--trans-rapida);
}

a:hover {
    color: var(--cor-secundaria);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--cor-fundo-claro);
}
::-webkit-scrollbar-thumb {
    background: var(--cor-terciaria);
    border-radius: 5px;
    border: 2px solid var(--cor-fundo-claro);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cor-secundaria);
}

/* ==========================================================================
   COMMON COMPONENT STYLES
   ========================================================================== */
.section-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
    background: rgba(159, 70, 25, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--cor-secundaria);
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--trans-suave);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--cor-primaria);
    color: var(--cor-fundo-claro);
    box-shadow: 0 4px 15px rgba(159, 70, 25, 0.25);
}

.btn--primary:hover {
    background: var(--cor-secundaria);
    color: var(--cor-fundo-claro);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(207, 121, 46, 0.3);
}

.btn--secondary {
    background: transparent;
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
}

.btn--secondary:hover {
    background: rgba(159, 70, 25, 0.05);
    transform: translateY(-2px);
}

.btn--small {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
}

.btn--block {
    display: flex;
    width: 100%;
}

/* Badge System */
.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.badge--generator {
    background: rgba(159, 70, 25, 0.1);
    color: var(--cor-primaria);
    border: 1px solid rgba(159, 70, 25, 0.2);
}

.badge--receptor {
    background: rgba(207, 121, 46, 0.1);
    color: var(--cor-secundaria);
    border: 1px solid rgba(207, 121, 46, 0.2);
}

/* Stitch Details Overlay (Sewing theme) */
.card-stitch, .panel-stitch, .contact-card-stitch, .step-stitch, .member-stitch {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px dashed rgba(159, 70, 25, 0.2);
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR (FLOATING & STITCHED TABS)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #FAF6F0;
    border-bottom: 2px dashed var(--cor-terciaria);
    transition: var(--trans-suave);
    box-shadow: 0 4px 10px var(--cor-sombra);
}



.navbar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__brand {
    display: flex;
    text-decoration: none;
    align-items: center;
}

.brand__logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.4rem 1rem 0.4rem 1rem;
    border: 2px dashed var(--cor-primaria);
    border-radius: 4px;
    background: var(--cor-fundo-claro);
    position: relative;
    transform: rotate(-1.5deg);
    transition: var(--trans-suave);
    box-shadow: 2px 2px 0px rgba(44, 17, 3, 0.1);
}

/* Simulate the look of an actual clothing label/tag with a small hole or tag eyelet */
.brand__logo-container::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--cor-fundo-claro);
    border: 1px solid var(--cor-primaria);
    border-radius: 50%;
    z-index: 2;
}

.brand__name-row {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.brand__logo-text {
    font-family: 'Outfit', 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--cor-primaria);
    letter-spacing: -0.5px;
    line-height: 1;
    margin: 0;
    text-transform: lowercase; /* Force lowercase for 'gerare' */
    transition: var(--trans-suave);
}

.brand__logo-suffix {
    font-family: 'Outfit', 'Roboto', sans-serif;
    font-weight: 300; /* Lighter font weight - "sem bold" */
    font-size: 1.8rem;
    color: var(--cor-secundaria);
    letter-spacing: -0.5px;
    line-height: 1;
    text-transform: lowercase;
    transition: var(--trans-suave);
}

.brand__sub-text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--cor-texto-mutado);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    display: block;
    line-height: 1.1;
    white-space: nowrap;
}

/* Hover effects for interactive stitch/tag design */
.brand__logo-container:hover {
    transform: rotate(0deg) scale(1.03);
    border-color: var(--cor-secundaria);
    box-shadow: 4px 4px 0px rgba(44, 17, 3, 0.15);
    background: #fff;
}

.brand__logo-container:hover .brand__logo-text {
    color: var(--cor-secundaria);
}

.brand__logo-container:hover .brand__logo-suffix {
    color: var(--cor-primaria);
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar__menu li {
    padding: 0 0.6rem;
}

.navbar__link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cor-texto-mutado);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0.2rem;
    position: relative;
    transition: var(--trans-rapida);
    display: inline-block;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--cor-primaria);
    transition: var(--trans-rapida);
}

.navbar__link:hover, 
.navbar__link.active {
    color: var(--cor-primaria);
}

.navbar__link:hover::after, 
.navbar__link.active::after {
    width: 100%;
}

.navbar__link--cta {
    background: var(--cor-primaria);
    color: var(--cor-fundo-claro) !important;
    border-radius: 20px;
    padding: 0.5rem 1.25rem;
    border: 1px dashed rgba(250, 246, 240, 0.4);
    box-shadow: 0 4px 10px rgba(159, 70, 25, 0.15);
}

.navbar__link--cta::after {
    display: none;
}

.navbar__link--cta:hover {
    background: var(--cor-secundaria);
    transform: translateY(-1px);
}

.navbar__toggle {
    display: none;
    font-size: 1.75rem;
    color: var(--cor-primaria);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (ASYMMETRIC COLLEGE LAYOUT)
   ========================================================================== */
.hero-section {
    padding: 9rem 0 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cor-fundo-claro);
    background-image: 
        radial-gradient(var(--cor-terciaria) 0.5px, transparent 0.5px),
        radial-gradient(var(--cor-terciaria) 0.5px, var(--cor-fundo-claro) 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.15;
    z-index: -1;
}

.hero-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero__tag {
    display: inline-block;
    color: var(--cor-secundaria);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero__title {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero__title .highlight {
    color: var(--cor-primaria);
    position: relative;
    display: inline-block;
}

.hero__title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(232, 195, 154, 0.4);
    z-index: -1;
    border-radius: 4px;
}

.hero__description {
    font-size: 1.15rem;
    color: var(--cor-texto-mutado);
    margin-bottom: 2rem;
    text-align: left;
    max-width: 65ch;
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero__social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero__social span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cor-texto-mutado);
    font-weight: 700;
}

.hero__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--cor-terciaria);
    color: var(--cor-primaria);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 6px var(--cor-sombra);
}

.hero__social a:hover {
    background: var(--cor-primaria);
    color: white;
    border-color: var(--cor-primaria);
    transform: translateY(-2px);
}

/* Collage style visuals */
.hero-section__visual {
    position: relative;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual__canvas {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Deck of cards styling for Hero */
.visual__card {
    position: absolute;
    width: 200px;
    height: 270px;
    background: #FAF6F0;
    padding: 8px;
    box-shadow: 0 8px 25px var(--cor-sombra-forte);
    border: 1px solid rgba(44, 17, 3, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), z-index 0.1s ease, box-shadow 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    cursor: pointer;
}

.visual__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Add dash stitch inside the card */
.visual__card::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1.5px dashed rgba(159, 70, 25, 0.25);
    border-radius: inherit;
    pointer-events: none;
    transition: border-color var(--trans-suave);
}

/* Brand Card Positions (Close overlap fan out - starbec back, apresentacao front) */
.card-starbec {
    left: 10px;
    top: 80px;
    transform: rotate(-18deg);
    z-index: 1;
}

.card-coremendo {
    left: 70px;
    top: 45px;
    transform: rotate(-8deg);
    z-index: 2;
}

.card-cactus {
    left: 130px;
    top: 35px;
    transform: rotate(2deg);
    z-index: 3;
}

.card-apresentacao {
    left: 190px;
    top: 60px;
    transform: rotate(14deg);
    z-index: 4;
}

/* Hover behaviors */
.visual__card:hover {
    transform: scale(1.1) rotate(0deg) translateY(-25px);
    z-index: 8;
    box-shadow: 0 15px 35px rgba(44, 17, 3, 0.25);
    border-color: var(--cor-primaria);
}

.visual__card:hover::after {
    border-color: rgba(159, 70, 25, 0.5);
}

/* GERARE Logo frame - remains in fixed place and stays on top */
.visual__logo-frame {
    position: absolute;
    width: 170px;
    height: 170px;
    right: 50px;
    bottom: 50px;
    background: white;
    padding: 10px;
    box-shadow: 0 8px 20px var(--cor-sombra-forte);
    border: 1px solid rgba(44, 17, 3, 0.08);
    border-radius: 30px 15px 40px 20px / 20px 40px 15px 30px; /* organic shape */
    z-index: 9; /* Higher than the normal cards, so it stays on top */
    transition: var(--trans-suave);
}

.visual__logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.visual__logo-frame::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px dashed rgba(159, 70, 25, 0.3);
    border-radius: inherit;
    pointer-events: none;
}

.visual__logo-frame:hover {
    transform: scale(1.05) rotate(3deg);
    z-index: 10;
}

.visual__decor {
    position: absolute;
    pointer-events: none;
}

.pattern-dots {
    width: 100px;
    height: 100px;
    top: -20px;
    right: 40px;
    background-image: radial-gradient(var(--cor-secundaria) 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.4;
}

.stitch-line {
    width: 120px;
    height: 4px;
    bottom: 250px;
    right: -20px;
    border-bottom: 3px dashed var(--cor-primaria);
    transform: rotate(-25deg);
    opacity: 0.5;
}

.divider-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.divider-wave svg {
    display: block;
    width: 100%;
    height: 40px;
}

/* ==========================================================================
   ABOUT SECTION (EDITORIAL MAGAZINE STYLE)
   ========================================================================== */
.about-section {
    background: var(--cor-fundo-claro);
    padding: 6rem 0;
    position: relative;
}

.about-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: white;
    padding: 2.5rem;
    box-shadow: 0 10px 25px var(--cor-sombra);
    position: relative;
    border-radius: 12px;
    transition: var(--trans-suave);
    border: 1px solid rgba(232, 195, 154, 0.3);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--cor-sombra-forte);
}

.about-card h3 {
    color: var(--cor-primaria);
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px dashed var(--cor-terciaria);
    padding-bottom: 0.5rem;
}

.about-card p {
    text-align: left;
    line-height: 1.6;
}

.about-card--main {
    grid-row: span 2;
    border-radius: 15px 30px 20px 40px / 30px 15px 40px 20px;
    background-image: linear-gradient(135deg, white 80%, rgba(232, 195, 154, 0.1) 100%);
}

.about-card--main p:last-of-type {
    margin-bottom: 0;
}

.about-card--goal {
    border-radius: 20px 40px 15px 30px / 30px 20px 30px 15px;
}

.about-card--mission {
    border-radius: 30px 15px 40px 20px / 15px 30px 20px 40px;
}

/* ==========================================================================
   COMO FUNCIONA (TIMELINE FLOW)
   ========================================================================== */
.how-section {
    padding: 6rem 0;
    background: #FAF6F0; /* slight shift */
    border-top: 1px dashed var(--cor-terciaria);
    border-bottom: 1px dashed var(--cor-terciaria);
    position: relative;
}

.how-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.how-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 4rem;
    position: relative;
    gap: 1.5rem;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-badge {
    width: 80px;
    height: 80px;
    border-radius: 50% 40% 60% 45% / 45% 50% 40% 60%; /* Organic pebble shape */
    background: var(--cor-terciaria);
    color: var(--cor-texto);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 15px rgba(232, 195, 154, 0.35);
    transition: var(--trans-suave);
    position: relative;
}

.step-badge::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px dashed var(--cor-secundaria);
    border-radius: inherit;
    animation: rotateHoop 20s linear infinite;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
}

.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--cor-primaria);
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Connectors */
.timeline-connector {
    flex-grow: 1;
    height: 2px;
    border-top: 3px dashed var(--cor-secundaria);
    margin-top: 40px;
    opacity: 0.5;
    position: relative;
}

.timeline-step:hover .step-badge {
    background: var(--cor-primaria);
    color: white;
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 8px 20px rgba(159, 70, 25, 0.4);
}

/* ==========================================================================
   SIMULATOR SECTION (INTERACTIVE DASHBOARD)
   ========================================================================== */
.simulator-section {
    padding: 6rem 0;
    background: var(--cor-fundo-claro);
}

.simulator-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.simulator-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: stretch;
}

/* Kraft Panel Box */
.simulator-panel {
    background: #EEDDCA; /* Warm kraft-colored card */
    padding: 3rem 2.5rem;
    border-radius: 20px 40px 15px 35px / 30px 15px 40px 20px;
    border: 1px solid #D8C2AA;
    box-shadow: 
        inset 0 0 80px rgba(44, 17, 3, 0.05),
        0 10px 30px var(--cor-sombra);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel-stitch {
    border-color: rgba(159, 70, 25, 0.25);
}

.panel-title {
    font-size: 1.5rem;
    color: var(--cor-primaria);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-group {
    margin-bottom: 2rem;
}

.input-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cor-texto);
    margin-bottom: 0.75rem;
}

/* Fabric Choice Options Grid */
.fabric-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.fabric-btn {
    background: rgba(250, 246, 240, 0.7);
    border: 2px solid transparent;
    padding: 0.8rem 1rem;
    border-radius: 12px 6px 15px 8px / 6px 15px 8px 12px; /* Organic look */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--cor-texto-mutado);
    transition: var(--trans-rapida);
}

.fabric-icon {
    font-size: 1.25rem;
    color: var(--cor-secundaria);
    display: flex;
}

.fabric-name {
    font-size: 0.85rem;
}

.fabric-btn:hover {
    background: white;
    color: var(--cor-primaria);
    box-shadow: 0 4px 10px rgba(44, 17, 3, 0.05);
}

.fabric-btn.active {
    background: white;
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
    box-shadow: 0 6px 15px rgba(159, 70, 25, 0.1);
}

.fabric-btn.active .fabric-icon {
    color: var(--cor-primaria);
}

/* Slider Controls */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weight-display-badge {
    background: var(--cor-primaria);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(159, 70, 25, 0.2);
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(44, 17, 3, 0.1);
    outline: none;
    margin: 1.25rem 0;
}

.range-slider:focus-visible {
    outline: 2px solid var(--cor-primaria);
    outline-offset: 4px;
}

/* Handle styled as button */
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--cor-primaria);
    border: 3px solid #FAF6F0;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cor-primaria);
    border: 3px solid #FAF6F0;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--cor-texto-mutado);
    font-weight: 700;
}

.quick-selectors {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    border-top: 1px dashed rgba(159, 70, 25, 0.2);
    padding-top: 1.5rem;
}

.quick-selectors span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cor-texto-mutado);
}

.btn-quick {
    background: rgba(250, 246, 240, 0.5);
    border: 1px solid var(--cor-terciaria);
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cor-texto-mutado);
    transition: var(--trans-rapida);
}

.btn-quick:hover {
    background: white;
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
}

/* Results grid layout */
.simulator-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.result-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--cor-sombra);
    border: 1px solid rgba(232, 195, 154, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--trans-suave);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--cor-secundaria);
    transition: var(--trans-suave);
}

.result-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 10px 25px var(--cor-sombra-forte);
}

.result-card:hover::before {
    width: 8px;
    background: var(--cor-primaria);
}

.result-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--cor-primaria);
    transition: var(--trans-suave);
}

.result-card:hover .result-icon {
    transform: scale(1.1);
}

.result-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--cor-texto);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.result-label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cor-secundaria);
    margin-bottom: 0.75rem;
}

.result-detail {
    font-size: 0.75rem;
    color: var(--cor-texto-mutado);
    line-height: 1.4;
}

/* ==========================================================================
   CONNECTIONS MAP (SVG INTERACTIVE MAP)
   ========================================================================== */
.connections-section {
    padding: 6rem 0;
    background: #F5EFEB; /* slight terracotta hue background */
    border-top: 2px dashed var(--cor-terciaria);
    border-bottom: 2px dashed var(--cor-terciaria);
}

.connections-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.connections-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.map-container {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--cor-sombra);
    border: 1px solid rgba(159, 70, 25, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

#teresina-map {
    max-height: 420px;
}

/* Map Nodes Styling & Interaction */
.map-node {
    cursor: pointer;
    transition: var(--trans-suave);
}

.node-glow {
    animation: mapNodePulse 2.5s infinite;
}

.node-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    fill: var(--cor-texto);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: var(--trans-rapida);
    pointer-events: none;
}

.map-node:hover .node-label, 
.map-node.active .node-label {
    opacity: 1;
}

.node--generator:hover circle.node-dot,
.node--generator.active circle.node-dot {
    fill: var(--cor-secundaria);
    r: 10px;
}

.node--receptor:hover rect.node-shape,
.node--receptor.active rect.node-shape {
    fill: var(--cor-primaria);
    width: 24px;
    height: 24px;
    x: -12;
    y: -12;
}

/* Thread Path Animation */
@keyframes dash {
    to {
        stroke-dashoffset: -40;
    }
}

path[id^="thread-"] {
    animation: dash 10s linear infinite;
    opacity: 0.5;
}

path[id^="thread-"]:hover {
    stroke-width: 3.5px;
    opacity: 0.9;
}

/* Info Panel Card */
.map-info-panel {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 12px 25px 8px 30px / 25px 8px 30px 12px;
    box-shadow: 0 10px 25px var(--cor-sombra);
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(232, 195, 154, 0.3);
}

.info-state {
    display: none;
    animation: fadeInState 0.4s forwards;
}

.info-state.active {
    display: block;
}

.info-state h3 {
    color: var(--cor-primaria);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-state p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: left;
    line-height: 1.6;
}

.info-state ul {
    margin-bottom: 1.75rem;
    background: var(--cor-fundo-claro);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px dashed var(--cor-terciaria);
}

.info-state li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--cor-texto-mutado);
    display: flex;
    justify-content: space-between;
}

.info-state li strong {
    color: var(--cor-texto);
}

.info-state li:last-child {
    margin-bottom: 0;
}

/* Map legend */
.map-legend {
    margin-top: 2rem;
    border-top: 1px dashed var(--cor-terciaria);
    padding-top: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cor-texto-mutado);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.color-gen {
    background: var(--cor-primaria);
    border-radius: 50%;
}

.color-rec {
    background: var(--cor-secundaria);
}

.legend-line {
    width: 24px;
    height: 0;
    border-top: 3px dashed var(--cor-secundaria);
}

/* ==========================================================================
   BRANDS SECTION (POLAROID CARDS GRID)
   ========================================================================== */
.brands-section {
    padding: 6rem 0;
    background: var(--cor-fundo-claro);
}

.brands-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.brand-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.brand-card-v2 {
    background: white;
    border-radius: 15px 8px 20px 10px / 8px 20px 10px 15px; /* Hand-crafted border style */
    box-shadow: 0 8px 20px var(--cor-sombra);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--trans-suave);
    border: 1px solid rgba(232, 195, 154, 0.2);
    position: relative;
}

.brand-card-v2__img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.brand-card-v2__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--trans-suave);
}

.brand-card-v2__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cor-primaria);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
    border: 1px dashed var(--cor-terciaria);
}

.brand-card-v2__content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.brand-card-v2__content h3 {
    font-size: 1.5rem;
    color: var(--cor-primaria);
    margin-bottom: 0.25rem;
}

.brand-signature {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--cor-texto-mutado);
    margin-bottom: 1rem;
}

.brand-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: left;
}

.brand-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.brand-tags span {
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--cor-fundo-claro);
    color: var(--cor-texto-mutado);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(159, 70, 25, 0.1);
}

/* Hover Zoom */
.brand-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--cor-sombra-forte);
}

.brand-card-v2:hover .brand-card-v2__img img {
    transform: scale(1.08);
}

/* ==========================================================================
   POR QUE DOAR? & ESTATÍSTICAS (EMBROIDERY HOOPS)
   ========================================================================== */
.why-section {
    padding: 6rem 0;
    background: #FAF6F0;
    border-top: 1px dashed var(--cor-terciaria);
}

.why-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px var(--cor-sombra);
    text-align: center;
    border: 1px solid rgba(232, 195, 154, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-chart-container {
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: center;
}

/* Custom Embroidery Hoop Chart */
.stat-hoop-chart {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Wooden outer hoop effect */
    border: 6px solid #D2B48C; /* Light wood color */
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 0 10px rgba(0, 0, 0, 0.15);
}

/* Wooden Screw Clamp at the top of the hoop */
.stat-hoop-chart::before {
    content: '';
    position: absolute;
    top: -12px;
    width: 20px;
    height: 10px;
    background: #D2B48C;
    border-radius: 2px;
    border-bottom: 2px solid #A0522D;
    z-index: 5;
}

.stat-hoop-chart::after {
    content: '';
    position: absolute;
    top: -16px;
    width: 8px;
    height: 6px;
    background: #8B4513;
    border-radius: 1px;
    z-index: 5;
}

.hoop-inner {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: var(--cor-fundo-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 3px 10px rgba(44, 17, 3, 0.05);
}

.hoop-percent {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--cor-primaria);
}

/* Conic gradient fills styled via script or direct inline-styles */
.stat-hoop-chart[data-percent="25"] {
    background: conic-gradient(var(--cor-secundaria) 90deg, #F0EAD6 90deg);
}

.stat-hoop-chart[data-percent="80"] {
    background: conic-gradient(var(--cor-secundaria) 288deg, #F0EAD6 288deg);
}

.stat-hoop-chart[data-percent="15"] {
    background: conic-gradient(var(--cor-secundaria) 54deg, #F0EAD6 54deg);
}

.stat-content h4 {
    font-size: 1.15rem;
    color: var(--cor-primaria);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.stat-content p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    text-align: left;
}

.stat-citation {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--cor-texto-mutado);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    background: rgba(44, 17, 3, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* ==========================================================================
   FOOTER & LEAD CAPTURE FORM (KRAFT PAPER STYLE)
   ========================================================================== */
.footer {
    background: var(--cor-fundo-escuro);
    color: var(--cor-texto-claro);
    padding: 6rem 0 3rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-image: linear-gradient(45deg, var(--cor-terciaria) 25%, transparent 25%), linear-gradient(-45deg, var(--cor-terciaria) 25%, transparent 25%);
    background-size: 30px 30px;
    background-position: 0 0;
    z-index: 10;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Kraft Form Card Styling */
.contact-section {
    margin-top: -11rem; /* Pull form up overlap */
    margin-bottom: 5rem;
    position: relative;
    z-index: 20;
}

.contact-card {
    background: #E8D3BC; /* Heavy kraft paper shade */
    padding: 4rem 3.5rem;
    border-radius: 20px 50px 25px 40px / 40px 25px 50px 20px;
    border: 1px solid #D6BBA0;
    box-shadow: 
        inset 0 0 120px rgba(0, 0, 0, 0.04),
        0 15px 45px rgba(27, 9, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.25rem;
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: var(--cor-texto);
    max-width: 600px;
    margin: 0 auto;
}

/* Stitched Input Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cor-texto);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required-asterisk {
    color: var(--cor-primaria);
    font-weight: 700;
    margin-left: 2px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(250, 246, 240, 0.8);
    border: 2px solid #D6BBA0;
    border-radius: 8px;
    padding: 0.9rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--cor-texto);
    transition: var(--trans-rapida);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    background: white;
    border-color: var(--cor-primaria);
    box-shadow: 0 4px 10px rgba(159, 70, 25, 0.08);
}

.contact-form textarea {
    resize: vertical;
}

.btn--submit {
    margin-top: 1rem;
    padding: 1.1rem;
}

/* Submission feedback card overlay */
.form-feedback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FAF6F0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-feedback.show {
    transform: translateY(0);
}

.feedback-stitch {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 3px dashed var(--cor-terciaria);
    border-radius: inherit;
    pointer-events: none;
}

.feedback-icon {
    font-size: 4rem;
    color: var(--cor-secundaria);
    margin-bottom: 1.5rem;
}

.form-feedback h3 {
    font-size: 2rem;
    color: var(--cor-primaria);
    margin-bottom: 1rem;
}

.form-feedback p {
    font-size: 1.1rem;
    max-width: 500px;
    color: var(--cor-texto-mutado);
    margin-bottom: 2rem;
}

/* Team section below form */
.team-section {
    margin-bottom: 5rem;
}

.team-title {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    text-align: center;
}

.member-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.25rem auto;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--cor-terciaria);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--trans-suave);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-stitch {
    border-color: rgba(159, 70, 25, 0.3);
}

.team-card:hover .member-img {
    transform: scale(1.06) rotate(3deg);
    border-color: var(--cor-primaria);
}

.member-info h4 {
    color: var(--cor-terciaria);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.member-info p {
    font-size: 0.8rem;
    color: rgba(250, 246, 240, 0.6);
}




/* Footer Bottom links and text */
.footer-bottom {
    border-top: 1px dashed rgba(232, 195, 154, 0.15);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(250, 246, 240, 0.5);
}

.contact-email a {
    color: var(--cor-terciaria);
}

.contact-email a:hover {
    color: var(--cor-secundaria);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes mapNodePulse {
    0% {
        r: 10px;
        opacity: 0.8;
    }
    50% {
        r: 18px;
        opacity: 0.2;
    }
    100% {
        r: 10px;
        opacity: 0.8;
    }
}

@keyframes rotateHoop {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInState {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVE LAYOUT MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    /* Navbar menu mobile overlay */
    .navbar__toggle {
        display: block;
    }
    
    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FAF6F0;
        border-bottom: 2px dashed var(--cor-terciaria);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--trans-suave);
        pointer-events: none;
        box-shadow: 0 10px 20px rgba(44, 17, 3, 0.05);
    }
    
    .navbar__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .navbar__link--cta {
        width: 80%;
        text-align: center;
    }

    /* Hero */
    .hero-section__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-section__visual {
        height: 380px;
    }
    
    .visual__card {
        width: 140px;
        height: 190px;
        padding: 6px;
    }
    
    .visual__card img {
        height: 100%;
    }
    
    .card-starbec {
        left: 10px;
        top: 60px;
        transform: rotate(-18deg);
    }

    .card-coremendo {
        left: 55px;
        top: 35px;
        transform: rotate(-8deg);
    }

    .card-cactus {
        left: 100px;
        top: 25px;
        transform: rotate(2deg);
    }

    .card-apresentacao {
        left: 145px;
        top: 45px;
        transform: rotate(14deg);
    }
    
    .visual__logo-frame {
        width: 130px;
        height: 130px;
        right: 35px;
        bottom: 35px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-card--main {
        grid-row: auto;
    }

    /* Como Funciona */
    .how-timeline {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .timeline-connector {
        display: none;
    }

    /* Connections Map */
    .connections-grid {
        grid-template-columns: 1fr;
    }

    /* Brands */
    .brand-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer & Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .contact-card {
        padding: 3rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Simulator Mobile Vertical Layout */
    .simulator-section__container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .simulator-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .simulator-results {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
}

@media (max-width: 500px) {
    .brand-cards {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .fabric-options {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   REF TOOLTIP & SOURCES NOTE
   ========================================================================== */
.ref-tooltip {
    cursor: pointer;
    color: var(--cor-primaria);
    font-weight: bold;
    font-size: 0.85rem;
    margin-left: 4px;
    position: relative;
    display: inline-block;
}

.ref-tooltip a {
    color: inherit;
    text-decoration: none;
}

.ref-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cor-fundo-escuro);
    color: var(--cor-fundo-claro);
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: normal;
    white-space: normal;
    width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: var(--trans-suave);
    z-index: 100;
    box-shadow: 0 4px 15px rgba(44, 17, 3, 0.2);
    text-align: left;
    line-height: 1.4;
    border: 1px dashed var(--cor-terciaria);
}

.ref-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

.simulator-sources-note {
    font-size: 0.75rem;
    color: var(--cor-texto-mutado);
    margin-top: 2rem;
    line-height: 1.4;
    font-style: italic;
    width: 100%;
    grid-column: span 2;
}

/* Footer Publications Section */
.footer-publications {
    max-width: 900px;
    margin: 2.5rem auto 1.5rem auto;
    padding: 0 1.5rem;
}

.publications-title {
    font-family: var(--font-heading);
    color: var(--cor-terciaria);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.95;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.publication-card {
    position: relative;
    background: rgba(159, 70, 25, 0.03);
    border: 1px dashed var(--cor-terciaria);
    padding: 1.15rem 1.25rem;
    border-radius: 8px;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: var(--trans-suave);
}

.publication-card:hover {
    background: rgba(159, 70, 25, 0.05);
    border-color: var(--cor-primaria);
    transform: translateY(-2px);
}

.pub-stitch {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px dashed rgba(159, 70, 25, 0.15);
    border-radius: inherit;
    pointer-events: none;
}

.pub-icon {
    font-size: 2.2rem;
    color: var(--cor-primaria);
    opacity: 0.85;
    margin-right: 0.25rem;
    flex-shrink: 0;
}

.pub-content {
    flex: 1;
}

.pub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.pub-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--cor-primaria);
    background: rgba(159, 70, 25, 0.1);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pub-arrow-link {
    font-size: 1.6rem;
    color: var(--cor-primaria);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-suave);
    line-height: 1;
    text-decoration: none;
}

.pub-arrow-link:not(.is-disabled):hover {
    color: var(--cor-secundaria);
    transform: translateX(4px);
}

.pub-arrow-link.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(1);
}

.pub-content h4 {
    font-family: var(--font-heading);
    color: var(--cor-terciaria);
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    line-height: 1.35;
}

.pub-content p {
    font-size: 0.8rem;
    color: var(--cor-texto-mutado);
    margin: 0;
    line-height: 1.4;
}

/* Mobile responsive for publications */
@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .publication-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    
    .pub-icon {
        font-size: 1.8rem;
        margin-right: 0;
    }
    
    .pub-header {
        width: 100%;
    }
}

/* ==========================================================================
   SVG MAP ACCESSIBILITY & NODE FOCUS
   ========================================================================== */
.map-node {
    cursor: pointer;
    outline: none;
    transition: transform 0.25s ease;
}

.map-node:hover .node-dot,
.map-node:focus-visible .node-dot {
    transform: scale(1.25);
}

.map-node:focus-visible .node-glow {
    fill: rgba(217, 155, 38, 0.45);
    stroke: var(--cor-secundaria);
    stroke-width: 2px;
}

.map-node:focus-visible .node-shape {
    stroke: var(--cor-terciaria);
    stroke-width: 2.5px;
}

/* ==========================================================================
   CONTACT SECTION: DISCLAIMER NOTE
   ========================================================================== */
.form-disclaimer {
    font-size: 0.75rem;
    color: var(--cor-texto-mutado);
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 0;
    line-height: 1.4;
    opacity: 0.85;
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .visual__logo-frame img,
    .animate-pulse,
    .node-glow,
    animateMotion {
        animation: none !important;
    }
}

