@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

.to-sat-body, .to-sat-body * { box-sizing: border-box; }
.to-sat-body {
	margin: 0;
	font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1c1917;
	background: #fafaf9;
}
.to-sat-body h1, .to-sat-body h2, .to-sat-body h3 { font-family: 'Fraunces', Georgia, serif; margin: 0; }

/* Nav */
.to-sat-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 32px;
	background: #fff;
	border-bottom: 1px solid #e7e5e4;
	flex-wrap: wrap;
}
.to-sat-nav-logo { display: flex; align-items: center; text-decoration: none; }
.to-sat-nav-logo img { height: 112px; width: auto; max-width: 320px; display: block; }
.to-sat-nav-logo-text { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 20px; color: #064e3b; }
.to-sat-nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.to-sat-nav-links a { position: relative; display: inline-flex; align-items: center; gap: 6px; color: #292524; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 6px 2px; transition: color .2s; }
.to-sat-nav-links a svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; transition: transform .25s; }
.to-sat-nav-links > a:not(.to-sat-btn)::after {
	content: ''; position: absolute; left: 2px; right: 2px; bottom: 0; height: 2px;
	background: #065f46; border-radius: 2px; transform: scaleX(0); transform-origin: left;
	transition: transform .25s ease;
}
.to-sat-nav-links > a:not(.to-sat-btn):hover,
.to-sat-nav-links > a:not(.to-sat-btn).is-active { color: #065f46; }
.to-sat-nav-links > a:not(.to-sat-btn):hover::after,
.to-sat-nav-links > a:not(.to-sat-btn).is-active::after { transform: scaleX(1); }
.to-sat-nav-links > a:not(.to-sat-btn):hover svg { transform: translateY(-1px) scale(1.08); }
/* Spécificité : ".to-sat-nav-links a" l'emporterait sinon sur
   ".to-sat-btn--primary" seul — le bouton doit explicitement se qualifier
   dans ce contexte pour garder son texte blanc (déjà vécu une fois ici). */
.to-sat-nav-links a.to-sat-btn--primary,
.to-sat-nav-links a.to-sat-btn--primary:hover { color: #fff; }

.to-sat-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
}
.to-sat-btn--primary { background: #065f46; color: #fff; transition: transform .15s, box-shadow .15s; }
.to-sat-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(6,95,70,0.3); color: #fff; }

/* Hero */
.to-sat-hero {
	padding: 46px 24px 54px;
	text-align: center;
	background: linear-gradient(180deg, #065f46 0%, #059669 60%, #ecfdf5 100%);
}
.to-sat-hero--mer { background: linear-gradient(180deg, #f59e0b 0%, #38bdf8 55%, #ecfdf5 100%); }
.to-sat-hero--montagne { background: linear-gradient(180deg, #334155 0%, #64748b 55%, #ecfdf5 100%); }
.to-sat-hero--campagne { background: linear-gradient(180deg, #065f46 0%, #059669 60%, #ecfdf5 100%); }
.to-sat-hero h1 { color: #fff; font-size: 30px; margin: 0 0 8px; text-shadow: 0 1px 4px rgba(0,0,0,.15); }
.to-sat-hero p { color: rgba(255,255,255,.92); margin: 0 0 26px; font-size: 15px; }

.to-sat-search {
	max-width: 820px;
	margin: 0 auto;
	background: #fff;
	border-radius: 16px;
	padding: 18px;
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: flex-end;
	box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.to-sat-search label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: #57534e; flex: 1 1 160px; text-align: left; }
.to-sat-search input, .to-sat-search select {
	padding: 9px 10px;
	border: 1px solid #d6d3d1;
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
}
.to-sat-search-submit { flex: 0 0 auto; }

/* Trust bar */
.to-sat-trust {
	display: flex;
	justify-content: center;
	gap: 28px;
	flex-wrap: wrap;
	padding: 16px 24px;
	background: #ecfdf5;
	font-size: 13.5px;
	color: #065f46;
	font-weight: 600;
}
.to-sat-trust span { display: inline-flex; align-items: center; gap: 7px; }

/* Grid */
.to-sat-section { max-width: 1240px; margin: 0 auto; padding: 40px 24px; }
.to-sat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.to-sat-card-slot { display: contents; }
@media (max-width: 1100px) { .to-sat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .to-sat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .to-sat-grid { grid-template-columns: 1fr; } }

.to-sat-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	border: 1px solid #e7e5e4;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	transition: transform .18s, box-shadow .18s;
}
.to-sat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(6,95,70,0.16); }
.to-sat-card-photo { aspect-ratio: 4/3; background: #ecfdf5; overflow: hidden; position: relative; }
.to-sat-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.to-sat-card:hover .to-sat-card-photo img { transform: scale(1.05); }
.to-sat-card-photo span { display: flex; align-items: center; justify-content: center; height: 100%; padding: 12px; text-align: center; color: #065f46; font-weight: 600; font-size: 13px; }
.to-sat-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.to-sat-card-body h3 { font-size: 16px; line-height: 1.3; }
.to-sat-card-city { margin: 0; font-size: 13px; color: #78716c; }
.to-sat-card-rating { display: flex; align-items: center; gap: 6px; }
.to-sat-card-rating-value { font-weight: 700; font-size: 14px; color: #1c1917; }
.to-sat-card-star { color: #e7e5e4; font-size: 13px; }
.to-sat-card-star.is-filled { color: #f59e0b; }
.to-sat-card-cta {
	margin-top: auto;
	align-self: flex-start;
	padding: 8px 16px;
	border-radius: 999px;
	background: #065f46;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	transition: background .15s, color .15s;
}
.to-sat-card:hover .to-sat-card-cta { background: #ecfdf5; color: #065f46; }

.to-sat-empty { text-align: center; color: #78716c; padding: 40px 0; }

/* Footer */
.to-sat-footer {
	text-align: center;
	padding: 26px 24px;
	background: #f5f5f4;
	border-top: 1px solid #e7e5e4;
	font-size: 12.5px;
	color: #78716c;
}
.to-sat-footer a { color: #065f46; text-decoration: none; }
.to-sat-footer a:hover { text-decoration: underline; }
.to-sat-footer-links { margin-top: 6px; }

@media (max-width: 900px) {
	.to-sat-nav-logo img { height: 80px; }
}
@media (max-width: 640px) {
	.to-sat-nav { padding: 10px 16px; }
	.to-sat-nav-logo img { height: 64px; }
	.to-sat-hero { padding: 32px 16px 40px; }
	.to-sat-hero h1 { font-size: 24px; }
}
