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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #1a2332;
    background: #faf8f4;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.2;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(26, 35, 50, 0.4) 0%, rgba(26, 35, 50, 0.6) 100%),
                url('data:image/svg+xml,%3Csvg xmlns="http://habitarotempo.com/images/1023_anty198171-3_v5_m2.jpg" viewBox="0 0 1920 1080"%3E%3Cdefs%3E%3ClinearGradient id="grad" x1="0%25" y1="0%25" x2="0%25" y2="100%25"%3E%3Cstop offset="0%25" style="stop-color:%2391b5c9;stop-opacity:1" /%3E%3Cstop offset="100%25" style="stop-color:%23c8d8e0;stop-opacity:1" /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill="url(%23grad)" width="1920" height="1080"/%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(26, 35, 50, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    animation: fadeInUp 1s ease-out;
}

.hero-bird {
    width: 120px;
    height: 60px;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.3s forwards, float 3s ease-in-out infinite;
}

.hero-bird svg {
    width: 100%;
    height: 100%;
}

.hero-bird path {
    stroke: #ffffff !important;
    opacity: 0.8;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===========================
   BRAIN SECTION
   =========================== */
.brain-section {
    padding: 8rem 0;
    background: #0f1419;
    color: #e8dcc4;
    position: relative;
    z-index: 2;
}

.brain-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.brain-icon {
    width: 200px;
    height: 200px;
    animation: rotate 20s linear infinite;
}

.brain-icon svg {
    width: 100%;
    height: 100%;
}

.brain-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 2rem;
    font-weight: 300;
}

.brain-text p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.brain-question {
    font-style: italic;
    font-size: clamp(1rem, 1.8vw, 1.2rem) !important;
    margin-top: 2rem !important;
}

/* ===========================
   OBJECTIVE SECTION
   =========================== */
.objective-section {
    padding: 8rem 0;
    background: #e8dcc4;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
}

.decorator {
    font-size: 2rem;
    color: #1a2332;
    opacity: 0.6;
}

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

.objective-card {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.objective-card:nth-child(1) {
    animation-delay: 0.2s;
}

.objective-card:nth-child(2) {
    animation-delay: 0.4s;
}

.objective-card:nth-child(3) {
    animation-delay: 0.6s;
}

.objective-image {
    width: 100%;
    height: 200px;
    margin-bottom: 2rem;
    border-radius: 50%;
    overflow: hidden;
    background: #d4c4a8;
}

.objective-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.objective-card h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin-bottom: 1rem;
    font-weight: 500;
}

.objective-card p {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.7;
    color: #3a3a3a;
}

/* ===========================
   PERTINENCE SECTION
   =========================== */
.pertinence-section {
    padding: 8rem 0;
    background: #0f1419;
    color: #e8dcc4;
}

.pertinence-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.pertinence-intro {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pertinence-icon {
    width: 150px;
    height: 150px;
    animation: rotate 20s linear infinite;
}

.pertinence-icon svg {
    width: 100%;
    height: 100%;
}

.pertinence-intro h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.3;
}

.pertinence-intro p {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.8;
    font-weight: 300;
}

.pertinence-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.pertinence-item {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.pertinence-item:nth-child(1) {
    animation-delay: 0.3s;
}

.pertinence-item:nth-child(2) {
    animation-delay: 0.5s;
}

.pertinence-item:nth-child(3) {
    animation-delay: 0.7s;
}

.pertinence-item h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin-bottom: 1rem;
    font-weight: 500;
}

.pertinence-item p {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.8;
    font-weight: 300;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
    padding: 8rem 0;
    background: #e8dcc4;
    text-align: center;
}

.contact-section h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-photo {
    width: 280px;
    height: 280px;
    margin: 0 auto 3rem;
    border-radius: 50%;
    overflow: hidden;
    background: #d4c4a8;
    border: 3px solid #1a2332;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.contact-photo:hover img {
    filter: grayscale(0%);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-item p {
    font-size: 1.1rem;
}

.contact-item a {
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-item a:hover {
    border-bottom-color: #1a2332;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    padding: 2rem 0;
    background: #0f1419;
    color: #e8dcc4;
    text-align: center;
    font-size: 0.9rem;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 968px) {
    .brain-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brain-icon {
        margin: 0 auto 2rem;
    }

    .pertinence-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .pertinence-icon {
        margin: 0 auto;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 500px;
    }

    .brain-section,
    .objective-section,
    .pertinence-section,
    .contact-section {
        padding: 4rem 0;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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