/*
   Akin Pro Design System
   Based on Akin structure, rebranded to Green/White
   Main brand color: #0047AB (Dark Blue)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

:root {
    /* Colors */
    --primary-blue: #a44716;
    /* Maori Primary Orange/Rust */
    --primary-teal: #a44716;
    --primary-dark: #7d350f;
    /* Maori Dark Rust */
    --accent-blue: #f8f1eb;
    /* Maori Secondary Beige */
    --bg-teal-light: #fff7f1;
    /* Maori Background Beige */
    /* Very Light Blue */
    --bg-white: #FFFFFF;
    --bg-offwhite: #F8FBFF;
    /* Very Pale Blue Tinted White */
    --text-dark: #6b4f43;
    /* Maori Dark Brown */
    --text-muted: #8c7369;
    --border-color: #d8bba8;
    /* Maori Beige Border */

    /* Typography */
    --font-serif: 'Lora', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 5%;
    --container-width: 1400px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Compensa o header fixo de 80px + margem de respiro */
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50px;
    /* Pill shape for Maori */
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(164, 71, 22, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(164, 71, 22, 0.1);
}

/* Header */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition-smooth);
    transform-origin: center;
}

.mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

nav ul li a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background-color: var(--bg-offwhite);
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.benefit-item svg {
    color: var(--primary-blue);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Journey Section */
.journey-container {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.journey-step {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    transition: var(--transition-smooth);
}

.journey-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

.journey-step h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.journey-step p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: white;
    margin-bottom: 20px;
}

.footer h4 {
    margin-bottom: 24px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #A0B3A7;
}

.footer ul li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #536B5B;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .benefit-item {
        justify-content: center;
    }
}

/* Full MeuBeme Section Replication */

/* Hero Section (MeuBeme style) */
.mb-hero {
    display: flex;
    align-items: center;
    padding: 120px 5%;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?q=80&w=1800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 70vh;
}

.mb-hero-content {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mb-hero h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.mb-badge {
    display: inline-block;
    background: var(--bg-teal-light);
    color: var(--text-dark);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 30px;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(107, 79, 67, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature List */
.mb-feature-list {
    margin-bottom: 40px;
}

.mb-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Accordion */
.mb-accordion {
    margin-top: 40px;
}

.mb-acc-item {
    border-bottom: 1px solid var(--border-color);
}

.mb-acc-header {
    padding: 25px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
    background: var(--primary-teal);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.mb-acc-content {
    padding: 0 30px 30px;
    display: none;
    background: var(--bg-offwhite);
    border-radius: 0 0 12px 12px;
    margin-top: -10px;
    margin-bottom: 20px;
}

.mb-acc-item.active .mb-acc-content {
    display: block;
}

/* Icon Bar - single definition below in MB-specific section */

/* New Sections - MeuBeme Integration */
.offering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.offering-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 71, 171, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.offering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 71, 171, 0.1);
}

.offering-img {
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center 20%;
}

.offering-body {
    padding: 30px;
}

/* Scientific Data */
.data-card {
    background: var(--primary-dark);
    color: white;
    padding: 60px;
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.data-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    color: var(--primary-blue);
}

/* Medication Evaluation Section */
.med-eval-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.med-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(107, 79, 67, 0.05);
    padding-bottom: 30px;
}

.med-card-img {
    height: 300px;
    background-color: #7d350f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.med-card-img img {
    max-height: 85%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.med-card:hover .med-card-img img {
    transform: scale(1.05);
}

.med-card-content {
    padding: 0 24px;
}

.med-card-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.med-card-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* GLP-1 Section */
.glp1-content {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.glp1-image {
    background: var(--bg-offwhite);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.glp1-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.glp1-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.glp1-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.glp1-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.glp1-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 20px;
    text-align: center;
}

/* MB Specific Containers (Replaced Inline Styles) */
.mb-hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mb-why-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.section-title-large {
    font-size: 3.5rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 30px;
}

/* RE-DEFINING THE MISSING MB ICON BAR AND CARDS */
.mb-icon-bar {
    display: flex;
    justify-content: space-around;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.mb-icon-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

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

.mb-card {
    background: var(--bg-teal-light);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .data-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .mb-why-container {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .mb-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .mb-hero-visual img {
        max-width: 100%;
    }

    .glp1-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .glp1-image {
        order: -1;
    }

    .section-title-large {
        font-size: 2.8rem;
    }

    .mb-why-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 5%;
    }

    body {
        padding-bottom: 110px !important;
    }

    .header-actions .btn-login {
        display: none;
    }

    .mobile-toggle {
        display: block !important;
    }

    nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        flex-direction: column;
        z-index: 1001;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-color);
    }

    nav.active {
        display: block !important;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .data-card {
        padding: 40px 24px;
        text-align: center;
    }

    .data-stats {
        grid-template-columns: 1fr;
    }

    .med-eval-grid {
        grid-template-columns: 1fr;
    }

    .mb-icon-bar {
        flex-direction: column;
        gap: 40px;
    }

    /* Centralize Content for Mobile */
    .hero-content, 
    .journey-step, 
    .offering-card, 
    .med-card, 
    .glp1-text, 
    .mb-card,
    .mb-hero-content,
    .mb-why-container {
        text-align: center !important;
    }

    .glp1-text {
        padding: 20px 0 !important;
        width: 100%;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .hero-content p, .glp1-text p, .journey-step p, .mb-hero-content p {
        text-align: center !important;
    }

    .hero-cta {
        justify-content: center;
    }

    .journey-step {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .logo {
        font-size: 1.5rem;
    }

    .mb-badge {
        font-size: 1rem;
        padding: 10px 20px;
        letter-spacing: 0;
    }

    .mb-feature-list {
        width: 100%;
        align-items: center !important;
    }

    .mb-feature-item {
        font-size: 1.1rem;
        display: flex !important;
        gap: 15px;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        width: 280px;
    }

    .mb-feature-item span {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .mb-feature-item span svg {
        width: 22px;
        height: 22px;
        min-width: 22px;
        margin-top: 2px;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay Utilities */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }