/*
Theme Name: Plano A Cursos
Theme URI: https://planoacursos.com.br
Author: L9 Propaganda
Author URI: https://l9propaganda.com.br
Description: Tema personalizado para Plano A Cursos - Escola de Inglês Personalizado
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: planoa-theme
*/

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', sans-serif;
    background-color: #e8ecfd;
    overflow-x: hidden;
    line-height: 1.5;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.font-sora {
    font-family: 'Sora', sans-serif;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* ========================================
   COLORS (CSS Variables)
   ======================================== */
:root {
    --color-primary: #9c2b8c;
    --color-secondary: #01adb1;
    --color-dark: #00344e;
    --color-text: #222e3d;
    --color-light: #e8ecfd;
    --color-white: #ffffff;
    --color-light-text: #f0f0f0;
}

/* ========================================
   LAYOUT
   ======================================== */
.page-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-height: 5431px;
    background-color: var(--color-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 150px;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-logo {
    width: 243px;
    height: 74px;
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-link {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--color-secondary);
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    letter-spacing: -0.2px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

/* Hamburger Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--color-light);
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar-logo {
    width: 150px;
}

.sidebar-logo img {
    width: 100%;
    height: auto;
}

.sidebar-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.sidebar-close:hover {
    color: var(--color-primary);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
}

.sidebar-link {
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--color-secondary);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: color 0.3s ease;
}

.sidebar-link:hover {
    color: var(--color-primary);
}

.sidebar-cta {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Body no scroll when sidebar open */
body.sidebar-open {
    overflow: hidden;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: -0.2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-light-text);
    font-size: 20px;
    height: 48px;
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-light-text);
    font-size: 20px;
    height: 48px;
}

.btn-contact {
    width: 210px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 88px;
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    color: white;
}

.btn-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 30px;
    padding: 16px;
    background: var(--color-primary);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: white;
    letter-spacing: -0.2px;
}

.btn-tag.teal {
    background: var(--color-secondary);
    border: 1px solid var(--color-dark);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    mix-blend-mode: luminosity;
    opacity: 0.15;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg img {
    position: absolute;
    height: 137%;
    width: 100%;
    top: -31%;
    left: 0;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    left: 150px;
    top: 240px;
    width: 597px;
    z-index: 2;
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: 40px;
    color: var(--color-secondary);
    letter-spacing: -0.2px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title strong {
    font-weight: 700;
}

.hero-title span {
    font-weight: 400;
}

.hero-description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.5;
    letter-spacing: -0.2px;
    width: 485px;
    margin-bottom: 30px;
}

.hero-description strong {
    font-weight: 700;
}

.hero-image {
    position: absolute;
    right: 150px;
    top: 177px;
    width: 613px;
    height: 465px;
    z-index: 1;
}

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


/* ========================================
   DIVIDER BAR (Infinite Marquee)
   ======================================== */
.divider-bar {
    position: absolute;
    top: 700px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.divider-track {
    display: flex;
    animation: marquee-scroll 50s linear infinite;
}

.divider-text {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 25px;
    color: white;
    letter-spacing: -0.2px;
    white-space: nowrap;
    margin: 0;
    padding: 0 30px;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   QUEM SOMOS
   ======================================== */
.quem-somos {
    position: absolute;
    top: 821px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    align-items: flex-end;
}

.quem-somos-image {
    width: 606px;
    height: 597px;
    flex-shrink: 0;
}

.quem-somos-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quem-somos-content {
    width: 515px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: 30px;
    color: var(--color-secondary);
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.section-title span {
    font-weight: 400;
}

.section-title strong {
    font-weight: 700;
}

.section-subtitle {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--color-secondary);
    letter-spacing: -0.2px;
}

.section-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.5;
    letter-spacing: -0.2px;
}

.section-text p {
    margin-bottom: 16px;
}

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

/* ========================================
   NOSSO MÉTODO
   ======================================== */
.nosso-metodo {
    position: absolute;
    top: 1478px;
    left: 50%;
    transform: translateX(-50%);
    width: 1180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.metodo-title {
    font-family: 'Sora', sans-serif;
    font-size: 30px;
    color: var(--color-primary);
    text-align: center;
    letter-spacing: -0.2px;
    width: 614px;
}

.metodo-title strong {
    font-weight: 700;
}

.metodo-title span {
    font-weight: 400;
}

.metodo-subtitle {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--color-dark);
    text-align: center;
    letter-spacing: -0.2px;
}

.metodo-cards {
    display: flex;
    gap: 20px;
    width: 100%;
}

.metodo-card {
    width: 220px;
    height: 200px;
    border-radius: 20px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.metodo-card.teal {
    background: var(--color-secondary);
}

.metodo-card.dark {
    background: var(--color-dark);
}

.metodo-card-icon {
    width: 41px;
    height: 41px;
}

.metodo-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: white;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.metodo-card-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: white;
    letter-spacing: -0.2px;
    line-height: 1.25;
}

.metodo-card-text strong {
    font-weight: 700;
}

/* ========================================
   DIFERENCIAIS
   ======================================== */
.diferenciais {
    position: absolute;
    top: 2016px;
    left: 50%;
    transform: translateX(-50%);
    width: 1280px;
    height: 850px;
    background: var(--color-primary);
    border-radius: 20px;
    overflow: hidden;
}

.diferenciais-bg {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    mix-blend-mode: luminosity;
    overflow: hidden;
}

.diferenciais-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.diferenciais-left {
    position: absolute;
    left: 50px;
    top: 50px;
    width: 533px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
}

.diferenciais-title {
    font-family: 'Sora', sans-serif;
    font-size: 40px;
    color: var(--color-light);
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.diferenciais-title span {
    font-weight: 400;
}

.diferenciais-title strong {
    font-weight: 700;
}

.diferenciais-subtitle {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 25px;
    color: var(--color-light);
    letter-spacing: -0.2px;
}

.diferenciais-right {
    position: absolute;
    right: 50px;
    top: 50px;
    width: 599px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
}

.diferencial-card {
    width: 599px;
    height: 100px;
    background: var(--color-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 34px;
}

.diferencial-icon {
    width: 41px;
    height: 41px;
    flex-shrink: 0;
}

.diferencial-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.diferencial-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--color-dark);
    letter-spacing: -0.2px;
}

.diferencial-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-dark);
    letter-spacing: -0.2px;
}

.diferencial-text strong {
    font-weight: 700;
}

/* ========================================
   DEPOIMENTOS (Carousel)
   ======================================== */
.depoimentos {
    position: absolute;
    top: 2926px;
    left: 50%;
    transform: translateX(-50%);
    width: 1180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding-bottom: 60px;
    z-index: 10;
}

.depoimentos-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: var(--color-secondary);
    text-align: center;
    letter-spacing: -0.2px;
}

.depoimentos-subtitle {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--color-secondary);
    text-align: center;
    letter-spacing: -0.2px;
}

/* Carousel Container - Desktop: buttons on sides */
.depoimentos-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
}

.depoimentos-track-wrapper {
    flex: 1;
    max-width: 800px;
    overflow: hidden;
    border-radius: 15px;
}

.depoimentos-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.depoimento-slide {
    min-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Carousel Navigation - below carousel */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

/* Mobile buttons hidden on desktop */
.carousel-btn.carousel-btn-mobile {
    display: none;
}

/* Carousel Buttons */
.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-dark);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

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

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-dark);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-dot:hover,
.carousel-dot.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* Legacy cards (fallback) */
.depoimentos-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Depoimento Card */
.depoimento-card {
    width: 360px;
    height: auto;
    min-height: 320px;
    background: white;
    border: 2px solid var(--color-dark);
    border-radius: 15px;
    padding: 22px 27px 30px;
}

/* Full width card for carousel */
.depoimento-card--full {
    width: 100%;
    min-height: auto;
    max-width: 100%;
}

.depoimento-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: var(--color-dark);
    letter-spacing: -0.2px;
    margin-bottom: 10px;
}

.depoimento-stars {
    display: flex;
    gap: 2px;
    height: 17px;
    margin-bottom: 15px;
}

.depoimento-stars svg {
    width: 18px;
    height: 17px;
}

.depoimento-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    color: var(--color-dark);
    letter-spacing: -0.2px;
    line-height: 1.5;
}

.depoimento-text p {
    margin: 0 0 15px 0;
}

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

/* ========================================
   BLOG
   ======================================== */
.blog-section {
    position: absolute;
    top: 3820px;
    left: 0;
    width: 100%;
    height: 780px;
    background: var(--color-secondary);
    border-radius: 0;
    z-index: 5;
}

.blog-content {
    position: absolute;
    top: 31px;
    left: 50%;
    transform: translateX(-50%);
    width: 1300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.blog-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: white;
    text-align: center;
    letter-spacing: -0.2px;
}

.blog-subtitle {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: white;
    text-align: center;
    letter-spacing: -0.2px;
    width: 854px;
}

.blog-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 10px;
}

.blog-card {
    width: 380px;
    height: 410px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 18px 30px 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--color-dark);
    letter-spacing: -0.2px;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title:hover {
    text-decoration: underline;
}

.blog-card-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-dark);
    letter-spacing: -0.2px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* ========================================
   START / CTA FINAL
   ======================================== */
.start-section {
    position: absolute;
    top: 4655px;
    left: 0;
    width: 100%;
    padding: 0 130px;
}

.start-container {
    display: flex;
    gap: 189px;
    max-width: 1180px;
    margin: 0 auto;
}

.start-left {
    width: 581px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.start-title {
    font-family: 'Sora', sans-serif;
    font-size: 40px;
    color: var(--color-dark);
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.start-title strong {
    font-weight: 700;
}

.start-title span {
    font-weight: 400;
}

.start-subtitle {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 25px;
    color: var(--color-dark);
    letter-spacing: -0.2px;
}

.start-right {
    position: relative;
}

.start-box {
    position: absolute;
    width: 300px;
    height: 600px;
    background: var(--color-primary);
    border-radius: 20px;
    box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.3);
    left: 30px;
    top: 10px;
}

.start-image {
    position: relative;
    width: 360px;
    height: 610px;
    z-index: 1;
}

.start-image img {
    width: 100%;
    height: 101.23%;
    object-fit: cover;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    position: absolute;
    top: 5316px;
    left: 0;
    width: 100%;
    height: 115px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 130px;
}

.footer-left {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    color: white;
    letter-spacing: -0.2px;
}

.footer-left strong {
    font-weight: 700;
}

.footer-right {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    color: white;
    letter-spacing: -0.2px;
    text-align: right;
}

.footer-right strong {
    font-weight: 700;
}

/* ========================================
   WORDPRESS ADMIN BAR FIX
   ======================================== */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Large Desktop (1440px+) */
@media screen and (min-width: 1441px) {
    .hero-content {
        left: calc(50% - 570px);
    }

    .hero-image {
        right: calc(50% - 570px);
    }
}

/* Desktop (1200px - 1440px) */
@media screen and (max-width: 1440px) {
    .site-header {
        padding: 8px 80px;
    }
}

/* Tablet (768px - 1199px) */
@media screen and (max-width: 1199px) {
    .site-header {
        padding: 8px 40px;
    }

    /* Show hamburger, hide desktop nav */
    .hamburger-btn {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        left: 40px;
        width: 50%;
    }

    .hero-image {
        right: 40px;
        width: 45%;
    }

    .quem-somos {
        flex-direction: column;
        align-items: center;
        padding: 0 40px;
    }

    .quem-somos-image {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    .quem-somos-content {
        width: 100%;
        max-width: 600px;
    }

    .nosso-metodo {
        width: 100%;
        padding: 0 40px;
    }

    .metodo-cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .diferenciais {
        width: calc(100% - 40px);
        margin: 0 20px;
        flex-direction: column;
        height: auto;
        padding-bottom: 50px;
    }

    .diferenciais-left,
    .diferenciais-right {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
        padding: 30px;
    }

    .diferencial-card {
        width: 100%;
    }

    .depoimentos {
        width: 100%;
        padding: 0 40px;
        padding-bottom: 60px;
    }

    .depoimentos-cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .blog-content {
        width: 100%;
        padding: 0 20px;
    }

    .blog-cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .start-section {
        flex-direction: column;
        gap: 40px;
        padding: 0 40px;
        left: 0;
        width: 100%;
    }

    .start-left {
        width: 100%;
    }

    .site-footer {
        padding: 0 40px;
    }
}

/* Mobile (max-width: 767px) */
@media screen and (max-width: 767px) {
    .site-header {
        padding: 8px 20px;
        height: 80px;
    }

    .site-logo {
        width: 150px;
        height: auto;
    }

    .hamburger-btn {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .hero-section {
        height: auto;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 20px;
    }

    .hero-content {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        width: 100%;
        font-size: 14px;
    }

    .hero-content .btn {
        width: 100% !important;
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: auto;
        padding: 0 20px;
    }

    .divider-bar {
        height: 50px;
        position: relative;
        top: auto;
    }

    .divider-text {
        font-size: 18px;
    }

    .quem-somos {
        position: relative;
        top: auto;
        padding: 40px 20px;
    }

    .quem-somos-image {
        width: 100%;
        height: auto;
    }

    .quem-somos-content {
        width: 100%;
        gap: 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .quem-somos-content .btn {
        width: 100% !important;
    }

    .nosso-metodo {
        position: relative;
        top: auto;
        padding: 40px 20px;
    }

    .metodo-title {
        width: 100%;
        font-size: 24px;
    }

    .metodo-subtitle {
        font-size: 16px;
    }

    .metodo-cards {
        flex-direction: column;
        align-items: center;
    }

    .metodo-card {
        width: 100%;
        max-width: 300px;
    }

    .nosso-metodo .btn {
        width: 100% !important;
        font-size: 16px;
        white-space: normal;
        height: auto;
        padding: 16px 20px;
        text-align: center;
    }

    .diferenciais {
        position: relative;
        top: auto;
        width: calc(100% - 40px);
        margin: 40px 20px;
        height: auto;
        padding: 30px 20px;
    }

    .diferenciais-left {
        width: 100%;
        padding: 0;
    }

    .diferenciais-title {
        font-size: 28px;
    }

    .diferenciais-subtitle {
        font-size: 18px;
    }

    .diferenciais-left .btn {
        width: 100% !important;
    }

    .diferenciais-right {
        width: 100%;
        padding: 0;
        margin-top: 30px;
    }

    .diferencial-card {
        width: 100%;
        height: auto;
        padding: 15px 20px;
    }

    .depoimentos {
        position: relative;
        top: auto;
        padding: 40px 20px;
        padding-bottom: 60px;
    }

    .depoimentos-title {
        font-size: 24px;
    }

    .depoimentos-subtitle {
        font-size: 16px;
    }

    /* Carousel mobile layout */
    .depoimentos-carousel {
        width: 100%;
        max-width: 100%;
    }

    /* Hide desktop side buttons on mobile */
    .depoimentos-carousel > .carousel-btn {
        display: none;
    }

    .depoimentos-track-wrapper {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    /* Show mobile buttons in nav row */
    .carousel-btn.carousel-btn-mobile {
        display: flex;
        width: 36px;
        height: 36px;
    }

    .carousel-btn.carousel-btn-mobile svg {
        width: 18px;
        height: 18px;
    }

    .carousel-nav {
        gap: 15px;
        margin-top: 20px;
        position: relative;
        z-index: 20;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .depoimento-slide {
        padding: 0;
    }

    .depoimento-card--full {
        padding: 20px;
    }

    .depoimento-name {
        font-size: 20px;
    }

    .depoimento-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .depoimentos-cards {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .depoimento-card {
        width: 100%;
        max-width: 360px;
        height: auto;
    }

    .depoimentos .btn {
        width: 100% !important;
        max-width: 360px;
    }

    .blog-section {
        position: relative;
        top: auto;
        height: auto;
        padding: 40px 0;
        margin: 0;
        width: 100% !important;
        left: 0 !important;
        overflow: hidden;
    }

    .blog-content {
        position: relative;
        top: auto;
        transform: none;
        padding: 0 20px;
        width: 100%;
        left: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .blog-title {
        font-size: 22px;
        width: 100%;
    }

    .blog-subtitle {
        width: 100%;
        font-size: 14px;
    }

    .blog-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .blog-card {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    .blog-card-image {
        height: 180px;
        width: 100%;
    }

    .blog-card-content {
        padding: 15px 20px;
    }

    .blog-card-title {
        font-size: 18px;
    }

    .blog-card-text {
        font-size: 14px;
    }

    .blog-content .btn {
        width: 100% !important;
        max-width: 320px;
        font-size: 16px;
        white-space: normal;
        height: auto;
        padding: 16px 20px;
        text-align: center;
    }

    .start-section {
        position: relative;
        top: auto;
        left: auto;
        padding: 40px 20px;
        flex-direction: column;
        gap: 30px;
    }

    .start-left {
        width: 100%;
    }

    .start-title {
        font-size: 28px;
    }

    .start-subtitle {
        font-size: 18px;
    }

    .start-left .btn {
        width: 100% !important;
    }

    .start-right {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .start-box {
        width: 200px;
        height: 400px;
    }

    .start-image {
        width: 250px;
        height: auto;
    }

    .site-footer {
        position: relative;
        top: auto;
        height: auto;
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }
}

/* Fix absolute positioning for flow layout on smaller screens */
@media screen and (max-width: 1199px) {
    .page-container {
        min-height: auto !important;
    }

    .site-main {
        display: flex;
        flex-direction: column;
    }

    .site-header,
    .hero-section,
    .divider-bar,
    .quem-somos,
    .nosso-metodo,
    .diferenciais,
    .depoimentos,
    .blog-section,
    .start-section,
    .site-footer {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }

    .start-container {
        flex-direction: column;
        gap: 40px;
    }
}

@media screen and (max-width: 767px) {
    .start-container {
        flex-direction: column;
        gap: 30px;
    }
}
