/* San Marina Chaussures — modern-brand (turquoise Riviera, corail coucher de soleil, sable chaud) */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Accent méditerranéen (classes coral-* conservées pour Tailwind) */
.bg-coral-100 { background-color: #ccfbf1; }
.bg-coral-200 { background-color: #99f6e4; }
.bg-coral-500 { background-color: #0d9488; }
.bg-coral-600 { background-color: #0f766e; }
.text-coral-200 { color: #99f6e4; }
.text-coral-500 { color: #0d9488; }
.text-coral-600 { color: #0f766e; }
.border-coral-500 { border-color: #0d9488; }
.ring-coral-500 { --tw-ring-color: #0d9488; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-up-delay {
    animation: fadeUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.site-logo-img {
    height: 2.5rem;
    width: auto;
    max-height: 40px;
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.open {
    display: block;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f5f4;
}

::-webkit-scrollbar-thumb {
    background: #a8a29e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #78716c;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

input::placeholder {
    color: #a8a29e;
}

input:focus {
    outline: none;
}

#testimonial-carousel {
    position: relative;
}

#testimonial-track {
    display: flex;
    transition: transform 0.3s ease;
}

#testimonial-track > div {
    flex: 0 0 100%;
    padding: 0 1rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #d6d3d1;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.testimonial-dot.active {
    background-color: #0d9488;
}

.prose-sanmarina p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

@media (max-width: 640px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-stats .w-px {
        width: 100%;
        height: 1px;
    }
}

@media print {
    header,
    footer,
    #mobile-menu,
    button,
    .no-print {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    a {
        color: black;
        text-decoration: underline;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

::selection {
    background-color: #0d9488;
    color: white;
}

::-moz-selection {
    background-color: #0d9488;
    color: white;
}

#header.header-solid {
    background-color: rgba(250, 250, 249, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 229, 228, 0.95);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06);
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}

#header.header-solid.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
}

.breadcrumb-bar {
    background: linear-gradient(180deg, #fafaf9 0%, #ffffff 45%, #fafaf9 100%);
    border-bottom: 1px solid #e7e5e4;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

.breadcrumb-list {
    font-family: 'Roboto', 'Open Sans', sans-serif;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    border-radius: 0.5rem;
    color: #57534e;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #0f766e;
    background-color: #ccfbf1;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: #d6d3d1;
    flex-shrink: 0;
}

.breadcrumb-current {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #0f766e;
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    border: 1px solid #99f6e4;
    box-shadow: 0 1px 2px rgb(13 148 136 / 0.12);
}

@media (min-width: 768px) {
    .breadcrumb-current {
        font-size: 0.9375rem;
    }
}

main.inner-main {
    padding-top: 6.5rem;
}

@media (min-width: 768px) {
    main.inner-main {
        padding-top: 7rem;
    }
}
