/* Dark Premium "Travaux" Theme 2025 */
:root {
    /* Backgrounds */
    --bg-main: #0B1120;
    /* Very Dark Navy (Main Background) */
    --bg-surface: #1E293B;
    /* Lighter Navy (Cards/Sections) */
    --bg-input: #0f172a;
    /* Dark Input Background */

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    /* Cool Grey */
    --text-accent: #38bdf8;
    /* Sky Blue */

    /* Brands/Accents */
    --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    --accent-solid: #0ea5e9;
    --accent-hover: #0284c7;

    /* Borders & Shadows */
    --border: #334155;
    /* Slate 700 */
    --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.15);
    --radius: 12px;
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700;800&family=Inter:wght@400;500;600&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    margin-top: 0;
    letter-spacing: -0.01em;
}

h1 strong,
h2 strong {
    color: var(--text-accent);
}

a {
    color: var(--text-accent);
    text-decoration: none;
    transition: all 0.2s;
}

a:hover {
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.main-header {
    background-color: rgba(11, 17, 32, 0.95);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Header Full Width */
@media (max-width: 900px) {
    .main-header .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.logo:hover {
    color: var(--text-primary);
    /* No color change */
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-left: 1.5rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.cta-header {
    background: var(--bg-surface);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.cta-header:hover {
    border-color: var(--text-accent);
    color: var(--text-accent);
}

/* Hero Section (Travaux Style) */
.hero {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Subtle glow behind hero - Enhanced */
.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
}

.hero .container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    white-space: nowrap;
}

.hero-content h1 span,
.hero-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .hero-content h1,
    .hero-title {
        font-size: 2.5rem;
        /* Smaller font on mobile */
        white-space: normal;
        /* Allow wrapping */
    }
}

.hero-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    border-left: 4px solid var(--accent-solid);
    /* Changed to Accent Color */
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
    color: #fff;
}

/* Form Card - Enhanced */
.hero-form-card {
    background: rgba(30, 41, 59, 0.7);
    /* Slightly transparent */
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    /* Accent Border */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    /* Glass effect */
    /* Ensure content doesn't hit edges */
    overflow: hidden;
}

.hero-form-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-solid);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
    background: rgba(15, 23, 42, 1);
}

.btn-submit {
    width: 100%;
    padding: 1.1rem;
    background: var(--accent-gradient);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.btn-submit:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Main Content Wrapper */
.content-wrapper {
    margin: 3rem 0;
    padding-bottom: 0rem;
}

/* Content Article */
.main-text {
    max-width: 100%;
    /* Was 800px/900px, now full container width */
    margin: 0 auto;
}

.main-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* Feature Grid (Dark Cards) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: 0.3s;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--accent-solid);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(14, 165, 233, 0.15);
    /* Slightly stronger bg */
    color: var(--accent-solid);
    /* Brighter icon */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card strong {
    display: block;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
}

.feature-card p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

blockquote {
    background: var(--bg-surface);
    border-left: 4px solid var(--accent-solid);
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: #fff;
}

blockquote cite {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-accent);
    font-style: normal;
    font-weight: 600;
}

/* Internal Links */
.internal-links {
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    padding-top: 3rem;
    text-align: center;
}

.cities-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    list-style: none;
    /* Remove bullets */
    padding: 0;
    margin: 0;
}

.cities-nav a {
    background: var(--bg-surface);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
}

.cities-nav a:hover {
    border-color: var(--accent-solid);
    color: #fff;
    background: var(--bg-input);
}

/* Home Grid */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.city-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.city-card:hover {
    border-color: var(--text-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.city-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.city-card .region {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .hero-form-card {
        order: 2;
    }

    .hero-content .lead {
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        border: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Styles */
.faq-section {
    max-width: 100%;
    margin-top: 4rem;
}

.faq-section h3 {
    text-align: left;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--text-primary);
}

.faq-item {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-item[open] {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px -5px rgba(56, 189, 248, 0.15);
}

.faq-item summary {
    padding: 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid transparent;
}

.faq-item[open] .faq-content {
    border-color: rgba(56, 189, 248, 0.1);
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}