/* ===================================
   Suite du Parc - Stylesheet
   =================================== */

/* === CSS Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors */
    --primary-color: #3d5a4b;
    --secondary-color: #7a9479;
    --accent-color: #c4a96e;
    --text-dark: #2c2c2c;
    --text-medium: #5a5a5a;
    --text-light: #7a7a7a;
    --bg-light: #f8f7f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: Georgia, "Times New Roman", serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* === Typography === */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn--primary:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 90, 75, 0.3);
}

.btn--secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn--secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.btn--outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn--block {
    display: block;
    width: 100%;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn--text {
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--text-medium);
    text-decoration: underline;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.header__logo img {
    height: 50px;
    width: auto;
}

.nav__list {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem;
}

.nav__link:hover {
    color: var(--primary-color);
}

.header__cta {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger__line {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

@media (min-width: 1024px) {
    .header__cta {
        display: inline-block;
    }
}

@media (max-width: 1023px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 0;
    }
    
    .nav__item {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav__link {
        display: block;
        padding: 1rem;
    }
    
    .burger {
        display: flex;
    }
    
    .burger.active .burger__line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger.active .burger__line:nth-child(2) {
        opacity: 0;
    }
    
    .burger.active .burger__line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* === Hero === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 90, 75, 0.7), rgba(122, 148, 121, 0.6));
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* === Highlights === */
.highlights {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.highlights__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.highlight {
    text-align: center;
    padding: var(--spacing-md);
}

.highlight__icon {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.highlight__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.highlight__text {
    color: var(--text-medium);
}

@media (max-width: 768px) {
    .highlights {
        padding: var(--spacing-lg) 0;
    }
    
    .highlights__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .highlights__grid {
        grid-template-columns: 1fr;
    }
}

/* === Presentation === */
.presentation {
    padding: var(--spacing-xxl) 0;
}

.presentation__content {
    max-width: 800px;
    margin: 0 auto;
}

.presentation__text p {
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.presentation__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .presentation {
        padding: var(--spacing-lg) 0;
    }
}

/* === Gallery === */
.gallery {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-sm);
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery {
        padding: var(--spacing-lg) 0;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery__grid {
        grid-template-columns: 1fr;
    }
}

/* === Services === */
.services {
    padding: var(--spacing-xxl) 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service {
    padding: var(--spacing-md);
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.service:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service__icon {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.service__desc {
    color: var(--text-medium);
}

@media (max-width: 768px) {
    .services {
        padding: var(--spacing-lg) 0;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* === Access === */
.access {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.access__intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    color: var(--text-medium);
    font-size: 1.125rem;
}

.access__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.access__item {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.access__icon {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.access__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.access__list {
    list-style: none;
}

.access__list li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-color);
}

.access__list li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .access {
        padding: var(--spacing-lg) 0;
    }
    
    .access__grid {
        grid-template-columns: 1fr;
    }
    
    .access__item {
        padding: var(--spacing-md);
    }
}

/* === Reviews === */
.reviews {
    padding: var(--spacing-xxl) 0;
}

.reviews__grid {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.review-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    min-width: 250px;
}

.review-badge:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.review-badge img {
    max-width: 200px;
}

.review-badge__icon {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.review-badge__text {
    margin-top: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .reviews {
        padding: var(--spacing-lg) 0;
    }
}

/* === Discover === */
.discover {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.discover__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.discover__card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.discover__card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.discover__card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.discover__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.discover__card:hover .discover__card-image img {
    transform: scale(1.1);
}

.discover__card-content {
    padding: var(--spacing-md);
}

.discover__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.discover__card-text {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
    .discover {
        padding: var(--spacing-lg) 0;
    }
    
    .discover__grid {
        grid-template-columns: 1fr;
    }
}

/* === CTA Section === */
.cta-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background-image: url('https://latourdegarde.fr/images/fond.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 90, 75, 0.85), rgba(122, 148, 121, 0.75));
}

.cta-section__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://latourdegarde.fr/images/fond.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.cta-section__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    max-width: 700px;
    margin: 0 auto;
}

.cta-section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-section__text {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .cta-section {
        padding: var(--spacing-lg) 0;
        background-attachment: scroll;
    }
}

/* === Contact === */
.contact {
    padding: var(--spacing-xxl) 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact__subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.contact__item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact__icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact__item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact__item p {
    color: var(--text-medium);
}

.contact__item a {
    color: var(--primary-color);
}

.contact__booking {
    margin: var(--spacing-md) 0;
}

.contact__map {
    margin-top: var(--spacing-md);
    border-radius: 8px;
    overflow: hidden;
}

/* Form Styles */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(61, 90, 75, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-group--checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.required {
    color: #d32f2f;
}

.form-message {
    padding: var(--spacing-sm);
    border-radius: 4px;
    margin-top: var(--spacing-md);
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .contact {
        padding: var(--spacing-lg) 0;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* === Footer === */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer__brand img {
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
}

.footer__tagline {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--bg-white);
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.footer__links a:hover {
    color: var(--bg-white);
}

.footer__contact p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.footer__contact a {
    color: var(--text-light);
}

.footer__contact a:hover {
    color: var(--bg-white);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* === Sticky CTA Mobile === */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-sm);
    background-color: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
    }
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 998;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.back-to-top.visible {
    display: flex;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 90px;
        width: 45px;
        height: 45px;
    }
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: var(--spacing-md);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.cookie-banner__content p {
    flex: 1;
    margin: 0;
    font-size: 0.9375rem;
}

.cookie-banner__actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner__actions {
        width: 100%;
        flex-direction: column;
    }
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lightbox__close {
    top: 20px;
    right: 20px;
}

.lightbox__prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .lightbox__close,
    .lightbox__prev,
    .lightbox__next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox__close {
        top: 10px;
        right: 10px;
    }
    
    .lightbox__prev {
        left: 10px;
    }
    
    .lightbox__next {
        right: 10px;
    }
}

/* === Accessibility === */
.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;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}
/* TOC RGPD */
.toc-list{
  list-style:none;
  counter-reset: toc;
  margin: 0;
  padding: 16px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.toc-list li{
  position: relative;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background:#fff;
}
.toc-list li::before{
  counter-increment: toc;
  content: counter(toc) ".";
  font-weight: 700;
  opacity: .8;
  min-width: 1.6em;
  text-align: right;
}
.toc-list a{
  flex:1;
  text-decoration:none;
  color: inherit;
}
.toc-list a:hover{
  text-decoration: underline;
}

/* 2 colonnes sur desktop */
@media (min-width: 768px){
  .toc-list{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Listes RGPD (dans les blocs de contenu) */
.service__desc ul,
.service__desc ol{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

/* Item = petite carte blanche */
.service__desc li{
  position: relative;
  padding: 10px 14px 10px 38px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background: #fff;
  line-height: 1.6;
}

/* Pastille (remplace la puce) */
.service__desc li::before{
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color, #0059bb);
  opacity: .25;
}

/* Liens dans les listes */
.service__desc li a{
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Sous-listes : indentation douce et bordure légère */
.service__desc li ul,
.service__desc li ol{
  margin-top: 8px;
  padding-left: 0;
  gap: 6px;
}
.service__desc li li{
  padding: 8px 12px 8px 34px;
  border-color: #f0f0f0;
  background: #fafafa;
}
.service__desc li li::before{
  width: 8px; height: 8px; top: 12px; left: 10px; opacity: .25;
}

/* Variante numérotée automatique si tu mets un <ol> dans le contenu */
.service__desc ol{
  counter-reset: item;
}
.service__desc ol > li::before{
  content: counter(item) ".";
  counter-increment: item;
  position: absolute;
  left: 12px;
  top: 10px;
  width: auto; height: auto;
  background: none;
  opacity: .8;
  font-weight: 700;
}

