/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap'); -> Proposition de bolt */
/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@300;400;500&display=swap'); */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e293b;
    --secondary-color: #f5f5f0;
    --accent-color: #b45309;
    --accent-light: #d97706;
    --text-dark:#002191; /* #1a1a1a;  /* #475569; */
    --text-light: #e2e8f0;
    --border-color: #e2e8f0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --blue: #002191;
    --ivory: #f5f1e8;
    --champagne: #e9dcc6;
    --gold: #c2a46d;
}

:root {
  --header-height: 0px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--ivory);
    color: var(--text-dark); /*var(--primary-color);*/
    line-height: 1.6;
    font-size: 16px;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--blue);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.container {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 24px;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    z-index: 1101;
}

.logo-image {
    display: block;
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-language {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 999px;
    font-size: 18px;
    line-height: 1;
    opacity: 0.72;
    text-decoration: none;
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, outline-color 180ms ease;
}

.lang-flag:hover,
.lang-flag:focus-visible {
    opacity: 1;
    transform: translateY(-1px);
}

.lang-flag.is-active,
.lang-flag[aria-current="page"] {
    opacity: 1;
    background-color: rgba(0, 33, 145, 0.08);
    outline: 1px solid rgba(0, 33, 145, 0.18);
}

.lang-flag__img {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
    object-fit: cover;
    border-radius: 50%;
}

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

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 1101;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

main {
    margin-top: 76px;
}

.fade-in {
    animation: fadeInUp 1.5s ease-out forwards;
}

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


.cuvees {
    padding: 96px 0;
    background: var(--primary-color);
    color: white;
    position: relative;
}

.cuvees::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.5) 0%, rgba(30, 41, 59, 0.5) 100%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: clamp(15px, 2vw, 30px);
    color: white;
    position: relative;
    z-index: 1;
}

.cuvees-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cuvees-bottle {
    text-align: center;
}

.cuvees-bottle img {
    max-width: 400px;
    height: auto;
}

.carousel-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cuvee-type {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    width: fit-content;
}

.cuvee-name {
    font-size: 36px;
    color: white;
    margin-bottom: 16px;
}

.cuvee-description {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.8;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
    width: 32px;
    border-radius: 4px;
}

.visite {
    padding: 96px 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.visite-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.visite-content h2 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.visite-content p {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent-light);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.contact {
    padding: 96px 0;
    background: var(--primary-color);
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 32px;
    color: white;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.info-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 4px;
}

.info-item p,
.info-item a {
    color: #cbd5e1;
    font-size: 16px;
}

.info-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-color);
}

.hours-box {
    margin-top: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-box strong {
    display: block;
    color: white;
    margin-bottom: 12px;
    font-weight: 600;
}

.hours-box p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #cbd5e1;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.form-button {
    padding: 16px 32px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-button:hover {
    background: var(--accent-light);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.form-message {
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #86efac;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    display: block;
}

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-content h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-content p {
    font-size: 14px;
    line-height: 1.6;
}

.legal {
    text-align: center;
}

.legal p {
    font-weight: 500;
    color: var(--accent-color);
}

.copyright {
    text-align: right;
    font-size: 13px;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.brand-mark {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.6rem;
}

.section-card {
  background: var(--champagne);
  border-radius: 20px;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-primary:hover {
  background: #001870;
}

.separator {
  height: 1px;
  background: rgba(0, 33, 145, 0.15);
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        min-height: 72px;
    }

    .logo-image {
        height: 42px;
    }

    .logo-text {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 16px;
        box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
        overflow: hidden;
        z-index: 1100;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-language {
        justify-content: center;
        padding: 12px 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 16px 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-language .lang-flag {
        display: inline-flex;
        width: 38px;
        height: 38px;
        padding: 0;
        border-bottom: 0;
    }

    .nav-menu li:last-child .nav-link {
        border-bottom: none;
    }

    .nav-menu li:last-child.nav-language {
        border-bottom: none;
    }

    .hero-card {
        padding: 40px 24px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title,
    .visite-content h2,
    .contact h2 {
        font-size: 36px;
    }

    .cuvees-bottle img {
        max-width: 300px;
    }

    .carousel-card {
        min-height: auto;
        padding: 32px 24px;
    }

    .cuvee-name {
        font-size: 28px;
    }

    .footer-content {
        text-align: center;
    }

    .copyright {
        text-align: center;
    }

}

@media (max-width: 480px) {
    .hero {
        height: 80vh;
    }

    .hero-title {
        font-size: 36px;
    }

    .nav-container {
        padding: 0 14px;
        min-height: 68px;
    }

    .logo-image {
        height: 38px;
    }

    .nav-menu {
        left: 14px;
        right: 14px;
    }

    .container {
        padding: 0 16px;
    }

    .section-title,
    .visite-content h2,
    .contact h2 {
        font-size: 28px;
    }

    .section-kicker,
    .eyebrow {
    letter-spacing: 0.25em;
    font-size: 0.95rem;
    }

    .hero-card {
        border-radius: 20px;
        padding: 24px 16px;
    }

    .cuvee-name {
        font-size: 22px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
    }
}
