/* Font Declarations */
@font-face {
    font-family: 'Gabriela Alt';
    src: url('/static/fonts/gabriela-alt-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/Poppins-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/Poppins-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/Poppins-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/Poppins-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/Poppins-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/static/fonts/Poppins-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --color-primary: #777C66;    /* Sage green from logo */
    --color-secondary: #C07C59;  /* Terracotta from logo */
    --color-text: #333333;
    --color-light: #F3EAE5;
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    font-weight: 300;
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-light);
}

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

/* Header */
.site-header {
    background-color: transparent;
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-link:hover {
    color: var(--color-secondary);
}

.btn-whatsapp {
    background-color: var(--color-secondary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: none;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background-color: #c08b73;
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background-color: #F3EAE5;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 60px;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo {
    margin-bottom: 2rem;
    width: 100%;
}

.hero-logo-img {
    width: 700px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.02);
}

.hero-text {
    max-width: 900px;
    margin-bottom: 2rem;
}

.hero-text .subtitle {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.hero-text .hero-description {
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #777c66;
    /* max-width: 800px; */
    margin: 0 auto;
    letter-spacing: 0.1em;
}

.hero-cta {
    margin-top: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--color-secondary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 160, 136, 0.2);
    border: none;
    font-family: var(--font-secondary);
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #c08b73;
    box-shadow: 0 6px 20px rgba(212, 160, 136, 0.3);
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.hero-social {
    margin-top: 2.5rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    opacity: 0.8;
}

.hero-social-icon {
    color: var(--color-text);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.hero-social-icon i {
    display: block;
    line-height: 1;
}

.hero-social-icon:hover {
    color: var(--color-secondary);
    opacity: 1;
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
    font-size: 1.2rem;
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-weight: 300;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.registration-info {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    margin-top: 1rem;
    text-align: right;
    opacity: 0.8;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
    padding-top: 66px;
}

.profile-image {
    width: 400px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 8px solid white;
}

.profile-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Analysis Section */
.analysis-section {
    background-color: #F3EAE5;
    padding: 80px 0;
}

.analysis-section h2 {
    margin-bottom: 3rem;
    text-align: left;
}

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

.analysis-text-content {
    margin: 0;
}

.analysis-text-content h2 {
    text-align: left;
}

.analysis-text-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
}

.analysis-text-content p:last-child {
    margin-bottom: 0;
}

.analysis-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center;
    align-items: start;
    max-width: 600px;
    margin: 0 auto;
}

.analysis-card {
    text-align: center;
    padding: 2.5rem;
    background-color: white;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 280px;
    margin: 0 auto;
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.analysis-card i {
    font-size: 2.2rem;
    color: var(--color-secondary);
    margin-bottom: 1.2rem;
}

.analysis-card h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: 1.4rem;
}

.analysis-card p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-weight: 300;
    text-align: center;
    max-width: 240px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .analysis-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .analysis-section h2 {
        text-align: center;
        margin-bottom: 2rem;
    }

    .analysis-content {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
}

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

    .analysis-card {
        width: 100%;
    }
}

/* Art Therapy Section */
.art-therapy-section {
    padding: 80px 0;
    background-color: var(--color-light);
}

.art-therapy-description {
    /* max-width: 800px; */
    margin: 0 auto 3rem;
    text-align: justify;
    font-size: 1.2rem;
    line-height: 1.8;
    font-family: var(--font-secondary);
    font-weight: 300;
    hyphens: auto;
    word-wrap: break-word;
}

.art-therapy-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.feature p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-weight: 300;
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0 80px;
    background-color: var(--color-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.contact-form {
    background-color: var(--color-primary);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: white;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.form-group input {
    margin-bottom: 20px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(255,255,255,0.2);
    border-color: var(--color-light);
}

.submit-button {
    background-color: var(--color-secondary);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
    width: 100%;
    font-size: 1.1rem;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #c08b73;
    transform: translateY(-2px);
}

.contact-image {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-profile-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.contact-profile-image:hover {
    transform: scale(1.02);
}

.contact-cards {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--color-light);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-text);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: white;
}

.contact-card i {
    font-size: 2rem;
    color: var(--color-secondary);
}

.contact-card-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--color-primary);
}

.contact-card-text p {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-profile-image {
        max-width: 400px;
    }

    .contact-cards {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-profile-image {
        max-width: 320px;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Footer */
.site-footer {
    background-color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    font-family: var(--font-secondary);
    font-weight: 300;
}

.footer-logo-img {
    height: 120px;
    width: auto;
}

.footer-content h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
    margin-left: auto;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem;
        transition: all 0.3s ease-in-out;
        gap: 2rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
    }

    .btn-whatsapp {
        margin-top: 1rem;
        padding: 1rem 2rem;
        width: auto;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav-links.active .btn-whatsapp {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.3s;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-text .hero-description {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.3rem 0;
    }

    .main-nav {
        height: 50px;
    }

    .logo-img {
        height: 35px;
    }

    .nav-links {
        top: 50px;
        height: calc(100vh - 50px);
        padding-top: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-logo {
        padding: 1.5rem;
    }

    .hero-logo-img {
        width: 450px;
    }

    .hero-text {
        max-width: 100%;
    }

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

    .profile-image {
        width: 320px;
        border-width: 6px;
    }

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

    .contact-section {
        padding: 120px 0 60px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .analysis-content,
    .art-therapy-features {
        grid-template-columns: 1fr;
    }

    .art-therapy-description {
        padding: 0;
        font-size: 1.1rem;
    }

    .hero-social {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .hero-social-icon {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .hero-text .hero-description {
        font-size: 1.4rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        width: 320px;
        min-width: auto;
    }
    
    .profile-image {
        width: 280px;
        border-width: 4px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    .hero-cta .cta-button {
        width: 100%;
    }

    .hero-text .hero-description {
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Target Section */
.target-section {
    padding: 80px 0;
    background-color: white;
}

.target-content {
    /* max-width: 900px; */
    margin: 0 auto;
    /* text-align: center; */
}

.target-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
    font-weight: 300;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
}

.target-groups {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 0 1rem;
}

.target-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-light);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.target-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.target-item i {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.target-item h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin: 0;
    font-family: var(--font-primary);
}

@media (max-width: 1024px) {
    .target-groups {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .target-description {
        font-size: 1.2rem;
        line-height: 1.7;
        padding: 0 1rem;
    }

    .target-groups {
        margin-top: 3rem;
    }

    .target-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .target-groups {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .target-item {
        padding: 1.5rem;
    }

    .target-description {
        font-size: 1.1rem;
    }
}

/* Notification System */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    max-width: 400px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #f44336;
}

/* Form Styles */
.form-group button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Section Defaults */
section {
    scroll-margin-top: 80px; /* Valor base para compensar o menu fixo */
}

@media (max-width: 768px) {
    section {
        scroll-margin-top: 60px; /* Valor menor para telas menores, onde o menu é menor */
    }
}

/* Not Found (404) Page */
.not-found-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-light);
}

.not-found-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.not-found-content.centered {
    justify-content: center;
    text-align: center;
}

.not-found-text {
    flex: 1;
    max-width: 600px;
}

.not-found-content.centered .not-found-text {
    flex: 0 1 auto;
}

.not-found-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.not-found-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.not-found-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.not-found-cta .cta-button {
    background-color: var(--color-secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.not-found-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #c08b73;
}

.not-found-cta .cta-button i {
    margin-right: 8px;
}

.not-found-cta .cta-button.secondary {
    background-color: var(--color-primary);
}

.not-found-cta .cta-button.secondary:hover {
    background-color: #848a74;
}

.not-found-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.not-found-illustration {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

@media (max-width: 992px) {
    .not-found-content {
        flex-direction: column;
        text-align: center;
    }
    
    .not-found-text {
        order: 1;
        max-width: 100%;
    }
    
    .not-found-image {
        order: 0;
        margin-bottom: 30px;
    }
    
    .not-found-cta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .not-found-section {
        padding: 100px 0 60px;
    }
    
    .not-found-text h1 {
        font-size: 2.5rem;
    }
    
    .not-found-text p {
        font-size: 1rem;
    }
    
    .not-found-cta .cta-button {
        width: 100%;
    }
} 