/* Estilos gerais */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: #f8f3e8;
    color: #1C1C1E;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(248, 243, 232, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #DDC18C;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    color: #1C1C1E;
}

nav > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

nav a {
    text-decoration: none;
    color: #1C1C1E;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

nav a:hover {
    color: #BC9D6D;
}

.whatsapp-button {
    background-color: #1C1C1E;
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.whatsapp-button:hover {
    background-color: #a27f4b;
    transform: scale(1.05);
}

/* Seções */
section {
    padding: 4rem 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero-section {
    background-color: #f8f3e8;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: clamp(100px, 15vh, 120px);
    border-bottom: 3px solid #BC9D6D;
}

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

.hero-text h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-text .text-gradient {
    color: #BC9D6D;
}

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #1C1C1E;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons a {
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-align: center;
    display: inline-block;
}

.hero-buttons .primary-button {
    background-color: #1C1C1E;
    color: white;
}

.hero-buttons .primary-button:hover {
    background-color: #a27f4b;
    transform: translateY(-2px);
}

.hero-buttons .secondary-button {
    background-color: transparent;
    color: #1C1C1E;
    border: 2px solid #1C1C1E;
}

.hero-buttons .secondary-button:hover {
    background-color: #1C1C1E;
    color: white;
}

.hero-image {
    position: relative;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    filter: brightness(1.05) contrast(1.05);
    display: block;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Seção Sobre Mim */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background-color: #f8f3e8;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.5s ease;
    filter: brightness(1.03) contrast(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: block;
}

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

.about-content h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-intro strong {
    color: #BC9D6D;
}

.credentials-section {
    background: linear-gradient(135deg, #f8f3e8 0%, #f1e6d1 100%);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid #DDC18C;
}

.credentials-title {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #1C1C1E;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.credentials-grid {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background-color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.credential-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.credential-icon {
    color: #BC9D6D;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.credential-text {
    color: #1C1C1E;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    line-height: 1.5;
}

.approach-section {
    background-color: white;
    padding: 1.8rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid #BC9D6D;
}

.approach-title {
    font-size: clamp(0.95rem, 2vw, 1rem);
    font-weight: 600;
    color: #a27f4b;
    margin-bottom: 0.8rem;
}

.approach-text {
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    line-height: 1.7;
    color: #1C1C1E;
}

.approach-methods {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.method-tag {
    background-color: #f1e6d1;
    color: #1C1C1E;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: clamp(0.8rem, 2vw, 0.85rem);
    font-weight: 500;
}

.closing-statement {
    font-size: clamp(1rem, 2.5vw, 1.05rem);
    line-height: 1.8;
    color: #1C1C1E;
    font-style: italic;
    padding: 1.5rem;
    background-color: rgba(188, 157, 109, 0.1);
    border-radius: 10px;
    margin-top: 2rem;
}

/* Seção de Serviços */
.services-section {
    background-color: #f1e6d1;
}

.services-section h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: white;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card-featured {
    border-top: 4px solid #BC9D6D;
}

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

.service-card .icon {
    font-size: clamp(2.5rem, 6vw, 3rem);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1C1C1E;
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

.service-subtitle {
    font-weight: 600;
    color: #a27f4b;
    margin-bottom: 1rem;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.service-list {
    margin: 1.5rem 0;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.service-check {
    color: #BC9D6D;
    font-weight: bold;
    flex-shrink: 0;
}

.service-highlight {
    background: linear-gradient(135deg, #f8f3e8 0%, #f1e6d1 100%);
    padding: 1.2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    font-style: italic;
    line-height: 1.7;
    border-left: 3px solid #BC9D6D;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.service-format {
    background-color: white;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    text-align: center;
}

.service-format h3 {
    color: #1C1C1E;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
}

.format-details {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 3rem);
    flex-wrap: wrap;
}

.format-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.format-icon {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}

.service-cta {
    text-align: center;
    background: linear-gradient(135deg, #BC9D6D 0%, #a27f4b 100%);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 20px;
    color: white;
}

.service-cta h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
    color: white;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #1C1C1E;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Seção de Contato */
.contact-section h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
}

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

.contact-info p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-form {
    background-color: #f1e6d1;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 10px;
}

.contact-form h3 {
    margin-top: 0;
    font-size: clamp(1.3rem, 3vw, 1.5rem);
}

.contact-form p {
    font-size: clamp(0.95rem, 2vw, 1rem);
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #1C1C1E;
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Responsividade Mobile - iOS e Android */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
        gap: 1rem;
    }

    nav > div {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .logo {
        order: 1;
    }

    .whatsapp-button {
        order: 2;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

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

    .hero-text {
        order: 2;
        text-align: center;
    }

    .hero-image {
        order: 1;
    }

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

    .hero-buttons a {
        flex: 1;
        min-width: 140px;
    }

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

    .credentials-section {
        padding: 1.2rem;
    }

    .credential-item {
        padding: 0.7rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .format-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

    section {
        padding: 3rem 1rem;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }
}

/* Correções específicas para iOS */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-text-size-adjust: 100%;
    }

    input, textarea, select {
        font-size: 16px;
    }
}

/* Melhorias de performance para dispositivos móveis */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}