/* 
   Zini Amorim & Moura - Styling
   Theme: High Governance, Institutional, Premium
*/

:root {
    /* Colors */
    --primary-color: #0F172A;
    /* Deep Navy - Trust, Authority */
    --primary-light: #1E293B;
    --accent-color: #C5A065;
    /* Muted Gold - Value, Prestige */
    --accent-hover: #D4AF37;

    --text-main: #334155;
    --text-light: #64748B;
    --text-white: #F8FAFC;

    --bg-light: #FFFFFF;
    --bg-off-white: #F8FAFC;
    --bg-section: #F1F5F9;

    --border-color: #E2E8F0;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    /* 8px */
    --spacing-sm: 1rem;
    /* 16px */
    --spacing-md: 2rem;
    /* 32px */
    --spacing-lg: 4rem;
    /* 64px */
    --spacing-xl: 6rem;
    /* 96px */

    /* Radii & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    color: var(--primary-color);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

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

.section-text {
    max-width: 800px;
    font-size: 1.125rem;
    color: var(--text-light);
}

.accent {
    color: var(--accent-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
}

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

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.full-width {
    width: 100%;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Subtle pattern for hero */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(197, 160, 101, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    /* Constrain for better readability */
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle-block {
    display: block;
    /* Force new line logic visually */
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
    font-size: 0.6em;
    /* Relative to H1 */
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.trust-bar .separator {
    color: var(--accent-color);
}

/* Premium Card Styling */
.card,
.service-item,
.step-card,
.audience-item {
    background: #fff;
    border: 1px solid rgba(197, 160, 101, 0.2);
    /* Subtle gold border */
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

/* Common Gold Top Accent */
.card::before,
.service-item::before,
.step-card::before,
.audience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

/* Hover Effects */
.card:hover,
.service-item:hover,
.step-card:hover,
.audience-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 10px 30px -10px rgba(197, 160, 101, 0.15);
    /* Tinted shadow */
    border-color: rgba(197, 160, 101, 0.4);
}

.card:hover::before,
.service-item:hover::before,
.step-card:hover::before,
.audience-item:hover::before {
    opacity: 1;
}

/* Icon Badges */
.card-icon,
.step-icon,
.icon-box,
.audience-item i,
/* Special handling for inline icons */
.service-item .s-num

/* Number badge logic */
    {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 101, 0.08);
    /* Very light gold bg */
    border-radius: 50%;
    color: var(--accent-color);
    /* Icon starts as accent color */
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(197, 160, 101, 0.1);
}

/* Specific overrides for structural differences */
.audience-item i {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}

.service-item .s-num {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    margin-bottom: 0;
}

/* Hover Icon Effects */
.card:hover .card-icon,
.step-card:hover .step-icon,
.audience-item:hover i {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(197, 160, 101, 0.3);
}

/* Typography Hierarchy Enhancements */
.card h3,
.step-card h4,
.service-item h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.card p,
.step-card p,
.service-item p,
.s-list {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* WhatsApp Buttons */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(37, 211, 102, 0.3);
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #fff;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}


/* About Section */
.about .section-header {
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Thesis Section */
.thesis {
    background-color: var(--bg-section);
}

.thesis-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.objectives {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.check-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.check-list i {
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pillar {
    background: var(--primary-color);
    color: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
}

.pillar h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.pillar p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Activity Areas */
.activity-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.activity-list {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.activity-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.activity-list .icon {
    margin-top: 4px;
    /* visual alignment */
    color: var(--primary-color);
    font-size: 1.5rem;
    background: var(--bg-section);
    padding: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.credibility-note {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    height: fit-content;
}

.credibility-note i {
    font-size: 3rem;
    color: var(--text-light);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    background: var(--bg-section);
    height: 200px;
    /* Placeholder height */
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.portfolio-item:hover {
    background: #e2e8f0;
}

.p-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.p-content .tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
    padding: 2px 6px;
    border-radius: 4px;
}

.p-content p {
    font-size: 0.85rem;
    color: var(--text-main);
}

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

/* Governance */
.governance {
    background-color: var(--primary-color);
    /* Dark section for contrast */
    color: #fff;
}

.governance .section-title {
    color: #fff;
}

.governance-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.governance-list li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.governance-list i {
    color: var(--accent-color);
}

.highlight-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-block h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.email-link {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.topics {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ESG */
.esg .section-title {
    text-align: center;
}

.esg .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.esg-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Contact */
.contact {
    background-color: var(--bg-section);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: #fff;
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-checkbox input {
    margin-top: 4px;
}

/* Footer */
.footer {
    background-color: #0B1120;
    /* Darker than primary */
    color: #94A3B8;
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer-brand h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-brand p {
    margin-bottom: 0.5rem;
}

.footer-links a {
    margin-right: 1.5rem;
    color: #cbd5e1;
}

.footer-links a:hover {
    color: #fff;
}

.legal-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Responsiveness */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .header-container .btn {
        display: none;
        /* simple hide for desktop menu */
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        /* Header height approx */
        left: 0;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hero {
        text-align: center;
        padding-top: 6rem;
    }

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

    .activity-list-wrapper {
        flex-direction: column;
    }

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

/* Services Section */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.s-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.s-num {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
}

.s-header h3 {
    font-size: 1.25rem;
}

.s-list {
    list-style: disc;
    padding-left: 1.25rem;
    color: var(--text-light);
}

.s-list li {
    margin-bottom: 0.5rem;
}

.scope-note {
    background: var(--bg-section);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.scope-note i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Methodology */
.methodology {
    background-color: var(--bg-section);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.step-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: var(--bg-section);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.method-result {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-main);
    background: #fff;
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

/* Target Audience */
.target-audience {
    background-color: #fff;
}

.audience-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-section);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.audience-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* Differentials */
.differentials {
    background-color: var(--primary-color);
    color: #fff;
}

.differentials .section-title {
    color: #fff;
    text-align: center;
}

.diff-list {
    max-width: 800px;
    margin: 0 auto;
}

.diff-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.diff-list i {
    color: var(--accent-color);
}

/* FAQ/Credentials */
.faq-section {
    background-color: var(--bg-section);
}

.credentials-box {
    text-align: center;
    margin-bottom: 3rem;
}

.credential-text {
    background: #fff;
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--accent-color);
    color: var(--primary-color);
    font-weight: 500;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--text-main);
}

.faq-question:hover {
    background: var(--bg-off-white);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    display: none;
    /* Hidden by default */
}

.faq-answer.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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