/* ============================================
   Locations Dol-de-Bretagne — Elegant & Épuré
   Tons naturels : beige, vert sauge, crème
   ============================================ */

/* --- Variables & Reset --- */
:root {
    --beige: #f7f3ec;
    --beige-dark: #ede5d8;
    --cream: #faf6f0;
    --sage: #1ab5c3;
    --sage-dark: #26d1b9;
    --sage-light: #4aada0;
    --forest: #14302a;
    --charcoal: #2c2520;
    --warm-gray: #7a6e62;
    --warm-gray-light: #a09488;
    --gold: #c4733a;
    --gold-light: #e09060;
    --white: #FFFFFF;
    --error: #B85C5C;
    --success: #6B8F5E;

    --font-display: 'Cookie', cursive;
    --font-body: 'Roboto', system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(44,44,44,0.06);
    --shadow-md: 0 4px 16px rgba(44,44,44,0.08);
    --shadow-lg: 0 8px 32px rgba(44,44,44,0.12);
    --shadow-xl: 0 16px 48px rgba(44,44,44,0.16);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sage); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Skip Link */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--forest); color: var(--white);
    padding: 8px 16px; z-index: 9999;
    font-size: 0.875rem;
}
.skip-link:focus { left: 0; }

/* --- HEADER --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(253,251,247,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232,223,208,0.6);
    height: var(--header-height);
    transition: all var(--transition);
}
.site-header.scrolled {
    background: rgba(30,107,96,0.97) !important;
    backdrop-filter: blur(12px);
    background: rgba(30,107,96,0.97) !important;
    backdrop-filter: blur(12px);
    height: 64px;
    box-shadow: var(--shadow-sm);
}
.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--forest);
}
.logo-icon {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--sage);
    transition: transform var(--transition);
}
.logo:hover .logo-icon { transform: scale(1.1); }
.logo-text { display: flex; flex-direction: column; }
.logo-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
}
.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
}

/* Navigation */
.nav-list {
    display: flex; list-style: none; gap: 0;
}
.nav-list a {
    display: block; padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--warm-gray);
    position: relative;
    transition: color var(--transition);
}
.nav-list a::after {
    content: '';
    position: absolute; bottom: 2px; left: 18px; right: 18px;
    height: 1.5px;
    background: var(--sage);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}
.nav-list a:hover, .nav-list a.active {
    color: var(--forest);
}
.nav-list a:hover::after, .nav-list a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hamburger */
.nav-toggle {
    display: none; background: none; border: none;
    cursor: pointer; padding: 8px;
    width: 40px; height: 40px;
    position: relative;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 22px; height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: all var(--transition);
    position: absolute; left: 9px;
}
.hamburger { top: 50%; transform: translateY(-50%); }
.hamburger::before { content: ''; top: -7px; }
.hamburger::after { content: ''; top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0; transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0; transform: rotate(-45deg);
}

/* --- HERO / SLIDESHOW --- */
.hero-slideshow {
    position: relative;
    height: 80vh; min-height: 500px; max-height: 800px;
    overflow: hidden;
    margin-top: var(--header-height);
}
.slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
.slide-image {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(61,74,53,0.15) 0%,
        rgba(44,44,44,0.55) 100%
    );
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 24px;
}
.slide-content {
    max-width: 700px;
    animation: fadeUp 1s ease forwards;
}
.slide-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.slide-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    margin-bottom: 32px;
}
.slide-dots {
    position: absolute; bottom: 32px;
    left: 50%; transform: translateX(-50%);
    display: flex; gap: 12px; z-index: 10;
}
.slide-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}
.slide-dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

/* --- SECTIONS --- */
.section {
    padding: 80px 0;
}
.section-alt {
    background: var(--beige);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: var(--forest);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.2;
}
.section-divider {
    width: 60px; height: 2px;
    background: linear-gradient(to right, var(--sage-light), var(--sage));
    margin: 0 auto 40px;
    border: none;
}
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--warm-gray);
    font-size: 1.05rem;
}

/* --- CARDS HÉBERGEMENTS --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--sage);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.card-body {
    padding: 28px;
}
.card-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 8px;
}
.card-meta {
    display: flex; gap: 16px;
    font-size: 0.85rem;
    color: var(--warm-gray-light);
    margin-bottom: 12px;
}
.card-meta span {
    display: flex; align-items: center; gap: 4px;
}
.card-body p {
    color: var(--warm-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--sage-dark);
}
.card-price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--warm-gray-light);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}
.btn-primary {
    background: var(--sage);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--sage-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(122,139,111,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--sage-dark);
    border: 1.5px solid var(--sage);
}
.btn-outline:hover {
    background: var(--sage);
    color: var(--white);
}
.btn-gold {
    background: var(--gold);
    color: var(--white);
}
.btn-gold:hover {
    background: #B8963F;
    color: var(--white);
}

/* --- CITY PRESENTATION --- */
.city-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.city-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 20px;
    line-height: 1.2;
}
.city-text p {
    color: var(--warm-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}
.city-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.city-image::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}
.city-image img {
    width: 100%; height: 400px;
    object-fit: cover;
}

/* --- DETAIL PAGE --- */
.detail-hero {
    margin-top: var(--header-height);
    padding: 60px 0 40px;
    background: var(--beige);
}
.detail-hero .container {
    max-width: 1000px;
}
.breadcrumb {
    font-size: 0.85rem;
    color: var(--warm-gray-light);
    margin-bottom: 16px;
}
.breadcrumb a { color: var(--sage); }
.breadcrumb a:hover { color: var(--sage-dark); }

.detail-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 8px;
}
.detail-tags {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-bottom: 24px;
}
.detail-tag {
    background: var(--sage-light);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.detail-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 24px;
}
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}
.detail-description {
    color: var(--warm-gray);
    line-height: 1.8;
    font-size: 1.02rem;
}
.detail-description p { margin-bottom: 16px; }

.detail-sidebar {
    position: sticky; top: calc(var(--header-height) + 20px);
    align-self: start;
}

/* Equipements */
.equipements-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    list-style: none;
    margin: 24px 0;
}
.equipements-list li {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; color: var(--warm-gray);
    padding: 6px 0;
}
.equipements-list li::before {
    content: '✓';
    color: var(--sage);
    font-weight: 600;
}

/* Tarifs sidebar */
.tarifs-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--beige-dark);
}
.tarifs-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 20px;
    text-align: center;
}
.tarifs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.tarifs-table th, .tarifs-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid var(--beige);
}
.tarifs-table th {
    color: var(--forest);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tarifs-table td {
    color: var(--warm-gray);
}
.tarifs-table .price {
    font-weight: 500;
    color: var(--sage-dark);
}
.tarifs-cta {
    margin-top: 24px;
    text-align: center;
}
.tarifs-cta .btn { width: 100%; justify-content: center; }

/* --- PHOTO GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 32px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.gallery-grid img {
    width: 100%; height: 220px;
    object-fit: cover;
    cursor: pointer;
    transition: filter var(--transition);
}
.gallery-grid img:hover { filter: brightness(0.85); }

/* --- REGION ARTICLES --- */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.region-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--beige-dark);
}
.region-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.region-card-image {
    height: 200px; overflow: hidden;
}
.region-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.region-card:hover .region-card-image img {
    transform: scale(1.05);
}
.region-card-body {
    padding: 24px;
}
.region-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 8px;
}
.region-card-body p {
    color: var(--warm-gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* --- CONTACT FORM --- */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-info h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 20px;
}
.contact-info p {
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}
.contact-detail {
    display: flex; align-items: flex-start; gap: 16px;
    margin-bottom: 20px;
}
.contact-detail-icon {
    width: 44px; height: 44px;
    background: var(--beige);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--sage);
    font-size: 1.2rem;
}
.contact-detail-text h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 2px;
}
.contact-detail-text p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin: 0;
}

.form-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--beige-dark);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 6px;
}
.form-group label .required {
    color: var(--error);
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1.5px solid var(--beige-dark);
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--charcoal);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(122,139,111,0.12);
}
textarea.form-control {
    resize: vertical; min-height: 120px;
}
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6560' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* Honeypot */
.hp-field { position: absolute; left: -9999px; }

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.alert-success {
    background: rgba(107,143,94,0.1);
    border: 1px solid rgba(107,143,94,0.3);
    color: var(--success);
}
.alert-error {
    background: rgba(184,92,92,0.08);
    border: 1px solid rgba(184,92,92,0.2);
    color: var(--error);
}

/* --- FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--beige-dark);
}
.faq-question {
    width: 100%;
    background: none; border: none;
    padding: 24px 40px 24px 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--forest);
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--sage); }
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0; top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; font-weight: 300;
    color: var(--sage);
    transition: transform var(--transition);
}
.faq-item.open .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
}
.faq-answer-inner {
    padding: 0 0 24px;
    color: var(--warm-gray);
    line-height: 1.8;
}

/* --- AVIS / REVIEWS --- */
.avis-summary {
    text-align: center;
    margin-bottom: 48px;
}
.avis-note {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.stars {
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 1.2rem;
}
.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.avis-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--beige-dark);
    transition: box-shadow var(--transition);
}
.avis-card:hover { box-shadow: var(--shadow-md); }
.avis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.avis-author {
    font-weight: 500;
    color: var(--forest);
}
.avis-hebergement {
    font-size: 0.8rem;
    color: var(--sage);
}
.avis-date {
    font-size: 0.8rem;
    color: var(--warm-gray-light);
}
.avis-text {
    color: var(--warm-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}
.avis-response {
    margin-top: 16px;
    padding: 16px;
    background: var(--beige);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--warm-gray);
}
.avis-response strong {
    display: block;
    color: var(--forest);
    margin-bottom: 4px;
    font-size: 0.85rem;
}

/* --- PAGE HERO (pages intérieures) --- */
.page-hero {
    margin-top: var(--header-height);
    padding: 64px 0 48px;
    background: var(--beige);
    text-align: center;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 12px;
}
.page-hero p {
    color: var(--warm-gray);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- ARTICLE PAGE --- */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}
.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--forest);
    margin: 32px 0 16px;
}
.article-content p {
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}
.article-content img {
    border-radius: var(--radius-md);
    margin: 24px 0;
}

/* --- FOOTER --- */
.site-footer {
    position: relative;
    color: var(--beige);
}
.footer-wave {
    color: var(--forest);
    line-height: 0;
}
.footer-wave svg {
    width: 100%; height: 60px;
}
.footer-content {
    background: var(--forest);
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}
.footer-col h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 8px;
}
.footer-col a {
    color: var(--sage-light);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-col address {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--sage-light);
    line-height: 1.8;
}
.footer-col address a {
    color: var(--sage-light);
}
.footer-bottom {
    border-top: 1px solid rgba(168,184,158,0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--warm-gray-light);
}

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 90;
}
.back-to-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
}

/* --- MENTIONS LÉGALES --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}
.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--forest);
    margin: 32px 0 12px;
}
.legal-content p {
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* --- 404 PAGE --- */
.error-page {
    margin-top: var(--header-height);
    padding: 120px 24px;
    text-align: center;
}
.error-page h1 {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    color: var(--beige-dark);
    line-height: 1;
}
.error-page p {
    color: var(--warm-gray);
    font-size: 1.1rem;
    margin: 16px 0 32px;
}

/* --- ANIMATIONS --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1; transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .city-section {
        grid-template-columns: 1fr;
    }
    .city-image { order: -1; }
    .city-image img { height: 300px; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
}

@media (max-width: 768px) {
    :root { --header-height: 64px; }

    .nav-toggle { display: block; }
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0; bottom: 0;
        background: rgba(253,251,247,0.98);
        backdrop-filter: blur(20px);
        display: flex; align-items: center; justify-content: center;
        opacity: 0; visibility: hidden;
        transition: all var(--transition);
    }
    .main-nav.open {
        opacity: 1; visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .nav-list a {
        font-size: 1.2rem;
        padding: 16px 24px;
    }
    .nav-list a::after { display: none; }

    .hero-slideshow {
        height: 60vh;
        min-height: 400px;
    }
    .section { padding: 56px 0; }
    .cards-grid { grid-template-columns: 1fr; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .equipements-list { grid-template-columns: 1fr; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .avis-grid { grid-template-columns: 1fr; }
    .region-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .slide-content h1 { font-size: 1.8rem; }
    .hero-slideshow { height: 50vh; min-height: 350px; }
    .form-card { padding: 24px; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* --- Language Switch --- */
.lang-switch-link {
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}
.lang-switch-link:hover {
    background: rgba(255,255,255,0.15) !important;
}

/* --- Lightbox / Shadowbox --- */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}
.lightbox-image-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-image-wrapper img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    animation: lbFadeIn 0.3s ease;
}
@keyframes lbFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.lightbox-close {
    position: absolute;
    top: 16px; right: 20px;
    color: #fff;
    font-size: 2.2rem;
    background: rgba(255,255,255,0.12);
    border: none;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    background: rgba(255,255,255,0.10);
    border: none;
    width: 52px; height: 52px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-top: 14px;
    letter-spacing: 0.05em;
}
@media (max-width: 768px) {
    .lightbox-nav { width: 42px; height: 42px; font-size: 1.8rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 10px; right: 12px; width: 40px; height: 40px; font-size: 1.8rem; }
}

/* Print styles */
@media print {
    .site-header, .site-footer, .back-to-top, .nav-toggle,
    .slide-dots, .btn { display: none !important; }
    body { font-size: 12pt; color: #000; }
    .hero-slideshow { display: none; }
}

/* ═══ Abri-Gîtes — Blocs spécifiques ═══ */

/* Eyebrow tag */
.eyebrow-tag {
    display: inline-block;
    font-size: .78rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold); margin-bottom: .8rem;
}

/* Hero CTA buttons */
.hero-eyebrow {
    display: inline-block;
    font-size: .78rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: rgba(255,255,255,.8);
    background: rgba(45,140,127,.6);
    padding: .4rem 1rem; border-radius: 20px;
    margin-bottom: 1.2rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.btn-outline-hero {
    display: inline-flex; align-items: center;
    padding: .85rem 2rem; border-radius: 50px;
    font-size: .9rem; font-weight: 600;
    background: rgba(255,255,255,.12);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.5);
    backdrop-filter: blur(6px);
    transition: var(--transition);
    text-decoration: none;
}
.btn-outline-hero:hover {
    background: rgba(255,255,255,.22);
    border-color: var(--white);
    color: var(--white);
}

/* Stats bar */
.stats-bar {
    background: var(--sage-dark);
    padding: 2.2rem 0;
}
.stats-row {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 1rem; text-align: center;
}
.stat-nb {
    font-family: var(--font-display);
    font-size: 2.5rem; font-weight: 600;
    color: var(--gold-light); line-height: 1;
}
.stat-label {
    font-size: .78rem; color: rgba(255,255,255,.65);
    text-transform: uppercase; letter-spacing: .09em;
    margin-top: .35rem;
}

/* Intro grid */
.intro-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
}
.intro-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem,3vw,2.8rem);
    font-weight: 600; color: var(--forest);
    line-height: 1.2; margin-bottom: 1.5rem;
}
.intro-text p {
    color: var(--warm-gray);
    line-height: 1.85; margin-bottom: 1rem;
    font-size: 1rem;
}
.intro-visual { position: relative; }
.intro-visual img {
    width: 100%; height: 480px;
    object-fit: cover; border-radius: var(--radius-lg);
}
.intro-badge {
    position: absolute; bottom: -1.2rem; left: -1.2rem;
    background: var(--sage);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.6rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.intro-badge strong {
    font-family: var(--font-display);
    font-size: 2rem; display: block; line-height: 1;
}
.intro-badge span { font-size: .75rem; opacity: .85; }

/* Atouts */
.atouts-grid {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 1.75rem; margin-top: 2.5rem;
}
.atout-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem; text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 3px solid transparent;
    transition: var(--transition);
}
.atout-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--sage);
}
.atout-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.atout-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600;
    color: var(--forest); margin-bottom: .5rem;
}
.atout-card p { font-size: .87rem; color: var(--warm-gray); line-height: 1.65; }

/* Avis summary top */
.avis-summary-top {
    display: flex; gap: 2.5rem; align-items: center;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
}
.avis-big-note { text-align: center; }
.avis-nb {
    font-family: var(--font-display);
    font-size: 4rem; font-weight: 600;
    color: var(--sage); line-height: 1;
    display: block;
}
.avis-big-note p { font-size: .85rem; color: var(--warm-gray); margin-top: .4rem; }
.avis-citation {
    flex: 1;
    font-style: italic; font-size: .95rem;
    color: var(--warm-gray); line-height: 1.75;
    border-left: 2px solid var(--sage-light);
    padding-left: 1.5rem;
}
.avis-citation cite {
    display: block; font-style: normal;
    font-weight: 600; color: var(--sage-dark);
    margin-top: .5rem; font-size: .85rem;
}

/* Région cards */
.region-cards {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 1.25rem; margin-top: 2rem;
}
.region-card {
    position: relative; border-radius: var(--radius-md);
    overflow: hidden; display: block; text-decoration: none;
}
.region-card img {
    width: 100%; height: 220px; object-fit: cover;
    transition: transform .55s ease;
}
.region-card:hover img { transform: scale(1.07); }
.region-card-over {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(20,48,42,.72) 0%, transparent 55%);
    display: flex; flex-direction: column;
    justify-content: flex-end; padding: 1.1rem;
}
.region-km {
    font-size: .68rem; color: rgba(255,255,255,.7);
    letter-spacing: .1em; text-transform: uppercase; margin-bottom: .2rem;
}
.region-name {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600; color: var(--white);
}

/* CTA block */
.cta-section { padding: 80px 0; }
.cta-block {
    background: linear-gradient(130deg, var(--sage-dark) 0%, var(--sage) 100%);
    border-radius: 20px; padding: 5rem 3rem;
    text-align: center; position: relative; overflow: hidden;
}
.cta-block h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem,3.5vw,2.8rem);
    font-weight: 600; color: var(--white);
    margin-bottom: 1rem;
}
.cta-block p {
    color: rgba(255,255,255,.78); max-width: 500px;
    margin: 0 auto 2.5rem; line-height: 1.75; font-size: 1.02rem;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white {
    background: var(--white); color: var(--sage-dark);
    font-weight: 700; padding: .9rem 2.2rem;
    border-radius: 50px; font-size: .92rem;
    transition: var(--transition); text-decoration: none;
    display: inline-flex; align-items: center;
}
.btn-white:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.2);
    color: var(--forest);
}
.btn-outline-cta {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,.5);
    padding: .9rem 2.2rem; border-radius: 50px;
    font-size: .92rem; font-weight: 600;
    transition: var(--transition); text-decoration: none;
    display: inline-flex; align-items: center;
}
.btn-outline-cta:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.1);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-row { grid-template-columns: repeat(2,1fr); }
    .atouts-grid { grid-template-columns: repeat(2,1fr); }
    .region-cards { grid-template-columns: repeat(2,1fr); }
    .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
    .hero-ctas { justify-content: center; }
    .avis-summary-top { flex-direction: column; }
    .cta-block { padding: 3rem 1.5rem; }
}

/* ═══ Header scrolled — textes clairs ═══ */
.site-header.scrolled .logo { color: var(--white); }
.site-header.scrolled .logo-icon { color: var(--white); }
.site-header.scrolled .logo-title { color: var(--white); }
.site-header.scrolled .logo-subtitle { color: rgba(255,255,255,.75); }
.site-header.scrolled .nav-list a { color: rgba(255,255,255,.85); }
.site-header.scrolled .nav-list a:hover { color: var(--white); }
.site-header.scrolled .nav-list a.active { color: var(--white); }
.site-header.scrolled .lang-switch-link {
    border-color: rgba(255,255,255,.4);
    color: rgba(255,255,255,.85);
}
.site-header.scrolled .lang-switch-link:hover {
    border-color: var(--white);
    color: var(--white);
}
.site-header.scrolled .hamburger,
.site-header.scrolled .hamburger::before,
.site-header.scrolled .hamburger::after {
    background-color: var(--white);
}

/* ═══ Photo intro — forme maison ═══ */
.intro-visual img {
    clip-path: polygon(50% 0%, 100% 28%, 100% 100%, 0% 100%, 0% 28%);
    border-radius: 0 0 20px 20px;
    height: 480px;
    object-fit: cover;
    width: 100%;
    transition: clip-path .5s ease;
}
.intro-visual:hover img {
    clip-path: polygon(50% 3%, 100% 26%, 100% 100%, 0% 100%, 0% 26%);
}

/* ═══ Cards gîtes — coins très arrondis ═══ */
.card-image img {
    border-radius: 16px 16px 0 0;
}

/* ═══ Photos région — ovales ═══ */
.region-card img {
    border-radius: 16px;
}

/* ═══ Forme maison — galerie hébergement detail ═══ */
.gallery-grid img {
    clip-path: polygon(50% 0%, 100% 22%, 100% 100%, 0% 100%, 0% 22%);
    border-radius: 0 0 16px 16px;
    transition: clip-path .4s ease, transform .4s ease;
}
.gallery-grid img:hover {
    clip-path: polygon(50% 3%, 100% 21%, 100% 100%, 0% 100%, 0% 21%);
    transform: scale(1.02);
}

/* ═══ Forme maison — photo hero article région ═══ */
.article-content img[style*="object-fit:cover"] {
    clip-path: polygon(50% 0%, 100% 20%, 100% 100%, 0% 100%, 0% 20%) !important;
    border-radius: 0 0 20px 20px !important;
}

/* ═══ Photo hero détail hébergement ═══ */
.detail-hero-img img {
    clip-path: polygon(50% 0%, 100% 22%, 100% 100%, 0% 100%, 0% 22%);
    border-radius: 0 0 20px 20px;
    width: 100%; height: 420px; object-fit: cover;
}

/* ═══ Forme maison — galerie hébergement ═══ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    clip-path: polygon(50% 0%, 100% 22%, 100% 100%, 0% 100%, 0% 22%);
    border-radius: 0 0 14px 14px;
    transition: clip-path .4s ease, transform .4s ease;
    cursor: pointer;
}
.gallery-grid img:hover {
    clip-path: polygon(50% 3%, 100% 20%, 100% 100%, 0% 100%, 0% 20%);
    transform: scale(1.03);
}

/* ═══ Forme maison — photo article région ═══ */
.article-region-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 18%, 100% 100%, 0% 100%, 0% 18%);
    border-radius: 0 0 20px 20px;
    margin-bottom: 32px;
    display: block;
}

/* ═══ Forme maison — cards home (gîtes) ═══ */
.card-image img {
    clip-path: polygon(50% 0%, 100% 22%, 100% 100%, 0% 100%, 0% 22%);
    border-radius: 0 0 14px 14px;
    width: 100%; height: 220px; object-fit: cover;
    transition: clip-path .4s ease, transform .4s ease;
}
.card:hover .card-image img {
    clip-path: polygon(50% 3%, 100% 20%, 100% 100%, 0% 100%, 0% 20%);
    transform: scale(1.02);
}

/* ═══ Forme maison — visiter-la-region cards ═══ */
.region-card-image img {
    clip-path: polygon(50% 0%, 100% 22%, 100% 100%, 0% 100%, 0% 22%);
    border-radius: 0 0 14px 14px;
    width: 100%; height: 220px; object-fit: cover;
    transition: clip-path .4s ease, transform .4s ease;
    display: block;
}
.region-card:hover .region-card-image img {
    clip-path: polygon(50% 3%, 100% 20%, 100% 100%, 0% 100%, 0% 20%);
    transform: scale(1.02);
}

/* ═══ Logo image ═══ */
.logo-img {
    height: 48px;
    width: auto;
    transition: opacity var(--transition);
}
.logo:hover .logo-img { opacity: .85; }
.site-header.scrolled .logo-img {
    filter: brightness(0) invert(1);
}

/* ═══ Bouton rond — cards gîtes home ═══ */
.btn-rond {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sage);
    color: var(--white);
    font-size: .85rem;
    font-weight: 600;
    padding: .7rem 1.8rem;
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(45,140,127,.3);
}
.btn-rond:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45,140,127,.4);
    color: var(--white);
}

/* ═══ Bouton rond — dégradé émeraude ═══ */
.btn-rond {
    background: linear-gradient(135deg, rgba(30,107,96,0.97) 0%, rgba(10,223,235,0.97) 100%) !important;
    box-shadow: 0 4px 14px rgba(10,223,235,.3);
}
.btn-rond:hover {
    background: linear-gradient(135deg, rgba(10,223,235,0.97) 0%, rgba(30,107,96,0.97) 100%) !important;
    box-shadow: 0 8px 20px rgba(10,223,235,.4);
}

/* ═══ Dégradé émeraude — footer + stats-bar ═══ */
.stats-bar {
    background: linear-gradient(135deg, rgba(30,107,96,0.97) 0%, rgba(10,223,235,0.97) 100%) !important;
}
.site-footer {
    background: linear-gradient(135deg, rgba(30,107,96,0.97) 0%, rgba(10,223,235,0.97) 100%) !important;
}
.site-footer .footer-wave {
    color: rgba(10,223,235,0.97);
}

/* ═══ Stats — textes blancs ═══ */
.stat-nb { color: #ffffff !important; }
.stat-label { color: rgba(255,255,255,.85) !important; }

/* ═══ Header scrolled — forcer le dégradé ═══ */
.site-header.scrolled {
    background: linear-gradient(135deg, rgba(30,107,96,0.97) 0%, rgba(10,223,235,0.97) 100%) !important;
}

/* ═══ Footer wave — fondu avec le dégradé ═══ */
.footer-wave {
    background: transparent;
    line-height: 0;
}
.footer-wave svg {
    display: block;
    width: 100%;
}
.footer-wave path {
    fill: rgba(30,107,96,0.97);
}

/* ═══ Footer — vague CSS ═══ */
.site-footer {
    clip-path: polygon(0 40px, 2% 20px, 5% 10px, 10% 20px, 20% 40px, 30% 20px, 40% 5px, 50% 20px, 60% 40px, 70% 20px, 80% 10px, 90% 25px, 100% 15px, 100% 100%, 0 100%);
    padding-top: 60px !important;
    margin-top: -2px;
}

/* ═══ Curseur personnalisé ═══ */
body { cursor: none; }
a, button, .btn, .btn-rond, .card, .region-card, .atout-card { cursor: none; }
#cursor-dot {
    position: fixed; pointer-events: none; z-index: 99999;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--sage);
    transform: translate(-50%, -50%);
    transition: transform .1s ease, width .2s ease, height .2s ease, background .2s ease;
}
#cursor-ring {
    position: fixed; pointer-events: none; z-index: 99998;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1.5px solid var(--sage);
    transform: translate(-50%, -50%);
    transition: transform .12s ease, width .25s ease, height .25s ease, opacity .2s ease;
    opacity: .6;
}
body.cursor-hover #cursor-dot { width: 12px; height: 12px; background: var(--gold); }
body.cursor-hover #cursor-ring { width: 48px; height: 48px; border-color: var(--gold); opacity: .4; }

/* ═══ Abeille volante ═══ */
#bee {
    position: fixed; pointer-events: none; z-index: 9999;
    width: 36px; height: 36px;
    transition: left .08s linear, top .08s linear;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}
#bee svg { width: 100%; height: 100%; }

/* ═══ Boutons feuille ═══ */
.btn-leaf {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .8rem 2rem;
    background: linear-gradient(135deg, rgba(30,107,96,0.97) 0%, rgba(10,223,235,0.97) 100%);
    color: #fff; font-weight: 600; font-size: .9rem;
    border: none; cursor: none; text-decoration: none;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    transition: all .3s ease;
    font-family: var(--font-body);
}
.btn-leaf:hover {
    clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
    transform: scale(1.05);
    color: #fff;
    box-shadow: 0 6px 20px rgba(10,223,235,.4);
}

/* ═══ Herbe footer ═══ */
.footer-grass {
    position: relative;
    line-height: 0;
    margin-bottom: -2px;
}
.footer-grass svg { display: block; width: 100%; }

/* ═══ Remplacer btn-rond par feuille ═══ */
.btn-rond {
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%) !important;
    border-radius: 0 !important;
}

/* ═══ Annuler clip-path footer (remplacé par herbe SVG) ═══ */
.site-footer {
    clip-path: none !important;
    padding-top: 3rem !important;
    margin-top: 0 !important;
}

/* ═══ Titres — couleur émeraude claire ═══ */
h1, h2, h3, h4,
.section-title,
.detail-header h1,
.page-hero h1,
.card-body h3,
.region-card-body h3,
.atout-card h3,
.logo-title {
    color: #28a187 !important;
}

/* ═══ Bloc SEO + maillage ═══ */
.seo-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
}
.seo-col h2 {
    font-size: 1.4rem; margin-bottom: 1rem;
}
.seo-col p {
    font-size: .95rem; color: var(--warm-gray);
    line-height: 1.85; margin-bottom: 1rem;
}
.seo-col a {
    color: #28a187; font-weight: 500;
    border-bottom: 1px solid rgba(40,161,135,.3);
    transition: var(--transition);
}
.seo-col a:hover {
    color: var(--sage-dark);
    border-bottom-color: var(--sage-dark);
}
.seo-links-grid {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-md);
}
.seo-links-grid h3 {
    font-size: 1rem; margin-bottom: 1.2rem;
    color: #28a187;
}
.seo-links-row {
    display: flex; flex-wrap: wrap; gap: .75rem;
}
.seo-link {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .85rem; font-weight: 500;
    color: var(--sage-dark) !important;
    background: var(--emer-pale, #e8f5f3);
    padding: .45rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(40,161,135,.2) !important;
    transition: var(--transition);
    text-decoration: none;
}
.seo-link:hover {
    background: #28a187;
    color: var(--white) !important;
    border-color: #28a187 !important;
}
@media (max-width: 768px) {
    .seo-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══ Logos labels footer ═══ */
.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.15);
    margin-bottom: 1.5rem;
}
.footer-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: .9;
    transition: opacity .3s ease, transform .3s ease;
    filter: brightness(1);
}
.footer-logos img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* ═══ Diaporama — H1 blanc et grand ═══ */
.slide-content h1 {
    color: #ffffff !important;
    font-size: clamp(2.8rem, 6vw, 5rem) !important;
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

/* ═══ CTA block — H2 blanc ═══ */
.cta-block h2 {
    color: #ffffff !important;
}

/* ═══ Widget réservation hero ═══ */
.hero-widget {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    max-width: 780px;
    width: 100%;
}
.hw-row {
    display: flex; align-items: flex-end;
    gap: .75rem; flex-wrap: wrap;
}
.hw-group {
    display: flex; flex-direction: column;
    flex: 1; min-width: 120px;
}
.hw-lg { flex: 2; }
.hw-sm { min-width: 70px; max-width: 85px; }
.hw-group label {
    font-size: .68rem; font-weight: 700;
    color: rgba(255,255,255,.8);
    text-transform: uppercase; letter-spacing: .07em;
    margin-bottom: .35rem;
}
.hw-group select,
.hw-group input {
    padding: .55rem .8rem;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px;
    font-size: .85rem; color: var(--texte);
    background: rgba(255,255,255,.92);
    width: 100%;
}
.hw-group select:focus,
.hw-group input:focus {
    outline: none;
    border-color: rgba(10,223,235,.8);
    background: #fff;
}
.hw-btn {
    background: linear-gradient(135deg, rgba(30,107,96,0.97) 0%, rgba(10,223,235,0.97) 100%);
    color: #fff; border: none;
    padding: .6rem 1.4rem;
    border-radius: 50px;
    font-size: .88rem; font-weight: 700;
    cursor: pointer; white-space: nowrap;
    transition: all .3s ease;
    font-family: var(--font-body);
    box-shadow: 0 4px 14px rgba(10,223,235,.35);
}
.hw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10,223,235,.45);
}
@media (max-width: 768px) {
    .hw-row { flex-direction: column; }
    .hw-group, .hw-sm { min-width: 100%; max-width: 100%; }
    .hw-btn { width: 100%; padding: .75rem; }
}

/* ═══ Widget wrap — positionné en bas du hero ═══ */
.hero-widget-wrap {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 90%;
    max-width: 860px;
}

/* ═══ Widget résa hébergement — fond ═══ */
.cta-resa-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    border-top: 3px solid #28a187;
}
.cta-resa-card h3 {
    color: #28a187 !important;
    margin-bottom: .5rem;
}
.cta-resa-card .hw-group label {
    color: var(--warm-gray) !important;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: .3rem;
}

/* ═══ Calendrier custom dispo ═══ */
.cal-custom { position:relative; }
.cal-custom input[type=date] { display:none; }
.cal-trigger {
    padding:.55rem .8rem; border:1px solid var(--beige-dark);
    border-radius:8px; font-size:.85rem; background:#fff;
    cursor:pointer; width:100%; text-align:left;
    display:flex; align-items:center; gap:.5rem;
}
.cal-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
    padding: 1rem;
    min-width: 300px;
    display: none;
}
.cal-popup.open { display:block; }
.cal-nav {
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom:.75rem;
}
.cal-nav button {
    background:none; border:none; cursor:pointer;
    font-size:1.2rem; color:#28a187; padding:.2rem .5rem;
}
.cal-nav span {
    font-family:'Cookie',cursive; font-size:1.2rem; color:#1e6b60;
}
.cal-custom-grid {
    display:grid; grid-template-columns:repeat(7,1fr);
    gap:3px; text-align:center;
}
.cal-day-hdr {
    font-size:.7rem; font-weight:700; color:#a09488;
    padding:.3rem 0; text-transform:uppercase;
}
.cal-day {
    padding:.4rem .2rem; font-size:.82rem;
    border-radius:6px; cursor:pointer;
    transition:all .2s ease;
}
.cal-day:hover { background:#e8f5f3; }
.cal-day.empty { cursor:default; }
.cal-day.past { color:#ccc; cursor:not-allowed; }
.cal-day.dispo { background:#e8f5f3; color:#1e6b60; font-weight:500; }
.cal-day.dispo:hover { background:#28a187; color:#fff; }
.cal-day.indispo { background:#fde8e8; color:#e74c3c; font-weight:500; cursor:not-allowed; }
.cal-day.selected { background:linear-gradient(135deg,rgba(30,107,96,.97) 0%,rgba(10,223,235,.97) 100%); color:#fff; font-weight:700; }
.cal-loading { text-align:center; padding:1rem; color:#28a187; font-size:.85rem; }

/* ═══ Calendrier — z-index fix ═══ */

.detail-sidebar { overflow: visible !important; }
.tarifs-card { overflow: visible !important; }
.cta-resa-card { overflow: visible !important; }



/* ═══ Calendrier — jour non autorisé (gris) ═══ */
.cal-day.non-autorise {
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}
.cal-day.non-autorise:hover { background: transparent; }

/* ═══ Responsive widget hero — mobile ═══ */
@media (max-width: 768px) {
    .hero-widget-wrap {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem;
        margin-top: -2rem;
        z-index: 4;
    }
    .hero-widget {
        border-radius: 12px;
        padding: 1rem;
    }
    .hw-row {
        flex-direction: column;
        gap: .5rem;
    }
    .hw-group, .hw-lg, .hw-sm {
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100%;
    }
    .hw-btn {
        width: 100%;
        padding: .85rem;
        font-size: 1rem;
        margin-top: .25rem;
    }
    .hw-btn span, .hw-btn {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    /* Masquer abeille sur mobile */
    #bee { display: none; }
    #cursor-dot, #cursor-ring { display: none; }
}

/* ═══ Responsive hébergement-detail sidebar mobile ═══ */
@media (max-width: 768px) {
    .cta-resa-card .hw-row {
        flex-direction: column;
    }
    .cta-resa-card .hw-group {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}


.stats-bar { z-index: 1 !important; }
.hero-slideshow { z-index: 0 !important; }

/* ═══ Calendrier — overlay backdrop ═══ */
.cal-popup.open {
    display: block;
    z-index: 99999 !important;
}
.cal-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.3);
    z-index: 99998;
    display: none;
}
.cal-popup-overlay.open { display: block; }

/* Forcer tous les parents à ne pas clipper */
.hero-slideshow,
.hero-widget-wrap,
.hero-widget,
.hw-group,



/* ═══ Cal trigger — zone cliquable plus grande ═══ */
.cal-trigger {
    padding: .7rem 1rem !important;
    min-height: 44px;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    user-select: none;
}
.hw-group.cal-custom {
    cursor: pointer;
}

/* ═══ Cal trigger — horizontal no-wrap ═══ */
.cal-trigger {
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
}
.cal-trigger span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .82rem;
}
.hw-group.cal-custom {
    min-width: 150px;
    flex: 1.5;
}

/* ═══ Cal trigger — tout le groupe cliquable ═══ */
.hw-group.cal-custom label {
    cursor: pointer;
    pointer-events: auto;
}
.hw-group.cal-custom .cal-trigger {
    background: rgba(255,255,255,.92);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.3);
    width: 100%;
    box-sizing: border-box;
    padding: .6rem 1rem !important;
}
.hw-group.cal-custom .cal-trigger:hover {
    background: #fff;
    border-color: #28a187;
}

/* ═══ Widget réservation barre horizontale ═══ */
.widget-resa-bar {
    background: linear-gradient(135deg,rgba(30,107,96,.97) 0%,rgba(10,223,235,.97) 100%);
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}
.widget-resa-bar .hw-row {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}
.widget-resa-bar .hw-group label {
    color: rgba(255,255,255,.85) !important;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: .35rem;
    display: block;
}
.widget-resa-bar .hw-group select,
.widget-resa-bar .hw-group input[type=number] {
    background: rgba(255,255,255,.95);
    border: none;
    border-radius: 8px;
    padding: .6rem .9rem;
    font-size: .9rem;
    width: 100%;
}
.widget-resa-bar .cal-trigger {
    background: rgba(255,255,255,.95);
    border: none;
    border-radius: 8px;
    padding: .6rem .9rem;
    font-size: .9rem;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    min-height: 42px;
}
.widget-resa-bar .cal-trigger:hover {
    background: #fff;
}
.widget-resa-bar .cal-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 99999 !important;
}
.widget-resa-bar .hw-btn {
    margin-top: 1.5rem;
    padding: .7rem 1.8rem;
    background: linear-gradient(135deg, rgba(30,107,96,0.97) 0%, rgba(10,223,235,0.97) 100%);
    color: #fff !important;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: .95rem;
    white-space: nowrap;
    transition: all .3s ease;
    box-shadow: 0 4px 14px rgba(10,223,235,.35);
}
.widget-resa-bar .hw-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
@media (max-width: 768px) {
    .widget-resa-bar .hw-row { flex-direction: column; }
    .widget-resa-bar .hw-group,
    .widget-resa-bar .hw-sm { min-width: 100%; max-width: 100%; }
    .widget-resa-bar .hw-btn { width: 100%; margin-top: .5rem; }
}

/* ═══ Widget hero — fixes ═══ */
.cal-popup {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.cal-popup .cal-day { color: #333; }
.cal-popup .cal-day.dispo { cursor: pointer; }
.cal-popup .cal-day.past { opacity: .35; }
.cal-popup .cal-day-hdr { color: #888; font-weight: 600; }
.cal-popup .cal-nav span { color: #1E6B60; font-weight: 700; }
.hw-btn { color: #fff !important; }
