/* ============================================
   PSICÓLOGO RENATO - DESIGN SOFISTICADO
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
    /* Paleta Principal - Sofisticada e Acolhedora */
    --primary-deep: #1a5f4a;
    --primary-medium: #2d8a6e;
    --primary-light: #4fb897;
    --primary-soft: #e8f5f0;
    
    /* Cores de Destaque */
    --accent-gold: #d4a574;
    --accent-coral: #e8a87c;
    --accent-rose: #d4a5a5;
    
    /* Neutros Refinados */
    --dark-charcoal: #1f2937;
    --medium-gray: #4b5563;
    --soft-gray: #9ca3af;
    --light-cream: #fefdfb;
    --warm-white: #faf9f7;
    --pure-white: #ffffff;
    
    /* Gradientes Elegantes */
    --gradient-hero: linear-gradient(135deg, #1a5f4a 0%, #2d8a6e 50%, #4fb897 100%);
    --gradient-gold: linear-gradient(135deg, #d4a574 0%, #e8a87c 100%);
    --gradient-section: linear-gradient(180deg, var(--light-cream) 0%, var(--warm-white) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(250,249,247,0.9) 100%);
    --gradient-whatsapp: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    
    /* Tipografia */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    
    /* Sombras Sofisticadas */
    --shadow-subtle: 0 2px 8px rgba(31, 41, 55, 0.06);
    --shadow-soft: 0 4px 20px rgba(31, 41, 55, 0.08);
    --shadow-medium: 0 8px 30px rgba(31, 41, 55, 0.12);
    --shadow-elevated: 0 20px 50px rgba(31, 41, 55, 0.15);
    --shadow-glow: 0 0 40px rgba(79, 184, 151, 0.3);
    
    /* Transições */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Espaçamentos */
    --section-padding: clamp(4rem, 8vw, 7rem);
    --content-max-width: 1200px;
    --border-radius: 20px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark-charcoal);
    background-color: var(--light-cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Padrão Geométrico de Fundo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(79, 184, 151, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(45, 138, 110, 0.03) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--primary-medium);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--dark-charcoal);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

strong {
    color: var(--primary-deep);
    font-weight: 600;
}

/* ============================================
   HEADER - Elegante e Minimalista
   ============================================ */
header {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-medium) 100%);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
}

.logo-link {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pure-white);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.logo-link::after {
    content: "Psicólogo Renato Gimenez Betfuer, CRP 14/10284";
    display: block;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 4px;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-shadow: none;
    white-space: nowrap;
}

.logo-link::before {
    content: '✦';
    margin-right: 0.5rem;
    color: var(--accent-gold);
    font-size: 0.9rem;
    align-self: center;
}

/* ============================================
   HERO SECTION - Impactante e Sofisticado
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 5%;
    background: url('../images/consulta-psicologica-11.webp') no-repeat center center/cover;
    overflow: hidden;
}

/* Padrão Decorativo do Hero */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--light-cream) 0%, transparent 100%);
    pointer-events: none;
}

.hero-bg {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BOTÕES - Modernos e Interativos
   ============================================ */
.cta-group {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark-charcoal);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(212, 165, 116, 0.5);
    color: var(--dark-charcoal);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: var(--pure-white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--pure-white);
    transform: translateY(-4px);
    color: var(--pure-white);
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-container {
    width: 100%;
    padding: 0;
    line-height: 0;
    background: var(--light-cream);
}

/* ============================================
   CONTENT SECTIONS - Elegantes e Alternadas
   ============================================ */
.content-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.content-section {
    padding: var(--section-padding) 5%;
    position: relative;
    background: var(--light-cream);
}

/* Seções Alternadas */
.content-section:nth-child(odd) {
    background: var(--light-cream);
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, var(--warm-white) 0%, #f5f4f2 100%);
    position: relative;
}

.content-section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 90%, rgba(79, 184, 151, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(212, 165, 116, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

/* Decoração Lateral */
.content-section:nth-child(3n+1)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 0 3px 3px 0;
}

.content-section h2 {
    font-family: var(--font-display);
    color: var(--primary-deep);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.content-section p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.85;
    max-width: 900px;
}

/* ============================================
   WHATSAPP CTA SECTION
   ============================================ */
.whatsapp-cta-section {
    text-align: center;
    margin: 3rem 0 1rem;
    padding-top: 1.5rem;
}

.whatsapp-cta-section .btn-primary {
    background: var(--gradient-whatsapp);
    color: var(--pure-white);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    padding: 18px 42px;
    font-size: 1.05rem;
}

.whatsapp-cta-section .btn-primary:hover {
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    transform: translateY(-5px) scale(1.03);
    color: var(--pure-white);
}

/* ============================================
   FOOTER - Sofisticado e Informativo
   ============================================ */
footer {
    background: linear-gradient(135deg, var(--dark-charcoal) 0%, #374151 100%);
    color: var(--pure-white);
    padding: var(--section-padding) 5%;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
}

footer::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(79, 184, 151, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.footer-content {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-content h3 {
    font-family: var(--font-display);
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.footer-info p,
.footer-links li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
}

.footer-links li:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

/* ============================================
   UTILITIES & ENHANCEMENTS
   ============================================ */

/* Card Styles para futuros elementos */
.card {
    background: var(--gradient-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.8);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
}

/* Selection Styling */
::selection {
    background: var(--primary-light);
    color: var(--pure-white);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-medium);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-deep);
}

/* Focus States para Acessibilidade */
a:focus,
button:focus,
.btn:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

/* Skip to Content (Acessibilidade) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-deep);
    color: var(--pure-white);
    padding: 1rem 2rem;
    border-radius: 0 0 10px 10px;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}
