:root {
    --bg-body: #0b0614;
    --text-color: #fff;
    --btn-outline: #fff;
    --card-bg: rgba(255,255,255,.05);
    --hero-overlay: linear-gradient(180deg, rgba(11, 6, 20, 0.8), rgba(40, 0, 70, 0.6));
    --sobre-bg: linear-gradient(180deg, rgba(20,0,35,.9), rgba(40,0,70,.8));
    --areas-bg: linear-gradient(180deg, rgba(10,0,20,.9), rgba(30,0,50,.9));
    --portfolio-bg: linear-gradient(180deg, rgba(10,0,15,1), rgba(40,0,60,1));
    --footer-bg: #05020a;
    --accent: #ff2fcf;
}

body.light-mode {
    --bg-body: #f4f4f9;
    --text-color: #1a1a1a;
    --btn-outline: #1a1a1a;
    --card-bg: #fff;
    --hero-overlay: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.7));
    --sobre-bg: #e8e8f0;
    --areas-bg: #f4f4f9;
    --portfolio-bg: #ffffff;
    --footer-bg: #dadae3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* Transição otimizada */
body, section, .area, .card, .apoiador-card, .btn, .theme-toggle, p, h1, h2, h3, h4, span {
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

body {
    background: var(--bg-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.theme-toggle:hover { 
    background: var(--accent); 
    color: #fff; 
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 8%;
    background: var(--hero-overlay), url("img/marcelocerto.png");
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid var(--accent);
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 300;
    font-family: 'Great Vibes', cursive;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
    font-weight: 400;
    font-family: 'Great Vibes', cursive;
}

.hero p {
    margin: 20px 0 34px;
    opacity: .9;
    font-size: 1.2rem;
    max-width: 650px;
}

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

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.primary {
    background: var(--accent);
    color: #000;
}

.primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 47, 207, 0.4);
}

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

.outline:hover {
    background: var(--btn-outline);
    color: var(--bg-body);
}

section {
    padding: 90px 8%;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.sobre {
    background: var(--sobre-bg);
    text-align: center;
}

.section-text {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.areas-section {
    background: var(--areas-bg);
}

.areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
    margin-top: 50px;
}

.area {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
}

.area:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(255, 47, 207, 0.2);
}

.area h3 {
    color: var(--accent);
    margin-bottom: 12px;
}

.experience-section {
    background: rgba(0,0,0,.05);
    text-align: center;
}

.experience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.exp-box span {
    font-size: 2.8rem;
    color: var(--accent);
    font-weight: bold;
}

.portfolio-section {
    background: var(--portfolio-bg);
}

.portfolio-group {
    margin-bottom: 60px;
}

.portfolio-group h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

.cards-portfolio-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 30px 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(255,255,255,0.1);
}

.cards-portfolio-scroll::-webkit-scrollbar { height: 6px; }
.cards-portfolio-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

.card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    background: #000;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.card::before { content: ""; display: block; padding-top: 125%; }
.card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
        
.card-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 22px;
}
.card-info h4 { font-size: 1.1rem; color: #fff; }

.publicacao-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.book-link {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    line-height: 0;
}

.book-link:hover {
    border-color: var(--accent);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 47, 207, 0.3);
}

.apoiadores-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.apoiador-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    min-width: 200px;
    text-align: center;
}

.apoiador-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}
    
footer {
    background: var(--footer-bg);
    padding: 100px 8% 40px;
    border-top: 1px solid rgba(255, 47, 207, 0.2);
    text-align: center;
}

.cta-box h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--text-color), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-box p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-color);
    opacity: 0.8;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: #25d366;
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    background: #20ba5a;
}

.links-footer {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.links-footer a {
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--accent);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.links-footer a:hover {
    background: var(--accent);
    color: #000;
}

.copyright {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: #555;
}

@media(max-width:768px){
    .hero h1{font-size: 3rem;}
    .cta-box h2 { font-size: 2.2rem; }
    .card { flex: 0 0 260px; }
    section { padding: 60px 5%; }
}
    
.feedbacks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feedback-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 18px 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 47, 207, 0.15);
}

.feedback-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 6px 15px rgba(255, 47, 207, 0.2);
}

.feedback-text {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
    margin-bottom: 12px;
}

.feedback-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.8;
}

.linkedin-icon {
    font-size: 0.7rem;
    font-weight: 700;
    color: #0a66c2;
    border: 1px solid #0a66c2;
    border-radius: 3px;
    padding: 2px 4px;
    text-decoration: none;
}

.linkedin-icon:hover {
    background: #0a66c2;
    color: #fff;
}
