/*
Theme Name: Vivalda Corporate
Theme URI: https://cabinetvivalda.com
Author: Cabinet Vivalda
Author URI: https://cabinetvivalda.com
Description: Thème WordPress sur mesure pour Cabinet Vivalda — Administrateur de biens et Syndic de copropriétés à Monaco. Groupe Alvi.
Version: 4.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vivalda
Tags: one-page, custom-menu, translation-ready
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --ink: #071E33;
    --bg: #0A2540;
    --cream: #F4ECE0;
    --gold: #D8C7AD;
    --gold-light: #E8DDD0;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #6B7B8D;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(216, 199, 173, 0.15);
    --glass-bg-light: rgba(10, 37, 64, 0.04);
    --glass-border-light: rgba(7, 30, 51, 0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
    --transition: 0.25s ease;
    --max-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    opacity: 1;
    visibility: visible;
}

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    opacity: 1;
    visibility: visible;
}

p, span, div, section, article, main, aside, header, footer, nav {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.label {
    font-family: 'Outfit', 'Helvetica Neue', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 1;
}

.label--dark {
    color: var(--bg);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    opacity: 1;
    visibility: visible;
}

.section {
    padding: 100px 0;
    opacity: 1;
    visibility: visible;
}

.section--dark {
    background-color: var(--bg);
    color: var(--cream);
}

.section--cream {
    background-color: var(--cream);
    color: var(--text-dark);
}

.section--ink {
    background-color: var(--ink);
    color: var(--cream);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    opacity: 1;
    visibility: visible;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn--gold {
    background-color: var(--gold);
    color: var(--ink);
}

.btn--gold:hover {
    background-color: var(--gold-light);
}

.btn--outline {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
}

.btn--outline:hover {
    background-color: rgba(216, 199, 173, 0.1);
}

.btn--outline-dark {
    background: transparent;
    border: 1.5px solid var(--bg);
    color: var(--bg);
}

.btn--outline-dark:hover {
    background-color: rgba(10, 37, 64, 0.06);
}

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

.btn--white:hover {
    background: var(--cream);
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
    opacity: 1;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--ink);
    border-bottom: 1px solid rgba(216, 199, 173, 0.1);
    height: var(--header-height);
    opacity: 1;
    visibility: visible;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 1;
}

.site-logo img {
    height: 44px;
    width: auto;
    opacity: 1;
}

.header-logo-clean {
    height: 48px;
    width: auto;
}

.site-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.02em;
    opacity: 1;
}

.site-logo-tagline {
    font-family: 'Outfit', 'Helvetica Neue', sans-serif;
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
    opacity: 1;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 1;
}

.main-nav a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--cream);
    padding: 8px 18px;
    border-radius: 8px;
    transition: background-color var(--transition), color var(--transition);
    opacity: 1;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(216, 199, 173, 0.1);
    color: var(--gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
    opacity: 1;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: transform var(--transition), opacity var(--transition);
    border-radius: 2px;
    opacity: 1;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    padding: 40px 24px;
    z-index: 999;
    opacity: 1;
    visibility: visible;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--cream);
    padding: 16px 20px;
    border-radius: 10px;
    transition: background-color var(--transition);
    opacity: 1;
}

.mobile-nav a:hover {
    background: rgba(216, 199, 173, 0.1);
    color: var(--gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(160deg, var(--ink) 0%, var(--bg) 100%);
    color: var(--cream);
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 199, 173, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero h1 {
    margin-bottom: 16px;
    color: var(--cream);
    opacity: 1;
}

.hero .tagline {
    font-family: 'Outfit', 'Helvetica Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 1;
}

.hero .description {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 640px;
    color: rgba(244, 236, 224, 0.8);
    opacity: 1;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(160deg, var(--ink) 0%, var(--bg) 100%);
    color: var(--cream);
    opacity: 1;
    visibility: visible;
}

.page-hero .label {
    margin-bottom: 12px;
    display: block;
    opacity: 1;
}

.page-hero h1 {
    opacity: 1;
}

.page-hero .subtitle {
    font-size: 1.1rem;
    color: rgba(244, 236, 224, 0.7);
    margin-top: 16px;
    max-width: 600px;
    opacity: 1;
}

/* ============================================
   GLASS CARDS
   ============================================ */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform var(--transition), box-shadow var(--transition);
    opacity: 1;
    visibility: visible;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.glass-card--light {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border-light);
}

.glass-card--light:hover {
    box-shadow: 0 8px 32px rgba(7, 30, 51, 0.08);
}

.glass-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    opacity: 1;
}

.glass-card .card-icon--gold {
    background: rgba(216, 199, 173, 0.15);
    color: var(--gold);
}

.glass-card .card-icon--dark {
    background: rgba(10, 37, 64, 0.08);
    color: var(--bg);
}

.glass-card h3 {
    margin-bottom: 12px;
    opacity: 1;
}

.glass-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 1;
}

.glass-card ul {
    margin-top: 16px;
    list-style: none;
    opacity: 1;
}

.glass-card ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    opacity: 1;
}

.glass-card ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ============================================
   CARDS GRID
   ============================================ */
.cards-grid {
    display: grid;
    gap: 24px;
    opacity: 1;
    visibility: visible;
}

.cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.cards-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    margin-bottom: 48px;
    opacity: 1;
}

.section-header .label {
    margin-bottom: 12px;
    display: block;
}

.section-header h2 {
    margin-bottom: 16px;
    opacity: 1;
}

.section-header p {
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.7;
    opacity: 1;
}

.section-header--center {
    text-align: center;
}

.section-header--center p {
    margin: 0 auto;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--ink) 0%, var(--bg) 100%);
    color: var(--cream);
    opacity: 1;
    visibility: visible;
}

.cta-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-band h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    opacity: 1;
}

.cta-band .btn-group {
    margin-top: 0;
}

/* ============================================
   SERVICE BLOCKS
   ============================================ */
.service-block {
    padding: 60px 0;
    border-bottom: 1px solid rgba(7, 30, 51, 0.08);
    opacity: 1;
    visibility: visible;
}

.service-block:last-child {
    border-bottom: none;
}

.service-block-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    opacity: 1;
}

.service-block-content h3 {
    margin-bottom: 16px;
    color: var(--ink);
    opacity: 1;
}

.service-block-content .label {
    margin-bottom: 12px;
    display: block;
    color: var(--bg);
}

.service-block-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.8;
    opacity: 1;
}

.service-block-content ul {
    list-style: none;
    opacity: 1;
}

.service-block-content ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 1;
}

.service-block-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 2px;
    background: var(--gold);
}

.service-block-visual {
    opacity: 1;
    visibility: visible;
}

.service-block-visual .glass-card--light {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 1;
}

.service-block-visual .stat {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg);
    margin-bottom: 8px;
    opacity: 1;
}

.service-block-visual .stat-label {
    font-family: 'Outfit', 'Helvetica Neue', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 1;
}

/* ============================================
   VALUES GRID
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    opacity: 1;
    visibility: visible;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    opacity: 1;
    visibility: visible;
}

.value-card .value-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(216, 199, 173, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    opacity: 1;
}

.value-card h4 {
    margin-bottom: 10px;
    color: var(--cream);
    opacity: 1;
}

.value-card p {
    font-size: 0.9rem;
    color: rgba(244, 236, 224, 0.65);
    line-height: 1.6;
    opacity: 1;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    opacity: 1;
    visibility: visible;
}

.about-text h3 {
    color: var(--ink);
    margin-bottom: 16px;
    opacity: 1;
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    opacity: 1;
}

.about-sidebar .glass-card--light {
    opacity: 1;
}

.about-sidebar .info-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(7, 30, 51, 0.06);
    opacity: 1;
}

.about-sidebar .info-item:last-child {
    border-bottom: none;
}

.about-sidebar .info-item .label {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-bottom: 4px;
    display: block;
    opacity: 1;
}

.about-sidebar .info-item span {
    font-weight: 500;
    color: var(--ink);
    opacity: 1;
}

/* ============================================
   EXTRANET SECTION
   ============================================ */
.extranet-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 48px;
    opacity: 1;
    visibility: visible;
}

.extranet-card .card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin: 0 auto 24px;
    font-size: 2rem;
    opacity: 1;
}

.extranet-card h3 {
    margin-bottom: 16px;
    opacity: 1;
}

.extranet-card p {
    margin-bottom: 24px;
    line-height: 1.7;
    opacity: 1;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    opacity: 1;
    visibility: visible;
}

.step {
    text-align: center;
    opacity: 1;
    visibility: visible;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(216, 199, 173, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 1;
}

.step h4 {
    margin-bottom: 8px;
    color: var(--cream);
    opacity: 1;
}

.step p {
    font-size: 0.9rem;
    color: rgba(244, 236, 224, 0.65);
    line-height: 1.6;
    opacity: 1;
}

/* ============================================
   CONTACT GRID
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    opacity: 1;
    visibility: visible;
}

.contact-card {
    text-align: center;
    padding: 48px 32px;
    opacity: 1;
    visibility: visible;
}

.contact-card .card-icon {
    margin: 0 auto 20px;
    opacity: 1;
}

.contact-card h4 {
    margin-bottom: 8px;
    opacity: 1;
}

.contact-card p {
    opacity: 1;
}

.contact-card a {
    color: var(--gold);
    font-weight: 500;
    opacity: 1;
}

.contact-card a:hover {
    color: var(--gold-light);
}

/* ============================================
   ECOSYSTEM SECTION
   ============================================ */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    opacity: 1;
    visibility: visible;
}

.ecosystem-card {
    padding: 40px 32px;
    opacity: 1;
    visibility: visible;
}

.ecosystem-card .label {
    margin-bottom: 8px;
    display: block;
    opacity: 1;
}

.ecosystem-card h3 {
    margin-bottom: 12px;
    color: var(--cream);
    opacity: 1;
}

.ecosystem-card p {
    color: rgba(244, 236, 224, 0.7);
    margin-bottom: 20px;
    line-height: 1.7;
    opacity: 1;
}

.ecosystem-card a.card-link {
    font-family: 'Outfit', 'Helvetica Neue', sans-serif;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 1;
}

.ecosystem-card a.card-link:hover {
    color: var(--gold-light);
}

.ecosystem-card a.card-link::after {
    content: '\2192';
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding: 80px 0 0;
    opacity: 1;
    visibility: visible;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(216, 199, 173, 0.1);
    opacity: 1;
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 1;
}

.footer-col p {
    font-size: 0.9rem;
    color: rgba(244, 236, 224, 0.6);
    line-height: 1.7;
    margin-bottom: 8px;
    opacity: 1;
}

.footer-col a {
    color: rgba(244, 236, 224, 0.6);
    transition: color var(--transition);
    opacity: 1;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-col ul li {
    margin-bottom: 10px;
    opacity: 1;
}

.footer-col ul li a {
    font-size: 0.9rem;
    opacity: 1;
}

.footer-brand {
    margin-bottom: 16px;
    opacity: 1;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(244, 236, 224, 0.6);
    opacity: 1;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: var(--gold);
    opacity: 1;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 1;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(244, 236, 224, 0.4);
    opacity: 1;
}

.footer-cim {
    font-family: 'Outfit', 'Helvetica Neue', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(216, 199, 173, 0.4);
    opacity: 1;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, var(--ink) 0%, var(--bg) 100%);
    color: var(--cream);
    padding-top: var(--header-height);
    opacity: 1;
    visibility: visible;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 1;
}

.error-404 h2 {
    margin-bottom: 16px;
    opacity: 1;
}

.error-404 p {
    color: rgba(244, 236, 224, 0.6);
    margin-bottom: 32px;
    opacity: 1;
}

/* ============================================
   BODY PADDING FOR FIXED HEADER
   ============================================ */
body {
    padding-top: 0;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
    .cards-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid--4,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-block-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 120px 0 64px;
    }

    .page-hero {
        padding: 100px 0 40px;
    }

    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .cards-grid--3,
    .cards-grid--2,
    .cards-grid--4,
    .values-grid,
    .contact-grid,
    .ecosystem-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .cta-band .container {
        flex-direction: column;
        text-align: center;
    }

    .cta-band .btn-group {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .glass-card {
        padding: 32px 24px;
    }

    .extranet-card {
        padding: 40px 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   FIXED COASTLINE BACKDROP & GLASS ENHANCEMENTS
   ============================================ */

/* Monaco coastline background — directly on hero, no double-stacking */
.hero {
  background:
    linear-gradient(160deg, rgba(7,30,51,.55) 0%, rgba(10,37,64,.50) 50%, rgba(7,30,51,.45) 100%),
    url('https://images.unsplash.com/photo-1561768789-ad8f2d165ba0?w=1920&q=80') center/cover no-repeat !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.section--dark { background: var(--bg) !important; }
.section--cream { background: var(--cream) !important; }
.cta-band { background: var(--ink) !important; }
.site-footer { background: var(--ink) !important; }
.site-header { background: rgba(7,30,51,.95) !important; backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); }
.page-hero {
  background:
    linear-gradient(160deg, rgba(7,30,51,.6) 0%, rgba(10,37,64,.55) 100%),
    url('https://images.unsplash.com/photo-1561768789-ad8f2d165ba0?w=1920&q=80') center/cover no-repeat !important;
}

/* Enhanced glass cards */
.glass-card {
  background: rgba(216,199,173,.06) !important;
  backdrop-filter: blur(16px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.2) !important;
  border: 1px solid rgba(216,199,173,.12) !important;
  box-shadow: 0 8px 32px rgba(7,30,51,.12), inset 0 1px 0 rgba(240,229,218,.03) !important;
}
.glass-card:hover {
  border-color: rgba(216,199,173,.25) !important;
  box-shadow: 0 16px 48px rgba(7,30,51,.18) !important;
}

.ecosystem__card {
  background: rgba(216,199,173,.06) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(216,199,173,.1) !important;
}

.section--cream .glass-card,
.section--cream .value-item {
  background: rgba(255,255,255,.7) !important;
  backdrop-filter: blur(8px) !important;
}

.extranet-card {
  background: rgba(216,199,173,.06) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(216,199,173,.15) !important;
}

.btn--primary {
  box-shadow: 0 4px 16px rgba(216,199,173,.2) !important;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
    background: rgba(7, 30, 51, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 0;
    border-top: 1px solid rgba(216, 199, 173, 0.1);
    border-bottom: 1px solid rgba(216, 199, 173, 0.1);
    opacity: 1;
    visibility: visible;
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    opacity: 1;
}

.trust-item {
    font-family: 'Outfit', 'Helvetica Neue', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 1;
}

.trust-item svg {
    stroke: var(--gold);
    flex-shrink: 0;
    opacity: 0.7;
}

.trust-divider {
    color: rgba(216, 199, 173, 0.3);
    font-size: 0.6rem;
}

/* ============================================
   GOLD SECTION DIVIDER
   ============================================ */
.gold-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%);
    opacity: 0.25;
}

/* ============================================
   ACCENT CARDS (colored top bar)
   ============================================ */
.accent-card {
    position: relative;
    overflow: hidden;
    border-top: none !important;
}

.accent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 1;
}

.accent-card--gold::before {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
}

.accent-card--ink::before {
    background: linear-gradient(90deg, var(--ink) 0%, var(--bg) 100%);
}

.accent-card--cream::before {
    background: linear-gradient(90deg, #C4B49A 0%, var(--gold) 100%);
}

/* ============================================
   ECOSYSTEM LOGOS (transparent on dark bg)
   ============================================ */
.ecosystem-logo {
    height: 36px;
    width: auto;
    max-width: 180px;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: var(--white);
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.ecosystem-card:hover .ecosystem-logo {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ============================================
   POLYLANG LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(216, 199, 173, 0.2);
}

.lang-switcher ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-switcher li {
    display: inline;
}

.lang-switcher a {
    font-family: 'Outfit', 'Helvetica Neue', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(244, 236, 224, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    transition: all var(--transition);
}

.lang-switcher a:hover {
    color: var(--gold);
    background: rgba(216, 199, 173, 0.1);
}

.lang-switcher .current-lang a,
.lang-switcher li.current-lang a {
    color: var(--gold);
    background: rgba(216, 199, 173, 0.12);
    font-weight: 600;
}

/* Mobile lang switcher — visible next to hamburger */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switcher--mobile {
    display: none;
    border-left: none;
    margin-left: 0;
    padding-left: 0;
}

@media (max-width: 768px) {
    .lang-switcher--mobile {
        display: flex;
    }
}
