/* ============================================
   SITE LETÍCIA OLIVEIRA - PSICÓLOGA
   Paleta baseada na logo: Terracota + Tons Terrosos
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - from logo */
    --terracota: #C65D3D;
    --terracota-dark: #A84D32;
    --terracota-light: #D97B5C;
    
    /* Neutral Colors */
    --cream: #FDF8F5;
    --cream-dark: #F5EDE8;
    --warm-white: #FFFCFA;
    --sand: #E8DDD5;
    --taupe: #8B7D72;
    --charcoal: #3D3733;
    --deep-brown: #2A2522;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: clamp(80px, 12vw, 140px);
    --container-max: 1200px;
    
    /* Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--deep-brown);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

em {
    font-style: italic;
    color: var(--terracota);
}

p {
    color: var(--taupe);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--terracota);
    color: white;
    box-shadow: 0 4px 20px rgba(198, 93, 61, 0.3);
}

.btn-primary:hover {
    background: var(--terracota-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(198, 93, 61, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--sand);
}

.btn-secondary:hover {
    border-color: var(--terracota);
    color: var(--terracota);
}

.btn-full {
    width: 100%;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracota);
    margin-bottom: 16px;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header p {
    margin-top: 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: rgba(255, 252, 250, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--sand);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    position: relative;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracota);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 12px 24px;
    background: var(--terracota);
    color: white !important;
    border-radius: 50px;
    font-weight: 500;
}

.btn-nav:hover {
    background: var(--terracota-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition-smooth);
}

.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(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warm-white);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: 24px;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--deep-brown);
    transition: var(--transition-smooth);
}

.mobile-nav-links a:hover {
    color: var(--terracota);
}

.mobile-nav-links .btn-nav {
    display: inline-block;
    font-size: 1rem;
    margin-top: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 50%, var(--cream-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(198, 93, 61, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(198, 93, 61, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracota);
    margin-bottom: 24px;
    padding: 8px 16px;
    background: rgba(198, 93, 61, 0.1);
    border-radius: 30px;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--deep-brown);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--taupe);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-image-frame {
    position: relative;
    z-index: 2;
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(42, 37, 34, 0.15);
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--terracota);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--warm-white);
}

.about .container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-image-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(42, 37, 34, 0.1);
}

.about-image-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 16px;
}

.about-credentials {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--sand);
}

.credential {
    text-align: center;
}

.credential-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--terracota);
}

.credential-text {
    font-size: 0.85rem;
    color: var(--taupe);
}

/* ============================================
   SPECIALTIES SECTION
   ============================================ */
.specialties {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.specialty-card {
    background: var(--warm-white);
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(42, 37, 34, 0.08);
    border-color: var(--terracota-light);
}

.specialty-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(198, 93, 61, 0.1);
    border-radius: 16px;
    margin-bottom: 24px;
    color: var(--terracota);
}

.specialty-icon svg {
    width: 28px;
    height: 28px;
}

.specialty-card h3 {
    margin-bottom: 12px;
    color: var(--deep-brown);
}

.specialty-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--warm-white);
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--sand);
    align-items: flex-start;
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--terracota);
    opacity: 0.4;
    line-height: 1;
    min-width: 80px;
}

.step-content h3 {
    margin-bottom: 12px;
    color: var(--deep-brown);
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
    padding: var(--section-padding) 0;
    background: var(--terracota);
    color: white;
}

.quote-section .container {
    max-width: 900px;
}

.quote-section blockquote {
    text-align: center;
}

.quote-section blockquote p {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-style: italic;
    color: white;
    line-height: 1.6;
    margin-bottom: 24px;
}

.quote-section blockquote em {
    color: rgba(255, 255, 255, 0.9);
}

.quote-section cite {
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1em;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--warm-white);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(42, 37, 34, 0.08);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--terracota);
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: 20px;
    left: 30px;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--charcoal);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--terracota);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.testimonial-author strong {
    display: block;
    color: var(--deep-brown);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--taupe);
}

/* ============================================
   APPOINTMENT TYPES SECTION
   ============================================ */
.appointment-types {
    padding: var(--section-padding) 0;
    background: var(--warm-white);
}

.appointment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.appointment-card {
    background: var(--cream);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.appointment-card.featured {
    background: var(--warm-white);
    border-color: var(--terracota);
}

.appointment-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--terracota);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.appointment-icon {
    width: 70px;
    height: 70px;
    background: rgba(198, 93, 61, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--terracota);
}

.appointment-icon svg {
    width: 32px;
    height: 32px;
}

.appointment-card h3 {
    margin-bottom: 12px;
}

.appointment-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.appointment-duration {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--terracota);
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(198, 93, 61, 0.1);
    border-radius: 20px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-content h2 {
    margin-bottom: 20px;
}

.contact-content > p {
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--warm-white);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(42, 37, 34, 0.08);
}

.contact-item.whatsapp:hover {
    background: #25D366;
    color: white;
}

.contact-item.whatsapp:hover svg {
    fill: white;
}

.contact-item.whatsapp:hover strong,
.contact-item.whatsapp:hover span {
    color: white;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--terracota);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--deep-brown);
    font-size: 0.9rem;
}

.contact-item span {
    font-size: 0.95rem;
    color: var(--taupe);
}

.contact-form-wrapper {
    background: var(--warm-white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(42, 37, 34, 0.08);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid var(--sand);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--charcoal);
    background: var(--warm-white);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracota);
    box-shadow: 0 0 0 4px rgba(198, 93, 61, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238B7D72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--deep-brown);
    color: white;
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 60px;
    width: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--terracota-light);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--terracota);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    color: white;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Animate in class */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        gap: 16px;
    }
    
    .step-number {
        min-width: auto;
    }
    
    .appointment-grid {
        grid-template-columns: 1fr;
    }
    
    .about-credentials {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}
