/* ============================================
   Domiciliation Roumanie - Front
   Fonts: Poppins + Montserrat
   Colors: #114f9e (blue), #3c8f69 (red)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* === Variables === */
:root {
    --blue: #114f9e;
    --red: #3c8f69;
    --dark: #252525;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 28px;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-red { color: var(--red); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Top bar */
.header-top {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    font-size: 14px;
}
.header-top .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.header-top .phone-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--dark);
}
.header-top .phone-info img {
    display: inline-block;
    width: 24px;
    height: auto;
    vertical-align: middle;
}
.header-top .phone-info a {
    color: var(--dark);
}
.header-top .phone-info a:hover {
    color: var(--red);
}
.header-top .slogan {
    font-weight: 700;
}

/* Main header */
.header-main {
    padding: 10px 0;
}
.header-main .container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img {
    height: 80px;
    width: auto;
}

/* Navigation */
.header-nav {
    background: var(--white);
    border-top: 1px solid #eee;
}
.header-nav .container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-nav ul {
    display: flex;
    gap: 0;
}
.main-nav li a {
    display: block;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: 0;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}
.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--red);
    transition: var(--transition);
}
.main-nav li a:hover { color: var(--red); text-decoration: none; }
.main-nav li a:hover::after { width: 60%; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark);
    padding: 10px;
}
.mobile-nav,
.mobile-overlay {
    display: none;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide.active {
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Text card (rounded dark bg) */
.hero-text-card {
    background: rgba(200,52,60,0.82);
    border-radius: 25px;
    padding: 45px 40px;
    max-width: 520px;
    color: var(--white);
}
.hero-text-dark {
    background: rgba(30,30,30,0.82);
}
.hero-text-card h1,
.hero-text-card .hero-h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--white);
}
.hero-line {
    width: 200px;
    height: 5px;
    background: var(--blue);
    margin-bottom: 20px;
}
.hero-line-red {
    background: var(--red);
}
.hero-text-card p {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.95;
}
.btn-hero {
    display: inline-block;
    padding: 12px 35px;
    background: var(--blue);
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    border: 2px solid var(--blue);
    border-radius: 3px;
    transition: var(--transition);
    margin-top: 5px;
}
.btn-hero:hover {
    background: var(--white);
    color: var(--blue);
}
.btn-hero-red {
    background: var(--red);
    border-color: var(--red);
}
.btn-hero-red:hover {
    background: var(--white);
    color: var(--red);
}

/* Price card (single) */
.hero-price-card {
    background: rgba(16,68,116,0.88);
    border-radius: 20px;
    padding: 35px 40px;
    color: var(--white);
    text-align: center;
    min-width: 280px;
    backdrop-filter: blur(5px);
}
.hero-price-red-card {
    background: rgba(200,52,60,0.75);
    backdrop-filter: blur(5px);
}
.hero-price-card .price-label {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.hero-price-card .price-type {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}
.hero-price-card .price-sub {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 10px;
}
.hero-price-card .price-amount {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    margin: 10px 0;
}
.hero-price-card .price-currency {
    font-size: 40px;
    vertical-align: super;
    font-weight: 700;
}
.hero-price-card .price-ht {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.8;
}

/* Price badges duo (slide 2) */
.hero-prices-duo {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.hero-price-badge {
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    min-width: 200px;
    backdrop-filter: blur(5px);
}
.hero-price-red { background: rgba(200,52,60,0.85); }
.hero-price-blue-badge { background: rgba(16,68,116,0.85); }
.hero-price-badge .badge-top {
    padding: 15px 20px 5px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
}
.hero-price-badge .badge-top small {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
}
.hero-price-badge .price-amount {
    font-size: 70px;
    font-weight: 800;
    line-height: 1;
    padding: 5px 20px;
}
.hero-price-badge .price-currency {
    font-size: 30px;
    vertical-align: super;
}
.hero-price-badge .price-period {
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}
.hero-price-badge .badge-bottom {
    padding: 10px 20px 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: none;
    font-size: 40px;
    width: 50px;
    height: 70px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-arrow:hover {
    background: rgba(255,255,255,0.3);
}
.hero-arrow-left { left: 0; border-radius: 0 5px 5px 0; }
.hero-arrow-right { right: 0; border-radius: 5px 0 0 5px; }

/* Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.hero-slider-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
.hero-slider-dots .dot.active {
    background: var(--white);
}

/* ============================================
   SECTION : CHOOSE
   ============================================ */
.section-choose {
    padding: 60px 0 40px;
}
.choose-title {
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    color: #000;
    line-height: 1.3;
    margin-bottom: 15px;
}
.choose-title a { color: var(--red); }
.choose-title a:hover { text-decoration: underline; }
.choose-line {
    width: 50%;
    height: 2px;
    background: #000;
    margin: 0 auto 50px;
}

/* Features */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 50px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}
.feature-icon {
    flex-shrink: 0;
    width: 120px;
    display: flex;
    justify-content: center;
}
.feature-icon img {
    max-width: 107px;
}
.feature-text h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 8px;
}
.feature-text p {
    color: var(--dark);
    line-height: 1.7;
}

/* CTA Expert */
.cta-expert {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px 0;
}
.cta-expert-image {
    flex-shrink: 0;
}
.cta-expert-image img {
    max-width: 400px;
}
.cta-expert-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.4;
}
.cta-expert-text p {
    color: var(--gray);
}

/* ============================================
   SECTION : BOOST
   ============================================ */
.section-boost {
    background: var(--blue);
    padding: 60px 0;
    color: var(--white);
}
.section-boost h2 {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}
.boost-content {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}
.boost-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    opacity: 0.95;
}
.boost-why {
    max-width: 800px;
    margin: 0 auto;
}
.boost-why h3 {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
}
.why-items {
    margin-bottom: 30px;
}
.why-item {
    margin-bottom: 15px;
}
.why-item p {
    line-height: 1.7;
    opacity: 0.95;
}
.btn-cta {
    display: inline-block;
    padding: 14px 50px;
    background: var(--blue);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}
.btn-cta:hover {
    background: var(--white);
    color: var(--blue);
}

/* ============================================
   SECTION : INSTALL BAR
   ============================================ */
.section-install {
    background: var(--red);
    padding: 25px 0;
}
.install-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.install-bar h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}
.btn-client {
    display: inline-block;
    padding: 12px 30px;
    background: var(--blue);
    color: var(--white);
    border-radius: 3px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-client:hover {
    background: var(--white);
    color: var(--blue);
}

/* ============================================
   SECTION : BLOG HOME
   ============================================ */
.section-blog {
    padding: 75px 0 50px;
}
.section-blog h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
    line-height: 1.3;
}
.blog-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.blog-home-featured {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
}
.blog-home-card {
    background: var(--white);
    border: 1px solid #eee;
    overflow: hidden;
}
.blog-home-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}
.blog-home-featured .blog-home-photo {
    flex: 1;
    overflow: hidden;
}
.blog-home-featured .blog-home-photo img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}
.blog-home-card:hover .blog-home-photo img {
    transform: scale(1.03);
}
.blog-home-desc {
    padding: 20px;
}
.blog-home-desc h3,
.blog-home-desc h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}
.blog-home-desc h3 a,
.blog-home-desc h4 a {
    color: var(--dark);
}
.blog-home-desc h3 a:hover,
.blog-home-desc h4 a:hover {
    color: var(--red);
}
.blog-home-date {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}
.blog-home-desc p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}
.btn-articles {
    display: inline-block;
    padding: 12px 30px;
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
}
.btn-articles:hover {
    background: var(--dark);
    color: var(--white);
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
    background: var(--blue);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}
.page-header p {
    opacity: 0.8;
    font-size: 18px;
}

/* ============================================
   PAGE CONTENT (dynamic pages)
   ============================================ */
.section { padding: 60px 0; }
.section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    color: #000;
}
.section-grey { background: var(--light-gray); }
.container-narrow { max-width: 800px; }

.page-content { font-size: 16px; line-height: 1.8; }
.page-content h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--blue);
    margin: 40px 0 15px;
    line-height: 1.3;
}
.page-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 30px 0 12px;
    line-height: 1.3;
}
.page-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 25px 0 10px;
}
.page-content p { margin-bottom: 15px; }
.page-content ul, .page-content ol { margin-bottom: 15px; padding-left: 30px; }
.page-content ul li, .page-content ol li {
    margin-bottom: 6px;
    line-height: 1.7;
}
.page-content ul li { list-style-type: disc; }
.page-content ol li { list-style-type: decimal; }
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}
.page-content img.aligncenter,
.page-content .text-center img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.page-content img.alignleft {
    float: left;
    margin: 5px 20px 15px 0;
    max-width: 45%;
}
.page-content img.alignright {
    float: right;
    margin: 5px 0 15px 20px;
    max-width: 45%;
}
.page-content a { color: var(--blue); text-decoration: underline; }
.page-content a:hover { color: var(--red); }
.page-content blockquote {
    border-left: 4px solid var(--blue);
    padding: 15px 20px;
    margin: 20px 0;
    background: var(--light-gray);
    font-style: italic;
    color: var(--gray);
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.page-content table th,
.page-content table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-align: left;
}
.page-content table th {
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
}
.page-content table tr:nth-child(even) {
    background: var(--light-gray);
}
.page-content hr {
    border: none;
    border-top: 2px solid #eee;
    margin: 30px 0;
}
.page-content strong { font-weight: 700; }
.page-content em { font-style: italic; }
.page-content .clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* FAQ accordion (imported from WP) */
.page-content .accordion {
    background: var(--white);
    color: #000;
    cursor: pointer;
    padding: 16px 45px 16px 18px;
    width: 100%;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0;
    position: relative;
    transition: var(--transition);
}
.page-content .accordion:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.page-content .accordion::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: var(--blue);
}
.page-content .accordion.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.page-content .accordion.active::after {
    content: '\2212';
    color: var(--white);
}
.page-content .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--light-gray);
    border: 1px solid #eee;
    border-top: none;
}
.page-content .panel p {
    padding: 5px 18px;
}
.page-content .panel.open {
    max-height: 500px;
}

/* ============================================
   BLOG LIST
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.blog-card {
    background: var(--white);
    border: 1px solid #eee;
    overflow: hidden;
    transition: var(--transition);
}
.blog-card:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-content { padding: 20px; }
.blog-card-content h2, .blog-card-content h3 { font-size: 18px; margin-bottom: 8px; }
.blog-card-content h2 a, .blog-card-content h3 a { color: var(--dark); }
.blog-card-content h2 a:hover, .blog-card-content h3 a:hover { color: var(--red); }
.blog-card-content p { color: var(--gray); font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
.blog-meta { display: flex; gap: 15px; font-size: 13px; color: #999; align-items: center; flex-wrap: wrap; }

/* Blog Categories Nav */
.blog-categories-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.blog-category-link {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
}
.blog-category-link:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.blog-category-link.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* Blog Category Badge */
.blog-category-badge {
    display: inline-block;
    padding: 3px 12px;
    background: var(--blue);
    color: #fff !important;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.blog-category-badge:hover {
    background: var(--red);
}

/* Blog Single */
.blog-single { padding: 50px 0; }
.blog-single-header { margin-bottom: 30px; }
.blog-single-header h1 { font-size: 32px; color: #000; margin-bottom: 10px; }
.blog-featured-image { width: 100%; border-radius: 5px; margin-bottom: 30px; }
.blog-content { font-size: 16px; line-height: 1.8; }
.blog-content h2, .blog-content h3 { margin: 25px 0 12px; color: #000; }
.blog-content p { margin-bottom: 15px; }
.blog-content ul, .blog-content ol { margin-bottom: 15px; padding-left: 30px; }
.blog-single-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }

/* Blog Single Layout with Sidebar */
.blog-single-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}
.sidebar-badge {
    border-radius: 50%;
    width: 220px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s;
}
.sidebar-badge:hover {
    transform: scale(1.05);
}
.sidebar-badge a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    text-align: center;
    padding: 20px;
}
.sidebar-badge .badge-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.sidebar-badge .badge-title {
    font-size: 12px;
    margin-bottom: 5px;
}
.sidebar-badge .badge-price {
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
}
.sidebar-badge .badge-currency {
    font-size: 24px;
    vertical-align: super;
}
.sidebar-badge .badge-ht {
    font-size: 13px;
    font-weight: 600;
}
.sidebar-badge-yellow { background: #e8a817; }
.sidebar-badge-green { background: #2d8a4e; }
.sidebar-badge-red { background: #3c8f69; }
.sidebar-badge-red-dark { background: #b22d35; }

@media (max-width: 900px) {
    .blog-single-layout { grid-template-columns: 1fr; }
    .blog-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        position: static;
        gap: 10px;
    }
    .sidebar-badge { width: 100px; height: 100px; }
    .sidebar-badge a { padding: 5px; }
    .sidebar-badge .badge-label { font-size: 6px; letter-spacing: 0.5px; line-height: 1; }
    .sidebar-badge .badge-title { font-size: 6px; margin-bottom: 0; line-height: 1.2; }
    .sidebar-badge .badge-price { font-size: 22px; line-height: 1; }
    .sidebar-badge .badge-currency { font-size: 11px; }
    .sidebar-badge .badge-ht { font-size: 6px; line-height: 1; }
}

/* ============================================
   CONTACT FORM
   ============================================ */
/* Contact page layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.contact-main h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 15px;
}
.contact-main > p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 10px;
}
.contact-info-card {
    background: var(--blue);
    color: var(--white);
    border-radius: 15px;
    padding: 30px 25px;
    position: sticky;
    top: 180px;
}
.contact-info-card h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}
.contact-info-card .info-item {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
}
.contact-info-card .info-item strong {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}
.contact-info-card a {
    color: var(--white);
    text-decoration: underline;
}
.contact-info-card a:hover {
    opacity: 0.8;
}
@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info-card { position: static; }
}

.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; color: var(--dark); font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark);
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(16,68,116,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.btn { display: inline-block; cursor: pointer; transition: var(--transition); border: none; }
.btn-primary {
    padding: 14px 35px;
    background: var(--blue);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
}
.btn-primary:hover { background: var(--red); color: var(--white); }

/* Alerts */
.alert { padding: 15px 20px; margin-bottom: 25px; font-size: 15px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* 404 */
.error-title { font-size: 100px; color: #ddd; font-weight: 700; margin-bottom: 15px; }
.error-text { font-size: 20px; color: var(--gray); margin-bottom: 30px; }

/* ============================================
   PAGE COMPONENTS (shared across dynamic pages)
   ============================================ */

/* --- Hero banner (featured image) --- */
.page-hero-banner {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .page-hero-banner { height: 250px; }
}

/* --- Intro centered --- */
.page-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding-top: 10px;
}
.page-intro h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 15px;
    line-height: 1.3;
}
.page-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray);
}

/* --- Full-width image --- */
.page-visual {
    margin: 30px 0;
    text-align: center;
}
.page-visual .full-image {
    max-width: 90%;
    border-radius: 10px;
    margin: 0 auto;
}

/* --- 3 icons row --- */
.page-icons-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.page-icons-row .icon-col {
    text-align: center;
}
.page-icons-row .icon-col img {
    max-height: 80px;
    width: auto;
    margin: 0 auto 12px;
}
.page-icons-row .icon-col h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.page-icons-row .icon-col p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    max-width: 350px;
    margin: 0 auto;
}
.page-icons-row .icon-col {
    flex: 1;
    max-width: 400px;
    padding: 20px 15px;
}

/* --- Feature duo (icon + text, 2 columns) --- */
.page-features-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}
.feature-duo-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: var(--transition);
}
.feature-duo-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.feature-duo-icon {
    flex-shrink: 0;
}
.feature-duo-icon img {
    width: 60px;
    height: auto;
}
.feature-duo-text h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
}
.feature-duo-text p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);
}

/* --- 3 columns (1/3 + 1/3 + 2/3) --- */
.page-columns-3 {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    align-items: center;
    margin: 40px 0;
}
.page-columns-3 .col-img {
    text-align: center;
}
.page-columns-3 .col-img img {
    max-width: 100%;
    border-radius: 10px;
}
.page-columns-3 .col-text-wide h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
}
.page-columns-3 .col-text-wide p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray);
}
@media (max-width: 768px) {
    .page-columns-3 { grid-template-columns: 1fr; }
}

/* --- Text centered section --- */
.page-text-centered {
    max-width: 850px;
    margin: 40px auto;
    text-align: center;
}
.page-text-centered h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
    line-height: 1.3;
}
.page-text-centered p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 12px;
}
/* Variant with grey bg applied via inline style */
.page-text-centered[style*="background"] {
    max-width: none;
    border-radius: 0;
    padding: 50px 30px;
}
.page-text-centered[style*="background"] h2,
.page-text-centered[style*="background"] p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Split (text + image, 50/50) --- */
.page-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}
.split-text h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 15px;
    line-height: 1.3;
}
.split-text h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 15px;
}
.split-text p {
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 15px;
}
.split-text ul {
    padding-left: 5px;
    margin: 15px 0;
}
.split-text ul li {
    padding: 6px 0;
    line-height: 1.6;
    list-style: none;
    font-size: 15px;
}
.split-text ul li strong {
    color: var(--dark);
}
.split-image {
    text-align: center;
    padding: 10px;
}
.split-image img {
    max-width: 100%;
    max-height: 450px;
    border-radius: 10px;
    height: auto;
    object-fit: contain;
}

/* Arrow list */
.arrow-list {
    padding-left: 0;
}
.arrow-list li {
    position: relative;
    padding: 8px 0 8px 25px;
    line-height: 1.6;
    border-bottom: 1px solid #eee;
    list-style: none;
}
.arrow-list li:last-child { border-bottom: none; }
.arrow-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}

/* --- CTA duo (2 boxes side by side) --- */
.page-cta-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 50px 0 30px;
}
.cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}
.cta-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--white);
    text-decoration: none;
}
.cta-box h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}
.cta-box-blue { background: var(--blue); }
.cta-box-red { background: var(--red); }
.cta-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid var(--white);
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--white);
}
.cta-box:hover .cta-btn {
    background: var(--white);
    color: var(--blue);
}
.cta-box-red:hover .cta-btn {
    color: var(--red);
}

/* --- CTA pill buttons (side by side) --- */
.page-cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 50px 0 30px;
}
.cta-pill {
    display: block;
    text-align: center;
    padding: 18px 30px;
    border-radius: 50px;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
    text-decoration: none !important;
}
.cta-pill:hover {
    opacity: 0.85;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.cta-pill-blue { background: var(--blue); }
.cta-pill-red { background: var(--red); }

@media (max-width: 768px) {
    .page-cta-buttons { grid-template-columns: 1fr; }
}

/* --- Contact form in pages --- */
.page-content .contact-form {
    max-width: 100%;
}
.page-content .contact-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}
.page-content .contact-form .form-group input,
.page-content .contact-form .form-group select,
.page-content .contact-form .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}
.page-content .contact-form .form-group input:focus,
.page-content .contact-form .form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(16,68,116,0.1);
}
.page-content .contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.page-content .contact-form .form-group {
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .page-content .contact-form .form-row { grid-template-columns: 1fr; }
}

/* --- Map section --- */
.page-map {
    margin: 40px 0;
}
.page-map h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    text-align: center;
    margin-bottom: 20px;
}

/* --- Blog preview in pages --- */
.page-blog-preview {
    margin: 50px 0 20px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}
.page-blog-preview h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    text-align: center;
    margin-bottom: 25px;
}
.page-blog-preview .blog-grid {
    max-width: 100%;
}
.page-blog-preview .blog-card img {
    height: 180px;
}

/* --- Responsive for page components --- */
@media (max-width: 992px) {
    .page-features-duo { grid-template-columns: 1fr; }
    .page-split { grid-template-columns: 1fr; }
    .page-cta-duo { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .page-intro h2 { font-size: 24px; }
    .page-icons-row { gap: 25px; }
    .page-icons-row .icon-col img { max-height: 70px; }
    .feature-duo-item { flex-direction: column; align-items: center; text-align: center; }
    .split-text h3 { font-size: 20px; }
    .cta-box h3 { font-size: 18px; }
    .cta-box { padding: 30px 20px; }
}

/* ============================================
   PAGE : DOMICILIER MA SOCIETE (+ dynamic pages with rich content)
   ============================================ */
.domicilier-intro,
.domicilier-accompagnement,
.domicilier-services {
    padding: 50px 0;
}
.domicilier-intro { padding-top: 0; }

.domicilier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.domicilier-grid.reverse {
    direction: rtl;
}
.domicilier-grid.reverse > * {
    direction: ltr;
}
.domicilier-text h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
    line-height: 1.3;
}
.domicilier-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--dark);
}
.domicilier-text ul {
    padding-left: 0;
    margin-bottom: 15px;
}
.domicilier-text ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.7;
}
.domicilier-text ul li:last-child {
    border-bottom: none;
}
.domicilier-image img {
    width: 100%;
    border-radius: 8px;
}

.domicilier-avantages {
    background: var(--light-gray);
    padding: 60px 0;
    margin: 0 calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}
.domicilier-avantages h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--blue);
    text-align: center;
    margin-bottom: 40px;
}
.avantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.avantage-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: var(--transition);
}
.avantage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.avantage-icon {
    font-size: 36px;
    margin-bottom: 15px;
}
.avantage-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
}
.avantage-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .domicilier-grid { grid-template-columns: 1fr; gap: 25px; }
    .domicilier-grid.reverse { direction: ltr; }
    .avantages-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .avantages-grid { grid-template-columns: 1fr; }
    .domicilier-text h2 { font-size: 22px; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--light-gray);
}
.footer-action {
    text-align: center;
    padding: 30px 0 20px;
    border-bottom: 1px solid #e5e5e5;
}
.footer-action p {
    color: #000;
    font-size: 16px;
}
.footer-action strong {
    color: var(--red);
}

.footer-widgets {
    padding: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.footer-widget h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}
.footer-widget a {
    color: var(--dark);
    font-size: 15px;
}
.footer-widget a:hover { color: var(--red); }
.footer-widget p {
    font-size: 15px;
    color: var(--dark);
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding: 30px 0;
    text-align: center;
}
.footer-social { margin-bottom: 15px; }
.footer-social a { margin: 0 5px; display: inline-block; }
.footer-social img { width: 30px; }
.footer-partners {
    margin: 20px 0;
    line-height: 2;
}
.footer-partners a {
    color: var(--blue);
    font-weight: 700;
    font-size: 14px;
}
.footer-partners a:hover { color: var(--red); }
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}
.footer-legal a {
    font-size: 13px;
    color: var(--gray);
}
.footer-legal a:hover {
    color: var(--blue);
}
.footer-copyright {
    font-size: 12px;
    color: #000;
    margin-top: 15px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-slider { height: auto; min-height: 500px; }
    .hero-content { flex-direction: column; padding: 30px 20px; gap: 20px; }
    .hero-text-card { max-width: 100%; padding: 30px 25px; }
    .hero-text-card h1 { font-size: 26px; }
    .hero-text-card p { font-size: 15px; }
    .hero-price-card { min-width: auto; padding: 25px 30px; }
    .hero-price-card .price-amount { font-size: 60px; }
    .hero-prices-duo { flex-direction: row; justify-content: center; }
    .hero-price-badge { min-width: 160px; }
    .hero-price-badge .price-amount { font-size: 50px; }
    .cta-expert { flex-direction: column; text-align: center; }
    .cta-expert-image img { max-width: 300px; margin: 0 auto; }
    .install-bar { flex-direction: column; text-align: center; }
    .blog-home-grid { grid-template-columns: 1fr; }
    .blog-home-featured { grid-row: auto; }
    .footer-widgets { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 768px) {
    .header-top { display: none; }
    .header-nav { display: none; }
    .header-main .container {
        justify-content: space-between;
    }
    .mobile-menu-toggle { display: block; }
    .logo img { height: 60px; }

    .mobile-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        z-index: 2000;
        padding: 20px;
        overflow-y: auto;
    }
    .mobile-nav.open { display: block; }
    .mobile-nav-close {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        display: block;
        margin-bottom: 20px;
        color: var(--dark);
    }
    .mobile-nav ul { display: flex; flex-direction: column; }
    .mobile-nav li a {
        display: block;
        padding: 12px 0;
        font-weight: 600;
        color: var(--dark);
        border-bottom: 1px solid #eee;
    }
    .mobile-nav li a:hover { color: var(--red); }
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1999;
    }
    .mobile-overlay.open { display: block; }

    .hero-slider { min-height: auto; }
    .hero-content { padding: 20px 15px; }
    .hero-text-card { padding: 25px 20px; border-radius: 15px; }
    .hero-text-card h1 { font-size: 22px; }
    .hero-prices-duo { flex-direction: column; align-items: center; }
    .hero-price-badge { min-width: 200px; }
    .hero-arrow { display: none; }

    .choose-title { font-size: 22px; }
    .feature-item { flex-direction: column; align-items: center; text-align: center; }
    .feature-icon { width: auto; }

    .section-boost h2 { font-size: 20px; }
    .boost-why h3 { font-size: 20px; }

    .form-row { grid-template-columns: 1fr; }
}

/* Bouton "En lire plus" dans blog card preview */
.blog-card-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s;
}
.blog-card-btn:hover {
    background: var(--red);
    color: #fff;
}

/* ============================================
   Fidelity : h1 hérite de Montserrat comme sur le WP LIVE
   (h2/h3/h4 restent en Poppins via --font-heading)
   ============================================ */
h1 {
    font-family: 'Montserrat', sans-serif;
}

/* Section "Nos offres" : cartes prix PNG récupérées des sliders WP */
.section-prices-visual {
    padding: 40px 0;
    background: var(--white);
}
.prices-visual-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.price-card-visual {
    flex: 0 1 auto;
    max-width: 260px;
}
.price-card-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card-visual img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Contact emblem discret */
.contact-emblem {
    margin-top: 25px;
    text-align: center;
    opacity: 0.8;
}
