/*
Theme Name: Groupe Alvi
Theme URI: https://groupealvi.com
Author: Groupe Alvi
Author URI: https://groupealvi.com
Description: Theme officiel du Groupe Alvi - Groupe immobilier de la Principaute de Monaco. Pacific Agency & Cabinet Vivalda depuis 1957.
Version: 1.0.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: groupe-alvi
Tags: real-estate, monaco, corporate, one-page
*/

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

:root {
    --navy: #071E33;
    --navy-light: #0D2E4A;
    --navy-dark: #041525;
    --gold: #D8C7AD;
    --gold-light: #E8DBC9;
    --gold-dark: #C4B094;
    --white: #FFFFFF;
    --text-light: #E8E8E8;
    --glass-bg: rgba(7, 30, 51, 0.65);
    --glass-border: rgba(216, 199, 173, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Barlow', Arial, sans-serif;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--white);
    background-color: var(--navy-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Coastline background - fixed scenic image (Monaco night, brand arc motif) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(4, 21, 37, 0.82) 0%, rgba(7, 30, 51, 0.78) 45%, rgba(4, 21, 37, 0.88) 100%),
        url('assets/background.jpg') center / cover no-repeat var(--navy-dark);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(216, 199, 173, 0.015) 2px,
            rgba(216, 199, 173, 0.015) 4px
        );
    z-index: -1;
    pointer-events: none;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
}

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

/* ========================================
   GLASSMORPHISM CARDS
   ======================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 30, 51, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a.current::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--gold);
    margin: 6px 0;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(4, 21, 37, 0.4) 100%);
    pointer-events: none;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.hero-title span {
    color: var(--gold);
}

.hero-divider {
    width: 80px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem auto;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 1px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CREDENTIALS BAR
   ======================================== */
.credentials-bar {
    background: rgba(7, 30, 51, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem 0;
}

.credentials-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.credential-item {
    text-align: center;
}

.credential-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
    display: block;
    margin-bottom: 0.25rem;
}

.credential-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-header .gold-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ========================================
   ENTITY CARDS
   ======================================== */
.entities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.entity-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 3rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.entity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.entity-logo {
    width: 200px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.entity-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.entity-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.entity-info {
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-light);
}

.entity-info div {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.entity-info .info-icon {
    color: var(--gold);
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    margin-top: 2px;
}

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

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-inner {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 4rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-inner p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-gold:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(216, 199, 173, 0.3);
}

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

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

/* ========================================
   HISTORY / LE GROUPE
   ======================================== */
.history-timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 3rem;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--glass-border) 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--navy);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card h4 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

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

/* ========================================
   PRESIDENT BIO
   ======================================== */
.president-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.president-photo {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.president-photo .initials {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--navy);
    font-weight: 600;
}

.president-photo h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.president-photo .title {
    color: var(--gold);
    font-size: 0.9rem;
    font-style: italic;
}

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

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
}

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

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form select option {
    background: var(--navy);
    color: var(--white);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}

.contact-info-card h4 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

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

/* Form messages */
.form-success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: #81C784;
    margin-bottom: 1.5rem;
}

.form-error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: #E57373;
    margin-bottom: 1.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: rgba(4, 21, 37, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 0;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-col p,
.footer-col li {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 2;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: var(--text-light);
    transition: color var(--transition);
}

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

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(232, 232, 232, 0.5);
    margin: 0;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(4, 21, 37, 0.97);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    z-index: 9999;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-inner p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
}

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

.cookie-accept {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background var(--transition);
}

.cookie-accept:hover {
    background: var(--gold-light);
}

.cookie-decline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition);
}

.cookie-decline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ========================================
   404 PAGE
   ======================================== */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem;
}

.page-404 h1 {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--gold);
    letter-spacing: 10px;
    line-height: 1;
    margin-bottom: 1rem;
}

.page-404 h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.page-404 p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ========================================
   PAGE BANNER (inner pages)
   ======================================== */
.page-banner {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.page-banner h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-banner .gold-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1.5rem auto;
}

.page-banner p {
    font-size: 1.15rem;
    color: var(--text-light);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SERVICES PAGE DETAILED
   ======================================== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

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

.service-detail-content ul {
    list-style: none;
    margin-top: 1.5rem;
}

.service-detail-content ul li {
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-detail-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.service-detail-visual {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.service-detail-visual .service-big-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.service-detail-visual h4 {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.2rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 5px;
    }

    .about-content,
    .contact-grid,
    .service-detail,
    .president-section {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }

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

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

    .page-banner h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #071E33;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .credentials-grid {
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .credentials-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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


/* SVG line icons (replace emoji) */
.service-icon, .value-icon, .service-big-icon {
    color: var(--gold);
    display: inline-block;
    line-height: 0;
}
.service-icon svg, .value-icon svg {
    width: 44px;
    height: 44px;
}
.service-big-icon svg {
    width: 64px;
    height: 64px;
}

/* Tighter rhythm for stacked service sections */
.section-tight {
    padding: 48px 0;
}


/* Team directory (contact page) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem 2rem;
}
.team-member {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.8rem 1rem;
    border-left: 2px solid var(--glass-border);
}
.team-member strong {
    color: var(--white);
    font-weight: 500;
}
.team-member span {
    color: var(--text-light);
    font-size: 0.85rem;
}
.team-member .team-tel {
    color: var(--gold);
    font-size: 0.8rem;
}
@media (max-width: 900px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
}
.form-consent span { color: var(--text-light); }


/* ISO certification & metier grids */
@media (max-width: 768px) {
    .section .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}


/* Logo in hero and footer */
.hero-logo-title {
    margin-bottom: 0.5rem;
    line-height: 0;
}
.hero-logo {
    width: min(440px, 78vw);
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 4px 24px rgba(0, 0, 0, 0.45));
}
.footer-logo {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 1rem;
    display: block;
}


/* Language picker */
.lang-picker {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 2rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--glass-border);
}
.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0.2rem 0.3rem;
    transition: color var(--transition);
}
.lang-btn.active {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}
.lang-btn:hover { color: var(--white); }
.lang-sep { color: var(--glass-border); }
@media (max-width: 768px) {
    .lang-picker {
        margin-left: auto;
        margin-right: 1rem;
        padding-left: 0;
        border-left: none;
    }
}

/* Entity phone in team headings */
.team-entity-tel {
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--gold);
    margin-left: 1rem;
    white-space: nowrap;
}
