/*
Theme Name: Afrotrop
Theme URI: https://afrotrop.fr
Author: Développeur Senior Full-Stack
Author URI: https://afrotrop.fr
Description: Thème sur-mesure léger, responsive et ultra-optimisé SEO pour l'annuaire des commerces et entreprises afro-caribéens.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afrotrop
Tags: directory, local-business, responsive-layout, custom-menu, featured-images
*/

/* Reset & Variables Globales CSS de la charte Afrotrop */
:root {
    --at-primary: #14141c;
    --at-accent: #ff7a3d;
    --at-yellow: #ffcb3d;
    --at-text: #22242a;
    --at-muted: #7a7c85;
    --at-border: #ececef;
    --at-bg-soft: #f7f7f9;
    --at-radius: 16px;
    --at-radius-sm: 10px;
    --at-shadow: 0 10px 28px rgba(20, 20, 30, 0.10);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --police-principale: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--police-principale);
    background-color: #ffffff;
    color: var(--at-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s var(--ease);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Conteneur Global réaligné sur votre structure */
#front-page,
.conteneur-afrotrop {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 24px 0;
    color: var(--at-text);
    box-sizing: border-box;
}

/* Boutons & Composants Réutilisables */
.btn-at-primary {
    background-color: var(--at-accent);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--at-radius-sm);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-at-primary:hover {
    background-color: #e5652e;
    transform: translateY(-2px);
}

.btn-at-dark {
    background-color: var(--at-primary);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--at-radius-sm);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ease);
}

.btn-at-dark:hover {
    background-color: #242432;
}

/* Cartes Fiches */
.gdf-carte-fiche {
    background: #ffffff;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius);
    overflow: hidden;
    box-shadow: var(--at-shadow);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.gdf-carte-fiche:hover {
    transform: translateY(-4px);
}
.sl-hero__cover {
	position: relative;
	width: 100%;
	min-height: 300px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #1e293b;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sl-hero__cover::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%);
	z-index: 1;
}

.sl-hero__content {
	position: relative;
	z-index: 2;
	color: #ffffff;
	text-align: center;
	padding: 20px;
}