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

:root {
  --bg-color: #FAF8F5; 
  --bg-color-alt: #F4F1EA; 
  --bg-dark: #1A1A1A; 
  --text-primary: #1A1A1A; 
  --text-secondary: #5C5549; 
  --accent-color: #C39953; 
  --accent-hover: #A37E40;
  --border-color: #EADFC8;
  --success-color: #10b981; 
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Playfair Display', serif;
}

html { font-size: 90%; } /* Reduz a escala geral (1 rem = ~14.4px em vez de 16px) */

body { font-family: var(--font-serif); background-color: var(--bg-color); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 600; color: var(--text-primary); }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
a:hover { color: var(--accent-color); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Styled Logo */
.new-logo { font-family: var(--font-serif); color: var(--text-primary) !important; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.new-logo .title { font-size: 2.2rem; letter-spacing: 1px; }
.new-logo .subtitle { font-family: var(--font-sans); font-size: 0.65rem; letter-spacing: 6px; display: flex; align-items: center; margin-top: 0.4rem; font-weight: 400; color: var(--text-secondary); margin-left: 6px;}
.new-logo .subtitle::before, .new-logo .subtitle::after { content: ''; height: 1px; background: var(--text-secondary); width: 25px; margin: 0 15px; opacity: 0.5;}
.new-logo-white .title { color: #fff !important; }
.new-logo-white .subtitle { color: rgba(255,255,255,0.7) !important; }
.new-logo-white .subtitle::before, .new-logo-white .subtitle::after { background: #fff; }

/* Header */
header { padding: 1.5rem 0; background: rgba(250, 248, 245, 0.95); backdrop-filter: blur(10px); position: fixed; width: 100%; top: 0; z-index: 100; border-bottom: 1px solid rgba(234, 223, 200, 0.5); transition: padding 0.3s ease; }
header.shrunk { padding: 0.6rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
header.shrunk .new-logo .title { font-size: 1.6rem; }
header.shrunk .new-logo .subtitle { font-size: 0.55rem; width: 20px; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-family: var(--font-serif); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 400; position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -4px; left: 0; background-color: var(--accent-color); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.mobile-toggle { display: none; background: transparent; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 10px; z-index: 1000; }
.mobile-toggle span { display: block; width: 25px; height: 2px; background-color: var(--text-primary); transition: all 0.3s ease; }

@media (max-width: 900px) {
    .mobile-toggle { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 80%; max-width: 400px; height: 100vh; background: #FAF8F5; flex-direction: column; padding: 6rem 2rem 2rem; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: right 0.4s ease; z-index: 999; }
    .nav-links.nav-active { right: 0; }
    .nav-links a { font-size: 1.1rem; }
    .mobile-toggle.toggle-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle.toggle-active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.toggle-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; text-align: center; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; background-image: url('https://seabras-eventos.com/wp67/wp-content/uploads/2025/12/pag.27-tenda-cristal-1a.jpg'); background-size: cover; background-position: center; background-attachment: fixed; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(26, 26, 26, 0.6) 0%, rgba(26, 26, 26, 0.2) 100%); z-index: 1; }
.hero .container { position: relative; z-index: 2; color: #fff; padding-top: 5rem; }
.hero h1 { font-size: 4.2rem; margin-bottom: 1rem; letter-spacing: 2px; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.95); max-width: 650px; margin: 0 auto 3rem; font-weight: 300; letter-spacing: 1px; line-height: 1.8; }

@media (max-width: 768px) {
    .hero { background-attachment: scroll; min-height: 450px; height: 75vh; background-position: center center; }
    .hero h1, .page-header h1 { font-size: 2.3rem !important; line-height: 1.25; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
    .hero p { font-size: 0.95rem; padding: 0 1rem; margin-bottom: 2rem; }
    .section { padding: 4rem 0 !important; }
    .section-title { font-size: 2.2rem; }
}

.btn { display: inline-block; padding: 1.2rem 3rem; background-color: var(--accent-color); color: #fff; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 600; transition: all 0.4s ease; border: 1px solid var(--accent-color); cursor: pointer;}
.btn:hover { background-color: transparent; color: #fff; border-color: #fff; transform: translateY(-3px); }

/* Global Sections */
.section { padding: 5rem 0; }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 1rem; position: relative; padding-bottom: 1rem; text-transform: uppercase; letter-spacing: 3px; font-weight: 400; }
.section-title::after { content: ''; position: absolute; width: 80px; height: 1px; background: var(--accent-color); bottom: 0; left: 50%; transform: translateX(-50%); }
.section-subtitle { text-align: center; color: var(--text-secondary); font-size: 1rem; max-width: 700px; margin: 0 auto 4rem; line-height: 1.8; }

.split-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .split-section { grid-template-columns: 1fr; gap: 2rem; } }

/* Image Grid Sliders (Replicating User Screenshot) */
.slider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
@media (max-width: 1024px) { .slider-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (max-width: 700px) { .slider-grid { grid-template-columns: 1fr; } }

.slider-card { background: #fff; border-radius: 12px; padding: 2.5rem 2rem; display: flex; flex-direction: column; text-align: left; box-shadow: 0 6px 20px rgba(0,0,0,0.03); }
.sc-title { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 0.8rem; color: var(--text-primary); }
.sc-desc { font-family: var(--font-sans); font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 2.5rem; line-height: 1.6; min-height: 3rem; }

.sc-slider-wrapper { position: relative; width: 100%; aspect-ratio: 1/1; margin-bottom: 1.5rem; display: flex; align-items: center;}
.sc-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 2.5rem; color: #ccc; cursor: pointer; transition: color 0.3s; z-index: 5; }
.sc-arrow:hover { color: var(--text-primary); }
.sc-prev { left: -25px; }
.sc-next { right: -25px; }
.sc-slides { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 8px; }
.sc-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease; border-radius: 8px; }
.sc-slide.active { opacity: 1; z-index: 2; }
.sc-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.sc-dots { display: flex; justify-content: center; gap: 8px; }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; cursor: pointer; transition: background 0.3s; }
.sc-dot.active { background: #666; }

/* Testimonials / Stats */
.testimonial-section { background-image: url('https://seabras-eventos.com/wp67/wp-content/uploads/2025/12/foto-2.destaques.jpg'); background-size: cover; background-position: center; background-attachment: fixed; position: relative; color: #fff; text-align: center; padding: 10rem 0; }
.testimonial-section::before { content:''; position: absolute; inset:0; background: rgba(26, 26, 26, 0.85); z-index: 1;}
.testimonial-section .container { position: relative; z-index: 2; }
.quote-mark { font-size: 5rem; color: var(--accent-color); font-family: var(--font-serif); line-height: 0; margin-bottom: 2rem; display: block; }
.testimonial-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent-color); margin: 0 auto 1.5rem; display: block; }
.testimonial-text { font-size: 1.6rem; font-family: var(--font-serif); font-style: italic; max-width: 800px; margin: 0 auto 1.5rem; line-height: 1.8; font-weight: 300;}
.testimonial-author { font-size: 1rem; color: var(--accent-color); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 2rem; }

.tst-slider-wrapper { position: relative; max-width: 900px; margin: 0 auto; padding: 0 40px; }
.tst-slide { display: none; animation: fadeEffect 1s ease; }
.tst-slide.active { display: block; }
@keyframes fadeEffect { from {opacity: 0;} to {opacity: 1;} }
.tst-arrow { position: absolute; top: 30%; transform: translateY(-50%); background: none; border: none; font-size: 3rem; color: rgba(255,255,255,0.4); cursor: pointer; transition: color 0.3s; z-index: 5; }
.tst-arrow:hover { color: #fff; }
.tst-prev { left: -20px; }
.tst-next { right: -20px; }

/* Stats inline */
.stats-row { display: flex; justify-content: space-around; flex-wrap: wrap; margin-top: 5rem; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 4rem; }
.stat-box h3 { color: var(--accent-color); font-size: 4rem; margin-bottom: 0px; font-weight: 400; line-height:1;}
.stat-box p { font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; margin-top: 0.5rem;}

/* Formulários */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom:1.5rem; }
.form-grid.single { grid-template-columns: 1fr; }
.form-grid label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 1px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    margin-bottom: 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(195, 153, 83, 0.15);
}
textarea {
    resize: vertical;
    min-height: 140px;
}
    
@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* Bloco Destaques Visuais (Propostas Únicas) */
.features-container {
    max-width: 1200px;
    margin: 4rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.features-header {
    background-color: var(--accent-color); /* Sand / Gold color */
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.features-header h2 {
    color: #fff;
    font-size: 2.5rem;
    font-family: var(--font-serif);
    font-weight: 400;
    max-width: 600px;
    line-height: 1.3;
}
.features-header .btn-white {
    background: #fff;
    color: var(--accent-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}
.features-header .btn-white:hover {
    transform: translateY(-2px);
}
.features-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.features-left {
    background-color: #4A3525; /* Lighter Brown */
    padding: 4rem;
    color: #fff;
    border-radius: 0 0 0 12px;
}
.features-left h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #EADFC8; /* Light sand for contrast */
}
.features-left p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
    font-size: 1rem;
}
.features-left .carousel-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.features-left img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}
.features-right {
    background-color: #fdfaf6; /* Cream color */
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}
.feature-item {
    border-bottom: 1px solid rgba(195, 153, 83, 0.2);
    padding-bottom: 2rem;
}
.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.feature-item h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 0.5rem;
}
.feature-item p {
    font-family: var(--font-serif); /* To look more cursive/classic as requested */
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.5;
    white-space: pre-wrap; /* Keeps line breaks from the backoffice textarea */
}

@media (max-width: 900px) {
    .features-header { padding: 2rem; text-align: center; justify-content: center; }
    .features-header h2 { font-size: 2rem; }
    .features-body { grid-template-columns: 1fr; }
    .features-left { border-radius: 0; padding: 2.5rem; }
    .features-right { padding: 2.5rem; }
}

/* Equipa Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.team-member {
    text-align: center;
}
.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.team-member h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.team-member p {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Footer */
footer { background: var(--bg-dark); color: #fff; text-align: center; padding: 6rem 0 3rem; }
