/* =========================
   NAVBAR / HEADER
========================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

@media (min-width: 768px) {
    header {
        padding: 1rem 0;
    }
}

.navbar {
    background-color: white;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Logo */
.logo-container {
    width: 200px;
    height: 87px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.logo-container img {
    width: 100%;
    height: auto;
}

/* Nav links */
.navbar-nav .nav-link {
    color: #1B3A57;
    font-weight: 500;
    transition: color 0.3s;
}

@media (min-width: 768px) {
    .logo-container {
        width: 300px;
        height: auto;
    }

    .navbar {
        border: 0;
    }
}

.navbar-nav .nav-link:hover {
    text-decoration: underline #cfaf70;
    text-underline-offset: 4px;
}

/* =========================
   BOUTON / HAMBURGER
========================= */
.navbar-toggler {
    border: none;
}

.navbar-toggler.custom-toggler {
    background-color: white;
    border: 1px solid #1B3A57;
    padding: 8px;
    position: relative;
}

/* Hamburger doré : 3 barres */
.navbar-toggler.custom-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #cfaf70;
    margin: 4px 0;
    transition: all 0.4s;
}



/* =========================
   COLLAPSE MOBILE-FIRST
========================= */
.navbar-collapse {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.navbar-nav {
    width: 100%;
    text-align: center;
}

.navbar-nav .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
}

.navbar-nav .nav-item {
    border-bottom: 1px solid #ddd;
}

.navbar-nav .nav-item:last-child {
    border-bottom: none;
}

/* Bouton menu */
.header-buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .header-buttons {
        justify-content: right;
    }
}

.btn-headers {
    background-color: #cfaf70;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    margin: 0.5rem;
    display: inline-block;
    transition: background 0.3s, color 0.3s;
}

.btn-headers:hover {
    background-color: #b7953c;
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 2rem;
    }

    .navbar-nav {
        width: auto;
        text-align: left;
    }

    .navbar-nav .nav-item {
        border: none;
        align-content: center;
        width: max-content;
    }

    .navbar-nav .nav-link {
        margin-left: 1rem;
        padding: 0;
    }
}

#hero {
    height: 40vh;
    position: relative;
    padding: 1rem;
    color: #1B3A57;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/imgs/hero-cote.jpeg");
    background-size: cover;
    background-position: center;
    filter: opacity(0.5);
    z-index: -1;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #1B3A57;
}

/* Responsive */
@media (min-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    .hero-baseline {
        font-size: 1.5rem;
    }
}

/* =========================
   SECTION À PROPOS
   ========================= */

#home-about {
    padding: 2rem 1rem;
    background-color: #ffffff;
    color: #1B3A57;
}

#home-about h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

#home-about p {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0.8rem auto;
    text-align: center;
}

.home-about-part {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .home-about-container {
        display: grid;
        grid-template-columns: 400px 400px;
        gap: 4rem;
        max-width: 1200px;
        margin: auto;
        justify-content: center;
    }

    .home-about-part {
        flex: 1;
        text-align: left;
        margin-bottom: 0;
    }

    .home-about-part h2 {
        font-size: 2rem;
        text-align: left;
    }

    .home-about-part p {
        font-size: 1.1rem;
        line-height: 1.7;
        max-width: 100%;
        margin: 0;
    }
}

#history {
    padding: 2rem 1rem;
    background-color: #ffffff;
    color: #1B3A57;
}

#history h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

#history p {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0.8rem auto;
    text-align: center;
}

/* Conteneur flex pour PC */
@media (min-width: 768px) {
    .history-content {
        max-width: 800px;
        margin: 2rem auto;
        text-align: left;
    }

    .history-content h2 {
        font-family: 'playfair display', serif;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .history-content p {
        font-family: 'raleway', sans-serif;
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

#zone {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    /* léger contraste avec la section précédente */
    color: #1B3A57;
}

#zone h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

#zone p {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0.8rem auto;
    text-align: center;
}

/* ===== Carousel ===== */
.carousel {
    margin: 2rem auto;
    width: 100%;
}

.carousel-item img {
    height: 30vh;
    object-fit: cover;
}

.carousel-caption.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .carousel {
        max-width: 1000px;
    }

    .carousel-item img {
        height: 50vh;
    }
}

@media (min-width: 1200px) {
    .carousel-item img {
        height: 60vh;
    }
}

#services-summary {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    color: #1B3A57;
}

#services-summary h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

/* Médaillon photo */
.service-photo,
.advantage-photo {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #cfaf70;
}

.service-photo img,
.advantage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-item p {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .services-container {
        display: grid;
        grid-template-columns: 300px 300px 300px;
        justify-content: center;
        gap: 3rem;
    }

    .service-item p {
        text-align: left;
    }
}

#advantages {
    padding: 2rem 1rem;
    background-color: #ffffff;
    color: #1B3A57;
}

#advantages h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.advantages-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.advantage-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.advantage-item p {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Desktop – grid centrée */
@media (min-width: 768px) {
    .advantages-container {
        display: grid;
        grid-template-columns: 300px 300px 300px;
        justify-content: center;
        gap: 3rem;
    }

    .advantage-item p {
        text-align: left;
    }
}

#footer {
    background-color: #1B3A57;
    /* bleu du site */
    color: #ffffff;
    padding: 2rem 1rem;
    font-family: 'Raleway', sans-serif;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: auto;
    align-items: center;
}

.footer-logo-container {
    width: 200px;
    height: auto;
}

.footer-logo {
    width: 100%;
    height: auto;
}

.footer-contact h3,
.footer-social h4 {
    font-family: 'Playfair Display', serif;
    color: #cfaf70;
    margin-bottom: 0.5rem;
}

.fa-whatsapp {
    font-size: 1.5rem;
}

.btn-footer {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #cfaf70;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-footer:hover {
    background-color: #b89050;
}

.footer-bottom {
    margin-top: 2rem;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .footer-container {
        max-width: 100%;
        flex-direction: row;
        text-align: left;
    }

    .footer-column {
        flex: 1;
    }

    .footer-column:nth-child(2) {
        text-align: center;
    }

    .footer-column:nth-child(3) {
        text-align: center;
        align-self: center;
    }

    .footer-social {
        align-self: center;
    }

    .footer-social img {
        width: 100px;
        margin-left: 15px;
    }
}