/* ===== IMPORTS & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

/* ===== COLOR PALETTE (from Identity) ===== */
:root {
    --soft-embrace: #d3b5b7;
    --steady-presence: #c9c1bc;
    --quiet-listening: #f4e9da;
    --grounded-comfort: #d7b899;
    --calm-light: #f4efeb;
    --accent-rosé: #e8d5d5;
    --text-dark: #4a3f3d;
    --text-light: #7a6d6a;
    --border-light: #e8ddd8;
    --white: #ffffff;
}

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--calm-light);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--soft-embrace);
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--soft-embrace);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--soft-embrace);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    list-style: none;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-light);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.9rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--quiet-listening);
    color: var(--soft-embrace);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        box-shadow: none;
        background-color: var(--quiet-listening);
        margin-top: 0;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--calm-light) 0%, var(--quiet-listening) 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23d3b5b7" opacity="0.05"/><circle cx="80" cy="50" r="1.5" fill="%23d3b5b7" opacity="0.05"/><circle cx="50" cy="80" r="1" fill="%23d3b5b7" opacity="0.05"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.divider-svg {
    width: 120px;
    height: 30px;
    margin: 0 auto;
}

/* ===== HERO LOGO SECTION ===== */
.hero-logo {
    min-height: 90vh;
    background: linear-gradient(180deg, var(--white) 0%, var(--calm-light) 100%);
}

.hero-logo-img {
    max-width: 600px;
    width: 90%;
    height: auto;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTIONS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 2rem;
}

.section.alternate {
    background-color: var(--quiet-listening);
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--soft-embrace) 50%, transparent 100%);
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-button {
    background-color: var(--white);
    border: 2px solid var(--steady-presence);
    color: var(--text-dark);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    border-color: var(--soft-embrace);
    color: var(--soft-embrace);
}

.tab-button.active {
    background-color: var(--soft-embrace);
    border-color: var(--soft-embrace);
    color: var(--white);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

.about-teaser {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.about-teaser p {
    margin-bottom: 1.2rem;
}

.teaser-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--soft-embrace);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.teaser-link:hover {
    color: var(--grounded-comfort);
}

#a-filipa .a-filipa-details {
    display: none;
    margin-top: 1.5rem;
}

#a-filipa .a-filipa-details.revealed {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--soft-embrace);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.service-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.service-card ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.service-price {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.service-price strong {
    color: var(--soft-embrace);
    font-size: 1.3rem;
}

/* ===== LOCATION SECTION ===== */
.location-content {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ===== CONTACT SECTION ===== */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--soft-embrace);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-form-container h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--soft-embrace);
    box-shadow: 0 0 0 3px rgba(211, 181, 183, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--soft-embrace);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--grounded-comfort);
    box-shadow: 0 4px 12px rgba(211, 181, 183, 0.3);
}

.btn-submit:active {
    transform: scale(0.98);
}

/* ===== INSIGHTS SECTION ===== */
.insights-placeholder {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.insights-placeholder p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

.footer p {
    color: var(--white);
}

/* ===== ACCESSIBILITY & SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

a {
    color: var(--soft-embrace);
}

a:visited {
    color: var(--grounded-comfort);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 1.5rem 2rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    z-index: 999;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner.hidden {
    display: none;
}

.cookie-message {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-message a {
    color: var(--soft-embrace);
    text-decoration: underline;
    cursor: pointer;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: var(--soft-embrace);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background-color: var(--grounded-comfort);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.cookie-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===== MOBILE COOKIE BANNER ===== */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1rem;
        bottom: 0;
    }

    .cookie-message {
        font-size: 0.85rem;
        text-align: center;
        order: 1;
    }

    .cookie-message p {
        margin: 0;
    }

    .cookie-buttons {
        order: 2;
        width: 100%;
        gap: 0.75rem;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .cookie-policy-content {
        padding: 1.5rem;
        max-width: 90vw;
    }

    .cookie-policy-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .cookie-policy-content p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
}

/* ===== SERVICES ACCORDION ===== */
.services-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.accordion-button:hover {
    background-color: var(--calm-light);
    color: var(--soft-embrace);
}

.accordion-button.active {
    background-color: var(--soft-embrace);
    color: var(--white);
}

.accordion-button .price {
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 1rem;
}

.accordion-button::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.accordion-button.active::after {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 1000px;
}

.accordion-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.accordion-body p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.accordion-body ul {
    margin-left: 2.5rem;
    margin-bottom: 1rem;
}

.accordion-body ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .nav-container {
        padding: 0 0.8rem  0 0;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .logo-img {
        height: 65px;
    }

    .nav-menu {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .tabs {
        gap: 0.5rem;
    }

    .tab-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .formation-list li {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .content-box {
        padding: 1.5rem;
    }

    .about-teaser {
        padding: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 1rem;
    }

    .nav-container {
        padding: 0 0.8rem  0 0
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .hero {
        min-height: 50vh;
        padding: 2rem 1rem;
    }

    .divider-svg {
        width: 80px;
        height: 20px;
    }
}
