/* =============================================
   ADDITIONAL STYLES - Specific to Fabricant Boulanger
   ============================================= */

/* Hero Section */
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, var(--gold) 1px, transparent 0);
    background-size: 28px 28px;
}

/* Header Styles */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-logo img {
    height: 4rem;
    width: 4rem;
}

@media (min-width: 640px) {
    .header-logo img {
        height: 5rem;
        width: 5rem;
    }
}

.header-logo-text {
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .header-logo-text {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
}

.header-logo .brand-name {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 600;
    color: var(--cream);
    letter-spacing: -0.025em;
}

.header-logo .brand-tagline {
    display: none;
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@media (min-width: 640px) {
    .header-logo .brand-tagline {
        display: inline;
    }
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav a {
    color: var(--cream-dim);
    transition: color 0.2s ease;
}

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

.desktop-nav a.active {
    color: var(--gold);
}

/* Products Dropdown */
.products-dropdown-container {
    position: relative;
}

.products-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--cream-dim);
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.25rem 0;
}

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

.products-dropdown-btn svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s ease;
}

.products-dropdown-container:hover .products-dropdown-btn svg {
    transform: rotate(180deg);
}

.products-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.25rem;
    width: 11rem;
    background: var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: 0.5rem;
    padding: 0.375rem;
    z-index: 50;
    display: none;
}

.products-dropdown-container:hover .products-dropdown {
    display: block;
}

.products-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: var(--cream-dim);
    transition: all 0.2s ease;
    font-size: 1rem;
}

.products-dropdown a:hover {
    background: var(--surface-2);
    color: var(--cream);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: 1px solid rgba(201, 151, 31, 0.6);
    border-radius: 9999px;
    color: var(--gold-light);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: var(--gold);
    color: var(--bg);
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

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

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(201, 151, 31, 0.6);
    border-radius: 9999px;
    color: var(--gold-light);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: var(--gold);
    color: var(--bg);
}

.mobile-menu-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.mobile-menu-nav a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream-dim);
    transition: color 0.2s ease;
}

.mobile-menu-nav a:hover {
    color: var(--gold-light);
}

.mobile-menu-espace-client {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(201, 151, 31, 0.6);
    border-radius: 9999px;
    color: var(--gold-light);
    transition: all 0.2s ease;
}

.mobile-menu-espace-client:hover {
    background: var(--gold);
    color: var(--bg);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: 1px solid rgba(201, 151, 31, 0.6);
    border-radius: 9999px;
    color: var(--gold-light);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    background: var(--gold);
    color: var(--bg);
}

.theme-toggle span {
    font-size: 1rem;
}

/* Espace Client Button */
.espace-client-btn {
    padding: 0.375rem 1rem;
    border: 1px solid rgba(201, 151, 31, 0.6);
    border-radius: 9999px;
    color: var(--gold-light);
    transition: all 0.2s ease;
}

.espace-client-btn:hover {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

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

.section-subtitle {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.35em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--cream);
    line-height: 1.05;
    max-width: 48rem;
    margin: 0 auto;
}

.section-description {
    margin-top: 1rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--cream-dim);
    font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(42, 33, 23, 0.8);
    padding: 6rem 0;
}

@media (min-width: 640px) {
    .hero-section {
        padding: 8rem 0;
    }
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--cream);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-top: 1.5rem;
}

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

.hero-description {
    margin-top: 1.5rem;
    max-width: 36rem;
    color: var(--cream-dim);
    font-size: 1.125rem;
}

.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-cta-primary {
    background: var(--gold);
    color: var(--bg);
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.hero-cta-primary:hover {
    transform: scale(1.03);
}

.hero-cta-secondary {
    border: 1px solid rgba(205, 196, 176, 0.4);
    color: var(--cream);
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.hero-cta-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

/* Engagements Section */
.engagements-grid {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .engagements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.engagement-card {
    background: var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
}

.engagement-card:hover {
    border-color: rgba(201, 151, 31, 0.5);
}

.engagement-number {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--amber-light);
}

.engagement-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--cream);
    margin-top: 1rem;
}

.engagement-text {
    margin-top: 0.75rem;
    color: var(--cream-dim);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* Trust Section */
.trust-section {
    border-top: 1px solid rgba(42, 33, 23, 0.8);
    background: var(--surface);
    padding: 4rem 0;
}

.trust-title {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.trust-logos {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem 1rem;
}

.trust-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-logo-image {
    height: 4rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    overflow: hidden;
}

.trust-logo-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
}

.products-header {
    margin-bottom: 4rem;
}

.products-category {
    margin-top: 4rem;
}

.products-category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.products-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Vignette Section (special products) */
.vignette-section {
    margin-top: 4rem;
    background: var(--surface);
    border: 1px dashed rgba(201, 151, 31, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.vignette-section h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--cream);
}

.vignette-section p {
    margin-top: 0.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--cream-dim);
    font-size: 0.875rem;
}

/* Timeline Section */
.timeline-section {
    border-top: 1px solid rgba(42, 33, 23, 0.8);
    background: var(--surface);
    padding: 5rem 0;
}

.timeline-header {
    margin-bottom: 2.5rem;
}

.timeline-header h2 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    color: var(--cream);
}

.timeline-container {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.timeline-item {
    flex: 0 0 260px;
    scroll-snap-align: start;
    border: 1px solid var(--surface-2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
}

.timeline-item:hover {
    border-color: rgba(201, 151, 31, 0.5);
}

.timeline-item:nth-child(even) {
    border-color: var(--amber);
    background: var(--surface-2);
}

.timeline-item:nth-child(even):hover {
    border-color: var(--amber-light);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

.timeline-item:nth-child(even) .timeline-year {
    color: var(--amber-light);
}

.timeline-item:nth-child(odd) .timeline-year {
    color: var(--gold-light);
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--cream);
    margin-top: 0.5rem;
}

.timeline-text {
    margin-top: 0.5rem;
    color: var(--cream-dim);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* Savoir-faire Cards */
.savoir-faire-grid {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .savoir-faire-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.savoir-faire-card {
    background: var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: border-color 0.2s ease;
}

.savoir-faire-card:hover {
    border-color: rgba(201, 151, 31, 0.5);
}

.savoir-faire-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--gold-light);
}

.savoir-faire-card p {
    margin-top: 0.75rem;
    color: var(--cream-dim);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* Team Section */
.team-section {
    border-top: 1px solid rgba(42, 33, 23, 0.8);
    background: var(--surface);
    padding: 5rem 0;
}

.team-header {
    margin-bottom: 3rem;
}

.team-header h2 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    color: var(--cream);
}

.team-org-chart {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: var(--surface-2);
}

.team-member-name {
    margin-top: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--cream);
}

.team-member-role {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--gold-light);
}

.team-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
    max-width: 64rem;
}

.team-branch-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.team-branch-members {
    display: grid;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .team-branch-members {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-connection-lines {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 64rem;
    margin-top: 1.5rem;
}

.team-connection-line {
    width: 2px;
    height: 3rem;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-form-container {
    margin-top: 3.5rem;
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .contact-form-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: 1rem;
    padding: 2rem;
}

.contact-info {
    background: var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: 1rem;
    padding: 2rem;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--cream);
}

.contact-info-item {
    margin-top: 1.25rem;
}

.contact-info-label {
    font-size: 0.625rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.contact-info-value {
    margin-top: 0.25rem;
    color: var(--cream-dim);
    font-size: 0.875rem;
}

.contact-info-value a {
    color: var(--cream-dim);
    transition: color 0.2s ease;
}

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

.contact-map {
    margin-top: 1rem;
    width: 100%;
    height: 200px;
    border-radius: 0.75rem;
    border: 1px solid var(--surface-2);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    color: var(--cream);
    max-width: 28rem;
    margin: 0 auto;
}

.cta-section p {
    margin-top: 1rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--cream-dim);
}

.cta-section .btn {
    margin-top: 2rem;
}

/* CGV & Mentions Légales */
.cgv-section,
.mentions-section {
    padding: 5rem 0;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.cgv-section h1,
.mentions-section h1 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 2rem;
}

.cgv-content,
.mentions-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cgv-article,
.mentions-article {
    background: var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: 1rem;
    padding: 1.5rem;
}

.cgv-article h2,
.mentions-article h2 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cgv-article p,
.mentions-article p {
    color: var(--cream-dim);
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.cgv-article p:last-child,
.mentions-article p:last-child {
    margin-bottom: 0;
}

.cgv-article strong,
.mentions-article strong {
    color: var(--cream);
}

/* Collectivités Section */
.collectivites-section {
    padding: 5rem 0;
}

.collectivites-intro {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.collectivites-intro p {
    color: var(--cream-dim);
}

.collectivites-subsection {
    margin-top: 4rem;
}

.collectivites-subsection-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .collectivites-subsection-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.collectivites-subsection-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
}

.collectivites-subsection-description {
    color: var(--cream-dim);
    font-size: 0.875rem;
    max-width: 36rem;
}

.collectivites-cta {
    margin-top: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--gold);
    color: var(--bg);
    border-radius: 9999px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.collectivites-cta:hover {
    transform: scale(1.03);
}

@media (min-width: 640px) {
    .collectivites-cta {
        margin-top: 0;
        flex-shrink: 0;
    }
}

/* Simple Product Card (for collectivités) */
.simple-product-card {
    background: var(--surface);
    border: 1px solid var(--surface-2);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.simple-product-card:hover {
    border-color: rgba(201, 151, 31, 0.5);
}

.simple-product-header {
    padding: 1.5rem;
}

.simple-product-header h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--cream);
}

.simple-product-body {
    padding: 0 1.5rem 1.5rem;
}

.simple-product-body p {
    color: var(--cream-dim);
    font-size: 0.875rem;
    line-height: 1.75;
}

.simple-product-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.simple-product-footer span {
    font-size: 0.75rem;
    color: rgba(205, 196, 176, 0.7);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: var(--surface-2);
}

/* Savoir-faire Detailed Section */
.savoir-faire-detailed-section {
    padding: 5rem 0;
}

.savoir-faire-detailed-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .savoir-faire-detailed-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
    }
}

.savoir-faire-detailed-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.savoir-faire-detailed-content h2 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    color: var(--cream);
}

.savoir-faire-detailed-content > p {
    color: var(--cream-dim);
}

.savoir-faire-step {
    background: var(--surface-2);
    border: 1px solid var(--surface-2);
    border-radius: 1rem;
    padding: 1.5rem;
}

.savoir-faire-step-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(201, 151, 31, 0.2);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold-light);
}

.savoir-faire-step h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--cream);
    margin-top: 0.75rem;
}

.savoir-faire-step p {
    margin-top: 0.75rem;
    color: var(--cream-dim);
    font-size: 0.875rem;
    line-height: 1.75;
}

.savoir-faire-advantages {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .savoir-faire-advantages {
        grid-template-columns: repeat(3, 1fr);
    }
}

.savoir-faire-advantage {
    background: var(--surface-2);
    border: 1px solid var(--surface-2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.savoir-faire-advantage h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gold-light);
}

.savoir-faire-advantage p {
    margin-top: 0.75rem;
    color: var(--cream-dim);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* Utility: Divider */
.divider {
    height: 1px;
    background: var(--surface-2);
    margin: 3rem 0;
}

/* Utility: Text center with max-width */
.text-center-max {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
