/* 
   Revita Pet - Style System
   Theme: Modern, Organic, Warm, "Boas Festas"
*/

:root {
    /* Color Palette */
    --color-bg-body: #F9F6F2;
    /* Warm Sand */
    --color-bg-card: #FFFFFF;
    /* White */
    --color-bg-secondary: #F0EBE5;
    /* Light Beige for sections */

    --color-text-primary: #4E443C;
    /* Earth Brown */
    --color-text-secondary: #7A6F66;
    /* Lighter Brown */

    --color-accent-green: #6B8E23;
    /* Moss Green - Vitality */
    --color-accent-red: #BC5D58;
    /* Muted Red - Holiday/Warmth */

    --color-whatsapp: #25D366;
    --color-instagram: #E1306C;

    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Nunito', sans-serif;

    /* Spacing & Layout */
    --container-width: 800px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-pill: 50px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg-body);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
}

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

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

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-container img {
    height: 120px;
    /* Increased size */
    width: auto;
}

.header-tagline {
    font-size: 0.9rem;
    color: var(--color-accent-green);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: none;
    /* Hidden on very small screens, shown on md+ */
}

@media (min-width: 768px) {
    .header-tagline {
        display: block;
    }
}

/* Section Common */
section {
    padding: 4rem 0;
}

.section-badge {
    display: inline-block;
    background-color: rgba(107, 142, 35, 0.1);
    color: var(--color-accent-green);
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Section */
.video-section {
    text-align: center;
    padding-top: 3rem;
}

.video-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.video-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(78, 68, 60, 0.1);
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Message Section */
.message-section {
    padding-top: 2rem;
}

.message-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(78, 68, 60, 0.03);
    position: relative;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.message-card::before {
    /* Decorative top accent */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent-red);
    border-radius: 0 0 10px 10px;
}

.message-title {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--color-accent-red);
}

.message-body p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--color-text-primary);
    text-align: left;
    /* Better readability for proper letters */
}

/* Center text on mobile if preferred, but specifically for letters left alignment usually looks better structurally, 
   however for a landing page center might feel more "card-like". Let's keep left for body but center container. */
.message-body {
    max-width: 90%;
    margin: 0 auto;
}

.highlight-holiday {
    font-weight: 700;
    color: var(--color-accent-green);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    text-align: center;
}

.signature {
    margin-top: 2.5rem;
    text-align: center;
}

.signature p {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-align: center;
}

.doctor-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-bg-secondary);
    margin-top: 2rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    /* Soft curve top */
    padding: 4rem 1rem;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 600px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn i {
    font-size: 1.2rem;
}

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

.btn-whatsapp:hover {
    background-color: #1ebc57;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
    background-color: white;
    color: var(--color-instagram);
    border: 2px solid var(--color-instagram);
}

.btn-instagram:hover {
    background-color: var(--color-instagram);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.2);
}

/* Footer */
.site-footer {
    background-color: var(--color-bg-secondary);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive Tweaks */
@media (max-width: 480px) {
    .video-title {
        font-size: 1.5rem;
    }

    .message-card {
        padding: 2rem 1.5rem;
    }

    .logo-container img {
        height: 80px;
    }
}

/* Doctor Photo */
.doctor-photo {
    display: block;
    margin: 0 auto 1.5rem auto;
    width: 180px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.doctor-photo:hover {
    transform: scale(1.05) rotate(2deg);
}

@media (min-width: 768px) {
    .doctor-photo {
        width: 220px;
        /* Optional: If we wanted it absolute, we could do it here, but centered is safer for text readability */
    }
}