/* iFood do Zero - Delicate Feminine, High-Conversion & Claymorphic 3D Design System */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&display=swap');

/* --- SOFISTICATED DESIGN TOKENS --- */
:root {
    /* Cores Delicadas / Femininas */
    --color-primary: #ea1d2c;        /* Vermelho iFood Oficial */
    --color-primary-hover: #cb1622;  /* Vermelho Hover */
    --color-pink-primary: #ffebf0;   /* Rosa Bebê Forte */
    --color-pink-cream: #fff5f7;     /* Off-White Rosado Pérola */
    --color-pink-soft: #ffe4e8;      /* Rosa Bebê para Destaques */
    --color-red-dark: #a9121c;       /* Vermelho Vinho para Contrastes Delicados */
    
    --color-text-dark: #222227;      
    --color-text-muted: #565d66;     
    --color-text-light: #9098a3;
    
    --color-bg-white: #ffffff;      
    --color-bg-app: #fff2f5;        
    
    --color-success: #10b981;        
    --color-success-light: #ecfdf5;
    
    /* Tipografia */
    --font-heading: 'Barlow', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --font-app: 'Barlow', sans-serif;
    
    /* Spacious Layout Padding */
    --spacing-xs: 0.6rem;
    --spacing-sm: 1.4rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;
    
    /* Claymorphic smooth corner radius */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-xl: 40px;
    --radius-full: 9999px;
    
    /* Soft Specular Shadows & Glossy Claymorphism 3D */
    --shadow-sm: 0 4px 15px rgba(234, 29, 44, 0.05);
    --shadow-md: 0 15px 35px rgba(234, 29, 44, 0.08), inset 0 3px 6px rgba(255, 255, 255, 0.9);
    --shadow-lg: 0 25px 60px rgba(234, 29, 44, 0.12), inset 0 5px 10px rgba(255, 255, 255, 0.9);
    --shadow-float: 0 30px 60px rgba(234, 29, 44, 0.18);
    
    /* 3D Tactile Pressable Button Shadows */
    --shadow-btn-3d: 0 8px 0 #b5121e, 0 15px 30px rgba(234, 29, 44, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    
    /* Transitions */
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- RESET & BASIC DEFAULTS --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-pink-cream); 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- CHIC FEMININE TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text-dark);
}

h1 em, h2 em, h3 em {
    font-style: italic;
    font-weight: 500;
    color: var(--color-red-dark);
}

.title-xl {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.title-lg {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    letter-spacing: -0.01em;
}

.title-md {
    font-size: 1.8rem;
    font-weight: 700;
}

.text-lead {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.7;
}

.text-highlight {
    color: var(--color-primary);
    position: relative;
    z-index: 1;
    display: inline-block;
    font-weight: 700;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--color-pink-soft);
    z-index: -1;
    border-radius: 4px;
    opacity: 0.9;
}

.text-desktop-left {
    text-align: center;
}

@media (min-width: 992px) {
    .text-desktop-left {
        text-align: left !important;
    }
    .section-header.text-desktop-left {
        margin-left: 0;
        margin-right: 0;
    }
}

/* --- CLAYMOPHIC BADGES --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.4rem;
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-family: var(--font-app);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-sm);
    border: 2px solid var(--color-pink-soft);
    box-shadow: var(--shadow-sm);
}

/* --- SPACIOUS GRID SETUP --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

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

.bg-pink {
    background-color: var(--color-pink-primary);
}

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

.bg-primary .title-lg,
.bg-primary .title-md,
.bg-primary .text-lead,
.bg-primary p,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4 {
    color: var(--color-bg-white);
}

.bg-primary em {
    color: var(--color-pink-soft) !important;
}

.bg-primary .pain-card {
    border-color: rgba(255, 255, 255, 0.3);
}

.bg-primary .pain-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.bg-primary .pain-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.bg-primary .pain-icon-wrapper img {
    filter: brightness(0) invert(1);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

@media (min-width: 992px) {
    .grid-2 {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--spacing-lg);
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

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

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

/* --- TACTILE 3D PILL BUTTON (ULTRA JUICY & SALES CONVERSION) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-app);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-bg-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff3b47 100%);
    border: 3px solid var(--color-bg-white);
    border-radius: var(--radius-full); 
    cursor: pointer;
    box-shadow: var(--shadow-btn-3d);
    transition: all 0.15s ease;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 600px) {
    .btn {
        width: auto;
    }
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 0 #b5121e, 0 20px 40px rgba(234, 29, 44, 0.35);
}

.btn:active {
    transform: translateY(6px); 
    box-shadow: 0 2px 0 #b5121e, 0 5px 12px rgba(234, 29, 44, 0.2);
}

/* Glossy highlight line */
.btn::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 10%;
    width: 80%;
    height: 35%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: -1;
}

.btn-pulse {
    animation: btn3dPulse 2.5s infinite;
}

@keyframes btn3dPulse {
    0% { box-shadow: 0 8px 0 #b5121e, 0 15px 30px rgba(234, 29, 44, 0.25), 0 0 0 0 rgba(234, 29, 44, 0.4); }
    70% { box-shadow: 0 8px 0 #b5121e, 0 15px 30px rgba(234, 29, 44, 0.25), 0 0 0 20px rgba(234, 29, 44, 0); }
    100% { box-shadow: 0 8px 0 #b5121e, 0 15px 30px rgba(234, 29, 44, 0.25), 0 0 0 0 rgba(234, 29, 44, 0); }
}

.btn-white {
    background: var(--color-bg-white);
    color: var(--color-primary);
    border-color: var(--color-bg-white);
    box-shadow: 0 8px 0 #d1d5db, 0 15px 30px rgba(0, 0, 0, 0.15), inset 0 2px 4px rgba(255, 255, 255, 1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 0 #d1d5db, 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-white:active {
    transform: translateY(6px);
    box-shadow: 0 2px 0 #d1d5db, 0 5px 12px rgba(0, 0, 0, 0.15);
}

.btn-white::before {
    background: linear-gradient(180deg, rgba(234, 29, 44, 0.05) 0%, rgba(234, 29, 44, 0) 100%);
}

@keyframes btn3dPulseWhite {
    0% { box-shadow: 0 8px 0 #d1d5db, 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 8px 0 #d1d5db, 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 8px 0 #d1d5db, 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(255, 255, 255, 0); }
}

.btn-pulse-white {
    animation: btn3dPulseWhite 2.5s infinite;
}

/* --- STICKY GLASS HEADER --- */
.header {
    background-color: rgba(255, 245, 247, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(234, 29, 44, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo-container img {
    height: 55px;
    width: auto;
}

/* --- HERO CONCEITO MOCKUP --- */
.hero {
    background-color: var(--color-pink-cream);
    background-image: url('background hero.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    overflow: hidden;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 500px; /* Reduced from 650px to prevent overlap with background image */
    position: relative;
    z-index: 2;
}

/* HTML/CSS Smartphone iFood Mockup */
.app-ui-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.app-screen-mockup {
    width: 100%;
    max-width: 380px;
    background-color: var(--color-bg-white);
    border: 10px solid #222227;
    border-radius: 45px;
    box-shadow: 0 40px 80px rgba(234, 29, 44, 0.15), 0 10px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    z-index: 5;
    transform: rotate(2deg);
    transition: var(--transition-bounce);
}

.app-screen-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Floating 3D Graphic assets */
.floating-3d-asset {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 20px 30px rgba(234,29,44,0.15));
    animation: delicateFloat 6s ease-in-out infinite alternate;
}

.float-1 { top: -20px; left: -40px; width: 120px; animation-delay: 0s; }
.float-2 { bottom: 40px; right: -50px; width: 100px; animation-delay: -2s; }
.float-3 { top: 40%; right: -30px; width: 80px; animation-delay: -4s; }

@keyframes delicateFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(5deg); }
}

/* --- CLAYMOPHIC PREVIEWS CARDS --- */
.app-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-pink-soft);
}

.app-card-3d-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 15px 20px rgba(234, 29, 44, 0.1));
    transition: var(--transition-bounce);
}

.app-card:hover .app-card-3d-icon {
    transform: scale(1.1) rotate(-5deg);
}

.app-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--color-text-dark);
}

.app-card-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- SOFISTICATED SECTIONS HEADERS --- */
.section-header {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg) auto;
    text-align: center;
}

.section-header h2 {
    margin-top: var(--spacing-xs);
}

.section-header p {
    margin-top: var(--spacing-sm);
}

/* --- ABOUT LARI (CLEAN PRESENTATION) --- */
.lari-banner-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-bg-white);
    position: relative;
}

.lari-banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* --- PAIN CARDS GRID --- */
.pain-cards-grid {
    gap: 1.5rem;
}

.pain-card {
    background: transparent;
    border: 1px solid rgba(234, 29, 44, 0.15); /* Delicate border like the reference */
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pain-card:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(234, 29, 44, 0.3);
    box-shadow: 0 10px 20px rgba(234, 29, 44, 0.05);
    transform: translateY(-5px);
}

.pain-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(234, 29, 44, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    border: 1px solid rgba(234, 29, 44, 0.1);
}

.pain-icon-wrapper img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.pain-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--color-text-dark);
}

.pain-card-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* --- FAQ ACCORDION (3D CLAY) --- */
.faq-container {
    max-width: 1000px;
    margin: var(--spacing-md) auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
}

.faq-item {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.faq-item:hover {
    border-color: var(--color-pink-soft);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-app);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: var(--color-pink-primary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background-color: var(--color-primary);
    color: var(--color-bg-white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--color-bg-white);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-bg-white);
    padding: var(--spacing-lg) 0 2rem 0;
    border-top: 1px solid var(--color-pink-soft);
    text-align: center;
}

/* --- AUTHOR LAYOUT --- */
.author-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.author-image-box {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    z-index: 3;
}

.author-text-card {
    width: 100%;
    background: var(--color-bg-white);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 25px 50px rgba(234, 29, 44, 0.1);
    position: relative;
    z-index: 1;
    margin-top: -3rem;
    border: 1px solid rgba(234, 29, 44, 0.05);
    text-align: center;
}

@media (min-width: 992px) {
    .author-layout {
        flex-direction: row;
    }
    .author-image-box {
        flex: 0 0 45%;
        margin-top: 0;
        max-width: none;
        box-shadow: 20px 0 40px rgba(0,0,0,0.1);
    }
    .author-text-card {
        flex: 0 0 60%;
        margin-top: 0;
        margin-left: -5%;
        padding: 4rem 4rem 4rem 9%;
    }
}

/* --- SMART CHECKLIST --- */
.smart-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.smart-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.smart-list .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
    background: rgba(234, 29, 44, 0.05);
    border-radius: 50%;
    padding: 4px;
}

.smart-list .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.smart-list .text {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    line-height: 1.4;
}

.smart-list .text strong {
    color: var(--color-primary);
    font-weight: 800;
}
.footer p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-top: 2rem;
}

/* --- MOBILE RESPONSIVE UTILITIES --- */
.offer-card-main {
    padding: 4rem 3rem;
}
.offer-price-box {
    padding: 3.5rem 2.5rem;
}
.offer-title {
    font-size: 3.8rem;
}
.offer-price-number {
    font-size: 5.5rem;
}
.offer-price-currency {
    font-size: 2rem;
    margin-top: 0.8rem;
}

@media (max-width: 768px) {
    /* Global Spacing Adjustments */
    :root {
        --spacing-md: 2rem;
        --spacing-lg: 3.5rem;
        --spacing-xl: 4rem;
    }
    
    .container {
        padding: 0 1.2rem;
    }
    
    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    .title-md {
        font-size: 1.5rem;
    }
    
    /* Specific section adjustments */
    .hero {
        background-color: #fbdddc;
        background-image: url('background mobile.png');
        background-position: top center;
        background-size: 100% auto;
        background-repeat: no-repeat;
        padding-top: calc(100vw + 1rem); /* Pushes text exactly below the 1:1 image */
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .app-card {
        padding: 2rem 1.5rem;
    }
    
    /* Offer section adjustments */
    .offer-card-main {
        padding: 3rem 1.5rem;
    }
    
    .offer-price-box {
        padding: 2.5rem 1.5rem;
    }
    
    .offer-title {
        font-size: 2.5rem;
    }
    
    .offer-price-number {
        font-size: 4rem;
    }
    
    .offer-price-currency {
        font-size: 1.5rem;
        margin-top: 0.5rem;
    }
}

/* --- DOR FOOTER LAYOUT --- */
.dor-footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}
.dor-footer-text {
    flex: 1;
}
.dor-footer-btn {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .dor-footer-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }
    .dor-footer-btn {
        width: 100%;
    }
    .dor-footer-btn .btn {
        width: 100%;
        text-align: center;
    }
    .text-mobile-center {
        text-align: center !important;
    }
    .pain-subtitle {
        border-left: none !important;
        padding-left: 0 !important;
        text-align: center;
    }
    .pain-list-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
    }
}

/* --- UTILITIES --- */
@media (min-width: 992px) {
    .sticky-desktop {
        position: sticky;
        top: 120px;
    }
}
