/*
Theme Name: Driele Silva Nutricionista
Theme URI: https://driele-silva-nutri.com
Author: Driele Silva
Author URI: https://driele-silva-nutri.com
Description: Tema personalizado para o site da nutricionista Driele Silva. Design elegante com tons marrons e foco em conversão.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: driele-nutri
*/

/* ======================================
   VARIÁVEIS CSS
====================================== */
:root {
    --primary: #b45309; /* amber-700 */
    --primary-light: #d97706; /* amber-600 */
    --primary-dark: #92400e; /* amber-800 */
    --primary-50: #fffbeb;
    --background: #faf5f0;
    --foreground: #1a1a1a;
    --muted: #f5f5f4;
    --muted-foreground: #737373;
    --card: #ffffff;
    --card-foreground: #1a1a1a;
    --border: #e5e5e5;
    --ring: #b45309;
}

/* ======================================
   RESET E BASE
====================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

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

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

a:hover {
    color: var(--primary);
}

/* ======================================
   CONTAINER
====================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ======================================
   HEADER / NAVEGAÇÃO
====================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: inherit;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ======================================
   HERO SECTION
====================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-left {
    animation: fadeIn 1s ease;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.avatar-group {
    display: flex;
}

.avatar-group span {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -0.5rem;
}

.avatar-group span:first-child {
    margin-left: 0;
    background: #b45309;
}

.avatar-group span:nth-child(2) {
    background: #d97706;
}

.avatar-group span:nth-child(3) {
    background: #92400e;
}

.social-proof p {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin: 0 0 2rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-slogan {
    display: inline-block;
    background: rgba(180, 83, 9, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    animation: slideInLeft 1s ease forwards;
}

.hero-slogan p {
    margin: 0;
    font-size: 1.25rem;
    color: white;
    font-family: Georgia, serif;
    font-style: italic;
}

@media (min-width: 768px) {
    .hero-slogan p {
        font-size: 1.5rem;
    }
}

/* Hero Benefits Card */
.hero-benefits-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

@media (min-width: 1024px) {
    .hero-benefits-card {
        justify-self: end;
    }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.benefit-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.benefit-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.benefit-item p {
    margin: 0;
    color: var(--foreground);
    font-weight: 500;
}

/* ======================================
   ABOUT SECTION
====================================== */
.about-section {
    padding: 5rem 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary);
    border-radius: 1rem;
    z-index: -1;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
    .about-content h2 {
        font-size: 2.5rem;
    }
}

.about-content p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ======================================
   SERVICES SECTION
====================================== */
.services-section {
    padding: 5rem 0;
    background: var(--background);
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header p {
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.75rem;
}

.service-card p {
    color: var(--muted-foreground);
    margin: 0;
}

/* ======================================
   PRICING SECTION
====================================== */
.pricing-section {
    padding: 5rem 0;
    background: white;
}

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

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(to bottom, var(--primary-50), white);
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.5rem;
}

.pricing-card .description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--foreground);
}

.pricing-features li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-card:not(.popular) .pricing-cta {
    background: var(--muted);
    color: var(--foreground);
}

.pricing-card:not(.popular) .pricing-cta:hover {
    background: var(--primary);
    color: white;
}

.pricing-card.popular .pricing-cta {
    background: var(--primary);
    color: white;
}

.pricing-card.popular .pricing-cta:hover {
    background: var(--primary-dark);
}

/* ======================================
   TESTIMONIALS SECTION
====================================== */
.testimonials-section {
    padding: 5rem 0;
    background: var(--background);
}

.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}

.testimonial-stars svg {
    width: 1rem;
    height: 1rem;
    color: #fbbf24;
    fill: #fbbf24;
}

.testimonial-card p {
    margin: 0;
    color: var(--muted-foreground);
    font-style: italic;
    line-height: 1.8;
}

/* ======================================
   FOOD GALLERY SECTION
====================================== */
.gallery-section {
    padding: 5rem 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: white;
    font-weight: 500;
    margin: 0;
}

/* ======================================
   FOOTER
====================================== */
.site-footer {
    background: var(--foreground);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin: 0 0 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* ======================================
   BUTTONS
====================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* ======================================
   ANIMATIONS
====================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ======================================
   UTILITIES
====================================== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* WordPress Specific */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 0.5rem;
}
