/* Template 08 - Clássico (Classic Green) */
/* Timeless and traditional design */

/* ====================== */
/* TEMPLATE VARIABLES     */
/* ====================== */
.template-08 {
    --t-primary: #1b5e20;
    --t-primary-light: #2e7d32;
    --t-secondary: #81c784;
    --t-accent: #a5d6a7;
    --t-text: #212121;
    --t-text-light: #616161;
    --t-bg: #ffffff;
    --t-border: #e0e0e0;

    --t-font-main: 'Times New Roman', Georgia, serif;
    --t-font-heading: 'Georgia', serif;
    --t-font-size-base: 11pt;
    --t-font-size-sm: 10pt;
    --t-font-size-xs: 9pt;
    --t-font-size-name: 26pt;
    --t-font-size-section: 11pt;

    --t-spacing-base: 12px;
    --t-spacing-sm: 8px;
    --t-spacing-xs: 4px;
    --t-spacing-lg: 16px;
    --t-spacing-xl: 24px;
}

/* ====================== */
/* TEMPLATE BASE          */
/* ====================== */
.template-08 {
    font-family: var(--t-font-main);
    font-size: var(--t-font-size-base);
    color: var(--t-text);
    background: var(--t-bg);
    line-height: 1.6;
    padding: 0;
    width: 100%;
}

/* ====================== */
/* HEADER                 */
/* ====================== */
.template-08 .cv-header {
    background: var(--t-primary);
    color: white;
    padding: var(--t-spacing-lg) var(--t-spacing-xl);
    border-bottom: 5px double var(--t-secondary);
}

.template-08 .cv-contact-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--t-spacing-xl);
    font-size: var(--t-font-size-xs);
    margin-bottom: var(--t-spacing-base);
}

.template-08 .cv-contact-item {
    display: flex;
    align-items: center;
    gap: var(--t-spacing-xs);
}

.template-08 .cv-contact-item svg {
    width: 12px;
    height: 12px;
    fill: var(--t-secondary);
}

.template-08 .cv-cnh {
    background: var(--t-secondary);
    color: var(--t-primary);
    padding: 3px 12px;
    border-radius: 2px;
    font-size: var(--t-font-size-xs);
    font-weight: 700;
    display: inline-block;
    margin-top: var(--t-spacing-xs);
}

.template-08 .cv-name {
    font-family: var(--t-font-heading);
    font-size: var(--t-font-size-name);
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    padding: var(--t-spacing-lg) 0;
}

/* ====================== */
/* MAIN CONTENT           */
/* ====================== */
.template-08 .cv-body {
    padding: var(--t-spacing-xl);
}

.template-08 .cv-section {
    margin-bottom: var(--t-spacing-xl);
    overflow: hidden;
    transition: margin 0.4s ease-out, opacity 0.3s ease;
}

.template-08 .cv-section:last-child {
    margin-bottom: 0;
}

.template-08 .cv-section-header {
    color: var(--t-primary);
    font-family: var(--t-font-heading);
    font-size: var(--t-font-size-section);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: var(--t-spacing-xs) 0;
    margin-bottom: var(--t-spacing-base);
    border-top: 2px solid var(--t-primary);
    border-bottom: 1px solid var(--t-primary);
}

.template-08 .cv-section-content {
    padding-left: var(--t-spacing-sm);
}

/* ====================== */
/* EXPERIENCE ENTRIES     */
/* ====================== */
.template-08 .cv-entry {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--t-spacing-lg);
    margin-bottom: var(--t-spacing-lg);
    padding-bottom: var(--t-spacing-lg);
    border-bottom: 1px solid var(--t-border);
}

.template-08 .cv-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.template-08 .cv-entry-period {
    font-size: var(--t-font-size-sm);
    color: var(--t-primary);
    font-weight: 600;
}

.template-08 .cv-entry-title {
    font-weight: 700;
    color: var(--t-text);
    margin-bottom: var(--t-spacing-xs);
}

.template-08 .cv-entry-company {
    color: var(--t-primary-light);
    font-weight: 600;
    font-size: var(--t-font-size-sm);
    margin-bottom: var(--t-spacing-sm);
}

.template-08 .cv-entry-location {
    font-weight: 400;
    color: var(--t-text-light);
    font-style: italic;
}

.template-08 .cv-entry-activities {
    margin-top: var(--t-spacing-sm);
    padding-left: var(--t-spacing-lg);
}

.template-08 .cv-entry-activities li {
    position: relative;
    padding-left: var(--t-spacing-base);
    margin-bottom: var(--t-spacing-xs);
    font-size: var(--t-font-size-sm);
    line-height: 1.6;
}

.template-08 .cv-entry-activities li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--t-primary);
}

/* ====================== */
/* EDUCATION ENTRIES      */
/* ====================== */
.template-08 .cv-education-entry {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--t-spacing-lg);
    margin-bottom: var(--t-spacing-base);
}

.template-08 .cv-education-entry:last-child {
    margin-bottom: 0;
}

.template-08 .cv-education-level {
    font-weight: 700;
    margin-bottom: var(--t-spacing-xs);
}

.template-08 .cv-education-institution {
    font-size: var(--t-font-size-sm);
    color: var(--t-text-light);
    font-style: italic;
}

/* ====================== */
/* SKILLS SECTION         */
/* ====================== */
.template-08 .cv-skills-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--t-spacing-sm) var(--t-spacing-xl);
}

.template-08 .cv-skill-item {
    position: relative;
    padding-left: var(--t-spacing-base);
    font-size: var(--t-font-size-sm);
}

.template-08 .cv-skill-item::before {
    content: '◉';
    position: absolute;
    left: 0;
    color: var(--t-primary);
    font-size: 8px;
}

/* ====================== */
/* OBJECTIVE              */
/* ====================== */
.template-08 .cv-objective-text {
    font-size: var(--t-font-size-sm);
    line-height: 1.8;
    text-align: justify;
    text-indent: 2em;
}

/* ====================== */
/* HIDDEN & ANIMATIONS    */
/* ====================== */
.template-08 .cv-section.hidden {
    display: none;
}

.template-08 .cv-section.hiding {
    animation: sectionHideGlow 0.8s ease-out forwards;
}

.template-08 .cv-section.showing {
    animation: sectionShowGlow 0.8s ease-out forwards;
}

@media print {
    .template-08 {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}