* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: white;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-img {
    height: 70px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    color: #D8B5AD;
}

.logo-text .nom {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-text .titre {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.95;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    gap: 5px;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #D8B5AD;
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav a {
    color: #BAC1B2;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

nav a:hover {
    opacity: 0.8;
}

.hero {
    background: #D8B5AD;
    color: white;
    padding: 120px 2rem 30px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.6rem;
    max-width: 600px;
    margin: 0 auto;
}

section {
    max-width: 1200px;
    scroll-margin-top: 130px;
    margin: 50px auto;
    padding: 50px 2rem;
}

h2 {
    color: #BAC1B2;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

#consultations {
    background: #fff9f4;
    border-radius: 10px;
}

.consultations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consultation-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
    border-left: 4px solid #D8B5AD;
}

.consultation-card:hover {
    transform: translateY(-5px);
}

.consultation-card h3 {
    color: #D8B5AD;
    margin-bottom: 1rem;
}

.consultation-card p{
    text-align: justify;
}

.consultation-card p + p{
    margin-top: 1rem;
}

.card-steps {
    padding-top: 1.5rem;
}

.card-steps ul {
    text-align: left;
}

.list {
  list-style: none;
  padding-left: 0;
}

.list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #BAC1B2;
  opacity: 60%;
  font-size: 1rem;
  line-height: 1;
}

.step-title {
    color: #D8B5AD;
}

#tarifs {
    background: #fff9f4;
    border-radius: 10px;
}

#tarifs p {
    color: #666;
    text-align: left;
    font-style: italic;
}

.tarifs-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #D8B5AD;
}

.tarif-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tarif-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

.tarif-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-right: 1rem;
}

.tarif-title p {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.tarif-price {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #7a9c8e;
    font-weight: bold;
}

.main-price {
    font-weight: bold;
    color: #7a9c8e;
}

.tarif-subprice {
    font-weight: normal;
    font-size: 0.9em;
    color: #7a9c8e;
    margin-top: 2px;
}

#contact {
    background: #fff9f4;
    border-radius: 10px;
    text-align: center;
}

.contact-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #D8B5AD;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}

.contact-item {
    display: grid;
    grid-template-columns: min-content 1fr;
    column-gap: 12px;
    align-items: center;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-item a:hover {
    color: #c89b7b;
}

.contact-info {
    margin-top: 25px;
    font-style: italic;
    color: #555;
    text-align: center;
    line-height: 1.5;
}

.icon {
    color: #c89b7b;
    font-size: 1.2rem;
    min-width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer {
    background: #BAC1B2;
    color: white;
    text-align: center;
    padding: 1.5rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-address,
.footer-contact {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-contact a:hover {
    opacity: 0.7;
}

.footer-links {
    margin: 0.5rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.hidden-refs{
    color:#BAC1B2;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #BAC1B2;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #87927b;
    transform: translateY(-3px);
}

.mentions-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 2rem;
    line-height: 1.8;
}

.mentions-content h2 {
    color: #BAC1B2;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.mentions-content p {
    margin-bottom: 1rem;
}

.mentions-content a {
    color: #7a9c8e;
    text-decoration: none;
}

.mentions-content a:hover {
    text-decoration: none;
    opacity: 0.7;
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 2rem;
        top: 1rem;
    }

    .logo {
        order: 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 2;
        background: white;
        padding: 1rem 0;
        gap: 0;
        margin-top: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .logo-text .nom {
        font-size: 1.2rem;
    }

    .logo-text .titre {
        font-size: 0.75rem;
    }

    .logo-img {
        height: 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .consultations-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        column-gap: 10px;
    }

    .contact-item a {
        font-size: 0.9rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    .footer-name {
        font-size: 1rem;
    }

    .footer-address,
    .footer-contact {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .footer-contact .separator {
        display: none;
    }

    .footer-contact a {
        display: block;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }

    .public-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}