/* ============================================
   Trabalho Portátil - CSS
   Paleta: Turquesa, areia, azul
   Fontes: Poppins + Nunito
   ============================================ */

:root {
    --color-primary: #0d9488;
    --color-secondary: #1d4ed8;
    --color-accent: #f59e0b;
    --color-sand: #e7e5e4;
    --color-bg: #fafaf9;
    --color-bg-alt: #f5f5f4;
    --color-text: #44403c;
    --color-text-light: #78716c;
    --color-text-white: #fafaf9;
    --color-border: #d6d3d1;
    --color-dark: #1c1917;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --max-width: 1140px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-pill: 50px;
    --transition: 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

/* ---- HEADER ---- */
.site-header {
    background: var(--color-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.logo-icon { font-size: 1.6rem; }

.logo-dot {
    color: var(--color-primary);
    font-weight: 700;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-list a {
    color: var(--color-sand);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    transition: background var(--transition), color var(--transition);
}

.nav-list a:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
    background: linear-gradient(160deg, #134e4a 0%, var(--color-primary) 50%, #1d4ed8 100%);
    color: var(--color-text-white);
    padding: 90px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--color-bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #a7f3d0;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---- SECTIONS ---- */
.content-section {
    padding: 60px 0;
}

.content-section.alt-bg {
    background: var(--color-bg-alt);
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: var(--color-dark);
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.content-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-top: 35px;
    margin-bottom: 14px;
}

.content-section p {
    margin-bottom: 18px;
    font-size: 1rem;
}

/* ---- CARDS ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 15px;
}

.card {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.card p {
    color: var(--color-text-light);
    font-size: 0.93rem;
    margin-bottom: 0;
}

/* ---- TIPS ---- */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tip-item {
    padding: 28px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border-bottom: 3px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.tip-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: 8px;
}

.tip-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-top: 0;
    margin-bottom: 10px;
}

.tip-item p {
    color: var(--color-text-light);
    font-size: 0.93rem;
    margin-bottom: 0;
}

/* ---- CTA ---- */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 100%);
    color: var(--color-text-white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    color: var(--color-text-white);
    font-family: var(--font-heading);
    margin-bottom: 16px;
}

.cta-section h2::after {
    background: var(--color-accent);
}

.cta-section p {
    color: #ccfbf1;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-dark);
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: var(--color-dark);
}

/* ---- FOOTER ---- */
.site-footer {
    background: var(--color-dark);
    color: var(--color-text-white);
    padding: 40px 0 20px;
}

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

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.footer-col p {
    color: #a8a29e;
    font-size: 0.9rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
    color: #a8a29e;
    font-size: 0.9rem;
}
.footer-col ul a:hover { color: var(--color-primary); }

.footer-bottom {
    border-top: 1px solid #292524;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #78716c;
    font-size: 0.85rem;
}

/* ---- WHATSAPP ---- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-dark);
        padding: 80px 30px 30px;
        transition: right var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open { right: 0; }

    .nav-list {
        flex-direction: column;
        gap: 16px;
    }

    .nav-list a {
        font-size: 1rem;
        display: block;
        padding: 10px 16px;
    }

    .hero { padding: 55px 0 50px; }
    .hero h1 { font-size: 1.75rem; }
    .hero-subtitle { font-size: 1rem; }
    .content-section h2 { font-size: 1.45rem; }
    .content-section h3 { font-size: 1.12rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.4rem; }
    .cards-grid, .tips-grid { grid-template-columns: 1fr; }
}
